@gem-sdk/components 4.0.21 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/article/components/ArticleImage.js +1 -1
- package/dist/cjs/article/components/ArticleImage.liquid.js +4 -4
- package/dist/cjs/article/components/ArticleTag.js +1 -1
- package/dist/cjs/article/hooks/useArticleLink.js +1 -1
- package/dist/cjs/breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/cjs/builder.js +1 -1
- package/dist/cjs/collection/components/collection-banner/CollectionBanner.js +1 -1
- package/dist/cjs/collection/components/collection-description/CollectionDescription.js +1 -1
- package/dist/cjs/collection/components/collection-description/CollectionDescription.liquid.js +4 -3
- package/dist/cjs/collection/components/collection-description/common/styles.js +6 -6
- package/dist/cjs/collection/components/collection-title/CollectionTitle.js +1 -1
- package/dist/cjs/common/components/NoDataState.js +1 -1
- package/dist/cjs/grid/components/row/common/classes.js +1 -1
- package/dist/cjs/grid/settings/configs/row/ui-v2.js +1 -1
- package/dist/cjs/grid/settings/configs/section/ui-v2.js +1 -1
- package/dist/cjs/hero-banner/common/classes.js +1 -1
- package/dist/cjs/hero-banner/common/helpers.js +1 -1
- package/dist/cjs/hero-banner/common/styles.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBanner.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBanner.liquid.js +7 -7
- package/dist/cjs/hero-banner/settings/configs/settings.js +1 -1
- package/dist/cjs/image/common/attrs.js +1 -1
- package/dist/cjs/image-comparison/components/CompareImage.js +1 -1
- package/dist/cjs/image-comparison/hooks/useCompareImage.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.liquid.js +1 -1
- package/dist/cjs/link/components/CustomLink.js +1 -1
- package/dist/cjs/product/components/dynamic-checkout/Button.liquid.js +2 -2
- package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.js +1 -1
- package/dist/cjs/product/components/product-button/hooks/useAddToCart.js +1 -1
- package/dist/cjs/product/components/product-description/ProductDescription.js +1 -1
- package/dist/cjs/product/components/product-description/ProductDescription.liquid.js +8 -7
- package/dist/cjs/product/components/product-description/common/styles.js +5 -5
- package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/cjs/product/components/product-list/ProductList.js +1 -1
- package/dist/cjs/product/components/product-quantity/common/classes.js +1 -1
- package/dist/cjs/product/components/product-sku/Sku.js +1 -1
- package/dist/cjs/product/components/product-title/ProductTitle.js +1 -1
- package/dist/cjs/product/components/product-wrap/hook/useProductSetting.js +1 -1
- package/dist/cjs/text/common/classes.js +1 -1
- package/dist/cjs/text/components/Text.js +1 -1
- package/dist/cjs/third-party/components/AovBundlesVolumeDiscounts.js +2 -0
- package/dist/cjs/third-party/components/AovBundlesVolumeDiscounts.liquid.js +1 -0
- package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Bogos.liquid.js +2 -4
- package/dist/cjs/third-party/components/DealeasyVolumeDiscounts.js +2 -0
- package/dist/cjs/third-party/components/DealeasyVolumeDiscounts.liquid.js +8 -0
- package/dist/cjs/third-party/components/EasifyProductOptions.js +1 -1
- package/dist/cjs/third-party/components/SkioSubscriptionsYcS20.liquid.js +1 -8
- package/dist/cjs/third-party/components/ThirdPartyPreview.js +1 -1
- package/dist/cjs/third-party/components/UppromoteAffiliateMarketing.js +2 -0
- package/dist/cjs/third-party/components/UppromoteAffiliateMarketing.liquid.js +1 -0
- package/dist/cjs/third-party/components/Wiser.liquid.js +4 -4
- package/dist/cjs/third-party/configs/AovBundlesVolumeDiscounts.js +1 -0
- package/dist/cjs/third-party/configs/DealeasyVolumeDiscounts.js +1 -0
- package/dist/cjs/third-party/configs/EasifyProductOptions.js +1 -1
- package/dist/cjs/third-party/configs/UppromoteAffiliateMarketing.js +1 -0
- package/dist/cjs/third-party/index.js +1 -1
- package/dist/cjs/third-party/next.js +1 -1
- package/dist/cjs/third-party/settings/AovBundlesVolumeDiscounts/index.js +4 -0
- package/dist/cjs/third-party/settings/AovBundlesVolumeDiscounts/uiV2.js +1 -0
- package/dist/cjs/third-party/settings/Bogos/index.js +1 -1
- package/dist/cjs/third-party/settings/DealeasyVolumeDiscounts/index.js +4 -0
- package/dist/cjs/third-party/settings/DealeasyVolumeDiscounts/uiV2.js +1 -0
- package/dist/cjs/third-party/settings/Selleasy/index.js +1 -1
- package/dist/cjs/third-party/settings/SkioSubscriptionsYcS20/index.js +1 -1
- package/dist/cjs/third-party/settings/UppromoteAffiliateMarketing/setting.js +4 -0
- package/dist/cjs/third-party/settings/UppromoteAffiliateMarketing/uiV2.js +1 -0
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +6 -6
- package/dist/esm/article/components/ArticleImage.js +1 -1
- package/dist/esm/article/components/ArticleImage.liquid.js +4 -4
- package/dist/esm/article/components/ArticleTag.js +1 -1
- package/dist/esm/article/hooks/useArticleLink.js +1 -1
- package/dist/esm/breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/esm/builder.js +1 -1
- package/dist/esm/collection/components/collection-banner/CollectionBanner.js +1 -1
- package/dist/esm/collection/components/collection-description/CollectionDescription.js +1 -1
- package/dist/esm/collection/components/collection-description/CollectionDescription.liquid.js +5 -4
- package/dist/esm/collection/components/collection-description/common/styles.js +7 -7
- package/dist/esm/collection/components/collection-title/CollectionTitle.js +1 -1
- package/dist/esm/common/components/NoDataState.js +1 -1
- package/dist/esm/grid/components/row/common/classes.js +1 -1
- package/dist/esm/grid/settings/configs/row/ui-v2.js +1 -1
- package/dist/esm/grid/settings/configs/section/ui-v2.js +1 -1
- package/dist/esm/hero-banner/common/classes.js +1 -1
- package/dist/esm/hero-banner/common/helpers.js +1 -1
- package/dist/esm/hero-banner/common/styles.js +1 -1
- package/dist/esm/hero-banner/components/HeroBanner.js +1 -1
- package/dist/esm/hero-banner/components/HeroBanner.liquid.js +10 -10
- package/dist/esm/hero-banner/settings/configs/settings.js +1 -1
- package/dist/esm/image/common/attrs.js +1 -1
- package/dist/esm/image-comparison/components/CompareImage.js +1 -1
- package/dist/esm/image-comparison/hooks/useCompareImage.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.liquid.js +1 -1
- package/dist/esm/link/components/CustomLink.js +1 -1
- package/dist/esm/product/components/dynamic-checkout/Button.liquid.js +4 -4
- package/dist/esm/product/components/product-bundle/ProductBundleDiscount.js +1 -1
- package/dist/esm/product/components/product-button/hooks/useAddToCart.js +1 -1
- package/dist/esm/product/components/product-description/ProductDescription.js +1 -1
- package/dist/esm/product/components/product-description/ProductDescription.liquid.js +8 -7
- package/dist/esm/product/components/product-description/common/styles.js +5 -5
- package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/esm/product/components/product-list/ProductList.js +1 -1
- package/dist/esm/product/components/product-quantity/common/classes.js +1 -1
- package/dist/esm/product/components/product-sku/Sku.js +1 -1
- package/dist/esm/product/components/product-title/ProductTitle.js +1 -1
- package/dist/esm/product/components/product-wrap/hook/useProductSetting.js +1 -1
- package/dist/esm/text/common/classes.js +1 -1
- package/dist/esm/text/components/Text.js +1 -1
- package/dist/esm/third-party/components/AovBundlesVolumeDiscounts.js +2 -0
- package/dist/esm/third-party/components/AovBundlesVolumeDiscounts.liquid.js +1 -0
- package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +1 -1
- package/dist/esm/third-party/components/Bogos.liquid.js +0 -2
- package/dist/esm/third-party/components/DealeasyVolumeDiscounts.js +2 -0
- package/dist/esm/third-party/components/DealeasyVolumeDiscounts.liquid.js +8 -0
- package/dist/esm/third-party/components/EasifyProductOptions.js +1 -1
- package/dist/esm/third-party/components/SkioSubscriptionsYcS20.liquid.js +1 -8
- package/dist/esm/third-party/components/ThirdPartyPreview.js +1 -1
- package/dist/esm/third-party/components/UppromoteAffiliateMarketing.js +2 -0
- package/dist/esm/third-party/components/UppromoteAffiliateMarketing.liquid.js +1 -0
- package/dist/esm/third-party/components/Wiser.liquid.js +4 -4
- package/dist/esm/third-party/configs/AovBundlesVolumeDiscounts.js +1 -0
- package/dist/esm/third-party/configs/DealeasyVolumeDiscounts.js +1 -0
- package/dist/esm/third-party/configs/EasifyProductOptions.js +1 -1
- package/dist/esm/third-party/configs/UppromoteAffiliateMarketing.js +1 -0
- package/dist/esm/third-party/index.js +1 -1
- package/dist/esm/third-party/next.js +1 -1
- package/dist/esm/third-party/settings/AovBundlesVolumeDiscounts/index.js +4 -0
- package/dist/esm/third-party/settings/AovBundlesVolumeDiscounts/uiV2.js +1 -0
- package/dist/esm/third-party/settings/Bogos/index.js +1 -1
- package/dist/esm/third-party/settings/DealeasyVolumeDiscounts/index.js +4 -0
- package/dist/esm/third-party/settings/DealeasyVolumeDiscounts/uiV2.js +1 -0
- package/dist/esm/third-party/settings/Selleasy/index.js +2 -2
- package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
- package/dist/esm/third-party/settings/UppromoteAffiliateMarketing/setting.js +4 -0
- package/dist/esm/third-party/settings/UppromoteAffiliateMarketing/uiV2.js +1 -0
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +5 -5
- package/dist/types/index.d.ts +50 -2
- package/package.json +4 -4
- package/dist/cjs/product/components/dynamic-checkout/common/helper.js +0 -1
- package/dist/esm/product/components/dynamic-checkout/common/helper.js +0 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var AovBundlesVolumeDiscounts=require("../../configs/AovBundlesVolumeDiscounts.js"),uiV2=require("./uiV2.js");const config={tag:AovBundlesVolumeDiscounts.default.tag,label:AovBundlesVolumeDiscounts.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/0cf2a4359de6605e10e663ebf70249cb/icon/CI6xy4Hqu44DEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:AovBundlesVolumeDiscounts.default.id,name:{en:AovBundlesVolumeDiscounts.default.label},hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/0cf2a4359de6605e10e663ebf70249cb/icon/CI6xy4Hqu44DEAE=.png?width=22&height=22">
|
|
3
|
+
<span class="preset-item-title">AOV Bundles Volume Discounts</span>
|
|
4
|
+
</div>`},components:[{tag:AovBundlesVolumeDiscounts.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"AOV Bundle Builder",value:"offer-bundle-builder"},{label:"AOV Child Product List",value:"offer-fixed"},{label:"AOV Frequently Bought",value:"offer-inline"},{label:"AOV Mix Match Bundle",value:"mix-match-offer-inline"},{label:"AOV Volume Discount",value:"offer-volume"}],default:"offer-bundle-builder"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"https://apps.shopify.com/aov-bundle-upsell?utm_source=gempages",appName:AovBundlesVolumeDiscounts.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/aov-bundle-upsell",appName:AovBundlesVolumeDiscounts.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:uiV2.default};exports.default=config;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SettingUIV2=[{controls:[{setting:{id:"install"},layout:"vertical"}]},{controls:[{label:{en:"Choose widget"},setting:{id:"widgetType"}}]},{controls:[{setting:{id:"openApp"},layout:"vertical"}]},{controls:[{label:{en:"Align"},setting:{id:"align"}}]}];exports.default=SettingUIV2;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
<img class="w-24 border border-dark-200 rounded-medium" src="${Bogos.default.logoUrl}?width=22&height=22">
|
|
4
4
|
<span class="preset-item-title">${Bogos.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:Bogos.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"bogos-freegifts"}),appName:Bogos.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/freegifts",appName:Bogos.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"icon",options:[{label:"Gift icon",value:"icon"},{label:"Gift thumbnail",value:"thumnail"},{label:"Gift slider",value:"slider"},{label:"Cart message",value:"message"},{label:"Quantity break",value:"quantity-break"},{label:"Classic bundle",value:"classic-bundle"},{label:"Mix and match",value:"mix-match"},{label:"Frequently Bought Together",value:"fbt"}
|
|
6
|
+
`},components:[{tag:Bogos.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"bogos-freegifts"}),appName:Bogos.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/freegifts",appName:Bogos.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"icon",options:[{label:"Gift icon",value:"icon"},{label:"Gift thumbnail",value:"thumnail"},{label:"Gift slider",value:"slider"},{label:"Cart message",value:"message"},{label:"Quantity break",value:"quantity-break"},{label:"Classic bundle",value:"classic-bundle"},{label:"Mix and match",value:"mix-match"},{label:"Frequently Bought Together",value:"fbt"}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:uiV1.default,uiV2:uiV2.default};exports.default=config;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var DealeasyVolumeDiscounts=require("../../configs/DealeasyVolumeDiscounts.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const config={tag:DealeasyVolumeDiscounts.default.tag,label:DealeasyVolumeDiscounts.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/03e2757162e7829527df06c44cf0dfbc/icon/COP94o_zlYADEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT",flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:DealeasyVolumeDiscounts.default.id,name:{en:DealeasyVolumeDiscounts.default.label},hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/03e2757162e7829527df06c44cf0dfbc/icon/COP94o_zlYADEAE=.png?width=22&height=22">
|
|
3
|
+
<span class="preset-item-title">Dealeasy — Volume Discounts</span>
|
|
4
|
+
</div>`},components:[{tag:DealeasyVolumeDiscounts.default.tag}]}],settings:[{id:"setting",controls:[{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Quantity Selector widget",value:"lb-vd-cards"},{label:"Table widget",value:"lb-volume-discount"},{label:"Bundle builder widget",value:"lb-bundle-builder"},{label:"Related bundles",value:"lb-related-bundles"}],default:"lb-vd-cards"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"volume-discounts-dealeasy"}),appName:DealeasyVolumeDiscounts.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/dealeasy",appName:DealeasyVolumeDiscounts.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:uiV2.default};exports.default=config;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SettingUIV2=[{controls:[{setting:{id:"install"},layout:"vertical"}]},{controls:[{label:{en:"Choose widget"},setting:{id:"widgetType"}}]},{controls:[{setting:{id:"openApp"},layout:"vertical"}]},{controls:[{label:{en:"Align"},setting:{id:"align"}}]}];exports.default=SettingUIV2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Selleasy=require("../../configs/Selleasy.js"),uiV1=require("./uiV1.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const config={tag:Selleasy.default.tag,label:Selleasy.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/50d1becb99d333549c4316fc695bc00e/icon/CJGWisGV0oADEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT",flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:Selleasy.default.id,name:{en:Selleasy.default.label},hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/50d1becb99d333549c4316fc695bc00e/icon/CJGWisGV0oADEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Upsell & Cross Sell — Selleasy</span>
|
|
4
|
-
</div>`},components:[{tag:Selleasy.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"FBT List",value:"lb-upsell-widget-bl",maxOption:1},{label:"Add-ons List",value:"lb-upsell-widget-pal",maxOption:1},{label:"Add-ons Carousel",value:"lb-upsell-widget-pac"},{label:"Add-ons Grid",value:"lb-upsell-widget-pag"},{label:"FBT Amazon",value:"lb-upsell-widget-ba"},{label:"FBT Classic",value:"lb-upsell-widget-bac"},{label:"
|
|
4
|
+
</div>`},components:[{tag:Selleasy.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"FBT List",value:"lb-upsell-widget-bl",maxOption:1},{label:"Add-ons List",value:"lb-upsell-widget-pal",maxOption:1},{label:"Add-ons Carousel",value:"lb-upsell-widget-pac"},{label:"Add-ons Grid",value:"lb-upsell-widget-pag"},{label:"FBT Amazon",value:"lb-upsell-widget-ba"},{label:"FBT Classic",value:"lb-upsell-widget-bac"},{label:"STC Carousel",value:"lb-upsell-widget-cpac"},{label:"STC Grid",value:"lb-upsell-widget-cpag"},{label:"STC List",value:"lb-upsell-widget-cpal"}],default:"lb-upsell-widget-bl"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"upsell-cross-sell-selleasy"}),appName:Selleasy.default.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:"https://admin.shopify.com/?redirect=/apps/lb-upsell",appName:Selleasy.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:uiV1.default,uiV2:uiV2.default};exports.default=config;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var SkioSubscriptionsYcS20=require("../../configs/SkioSubscriptionsYcS20.js"),uiV1=require("./uiV1.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const config={tag:SkioSubscriptionsYcS20.default.tag,label:SkioSubscriptionsYcS20.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/8dd0dfb789ffd9e447e7eb98210ccde7/icon/CNW2qO36iIQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:SkioSubscriptionsYcS20.default.id,name:{en:SkioSubscriptionsYcS20.default.label},hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/8dd0dfb789ffd9e447e7eb98210ccde7/icon/CNW2qO36iIQDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Skio Subscriptions (YC S20)</span>
|
|
4
|
-
</div>`},components:[{tag:SkioSubscriptionsYcS20.default.tag}]}],settings:[{id:"setting",controls:[{id:"sellingPlanId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"skio"}),appName:SkioSubscriptionsYcS20.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:SkioSubscriptionsYcS20.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:uiV1.default,uiV2:uiV2.default};exports.default=config;
|
|
4
|
+
</div>`},components:[{tag:SkioSubscriptionsYcS20.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"App Block",value:"app-block"}],default:"app-block"},{id:"sellingPlanId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"skio"}),appName:SkioSubscriptionsYcS20.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:SkioSubscriptionsYcS20.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:uiV1.default,uiV2:uiV2.default};exports.default=config;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var UppromoteAffiliateMarketing=require("../../configs/UppromoteAffiliateMarketing.js"),uiV2=require("./uiV2.js");const config={tag:UppromoteAffiliateMarketing.default.tag,label:UppromoteAffiliateMarketing.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/9c2f67b482aeae04937fd544c0bfe6a8/icon/CMjv-JmUpv0CEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:UppromoteAffiliateMarketing.default.id,name:{en:UppromoteAffiliateMarketing.default.label},hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/9c2f67b482aeae04937fd544c0bfe6a8/icon/CMjv-JmUpv0CEAE=.png?width=22&height=22">
|
|
3
|
+
<span class="preset-item-title">UpPromote Affiliate Marketing</span>
|
|
4
|
+
</div>`},components:[{tag:UppromoteAffiliateMarketing.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Customer Referral Landing",value:"customer-referral-landing"}],default:"customer-referral-landing"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"https://apps.shopify.com/affliate-by-secomapp?utm_source=gempages",appName:UppromoteAffiliateMarketing.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/affliate-by-secomapp",appName:UppromoteAffiliateMarketing.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:uiV2.default};exports.default=config;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const SettingUIV2=[{controls:[{setting:{id:"install"},layout:"vertical"}]},{controls:[{setting:{id:"openApp"},layout:"vertical"}]},{controls:[{label:{en:"Align"},setting:{id:"align"}}]}];exports.default=SettingUIV2;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js"),helpers$1=require("../common/helpers.js"),NextImage_liquid=require("../../image/components/NextImage.liquid.js");const LiteVimeoEmbed=e=>{let{title:s,id:t,lazy:l,aspectRatio:a,autoplay:r,muted:i,thumbnailLink:m,poster:c}=e,{iframeSrc:o}=helpers$1.getVimeoParams(e),p=!l,d=e.thumbnail,
|
|
2
|
-
<gp-lite-vimeo-embed gp-data='${JSON.stringify(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js"),helpers$1=require("../common/helpers.js"),NextImage_liquid=require("../../image/components/NextImage.liquid.js");const LiteVimeoEmbed=e=>{let{title:s,id:t,lazy:l,aspectRatio:a,autoplay:r,muted:i,thumbnailLink:m,poster:c}=e,{iframeSrc:o}=helpers$1.getVimeoParams(e),p=!l,d=e.thumbnail,g=system.createStateOrContext({id:t,thumbnail:m,lazy:l,iframeSrc:o,title:s,autoplay:r,muted:i,style:e?.vimeoStyleIframe||""}),y=system.createStyle({...styles.getIframeVimeoStyle(a)}),n=system.createStyle({...styles.getArticleVimeoStyle(a,"")}),u=system.createClass({...classes.getArticleVimeoClasses(d,a)}),f=system.createClass({...classes.getImageVimeoClasses(p)}),h=system.createClass({...classes.getButtonVimeoClasses(p)}),$=system.createClass({...classes.getIframeVimeoClasses()});return core.template`
|
|
2
|
+
<gp-lite-vimeo-embed gp-data='${JSON.stringify(g)}'>
|
|
3
3
|
<article
|
|
4
4
|
aria-hidden
|
|
5
5
|
class="${u}"
|
|
6
6
|
data-title="${s}"
|
|
7
7
|
style="${n}"
|
|
8
8
|
>
|
|
9
|
-
${NextImage_liquid.default({src:d,alt:c?.altText,title:c?.imageTitle,className:f,isDisableAspectStyle:!0,enableLazyLoadImage:!0,priority:c?.preload})}
|
|
9
|
+
${NextImage_liquid.default({src:d,alt:c?.altText,title:c?.imageTitle,className:f,isDisableAspectStyle:!0,enableLazyLoadImage:!0,priority:c?.preload,height:c?.height,width:c?.width})}
|
|
10
10
|
${system.If(!p,core.template`
|
|
11
|
-
<button type="button" class="${
|
|
11
|
+
<button type="button" class="${h}" aria-label="Play">
|
|
12
12
|
<svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
|
|
13
13
|
<path
|
|
14
14
|
fill="currentColor"
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
</button>`)}
|
|
19
19
|
${system.If(p,core.template`
|
|
20
20
|
<iframe
|
|
21
|
-
style="${
|
|
21
|
+
style="${y}"
|
|
22
22
|
title="${s}"
|
|
23
23
|
frameborder="0"
|
|
24
24
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
25
25
|
allowfullscreen
|
|
26
26
|
src="${o}"
|
|
27
|
-
class="${
|
|
27
|
+
class="${$}"
|
|
28
28
|
></iframe>`)}
|
|
29
29
|
</article>
|
|
30
30
|
</gp-lite-vimeo-embed>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import a from"../../image/components/Image.js";import{useMemo as i}from"react";let ArticleImage=({className:m,setting:
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import a from"../../image/components/Image.js";import{useMemo as i}from"react";let ArticleImage=({className:m,setting:o={},styles:s={},advanced:l,builderProps:c})=>{let d=t(e=>e.article),n=i(()=>{let{src:e,alt:t}=d?.media??{};return{src:e,alt:t}},[d]);return e("div",{className:r("gp-text-center",m),style:{borderRadius:"inherit"},children:e(a,{builderProps:c,setting:{...o,image:n,disableNoDataState:!0},styles:s,advanced:l})})};export{ArticleImage as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{template as e,cls as t}from"@gem-sdk/core";import a from"../../image/components/Image.liquid.js";import{getLinkArticle as i}from"../../helpers.js";let ArticleImage=r=>{let l=r?.setting??{},{
|
|
2
|
+
import{template as e,cls as t}from"@gem-sdk/core";import a from"../../image/components/Image.liquid.js";import{getLinkArticle as i}from"../../helpers.js";let ArticleImage=r=>{let l=r?.setting??{},{alt:s,title:c}=l,{builderProps:d}=r,m=l?.openNewTab?"_blank":"_self";return e`
|
|
3
3
|
<div class="${t("gp-text-center",r?.className)}" style="border-radius: inherit">
|
|
4
4
|
${l?.linkArticle?`
|
|
5
|
-
<a href="${i(l.linkArticle,l.customURL)}" target="${
|
|
6
|
-
${a({...r,styles:r.styles,setting:{...r.setting,alt:
|
|
5
|
+
<a href="${i(l.linkArticle,l.customURL)}" target="${m}" title="{{article.title}}">
|
|
6
|
+
${a({...r,styles:r.styles,setting:{...r.setting,alt:s,title:c,image:{src:"{{article.image.src | img_url: '1024x1024'}}",alt:"{{article.image.alt}}"},srcSet:{desktop:{src:"{{article.image.src | img_url: '1024x1024'}}"}},disableNoDataState:!0},advanced:r.advanced,builderAttrs:{"data-id":d?.uid}})}
|
|
7
7
|
</a>
|
|
8
8
|
`:`
|
|
9
|
-
${a({...r,styles:r.styles,setting:{...r.setting,alt:"{{article.image.alt}}",image:{src:"{{article.image.src | img_url: '1024x1024'}}",alt:"{{article.image.alt}}"},srcSet:{desktop:{src:"{{article.image.src | img_url: '1024x1024'}}"}},disableNoDataState:!0},advanced:r.advanced,builderAttrs:{"data-id":
|
|
9
|
+
${a({...r,styles:r.styles,setting:{...r.setting,alt:"{{article.image.alt}}",image:{src:"{{article.image.src | img_url: '1024x1024'}}",alt:"{{article.image.alt}}"},srcSet:{desktop:{src:"{{article.image.src | img_url: '1024x1024'}}"}},disableNoDataState:!0},advanced:r.advanced,builderAttrs:{"data-id":d?.uid}})}
|
|
10
10
|
`}
|
|
11
11
|
</div>
|
|
12
12
|
`};export{ArticleImage as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as e}from"react/jsx-runtime";import t from"../../text/components/Text.js";import{useArticleStore as r}from"@gem-sdk/core";let ArticleTag=({setting:
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";import t from"../../text/components/Text.js";import{useArticleStore as r,useRenderMode as i}from"@gem-sdk/core";let ArticleTag=({setting:l,builderProps:g,styles:p})=>{let d=r(e=>e.article),{isPreviewSharePageMode:a}=i(),o=d?.tags?.map(e=>e?.name).join(", "),n=a?null:e("div",{children:e("p",{className:"gp-bg-light-100 gp-border-dashed gp-border-[1px] gp-border-text-light-100 gp-text-text-light-500 gp-rounded-lg gp-px-2 gp-py-1 gp-text-12 gp-leading-5",children:"No article tag"})});return e("div",{id:`shopify-text-element-${g?.uid}`,"data-article-id":d?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:d?.tags?.length?e(t,{builderProps:g,styles:p,setting:{...l,text:o,excludeFlex:!0}}):n})};export{ArticleTag as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useArticleStore as r,useShopStore as e}from"@gem-sdk/core";import{urlJoin as o}from"../../link/common/helpers.js";import{useMemo as
|
|
1
|
+
import{useArticleStore as r,useShopStore as e,useRenderMode as t}from"@gem-sdk/core";import{urlJoin as o}from"../../link/common/helpers.js";import{useMemo as l}from"react";let useArticleLink=()=>{let n=r(r=>r.article),i=e(r=>r.storefrontUrl),{isPreviewSharePageMode:m}=t(),s=n?.handle?o("blogs",n?.blog?.handle??"",n.handle):"#",c=l(()=>{if(m)return`/articles/${n?.handle}`;if(!i)return"#";let r=new URL(i);return n?`${r.protocol}//${r.host}/${s}`:"#"},[i,n,s,m]);return{shopifyArticleLink:c}};export{useArticleLink};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useState as e,useEffect as t,useMemo as
|
|
1
|
+
import{useState as e,useEffect as t,useMemo as i}from"react";import{usePageType as a}from"@gem-sdk/core";let useBreadcrumb=()=>{let[r,d]=e(),[n,o]=e(),[l,c]=e(),g=a();t(()=>{let e=parent.document.querySelector(".iframe");e||(e=document.querySelector("#storefront")),e&&(d(e.getAttribute("data-page-name")??void 0),o(e.getAttribute("data-assigned-product-title")??void 0),c(e.getAttribute("data-assigned-collection-title")??void 0))},[]),t(()=>{let e=e=>{d(e.detail?.pageName??void 0)},t=e=>{o(e.detail?.assignedProductTitle??void 0)},i=e=>{c(e.detail?.assignedCollectionTitle??void 0)};return window.addEventListener("change-page-name",e),window.addEventListener("change-product-assigned",t),window.addEventListener("change-collection-assigned",i),()=>{window.removeEventListener("change-page-name",e),window.removeEventListener("change-product-assigned",t),window.removeEventListener("change-collection-assigned",i)}},[]);let s=i(()=>[{pageType:"GP_PRODUCT",listBreadcrumb:["Home",n??"Product Title"]},{pageType:"GP_COLLECTION",listBreadcrumb:["Home",l??"Collection Title"]},{pageType:"GP_ARTICLE",listBreadcrumb:["Home","Blog","Article Title"]},{pageType:"GP_STATIC",listBreadcrumb:["Home",r??"Landing Page Title"]},{pageType:"GP_INDEX",listBreadcrumb:["Home"]},{pageType:"THEME_SECTION",listBreadcrumb:["Home","Page Title"]}],[l,n,r]),m="undefined"!=typeof window?window.location.search:"",p=i(()=>new URLSearchParams(m).get("pageType"),[m]),u=i(()=>p||g,[p,g]),T=i(()=>s.find(e=>e.pageType===u)?.listBreadcrumb||[],[s,u]);return{currentBreadcrumb:T}};export{useBreadcrumb};
|
package/dist/esm/builder.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import p from"./third-party/components/AppstleBundlesDiscounts.js";import s from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import f from"./third-party/components/ProductReviews.js";import u from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import b from"./third-party/components/ParcelPanel.js";import S from"./third-party/components/TrustMe.js";import C from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import v from"./third-party/components/BoldProductOptions.js";import k from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import x from"./third-party/components/Wiser.js";import A from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import L from"./third-party/components/LaiProductReviews.js";import D from"./third-party/components/Growave.js";import F from"./third-party/components/KachingBundles.js";import O from"./third-party/components/Opinew.js";import V from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import z from"./third-party/components/FirePush.js";import U from"./third-party/components/AliReviews.js";import q from"./third-party/components/CleanSizeCharts.js";import G from"./third-party/components/Bogos.js";import K from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import N from"./third-party/components/Releasit.js";import W from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import op from"./third-party/components/SubifySubscriptionsApp.js";import os from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import of from"./third-party/components/UnlimitedBundlesDiscounts.js";import ou from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import ob from"./third-party/components/MaxbundleProductBundles.js";import oS from"./third-party/components/PreorderNowWodPresale.js";import oC from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ov from"./third-party/components/ProductOptionsCustomizer.js";import ok from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import ox from"./third-party/components/GoogleReviewsByReputon.js";import oA from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import oL from"./third-party/components/SproutPlantTreesGrowSales.js";import oD from"./third-party/components/InstasellShoppableInstagram.js";import oF from"./third-party/components/WishlistPlus.js";import oO from"./third-party/components/LoloyalLoyaltyReferrals.js";import oV from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oz from"./third-party/components/GloboProductOptionsVariant.js";import oU from"./third-party/components/ProductOptionsVariantOption.js";import oq from"./third-party/components/BestBuyFulfillment.js";import oG from"./third-party/components/AftershipEmailMarketingsms.js";import oK from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oN from"./third-party/components/DiscountyBulkDiscountSales.js";import oW from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o2 from"./third-party/components/OkendoReviewsLoyalty.js";import o0 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o1 from"./third-party/components/HextomCountdownTimerBar.js";import o3 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./article/components/ArticleList.js";import tt from"./article/components/ArticleTitle.js";import tr from"./article/components/ArticleExcerpt.js";import tm from"./article/components/ArticleContent.js";import tp from"./article/components/ArticleImage.js";import ts from"./article/components/ArticlePagination.js";import tn from"./article/components/ArticleAuthor.js";import te from"./article/components/ArticleTag.js";import ti from"./article/components/ArticleCategory.js";import tc from"./article/components/ArticleDate.js";import ta from"./article/components/ArticleReadMore.js";import td from"./hero-banner/components/HeroBanner.js";import tf from"./breadcrumb/components/Breadcrumb.js";import tu from"./button/components/Button.js";import tj from"./carousel/components/root/Carousel.js";import tl from"./carousel/components/item/CarouselItem.js";import th from"./cart/components/Cart.js";import ty from"./cart/components/CartList.js";import tP from"./cart/components/CartLinePrice.js";import tg from"./cart/components/CartLineVariant.js";import tB from"./cart/components/CartLineImage.js";import tb from"./cart/components/CartTotalPrice.js";import tS from"./cart/components/CartTotalItem.js";import tC from"./cart/components/CartCheckout.js";import tw from"./cart/components/DiscountInput.js";import tv from"./cart/components/CartDiscount.js";import tk from"./cart/components/CartOrderNote.js";import tI from"./cart/components/CartLineAttribute.js";import tT from"./cart/components/CouponList.js";import tx from"./cart/components/shop-pay-button/ShopPayButton.js";import tA from"./cart/components/CheckoutNow.js";import tR from"./code/components/CSSCode.js";import tL from"./collection/components/collection-title/CollectionTitle.js";import tD from"./collection/components/collection-banner/CollectionBanner.js";import tF from"./collection/components/collection-description/CollectionDescription.js";import tO from"./collection/components/collection-toolbar/CollectionToolbar.js";import tV from"./collection/components/collection-paginator/CollectionPaginator.js";import tM from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tE from"./coupon/components/Coupon.js";import tH from"./dialog/components/Dialog.js";import tz from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tU from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tq from"./grid/components/root/Root.js";import tG from"./grid/components/section/Section.js";import tK from"./grid/components/row/Row.js";import tQ from"./grid/components/col/Col.js";import tN from"./form/components/newsletter/Newsletter.js";import tW from"./form/components/contact/Contact.js";import tY from"./form/components/form-email/FormEmail.js";import tJ from"./form/components/submit-button/SubmitButton.js";import tX from"./form/components/form-dropdown/FormDropdown.js";import tZ from"./form/components/textfield/TextField.js";import t$ from"./form/components/textarea/TextArea.js";import t_ from"./form/components/form-checkbox/FormCheckbox.js";import t2 from"./form/components/textinput/TextInput.js";import t0 from"./header/components/Header.js";import t1 from"./header/components/kind/basic/index.js";import t3 from"./header/components/kind/modern/index.js";import t4 from"./header/components/kind/basic/MobileMenu.js";import t5 from"./header/components/kind/basic/DesktopMenu.js";import t6 from"./heading/components/Heading.js";import t7 from"./icon/components/Icon.js";import t8 from"./icon-list/components/IconList.js";import t9 from"./icon-list/components/IconListItem.js";import ro from"./icon-list-hoz/components/IconListHoz.js";import rt from"./icon-list-hoz/components/IconListHozItem.js";import rr from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import rm from"./image/components/Image.js";import rp from"./image-comparison/components/ImageComparison.js";import rs from"./image-detection/components/ImageDetection.js";import rn from"./input/components/Input.js";import re from"./line/components/Line.js";import ri from"./marquee/components/Marquee.js";import rc from"./marquee/components/MarqueeItem.js";import ra from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rd from"./modal/components/Modal.js";import rf from"./pagination/components/Pagination.js";import ru from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rj from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rl from"./post-purchase/button/components/Button.js";import rh from"./post-purchase/callout-banner/components/CalloutBox.js";import ry from"./post-purchase/callout-banner/components/CalloutText.js";import rP from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rg from"./post-purchase/image/components/Image.js";import rB from"./post-purchase/line/components/PostPurchaseLine.js";import rb from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rS}from"./post-purchase/text/index.js";import rC from"./post-purchase/product/components/ProductTitle.js";import rw from"./post-purchase/product/components/ProductDescription.js";import rv from"./post-purchase/product/components/ProductPrice.js";import rk from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rI from"./post-purchase/product/components/AcceptButton.js";import rT from"./post-purchase/product/components/ProductQuantity.js";import rx from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rA from"./post-purchase/product/components/ProductPriceBreakdown.js";import rR from"./post-purchase/product/components/ProductDiscountTag.js";import rL from"./post-purchase/product/components/product-image/index.js";import rD from"./product/components/product-wrap/Product.js";import rF from"./product/components/product-title/ProductTitle.js";import rO from"./product/components/product-quantity/ProductQuantity.js";import rV from"./product/components/product-description/ProductDescription.js";import rM from"./product/components/product-price/ProductPrice.js";import rE from"./product/components/product-button/ProductButton.js";import rH from"./product/components/product-variants/ProductVariants.js";import rz from"./product/components/ProductImages.js";import rU from"./product/components/product-images-v2/ProductImageV2.js";import rq from"./product/components/product-properties/ProductProperties.js";import rG from"./product/components/product-quick-view/QuickView.js";import rK from"./product/components/product-discount-tag/ProductDiscountTag.js";import rQ from"./product/components/product-list/ProductList.js";import rN from"./product/components/dynamic-checkout/DynamicCheckout.js";import rW from"./product/components/product-bundle/ProductBundleDiscount.js";import rY from"./product/components/product-vendor/Vendor.js";import rJ from"./product/components/product-sku/Sku.js";import rX from"./product/components/product-view-more/ProductViewMore.js";import rZ from"./product/components/product-badge/ProductBadge.js";import r$ from"./product/components/file-upload/UploadFile.js";import r_ from"./product/components/product-bundle/ProductBundleDiscountItem.js";import r2 from"./radio/components/Radio.js";import r0 from"./select/components/Select.js";import"./select/settings/configs/settings.js";import r1 from"./tab/components/Tabs.js";import r3 from"./tab/components/TabItem.js";import r4 from"./text/components/Text.js";import r5 from"./textarea/components/Textarea.js";import r6 from"./video/components/Video.js";import r7 from"./third-party-slot/components/ThirdPartySlot.js";import r8 from"./shop-pay-installment/components/ShopPayInstallments.js";import r9 from"./third-party-instant/components/InstantJudgemeReviews.js";import mo from"./third-party-instant/components/InstantLooxReviews.js";import mt from"./third-party-instant/components/InstantKlaviyo.js";import mr from"./third-party-instant/components/InstantYotpoLoyalty.js";import mm from"./stock-counter/components/StockCounter.js";import mp from"./sticky/components/Sticky.js";import ms from"./post-purchase/text/components/Text.js";var builder={AovFreeGiftBuyXGetYBogo:s,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:p,Accordion:o,AccordionItem:t,ArticleList:to,ArticleTitle:tt,ArticleExcerpt:tr,ArticleContent:tm,ArticleImage:tp,ArticlePagination:ts,ArticleAuthor:tn,ArticleTag:te,ArticleCategory:ti,ArticleDate:tc,ArticleReadMore:ta,HeroBanner:td,Breadcrumb:tf,Button:tu,Carousel:tj,CarouselItem:tl,Cart:th,CartList:ty,CartLinePrice:tP,CartLineVariant:tg,CartLineImage:tB,CartTotalPrice:tb,CartTotalItem:tS,CartCheckout:tC,DiscountInput:tw,CartDiscount:tv,CartOrderNote:tk,CartLineAttribute:tI,CouponList:tT,ShopPayButton:tx,CheckoutNow:tA,CSSCode:tR,CollectionTitle:tL,CollectionDescription:tF,CollectionBanner:tD,CollectionToolbar:tO,CollectionPaginator:tV,Countdown:tM,Coupon:tE,Dialog:tH,EstimateDate:tz,Newsletter:tN,ContactForm:tW,FormEmail:tY,SubmitButton:tJ,TextField:tZ,TextInput:t2,FormTextarea:t$,FormDropdown:tX,FormCheckbox:t_,Root:tq,Section:tG,Row:tK,Col:tQ,Header:t0,BasicHeader:t1,ModernHeader:t3,MobileMenu:t4,DesktopMenu:t5,Heading:t6,Icon:t7,IconList:t8,IconListItem:t9,IconListHoz:ro,IconListItemHoz:rt,IconListV2:rr,Image:rm,ImageComparison:rp,ImageDetection:rs,Input:rn,Line:re,Link:tU,Marquee:ri,MarqueeItem:rc,Menu:ra,Modal:rd,Pagination:rf,PostPurchaseAdvancedList:ru,PostPurchaseAdvancedListItem:rj,PostPurchaseAcceptButton:rI,PostPurchaseButton:rl,PostPurchaseCalloutBox:rh,PostPurchaseCalloutText:ry,PostPurchaseCountdownTimer:rP,PostPurchaseImage:rg,PostPurchaseLine:rB,PostPurchaseLink:rb,PostPurchaseHeading:rS,PostPurchaseText:ms,PostPurchaseProductTitle:rC,PostPurchaseProductDescription:rw,PostPurchaseProductPrice:rv,PostPurchaseProductVariants:rk,PostPurchaseProductQuantity:rT,PostPurchaseProductPriceBreakdown:rA,PostPurchaseProductOffer:rx,PostPurchaseProductDiscountTag:rR,PostPurchaseProductImages:rL,EstimatedDeliveryDatePlus:o0,OkendoReviewsLoyalty:o2,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oK,AftershipEmailMarketingsms:oG,BestBuyFulfillment:oq,ProductOptionsVariantOption:oU,GloboProductOptionsVariant:oz,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oV,LoloyalLoyaltyReferrals:oO,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oF,InstasellShoppableInstagram:oD,SproutPlantTreesGrowSales:oL,RapiBundleQuantityBreaks:oA,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:ox,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ok,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oC,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:oS,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:ob,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:ou,UnlimitedBundlesDiscounts:of,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:os,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:op,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rD,ProductTitle:rF,ProductQuantity:rO,ProductPrice:rM,ProductSku:rJ,FileUpload:r$,ProductBundleDiscount:rW,ProductBundleDiscountItem:r_,ProductButton:rE,ProductDescription:rV,ProductVariants:rH,ProductImages:rz,ProductImagesV2:rU,ProductProperties:rq,ProductQuickView:rG,ProductTag:rK,ProductList:rQ,Radio:r2,Select:r0,Tabs:r1,TabItem:r3,Text:r4,Textarea:r5,Video:r6,PushOwl:K,ThirdPartySlot:r7,ShopPayInstallments:r8,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:f,Ryviu:u,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:b,TrustMe:S,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:D,KachingBundles:F,Bogos:G,Opinew:O,UltimateSalesBoost:V,FirePush:z,FrequentlyBoughtTogether:C,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:k,PickyStory:I,InfiniteOptions:T,Wiser:x,Stamped:A,Bundler:R,LaiProductReviews:L,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:U,CleanSizeCharts:q,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:r9,InstantLooxReviews:mo,InstantKlaviyo:mt,InstantYotpoLoyalty:mr,Releasit:N,BirdChime:X,StockCounter:mm,DynamicCheckout:rN,Sticky:mp,ProductVendor:rY,KingProductOptions:W,ProductViewMore:rX,ProductBadge:rZ,HextomCountdownTimerBar:o1,TrustBadgesBear:o3,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{builder as default};
|
|
2
|
+
import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import p from"./third-party/components/AppstleBundlesDiscounts.js";import s from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import f from"./third-party/components/ProductReviews.js";import u from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import b from"./third-party/components/ParcelPanel.js";import S from"./third-party/components/TrustMe.js";import C from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import v from"./third-party/components/BoldProductOptions.js";import k from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import A from"./third-party/components/Wiser.js";import x from"./third-party/components/Stamped.js";import D from"./third-party/components/Bundler.js";import R from"./third-party/components/LaiProductReviews.js";import L from"./third-party/components/Growave.js";import F from"./third-party/components/KachingBundles.js";import O from"./third-party/components/Opinew.js";import V from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import q from"./third-party/components/CleanSizeCharts.js";import G from"./third-party/components/Bogos.js";import K from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import N from"./third-party/components/Releasit.js";import W from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import op from"./third-party/components/SubifySubscriptionsApp.js";import os from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import of from"./third-party/components/UnlimitedBundlesDiscounts.js";import ou from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import ob from"./third-party/components/MaxbundleProductBundles.js";import oS from"./third-party/components/PreorderNowWodPresale.js";import oC from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ov from"./third-party/components/ProductOptionsCustomizer.js";import ok from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import oA from"./third-party/components/GoogleReviewsByReputon.js";import ox from"./third-party/components/RapiBundleQuantityBreaks.js";import oD from"./third-party/components/AppointmentBookingCowlendar.js";import oR from"./third-party/components/SproutPlantTreesGrowSales.js";import oL from"./third-party/components/InstasellShoppableInstagram.js";import oF from"./third-party/components/WishlistPlus.js";import oO from"./third-party/components/LoloyalLoyaltyReferrals.js";import oV from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oq from"./third-party/components/BestBuyFulfillment.js";import oG from"./third-party/components/AftershipEmailMarketingsms.js";import oK from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oN from"./third-party/components/DiscountyBulkDiscountSales.js";import oW from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o2 from"./third-party/components/OkendoReviewsLoyalty.js";import o0 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o1 from"./third-party/components/HextomCountdownTimerBar.js";import o3 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./article/components/ArticleList.js";import tp from"./article/components/ArticleTitle.js";import ts from"./article/components/ArticleExcerpt.js";import tn from"./article/components/ArticleContent.js";import te from"./article/components/ArticleImage.js";import ti from"./article/components/ArticlePagination.js";import tc from"./article/components/ArticleAuthor.js";import ta from"./article/components/ArticleTag.js";import td from"./article/components/ArticleCategory.js";import tf from"./article/components/ArticleDate.js";import tu from"./article/components/ArticleReadMore.js";import tj from"./hero-banner/components/HeroBanner.js";import tl from"./breadcrumb/components/Breadcrumb.js";import th from"./button/components/Button.js";import ty from"./carousel/components/root/Carousel.js";import tP from"./carousel/components/item/CarouselItem.js";import tg from"./cart/components/Cart.js";import tB from"./cart/components/CartList.js";import tb from"./cart/components/CartLinePrice.js";import tS from"./cart/components/CartLineVariant.js";import tC from"./cart/components/CartLineImage.js";import tw from"./cart/components/CartTotalPrice.js";import tv from"./cart/components/CartTotalItem.js";import tk from"./cart/components/CartCheckout.js";import tI from"./cart/components/DiscountInput.js";import tT from"./cart/components/CartDiscount.js";import tA from"./cart/components/CartOrderNote.js";import tx from"./cart/components/CartLineAttribute.js";import tD from"./cart/components/CouponList.js";import tR from"./cart/components/shop-pay-button/ShopPayButton.js";import tL from"./cart/components/CheckoutNow.js";import tF from"./code/components/CSSCode.js";import tO from"./collection/components/collection-title/CollectionTitle.js";import tV from"./collection/components/collection-banner/CollectionBanner.js";import tM from"./collection/components/collection-description/CollectionDescription.js";import tE from"./collection/components/collection-toolbar/CollectionToolbar.js";import tH from"./collection/components/collection-paginator/CollectionPaginator.js";import tU from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tz from"./coupon/components/Coupon.js";import tq from"./dialog/components/Dialog.js";import tG from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tK from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tQ from"./grid/components/root/Root.js";import tN from"./grid/components/section/Section.js";import tW from"./grid/components/row/Row.js";import tY from"./grid/components/col/Col.js";import tJ from"./form/components/newsletter/Newsletter.js";import tX from"./form/components/contact/Contact.js";import tZ from"./form/components/form-email/FormEmail.js";import t$ from"./form/components/submit-button/SubmitButton.js";import t_ from"./form/components/form-dropdown/FormDropdown.js";import t2 from"./form/components/textfield/TextField.js";import t0 from"./form/components/textarea/TextArea.js";import t1 from"./form/components/form-checkbox/FormCheckbox.js";import t3 from"./form/components/textinput/TextInput.js";import t4 from"./header/components/Header.js";import t5 from"./header/components/kind/basic/index.js";import t6 from"./header/components/kind/modern/index.js";import t7 from"./header/components/kind/basic/MobileMenu.js";import t8 from"./header/components/kind/basic/DesktopMenu.js";import t9 from"./heading/components/Heading.js";import ro from"./icon/components/Icon.js";import rt from"./icon-list/components/IconList.js";import rr from"./icon-list/components/IconListItem.js";import rm from"./icon-list-hoz/components/IconListHoz.js";import rp from"./icon-list-hoz/components/IconListHozItem.js";import rs from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import rn from"./image/components/Image.js";import re from"./image-comparison/components/ImageComparison.js";import ri from"./image-detection/components/ImageDetection.js";import rc from"./input/components/Input.js";import ra from"./line/components/Line.js";import rd from"./marquee/components/Marquee.js";import rf from"./marquee/components/MarqueeItem.js";import ru from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rj from"./modal/components/Modal.js";import rl from"./pagination/components/Pagination.js";import rh from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import ry from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rP from"./post-purchase/button/components/Button.js";import rg from"./post-purchase/callout-banner/components/CalloutBox.js";import rB from"./post-purchase/callout-banner/components/CalloutText.js";import rb from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rS from"./post-purchase/image/components/Image.js";import rC from"./post-purchase/line/components/PostPurchaseLine.js";import rw from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rv}from"./post-purchase/text/index.js";import rk from"./post-purchase/product/components/ProductTitle.js";import rI from"./post-purchase/product/components/ProductDescription.js";import rT from"./post-purchase/product/components/ProductPrice.js";import rA from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rx from"./post-purchase/product/components/AcceptButton.js";import rD from"./post-purchase/product/components/ProductQuantity.js";import rR from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rL from"./post-purchase/product/components/ProductPriceBreakdown.js";import rF from"./post-purchase/product/components/ProductDiscountTag.js";import rO from"./post-purchase/product/components/product-image/index.js";import rV from"./product/components/product-wrap/Product.js";import rM from"./product/components/product-title/ProductTitle.js";import rE from"./product/components/product-quantity/ProductQuantity.js";import rH from"./product/components/product-description/ProductDescription.js";import rU from"./product/components/product-price/ProductPrice.js";import rz from"./product/components/product-button/ProductButton.js";import rq from"./product/components/product-variants/ProductVariants.js";import rG from"./product/components/ProductImages.js";import rK from"./product/components/product-images-v2/ProductImageV2.js";import rQ from"./product/components/product-properties/ProductProperties.js";import rN from"./product/components/product-quick-view/QuickView.js";import rW from"./product/components/product-discount-tag/ProductDiscountTag.js";import rY from"./product/components/product-list/ProductList.js";import rJ from"./product/components/dynamic-checkout/DynamicCheckout.js";import rX from"./product/components/product-bundle/ProductBundleDiscount.js";import rZ from"./product/components/product-vendor/Vendor.js";import r$ from"./product/components/product-sku/Sku.js";import r_ from"./product/components/product-view-more/ProductViewMore.js";import r2 from"./product/components/product-badge/ProductBadge.js";import r0 from"./product/components/file-upload/UploadFile.js";import r1 from"./product/components/product-bundle/ProductBundleDiscountItem.js";import r3 from"./radio/components/Radio.js";import r4 from"./select/components/Select.js";import"./select/settings/configs/settings.js";import r5 from"./tab/components/Tabs.js";import r6 from"./tab/components/TabItem.js";import r7 from"./text/components/Text.js";import r8 from"./textarea/components/Textarea.js";import r9 from"./video/components/Video.js";import mo from"./third-party-slot/components/ThirdPartySlot.js";import mt from"./shop-pay-installment/components/ShopPayInstallments.js";import mr from"./third-party-instant/components/InstantJudgemeReviews.js";import mm from"./third-party-instant/components/InstantLooxReviews.js";import mp from"./third-party-instant/components/InstantKlaviyo.js";import ms from"./third-party-instant/components/InstantYotpoLoyalty.js";import mn from"./stock-counter/components/StockCounter.js";import me from"./sticky/components/Sticky.js";import mi from"./post-purchase/text/components/Text.js";var builder={DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:s,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:p,Accordion:o,AccordionItem:t,ArticleList:tm,ArticleTitle:tp,ArticleExcerpt:ts,ArticleContent:tn,ArticleImage:te,ArticlePagination:ti,ArticleAuthor:tc,ArticleTag:ta,ArticleCategory:td,ArticleDate:tf,ArticleReadMore:tu,HeroBanner:tj,Breadcrumb:tl,Button:th,Carousel:ty,CarouselItem:tP,Cart:tg,CartList:tB,CartLinePrice:tb,CartLineVariant:tS,CartLineImage:tC,CartTotalPrice:tw,CartTotalItem:tv,CartCheckout:tk,DiscountInput:tI,CartDiscount:tT,CartOrderNote:tA,CartLineAttribute:tx,CouponList:tD,ShopPayButton:tR,CheckoutNow:tL,CSSCode:tF,CollectionTitle:tO,CollectionDescription:tM,CollectionBanner:tV,CollectionToolbar:tE,CollectionPaginator:tH,Countdown:tU,Coupon:tz,Dialog:tq,EstimateDate:tG,Newsletter:tJ,ContactForm:tX,FormEmail:tZ,SubmitButton:t$,TextField:t2,TextInput:t3,FormTextarea:t0,FormDropdown:t_,FormCheckbox:t1,Root:tQ,Section:tN,Row:tW,Col:tY,Header:t4,BasicHeader:t5,ModernHeader:t6,MobileMenu:t7,DesktopMenu:t8,Heading:t9,Icon:ro,IconList:rt,IconListItem:rr,IconListHoz:rm,IconListItemHoz:rp,IconListV2:rs,Image:rn,ImageComparison:re,ImageDetection:ri,Input:rc,Line:ra,Link:tK,Marquee:rd,MarqueeItem:rf,Menu:ru,Modal:rj,Pagination:rl,PostPurchaseAdvancedList:rh,PostPurchaseAdvancedListItem:ry,PostPurchaseAcceptButton:rx,PostPurchaseButton:rP,PostPurchaseCalloutBox:rg,PostPurchaseCalloutText:rB,PostPurchaseCountdownTimer:rb,PostPurchaseImage:rS,PostPurchaseLine:rC,PostPurchaseLink:rw,PostPurchaseHeading:rv,PostPurchaseText:mi,PostPurchaseProductTitle:rk,PostPurchaseProductDescription:rI,PostPurchaseProductPrice:rT,PostPurchaseProductVariants:rA,PostPurchaseProductQuantity:rD,PostPurchaseProductPriceBreakdown:rL,PostPurchaseProductOffer:rR,PostPurchaseProductDiscountTag:rF,PostPurchaseProductImages:rO,EstimatedDeliveryDatePlus:o0,OkendoReviewsLoyalty:o2,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oK,AftershipEmailMarketingsms:oG,BestBuyFulfillment:oq,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oV,LoloyalLoyaltyReferrals:oO,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oF,InstasellShoppableInstagram:oL,SproutPlantTreesGrowSales:oR,RapiBundleQuantityBreaks:ox,AppointmentBookingCowlendar:oD,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ok,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oC,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:oS,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:ob,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:ou,UnlimitedBundlesDiscounts:of,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:os,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:op,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rV,ProductTitle:rM,ProductQuantity:rE,ProductPrice:rU,ProductSku:r$,FileUpload:r0,ProductBundleDiscount:rX,ProductBundleDiscountItem:r1,ProductButton:rz,ProductDescription:rH,ProductVariants:rq,ProductImages:rG,ProductImagesV2:rK,ProductProperties:rQ,ProductQuickView:rN,ProductTag:rW,ProductList:rY,Radio:r3,Select:r4,Tabs:r5,TabItem:r6,Text:r7,Textarea:r8,Video:r9,PushOwl:K,ThirdPartySlot:mo,ShopPayInstallments:mt,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:f,Ryviu:u,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:b,TrustMe:S,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:L,KachingBundles:F,Bogos:G,Opinew:O,UltimateSalesBoost:V,FirePush:U,FrequentlyBoughtTogether:C,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:k,PickyStory:I,InfiniteOptions:T,Wiser:A,Stamped:x,Bundler:D,LaiProductReviews:R,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:q,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:mr,InstantLooxReviews:mm,InstantKlaviyo:mp,InstantYotpoLoyalty:ms,Releasit:N,BirdChime:X,StockCounter:mn,DynamicCheckout:rJ,Sticky:me,ProductVendor:rZ,KingProductOptions:W,ProductViewMore:r_,ProductBadge:r2,HextomCountdownTimerBar:o1,TrustBadgesBear:o3,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{builder as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,jsx as o}from"react/jsx-runtime";import{useCollection as
|
|
2
|
+
import{jsxs as e,jsx as o}from"react/jsx-runtime";import{useCollection as l,useRenderMode as r}from"@gem-sdk/core";import t from"../../../grid/components/row/Row.js";import{createClass as s,createStyle as m,If as a}from"@gem-sdk/system";import{getClassContainerBanner as i,getClassContainerBackgoundImage as n,getClassOverlayBanner as c,getClassLinkBanner as d}from"./common/classes.js";import{getDimension as p,getStyleOverlay as f,getStyleContainerBackgoundImage as g}from"./common/styles.js";import{updateBackroundImageSrc as k}from"./common/helpers.js";import y from"../../../link/components/Link.js";let CollectionBanner=({builderAttrs:b,builderProps:h,setting:j,style:u,children:v,advanced:N})=>{let B=l(),{isPreviewSharePageMode:C,isEditMode:w}=r(),{link:x,layout:I,width:L,verticalGutter:M,verticalAlign:O,horizontalAlign:R}=j??{};k({setting:j,collectionSrc:B?.collectionMedia?.src});let S=s({...i({builderProps:h,setting:j,advanced:N})}),W=s({...n({setting:j})}),q=s({...c({setting:j})}),z=s({...d()}),A=m({...p({setting:j,style:u})}),D=m({...f({setting:j})}),E=m({...g({setting:j,hasCollectionImage:!1})}),F=!!x?.link&&!w&&!C;return e("div",{...b,className:S,style:A,children:[o("div",{"aria-label":"Background Image",role:"banner",className:W,style:E}),o("div",{"aria-label":"Overlay",role:"banner",className:q,style:D}),a(F,o(y,{setting:{href:x?.link,target:x?.target},className:z})),o(t,{setting:{layout:I,horizontalAlign:R,verticalAlign:O},styles:{verticalGutter:M,width:L,fullWidth:{desktop:!1,tablet:!1,mobile:!1}},style:u,children:v})]})};export{CollectionBanner as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as e,Fragment as t,jsxs as o}from"react/jsx-runtime";import{
|
|
2
|
+
import{jsx as e,Fragment as t,jsxs as o}from"react/jsx-runtime";import{useRenderMode as s,useCollection as i,makeStyleResponsive as r,makeLineClamp as n}from"@gem-sdk/core";import{getDefaultStyleCollectionDes as l,getStyleDefaultViewMore as a,getStaticCss as m}from"./common/styles.js";import{getClassContainerCollectionDes as c,getClassEmptyCollectionDes as d,getClassButtonViewMore as p,getDescriptionClasses as h,getShowMoreIconClasses as y,getShowMoreTextClasses as u,getClassPreBuilt as g}from"./common/classes.js";import{createClass as f,createStyle as N,createAttr as v,If as S}from"@gem-sdk/system";import{getViewLessText as _,getViewMoreText as j,ICON_SVG as C}from"./common/helpers.js";import{useGpDescription as H}from"../../hooks/useDescription.js";let DescriptionNotFoundString="This collection does not have a description",CollectionDescription=({setting:T,builderProps:k,pageContext:D,advanced:I})=>{let{isPreviewSharePageMode:L}=s(),M=i(),{ref:b,open:x,isShowViewMore:w,handleToggleShowMore:F,hasLineClamp:V}=H(T),$=M?.descriptionHtml,q=f(c({setting:T})),z=f(d()),A=f(p({setting:T})),B=f(h({advanced:I})),E=f({...y(),...x?{"gp-rotate-180":!0}:{}}),G=f(u()),J=f(g()),K=N({...l({setting:T}),...x?{}:r("line-clamp",n(T?.lineClamp,T?.hasLineClamp))}),O=N({...a(T)}),P=_({setting:T,builderProps:k,pageContext:D,type:"react"}),Q=j({setting:T,builderProps:k,pageContext:D,type:"react"}),R=v({"data-id":`${k?.uid}`}),U=v({"data-gp-text":""}),{gpDescriptionCss:W,textDescriptionCss:X}=m(),Y=L?"":e("div",{className:z,dangerouslySetInnerHTML:{__html:"This collection does not have a description"}});return e(t,{children:S(!$,Y,o("div",{...R,className:B,children:[e("style",{children:X}),e("style",{children:W}),e("div",{className:J}),e("div",{ref:b,className:q,style:K,dangerouslySetInnerHTML:{__html:M?.descriptionHtml??""},...U}),S(V&&w,o("button",{type:"button",className:A,style:O,onClick:F,children:[e("span",{className:G,children:S(x,P?.toString()??"",Q?.toString()??"")}),S(T?.enableViewMoreIcon,e("span",{className:E,dangerouslySetInnerHTML:{__html:C}}),"")]}),"")]}))})};export{CollectionDescription as default};
|
package/dist/esm/collection/components/collection-description/CollectionDescription.liquid.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import{makeStyleResponsive as e,makeLineClamp as i,template as s,isLocalEnv as t,baseAssetURL as l}from"@gem-sdk/core";import{getSettingPreloadData as o}from"../../../helpers.js";import{getDefaultStyleCollectionDes as n,getStyleDefaultViewMore as c,getStaticCss as r}from"./common/styles.js";import{createClass as p,createStyle as a,createAttr as m,createStateOrContext as $,If as d,Liquid as g,LiquidUnless as v,LiquidIf as
|
|
1
|
+
import{makeStyleResponsive as e,makeLineClamp as i,template as s,isLocalEnv as t,baseAssetURL as l}from"@gem-sdk/core";import{getSettingPreloadData as o}from"../../../helpers.js";import{getDefaultStyleCollectionDes as n,getStyleDefaultViewMore as c,getStaticCss as r}from"./common/styles.js";import{createClass as p,createStyle as a,createAttr as m,createStateOrContext as $,If as d,Liquid as g,LiquidUnless as v,LiquidIf as y}from"@gem-sdk/system";import{getClassContainerCollectionDes as f,getClassButtonViewMore as u,getDescriptionClasses as w,getShowMoreIconClasses as C,getShowMoreTextClasses as b,getClassPreBuilt as S}from"./common/classes.js";import{getViewLessText as h,getViewMoreText as j,ICON_SVG as x}from"./common/helpers.js";let CollectionDescription=({setting:M,advanced:k,builderProps:E,pageContext:I})=>{let L=p(f({setting:M})),P=p(u({setting:M})),V=p(w({advanced:k})),A=p(C()),T=p(b()),q=p(S()),D=a({...n({setting:M}),...e("line-clamp",i(M?.lineClamp,M?.hasLineClamp))}),G=a({...c(M)}),N=h({setting:M,builderProps:E,pageContext:I,type:"liquid"}),O=j({setting:M,builderProps:E,pageContext:I,type:"liquid"}),_=m({"data-id":`${E?.uid}`,"view-more-text":`${I?.isPreviewing?O:`{{${O}}}`}`,"view-less-text":`${I?.isPreviewing?N:`{{${N}}}`}`}),J=m({"data-gp-text":""}),{gpDescriptionCss:R,textDescriptionCss:z}=r(),B=$({setting:{lineClamp:M?.lineClamp,hasLineClamp:M?.hasLineClamp,viewMoreText:O,viewLessText:N,enableViewMoreIcon:M?.enableViewMoreIcon},textStyle:D}),F=()=>{let e=t?"{{ 'gp-collection-description-v7-5.js' | asset_url }}":`${l}/assets-v2/gp-collection-description-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}`;return`<script ${o('class="gps-link" delay',"src")}="${e}" defer="defer"></script>`};return d(!1,"",g(s`
|
|
2
2
|
<gp-collection-description
|
|
3
3
|
${_}
|
|
4
4
|
class="${V}"
|
|
5
|
-
gp-data='${JSON.stringify(
|
|
5
|
+
gp-data='${JSON.stringify(B).replaceAll("'","'")}'
|
|
6
6
|
>
|
|
7
|
+
<style>${z}</style>
|
|
7
8
|
<style>${R}</style>
|
|
8
9
|
<div class="${q}" ></div>
|
|
9
10
|
${v("collection","<p>Collection not found</p>",s`<div ${J} class="${L}" style="${D}">
|
|
10
11
|
{{collection.description}}
|
|
11
12
|
</div>
|
|
12
|
-
${
|
|
13
|
+
${y("collection.description != blank",s`<button type="button" class="${P}" style="${G}">
|
|
13
14
|
<span class="${T}">
|
|
14
15
|
${d(I?.isPreviewing,O?.toString()||"",`{{${O}}}`)}
|
|
15
16
|
</span>
|
|
16
17
|
${d(M?.enableViewMoreIcon,s`<span class="${A}">${x}</span>`," ")}
|
|
17
18
|
</button>`)}`)}
|
|
18
19
|
</gp-collection-description>
|
|
19
|
-
${
|
|
20
|
+
${F()}
|
|
20
21
|
`))};export{CollectionDescription as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{composeTypographyStyle as t,filterTruthyStyles as e,getStyleShadow as o,makeStyleResponsive as l,makeStyle as i,getGlobalColorStyle as
|
|
2
|
-
.gp-p-description-text > :not(
|
|
1
|
+
import{composeTypographyStyle as t,filterTruthyStyles as e,getStyleShadow as o,makeStyleResponsive as l,makeStyle as i,getGlobalColorStyle as n,getResponsiveValueByScreen as r}from"@gem-sdk/core";import{getDisplayStyle as p}from"../../../../helpers.js";import{DESCRIPTION_LINE_HEIGHT_DEFAULT as a}from"./helpers.js";let getMaxHeightStyleDefault=t=>{let e={desktop:"none"},o=["desktop","mobile","tablet"];o.forEach(o=>{let l=r(t?.lineClamp,o),i=r(t?.hasLineClamp,o),n=i&&l?`${l*a}px`:"none";e={...e,[o]:n}});let i=l("maxh",e);return i},getDefaultStyleCollectionDes=({setting:n,renderMaxHeight:r})=>{let p=t(n?.typo,n?.typography);return e({...o({value:n?.typo?.custom?.textShadow,styleAppliedFor:"text-shadow",isEnableShadow:n?.typo?.custom?.hasShadowText}),...l("ta",n?.textAlign),...i({tt:n?.transform}),...p,...r&&getMaxHeightStyleDefault(n)})},getStyleDefaultViewMore=e=>{let o=t(e?.typo,e?.typography),r=()=>p(t=>{let o=e?.hasLineClamp?.[t];return!!e?.hasLineClamp&&void 0!==o&&!o},"inline-flex");return{...i({tt:e?.transform}),...l("jc",e?.textAlign),...o,...n(e?.showMoreColor),...r()}},getStaticCss=()=>{let t=`
|
|
2
|
+
.gp-p-description-text > *:not(ol):not(ul):not(table):not(div):not(style):not(script) {
|
|
3
3
|
display: inline !important;
|
|
4
4
|
}
|
|
5
5
|
.gp-p-description-text > *:not(ol):not(ul):not(table):not(div):not(style):not(script)::after {
|
|
6
|
-
content: "";
|
|
7
|
-
|
|
6
|
+
content: "\\A";
|
|
7
|
+
white-space: pre;
|
|
8
8
|
}
|
|
9
9
|
.gp-p-description-text > table {
|
|
10
10
|
box-shadow: none;
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
`,e=`
|
|
13
|
+
.p-description-wrapper.gp-p-description-text * {
|
|
13
14
|
color: inherit;
|
|
14
15
|
line-height: inherit !important;
|
|
15
|
-
}
|
|
16
|
-
`;return{gpDescriptionCss:t}};export{getDefaultStyleCollectionDes,getMaxHeightStyleDefault,getStaticCss,getStyleDefaultViewMore};
|
|
16
|
+
}`;return{gpDescriptionCss:t,textDescriptionCss:e}};export{getDefaultStyleCollectionDes,getMaxHeightStyleDefault,getStaticCss,getStyleDefaultViewMore};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as
|
|
2
|
+
import{jsx as t}from"react/jsx-runtime";import{useCollection as e}from"@gem-sdk/core";import l from"../../../text/components/Text.js";let CollectionTitle=({setting:o,advanced:i})=>{let r=e();return t(l,{styles:o,setting:{...o,text:r?.title??"Collection title",excludeFlex:!0},advanced:i})};export{CollectionTitle as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useRef as r,useState as p,useEffect as
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useRef as r,useState as p,useEffect as l}from"react";import{useRenderMode as n,cls as i,filterToolbarPreview as g}from"@gem-sdk/core";let NoDataState=({title:a,description:d,elementType:o,builderAttrs:c,descriptionActions:s,primaryBtnTitle:u,secondaryBtnTitle:m,primaryBtnCb:b,secondaryBtnCb:f,additionalMedia:x,customClass:h,icon:C=!0,rawMode:w,children:v})=>{let y=r(null),{isEditMode:N,isPreviewSharePageMode:k}=n(),[A,E]=p("row"),L=()=>{let e=y.current?.closest('[data-component-type="component"]')?.getAttribute("data-uid");if(!e)return;let t=new CustomEvent("editor:sync-product",{bubbles:!0,detail:{uid:e}});window.dispatchEvent(t)},M=()=>{let e=y.current?.closest('[data-component-type="component"]')?.getAttribute("data-uid");if(!e)return;let t=new CustomEvent("editor:sync-article",{bubbles:!0,detail:{uid:e}});window.dispatchEvent(t)},D=()=>{if(N)return;let e=new CustomEvent("editor:product-source-no-data-warning",{bubbles:!0,detail:{uid:c?.["data-uid"]??c?.uid,value:!0,tag:c?.["data-component-tag"]??c?.tag}});window.dispatchEvent(e)},F={syncProduct:L,syncArticle:M};return(l(()=>{let e=new ResizeObserver(()=>{let e=y.current?y.current?.offsetWidth:0;E(e>272?"row":"column")});return y.current&&e.observe(y.current),()=>{e?.disconnect()}},[]),k)?null:e("div",{...c,ref:y,className:i("gp-font-[Inter] gp-bg-white gp-border gp-border-dashed gp-border-box gp-rounded-lg gp-flex gp-flex-col",w?"gp-p-0":"gp-p-2"),onClick:D,children:[e("div",{className:i("gp-w-full gp-h-full gp-rounded-lg gp-flex gp-p-2 gp-gap-2","primary"===o?"gp-bg-[#FFF1DF]":"",w?"gp-justify-center":"",h||""),style:{flexDirection:A},children:[C&&!w&&t("div",{className:i("gp-w-[28px] gp-h-[28px] gp-min-w-[28px] gp-flex gp-items-center gp-justify-center gp-rounded-[8px]","primary"===o?"":"gp-bg-[#FDB913]"),children:e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M9.99997 6.75C10.4142 6.75 10.75 7.08579 10.75 7.5V11C10.75 11.4142 10.4142 11.75 9.99997 11.75C9.58576 11.75 9.24997 11.4142 9.24997 11V7.5C9.24997 7.08579 9.58576 6.75 9.99997 6.75Z",fill:"primary"===o?"#916A00":"#212121"}),t("path",{d:"M11 13.5C11 14.0523 10.5523 14.5 10 14.5C9.44775 14.5 9.00003 14.0523 9.00003 13.5C9.00003 12.9477 9.44775 12.5 10 12.5C10.5523 12.5 11 12.9477 11 13.5Z",fill:"primary"===o?"#916A00":"#212121"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0001 3.5C8.95474 3.5 8.21619 4.20232 7.84765 4.94672C7.65568 5.33448 6.75987 7.0441 5.84308 8.79353L5.81534 8.84646C4.92293 10.5493 4.01717 12.2777 3.80719 12.702C3.43513 13.4537 3.32934 14.4519 3.89956 15.316C4.46914 16.1791 5.44225 16.5 6.3636 16.5L13.6364 16.5C14.5577 16.5 15.5309 16.1791 16.1005 15.316C16.6707 14.4519 16.5649 13.4537 16.1928 12.702C15.9832 12.2784 15.08 10.555 14.189 8.85476L14.1569 8.79352C13.24 7.044 12.3443 5.33454 12.1525 4.94693C11.784 4.20242 11.0455 3.5 10.0001 3.5ZM9.19193 5.61225C9.59608 4.79592 10.4041 4.79592 10.8081 5.61225C11.0102 6.02061 11.9201 7.75686 12.8297 9.49243C13.7383 11.2262 14.6466 12.9594 14.8485 13.3673C15.2525 14.1837 14.8485 15 13.6364 15L6.3636 15C5.15153 15 4.74749 14.1837 5.15153 13.3673C5.35379 12.9587 6.26471 11.2205 7.17483 9.4838C8.08286 7.75111 8.99008 6.01994 9.19193 5.61225Z",fill:"primary"===o?"#916A00":"#212121"})]})}),e("div",{className:"gp-flex-col gp-flex gp-justify-between",children:[a&&t("p",{className:i("gp-text-[#916A00] gp-text-[13px] gp-font-semibold"),dangerouslySetInnerHTML:{__html:a}}),d&&e("p",{className:i(w?"gp-mb-0":"gp-mb-[4px]","primary"===o?"gp-text-[#916A00] gp-text-[13px]":"gp-text-[#212121] gp-text-[12px]"),children:[d," ",s?.map((r,p)=>{let l=p?"or":"",n="string"==typeof r.callback?F?.[r.callback]:r.callback;return e("span",{children:[" ",l," ",t("span",{role:"presentation",className:"gp-underline gp-cursor-pointer gp-leading-5",onClick:n,children:r.text})]},`description-action-${p}`)})]}),(u||m)&&e("div",{className:"gp-flex gp-flex-wrap gp-gap-2 gp-rounded-4 gp-border-box",children:[t("button",{onClick:b,className:"w-h-7 gp-bg-[#212121] gp-rounded-8 gp-p-2 gp-text-xs hover:gp-bg-[#3b3b3b] gp-text-white gp-rounded-lg",children:u}),t("button",{onClick:f,className:"w-h-7 gp-bg-white gp-text-[#212121] hover:gp-bg-[#f6f6f6] gp-text-xs gp-p-2 gp-rounded-lg",children:m})]})]})]}),x&&t("div",{className:"gp-w-full",dangerouslySetInnerHTML:{__html:x}}),g(v,!0)]})};export{NoDataState as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createClass as g}from"@gem-sdk/system";let getClass=l=>{let{builderProps:p,advanced:e,className:a}=l,o=g({"gp-background-video gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0":!0}),s=g({"gp-bg-video gp-relative gp-h-full":!0}),t=g({...a&&{[a]:!0},...p?.uid&&{[p.uid]:!0},"gp-relative gp-mx-auto gp-mb-0 gp-grid gp-max-w-full gp-transition-colors gp-duration-200 gp-ease-in-out [&_*]:gp-max-w-full gp-grid-rows-[1fr]":!0,...e?.cssClass&&{[e?.cssClass]:!0}}),u=g({"gp-mx-auto gp-max-w-full [&_*]:gp-max-w-full":!0}),r=g({"gp-pb-[56.25%] gp-h-full gp-w-full !gp-max-w-none gp-background-article":!0}),i=g({"!gp-w-[500%] !gp-ml-[-200%] !gp-h-full !gp-max-w-none gp-scale-[104%]":!0});return{rowClass:t,backgroundBoxClass:o,backgroundBoxInnerClass:s,sectionClass:u,wrapperYoutubeClasses:r,iframeYoutubeClasses:i}};export{getClass};
|
|
1
|
+
import{createClass as g}from"@gem-sdk/system";let getClass=l=>{let{builderProps:p,advanced:e,className:a}=l,o=g({"gp-background-video gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0 !gp-block":!0}),s=g({"gp-bg-video gp-relative gp-h-full":!0}),t=g({...a&&{[a]:!0},...p?.uid&&{[p.uid]:!0},"gp-relative gp-mx-auto gp-mb-0 gp-grid gp-max-w-full gp-transition-colors gp-duration-200 gp-ease-in-out [&_*]:gp-max-w-full gp-grid-rows-[1fr]":!0,...e?.cssClass&&{[e?.cssClass]:!0}}),u=g({"gp-mx-auto gp-max-w-full [&_*]:gp-max-w-full":!0}),r=g({"gp-pb-[56.25%] gp-h-full gp-w-full !gp-max-w-none gp-background-article":!0}),i=g({"!gp-w-[500%] !gp-ml-[-200%] !gp-h-full !gp-max-w-none gp-scale-[104%]":!0});return{rowClass:t,backgroundBoxClass:o,backgroundBoxInnerClass:s,sectionClass:u,wrapperYoutubeClasses:r,iframeYoutubeClasses:i}};export{getClass};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let SettingUIV2=[{controls:[{setting:{id:"layout"},layout:"vertical",options:{fullWidth:!0}}]},{label:{en:"Column spacing"},conditionDisplay:'pageType !== "POST_PURCHASE" && childrens > 1',controls:[{setting:{id:"verticalGutter"},label:{en:"Gap"},conditionDisplay:"layout
|
|
1
|
+
let SettingUIV2=[{controls:[{setting:{id:"layout"},layout:"vertical",options:{fullWidth:!0}}]},{label:{en:"Column spacing"},conditionDisplay:'pageType !== "POST_PURCHASE" && childrens > 1',controls:[{setting:{id:"verticalGutter"},label:{en:"Gap"},conditionDisplay:"layout?.cols.length > 1",controlChangeTrigger:{settings:[{condition:"activeScreenId !== 'desktop'",action:{controlId:"verticalGutterMobile",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{setting:{id:"verticalGutterMobile"},label:{en:"Gap"},conditionDisplay:"layout?.cols.length === 1",controlChangeTrigger:{settings:[{condition:"activeScreenId !== 'desktop'",action:{controlId:"verticalGutter",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}}]},{label:{en:"Column spacing"},controls:[{label:{en:"Gap"},setting:{id:"columnGap"},options:{fullWidth:!0},conditionDisplay:'pageType == "POST_PURCHASE" && !!layout?.cols && layout?.cols.length > 1',conditionEnable:"!!layout?.cols && layout?.cols.length > 1"}]},{label:{en:"Size",cn:"尺寸",es:"Tama\xf1o"},options:{disableMessage:"Setting is available when the number of columns is > 1"},controls:[{setting:{id:"width"},label:{en:"Width",es:"Ancho",cn:"宽度"}},{setting:{id:"height"},label:{en:"Height"}},{label:{en:"Padding",cn:"填充",es:"Relleno"},conditionDisplay:'pageType != "POST_PURCHASE"',controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"}}}]},{label:{en:"Background",cn:"背景",es:"Fondo"},conditionDisplay:'pageType != "POST_PURCHASE"',controls:[{setting:{id:"background"},layout:"vertical",options:{updateFields:[{field:"preload",settingId:"preloadBgImage"}]},controlChangeTrigger:{settings:[{action:{controlId:"preloadBgImage",valueFromField:"preload",groupType:"style",controlType:"style",removeDevice:!0}}],options:{noRecordHistory:!0}}}]},{label:{en:"Shape",cn:"形状",es:"Forma"},conditionDisplay:'pageType != "POST_PURCHASE"',controls:[{label:{en:"Border",cn:"边界",es:"Borde"},setting:{id:"border",state:"normal"}},{label:{en:"Corner",cn:"角落",es:"Esquina"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow",cn:"阴影",es:"Sombra"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:{en:"Align column"},controls:[{id:"verticalAlign",label:{en:"Vertical"},setting:{id:"verticalAlign"},conditionDisplay:"((!!layout?.cols && layout?.cols.length > 1) || (!!layout?.cols && layout?.cols.length == 1 && height == '100%')) && pageType != \"POST_PURCHASE\""},{id:"horizontalAlign",label:{en:"Horizontal"},setting:{id:"horizontalAlign"},conditionDisplay:"layout?.display !== 'fill' && pageType != \"POST_PURCHASE\"",options:{disableMessage:'Horizontal Align is available when layout is "Fit to content"'}}]},{controls:[{label:{en:"Align"},setting:{id:"inlineAlignment"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"},conditionDisplay:"pageType == \"POST_PURCHASE\" && layout.display !== 'fill'",conditionEnable:'!(parseInt(width) >= 100 && width?.includes("%"))'}]}];export{SettingUIV2};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let SettingUIV2=[{controls:[{setting:{id:"layout"},layout:"vertical"}]},{label:{en:"Column spacing"},conditionDisplay:"childrens > 1",controls:[{setting:{id:"verticalGutter"},label:{en:"Gap"},conditionDisplay:'layout
|
|
1
|
+
let SettingUIV2=[{controls:[{setting:{id:"layout"},layout:"vertical"}]},{label:{en:"Column spacing"},conditionDisplay:"childrens > 1",controls:[{setting:{id:"verticalGutter"},label:{en:"Gap"},conditionDisplay:'layout?.cols.length > 1 && pageType !== "POST_PURCHASE"',controlChangeTrigger:{settings:[{condition:"activeScreenId !== 'desktop'",action:{controlId:"verticalGutterMobile",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{setting:{id:"verticalGutterMobile"},label:{en:"Gap"},conditionDisplay:'layout?.cols.length === 1 && pageType !== "POST_PURCHASE"',controlChangeTrigger:{settings:[{condition:"activeScreenId !== 'desktop'",action:{controlId:"verticalGutter",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{label:{en:"Column gap"},setting:{id:"columnGap"},conditionDisplay:'pageType == "POST_PURCHASE"',conditionEnable:"!!layout?.cols && layout?.cols.length > 1"}]},{label:{en:"Size"},controls:[{id:"Width",setting:{id:"width"},label:{en:"Width"},layout:"horizontal",conditionDisplay:'pageType !== "POST_PURCHASE"'},{label:{en:"Width"},layout:"horizontal",controlConfig:{id:"width-post-purchase",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,isRowWith:!0,linkWithSetting:{name:"width"},displayOptions:[{label:"Full",value:"100%",showValue:!0}]},conditionDisplay:'pageType === "POST_PURCHASE"'},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"},compoDefaultValue:{desktop:{default:{top:"var(--g-s-2xl)",bottom:"var(--g-s-2xl)"}},tablet:{default:{top:"var(--g-s-2xl)",bottom:"var(--g-s-2xl)",left:"var(--g-s-l)",right:"var(--g-s-l)",linked:!1}}}},conditionDisplay:'pageType !== "POST_PURCHASE"'},{setting:{id:"enablePagePadding"},label:{en:"Page padding"},help:{content:"Page padding controls the <br> space between the browser <br> edge and sections. Adjust it in <br> Global Style > Page Padding."},conditionDisplay:'pageType !== "POST_PURCHASE"'}]},{label:{en:"Background"},conditionDisplay:'pageType != "POST_PURCHASE"',controls:[{setting:{id:"background"},layout:"vertical",options:{updateFields:[{field:"preload",settingId:"preloadBgImage"}]},controlChangeTrigger:{settings:[{action:{controlId:"preloadBgImage",valueFromField:"preload",groupType:"style",controlType:"style",removeDevice:!0}}],options:{noRecordHistory:!0}}}]},{label:{en:"Shape"},conditionDisplay:'pageType != "POST_PURCHASE"',controls:[{label:{en:"Border"},controlConfig:{id:"border-advanced",type:"border-v2",linkWithSetting:{name:"border",field:"normal"},compoDefaultValue:{color:"line-3",border:"solid",width:"1px",borderWidth:"1px"}}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},controlConfig:{id:"boxShadow",type:"shadow-v2"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:{en:"Align"},conditionDisplay:"pageType != \"POST_PURCHASE\" && (layout?.display !== 'fill' || (!!layout?.cols && layout?.cols.length > 1))",controls:[{id:"verticalAlign",label:{en:"Vertical"},setting:{id:"verticalAlign"},conditionDisplay:"!!layout?.cols && layout?.cols.length > 1"},{id:"horizontalAlign",label:{en:"Horizontal"},setting:{id:"horizontalAlign"},conditionDisplay:"layout?.display !== 'fill'",options:{disableMessage:'Horizontal Align is available when layout is "Fit to content"'}}]}];export{SettingUIV2};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getGlobalColorStateClass as e,getValueByDevice as s}from"@gem-sdk/core";import{getClassAlignBanner as o,getResponsiveSetting as l,getClassContentPosition as a,getContentPosition as t,getClassForContentByFitContent as g,getClassForStretchContent as r,
|
|
1
|
+
import{getGlobalColorStateClass as e,getValueByDevice as s}from"@gem-sdk/core";import{getClassAlignBanner as o,getResponsiveSetting as l,getClassContentPosition as a,getContentPosition as t,getClassForContentByFitContent as g,getClassForStretchContent as r,getClassSpaceBetween as p,opacityEnabledData as n,getClassSpaceBetweenLeftRight as i,getOpacityHover as u}from"./helpers.js";function composeClasses(e){return e.split(" ").reduce((e,s)=>(e[s]=!0,e),{})}let getClasses=({setting:e,builderProps:s,advancedCssClass:a})=>{let t="gp-group/hero gp-flex gp-w-full gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out";return a&&(t+=` ${a}`),{...s?.uid&&{[s.uid]:!0},...composeClasses(t),...o(l(e?.alignBanner||{}))}},getLinkClasses=()=>({...composeClasses("gp-cursor-pointer gp-h-full")}),getContainerClasses=(e,s)=>({...composeClasses("gp-relative gp-flex gp-w-full gp-flex-col gp-items-center gp-overflow-hidden hero-banner-container"),...a(t(e?.layout,s?.contentPosition1Col,s?.contentPosition2Col)||{})}),enableTransitionHover=e=>{let{overlayColor:s}=e??{},o=s?.hover||s?.normal;return o&&"transparent"!==o&&"0%"!=u(e)},getOverlayClasses=s=>{let{overlayColor:o,hoverEffect:l}=s??{},{disableOpacity:a}=n(s),t="gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-z-1";return enableTransitionHover(s)&&(t+=" gp-transition-all gp-duration-300"),l&&(t+=" group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]"),e("bg",o,a,!l)&&(t+=` ${e("bg",o,a,!l)}`),composeClasses(t)},getRowClasses=(e,s)=>{let{sizeSetting:o,background:l}=e??{},{verticalAlign:a}=s??{},t=g(o,l),n=r(a),u=p(s?.layout||{},e?.contentPosition1Col||{}),c=i(s?.layout||{}),C=`gp-hero-banner-row ${t} ${n}`;return{...composeClasses(C),...u,...c}},getAdaptiveClasses=()=>composeClasses("adaptive-hero-banner"),getAdaptivePictureClasses=()=>composeClasses("gp-w-full gp-invisible -gp-z-1"),getBackgroundClasses=(e,s)=>{let o="hero-banner-bg gp-hero-banner-image-background hero-banner-bg-parallax";return s&&(o+=" gp_lazybg"),e&&(o+=" gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)] gp-transition-transform"),composeClasses(o)},getContainBackgroundClasses=()=>composeClasses("gp-hero-banner-bg gp-absolute gp-overflow-hidden gp-w-full gp-h-full top-0 left-0"),getHtml5VideoClasses=(e,o=!1)=>{let l="gp-relative",a=s(e,"tablet"),t=s(e,"mobile");return o&&(l+=" gp-hidden"),a&&(l+=" tablet:gp-h-full tablet:gp-object-cover"),t&&(l+=" mobile:gp-h-full mobile:gp-object-cover"),composeClasses(l)},getWrapperYoutubeClasses=()=>composeClasses("gp-pb-[56.25%] gp-h-full gp-w-full !gp-max-w-none gp-pointer-events-none"),getIframeYoutubeClasses=()=>composeClasses("!gp-w-[500%] !gp-ml-[-200%] !gp-h-full !gp-max-w-none gp-scale-[104%]"),getLazyBackgroundClasses=e=>{let s="gp-absolute gp-top-0 gp-invisible gp-w-full gp_lazyload gp-h-full gp_lazyforbg";return"tablet"===e&&(s+=" gp_lazybg_tl"),"mobile"===e&&(s+=" gp_lazybg_mb"),composeClasses(s)};export{enableTransitionHover,getAdaptiveClasses,getAdaptivePictureClasses,getBackgroundClasses,getClasses,getContainBackgroundClasses,getContainerClasses,getHtml5VideoClasses,getIframeYoutubeClasses,getLazyBackgroundClasses,getLinkClasses,getOverlayClasses,getRowClasses,getWrapperYoutubeClasses};
|