@gem-sdk/components 17.0.0-dev.64 → 17.0.0-dev.66
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/product/components/product-badge/ProductBadge.liquid.js +12 -12
- package/dist/cjs/product/components/product-badge/utils/renderBadgeLiquid.js +7 -5
- package/dist/cjs/product/components/product-list/ProductList.liquid.js +10 -9
- package/dist/cjs/product/components/product-list-v3/ProductList.liquid.js +13 -12
- package/dist/esm/product/components/product-badge/ProductBadge.liquid.js +12 -12
- package/dist/esm/product/components/product-badge/utils/renderBadgeLiquid.js +5 -3
- package/dist/esm/product/components/product-list/ProductList.liquid.js +18 -17
- package/dist/esm/product/components/product-list-v3/ProductList.liquid.js +19 -18
- package/package.json +2 -2
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../../../helpers.js"),s=require("./utils/generateLiquidContent.js"),a=require("./utils/renderBadgeLiquid.js"),r=require("@gem-sdk/system"),i=require("./constants.js"),n=require("./common/styles.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../../../helpers.js"),s=require("./utils/generateLiquidContent.js"),a=require("./utils/renderBadgeLiquid.js"),r=require("@gem-sdk/system"),i=require("./constants.js"),n=require("./common/styles.js"),c=require("./common/classes.js"),l=require("./common/attrs.js"),d=require("./utils/common.js"),o=require("../../settings/product-badge/configs/translate.js");exports.default=p=>{let{styles:u,setting:g,builderProps:y,pageContext:m}=p,C=g?.shape!=="image",S=C&&g?.displayContent?.trim()==="",v=d.checkDiscountContentProductBadge(g?.displayContent),$=r.createClass({...c.getContainerClasses({isInstant:!1,props:p})}),q=r.createStyle({...n.getContainerStyle(p,i.IS_LIQUID)}),I=r.createClass({...c.getWrapperClasses(p)}),j=r.createClass({...c.getSubWrapperClass(p)}),P=r.createStyle({...n.getSubWrapperStyle({props:p})}),f=r.createAttr({...l.getSubWrapperAttrs(p)}),D=n.getContentStyleInternal(p),A=r.createClass({...c.getTextContainerClasses()}),T=r.createAttr({...l.getContainerAttrs(p)}),b=r.createClass({...c.getTextWrapperClasses()}),L=r.createStyle({...n.getTextBadgeWrapperStyles({setting:g,styles:u})}),x=r.createClass({...c.getTextContentClasses(u)}),V=r.createStyle({...n.getTextContentStyle({setting:g,styles:u})}),_=r.createAttr({...l.getTextContentAttrs()}),h=r.createClass({...c.getImageContainerClasses()}),B=r.createStyle({...n.getImageContainerStyles({setting:g,styles:u})}),W=r.createClass({...c.getImageClasses()}),k=r.createAttr({...l.getImageAttr({setting:g})}),E=r.createStateOrContext({minPrice:"{{ minPriceValue | replace: '\"', '\\\"' | escape }}",variantIDs:'{{ product.variants | map: "id" | json | escape }}',variantInventoryQuantities:'{{ product.variants | map: "inventory_quantity" | json | escape }}',amountDiscount:"{{amountDiscountValue | replace: '\"', '\\\"' | escape }}",percentDiscount:"{{percentDiscountValue}}",price:"{{price}}",displayTrigger:JSON.parse(JSON.stringify(g?.displayTrigger).replaceAll("'","'")),uid:p.builderProps?.uid,productCreatedAt:'{{product.created_at | date: "%Y-%m-%d" }}',productTags:"{{ product.tags | join: \",\" | replace: '\"', '\\\"' | escape }}",isTextBadge:C,isSettingSameHeightProductList:"{{ isSettingSameHeightProductList }}"}),{displayContent:O}=g??{},K=t.getDynamicSourceLocales({val:O?.trim(),uid:y?.uid,settingId:o.ProductBadge?.displayContent?.id,isLiquid:!0,pageContext:m});return e.template`
|
|
2
2
|
{% if product %}
|
|
3
3
|
${s.generateBadgeContent(K,m?.isPreviewing)}
|
|
4
|
-
${a.renderBadgeInFirstTime(g?.displayTrigger,!v
|
|
4
|
+
${a.renderBadgeInFirstTime(g?.displayTrigger,!S,v)}
|
|
5
5
|
<gp-product-badge
|
|
6
6
|
${{...T}}
|
|
7
|
-
gp-data='${e.dataStringify(
|
|
8
|
-
class="${
|
|
7
|
+
gp-data='${e.dataStringify(E)}'
|
|
8
|
+
class="${$} {{ className }}"
|
|
9
9
|
style="${q}"
|
|
10
10
|
data-display-content="${m?.isPreviewing?K:e.sanitizeLiquid(`{{${K}}}`)}"
|
|
11
11
|
>
|
|
12
12
|
<div class="${I}">
|
|
13
13
|
<div
|
|
14
|
-
${{...
|
|
14
|
+
${{...f}}
|
|
15
15
|
class="${j}"
|
|
16
|
-
style="${
|
|
16
|
+
style="${P}"
|
|
17
17
|
>
|
|
18
|
-
<style>${
|
|
18
|
+
<style>${D}</style>
|
|
19
19
|
${e.RenderIf(C,e.template`
|
|
20
|
-
<div class="${
|
|
20
|
+
<div class="${A}">
|
|
21
21
|
<div
|
|
22
22
|
class="${b}"
|
|
23
|
-
style="${
|
|
23
|
+
style="${L}"
|
|
24
24
|
>
|
|
25
25
|
<pre
|
|
26
26
|
${{..._}}
|
|
27
|
-
class="${
|
|
27
|
+
class="${x}"
|
|
28
28
|
style="${V}"
|
|
29
29
|
>{{ content | replace: percentDiscountKey, percentDiscountValue | replace: amountDiscountKey, amountDiscountValue | replace: inventoryQuantityKey, inventoryQuantityValue | replace: minPriceKey, minPriceValue }}</pre>
|
|
30
30
|
</div>
|
|
31
|
-
</div>`,e.template`<div class="${
|
|
32
|
-
<img ${{...
|
|
31
|
+
</div>`,e.template`<div class="${h}" style="${B}">
|
|
32
|
+
<img ${{...k}} class="${W}" alt="" />
|
|
33
33
|
</div>`)}
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("../types.js");const i=i=>i===e.CompareType.ABOVE?0:i===e.CompareType.BELOW?2:1,n=e=>e?.length?e.map(e=>{switch(e?.triggerEvent){case"discount_price":return r(e);case"price_range":return t(e);case"inventory_status":return o(e);case"product_tags":return
|
|
1
|
+
"use strict";var e=require("../types.js");const i=i=>i===e.CompareType.ABOVE?0:i===e.CompareType.BELOW?2:1,n=e=>e?.length?e.map(e=>{switch(e?.triggerEvent){case"discount_price":return r(e);case"price_range":return t(e);case"inventory_status":return o(e);case"product_tags":return g(e);case"creation_date":return c(e);default:return""}}).join(" "):"",s=e=>e.replace(/[%$]/g,""),a=()=>`
|
|
2
2
|
{% assign enabled = false %}
|
|
3
3
|
{% case conditionType %}
|
|
4
4
|
{% when "exact" %}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
{% assign isPriceRange = enabled %}
|
|
64
64
|
{% endif %}
|
|
65
65
|
{% assign conditionTriggers = conditionTriggers | append: "," | append: isPriceRange %}
|
|
66
|
-
`},o=e=>{let{type:n,conditionType:r,from:t,to:o}=e,
|
|
66
|
+
`},o=e=>{let{type:n,conditionType:r,from:t,to:o}=e,g=i(r);return`
|
|
67
67
|
{% assign type = "${n}" %}
|
|
68
68
|
{% assign shouldContinue = false %}
|
|
69
69
|
{% if variant.inventory_policy == "continue" and type != "out_of_stock" %}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
{% assign to = ${s(o??"0")} %}
|
|
80
80
|
${a()}
|
|
81
81
|
{% if conditionType == "below" or conditionType == "exact_or_below" %}
|
|
82
|
-
{% assign min = ${
|
|
82
|
+
{% assign min = ${g} %}
|
|
83
83
|
{% assign from = 1 %}
|
|
84
84
|
{% assign to = from | minus: min | plus: 1 %}
|
|
85
85
|
{% if compareValue >= from and compareValue <= to %}
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
{% assign conditionTriggers = conditionTriggers | append: "," | append: false %}
|
|
100
100
|
{% endif %}
|
|
101
101
|
|
|
102
|
-
`},
|
|
102
|
+
`},g=e=>{let{searchTag:i}=e,n=i.map(e=>e.replaceAll("'","'")).join(", ");return`
|
|
103
103
|
{% assign productTags = product.tags | escape %}
|
|
104
104
|
{% assign searchTag = '${n}' %}
|
|
105
105
|
{% for tag in productTags %}
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
{% endif %}
|
|
110
110
|
{% endfor %}
|
|
111
111
|
{% assign conditionTriggers = conditionTriggers | append: "," | append: isProductTag %}
|
|
112
|
-
`},
|
|
112
|
+
`},c=e=>{let{days:i,from:n,to:r,type:t,conditionType:o}=e;return`
|
|
113
113
|
{% assign type = "${t}" %}
|
|
114
114
|
{% assign days = ${s(i)} %}
|
|
115
115
|
{% assign from = "${n}" | date: "%Y-%m-%d" | date: "%s" | times: 1000 %}
|
|
@@ -169,6 +169,8 @@
|
|
|
169
169
|
{% endif %}
|
|
170
170
|
{% if isShow and isNotDiscount == false %}
|
|
171
171
|
{% assign className = "" %}
|
|
172
|
+
{% elsif isSettingSameHeightProductList %}
|
|
173
|
+
{% assign className = "!gp-invisible" %}
|
|
172
174
|
{% else %}
|
|
173
175
|
{% assign className = "!gp-hidden" %}
|
|
174
176
|
{% endif %}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../../../helpers.js"),s=require("@gem-sdk/system"),i=require("./ProductListCarouselLayout.liquid.js"),d=require("./ProductListGridLayout.liquid.js"),a=require("./common/styles.js"),r=require("./common/classes.js"),n=require("./common/helpers.js");exports.default=o=>{let{setting:l,styles:c,pageContext:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../../../helpers.js"),s=require("@gem-sdk/system"),i=require("./ProductListCarouselLayout.liquid.js"),d=require("./ProductListGridLayout.liquid.js"),a=require("./common/styles.js"),r=require("./common/classes.js"),n=require("./common/helpers.js");exports.default=o=>{let{setting:l,styles:c,pageContext:g}=o,u=g?.pageType==="GP_FUNNEL_PAGE";if(u)return"";let{hasRelatedExclude:p,relatedExcludeTrim:f,collectionID:m,isLatestProducts:P,isGrid:$,numberOfProducts:h,productListId:_,productListHandles:y,sortedBy:v,isReverse:E,productSrc:S,productNumber:k,isSorted:L,relatedTag:b,collectionHandle:x}=n.getDataLiquid(o),R=()=>e.template`
|
|
2
2
|
${e.RenderIf("RelatedProduct"===S,`
|
|
3
3
|
assign relatedTag = '${b}'
|
|
4
4
|
assign assignProduct = product
|
|
@@ -91,11 +91,11 @@
|
|
|
91
91
|
endfor
|
|
92
92
|
assign products = products | uniq
|
|
93
93
|
endcase
|
|
94
|
-
paginate products by ${
|
|
94
|
+
paginate products by ${h||4}
|
|
95
95
|
assign products = products
|
|
96
96
|
endpaginate
|
|
97
97
|
`)}
|
|
98
|
-
`,{productListWrapStyle:A,productListContentStyle:I,productListWrapAlignStyle:q}=a.getStyle(o),{productListWrapClass:
|
|
98
|
+
`,{productListWrapStyle:A,productListContentStyle:I,productListWrapAlignStyle:q}=a.getStyle(o),{productListWrapClass:H}=r.getClass(o);return e.template`
|
|
99
99
|
${e.RenderIf(e.isLocalEnv,`
|
|
100
100
|
<script ${t.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-product-v7-5.js' | asset_url }}" defer="defer"></script>
|
|
101
101
|
${l?.sameHeight?`<script ${t.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-same-height-v7-5.js' | asset_url }}" defer="defer"></script>`:""}
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
|
|
107
107
|
${e.RenderIf(!!c?.preloadBgImage,`${e.RenderIf(!!c?.backgroundImage?.desktop?.image?.src,`<link rel="preload" href="${c?.backgroundImage?.desktop?.image?.src}" as="image" />`)}${e.RenderIf(!!c?.backgroundImage?.tablet?.image?.src,`<link rel="preload" href="${c?.backgroundImage?.tablet?.image?.src}" as="image" />`)}${e.RenderIf(!!c?.backgroundImage?.mobile?.image?.src,`<link rel="preload" href="${c?.backgroundImage?.mobile?.image?.src}" as="image" />`)}`)}
|
|
108
108
|
<div
|
|
109
|
-
class="${
|
|
109
|
+
class="${H}"
|
|
110
110
|
style="${A}"
|
|
111
111
|
>
|
|
112
112
|
<div class='gp-flex gp-w-full' style="${q}">
|
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
assign productSrc = '${S}'
|
|
141
141
|
assign c = 0
|
|
142
142
|
assign limit = ${k??4}
|
|
143
|
+
assign isSettingSameHeightProductList = ${l?.sameHeight??!1}
|
|
143
144
|
|
|
144
145
|
if request.page_type == 'collection' or preview_page_type == 'collection'
|
|
145
146
|
assign target_collection = collection
|
|
@@ -150,7 +151,7 @@
|
|
|
150
151
|
${t}
|
|
151
152
|
endif
|
|
152
153
|
endif
|
|
153
|
-
paginate target_collection.products by ${
|
|
154
|
+
paginate target_collection.products by ${h||4}
|
|
154
155
|
assign products = target_collection.products ${L?v:""} ${E?"| reverse":""}
|
|
155
156
|
endpaginate
|
|
156
157
|
else
|
|
@@ -165,7 +166,7 @@
|
|
|
165
166
|
endfor
|
|
166
167
|
assign limit = products.length
|
|
167
168
|
else
|
|
168
|
-
if ${
|
|
169
|
+
if ${_.length} == 0
|
|
169
170
|
paginate collections.all.products by 100000
|
|
170
171
|
assign products = collections.all.products | sort : "created_at" | reverse
|
|
171
172
|
endpaginate
|
|
@@ -177,7 +178,7 @@
|
|
|
177
178
|
else
|
|
178
179
|
${t}
|
|
179
180
|
endif
|
|
180
|
-
paginate target_collection.products by ${
|
|
181
|
+
paginate target_collection.products by ${h||4}
|
|
181
182
|
assign products = target_collection.products ${L?v:""} ${E?"| reverse":""}
|
|
182
183
|
endpaginate
|
|
183
184
|
endif
|
|
@@ -186,7 +187,7 @@
|
|
|
186
187
|
`})()}
|
|
187
188
|
${e.template`
|
|
188
189
|
{%- if products == null -%}
|
|
189
|
-
{%- if count == 0 and ${
|
|
190
|
+
{%- if count == 0 and ${_.length} == 0 -%}
|
|
190
191
|
{% if '${S}' == 'RelatedProduct' -%}
|
|
191
192
|
<div>${t.getStaticLocale("ProductList","no_related_products")}</div>
|
|
192
193
|
{% else %}
|
|
@@ -194,7 +195,7 @@
|
|
|
194
195
|
{%- endif -%}
|
|
195
196
|
{%- endif -%}
|
|
196
197
|
{%-else-%}
|
|
197
|
-
${s.If($,e.template`${d.default({...o,productListId:
|
|
198
|
+
${s.If($,e.template`${d.default({...o,productListId:_,productSrc:S})}`,e.template`${i.default({...o,productListId:_,productSrc:S})}`)}
|
|
198
199
|
{%- endif -%}
|
|
199
200
|
`}
|
|
200
201
|
{%- assign product = gpBkProduct -%}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../../../helpers.js"),s=require("@gem-sdk/system"),i=require("./ProductListCarouselLayout.liquid.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../../../helpers.js"),s=require("@gem-sdk/system"),i=require("./ProductListCarouselLayout.liquid.js"),a=require("./ProductListGridLayout.liquid.js"),d=require("./common/styles.js"),r=require("./common/classes.js"),n=require("./common/helpers.js");exports.default=o=>{let{setting:l,styles:c,pageContext:g}=o,u=g?.pageType==="GP_FUNNEL_PAGE";if(u)return"";let{hasRelatedExclude:p,relatedExcludeTrim:f,collectionID:m,isLatestProducts:$,isGrid:P,numberOfProducts:h,productListId:_,productListHandles:y,sortedBy:v,isReverse:E,productSrc:S,productNumber:k,isSorted:L,relatedTag:b,collectionHandle:x}=n.getDataLiquid(o),R=()=>e.template`
|
|
2
2
|
${e.RenderIf("RelatedProduct"===S,`
|
|
3
|
-
assign relatedTag = '${
|
|
3
|
+
assign relatedTag = '${b}'
|
|
4
4
|
assign assignProduct = product
|
|
5
5
|
assign idAssignProduct = assignProduct.id
|
|
6
6
|
paginate collections.all.products by 10000
|
|
@@ -91,11 +91,11 @@
|
|
|
91
91
|
endfor
|
|
92
92
|
assign products = products | uniq
|
|
93
93
|
endcase
|
|
94
|
-
paginate products by ${
|
|
94
|
+
paginate products by ${h||4}
|
|
95
95
|
assign products = products
|
|
96
96
|
endpaginate
|
|
97
97
|
`)}
|
|
98
|
-
`,{productListWrapStyle:A,productListContentStyle:I,productListWrapAlignStyle:q}=
|
|
98
|
+
`,{productListWrapStyle:A,productListContentStyle:I,productListWrapAlignStyle:q}=d.getStyle(o),{productListWrapClass:H}=r.getClass(o);return e.template`
|
|
99
99
|
${e.RenderIf(e.isLocalEnv,`
|
|
100
100
|
<script ${t.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-product-v7-5.js' | asset_url }}" defer="defer"></script>
|
|
101
101
|
${l?.sameHeight?`<script ${t.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-same-height-v7-5.js' | asset_url }}" defer="defer"></script>`:""}
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
|
|
107
107
|
${e.RenderIf(!!c?.preloadBgImage,`${e.RenderIf(!!c?.backgroundImage?.desktop?.image?.src,`<link rel="preload" href="${c?.backgroundImage?.desktop?.image?.src}" as="image" />`)}${e.RenderIf(!!c?.backgroundImage?.tablet?.image?.src,`<link rel="preload" href="${c?.backgroundImage?.tablet?.image?.src}" as="image" />`)}${e.RenderIf(!!c?.backgroundImage?.mobile?.image?.src,`<link rel="preload" href="${c?.backgroundImage?.mobile?.image?.src}" as="image" />`)}`)}
|
|
108
108
|
<div
|
|
109
|
-
class="${
|
|
109
|
+
class="${H}"
|
|
110
110
|
style="${A}"
|
|
111
111
|
>
|
|
112
112
|
<div class='gp-flex gp-w-full' style="${q}">
|
|
@@ -141,6 +141,7 @@
|
|
|
141
141
|
assign productSrc = '${S}'
|
|
142
142
|
assign c = 0
|
|
143
143
|
assign limit = ${k??4}
|
|
144
|
+
assign isSettingSameHeightProductList = ${l?.sameHeight??!1}
|
|
144
145
|
|
|
145
146
|
if request.page_type == 'collection' or preview_page_type == 'collection'
|
|
146
147
|
assign target_collection = collection
|
|
@@ -153,8 +154,8 @@
|
|
|
153
154
|
${t}
|
|
154
155
|
endif
|
|
155
156
|
endif
|
|
156
|
-
paginate target_collection.products by ${
|
|
157
|
-
assign products = target_collection.products ${
|
|
157
|
+
paginate target_collection.products by ${h||4}
|
|
158
|
+
assign products = target_collection.products ${L?v:""} ${E?"| reverse":""}
|
|
158
159
|
endpaginate
|
|
159
160
|
else
|
|
160
161
|
if productSrc == 'RelatedProduct'
|
|
@@ -168,7 +169,7 @@
|
|
|
168
169
|
endfor
|
|
169
170
|
assign limit = products.length
|
|
170
171
|
else
|
|
171
|
-
if ${
|
|
172
|
+
if ${_.length} == 0
|
|
172
173
|
paginate collections.all.products by 100000
|
|
173
174
|
assign products = collections.all.products | sort : "created_at" | reverse
|
|
174
175
|
endpaginate
|
|
@@ -180,8 +181,8 @@
|
|
|
180
181
|
else
|
|
181
182
|
${t}
|
|
182
183
|
endif
|
|
183
|
-
paginate target_collection.products by ${
|
|
184
|
-
assign products = target_collection.products ${
|
|
184
|
+
paginate target_collection.products by ${h||4}
|
|
185
|
+
assign products = target_collection.products ${L?v:""} ${E?"| reverse":""}
|
|
185
186
|
endpaginate
|
|
186
187
|
endif
|
|
187
188
|
endif
|
|
@@ -189,7 +190,7 @@
|
|
|
189
190
|
`})()}
|
|
190
191
|
${e.template`
|
|
191
192
|
{%- if products == null -%}
|
|
192
|
-
{%- if count == 0 and ${
|
|
193
|
+
{%- if count == 0 and ${_.length} == 0 -%}
|
|
193
194
|
{% if '${S}' == 'RelatedProduct' -%}
|
|
194
195
|
<div>${t.getStaticLocale("ProductList","no_related_products")}</div>
|
|
195
196
|
{% else %}
|
|
@@ -197,7 +198,7 @@
|
|
|
197
198
|
{%- endif -%}
|
|
198
199
|
{%- endif -%}
|
|
199
200
|
{%-else-%}
|
|
200
|
-
${s.If(P,e.template`${
|
|
201
|
+
${s.If(P,e.template`${a.default({...o,productListId:_,productSrc:S})}`,e.template`${i.default({...o,productListId:_,productSrc:S})}`)}
|
|
201
202
|
{%- endif -%}
|
|
202
203
|
`}
|
|
203
204
|
{%- assign product = gpBkProduct -%}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import{dataStringify as e,sanitizeLiquid as t,RenderIf as s,template as i,isLocalEnv as r,baseAssetURL as a}from"@gem-sdk/core";import{getDynamicSourceLocales as o,getSettingPreloadData as c}from"../../../helpers.js";import{generateBadgeContent as n}from"./utils/generateLiquidContent.js";import{renderBadgeInFirstTime as
|
|
1
|
+
import{dataStringify as e,sanitizeLiquid as t,RenderIf as s,template as i,isLocalEnv as r,baseAssetURL as a}from"@gem-sdk/core";import{getDynamicSourceLocales as o,getSettingPreloadData as c}from"../../../helpers.js";import{generateBadgeContent as n}from"./utils/generateLiquidContent.js";import{renderBadgeInFirstTime as d}from"./utils/renderBadgeLiquid.js";import{createClass as p,createStyle as l,createAttr as u,createStateOrContext as m}from"@gem-sdk/system";import{IS_LIQUID as g}from"./constants.js";import{getContainerStyle as y,getSubWrapperStyle as $,getContentStyleInternal as v,getTextBadgeWrapperStyles as f,getTextContentStyle as j,getImageContainerStyles as P}from"./common/styles.js";import{getContainerClasses as S,getWrapperClasses as D,getSubWrapperClass as V,getTextContainerClasses as b,getTextWrapperClasses as h,getTextContentClasses as C,getImageContainerClasses as I,getImageClasses as L}from"./common/classes.js";import{getSubWrapperAttrs as T,getContainerAttrs as k,getTextContentAttrs as q,getImageAttr as A}from"./common/attrs.js";import{checkDiscountContentProductBadge as E}from"./utils/common.js";import{ProductBadge as K}from"../../settings/product-badge/configs/translate.js";let N=N=>{let{styles:_,setting:B,builderProps:O,pageContext:Q}=N,w=B?.shape!=="image",G=w&&B?.displayContent?.trim()==="",H=E(B?.displayContent),J=p({...S({isInstant:!1,props:N})}),x=l({...y(N,g)}),M=p({...D(N)}),R=p({...V(N)}),Y=l({...$({props:N})}),z=u({...T(N)}),F=v(N),U=p({...b()}),W=u({...k(N)}),X=p({...h()}),Z=l({...f({setting:B,styles:_})}),ee=p({...C(_)}),et=l({...j({setting:B,styles:_})}),es=u({...q()}),ei=p({...I()}),er=l({...P({setting:B,styles:_})}),ea=p({...L()}),eo=u({...A({setting:B})}),ec=m({minPrice:"{{ minPriceValue | replace: '\"', '\\\"' | escape }}",variantIDs:'{{ product.variants | map: "id" | json | escape }}',variantInventoryQuantities:'{{ product.variants | map: "inventory_quantity" | json | escape }}',amountDiscount:"{{amountDiscountValue | replace: '\"', '\\\"' | escape }}",percentDiscount:"{{percentDiscountValue}}",price:"{{price}}",displayTrigger:JSON.parse(JSON.stringify(B?.displayTrigger).replaceAll("'","'")),uid:N.builderProps?.uid,productCreatedAt:'{{product.created_at | date: "%Y-%m-%d" }}',productTags:"{{ product.tags | join: \",\" | replace: '\"', '\\\"' | escape }}",isTextBadge:w,isSettingSameHeightProductList:"{{ isSettingSameHeightProductList }}"}),{displayContent:en}=B??{},ed=o({val:en?.trim(),uid:O?.uid,settingId:K?.displayContent?.id,isLiquid:!0,pageContext:Q});return i`
|
|
2
2
|
{% if product %}
|
|
3
|
-
${n(
|
|
4
|
-
${
|
|
3
|
+
${n(ed,Q?.isPreviewing)}
|
|
4
|
+
${d(B?.displayTrigger,!G,H)}
|
|
5
5
|
<gp-product-badge
|
|
6
6
|
${{...W}}
|
|
7
7
|
gp-data='${e(ec)}'
|
|
8
|
-
class="${
|
|
9
|
-
style="${
|
|
10
|
-
data-display-content="${Q?.isPreviewing?
|
|
8
|
+
class="${J} {{ className }}"
|
|
9
|
+
style="${x}"
|
|
10
|
+
data-display-content="${Q?.isPreviewing?ed:t(`{{${ed}}}`)}"
|
|
11
11
|
>
|
|
12
|
-
<div class="${
|
|
12
|
+
<div class="${M}">
|
|
13
13
|
<div
|
|
14
|
-
${{...
|
|
15
|
-
class="${
|
|
16
|
-
style="${
|
|
14
|
+
${{...z}}
|
|
15
|
+
class="${R}"
|
|
16
|
+
style="${Y}"
|
|
17
17
|
>
|
|
18
|
-
<style>${
|
|
18
|
+
<style>${F}</style>
|
|
19
19
|
${s(w,i`
|
|
20
20
|
<div class="${U}">
|
|
21
21
|
<div
|
|
@@ -36,4 +36,4 @@ import{dataStringify as e,sanitizeLiquid as t,RenderIf as s,template as i,isLoca
|
|
|
36
36
|
</gp-product-badge>
|
|
37
37
|
${s(r,`<script ${c('class="gps-link" delay',"src")}="{{ 'gp-product-badge-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${c('class="gps-link" delay',"src")}="${a}/assets-v2/gp-product-badge-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
38
38
|
{% endif %}
|
|
39
|
-
`};export{
|
|
39
|
+
`};export{N as default};
|
|
@@ -27,10 +27,12 @@ import{CompareType as e}from"../types.js";let i=i=>i===e.ABOVE?0:i===e.BELOW?2:1
|
|
|
27
27
|
{% endif %}
|
|
28
28
|
{% if isShow and isNotDiscount == false %}
|
|
29
29
|
{% assign className = "" %}
|
|
30
|
+
{% elsif isSettingSameHeightProductList %}
|
|
31
|
+
{% assign className = "!gp-invisible" %}
|
|
30
32
|
{% else %}
|
|
31
33
|
{% assign className = "!gp-hidden" %}
|
|
32
34
|
{% endif %}
|
|
33
|
-
`,s=e=>e?.length?e.map(e=>{switch(e?.triggerEvent){case"discount_price":return t(e);case"price_range":return o(e);case"inventory_status":return g(e);case"product_tags":return
|
|
35
|
+
`,s=e=>e?.length?e.map(e=>{switch(e?.triggerEvent){case"discount_price":return t(e);case"price_range":return o(e);case"inventory_status":return g(e);case"product_tags":return c(e);case"creation_date":return d(e);default:return""}}).join(" "):"",a=e=>e.replace(/[%$]/g,""),r=()=>`
|
|
34
36
|
{% assign enabled = false %}
|
|
35
37
|
{% case conditionType %}
|
|
36
38
|
{% when "exact" %}
|
|
@@ -131,7 +133,7 @@ import{CompareType as e}from"../types.js";let i=i=>i===e.ABOVE?0:i===e.BELOW?2:1
|
|
|
131
133
|
{% assign conditionTriggers = conditionTriggers | append: "," | append: false %}
|
|
132
134
|
{% endif %}
|
|
133
135
|
|
|
134
|
-
`},
|
|
136
|
+
`},c=e=>{let{searchTag:i}=e,n=i.map(e=>e.replaceAll("'","'")).join(", ");return`
|
|
135
137
|
{% assign productTags = product.tags | escape %}
|
|
136
138
|
{% assign searchTag = '${n}' %}
|
|
137
139
|
{% for tag in productTags %}
|
|
@@ -141,7 +143,7 @@ import{CompareType as e}from"../types.js";let i=i=>i===e.ABOVE?0:i===e.BELOW?2:1
|
|
|
141
143
|
{% endif %}
|
|
142
144
|
{% endfor %}
|
|
143
145
|
{% assign conditionTriggers = conditionTriggers | append: "," | append: isProductTag %}
|
|
144
|
-
`},
|
|
146
|
+
`},d=e=>{let{days:i,from:n,to:s,type:t,conditionType:o}=e;return`
|
|
145
147
|
{% assign type = "${t}" %}
|
|
146
148
|
{% assign days = ${a(i)} %}
|
|
147
149
|
{% assign from = "${n}" | date: "%Y-%m-%d" | date: "%s" | times: 1000 %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-sdk/core";import{getSettingPreloadData as d,getStaticLocale as o}from"../../../helpers.js";import{If as r}from"@gem-sdk/system";import a from"./ProductListCarouselLayout.liquid.js";import n from"./ProductListGridLayout.liquid.js";import{getStyle as c}from"./common/styles.js";import{getClass as l}from"./common/classes.js";import{getDataLiquid as
|
|
2
|
-
${e("RelatedProduct"===
|
|
3
|
-
assign relatedTag = '${
|
|
1
|
+
import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-sdk/core";import{getSettingPreloadData as d,getStaticLocale as o}from"../../../helpers.js";import{If as r}from"@gem-sdk/system";import a from"./ProductListCarouselLayout.liquid.js";import n from"./ProductListGridLayout.liquid.js";import{getStyle as c}from"./common/styles.js";import{getClass as l}from"./common/classes.js";import{getDataLiquid as g}from"./common/helpers.js";let u=u=>{let{setting:p,styles:f,pageContext:m}=u,$=m?.pageType==="GP_FUNNEL_PAGE";if($)return"";let{hasRelatedExclude:P,relatedExcludeTrim:h,collectionID:_,isLatestProducts:y,isGrid:v,numberOfProducts:E,productListId:k,productListHandles:S,sortedBy:x,isReverse:b,productSrc:L,productNumber:A,isSorted:R,relatedTag:H,collectionHandle:I}=g(u),F=()=>i`
|
|
2
|
+
${e("RelatedProduct"===L,`
|
|
3
|
+
assign relatedTag = '${H}'
|
|
4
4
|
assign assignProduct = product
|
|
5
5
|
assign idAssignProduct = assignProduct.id
|
|
6
6
|
paginate collections.all.products by 10000
|
|
@@ -95,7 +95,7 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
95
95
|
assign products = products
|
|
96
96
|
endpaginate
|
|
97
97
|
`)}
|
|
98
|
-
`,{productListWrapStyle:
|
|
98
|
+
`,{productListWrapStyle:j,productListContentStyle:w,productListWrapAlignStyle:q}=c(u),{productListWrapClass:G}=l(u);return i`
|
|
99
99
|
${e(s,`
|
|
100
100
|
<script ${d('class="gps-link" delay',"src")}="{{ 'gp-product-v7-5.js' | asset_url }}" defer="defer"></script>
|
|
101
101
|
${p?.sameHeight?`<script ${d('class="gps-link" delay',"src")}="{{ 'gp-same-height-v7-5.js' | asset_url }}" defer="defer"></script>`:""}
|
|
@@ -107,16 +107,16 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
107
107
|
${e(!!f?.preloadBgImage,`${e(!!f?.backgroundImage?.desktop?.image?.src,`<link rel="preload" href="${f?.backgroundImage?.desktop?.image?.src}" as="image" />`)}${e(!!f?.backgroundImage?.tablet?.image?.src,`<link rel="preload" href="${f?.backgroundImage?.tablet?.image?.src}" as="image" />`)}${e(!!f?.backgroundImage?.mobile?.image?.src,`<link rel="preload" href="${f?.backgroundImage?.mobile?.image?.src}" as="image" />`)}`)}
|
|
108
108
|
<div
|
|
109
109
|
class="${G}"
|
|
110
|
-
style="${
|
|
110
|
+
style="${j}"
|
|
111
111
|
>
|
|
112
112
|
<div class='gp-flex gp-w-full' style="${q}">
|
|
113
113
|
<div
|
|
114
|
-
style="${
|
|
114
|
+
style="${w}"
|
|
115
115
|
>
|
|
116
116
|
{%- assign gpBkProduct = product -%}
|
|
117
117
|
{%- assign gpBkProducts = products -%}
|
|
118
|
-
${(()=>{let e=
|
|
119
|
-
assign target_collection = collections['${
|
|
118
|
+
${(()=>{let e=I?`
|
|
119
|
+
assign target_collection = collections['${I}']
|
|
120
120
|
if target_collection == empty
|
|
121
121
|
for collection in collections
|
|
122
122
|
if collection.id == ${_}
|
|
@@ -134,12 +134,13 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
134
134
|
endfor
|
|
135
135
|
`;return i`
|
|
136
136
|
{%- liquid
|
|
137
|
-
assign productHandles = '${
|
|
137
|
+
assign productHandles = '${S.toString()}'| split: ','
|
|
138
138
|
assign products = null
|
|
139
139
|
assign target_collection = null
|
|
140
|
-
assign productSrc = '${
|
|
140
|
+
assign productSrc = '${L}'
|
|
141
141
|
assign c = 0
|
|
142
|
-
assign limit = ${
|
|
142
|
+
assign limit = ${A??4}
|
|
143
|
+
assign isSettingSameHeightProductList = ${p?.sameHeight??!1}
|
|
143
144
|
|
|
144
145
|
if request.page_type == 'collection' or preview_page_type == 'collection'
|
|
145
146
|
assign target_collection = collection
|
|
@@ -151,11 +152,11 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
151
152
|
endif
|
|
152
153
|
endif
|
|
153
154
|
paginate target_collection.products by ${E||4}
|
|
154
|
-
assign products = target_collection.products ${R?
|
|
155
|
+
assign products = target_collection.products ${R?x:""} ${b?"| reverse":""}
|
|
155
156
|
endpaginate
|
|
156
157
|
else
|
|
157
158
|
if productSrc == 'RelatedProduct'
|
|
158
|
-
${
|
|
159
|
+
${F()}
|
|
159
160
|
elsif productSrc == 'PickProduct'
|
|
160
161
|
unless ${y}
|
|
161
162
|
assign products = null | sort
|
|
@@ -178,7 +179,7 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
178
179
|
${e}
|
|
179
180
|
endif
|
|
180
181
|
paginate target_collection.products by ${E||4}
|
|
181
|
-
assign products = target_collection.products ${R?
|
|
182
|
+
assign products = target_collection.products ${R?x:""} ${b?"| reverse":""}
|
|
182
183
|
endpaginate
|
|
183
184
|
endif
|
|
184
185
|
endif
|
|
@@ -187,14 +188,14 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
187
188
|
${i`
|
|
188
189
|
{%- if products == null -%}
|
|
189
190
|
{%- if count == 0 and ${k.length} == 0 -%}
|
|
190
|
-
{% if '${
|
|
191
|
+
{% if '${L}' == 'RelatedProduct' -%}
|
|
191
192
|
<div>${o("ProductList","no_related_products")}</div>
|
|
192
193
|
{% else %}
|
|
193
194
|
<div>${o("ProductList","no_products_found")}</div>
|
|
194
195
|
{%- endif -%}
|
|
195
196
|
{%- endif -%}
|
|
196
197
|
{%-else-%}
|
|
197
|
-
${r(v,i`${n({...
|
|
198
|
+
${r(v,i`${n({...u,productListId:k,productSrc:L})}`,i`${a({...u,productListId:k,productSrc:L})}`)}
|
|
198
199
|
{%- endif -%}
|
|
199
200
|
`}
|
|
200
201
|
{%- assign product = gpBkProduct -%}
|
|
@@ -202,4 +203,4 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
202
203
|
</div>
|
|
203
204
|
</div>
|
|
204
205
|
</div>
|
|
205
|
-
`};export{
|
|
206
|
+
`};export{u as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-sdk/core";import{getSettingPreloadData as d,getStaticLocale as o}from"../../../helpers.js";import{If as r}from"@gem-sdk/system";import n from"./ProductListCarouselLayout.liquid.js";import a from"./ProductListGridLayout.liquid.js";import{getStyle as c}from"./common/styles.js";import{getClass as l}from"./common/classes.js";import{getDataLiquid as
|
|
2
|
-
${e("RelatedProduct"===
|
|
3
|
-
assign relatedTag = '${
|
|
1
|
+
import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-sdk/core";import{getSettingPreloadData as d,getStaticLocale as o}from"../../../helpers.js";import{If as r}from"@gem-sdk/system";import n from"./ProductListCarouselLayout.liquid.js";import a from"./ProductListGridLayout.liquid.js";import{getStyle as c}from"./common/styles.js";import{getClass as l}from"./common/classes.js";import{getDataLiquid as g}from"./common/helpers.js";let u=u=>{let{setting:p,styles:f,pageContext:m}=u,$=m?.pageType==="GP_FUNNEL_PAGE";if($)return"";let{hasRelatedExclude:P,relatedExcludeTrim:h,collectionID:_,isLatestProducts:y,isGrid:v,numberOfProducts:E,productListId:k,productListHandles:S,sortedBy:x,isReverse:b,productSrc:L,productNumber:A,isSorted:R,relatedTag:H,collectionHandle:I}=g(u),F=()=>i`
|
|
2
|
+
${e("RelatedProduct"===L,`
|
|
3
|
+
assign relatedTag = '${H}'
|
|
4
4
|
assign assignProduct = product
|
|
5
5
|
assign idAssignProduct = assignProduct.id
|
|
6
6
|
paginate collections.all.products by 10000
|
|
@@ -95,7 +95,7 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
95
95
|
assign products = products
|
|
96
96
|
endpaginate
|
|
97
97
|
`)}
|
|
98
|
-
`,{productListWrapStyle:
|
|
98
|
+
`,{productListWrapStyle:j,productListContentStyle:w,productListWrapAlignStyle:q}=c(u),{productListWrapClass:G}=l(u);return i`
|
|
99
99
|
${e(s,`
|
|
100
100
|
<script ${d('class="gps-link" delay',"src")}="{{ 'gp-product-v7-5.js' | asset_url }}" defer="defer"></script>
|
|
101
101
|
${p?.sameHeight?`<script ${d('class="gps-link" delay',"src")}="{{ 'gp-same-height-v7-5.js' | asset_url }}" defer="defer"></script>`:""}
|
|
@@ -107,16 +107,16 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
107
107
|
${e(!!f?.preloadBgImage,`${e(!!f?.backgroundImage?.desktop?.image?.src,`<link rel="preload" href="${f?.backgroundImage?.desktop?.image?.src}" as="image" />`)}${e(!!f?.backgroundImage?.tablet?.image?.src,`<link rel="preload" href="${f?.backgroundImage?.tablet?.image?.src}" as="image" />`)}${e(!!f?.backgroundImage?.mobile?.image?.src,`<link rel="preload" href="${f?.backgroundImage?.mobile?.image?.src}" as="image" />`)}`)}
|
|
108
108
|
<div
|
|
109
109
|
class="${G}"
|
|
110
|
-
style="${
|
|
110
|
+
style="${j}"
|
|
111
111
|
>
|
|
112
112
|
<div class='gp-flex gp-w-full' style="${q}">
|
|
113
113
|
<div
|
|
114
|
-
style="${
|
|
114
|
+
style="${w}"
|
|
115
115
|
>
|
|
116
116
|
{%- assign gpBkProduct = product -%}
|
|
117
117
|
{%- assign gpBkProducts = products -%}
|
|
118
|
-
${(()=>{let e=
|
|
119
|
-
assign target_collection = collections['${
|
|
118
|
+
${(()=>{let e=I?`
|
|
119
|
+
assign target_collection = collections['${I}']
|
|
120
120
|
if target_collection == empty
|
|
121
121
|
for collection in collections
|
|
122
122
|
if collection.id == ${_}
|
|
@@ -134,13 +134,14 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
134
134
|
endfor
|
|
135
135
|
`;return i`
|
|
136
136
|
{%- liquid
|
|
137
|
-
assign productHandles = '${
|
|
138
|
-
assign collection_handle = '${
|
|
137
|
+
assign productHandles = '${S.toString()}'| split: ','
|
|
138
|
+
assign collection_handle = '${I}'
|
|
139
139
|
assign products = null
|
|
140
140
|
assign target_collection = null
|
|
141
|
-
assign productSrc = '${
|
|
141
|
+
assign productSrc = '${L}'
|
|
142
142
|
assign c = 0
|
|
143
|
-
assign limit = ${
|
|
143
|
+
assign limit = ${A??4}
|
|
144
|
+
assign isSettingSameHeightProductList = ${p?.sameHeight??!1}
|
|
144
145
|
|
|
145
146
|
if request.page_type == 'collection' or preview_page_type == 'collection'
|
|
146
147
|
assign target_collection = collection
|
|
@@ -154,11 +155,11 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
154
155
|
endif
|
|
155
156
|
endif
|
|
156
157
|
paginate target_collection.products by ${E||4}
|
|
157
|
-
assign products = target_collection.products ${R?
|
|
158
|
+
assign products = target_collection.products ${R?x:""} ${b?"| reverse":""}
|
|
158
159
|
endpaginate
|
|
159
160
|
else
|
|
160
161
|
if productSrc == 'RelatedProduct'
|
|
161
|
-
${
|
|
162
|
+
${F()}
|
|
162
163
|
elsif productSrc == 'PickProduct'
|
|
163
164
|
unless ${y}
|
|
164
165
|
assign products = null | sort
|
|
@@ -181,7 +182,7 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
181
182
|
${e}
|
|
182
183
|
endif
|
|
183
184
|
paginate target_collection.products by ${E||4}
|
|
184
|
-
assign products = target_collection.products ${R?
|
|
185
|
+
assign products = target_collection.products ${R?x:""} ${b?"| reverse":""}
|
|
185
186
|
endpaginate
|
|
186
187
|
endif
|
|
187
188
|
endif
|
|
@@ -190,14 +191,14 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
190
191
|
${i`
|
|
191
192
|
{%- if products == null -%}
|
|
192
193
|
{%- if count == 0 and ${k.length} == 0 -%}
|
|
193
|
-
{% if '${
|
|
194
|
+
{% if '${L}' == 'RelatedProduct' -%}
|
|
194
195
|
<div>${o("ProductList","no_related_products")}</div>
|
|
195
196
|
{% else %}
|
|
196
197
|
<div>${o("ProductList","no_products_found")}</div>
|
|
197
198
|
{%- endif -%}
|
|
198
199
|
{%- endif -%}
|
|
199
200
|
{%-else-%}
|
|
200
|
-
${r(v,i`${a({...
|
|
201
|
+
${r(v,i`${a({...u,productListId:k,productSrc:L})}`,i`${n({...u,productListId:k,productSrc:L})}`)}
|
|
201
202
|
{%- endif -%}
|
|
202
203
|
`}
|
|
203
204
|
{%- assign product = gpBkProduct -%}
|
|
@@ -205,4 +206,4 @@ import{RenderIf as e,isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-s
|
|
|
205
206
|
</div>
|
|
206
207
|
</div>
|
|
207
208
|
</div>
|
|
208
|
-
`};export{
|
|
209
|
+
`};export{u as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "17.0.0-dev.
|
|
3
|
+
"version": "17.0.0-dev.66",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"i18n:extract": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/translate/extract-texts-to-locales.js && node ./scripts/translate/en-keys-usage.js"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@gem-sdk/core": "17.0.0-dev.
|
|
29
|
+
"@gem-sdk/core": "17.0.0-dev.66",
|
|
30
30
|
"@gem-sdk/styles": "17.0.0-dev.62",
|
|
31
31
|
"@gem-sdk/system": "17.0.0-dev.38",
|
|
32
32
|
"@types/react-transition-group": "^4.4.12",
|