@gem-sdk/components 8.0.0-dev.121 → 8.0.0-dev.123
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/builder.js +1 -1
- package/dist/cjs/carousel-v3/components/swiper/Swiper.js +1 -1
- package/dist/cjs/carousel-v3/components/swiper/common/styles.js +1 -1
- package/dist/cjs/cart/components/shop-pay-button/ShopPayButton.liquid.js +1 -1
- package/dist/cjs/collection/components/collection-description/CollectionDescription.liquid.js +2 -3
- package/dist/cjs/collection/components/collection-paginator/CollectionPaginator.liquid.js +5 -4
- package/dist/cjs/collection/components/collection-toolbar/CollectionToolbar.liquid.js +1 -1
- package/dist/cjs/icon-list-v2/components/IconList.liquid.js +6 -6
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +4 -4
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/marquee/components/Marquee.liquid.js +20 -20
- package/dist/cjs/post-purchase/product/components/product-subscription/ProductSubscription.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/common/classes.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-subscription/components/SellingPlanDropdown.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-subscription/components/SellingPlanRadio.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-subscription/hooks/useSellingPlanChange.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/hooks/useSellingSubscription.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-subscription/hooks/useSubscriptionVisibility.js +1 -1
- package/dist/cjs/post-purchase/product/next.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-subscription/configs/settings.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-subscription/configs/ui-v2.js +1 -1
- package/dist/cjs/product/components/file-upload/UploadFile.liquid.js +4 -5
- package/dist/cjs/product/components/product-badge/ProductBadge.liquid.js +8 -8
- package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.liquid.js +5 -4
- package/dist/cjs/product/components/product-description/ProductDescription.liquid.js +5 -6
- package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.liquid.js +8 -8
- package/dist/cjs/product/components/product-list/ProductListCarouselItem.liquid.js +2 -3
- package/dist/cjs/product/components/product-list/ProductListGridItem.liquid.js +1 -2
- package/dist/cjs/product/components/product-list/ProductListGridLayout.liquid.js +7 -5
- package/dist/cjs/product/components/product-list-v3/ProductListCarouselItem.liquid.js +2 -3
- package/dist/cjs/product/components/product-list-v3/ProductListGridItem.liquid.js +1 -2
- package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +7 -5
- package/dist/cjs/product/components/product-sku/Sku.liquid.js +4 -3
- package/dist/cjs/product/components/product-variants/ProductVariants.liquid.js +29 -29
- package/dist/cjs/product/components/product-wrap/Product.liquid.js +4 -4
- package/dist/cjs/sticky/components/Sticky.liquid.js +4 -5
- package/dist/cjs/tab/components/Tabs.liquid.js +5 -4
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +4 -3
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +4 -3
- package/dist/esm/builder.js +1 -1
- package/dist/esm/carousel-v3/components/swiper/Swiper.js +1 -1
- package/dist/esm/carousel-v3/components/swiper/common/styles.js +1 -1
- package/dist/esm/cart/components/shop-pay-button/ShopPayButton.liquid.js +2 -2
- package/dist/esm/collection/components/collection-description/CollectionDescription.liquid.js +4 -5
- package/dist/esm/collection/components/collection-paginator/CollectionPaginator.liquid.js +4 -3
- package/dist/esm/collection/components/collection-toolbar/CollectionToolbar.liquid.js +4 -4
- package/dist/esm/icon-list-v2/components/IconList.liquid.js +14 -14
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/marquee/components/Marquee.liquid.js +21 -21
- package/dist/esm/post-purchase/product/components/product-subscription/ProductSubscription.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/common/classes.js +1 -1
- package/dist/esm/post-purchase/product/components/product-subscription/components/SellingPlanDropdown.js +1 -1
- package/dist/esm/post-purchase/product/components/product-subscription/components/SellingPlanRadio.js +1 -1
- package/dist/esm/post-purchase/product/components/product-subscription/hooks/useSellingPlanChange.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/hooks/useSellingSubscription.js +1 -1
- package/dist/esm/post-purchase/product/components/product-subscription/hooks/useSubscriptionVisibility.js +1 -1
- package/dist/esm/post-purchase/product/next.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-subscription/configs/settings.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-subscription/configs/ui-v2.js +1 -1
- package/dist/esm/product/components/file-upload/UploadFile.liquid.js +3 -4
- package/dist/esm/product/components/product-badge/ProductBadge.liquid.js +4 -4
- package/dist/esm/product/components/product-bundle/ProductBundleDiscount.liquid.js +6 -5
- package/dist/esm/product/components/product-description/ProductDescription.liquid.js +4 -5
- package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.liquid.js +5 -5
- package/dist/esm/product/components/product-list/ProductListCarouselItem.liquid.js +1 -2
- package/dist/esm/product/components/product-list/ProductListGridItem.liquid.js +3 -4
- package/dist/esm/product/components/product-list/ProductListGridLayout.liquid.js +7 -5
- package/dist/esm/product/components/product-list-v3/ProductListCarouselItem.liquid.js +1 -2
- package/dist/esm/product/components/product-list-v3/ProductListGridItem.liquid.js +3 -4
- package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +7 -5
- package/dist/esm/product/components/product-sku/Sku.liquid.js +5 -4
- package/dist/esm/product/components/product-variants/ProductVariants.liquid.js +31 -31
- package/dist/esm/product/components/product-wrap/Product.liquid.js +5 -5
- package/dist/esm/sticky/components/Sticky.liquid.js +9 -10
- package/dist/esm/tab/components/Tabs.liquid.js +14 -13
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +4 -3
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +4 -3
- package/package.json +2 -2
- package/dist/cjs/post-purchase/product/components/product-subscription/components/ProductSubscription.js +0 -1
- package/dist/cjs/post-purchase/product/components/product-subscription/hooks/useDetectBothSubscriptionTypes.js +0 -1
- package/dist/esm/post-purchase/product/components/product-subscription/components/ProductSubscription.js +0 -1
- package/dist/esm/post-purchase/product/components/product-subscription/hooks/useDetectBothSubscriptionTypes.js +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../../text/components/Text.liquid.js"),index_liquid=require("./components/variants/index.liquid.js"),Dropdown_liquid=require("./components/dropdown-swatches/Dropdown.liquid.js"),DropdownGroup_liquid=require("./components/dropdown-group/DropdownGroup.liquid.js"),helpers=require("../../../helpers.js"),mappingVariantStyles=require("./utils/mappingVariantStyles.js"),system=require("@gem-sdk/system"),getAttr=require("./common/main/getAttr.js"),styles=require("./common/main/styles.js"),classes=require("./common/main/classes.js"),getData=require("./common/main/getData.js"),classes$1=require("./common/variants/classes.js"),_function=require("../../helpers/function.js"),styles$1=require("./common/variants/styles.js"),OptionVariantsNewFormat_liquid=require("./OptionVariantsNewFormat.liquid.js"),OptionVariantsOldFormat_liquid=require("./OptionVariantsOldFormat.liquid.js");const DEFAULT_ADVANCED_DISPLAY_SETTING={desktop:!0,tablet:!0,mobile:!0},ProductVariants=e=>{let{builderProps:t,styles:s,setting:i,advanced:a}=e,{align:o,swatchItemWidth:n,dropdownItemWidth:r,swatchSpacing:l,optionTypo:p,marginBottom:d}=s??{},{label:u,optionType:m,showAsSwatches:c,layout:y,hasPreSelected:v}=i??{},g=a?.d??DEFAULT_ADVANCED_DISPLAY_SETTING,{uid:_}=t??{},f="groupOption"===m,q=()=>{let e={};return core.DEVICES.forEach(t=>{let s=core.getResponsiveValueByScreen(n,t);e[t]="auto"===s}),e},$=()=>{let e={};return core.DEVICES.forEach(t=>{e[t]=r?.[t]==="fill"}),e},h=i?.variantPresets?mappingVariantStyles.mappingVariantStyles(i?.variantPresets,s):[],S=h?.map(e=>({...e,presets:{[e.optionType]:e.presets[e.optionType]}})),
|
|
2
|
-
${system.LiquidFor("value in values",index_liquid.default({id:"{{option.name | escape}}-{{value | escape}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:c,uid:_,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:v?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",typeOfOption:i,activeClass:v?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...s,...
|
|
3
|
-
${system.LiquidIf(e?'type == "dropdown"':"false",Dropdown_liquid.default({...s,...
|
|
4
|
-
${system.Liquid(`{%- assign presets = "${
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../../text/components/Text.liquid.js"),index_liquid=require("./components/variants/index.liquid.js"),Dropdown_liquid=require("./components/dropdown-swatches/Dropdown.liquid.js"),DropdownGroup_liquid=require("./components/dropdown-group/DropdownGroup.liquid.js"),helpers=require("../../../helpers.js"),mappingVariantStyles=require("./utils/mappingVariantStyles.js"),system=require("@gem-sdk/system"),getAttr=require("./common/main/getAttr.js"),styles=require("./common/main/styles.js"),classes=require("./common/main/classes.js"),getData=require("./common/main/getData.js"),classes$1=require("./common/variants/classes.js"),_function=require("../../helpers/function.js"),styles$1=require("./common/variants/styles.js"),OptionVariantsNewFormat_liquid=require("./OptionVariantsNewFormat.liquid.js"),OptionVariantsOldFormat_liquid=require("./OptionVariantsOldFormat.liquid.js");const DEFAULT_ADVANCED_DISPLAY_SETTING={desktop:!0,tablet:!0,mobile:!0},ProductVariants=e=>{let{builderProps:t,styles:s,setting:i,advanced:a}=e,{align:o,swatchItemWidth:n,dropdownItemWidth:r,swatchSpacing:l,optionTypo:p,marginBottom:d}=s??{},{label:u,optionType:m,showAsSwatches:c,layout:y,hasPreSelected:v}=i??{},g=a?.d??DEFAULT_ADVANCED_DISPLAY_SETTING,{uid:_}=t??{},f="groupOption"===m,q=()=>{let e={};return core.DEVICES.forEach(t=>{let s=core.getResponsiveValueByScreen(n,t);e[t]="auto"===s}),e},$=()=>{let e={};return core.DEVICES.forEach(t=>{e[t]=r?.[t]==="fill"}),e},h=i?.variantPresets?mappingVariantStyles.mappingVariantStyles(i?.variantPresets,s):[],S=h?.map(e=>({...e,presets:{[e.optionType]:e.presets[e.optionType]}})),j={...i,variantPresets:S},w=e=>{let t={"'":"'",'"':"""},s=e;for(let i in t)e.indexOf(i)>=0&&(s=s.replaceAll(i,t[i]));return s},L=()=>i?.variantPresets?.map(e=>`${w(e.optionName)}($2)${e.optionType}`).join("($1)"),O=()=>i?.variantPresets?.filter(e=>!!e?.hide)?.map(e=>e.optionName).join(","),V=({showDropdown:e,isRenderDefault:t,typeOfOption:i})=>core.template`
|
|
2
|
+
${system.LiquidFor("value in values",index_liquid.default({id:"{{option.name | escape}}-{{value | escape}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:c,uid:_,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:v?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",typeOfOption:i,activeClass:v?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...s,...j,swatchAutoWidth:q(),optionTypo:p,isRenderDefault:t}))}
|
|
3
|
+
${system.LiquidIf(e?'type == "dropdown"':"false",Dropdown_liquid.default({...s,...j,swatchAutoWidth:$(),optionTypo:p}))}`,D=i?.variantPresets?.map(e=>({name:w(e.optionName),type:e.optionType})).map(e=>`${e.name}($1)${e.type}`).join("($2)").toString(),A={renderVariantItem:V,variantPresetsLiquid:D??""},b=system.createClass(classes.getVariantOptionGroupClass(o)),P=system.createStyle(styles.getVariantOptionGroupStyle(l,l)),E=getData.getTextVariantTitleData(e,"Liquid"),x=system.createClass(classes$1.getWrapVariantOptionClass(y,o)),N=()=>core.template`
|
|
4
|
+
${system.Liquid(`{%- assign presets = "${L()}" | split: '($1)' -%}`)}
|
|
5
5
|
${system.Liquid(`{% assign hiddenPresetOptions = "${O()}" | split: ',' %}`)}
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
${system.Liquid(`{% assign all_option_names = options | map: 'name' %}
|
|
8
8
|
{% assign filtered_options_string = '' %}
|
|
9
9
|
{% assign delimiter = '||' %}
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
{% for item_name in all_option_names %}
|
|
12
12
|
{% assign is_excluded = false %}
|
|
13
13
|
{% for exclude_name in hiddenPresetOptions %}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{% assign is_excluded = true %}
|
|
16
16
|
{% endif %}
|
|
17
17
|
{% endfor %}
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
{% unless is_excluded %}
|
|
20
20
|
{% if filtered_options_string == '' %}
|
|
21
21
|
{% assign filtered_options_string = item_name %}
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
{% endif %}
|
|
25
25
|
{% endunless %}
|
|
26
26
|
{% endfor %}
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
{% assign filtered_options_array = filtered_options_string | split: delimiter %}`)}
|
|
29
|
-
|
|
29
|
+
|
|
30
30
|
${system.Liquid("{% assign last_option_name = filtered_options_array | last %}")}
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
${system.LiquidFor("option in options",`
|
|
33
33
|
<div
|
|
34
34
|
option-name="{{option.name | escape}}"
|
|
@@ -71,25 +71,25 @@
|
|
|
71
71
|
`,G=system.createAttr(getAttr.getAttrs({uid:_,hasPreSelected:v,cssClass:a?.cssClass})),k=system.createStyle(styles.getWrapperStyle(e)),W=system.createClass({"gp-flex gp-flex-col !gp-ml-0":!0}),J=()=>{let e=core.isLocalEnv?"{{ 'gp-product-variant-v7-5.js' | asset_url }}":`${core.baseAssetURL}/assets-v2/gp-product-variant-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}`;return`<script ${helpers.getSettingPreloadData('class="gps-link" delay',"src")}="${e}" defer="defer"></script>`};return core.template`
|
|
72
72
|
${system.Liquid("{%- assign total_combinations = 1 -%}")}
|
|
73
73
|
${system.LiquidFor("option in product.options_with_values","{%- assign total_combinations = total_combinations | times: option.values.size -%}")}
|
|
74
|
-
<gp-product-variants
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
74
|
+
<gp-product-variants${G}>
|
|
75
|
+
<script gp-data type="application/json">
|
|
76
|
+
{
|
|
77
|
+
"setting":${JSON.stringify(j)?.replaceAll("'","'")},
|
|
78
|
+
"styles":${JSON.stringify(s)},
|
|
79
|
+
"variants":{{product.variants | json | escape}},
|
|
80
|
+
"optionsWithValues": {{product.options_with_values | json | escape}},
|
|
81
|
+
"variantSelected": {{ variant | json | escape }},
|
|
82
|
+
"variantInventoryQuantity": {{product.variants | map: 'inventory_quantity' | json | escape}},
|
|
83
|
+
"variantInventoryPolicy": {{product.variants | map: 'inventory_policy' | json | escape}},
|
|
84
|
+
"moneyFormat": {{shop.money_format | json | escape}},
|
|
85
|
+
"productId": {{product.id | json | escape}},
|
|
86
|
+
"productUrl": {{product.url | json | escape}},
|
|
87
|
+
"productHandle": {{product.handle | json | escape}},
|
|
88
|
+
"displayState": ${JSON.stringify(g)},
|
|
89
|
+
"totalVariantCombinations": {{total_combinations}},
|
|
90
|
+
"firstAvailableVariant": {{product.selected_or_first_available_variant | json | escape}}
|
|
91
|
+
}
|
|
92
|
+
</script>
|
|
93
93
|
<div class="gp-hidden" style="--hvr-shadow: none; --hvr-shadow-tablet: none; --hvr-shadow-mobile: none"></div>
|
|
94
94
|
${system.Liquid("{%- assign options = product.options_with_values -%}")}
|
|
95
95
|
${system.Liquid("{%- assign variants = product.variants -%}")}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Row_liquid=require("../../../grid/components/row/Row.liquid.js"),system=require("@gem-sdk/system"),helpers$1=require("../../../helpers.js"),helpers=require("./common/helpers.js");const Product=e=>{let{children:t,setting:r,style:i,builderProps:a,rawChildren:o,advanced:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Row_liquid=require("../../../grid/components/row/Row.liquid.js"),system=require("@gem-sdk/system"),helpers$1=require("../../../helpers.js"),helpers=require("./common/helpers.js");const Product=e=>{let{children:t,setting:r,style:i,builderProps:a,rawChildren:o,advanced:s}=e,{isSyncProduct:d,productSetting:n}=r??{},c=n?.hasPreSelected??!1,{rowSetting:l,rowStyles:p,formatVariantId:u,formatProductId:f,productStatus:g,preSelectedOptionIds:m,productHandle:_,advancedStyle:y}=helpers.getData(e),v=()=>core.template`
|
|
2
2
|
{%- liquid
|
|
3
3
|
if request.page_type == 'product'
|
|
4
4
|
if '${g}' == '${helpers.STATIC_PRODUCT_STATUS}'
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
data-uid="${a?.uid}"
|
|
79
79
|
data-id="${a?.uid}"
|
|
80
80
|
style="${y}"
|
|
81
|
-
class="${
|
|
82
|
-
gp-context='{"productId": {{ product.id }}, "preSelectedOptionIds": [${m}], "isSyncProduct": "${
|
|
83
|
-
gp-data='{"variantSelected": {{ variant | json | escape }}, "quantity": 1, "productUrl":{{ product.url | json | escape }}, "productHandle":{{ product.handle | json | escape }}, "collectionUrl": {{ collection.url | json | escape }}, "collectionHandle": {{ collection.handle | json | escape }}}'
|
|
81
|
+
class="${s?.cssClass}"
|
|
82
|
+
gp-context='{"productId": {{ product.id }}, "preSelectedOptionIds": [${m}], "isSyncProduct": "${d}", "hasPreSelected": ${c}, "variantSelected": {{ variant | json | escape }}, "inventory_management": {{ variant.inventory_management | json | escape }}, "inventory_policy": {{ variant.inventory_policy | json | escape }}, "inventoryQuantity": {{ variant.inventory_quantity }}, "quantity": 1, "formId": "{{ product_form_id }}" }'
|
|
84
83
|
>
|
|
84
|
+
<script gp-data type="application/json">{"variantSelected": {{ variant | json | escape }}, "quantity": 1, "productUrl":{{ product.url | json | escape }}, "productHandle":{{ product.handle | json | escape }}, "collectionUrl": {{ collection.url | json | escape }}, "collectionHandle": {{ collection.handle | json | escape }}}</script>
|
|
85
85
|
<product-form class="product-form">
|
|
86
86
|
{%- form 'product', product, id: product_form_id, class: 'form contents', data-type: 'add-to-cart-form', autocomplete: 'off' -%}
|
|
87
87
|
<input type="hidden" name="id" value="{{ variant.id }}" />
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),styles=require("../common/styles.js"),classes=require("../common/classes.js");const Sticky=({children:e,builderAttrs:s,setting:t,style:r,builderProps:a,advanced:i,pageContext:l})=>{let{width:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),styles=require("../common/styles.js"),classes=require("../common/classes.js");const Sticky=({children:e,builderAttrs:s,setting:t,style:r,builderProps:a,advanced:i,pageContext:l})=>{let{width:o,position:c,display:d,preloadBgImage:n,background:p,isScrollToTop:g}=t??{},m=i?.d,y=system.createStyle({...core.makeStyleResponsive("w",o),...styles.getContainerStyles({position:c,style:r,display:d})}),k=system.createStyle(styles.getContentStyles({setting:t,style:r,uid:a?.uid,pageContext:l})),$=system.createClass(classes.getContainerClasses({uid:a?.uid,isScrollToTop:g,cssClass:i?.cssClass,isLiquid:!0})),u=system.createStateOrContext({uid:a?.uid,setting:{display:{desktop:d?.desktop,tablet:d?.tablet??d?.desktop,mobile:d?.mobile??d?.tablet??d?.desktop}},advanced:{d:m}}),f=`.drawer-page-content {
|
|
2
2
|
transform: none !important;
|
|
3
3
|
-webkit-transform: none !important;
|
|
4
4
|
}`;return core.template`
|
|
5
5
|
${core.RenderIf(!!n,`${core.RenderIf(!!p?.desktop?.image?.src,`<link rel="preload" href="${p?.desktop?.image?.src}" as="image" />`)}${core.RenderIf(!!p?.tablet?.image?.src,`<link rel="preload" href="${p?.tablet?.image?.src}" as="image" />`)}${core.RenderIf(!!p?.mobile?.image?.src,`<link rel="preload" href="${p?.mobile?.image?.src}" as="image" />`)}`)}
|
|
6
6
|
<gp-sticky
|
|
7
|
-
data-id="${a?.uid}"
|
|
8
|
-
gp-data='${JSON.stringify(u)}'
|
|
9
7
|
id="${a?.uid}"
|
|
10
8
|
data-id="${a?.uid}"
|
|
11
|
-
class="${
|
|
9
|
+
class="${$} ${helpers.getSettingPreloadData("gps-lazy")}"
|
|
12
10
|
style="${y}"
|
|
13
11
|
>
|
|
12
|
+
<script gp-data type="application/json">${JSON.stringify(u)}</script>
|
|
14
13
|
<style>${f}</style>
|
|
15
|
-
<div ${{...s}} style="${{
|
|
14
|
+
<div ${{...s}} style="${{...k}}">
|
|
16
15
|
${e}
|
|
17
16
|
</div>
|
|
18
17
|
</gp-sticky>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),attrs=require("../common/attrs.js"),Text_liquid=require("../../text/components/Text.liquid.js"),translate=require("../settings/configs/translate.js"),styles=require("../common/styles.js"),classes=require("../common/classes.js");const Tabs=e=>{let{builderProps:s,style:t,setting:a,advanced:l,rawChildren:r}=e;delete a?.labelTypoV2?.attrs?.color;let{cssClass:i}=l??{},{panelWidth:c,childItem:d,labelAlign:y,labelTypo:n,labelTypoV2:o}=a??{},p=system.createStateOrContext({setting:a,builderProps:s}),g=void 0;a&&!a?.labelWidth&&(a.labelWidth={desktop:"200px"});let m=system.createAttr({...attrs.getAttr({uid:s?.uid||""})}),u=system.createStyle({...styles.getStyleWrapper({setting:a,style:t,uid:s?.uid,pageContext:e.pageContext,type:"Liquid"})}),C=system.createClass({...classes.getClassesWrapper({builderProps:s,advancedCssClass:i})}),v=system.createClass({...classes.getContainClasses({setting:a})}),$=classes.getStyleTagClasses({panelWidth:c,builderProps:s}),S=system.createClass({...classes.getTabParentListClasses()}),h=system.createStyle({...styles.getTabParentListStyle(a)}),b=system.createClass({...classes.getTabListClasses({setting:a})}),x=system.createStyle({...styles.getTabListStyle(a)}),T=e=>system.createClass({...classes.getItemClasses({setting:a,isNotLiquid:!1,isActive:e,currentDevice:g})}),q=e=>system.createStyle({...styles.getItemStyle(a,e)}),f=system.createClass({...classes.getWrapperContentClasses()}),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),attrs=require("../common/attrs.js"),Text_liquid=require("../../text/components/Text.liquid.js"),translate=require("../settings/configs/translate.js"),styles=require("../common/styles.js"),classes=require("../common/classes.js");const Tabs=e=>{let{builderProps:s,style:t,setting:a,advanced:l,rawChildren:r}=e;delete a?.labelTypoV2?.attrs?.color;let{cssClass:i}=l??{},{panelWidth:c,childItem:d,labelAlign:y,labelTypo:n,labelTypoV2:o}=a??{},p=system.createStateOrContext({setting:a,builderProps:s}),g=void 0;a&&!a?.labelWidth&&(a.labelWidth={desktop:"200px"});let m=system.createAttr({...attrs.getAttr({uid:s?.uid||""})}),u=system.createStyle({...styles.getStyleWrapper({setting:a,style:t,uid:s?.uid,pageContext:e.pageContext,type:"Liquid"})}),C=system.createClass({...classes.getClassesWrapper({builderProps:s,advancedCssClass:i})}),v=system.createClass({...classes.getContainClasses({setting:a})}),$=classes.getStyleTagClasses({panelWidth:c,builderProps:s}),S=system.createClass({...classes.getTabParentListClasses()}),h=system.createStyle({...styles.getTabParentListStyle(a)}),b=system.createClass({...classes.getTabListClasses({setting:a})}),x=system.createStyle({...styles.getTabListStyle(a)}),T=e=>system.createClass({...classes.getItemClasses({setting:a,isNotLiquid:!1,isActive:e,currentDevice:g})}),q=e=>system.createStyle({...styles.getItemStyle(a,e)}),f=system.createClass({...classes.getWrapperContentClasses()}),j=system.createClass({...classes.getContainContentClasses()}),A=system.createStyle({...styles.getContainContentStyle()}),I=system.createAttr({...attrs.getAttrContent({uid:s?.uid||""})}),L=system.createClass({...classes.getTextClasses()}),P=()=>d?.map(e=>e?.replaceAll("'","'"))?.map((t,l)=>{let r=(a?.activeKey??0)<0||(a?.activeKey??0)>=(a?.childItem??[]).length?0===l:l===a?.activeKey,i=helpers.getDynamicSourceLocales({val:t,uid:s?.uid,settingId:helpers.createSettingId({id:translate.Tabs?.childItem?.id,index:l}),pageContext:e.pageContext,isCapitalize:a?.labelTypoV2?.attrs?.transform==="capitalize"});return core.template`
|
|
2
2
|
<li
|
|
3
3
|
aria-hidden
|
|
4
4
|
class="${T(r)}"
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
${{...m}}
|
|
14
14
|
style="${u}"
|
|
15
15
|
class="${C}"
|
|
16
|
-
|
|
16
|
+
>
|
|
17
|
+
<script gp-data type="application/json">${JSON.stringify(p)?.replaceAll("'","'")}</script>
|
|
17
18
|
<style>${$}</style>
|
|
18
19
|
<div class="${v}">
|
|
19
20
|
<div class="${S}" style="${h}">
|
|
@@ -24,8 +25,8 @@
|
|
|
24
25
|
<div class="${f}">
|
|
25
26
|
<div
|
|
26
27
|
${{...I}}
|
|
27
|
-
class="${
|
|
28
|
-
style="${
|
|
28
|
+
class="${j}"
|
|
29
|
+
style="${A}"
|
|
29
30
|
>
|
|
30
31
|
${k()}
|
|
31
32
|
</div>
|
|
@@ -1,12 +1,13 @@
|
|
|
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,translatedVideoUrl:o}=e,{iframeSrc:p}=helpers$1.getVimeoParams(e),d=!l,
|
|
2
|
-
<gp-lite-vimeo-embed
|
|
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,translatedVideoUrl:o}=e,{iframeSrc:p}=helpers$1.getVimeoParams(e),d=!l,y=e.thumbnail,g=system.createStateOrContext({id:t,thumbnail:m,lazy:l,iframeSrc:p,title:s,autoplay:r,muted:i,style:e?.vimeoStyleIframe||"",translatedVideoUrl:o}),n=system.createStyle({...styles.getIframeVimeoStyle(a)}),u=system.createStyle({...styles.getArticleVimeoStyle(a,"")}),f=system.createClass({...classes.getArticleVimeoClasses(y,a)}),h=system.createClass({...classes.getImageVimeoClasses(d)}),$=system.createClass({...classes.getButtonVimeoClasses(d)}),b=system.createClass({...classes.getIframeVimeoClasses()});return core.template`
|
|
2
|
+
<gp-lite-vimeo-embed>
|
|
3
|
+
<script gp-data type="application/json">${JSON.stringify(g)}</script>
|
|
3
4
|
<article
|
|
4
5
|
aria-hidden
|
|
5
6
|
class="${f}"
|
|
6
7
|
data-title="${s}"
|
|
7
8
|
style="${u}"
|
|
8
9
|
>
|
|
9
|
-
${NextImage_liquid.default({src:
|
|
10
|
+
${NextImage_liquid.default({src:y,alt:c?.altText,title:c?.imageTitle,className:h,isDisableAspectStyle:!0,enableLazyLoadImage:!0,priority:c?.preload,height:c?.height,width:c?.width})}
|
|
10
11
|
${system.If(!d,core.template`
|
|
11
12
|
<button type="button" class="${$}" aria-label="Play">
|
|
12
13
|
<svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),NextImage_liquid=require("../../image/components/NextImage.liquid.js"),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");const LiteYouTubeEmbed=e=>{let{style:s,iframeClass:t,wrapperClass:a,title:l,poster:r,translatedVideoUrl:i}=e,o=`gp-video-${e.uid}`,{posterUrl:c,iframeSrc:u}=helpers$1.getYoutubeParams(e),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),NextImage_liquid=require("../../image/components/NextImage.liquid.js"),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");const LiteYouTubeEmbed=e=>{let{style:s,iframeClass:t,wrapperClass:a,title:l,poster:r,translatedVideoUrl:i}=e,o=`gp-video-${e.uid}`,{posterUrl:c,iframeSrc:u}=helpers$1.getYoutubeParams(e),p=r?.preload,d=system.createStateOrContext({lazy:e.lazy,style:s,title:l,iframeSrc:u,translatedVideoUrl:i}),m=!e.lazy,y=system.createClass({...classes.getButtonYoutubeClasses(m)}),g=system.createClass({...classes.getImageYoutubeClasses()}),n=system.createClass({...classes.getArticleYoutubeClasses(p||!1,a)}),b=system.createClass({...classes.getIframeYoutubeClasses(t)}),f=system.createStyle({...styles.getIframeYoutubeStyle(s)}),$=system.createStyle({...styles.getArticleYoutubeStyle(s,c)}),C=system.createClass({...classes.getYoutubeContentClasses()}),h=()=>{let s=core.template`
|
|
2
2
|
<iframe
|
|
3
3
|
id="player-wrapper-${e.uid}"
|
|
4
4
|
class="${b}"
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
`;return e.isHeroBanner?core.template`
|
|
13
13
|
<div class="${C}">${s}</div>
|
|
14
14
|
`:s};return core.template`
|
|
15
|
-
<gp-lite-youtube-embed
|
|
15
|
+
<gp-lite-youtube-embed>
|
|
16
|
+
<script gp-data type="application/json">${JSON.stringify(d)}</script>
|
|
16
17
|
<article
|
|
17
18
|
aria-hidden
|
|
18
19
|
class="${n}"
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
<path d="M 45,24 27,14 27,34" fill="#fff"></path>
|
|
30
31
|
</svg>
|
|
31
32
|
</button>
|
|
32
|
-
${system.If(
|
|
33
|
+
${system.If(m,h())}
|
|
33
34
|
</article>
|
|
34
35
|
</gp-lite-youtube-embed>
|
|
35
36
|
${core.RenderIf(core.isLocalEnv,`<script ${helpers.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-lite-youtube-embed-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${helpers.getSettingPreloadData('class="gps-link" delay',"src")}="${core.baseAssetURL}/assets-v2/gp-lite-youtube-embed-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
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 s from"./third-party/components/AppstleBundlesDiscounts.js";import p 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 u from"./third-party/components/ProductReviews.js";import f 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 C from"./third-party/components/ParcelPanel.js";import b from"./third-party/components/TrustMe.js";import S 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 L from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import x from"./third-party/components/LaiProductReviews.js";import D from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O 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 K from"./third-party/components/CleanSizeCharts.js";import q from"./third-party/components/Bogos.js";import G 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 os from"./third-party/components/SubifySubscriptionsApp.js";import op 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 ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of 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 oC from"./third-party/components/MaxbundleProductBundles.js";import ob from"./third-party/components/PreorderNowWodPresale.js";import oS 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 oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import ox from"./third-party/components/SproutPlantTreesGrowSales.js";import oD from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO 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 oK from"./third-party/components/BestBuyFulfillment.js";import oq from"./third-party/components/AftershipEmailMarketingsms.js";import oG 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 o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 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"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./article/components/ArticleList.js";import tn from"./article/components/ArticleTitle.js";import te from"./article/components/ArticleExcerpt.js";import ti from"./article/components/ArticleContent.js";import tc from"./article/components/ArticleImage.js";import ta from"./article/components/ArticlePagination.js";import td from"./article/components/ArticleAuthor.js";import tu from"./article/components/ArticleTag.js";import tf from"./article/components/ArticleCategory.js";import tj from"./article/components/ArticleDate.js";import tl from"./article/components/ArticleReadMore.js";import th from"./hero-banner/components/HeroBanner.js";import ty from"./breadcrumb/components/Breadcrumb.js";import tP from"./button/components/Button.js";import tg from"./carousel-v3/components/root/Carousel.js";import tB from"./carousel-v3/components/item/CarouselItem.js";import tC from"./carousel/components/root/Carousel.js";import tb from"./carousel/components/item/CarouselItem.js";import tS from"./cart/components/Cart.js";import tw from"./cart/components/CartList.js";import tv from"./cart/components/CartLinePrice.js";import tk from"./cart/components/CartLineVariant.js";import tI from"./cart/components/CartLineImage.js";import tT from"./cart/components/CartTotalPrice.js";import tA from"./cart/components/CartTotalItem.js";import tL from"./cart/components/CartCheckout.js";import tR from"./cart/components/DiscountInput.js";import tx from"./cart/components/CartDiscount.js";import tD from"./cart/components/CartOrderNote.js";import tV from"./cart/components/CartLineAttribute.js";import tF from"./cart/components/CouponList.js";import tO from"./cart/components/shop-pay-button/ShopPayButton.js";import tM from"./cart/components/CheckoutNow.js";import tE from"./code/components/CSSCode.js";import tH from"./collection/components/collection-title/CollectionTitle.js";import tU from"./collection/components/collection-banner/CollectionBanner.js";import tz from"./collection/components/collection-description/CollectionDescription.js";import tK from"./collection/components/collection-toolbar/CollectionToolbar.js";import tq from"./collection/components/collection-paginator/CollectionPaginator.js";import tG from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tQ from"./coupon/components/Coupon.js";import tN from"./dialog/components/Dialog.js";import tW from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tY from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tJ from"./grid/components/root/Root.js";import tX from"./grid/components/section/Section.js";import tZ from"./grid/components/row/Row.js";import t$ from"./grid/components/col/Col.js";import t_ from"./form/components/newsletter/Newsletter.js";import t3 from"./form/components/contact/Contact.js";import t2 from"./form/components/form-email/FormEmail.js";import t0 from"./form/components/submit-button/SubmitButton.js";import t1 from"./form/components/form-dropdown/FormDropdown.js";import t4 from"./form/components/textfield/TextField.js";import t5 from"./form/components/textarea/TextArea.js";import t6 from"./form/components/form-checkbox/FormCheckbox.js";import t7 from"./form/components/textinput/TextInput.js";import t8 from"./header/components/Header.js";import t9 from"./header/components/kind/basic/index.js";import ro from"./header/components/kind/modern/index.js";import rt from"./header/components/kind/basic/MobileMenu.js";import rr from"./header/components/kind/basic/DesktopMenu.js";import rm from"./heading/components/Heading.js";import rs from"./icon/components/Icon.js";import rp from"./icon-list/components/IconList.js";import rn from"./icon-list/components/IconListItem.js";import re from"./icon-list-hoz/components/IconListHoz.js";import ri from"./icon-list-hoz/components/IconListHozItem.js";import rc from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import ra from"./image/components/Image.js";import rd from"./image-comparison/components/ImageComparison.js";import ru from"./image-detection/components/ImageDetection.js";import rf from"./input/components/Input.js";import rj from"./line/components/Line.js";import rl from"./marquee/components/Marquee.js";import rh from"./marquee/components/MarqueeItem.js";import ry from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rP from"./modal/components/Modal.js";import rg from"./pagination/components/Pagination.js";import rB from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rC from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rb from"./post-purchase/button/components/Button.js";import rS from"./post-purchase/callout-banner/components/CalloutBox.js";import rw from"./post-purchase/callout-banner/components/CalloutText.js";import rv from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rk from"./post-purchase/image/components/Image.js";import rI from"./post-purchase/line/components/PostPurchaseLine.js";import rT from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rA}from"./post-purchase/text/index.js";import rL from"./post-purchase/product/components/ProductTitle.js";import rR from"./post-purchase/product/components/ProductDescription.js";import rx from"./post-purchase/product/components/ProductPrice.js";import rD from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rV from"./post-purchase/product/components/AcceptButton.js";import rF from"./post-purchase/product/components/ProductQuantity.js";import rO from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rM from"./post-purchase/product/components/ProductPriceBreakdown.js";import rE from"./post-purchase/product/components/ProductDiscountTag.js";import rH from"./post-purchase/product/components/product-subscription/components/ProductSubscription.js";import rU from"./post-purchase/product/components/product-image/index.js";import rz from"./post-purchase/buyer-consent/components/BuyerConsent.js";import rK from"./product/components/product-wrap/Product.js";import rq from"./product/components/product-title/ProductTitle.js";import rG from"./product/components/product-quantity/ProductQuantity.js";import rQ from"./product/components/product-description/ProductDescription.js";import rN from"./product/components/product-price/ProductPrice.js";import rW from"./product/components/product-button/ProductButton.js";import rY from"./product/components/product-variants/ProductVariants.js";import rJ from"./product/components/ProductImages.js";import rX from"./product/components/product-images-v3/ProductImageV3.js";import rZ from"./product/components/product-images-v2/ProductImageV2.js";import r$ from"./product/components/product-properties/ProductProperties.js";import r_ from"./product/components/product-quick-view/QuickView.js";import r3 from"./product/components/product-discount-tag/ProductDiscountTag.js";import r2 from"./product/components/product-list-v3/ProductList.js";import r0 from"./product/components/product-list/ProductList.js";import r1 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r4 from"./product/components/product-bundle/ProductBundleDiscount.js";import r5 from"./product/components/product-vendor/Vendor.js";import r6 from"./product/components/product-sku/Sku.js";import r7 from"./product/components/product-view-more/ProductViewMore.js";import r8 from"./product/components/product-badge/ProductBadge.js";import r9 from"./product/components/file-upload/UploadFile.js";import mo from"./product/components/product-bundle/ProductBundleDiscountItem.js";import mt from"./radio/components/Radio.js";import mr from"./select/components/Select.js";import"./select/settings/configs/settings.js";import mm from"./tab/components/Tabs.js";import ms from"./tab/components/TabItem.js";import mp from"./text/components/Text.js";import mn from"./textarea/components/Textarea.js";import me from"./video/components/Video.js";import mi from"./third-party-slot/components/ThirdPartySlot.js";import mc from"./shop-pay-installment/components/ShopPayInstallments.js";import ma from"./third-party-instant/components/InstantJudgemeReviews.js";import md from"./third-party-instant/components/InstantLooxReviews.js";import mu from"./third-party-instant/components/InstantKlaviyo.js";import mf from"./third-party-instant/components/InstantYotpoLoyalty.js";import mj from"./stock-counter/components/StockCounter.js";import ml from"./sticky/components/Sticky.js";import mh from"./post-purchase/text/components/Text.js";var builder={KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:tp,ArticleTitle:tn,ArticleExcerpt:te,ArticleContent:ti,ArticleImage:tc,ArticlePagination:ta,ArticleAuthor:td,ArticleTag:tu,ArticleCategory:tf,ArticleDate:tj,ArticleReadMore:tl,HeroBanner:th,Breadcrumb:ty,Button:tP,CarouselV3:tg,CarouselItemV3:tB,Carousel:tC,CarouselItem:tb,Cart:tS,CartList:tw,CartLinePrice:tv,CartLineVariant:tk,CartLineImage:tI,CartTotalPrice:tT,CartTotalItem:tA,CartCheckout:tL,DiscountInput:tR,CartDiscount:tx,CartOrderNote:tD,CartLineAttribute:tV,CouponList:tF,ShopPayButton:tO,CheckoutNow:tM,CSSCode:tE,CollectionTitle:tH,CollectionDescription:tz,CollectionBanner:tU,CollectionToolbar:tK,CollectionPaginator:tq,Countdown:tG,Coupon:tQ,Dialog:tN,EstimateDate:tW,Newsletter:t_,ContactForm:t3,FormEmail:t2,SubmitButton:t0,TextField:t4,TextInput:t7,FormTextarea:t5,FormDropdown:t1,FormCheckbox:t6,Root:tJ,Section:tX,Row:tZ,Col:t$,Header:t8,BasicHeader:t9,ModernHeader:ro,MobileMenu:rt,DesktopMenu:rr,Heading:rm,Icon:rs,IconList:rp,IconListItem:rn,IconListHoz:re,IconListItemHoz:ri,IconListV2:rc,Image:ra,ImageComparison:rd,ImageDetection:ru,Input:rf,Line:rj,Link:tY,Marquee:rl,MarqueeItem:rh,Menu:ry,Modal:rP,Pagination:rg,PostPurchaseAdvancedList:rB,PostPurchaseAdvancedListItem:rC,PostPurchaseAcceptButton:rV,PostPurchaseButton:rb,PostPurchaseCalloutBox:rS,PostPurchaseCalloutText:rw,PostPurchaseCountdownTimer:rv,PostPurchaseImage:rk,PostPurchaseLine:rI,PostPurchaseLink:rT,PostPurchaseHeading:rA,PostPurchaseText:mh,PostPurchaseProductTitle:rL,PostPurchaseProductDescription:rR,PostPurchaseProductPrice:rx,PostPurchaseProductVariants:rD,PostPurchaseProductQuantity:rF,PostPurchaseProductPriceBreakdown:rM,PostPurchaseProductOffer:rO,PostPurchaseProductDiscountTag:rE,PostPurchaseProductImages:rU,PostPurchaseProductSubscription:rH,PostPurchaseBuyerConsent:rz,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oG,AftershipEmailMarketingsms:oq,BestBuyFulfillment:oK,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:oD,SproutPlantTreesGrowSales:ox,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ok,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oS,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:ob,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oC,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rK,ProductTitle:rq,ProductQuantity:rG,ProductPrice:rN,ProductSku:r6,FileUpload:r9,ProductBundleDiscount:r4,ProductBundleDiscountItem:mo,ProductButton:rW,ProductDescription:rQ,ProductVariants:rY,ProductImages:rJ,ProductImagesV3:rX,ProductImagesV2:rZ,ProductProperties:r$,ProductQuickView:r_,ProductTag:r3,ProductListV3:r2,ProductList:r0,Radio:mt,Select:mr,Tabs:mm,TabItem:ms,Text:mp,Textarea:mn,Video:me,PushOwl:G,ThirdPartySlot:mi,ShopPayInstallments:mc,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:C,TrustMe:b,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:D,KachingBundles:V,Bogos:q,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:S,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:k,PickyStory:I,InfiniteOptions:T,Wiser:A,Stamped:L,Bundler:R,LaiProductReviews:x,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:K,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:ma,InstantLooxReviews:md,InstantKlaviyo:mu,InstantYotpoLoyalty:mf,Releasit:N,BirdChime:X,StockCounter:mj,DynamicCheckout:r1,Sticky:ml,ProductVendor:r5,KingProductOptions:W,ProductViewMore:r7,ProductBadge:r8,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,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 s from"./third-party/components/AppstleBundlesDiscounts.js";import p 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 u from"./third-party/components/ProductReviews.js";import f 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 C from"./third-party/components/ParcelPanel.js";import b from"./third-party/components/TrustMe.js";import S 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 L from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import x from"./third-party/components/LaiProductReviews.js";import D from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O 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 K from"./third-party/components/CleanSizeCharts.js";import q from"./third-party/components/Bogos.js";import G 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 os from"./third-party/components/SubifySubscriptionsApp.js";import op 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 ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of 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 oC from"./third-party/components/MaxbundleProductBundles.js";import ob from"./third-party/components/PreorderNowWodPresale.js";import oS 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 oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import ox from"./third-party/components/SproutPlantTreesGrowSales.js";import oD from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO 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 oK from"./third-party/components/BestBuyFulfillment.js";import oq from"./third-party/components/AftershipEmailMarketingsms.js";import oG 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 o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 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"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./article/components/ArticleList.js";import tn from"./article/components/ArticleTitle.js";import te from"./article/components/ArticleExcerpt.js";import ti from"./article/components/ArticleContent.js";import tc from"./article/components/ArticleImage.js";import ta from"./article/components/ArticlePagination.js";import td from"./article/components/ArticleAuthor.js";import tu from"./article/components/ArticleTag.js";import tf from"./article/components/ArticleCategory.js";import tj from"./article/components/ArticleDate.js";import tl from"./article/components/ArticleReadMore.js";import th from"./hero-banner/components/HeroBanner.js";import ty from"./breadcrumb/components/Breadcrumb.js";import tP from"./button/components/Button.js";import tg from"./carousel-v3/components/root/Carousel.js";import tB from"./carousel-v3/components/item/CarouselItem.js";import tC from"./carousel/components/root/Carousel.js";import tb from"./carousel/components/item/CarouselItem.js";import tS from"./cart/components/Cart.js";import tw from"./cart/components/CartList.js";import tv from"./cart/components/CartLinePrice.js";import tk from"./cart/components/CartLineVariant.js";import tI from"./cart/components/CartLineImage.js";import tT from"./cart/components/CartTotalPrice.js";import tA from"./cart/components/CartTotalItem.js";import tL from"./cart/components/CartCheckout.js";import tR from"./cart/components/DiscountInput.js";import tx from"./cart/components/CartDiscount.js";import tD from"./cart/components/CartOrderNote.js";import tV from"./cart/components/CartLineAttribute.js";import tF from"./cart/components/CouponList.js";import tO from"./cart/components/shop-pay-button/ShopPayButton.js";import tM from"./cart/components/CheckoutNow.js";import tE from"./code/components/CSSCode.js";import tH from"./collection/components/collection-title/CollectionTitle.js";import tU from"./collection/components/collection-banner/CollectionBanner.js";import tz from"./collection/components/collection-description/CollectionDescription.js";import tK from"./collection/components/collection-toolbar/CollectionToolbar.js";import tq from"./collection/components/collection-paginator/CollectionPaginator.js";import tG from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tQ from"./coupon/components/Coupon.js";import tN from"./dialog/components/Dialog.js";import tW from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tY from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tJ from"./grid/components/root/Root.js";import tX from"./grid/components/section/Section.js";import tZ from"./grid/components/row/Row.js";import t$ from"./grid/components/col/Col.js";import t_ from"./form/components/newsletter/Newsletter.js";import t3 from"./form/components/contact/Contact.js";import t2 from"./form/components/form-email/FormEmail.js";import t0 from"./form/components/submit-button/SubmitButton.js";import t1 from"./form/components/form-dropdown/FormDropdown.js";import t4 from"./form/components/textfield/TextField.js";import t5 from"./form/components/textarea/TextArea.js";import t6 from"./form/components/form-checkbox/FormCheckbox.js";import t7 from"./form/components/textinput/TextInput.js";import t8 from"./header/components/Header.js";import t9 from"./header/components/kind/basic/index.js";import ro from"./header/components/kind/modern/index.js";import rt from"./header/components/kind/basic/MobileMenu.js";import rr from"./header/components/kind/basic/DesktopMenu.js";import rm from"./heading/components/Heading.js";import rs from"./icon/components/Icon.js";import rp from"./icon-list/components/IconList.js";import rn from"./icon-list/components/IconListItem.js";import re from"./icon-list-hoz/components/IconListHoz.js";import ri from"./icon-list-hoz/components/IconListHozItem.js";import rc from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import ra from"./image/components/Image.js";import rd from"./image-comparison/components/ImageComparison.js";import ru from"./image-detection/components/ImageDetection.js";import rf from"./input/components/Input.js";import rj from"./line/components/Line.js";import rl from"./marquee/components/Marquee.js";import rh from"./marquee/components/MarqueeItem.js";import ry from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rP from"./modal/components/Modal.js";import rg from"./pagination/components/Pagination.js";import rB from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rC from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rb from"./post-purchase/button/components/Button.js";import rS from"./post-purchase/callout-banner/components/CalloutBox.js";import rw from"./post-purchase/callout-banner/components/CalloutText.js";import rv from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rk from"./post-purchase/image/components/Image.js";import rI from"./post-purchase/line/components/PostPurchaseLine.js";import rT from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rA}from"./post-purchase/text/index.js";import rL from"./post-purchase/product/components/ProductTitle.js";import rR from"./post-purchase/product/components/ProductDescription.js";import rx from"./post-purchase/product/components/ProductPrice.js";import rD from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rV from"./post-purchase/product/components/AcceptButton.js";import rF from"./post-purchase/product/components/ProductQuantity.js";import rO from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rM from"./post-purchase/product/components/ProductPriceBreakdown.js";import rE from"./post-purchase/product/components/ProductDiscountTag.js";import rH from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import rU from"./post-purchase/product/components/product-image/index.js";import rz from"./post-purchase/buyer-consent/components/BuyerConsent.js";import rK from"./product/components/product-wrap/Product.js";import rq from"./product/components/product-title/ProductTitle.js";import rG from"./product/components/product-quantity/ProductQuantity.js";import rQ from"./product/components/product-description/ProductDescription.js";import rN from"./product/components/product-price/ProductPrice.js";import rW from"./product/components/product-button/ProductButton.js";import rY from"./product/components/product-variants/ProductVariants.js";import rJ from"./product/components/ProductImages.js";import rX from"./product/components/product-images-v3/ProductImageV3.js";import rZ from"./product/components/product-images-v2/ProductImageV2.js";import r$ from"./product/components/product-properties/ProductProperties.js";import r_ from"./product/components/product-quick-view/QuickView.js";import r3 from"./product/components/product-discount-tag/ProductDiscountTag.js";import r2 from"./product/components/product-list-v3/ProductList.js";import r0 from"./product/components/product-list/ProductList.js";import r1 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r4 from"./product/components/product-bundle/ProductBundleDiscount.js";import r5 from"./product/components/product-vendor/Vendor.js";import r6 from"./product/components/product-sku/Sku.js";import r7 from"./product/components/product-view-more/ProductViewMore.js";import r8 from"./product/components/product-badge/ProductBadge.js";import r9 from"./product/components/file-upload/UploadFile.js";import mo from"./product/components/product-bundle/ProductBundleDiscountItem.js";import mt from"./radio/components/Radio.js";import mr from"./select/components/Select.js";import"./select/settings/configs/settings.js";import mm from"./tab/components/Tabs.js";import ms from"./tab/components/TabItem.js";import mp from"./text/components/Text.js";import mn from"./textarea/components/Textarea.js";import me from"./video/components/Video.js";import mi from"./third-party-slot/components/ThirdPartySlot.js";import mc from"./shop-pay-installment/components/ShopPayInstallments.js";import ma from"./third-party-instant/components/InstantJudgemeReviews.js";import md from"./third-party-instant/components/InstantLooxReviews.js";import mu from"./third-party-instant/components/InstantKlaviyo.js";import mf from"./third-party-instant/components/InstantYotpoLoyalty.js";import mj from"./stock-counter/components/StockCounter.js";import ml from"./sticky/components/Sticky.js";import mh from"./post-purchase/text/components/Text.js";var builder={KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:tp,ArticleTitle:tn,ArticleExcerpt:te,ArticleContent:ti,ArticleImage:tc,ArticlePagination:ta,ArticleAuthor:td,ArticleTag:tu,ArticleCategory:tf,ArticleDate:tj,ArticleReadMore:tl,HeroBanner:th,Breadcrumb:ty,Button:tP,CarouselV3:tg,CarouselItemV3:tB,Carousel:tC,CarouselItem:tb,Cart:tS,CartList:tw,CartLinePrice:tv,CartLineVariant:tk,CartLineImage:tI,CartTotalPrice:tT,CartTotalItem:tA,CartCheckout:tL,DiscountInput:tR,CartDiscount:tx,CartOrderNote:tD,CartLineAttribute:tV,CouponList:tF,ShopPayButton:tO,CheckoutNow:tM,CSSCode:tE,CollectionTitle:tH,CollectionDescription:tz,CollectionBanner:tU,CollectionToolbar:tK,CollectionPaginator:tq,Countdown:tG,Coupon:tQ,Dialog:tN,EstimateDate:tW,Newsletter:t_,ContactForm:t3,FormEmail:t2,SubmitButton:t0,TextField:t4,TextInput:t7,FormTextarea:t5,FormDropdown:t1,FormCheckbox:t6,Root:tJ,Section:tX,Row:tZ,Col:t$,Header:t8,BasicHeader:t9,ModernHeader:ro,MobileMenu:rt,DesktopMenu:rr,Heading:rm,Icon:rs,IconList:rp,IconListItem:rn,IconListHoz:re,IconListItemHoz:ri,IconListV2:rc,Image:ra,ImageComparison:rd,ImageDetection:ru,Input:rf,Line:rj,Link:tY,Marquee:rl,MarqueeItem:rh,Menu:ry,Modal:rP,Pagination:rg,PostPurchaseAdvancedList:rB,PostPurchaseAdvancedListItem:rC,PostPurchaseAcceptButton:rV,PostPurchaseButton:rb,PostPurchaseCalloutBox:rS,PostPurchaseCalloutText:rw,PostPurchaseCountdownTimer:rv,PostPurchaseImage:rk,PostPurchaseLine:rI,PostPurchaseLink:rT,PostPurchaseHeading:rA,PostPurchaseText:mh,PostPurchaseProductTitle:rL,PostPurchaseProductDescription:rR,PostPurchaseProductPrice:rx,PostPurchaseProductVariants:rD,PostPurchaseProductQuantity:rF,PostPurchaseProductPriceBreakdown:rM,PostPurchaseProductOffer:rO,PostPurchaseProductDiscountTag:rE,PostPurchaseProductImages:rU,PostPurchaseProductSubscription:rH,PostPurchaseBuyerConsent:rz,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oG,AftershipEmailMarketingsms:oq,BestBuyFulfillment:oK,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:oD,SproutPlantTreesGrowSales:ox,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ok,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oS,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:ob,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oC,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rK,ProductTitle:rq,ProductQuantity:rG,ProductPrice:rN,ProductSku:r6,FileUpload:r9,ProductBundleDiscount:r4,ProductBundleDiscountItem:mo,ProductButton:rW,ProductDescription:rQ,ProductVariants:rY,ProductImages:rJ,ProductImagesV3:rX,ProductImagesV2:rZ,ProductProperties:r$,ProductQuickView:r_,ProductTag:r3,ProductListV3:r2,ProductList:r0,Radio:mt,Select:mr,Tabs:mm,TabItem:ms,Text:mp,Textarea:mn,Video:me,PushOwl:G,ThirdPartySlot:mi,ShopPayInstallments:mc,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:C,TrustMe:b,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:D,KachingBundles:V,Bogos:q,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:S,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:k,PickyStory:I,InfiniteOptions:T,Wiser:A,Stamped:L,Bundler:R,LaiProductReviews:x,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:K,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:ma,InstantLooxReviews:md,InstantKlaviyo:mu,InstantYotpoLoyalty:mf,Releasit:N,BirdChime:X,StockCounter:mj,DynamicCheckout:r1,Sticky:ml,ProductVendor:r5,KingProductOptions:W,ProductViewMore:r7,ProductBadge:r8,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{builder as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{useRef as r,useState as t,useMemo as i,useEffect as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useRef as r,useState as t,useMemo as i,useEffect as s}from"react";import{useRenderMode as n}from"@gem-sdk/core";import{getStyleSwiperContainer as p}from"./common/styles.js";function Swiper(o){let c=r(null),{children:u,totalSlides:l,onSwiperReset:a,onSwiperReady:w,sliderClass:m,sliderOrder:d,thumbsSwiper:f,...y}=o,[b,g]=t(!1),{isEditMode:j}=n(),h=i(()=>f?{"thumbs-swiper":f}:{},[f]),E=i(()=>p({isEditMode:j,loaded:b}),[j,b]),O="object"==typeof o.autoplay&&null!==o.autoplay?o.autoplay.pauseOnMouseEnter:void 0,v=()=>{c.current?.swiper&&c.current.swiper.wrapperEl.style.setProperty("width",`${c.current.swiper.width}px`)};return s(()=>{let e=async()=>{let e=await import("@gem-sdk/swiper/element/bundle");e.register(),await window.customElements.whenDefined("swiper-container"),g(!0)};e()},[]),s(()=>{b&&(Object.assign(c.current,y),c.current.initialize(),w?.(c.current.swiper),v())},[b]),s(()=>{c.current?.swiper&&(c.current.swiper.destroy(!1,!1),Object.assign(c.current,y),c.current.initialize(),w(c.current.swiper),a())},[y.dir,y.loop,O,y.slidesPerView,w,a,y.spaceBetween,y.slidesOffsetBefore]),s(()=>{let e=c.current;e&&(Object.assign(e,y),e.swiper?.update(),v())},[y]),s(()=>{a()},[d,a]),s(()=>{let e=c.current;if(!e)return;let r=()=>{v()};return e.addEventListener("swiperresize",r),()=>{e.removeEventListener("swiperresize",r)}},[]),e("swiper-container",{init:!1,ref:c,class:m,style:E,...h,children:u})}export{Swiper};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createStyle as e}from"@gem-sdk/system";let getStyleSwiperSlider=e=>{let{dir:t,style:r}=e;return{"--h":"auto",...r,..."rtl"===t?{marginLeft:0}:{marginRight:0}}},getStyleSwiperContainer=()=>e({overflow:"hidden",width:"100%"});export{getStyleSwiperContainer,getStyleSwiperSlider};
|
|
1
|
+
import{createStyle as e}from"@gem-sdk/system";let getStyleSwiperSlider=e=>{let{dir:t,style:r}=e;return{"--h":"auto",...r,..."rtl"===t?{marginLeft:0}:{marginRight:0}}},getStyleSwiperContainer=({isEditMode:t,loaded:r})=>e({overflow:"hidden",width:"100%",display:!t||r?"block":"none"});export{getStyleSwiperContainer,getStyleSwiperSlider};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{template as s,isLocalEnv as o,baseAssetURL as t}from"@gem-sdk/core";import{createStyle as e,createClass as
|
|
1
|
+
import{template as s,isLocalEnv as o,baseAssetURL as t}from"@gem-sdk/core";import{createStyle as e,createClass as i,createAttr as r,createStateOrContext as p,If as c}from"@gem-sdk/system";import{getSettingPreloadData as m}from"../../../helpers.js";import{getButtonClasses as l,getButtonWrapperClasses as a}from"./common/classes.js";import{getSPButton as u}from"./common/helpers.js";import{getButtonWrapperStyles as n}from"./common/styles.js";import h from"./icons/DynamicCheckoutBlack.liquid.js";import y from"./icons/DynamicCheckoutPurple.liquid.js";import k from"./icons/DynamicCheckoutWhite.liquid.js";import d from"./icons/ExpressCheckoutBlack.liquid.js";import f from"./icons/ExpressCheckoutPurple.liquid.js";import j from"./icons/ExpressCheckoutWhite.liquid.js";let ShopPayButton=({style:C,styles:g,setting:$,className:E,builderAttrs:b})=>{let S=u({styles:g,buttons:{DynamicCheckoutBlack:h({}),DynamicCheckoutPurple:y({}),DynamicCheckoutWhite:k({}),ExpressCheckoutBlack:d({}),ExpressCheckoutPurple:f({}),ExpressCheckoutWhite:j({})}}),P=e({...n(C,g)}),x=i({...l()}),B=i({...a(E)}),q=r({disabled:!1,"aria-label":"Buy with Shop Pay"}),D=p({setting:JSON.stringify($),shop_url:"{{shop.url}}"});return s`
|
|
2
2
|
<gp-shop-pay-button
|
|
3
3
|
${{...b}}
|
|
4
4
|
style="${P}"
|
|
5
5
|
class="${B}"
|
|
6
|
-
gp-data='${D}'
|
|
7
6
|
>
|
|
7
|
+
<script gp-data type="application/json">${D}</script>
|
|
8
8
|
<button
|
|
9
9
|
${{...q}}
|
|
10
10
|
class="${x}"
|
package/dist/esm/collection/components/collection-description/CollectionDescription.liquid.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
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
|
|
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 p,getStaticCss as c}from"./common/styles.js";import{createClass as r,createStyle as a,createAttr as m,createStateOrContext as $,If as d,Liquid as g,LiquidUnless as v,LiquidIf as f}from"@gem-sdk/system";import{getClassContainerCollectionDes as y,getClassButtonViewMore as u,getDescriptionClasses as w,getShowMoreIconClasses as C,getShowMoreTextClasses as b,getClassPreBuilt as j}from"./common/classes.js";import{getViewLessText as S,getViewMoreText as h,ICON_SVG as x}from"./common/helpers.js";let CollectionDescription=({setting:M,advanced:k,builderProps:E,pageContext:I})=>{let L=r(y({setting:M})),P=r(u({setting:M})),V=r(w({advanced:k})),A=r(C()),T=r(b()),q=r(j()),D=a({...n({setting:M}),...e("line-clamp",i(M?.lineClamp,M?.hasLineClamp))}),G=a({...p(M)}),N=S({setting:M,builderProps:E,pageContext:I,type:"liquid"}),O=h({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}=c(),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(B).replaceAll("'","'")}'
|
|
6
5
|
>
|
|
7
|
-
<
|
|
8
|
-
<style>${R}</style>
|
|
6
|
+
<script gp-data type="application/json">${JSON.stringify(B).replaceAll("'","'")}</script>
|
|
7
|
+
<style>${z}${R}</style>
|
|
9
8
|
<div class="${q}" ></div>
|
|
10
9
|
${v("collection","<p>Collection not found</p>",s`<div ${J} class="${L}" style="${D}">
|
|
11
10
|
{{collection.description}}
|
|
12
11
|
</div>
|
|
13
|
-
${
|
|
12
|
+
${f("collection.description != blank",s`<button type="button" class="${P}" style="${G}">
|
|
14
13
|
<span class="${T}">
|
|
15
14
|
${d(I?.isPreviewing,O?.toString()||"",`{{${O}}}`)}
|
|
16
15
|
</span>
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import{composeTypographyStyle as o,getGlobalColorClass as
|
|
2
|
-
<gp-collection-paginator
|
|
1
|
+
import{composeTypographyStyle as o,getGlobalColorClass as t,getGlobalColorCSSProp as s,makeStyleResponsive as e,template as l,RenderIf as i,isLocalEnv as r,baseAssetURL as a}from"@gem-sdk/core";import{getSettingPreloadData as c}from"../../../helpers.js";import{renderPaginatorItem as p}from"./common/helpers.js";import{customClass as m,getPaginatorWrapperClass as n,getPaginatorClass as d}from"./common/classes.js";import{createStyle as g,createClass as f,createStateOrContext as v}from"@gem-sdk/system";let CollectionPaginator=({setting:y,builderProps:S,pageContext:$})=>{let{typographyPaginator:u,activeColor:C,align:j,typo:k,normalColor:E}=y??{},h=g({...o(k,u)}),x=g({normalColorClass:t("text",E),activeColorClass:t("text",C),normalColorStyle:s(E)??"",activeColorStyle:s(C)??""}),A=f({...m("",void 0,y)}),P={...x,customStyle:h,addedClass:A},G=p({setting:y,builderProps:S,pageContext:$},"liquid"),N=f({...n()}),O=f({...d()}),_=g({...e("ta",j),...P.customStyle}),q=v({setting:y,styleSetting:P,uid:S?.uid});return l`
|
|
2
|
+
<gp-collection-paginator id="${S?.uid}">
|
|
3
|
+
<script gp-data type="application/json">${JSON.stringify(q).replaceAll("'","'")}</script>
|
|
3
4
|
<div class="${O}" style="${_}">
|
|
4
5
|
<div class="${N}">${G}</div>
|
|
5
6
|
</div>
|
|
6
7
|
</gp-collection-paginator>
|
|
7
|
-
${r
|
|
8
|
+
${i(r,`<script ${c('class="gps-link" delay',"src")}="{{ 'gp-collection-paginator-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${c('class="gps-link" delay',"src")}="${a}/assets-v2/gp-collection-paginator-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
8
9
|
`};export{CollectionPaginator as default};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{template as o,RenderIf as s,isLocalEnv as t,baseAssetURL as e}from"@gem-sdk/core";import{getSettingPreloadData as
|
|
1
|
+
import{template as o,RenderIf as s,isLocalEnv as t,baseAssetURL as e}from"@gem-sdk/core";import{getSettingPreloadData as i}from"../../../helpers.js";import{createClass as l,createStyle as n,createStateOrContext as r,LiquidIf as c}from"@gem-sdk/system";import{getClassContainer as p,getClassToolbarWrapper as a,getClassToolbarSortWrapper as d,getClassSelect as m,getClassToolbarWrapperQuantity as u}from"./common/classes.js";import{getStyleCollectionToolbar as f,getStyleToolbarWrapper as y,getStyleSelect as $,getStyleToolbarWrapperQuantity as g}from"./common/styles.js";import{getSortingTextDisplayVal as v,getQuantityTextDisplayVal as b}from"./common/helpers.js";let CollectionToolbar=({setting:_,builderProps:j,pageContext:S})=>{let{displayQuantity:k}=_??{},q=l({...p()}),T=l({...a()}),C=l({...d()}),E=l({...m(_)}),h=l({...u(_)}),x=l({"gp-flex-1":!0}),A=n({...f(_)}),G=n({...y(_)}),N=n({...$(_)}),O=n({...g(_)}),I=v({setting:_,builderProps:j,pageContext:S},"liquid"),J=b({setting:_,builderProps:j,pageContext:S},"liquid"),M=r({uid:j?.uid});return o`
|
|
2
2
|
<gp-collection-toolbar
|
|
3
3
|
class="${q}"
|
|
4
4
|
style="${A}"
|
|
5
|
-
id="${
|
|
6
|
-
gp-data='${JSON.stringify(M)}'
|
|
5
|
+
id="${j?.uid}"
|
|
7
6
|
>
|
|
7
|
+
<script gp-data type="application/json">${JSON.stringify(M)}</script>
|
|
8
8
|
<div class="${T}" style="${G}" >
|
|
9
9
|
<div class="${C}">
|
|
10
10
|
<select id="sorting" class="${E}" style="${N}" >
|
|
@@ -38,5 +38,5 @@ import{template as o,RenderIf as s,isLocalEnv as t,baseAssetURL as e}from"@gem-s
|
|
|
38
38
|
<div class="${x}"> </div>
|
|
39
39
|
</div>
|
|
40
40
|
</gp-collection-toolbar>
|
|
41
|
-
${s(t,`<script ${
|
|
41
|
+
${s(t,`<script ${i('class="gps-link" delay',"src")}="{{ 'gp-collection-toolbar-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${i('class="gps-link" delay',"src")}="${e}/assets-v2/gp-collection-toolbar-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
42
42
|
`};export{CollectionToolbar as default};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import{template as s,dataStringify as i,RenderIf as t,isLocalEnv as e,baseAssetURL as
|
|
1
|
+
import{template as s,dataStringify as i,RenderIf as t,isLocalEnv as e,baseAssetURL as o}from"@gem-sdk/core";import{getSettingPreloadData as l}from"../../helpers.js";import r from"../../text/components/Text.liquid.js";import{createClass as p,createStyle as a,createAttr as d,If as n}from"@gem-sdk/system";import{getClassWraplistIcon as c,getClassColListIcon as m,getClassWrapItemIcon as $,getClassWrapIcon as u,getClassIcon as g,getClassTextItem as y}from"../common/classes.js";import{getStyleContainerIconlistMain as v,getStyleWraplistIcon as f,getStyleColListIcon as j,getStyleWrapIcon as h,getStyleWrapItemIcon as S,getStyleIcon as q,getStyleTypoText as x}from"../common/styles.js";import{getvalueMap as k,getTextIconTranslations as E,getTextIconNotFound as N}from"../common/helpers.js";let IconListV2=V=>{let{builderProps:A,builderAttrs:I,style:L,setting:O,styles:T,pageContext:_}=V,w=A?.builderData?.advanced,C=p({[A?.uid??""]:!0}),G=p(c()),W=p(m()),b=p($({builderProps:A})),D=p(u()),F=p(g()),J=p(y({setting:O})),M=a(v({styles:T,style:L,type:"liquid",advanced:w})),P=a(f({styles:T,uid:A?.uid??"",pageContext:_,type:"Liquid"})),R=a(j({styles:T,setting:O})),z=a(h({styles:T,setting:O})),B=a(S({styles:T})),H=a(q({styles:T,setting:O})),K=x({setting:O}),Q=d({...I}),U=N("liquid"),X=k({setting:O});return s`
|
|
2
2
|
{% assign locationOrigin = request.origin | append: routes.root_url | split: '/' | join: '/' %}
|
|
3
3
|
<gp-icon-list
|
|
4
4
|
${{...Q}}
|
|
5
|
-
${{...
|
|
6
|
-
data-id="${
|
|
7
|
-
style="${
|
|
8
|
-
className="${
|
|
9
|
-
gp-data='${i({position:_?.position,iconWidth:T?.iconWidth}).replaceAll("'","'")}'
|
|
5
|
+
${{...A}}
|
|
6
|
+
data-id="${A?.uid}"
|
|
7
|
+
style="${M}"
|
|
8
|
+
className="${C}"
|
|
10
9
|
>
|
|
10
|
+
<script gp-data type="application/json">${JSON.stringify(i({position:T?.position,iconWidth:O?.iconWidth}).replaceAll("'","'"))}</script>
|
|
11
11
|
${n(!X||!X.length,s`<div>${U}</div>`,s`
|
|
12
|
-
<div class="${
|
|
13
|
-
<div class="${W}" style="${
|
|
14
|
-
${X?.map((i,t)=>{let e=E({setting:
|
|
12
|
+
<div class="${G}" style="${P}">
|
|
13
|
+
<div class="${W}" style="${R}">
|
|
14
|
+
${X?.map((i,t)=>{let e=E({setting:O,builderProps:A,pageContext:_,key:t,type:"liquid"});return s`
|
|
15
15
|
<div
|
|
16
16
|
key="${t}"
|
|
17
17
|
data-index="${t}"
|
|
18
18
|
class="${b}"
|
|
19
|
-
style="${
|
|
19
|
+
style="${B}"
|
|
20
20
|
>
|
|
21
|
-
<div class="${D}" style="${
|
|
21
|
+
<div class="${D}" style="${z}">
|
|
22
22
|
<span
|
|
23
23
|
class="${F}"
|
|
24
|
-
style="${
|
|
24
|
+
style="${H}"
|
|
25
25
|
>
|
|
26
26
|
${i}
|
|
27
27
|
</span>
|
|
28
28
|
</div>
|
|
29
|
-
${r({setting:{text:e?.toString(),htmlTag:"div",options:{customClass:{wrapper:"gp-w-full"}},isForceValue:!0},styles:K,className:
|
|
29
|
+
${r({setting:{text:e?.toString(),htmlTag:"div",options:{customClass:{wrapper:"gp-w-full"}},isForceValue:!0},styles:K,className:J})}
|
|
30
30
|
</div>`}).join(" ")}
|
|
31
31
|
</div>
|
|
32
32
|
</div>`)}
|
|
33
33
|
</gp-icon-list>
|
|
34
|
-
${t(e,`<script ${
|
|
34
|
+
${t(e,`<script ${l('class="gps-link" delay',"src")}="{{ 'gp-icon-list-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${l('class="gps-link" delay',"src")}="${o}/assets-v2/gp-icon-list-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
35
35
|
`};export{IconListV2 as default};
|