@gem-sdk/components 2.0.0-dev.702 → 2.0.0-dev.703

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.
Files changed (42) hide show
  1. package/dist/cjs/helpers.js +4 -1
  2. package/dist/cjs/image/components/NextImage.liquid.js +2 -2
  3. package/dist/cjs/index.js +4 -0
  4. package/dist/cjs/post-purchase/product/settings/product-image/setting-v2.js +2 -2
  5. package/dist/cjs/post-purchase/product/settings/product-image/uiV2.js +72 -2
  6. package/dist/cjs/product/components/ProductBadge/index.liquid.js +12 -3
  7. package/dist/cjs/product/components/ProductBadge/utils/generateLiquidContent.js +2 -2
  8. package/dist/cjs/product/components/ProductDescription/index.liquid.js +21 -4
  9. package/dist/cjs/product/setting/constant/bundle-layout/horizontalThree.js +1 -0
  10. package/dist/cjs/product/setting/constant/bundle-layout/horizontalTwo.js +1 -0
  11. package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +1 -0
  12. package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +1 -0
  13. package/dist/cjs/product/setting/product-badge/configs/settings.js +5 -0
  14. package/dist/cjs/product/setting/product-description/configs/settings.js +5 -0
  15. package/dist/cjs/stock-counter/components/StockCounter.js +0 -2
  16. package/dist/cjs/stock-counter/components/StockCounter.liquid.js +44 -3
  17. package/dist/cjs/stock-counter/components/common/getContent.js +19 -10
  18. package/dist/cjs/stock-counter/helpers.js +20 -3
  19. package/dist/cjs/stock-counter/index.js +0 -1
  20. package/dist/cjs/stock-counter/setting/configs/settingsV2.js +5 -0
  21. package/dist/esm/helpers.js +4 -1
  22. package/dist/esm/image/components/NextImage.liquid.js +2 -2
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/post-purchase/product/settings/product-image/setting-v2.js +2 -2
  25. package/dist/esm/post-purchase/product/settings/product-image/uiV2.js +72 -2
  26. package/dist/esm/product/components/ProductBadge/index.liquid.js +13 -4
  27. package/dist/esm/product/components/ProductBadge/utils/generateLiquidContent.js +2 -2
  28. package/dist/esm/product/components/ProductDescription/index.liquid.js +22 -5
  29. package/dist/esm/product/setting/constant/bundle-layout/horizontalThree.js +1 -0
  30. package/dist/esm/product/setting/constant/bundle-layout/horizontalTwo.js +1 -0
  31. package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +1 -0
  32. package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +1 -0
  33. package/dist/esm/product/setting/product-badge/configs/settings.js +5 -0
  34. package/dist/esm/product/setting/product-description/configs/settings.js +5 -0
  35. package/dist/esm/stock-counter/components/StockCounter.js +0 -2
  36. package/dist/esm/stock-counter/components/StockCounter.liquid.js +46 -5
  37. package/dist/esm/stock-counter/components/common/getContent.js +19 -11
  38. package/dist/esm/stock-counter/helpers.js +20 -4
  39. package/dist/esm/stock-counter/index.js +0 -1
  40. package/dist/esm/stock-counter/setting/configs/settingsV2.js +5 -0
  41. package/dist/types/index.d.ts +17 -5
  42. package/package.json +3 -3
@@ -39,7 +39,7 @@ const isHexTransparent = (hex)=>{
39
39
  return Boolean(a);
40
40
  };
41
41
  const youtubeShortsRegex = /^(?:https?:\/\/)?(?:www\.)?youtube\.com\/shorts\/([^"&?/\s]{11})$/i;
42
- const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, isCapitalize, defaultVal = '', translate, isReplaceLocationOrigin, isReplaceMaxSize })=>{
42
+ const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, isCapitalize, defaultVal = '', translate, isReplaceLocationOrigin, isReplaceMaxSize, isReplaceInventoryQuantity })=>{
43
43
  const hasLiquidInValue = new RegExp(/\{\{.*?\}\}|\{%.*?%\}/).test(val?.toString() ?? '');
44
44
  const translateLimit = pageContext?.isTranslateWithLocale ? 1000 : 5000;
45
45
  if (!translate || !val?.toString().trim() || val.toString().length > translateLimit || hasLiquidInValue || pageContext?.isPreviewing) return val ?? defaultVal;
@@ -54,6 +54,9 @@ const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, i
54
54
  if (isReplaceMaxSize) {
55
55
  locale += ` | replace: '$max_size', '10MB'`;
56
56
  }
57
+ if (isReplaceInventoryQuantity) {
58
+ locale += ` | replace: '<$quantity$>', inventory_quantity | replace: '&lt;$quantity$&gt;', inventory_quantity`;
59
+ }
57
60
  if (isCapitalize) {
58
61
  locale = `${locale} | downcase`;
59
62
  }
@@ -9,8 +9,8 @@ var styles = require('./common/styles.js');
9
9
  var getNextImageLiquidAttrs = require('./helpers/getNextImageLiquidAttrs.js');
10
10
 
11
11
  const NextImage = (props)=>{
12
- const { style, setting, priority, className, pageContext, width, height, isNotLazyload, isDisableObjectFit, isDisableAspectStyle, enableLazyLoadImage = true } = props;
13
- const hasLazyLoad = !isNotLazyload && enableLazyLoadImage && !priority;
12
+ const { style, setting, priority, className, pageContext, width, height, customLazyload, isDisableObjectFit, isDisableAspectStyle, enableLazyLoadImage = true } = props;
13
+ const hasLazyLoad = !customLazyload && enableLazyLoadImage && !priority;
14
14
  const nextImageStyles = system.createStyle({
15
15
  ...style,
16
16
  ...styles.getNextImageStyles({
package/dist/cjs/index.js CHANGED
@@ -321,6 +321,7 @@ var StockCounter = require('./stock-counter/components/StockCounter.js');
321
321
  var ThirdPartySlot = require('./third-party-slot/components/ThirdPartySlot.js');
322
322
  var ShopPayInstallments = require('./shop-pay-installment/components/ShopPayInstallments.js');
323
323
  var Sticky = require('./sticky/components/Sticky.js');
324
+ var helpers$1 = require('./stock-counter/helpers.js');
324
325
 
325
326
 
326
327
 
@@ -660,3 +661,6 @@ exports.StockCounter = StockCounter.default;
660
661
  exports.ThirdPartySlot = ThirdPartySlot.default;
661
662
  exports.ShopPayInstallments = ShopPayInstallments.default;
662
663
  exports.Sticky = Sticky.default;
664
+ exports.convertSizeToWidth = helpers$1.convertSizeToWidth;
665
+ exports.transformHighlighTag = helpers$1.transformHighlighTag;
666
+ exports.transformNumberTag = helpers$1.transformNumberTag;
@@ -135,13 +135,13 @@ const SettingV2 = [
135
135
  },
136
136
  {
137
137
  id: 'ftEnabled',
138
- type: 'toggle:layout-post-purchase',
138
+ type: 'toggle',
139
139
  label: 'Feature image',
140
140
  default: true
141
141
  },
142
142
  {
143
143
  id: 'ilEnabled',
144
- type: 'toggle:layout-post-purchase',
144
+ type: 'toggle',
145
145
  label: 'Image list',
146
146
  default: true
147
147
  }
@@ -57,7 +57,42 @@ const SettingUIV2 = [
57
57
  fullWidth: true,
58
58
  tooltipPosition: 'right'
59
59
  },
60
- conditionEnable: 'ilEnabled == true'
60
+ conditionEnable: 'ilEnabled == true',
61
+ controlChangeTrigger: {
62
+ settings: [
63
+ {
64
+ condition: `ftEnabled === false && ilEnabled === true`,
65
+ source: [
66
+ 'ilEnabled',
67
+ 'ftEnabled',
68
+ 'layoutType'
69
+ ],
70
+ action: {
71
+ controlId: 'layoutType',
72
+ groupType: 'setting',
73
+ controlType: 'setting',
74
+ newValue: 'two-col'
75
+ }
76
+ },
77
+ {
78
+ condition: `ftEnabled === true && ilEnabled === true`,
79
+ source: [
80
+ 'ilEnabled',
81
+ 'ftEnabled',
82
+ 'layoutType'
83
+ ],
84
+ action: {
85
+ controlId: 'layoutType',
86
+ groupType: 'setting',
87
+ controlType: 'setting',
88
+ newValue: 'left'
89
+ }
90
+ }
91
+ ],
92
+ options: {
93
+ noRecordHistory: true
94
+ }
95
+ }
61
96
  },
62
97
  {
63
98
  setting: {
@@ -103,7 +138,42 @@ const SettingUIV2 = [
103
138
  fullWidth: true,
104
139
  tooltipPosition: 'right'
105
140
  },
106
- conditionEnable: 'ftEnabled == true'
141
+ conditionEnable: 'ftEnabled == true',
142
+ controlChangeTrigger: {
143
+ settings: [
144
+ {
145
+ condition: `ilEnabled === false && ftEnabled === true`,
146
+ source: [
147
+ 'ilEnabled',
148
+ 'ftEnabled',
149
+ 'layoutType'
150
+ ],
151
+ action: {
152
+ controlId: 'layoutType',
153
+ groupType: 'setting',
154
+ controlType: 'setting',
155
+ newValue: 'only-feature'
156
+ }
157
+ },
158
+ {
159
+ condition: `ilEnabled === true && ftEnabled === true`,
160
+ source: [
161
+ 'ilEnabled',
162
+ 'ftEnabled',
163
+ 'layoutType'
164
+ ],
165
+ action: {
166
+ controlId: 'layoutType',
167
+ groupType: 'setting',
168
+ controlType: 'setting',
169
+ newValue: 'left'
170
+ }
171
+ }
172
+ ],
173
+ options: {
174
+ noRecordHistory: true
175
+ }
176
+ }
107
177
  },
108
178
  {
109
179
  label: {
@@ -14,7 +14,7 @@ var getAttrs = require('./common/getAttrs.js');
14
14
  var constants = require('./constants.js');
15
15
 
16
16
  const ProductBadge = (props)=>{
17
- const { styles, setting } = props;
17
+ const { styles, setting, builderProps, pageContext } = props;
18
18
  const isTextBadge = setting?.shape !== 'image';
19
19
  const isDiscountContent = common.checkDiscountContentProductBadge(setting?.displayContent);
20
20
  const containerStyle = system.createStyle({
@@ -78,7 +78,6 @@ const ProductBadge = (props)=>{
78
78
  })
79
79
  });
80
80
  const createDataState = system.createStateOrContext({
81
- displayContent: setting?.displayContent,
82
81
  minPrice: `{{ minPriceValue | replace: '"', '\\"' | escape }}`,
83
82
  variantIDs: '{{ product.variants | map: "id" | json | escape }}',
84
83
  variantInventoryQuantities: '{{ product.variants | map: "inventory_quantity" | json | escape }}',
@@ -91,9 +90,18 @@ const ProductBadge = (props)=>{
91
90
  productTags: '{{ product.tags | join: "," }}',
92
91
  isTextBadge
93
92
  });
93
+ const { displayContent, translate } = setting ?? {};
94
+ const displayContentVal = helpers.getDynamicSourceLocales({
95
+ val: displayContent?.trim(),
96
+ uid: builderProps?.uid,
97
+ settingId: 'displayContent',
98
+ isLiquid: true,
99
+ pageContext,
100
+ translate
101
+ });
94
102
  return core.template`
95
103
  {% if product %}
96
- ${generateLiquidContent.generateBadgeContent(setting?.displayContent)}
104
+ ${generateLiquidContent.generateBadgeContent(displayContentVal, pageContext?.isPreviewing)}
97
105
  ${renderBadgeLiquid.renderBadgeInFirstTime(setting?.displayTrigger, isDiscountContent, isTextBadge)}
98
106
  <gp-product-badge
99
107
  ${{
@@ -102,6 +110,7 @@ const ProductBadge = (props)=>{
102
110
  gp-data='${core.dataStringify(createDataState)}'
103
111
  class="containerClass"
104
112
  style="${containerStyle}"
113
+ data-display-content="${pageContext?.isPreviewing ? displayContentVal : `{{${displayContentVal}}}`}"
105
114
  >
106
115
  <div class="${wrapperClass}">
107
116
  <div
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const generateBadgeContent = (content)=>{
3
+ const generateBadgeContent = (content, isPreviewing)=>{
4
4
  return `
5
- {% assign content = "${content?.trim()}" %}
5
+ {% assign content = ${isPreviewing ? JSON.stringify(content) : content} %}
6
6
 
7
7
  {%if content.size > 0 %}
8
8
  {% if variant.compare_at_price and variant.compare_at_price > 0 %}
@@ -10,8 +10,8 @@ var getStyle = require('./common/getStyle.js');
10
10
  var _const = require('./common/const.js');
11
11
 
12
12
  const ProductDescription = (props)=>{
13
- const { setting, advanced, builderProps } = props;
14
- const { htmlTag } = setting ?? {};
13
+ const { setting, advanced, builderProps, pageContext } = props;
14
+ const { htmlTag, translate, viewMoreText, viewLessText } = setting ?? {};
15
15
  const Tag = htmlTag === 'html' ? 'div' : 'p';
16
16
  const gpDescriptionClasses = system.createClass({
17
17
  'gp-product-description': true,
@@ -62,11 +62,28 @@ const ProductDescription = (props)=>{
62
62
  },
63
63
  textStyle
64
64
  });
65
+ const viewMoreTextDisplay = helpers.getDynamicSourceLocales({
66
+ val: viewMoreText,
67
+ uid: builderProps?.uid,
68
+ settingId: 'viewMoreText',
69
+ pageContext,
70
+ translate
71
+ });
72
+ const viewLessTextDisplay = helpers.getDynamicSourceLocales({
73
+ val: viewLessText,
74
+ uid: builderProps?.uid,
75
+ settingId: 'viewLessText',
76
+ pageContext,
77
+ translate
78
+ });
65
79
  return system.LiquidIf(noDescriptionHtml, '', system.Liquid(core.template`
66
80
  <gp-product-description-v2
67
81
  ${attr}
68
82
  class="${gpDescriptionClasses}"
69
- gp-data='${core.dataStringify(stateData).replaceAll("'", '&#039;')}'>
83
+ gp-data='${core.dataStringify(stateData).replaceAll("'", '&#039;')}'
84
+ data-view-more-text="${viewMoreTextDisplay}"
85
+ data-view-less-text="${viewLessTextDisplay}"
86
+ >
70
87
  <style>${textDescriptionCss}</style>
71
88
  <div class="${classPreBuilt}" ></div>
72
89
  ${system.LiquidUnless('product', `<p>Product not found</p>`, core.template`<${Tag} ${textAttr} class="${textClasses}" style="${textStyle}">
@@ -74,7 +91,7 @@ const ProductDescription = (props)=>{
74
91
  </${Tag}>
75
92
  ${system.LiquidUnless(noDescriptionHtml, core.template`<button type="button" class="${buttonClasses}" style="${buttonStyle}">
76
93
  <span class="${showMoreTextClasses}">
77
- ${system.If(false, setting?.viewLessText || '', setting?.viewMoreText)}
94
+ ${system.If(false, viewLessTextDisplay?.toString(), viewMoreTextDisplay?.toString())}
78
95
  </span>
79
96
  ${system.If(setting?.enableViewMoreIcon, core.template`<span class="${showMoreIconClasses}">${_const.ICON_SVG}</span>`, ' ')}
80
97
  </button>`)}`)}
@@ -60,6 +60,7 @@ const horizontalThree = [
60
60
  settings: {
61
61
  contentType: 'text',
62
62
  displayContent: 'SALE {percent_discount}',
63
+ translate: 'displayContent',
63
64
  displayTrigger: [
64
65
  {
65
66
  conditionType: 'exact_or_above',
@@ -59,6 +59,7 @@ const horizontalTwo = [
59
59
  settings: {
60
60
  contentType: 'text',
61
61
  displayContent: 'SALE {percent_discount}',
62
+ translate: 'displayContent',
62
63
  displayTrigger: [
63
64
  {
64
65
  conditionType: 'exact_or_above',
@@ -200,6 +200,7 @@ const verticalThree = [
200
200
  settings: {
201
201
  contentType: 'text',
202
202
  displayContent: 'SALE {percent_discount}',
203
+ translate: 'displayContent',
203
204
  displayTrigger: [
204
205
  {
205
206
  conditionType: 'exact_or_above',
@@ -200,6 +200,7 @@ const verticalTwo = [
200
200
  settings: {
201
201
  contentType: 'text',
202
202
  displayContent: 'SALE {percent_discount}',
203
+ translate: 'displayContent',
203
204
  displayTrigger: [
204
205
  {
205
206
  conditionType: 'exact_or_above',
@@ -134,6 +134,11 @@ const ProductBadgeSettings = [
134
134
  message: `{inventory_quantity} Only work with product enable “Track inventory”`,
135
135
  closable: true
136
136
  },
137
+ {
138
+ id: 'translate',
139
+ type: 'input',
140
+ default: 'displayContent'
141
+ },
137
142
  {
138
143
  id: 'contentType',
139
144
  label: 'Shape',
@@ -63,6 +63,11 @@ const ProductDescriptionSettings = [
63
63
  default: 'Show less',
64
64
  hide: true
65
65
  },
66
+ {
67
+ id: 'translate',
68
+ type: 'input',
69
+ default: 'viewMoreText,viewLessText'
70
+ },
66
71
  {
67
72
  id: 'enableViewMoreIcon',
68
73
  label: 'Enable Icon',
@@ -9,8 +9,6 @@ var useStockCounterInteraction = require('../hooks/useStockCounterInteraction.js
9
9
  var getInlineCss = require('./common/getInlineCss.js');
10
10
  var getClasses = require('./common/getClasses.js');
11
11
  var getStyles = require('./common/getStyles.js');
12
- require('next/link');
13
- require('@gem-sdk/core');
14
12
  var getAttrs = require('./common/getAttrs.js');
15
13
  var system = require('@gem-sdk/system');
16
14
  var useStockCounter = require('./hook/useStockCounter.js');
@@ -11,11 +11,40 @@ var getContent = require('./common/getContent.js');
11
11
  var getAttrs = require('./common/getAttrs.js');
12
12
  var system = require('@gem-sdk/system');
13
13
 
14
- const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
14
+ const StockCounter = ({ setting, styles, style, advanced, builderProps, pageContext })=>{
15
15
  const { borderRadius } = styles ?? {};
16
- const { showIcon, icon, oosIcon, layout = 'full' } = setting ?? {};
16
+ const { showIcon, icon, oosIcon, layout = 'full', template: templateString, outOfStockMessage, continueSelling, unlimitedQuantityMessage } = setting ?? {};
17
17
  const inlineCss = getInlineCss.getInlineCss(builderProps?.uid, borderRadius);
18
18
  const showText = layout !== 'progress-bar';
19
+ const templateStringDisplay = helpers.getDynamicSourceLocales({
20
+ val: templateString,
21
+ uid: builderProps?.uid,
22
+ settingId: 'template',
23
+ pageContext,
24
+ translate: setting?.translate,
25
+ isReplaceInventoryQuantity: true
26
+ });
27
+ const outOfStockMessageDisplay = helpers.getDynamicSourceLocales({
28
+ val: outOfStockMessage,
29
+ uid: builderProps?.uid,
30
+ settingId: 'outOfStockMessage',
31
+ pageContext,
32
+ translate: setting?.translate
33
+ });
34
+ const continueSellingDisplay = helpers.getDynamicSourceLocales({
35
+ val: continueSelling,
36
+ uid: builderProps?.uid,
37
+ settingId: 'continueSelling',
38
+ pageContext,
39
+ translate: setting?.translate
40
+ });
41
+ const unlimitedQuantityMessageDisplay = helpers.getDynamicSourceLocales({
42
+ val: unlimitedQuantityMessage,
43
+ uid: builderProps?.uid,
44
+ settingId: 'unlimitedQuantityMessage',
45
+ pageContext,
46
+ translate: setting?.translate
47
+ });
19
48
  const liquidTagAttrs = system.createAttr({
20
49
  ...getAttrs.getLiquidTagAttrs(builderProps, setting, styles)
21
50
  });
@@ -40,7 +69,12 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
40
69
  ...getStyles.getWrapperStyles(styles)
41
70
  });
42
71
  const liquidInitData = getContent.getLiquidInitData(setting, styles);
43
- const liquidTextContent = getContent.getLiquidTextContent(setting, styles);
72
+ const liquidTextContent = getContent.getLiquidTextContent({
73
+ templateStringDisplay,
74
+ outOfStockMessageDisplay,
75
+ continueSellingDisplay,
76
+ unlimitedQuantityMessageDisplay
77
+ });
44
78
  const wrapperIconClasses = system.createClass({
45
79
  ...getClasses.getWrapperIconClasses(setting)
46
80
  });
@@ -73,6 +107,12 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
73
107
  const textAttrs = system.createAttr({
74
108
  ...getAttrs.getLiquidTextAttrs()
75
109
  });
110
+ const textDisplayData = getContent.getTextDisplayData({
111
+ templateStringDisplay,
112
+ outOfStockMessageDisplay,
113
+ continueSellingDisplay,
114
+ unlimitedQuantityMessageDisplay
115
+ }, styles);
76
116
  return core.template /* liquid */ `
77
117
  ${liquidInitData}
78
118
  <gp-product-stock-counter ${{
@@ -135,6 +175,7 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
135
175
  ${icon}
136
176
  </div>`)}
137
177
  `)}
178
+ ${textDisplayData}
138
179
  ${core.RenderIf(showText, core.template`
139
180
  ${system.LiquidIf('is_out_of_stock', core.template`<p
140
181
  ${{
@@ -1,21 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var helpers$1 = require('../../../helpers.js');
4
3
  var _const = require('../../const.js');
5
- var helpers = require('../../helpers.js');
6
4
 
7
- const getLiquidTextContent = (setting, styles)=>{
8
- const { template: templateString, outOfStockMessage, continueSelling, unlimitedQuantityMessage } = setting ?? {};
9
- const { textColor } = styles ?? {};
10
- const mainColor = textColor || 'brand';
5
+ const getLiquidTextContent = (data)=>{
6
+ const { templateStringDisplay, outOfStockMessageDisplay, continueSellingDisplay, unlimitedQuantityMessageDisplay } = data ?? {};
11
7
  return `{% if inventory_management == null and inventory_quantity <= 0 %}
12
- ${helpers.transformHighlighTag(unlimitedQuantityMessage ?? helpers$1.getStaticLocale('StockCounter', 'let_buy_now'), mainColor)}
8
+ ${unlimitedQuantityMessageDisplay}
13
9
  {% elsif available == false %}
14
- ${helpers.transformHighlighTag(outOfStockMessage || '', mainColor)}
10
+ ${outOfStockMessageDisplay}
15
11
  {% elsif available and inventory_policy == '${_const.CONTINUE_SELLING_WHEN_OUT_OF_STOCK.toLowerCase()}' and inventory_quantity <= 0 %}
16
- ${helpers.transformHighlighTag(continueSelling || '', mainColor)}
12
+ ${continueSellingDisplay}
17
13
  {% else %}
18
- ${helpers.transformHighlighTag(helpers.transformNumberTag(templateString || '', mainColor, `{{ inventory_quantity }}`), mainColor)}
14
+ ${templateStringDisplay}
19
15
  {% endif %}`;
20
16
  };
21
17
  const getLiquidInitData = (setting, styles)=>{
@@ -68,6 +64,19 @@ const getLiquidInitData = (setting, styles)=>{
68
64
  }
69
65
  {% endcapture %}`;
70
66
  };
67
+ const getTextDisplayData = (data, styles)=>{
68
+ const { templateStringDisplay, outOfStockMessageDisplay, continueSellingDisplay, unlimitedQuantityMessageDisplay } = data ?? {};
69
+ const { textColor } = styles ?? {};
70
+ const mainColor = textColor || 'brand';
71
+ return `
72
+ <div class="gp-hidden gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px] gp-text-g-${mainColor} gp-bg-g-${mainColor}" >
73
+ <div id="template">${templateStringDisplay}</div>
74
+ <div id="out-of-stock-message">${outOfStockMessageDisplay}</div>
75
+ <div id="continue-selling">${continueSellingDisplay}</div>
76
+ <div id="unlimited-quantity-message">${unlimitedQuantityMessageDisplay}</div>
77
+ </div>`;
78
+ };
71
79
 
72
80
  exports.getLiquidInitData = getLiquidInitData;
73
81
  exports.getLiquidTextContent = getLiquidTextContent;
82
+ exports.getTextDisplayData = getTextDisplayData;
@@ -28,13 +28,30 @@ const transformNumberTag = (template, stringColor, quantityLeft)=>{
28
28
  let quantityTag = '';
29
29
  // Is hex color
30
30
  if (stringColor.includes('#')) {
31
- quantityTag = `<span style='--c: ${stringColor}'>$quantity$</span>`;
31
+ quantityTag = `<span style='--c: ${stringColor}'><$quantity$></span>`;
32
32
  } else {
33
33
  // Is global style color
34
- quantityTag = `<span class='gp-text-g-${stringColor}'>$quantity$</span>`;
34
+ quantityTag = `<span class='gp-text-g-${stringColor}'><$quantity$></span>`;
35
35
  }
36
- return template.replaceAll(_const.DEFAULT_QUANTITY_TEMPLATE, quantityTag.replace('$quantity$', quantityLeft.toString()));
36
+ if (quantityLeft) {
37
+ quantityTag = quantityTag.replace('<$quantity$>', quantityLeft.toString());
38
+ }
39
+ return template.replaceAll(_const.DEFAULT_QUANTITY_TEMPLATE, quantityTag);
40
+ };
41
+ const convertSizeToWidth = (typographyVar)=>{
42
+ const widthObject = {};
43
+ if (typographyVar['--size']) {
44
+ widthObject['--w'] = typographyVar['--size'];
45
+ }
46
+ if (typographyVar['--size-tablet']) {
47
+ widthObject['--w-tablet'] = typographyVar['--size-tablet'];
48
+ }
49
+ if (typographyVar['--size-mobile']) {
50
+ widthObject['--w-mobile'] = typographyVar['--size-mobile'];
51
+ }
52
+ return widthObject;
37
53
  };
38
54
 
55
+ exports.convertSizeToWidth = convertSizeToWidth;
39
56
  exports.transformHighlighTag = transformHighlighTag;
40
57
  exports.transformNumberTag = transformNumberTag;
@@ -4,7 +4,6 @@ var StockCounter$1 = require('./setting/StockCounter.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('@gem-sdk/core');
7
- require('next/link');
8
7
  require('@gem-sdk/system');
9
8
 
10
9
  const stockCounterSetting = {
@@ -142,6 +142,11 @@ const StockCounterSettingsV2 = [
142
142
  type: 'textarea',
143
143
  autoHeight: true,
144
144
  default: 'Hurry! LET BUY NOW'
145
+ },
146
+ {
147
+ id: 'translate',
148
+ type: 'input',
149
+ default: 'template,outOfStockMessage,continueSelling,unlimitedQuantityMessage'
145
150
  }
146
151
  ]
147
152
  },
@@ -37,7 +37,7 @@ const isHexTransparent = (hex)=>{
37
37
  return Boolean(a);
38
38
  };
39
39
  const youtubeShortsRegex = /^(?:https?:\/\/)?(?:www\.)?youtube\.com\/shorts\/([^"&?/\s]{11})$/i;
40
- const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, isCapitalize, defaultVal = '', translate, isReplaceLocationOrigin, isReplaceMaxSize })=>{
40
+ const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, isCapitalize, defaultVal = '', translate, isReplaceLocationOrigin, isReplaceMaxSize, isReplaceInventoryQuantity })=>{
41
41
  const hasLiquidInValue = new RegExp(/\{\{.*?\}\}|\{%.*?%\}/).test(val?.toString() ?? '');
42
42
  const translateLimit = pageContext?.isTranslateWithLocale ? 1000 : 5000;
43
43
  if (!translate || !val?.toString().trim() || val.toString().length > translateLimit || hasLiquidInValue || pageContext?.isPreviewing) return val ?? defaultVal;
@@ -52,6 +52,9 @@ const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, i
52
52
  if (isReplaceMaxSize) {
53
53
  locale += ` | replace: '$max_size', '10MB'`;
54
54
  }
55
+ if (isReplaceInventoryQuantity) {
56
+ locale += ` | replace: '<$quantity$>', inventory_quantity | replace: '&lt;$quantity$&gt;', inventory_quantity`;
57
+ }
55
58
  if (isCapitalize) {
56
59
  locale = `${locale} | downcase`;
57
60
  }
@@ -5,8 +5,8 @@ import { getNextImageStyles } from './common/styles.js';
5
5
  import { getNextImageLiquidAttrs } from './helpers/getNextImageLiquidAttrs.js';
6
6
 
7
7
  const NextImage = (props)=>{
8
- const { style, setting, priority, className, pageContext, width, height, isNotLazyload, isDisableObjectFit, isDisableAspectStyle, enableLazyLoadImage = true } = props;
9
- const hasLazyLoad = !isNotLazyload && enableLazyLoadImage && !priority;
8
+ const { style, setting, priority, className, pageContext, width, height, customLazyload, isDisableObjectFit, isDisableAspectStyle, enableLazyLoadImage = true } = props;
9
+ const hasLazyLoad = !customLazyload && enableLazyLoadImage && !priority;
10
10
  const nextImageStyles = createStyle({
11
11
  ...style,
12
12
  ...getNextImageStyles({
package/dist/esm/index.js CHANGED
@@ -320,3 +320,4 @@ export { default as StockCounter } from './stock-counter/components/StockCounter
320
320
  export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.js';
321
321
  export { default as ShopPayInstallments } from './shop-pay-installment/components/ShopPayInstallments.js';
322
322
  export { default as Sticky } from './sticky/components/Sticky.js';
323
+ export { convertSizeToWidth, transformHighlighTag, transformNumberTag } from './stock-counter/helpers.js';
@@ -133,13 +133,13 @@ const SettingV2 = [
133
133
  },
134
134
  {
135
135
  id: 'ftEnabled',
136
- type: 'toggle:layout-post-purchase',
136
+ type: 'toggle',
137
137
  label: 'Feature image',
138
138
  default: true
139
139
  },
140
140
  {
141
141
  id: 'ilEnabled',
142
- type: 'toggle:layout-post-purchase',
142
+ type: 'toggle',
143
143
  label: 'Image list',
144
144
  default: true
145
145
  }
@@ -55,7 +55,42 @@ const SettingUIV2 = [
55
55
  fullWidth: true,
56
56
  tooltipPosition: 'right'
57
57
  },
58
- conditionEnable: 'ilEnabled == true'
58
+ conditionEnable: 'ilEnabled == true',
59
+ controlChangeTrigger: {
60
+ settings: [
61
+ {
62
+ condition: `ftEnabled === false && ilEnabled === true`,
63
+ source: [
64
+ 'ilEnabled',
65
+ 'ftEnabled',
66
+ 'layoutType'
67
+ ],
68
+ action: {
69
+ controlId: 'layoutType',
70
+ groupType: 'setting',
71
+ controlType: 'setting',
72
+ newValue: 'two-col'
73
+ }
74
+ },
75
+ {
76
+ condition: `ftEnabled === true && ilEnabled === true`,
77
+ source: [
78
+ 'ilEnabled',
79
+ 'ftEnabled',
80
+ 'layoutType'
81
+ ],
82
+ action: {
83
+ controlId: 'layoutType',
84
+ groupType: 'setting',
85
+ controlType: 'setting',
86
+ newValue: 'left'
87
+ }
88
+ }
89
+ ],
90
+ options: {
91
+ noRecordHistory: true
92
+ }
93
+ }
59
94
  },
60
95
  {
61
96
  setting: {
@@ -101,7 +136,42 @@ const SettingUIV2 = [
101
136
  fullWidth: true,
102
137
  tooltipPosition: 'right'
103
138
  },
104
- conditionEnable: 'ftEnabled == true'
139
+ conditionEnable: 'ftEnabled == true',
140
+ controlChangeTrigger: {
141
+ settings: [
142
+ {
143
+ condition: `ilEnabled === false && ftEnabled === true`,
144
+ source: [
145
+ 'ilEnabled',
146
+ 'ftEnabled',
147
+ 'layoutType'
148
+ ],
149
+ action: {
150
+ controlId: 'layoutType',
151
+ groupType: 'setting',
152
+ controlType: 'setting',
153
+ newValue: 'only-feature'
154
+ }
155
+ },
156
+ {
157
+ condition: `ilEnabled === true && ftEnabled === true`,
158
+ source: [
159
+ 'ilEnabled',
160
+ 'ftEnabled',
161
+ 'layoutType'
162
+ ],
163
+ action: {
164
+ controlId: 'layoutType',
165
+ groupType: 'setting',
166
+ controlType: 'setting',
167
+ newValue: 'left'
168
+ }
169
+ }
170
+ ],
171
+ options: {
172
+ noRecordHistory: true
173
+ }
174
+ }
105
175
  },
106
176
  {
107
177
  label: {
@@ -1,5 +1,5 @@
1
1
  import { template, dataStringify, RenderIf, isLocalEnv, baseAssetURL } from '@gem-sdk/core';
2
- import { getSettingPreloadData } from '../../../helpers.js';
2
+ import { getDynamicSourceLocales, getSettingPreloadData } from '../../../helpers.js';
3
3
  import { checkDiscountContentProductBadge } from './utils/common.js';
4
4
  import { generateBadgeContent } from './utils/generateLiquidContent.js';
5
5
  import { renderBadgeInFirstTime } from './utils/renderBadgeLiquid.js';
@@ -10,7 +10,7 @@ import { getSubWrapperAttrs, getContainerAttrs, getTextContentAttrs, getImageAtt
10
10
  import { IS_LIQUID } from './constants.js';
11
11
 
12
12
  const ProductBadge = (props)=>{
13
- const { styles, setting } = props;
13
+ const { styles, setting, builderProps, pageContext } = props;
14
14
  const isTextBadge = setting?.shape !== 'image';
15
15
  const isDiscountContent = checkDiscountContentProductBadge(setting?.displayContent);
16
16
  const containerStyle = createStyle({
@@ -74,7 +74,6 @@ const ProductBadge = (props)=>{
74
74
  })
75
75
  });
76
76
  const createDataState = createStateOrContext({
77
- displayContent: setting?.displayContent,
78
77
  minPrice: `{{ minPriceValue | replace: '"', '\\"' | escape }}`,
79
78
  variantIDs: '{{ product.variants | map: "id" | json | escape }}',
80
79
  variantInventoryQuantities: '{{ product.variants | map: "inventory_quantity" | json | escape }}',
@@ -87,9 +86,18 @@ const ProductBadge = (props)=>{
87
86
  productTags: '{{ product.tags | join: "," }}',
88
87
  isTextBadge
89
88
  });
89
+ const { displayContent, translate } = setting ?? {};
90
+ const displayContentVal = getDynamicSourceLocales({
91
+ val: displayContent?.trim(),
92
+ uid: builderProps?.uid,
93
+ settingId: 'displayContent',
94
+ isLiquid: true,
95
+ pageContext,
96
+ translate
97
+ });
90
98
  return template`
91
99
  {% if product %}
92
- ${generateBadgeContent(setting?.displayContent)}
100
+ ${generateBadgeContent(displayContentVal, pageContext?.isPreviewing)}
93
101
  ${renderBadgeInFirstTime(setting?.displayTrigger, isDiscountContent, isTextBadge)}
94
102
  <gp-product-badge
95
103
  ${{
@@ -98,6 +106,7 @@ const ProductBadge = (props)=>{
98
106
  gp-data='${dataStringify(createDataState)}'
99
107
  class="containerClass"
100
108
  style="${containerStyle}"
109
+ data-display-content="${pageContext?.isPreviewing ? displayContentVal : `{{${displayContentVal}}}`}"
101
110
  >
102
111
  <div class="${wrapperClass}">
103
112
  <div
@@ -1,6 +1,6 @@
1
- const generateBadgeContent = (content)=>{
1
+ const generateBadgeContent = (content, isPreviewing)=>{
2
2
  return `
3
- {% assign content = "${content?.trim()}" %}
3
+ {% assign content = ${isPreviewing ? JSON.stringify(content) : content} %}
4
4
 
5
5
  {%if content.size > 0 %}
6
6
  {% if variant.compare_at_price and variant.compare_at_price > 0 %}
@@ -1,13 +1,13 @@
1
1
  import { makeStyleResponsive, makeLineClamp, template, dataStringify, isLocalEnv, baseAssetURL } from '@gem-sdk/core';
2
- import { getSettingPreloadData } from '../../../helpers.js';
2
+ import { getDynamicSourceLocales, getSettingPreloadData } from '../../../helpers.js';
3
3
  import { createClass, createStyle, createAttr, createStateOrContext, LiquidIf, Liquid, LiquidUnless, If } from '@gem-sdk/system';
4
4
  import { getClasses, getButtonClasses, getClassPreBuilt } from './common/getClasses.js';
5
5
  import { getTextStyle, getButtonStyle, getStaticCss } from './common/getStyle.js';
6
6
  import { ICON_SVG } from './common/const.js';
7
7
 
8
8
  const ProductDescription = (props)=>{
9
- const { setting, advanced, builderProps } = props;
10
- const { htmlTag } = setting ?? {};
9
+ const { setting, advanced, builderProps, pageContext } = props;
10
+ const { htmlTag, translate, viewMoreText, viewLessText } = setting ?? {};
11
11
  const Tag = htmlTag === 'html' ? 'div' : 'p';
12
12
  const gpDescriptionClasses = createClass({
13
13
  'gp-product-description': true,
@@ -58,11 +58,28 @@ const ProductDescription = (props)=>{
58
58
  },
59
59
  textStyle
60
60
  });
61
+ const viewMoreTextDisplay = getDynamicSourceLocales({
62
+ val: viewMoreText,
63
+ uid: builderProps?.uid,
64
+ settingId: 'viewMoreText',
65
+ pageContext,
66
+ translate
67
+ });
68
+ const viewLessTextDisplay = getDynamicSourceLocales({
69
+ val: viewLessText,
70
+ uid: builderProps?.uid,
71
+ settingId: 'viewLessText',
72
+ pageContext,
73
+ translate
74
+ });
61
75
  return LiquidIf(noDescriptionHtml, '', Liquid(template`
62
76
  <gp-product-description-v2
63
77
  ${attr}
64
78
  class="${gpDescriptionClasses}"
65
- gp-data='${dataStringify(stateData).replaceAll("'", '&#039;')}'>
79
+ gp-data='${dataStringify(stateData).replaceAll("'", '&#039;')}'
80
+ data-view-more-text="${viewMoreTextDisplay}"
81
+ data-view-less-text="${viewLessTextDisplay}"
82
+ >
66
83
  <style>${textDescriptionCss}</style>
67
84
  <div class="${classPreBuilt}" ></div>
68
85
  ${LiquidUnless('product', `<p>Product not found</p>`, template`<${Tag} ${textAttr} class="${textClasses}" style="${textStyle}">
@@ -70,7 +87,7 @@ const ProductDescription = (props)=>{
70
87
  </${Tag}>
71
88
  ${LiquidUnless(noDescriptionHtml, template`<button type="button" class="${buttonClasses}" style="${buttonStyle}">
72
89
  <span class="${showMoreTextClasses}">
73
- ${If(false, setting?.viewLessText || '', setting?.viewMoreText)}
90
+ ${If(false, viewLessTextDisplay?.toString(), viewMoreTextDisplay?.toString())}
74
91
  </span>
75
92
  ${If(setting?.enableViewMoreIcon, template`<span class="${showMoreIconClasses}">${ICON_SVG}</span>`, ' ')}
76
93
  </button>`)}`)}
@@ -58,6 +58,7 @@ const horizontalThree = [
58
58
  settings: {
59
59
  contentType: 'text',
60
60
  displayContent: 'SALE {percent_discount}',
61
+ translate: 'displayContent',
61
62
  displayTrigger: [
62
63
  {
63
64
  conditionType: 'exact_or_above',
@@ -57,6 +57,7 @@ const horizontalTwo = [
57
57
  settings: {
58
58
  contentType: 'text',
59
59
  displayContent: 'SALE {percent_discount}',
60
+ translate: 'displayContent',
60
61
  displayTrigger: [
61
62
  {
62
63
  conditionType: 'exact_or_above',
@@ -198,6 +198,7 @@ const verticalThree = [
198
198
  settings: {
199
199
  contentType: 'text',
200
200
  displayContent: 'SALE {percent_discount}',
201
+ translate: 'displayContent',
201
202
  displayTrigger: [
202
203
  {
203
204
  conditionType: 'exact_or_above',
@@ -198,6 +198,7 @@ const verticalTwo = [
198
198
  settings: {
199
199
  contentType: 'text',
200
200
  displayContent: 'SALE {percent_discount}',
201
+ translate: 'displayContent',
201
202
  displayTrigger: [
202
203
  {
203
204
  conditionType: 'exact_or_above',
@@ -132,6 +132,11 @@ const ProductBadgeSettings = [
132
132
  message: `{inventory_quantity} Only work with product enable “Track inventory”`,
133
133
  closable: true
134
134
  },
135
+ {
136
+ id: 'translate',
137
+ type: 'input',
138
+ default: 'displayContent'
139
+ },
135
140
  {
136
141
  id: 'contentType',
137
142
  label: 'Shape',
@@ -61,6 +61,11 @@ const ProductDescriptionSettings = [
61
61
  default: 'Show less',
62
62
  hide: true
63
63
  },
64
+ {
65
+ id: 'translate',
66
+ type: 'input',
67
+ default: 'viewMoreText,viewLessText'
68
+ },
64
69
  {
65
70
  id: 'enableViewMoreIcon',
66
71
  label: 'Enable Icon',
@@ -5,8 +5,6 @@ import { useStockCounterInteraction } from '../hooks/useStockCounterInteraction.
5
5
  import { getInlineCss } from './common/getInlineCss.js';
6
6
  import { getProgressBarClasses, getContainerClasses, getWrapperIconClasses, getIconClasses, getTextClasses, getWrapperClasses } from './common/getClasses.js';
7
7
  import { getProgressBarStyles, getContainerStyles, getWrapperStyles, getIconStyles, getTextStyles } from './common/getStyles.js';
8
- import 'next/link';
9
- import '@gem-sdk/core';
10
8
  import { getWrapperAttrs, getIconAttrs } from './common/getAttrs.js';
11
9
  import { createClass, createStyle, createAttr } from '@gem-sdk/system';
12
10
  import { useStockCounter } from './hook/useStockCounter.js';
@@ -1,17 +1,46 @@
1
1
  import { composeClasses, template, RenderIf, isLocalEnv, baseAssetURL } from '@gem-sdk/core';
2
- import { getSettingPreloadData } from '../../helpers.js';
2
+ import { getDynamicSourceLocales, getSettingPreloadData } from '../../helpers.js';
3
3
  import { getInlineCss } from './common/getInlineCss.js';
4
4
  import { getProgressBarClasses, getContainerClasses, getLiquidTagClasses, getWrapperIconClasses, getIconClasses, getTextClasses } from './common/getClasses.js';
5
5
  import { getProgressBarStyles, getContainerStyles, getWrapperStyles, getIconStyles, getTextStyles } from './common/getStyles.js';
6
- import { getLiquidTextContent, getLiquidInitData } from './common/getContent.js';
6
+ import { getLiquidInitData, getLiquidTextContent, getTextDisplayData } from './common/getContent.js';
7
7
  import { getLiquidTagAttrs, getLiquidProgressBarAttrs, getLiquidTextAttrs, getIconAttrs } from './common/getAttrs.js';
8
8
  import { createAttr, createClass, createStyle, LiquidIf } from '@gem-sdk/system';
9
9
 
10
- const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
10
+ const StockCounter = ({ setting, styles, style, advanced, builderProps, pageContext })=>{
11
11
  const { borderRadius } = styles ?? {};
12
- const { showIcon, icon, oosIcon, layout = 'full' } = setting ?? {};
12
+ const { showIcon, icon, oosIcon, layout = 'full', template: templateString, outOfStockMessage, continueSelling, unlimitedQuantityMessage } = setting ?? {};
13
13
  const inlineCss = getInlineCss(builderProps?.uid, borderRadius);
14
14
  const showText = layout !== 'progress-bar';
15
+ const templateStringDisplay = getDynamicSourceLocales({
16
+ val: templateString,
17
+ uid: builderProps?.uid,
18
+ settingId: 'template',
19
+ pageContext,
20
+ translate: setting?.translate,
21
+ isReplaceInventoryQuantity: true
22
+ });
23
+ const outOfStockMessageDisplay = getDynamicSourceLocales({
24
+ val: outOfStockMessage,
25
+ uid: builderProps?.uid,
26
+ settingId: 'outOfStockMessage',
27
+ pageContext,
28
+ translate: setting?.translate
29
+ });
30
+ const continueSellingDisplay = getDynamicSourceLocales({
31
+ val: continueSelling,
32
+ uid: builderProps?.uid,
33
+ settingId: 'continueSelling',
34
+ pageContext,
35
+ translate: setting?.translate
36
+ });
37
+ const unlimitedQuantityMessageDisplay = getDynamicSourceLocales({
38
+ val: unlimitedQuantityMessage,
39
+ uid: builderProps?.uid,
40
+ settingId: 'unlimitedQuantityMessage',
41
+ pageContext,
42
+ translate: setting?.translate
43
+ });
15
44
  const liquidTagAttrs = createAttr({
16
45
  ...getLiquidTagAttrs(builderProps, setting, styles)
17
46
  });
@@ -36,7 +65,12 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
36
65
  ...getWrapperStyles(styles)
37
66
  });
38
67
  const liquidInitData = getLiquidInitData(setting, styles);
39
- const liquidTextContent = getLiquidTextContent(setting, styles);
68
+ const liquidTextContent = getLiquidTextContent({
69
+ templateStringDisplay,
70
+ outOfStockMessageDisplay,
71
+ continueSellingDisplay,
72
+ unlimitedQuantityMessageDisplay
73
+ });
40
74
  const wrapperIconClasses = createClass({
41
75
  ...getWrapperIconClasses(setting)
42
76
  });
@@ -69,6 +103,12 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
69
103
  const textAttrs = createAttr({
70
104
  ...getLiquidTextAttrs()
71
105
  });
106
+ const textDisplayData = getTextDisplayData({
107
+ templateStringDisplay,
108
+ outOfStockMessageDisplay,
109
+ continueSellingDisplay,
110
+ unlimitedQuantityMessageDisplay
111
+ }, styles);
72
112
  return template /* liquid */ `
73
113
  ${liquidInitData}
74
114
  <gp-product-stock-counter ${{
@@ -131,6 +171,7 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps })=>{
131
171
  ${icon}
132
172
  </div>`)}
133
173
  `)}
174
+ ${textDisplayData}
134
175
  ${RenderIf(showText, template`
135
176
  ${LiquidIf('is_out_of_stock', template`<p
136
177
  ${{
@@ -1,19 +1,15 @@
1
- import { getStaticLocale } from '../../../helpers.js';
2
1
  import { CONTINUE_SELLING_WHEN_OUT_OF_STOCK } from '../../const.js';
3
- import { transformHighlighTag, transformNumberTag } from '../../helpers.js';
4
2
 
5
- const getLiquidTextContent = (setting, styles)=>{
6
- const { template: templateString, outOfStockMessage, continueSelling, unlimitedQuantityMessage } = setting ?? {};
7
- const { textColor } = styles ?? {};
8
- const mainColor = textColor || 'brand';
3
+ const getLiquidTextContent = (data)=>{
4
+ const { templateStringDisplay, outOfStockMessageDisplay, continueSellingDisplay, unlimitedQuantityMessageDisplay } = data ?? {};
9
5
  return `{% if inventory_management == null and inventory_quantity <= 0 %}
10
- ${transformHighlighTag(unlimitedQuantityMessage ?? getStaticLocale('StockCounter', 'let_buy_now'), mainColor)}
6
+ ${unlimitedQuantityMessageDisplay}
11
7
  {% elsif available == false %}
12
- ${transformHighlighTag(outOfStockMessage || '', mainColor)}
8
+ ${outOfStockMessageDisplay}
13
9
  {% elsif available and inventory_policy == '${CONTINUE_SELLING_WHEN_OUT_OF_STOCK.toLowerCase()}' and inventory_quantity <= 0 %}
14
- ${transformHighlighTag(continueSelling || '', mainColor)}
10
+ ${continueSellingDisplay}
15
11
  {% else %}
16
- ${transformHighlighTag(transformNumberTag(templateString || '', mainColor, `{{ inventory_quantity }}`), mainColor)}
12
+ ${templateStringDisplay}
17
13
  {% endif %}`;
18
14
  };
19
15
  const getLiquidInitData = (setting, styles)=>{
@@ -66,5 +62,17 @@ const getLiquidInitData = (setting, styles)=>{
66
62
  }
67
63
  {% endcapture %}`;
68
64
  };
65
+ const getTextDisplayData = (data, styles)=>{
66
+ const { templateStringDisplay, outOfStockMessageDisplay, continueSellingDisplay, unlimitedQuantityMessageDisplay } = data ?? {};
67
+ const { textColor } = styles ?? {};
68
+ const mainColor = textColor || 'brand';
69
+ return `
70
+ <div class="gp-hidden gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px] gp-text-g-${mainColor} gp-bg-g-${mainColor}" >
71
+ <div id="template">${templateStringDisplay}</div>
72
+ <div id="out-of-stock-message">${outOfStockMessageDisplay}</div>
73
+ <div id="continue-selling">${continueSellingDisplay}</div>
74
+ <div id="unlimited-quantity-message">${unlimitedQuantityMessageDisplay}</div>
75
+ </div>`;
76
+ };
69
77
 
70
- export { getLiquidInitData, getLiquidTextContent };
78
+ export { getLiquidInitData, getLiquidTextContent, getTextDisplayData };
@@ -26,12 +26,28 @@ const transformNumberTag = (template, stringColor, quantityLeft)=>{
26
26
  let quantityTag = '';
27
27
  // Is hex color
28
28
  if (stringColor.includes('#')) {
29
- quantityTag = `<span style='--c: ${stringColor}'>$quantity$</span>`;
29
+ quantityTag = `<span style='--c: ${stringColor}'><$quantity$></span>`;
30
30
  } else {
31
31
  // Is global style color
32
- quantityTag = `<span class='gp-text-g-${stringColor}'>$quantity$</span>`;
32
+ quantityTag = `<span class='gp-text-g-${stringColor}'><$quantity$></span>`;
33
33
  }
34
- return template.replaceAll(DEFAULT_QUANTITY_TEMPLATE, quantityTag.replace('$quantity$', quantityLeft.toString()));
34
+ if (quantityLeft) {
35
+ quantityTag = quantityTag.replace('<$quantity$>', quantityLeft.toString());
36
+ }
37
+ return template.replaceAll(DEFAULT_QUANTITY_TEMPLATE, quantityTag);
38
+ };
39
+ const convertSizeToWidth = (typographyVar)=>{
40
+ const widthObject = {};
41
+ if (typographyVar['--size']) {
42
+ widthObject['--w'] = typographyVar['--size'];
43
+ }
44
+ if (typographyVar['--size-tablet']) {
45
+ widthObject['--w-tablet'] = typographyVar['--size-tablet'];
46
+ }
47
+ if (typographyVar['--size-mobile']) {
48
+ widthObject['--w-mobile'] = typographyVar['--size-mobile'];
49
+ }
50
+ return widthObject;
35
51
  };
36
52
 
37
- export { transformHighlighTag, transformNumberTag };
53
+ export { convertSizeToWidth, transformHighlighTag, transformNumberTag };
@@ -2,7 +2,6 @@ import config from './setting/StockCounter.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import '@gem-sdk/core';
5
- import 'next/link';
6
5
  import '@gem-sdk/system';
7
6
 
8
7
  const stockCounterSetting = {
@@ -140,6 +140,11 @@ const StockCounterSettingsV2 = [
140
140
  type: 'textarea',
141
141
  autoHeight: true,
142
142
  default: 'Hurry! LET BUY NOW'
143
+ },
144
+ {
145
+ id: 'translate',
146
+ type: 'input',
147
+ default: 'template,outOfStockMessage,continueSelling,unlimitedQuantityMessage'
143
148
  }
144
149
  ]
145
150
  },
@@ -3478,7 +3478,10 @@ type ProductDescriptionProps = BaseProps<{
3478
3478
  hasBoxShadow?: boolean;
3479
3479
  boxShadow?: ShadowProps$1;
3480
3480
  transform?: TransformProp;
3481
- }>;
3481
+ translate?: string;
3482
+ }> & {
3483
+ pageContext?: PageContext;
3484
+ };
3482
3485
 
3483
3486
  type bundleItem = {
3484
3487
  quantity: number;
@@ -3891,6 +3894,7 @@ type ProductViewMoreProps = BasePropsWrap<Setting$1, Style$1> & {
3891
3894
  type ProductBadgeProps = BasePropsWrap<{
3892
3895
  contentType?: 'text' | 'image';
3893
3896
  displayContent?: string;
3897
+ translate?: string;
3894
3898
  displayTrigger?: TDisplayTrigger[];
3895
3899
  positionWithImage?: 'inside' | 'outside';
3896
3900
  shape?: string;
@@ -3934,6 +3938,7 @@ type ProductBadgeProps = BasePropsWrap<{
3934
3938
  };
3935
3939
  } & {
3936
3940
  'bundle-item'?: bundleItem;
3941
+ pageContext: PageContext;
3937
3942
  };
3938
3943
  type PositionType = {
3939
3944
  placement: PlacementType;
@@ -5669,7 +5674,9 @@ type StockCounterStyles = {
5669
5674
  oosTextColor?: ColorValueType$1;
5670
5675
  borderRadius?: ObjectDevices$1<CornerRadius>;
5671
5676
  };
5672
- type StockCounterProps = BasePropsWrap<StockCounterSettings, StockCounterStyles>;
5677
+ type StockCounterProps = BasePropsWrap<StockCounterSettings, StockCounterStyles> & {
5678
+ pageContext: PageContext;
5679
+ };
5673
5680
 
5674
5681
  declare const StockCounter$1: React.FC<StockCounterProps>;
5675
5682
 
@@ -6671,7 +6678,7 @@ declare const Tabs: (props: TabsProps) => string;
6671
6678
 
6672
6679
  declare const TabItem: (props: TabItemProps) => string;
6673
6680
 
6674
- declare const StockCounter: ({ setting, styles, style, advanced, builderProps }: StockCounterProps) => string;
6681
+ declare const StockCounter: ({ setting, styles, style, advanced, builderProps, pageContext, }: StockCounterProps) => string;
6675
6682
 
6676
6683
  declare const Klaviyo: ({ setting, advanced }: KlaviyoProps) => string;
6677
6684
 
@@ -7926,6 +7933,10 @@ declare const ELEMENT_Z_INDEX: {
7926
7933
  CART_DRAWER_CONFIRM_MODAL: number;
7927
7934
  };
7928
7935
 
7936
+ declare const transformHighlighTag: (template: string, stringColor: string) => string;
7937
+ declare const transformNumberTag: (template: string, stringColor: string, quantityLeft: string | number) => string;
7938
+ declare const convertSizeToWidth: (typographyVar: React.CSSProperties) => Record<string, string>;
7939
+
7929
7940
  type DynamicSource = {
7930
7941
  val: React.ReactNode;
7931
7942
  uid?: string;
@@ -7937,6 +7948,7 @@ type DynamicSource = {
7937
7948
  translate?: string;
7938
7949
  isReplaceLocationOrigin?: boolean;
7939
7950
  isReplaceMaxSize?: boolean;
7951
+ isReplaceInventoryQuantity?: boolean;
7940
7952
  };
7941
7953
  declare const getLinkArticle: (linkArticle?: string, customURL?: {
7942
7954
  link?: string;
@@ -7947,7 +7959,7 @@ declare const isTransparentColor: (str?: string) => boolean;
7947
7959
  declare const isTransparentRGBA: (rgbStr: string) => boolean;
7948
7960
  declare const isHexTransparent: (hex: string) => boolean;
7949
7961
  declare const youtubeShortsRegex: RegExp;
7950
- declare const getDynamicSourceLocales: ({ val, uid, settingId, isLiquid, pageContext, isCapitalize, defaultVal, translate, isReplaceLocationOrigin, isReplaceMaxSize, }: DynamicSource) => string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>;
7962
+ declare const getDynamicSourceLocales: ({ val, uid, settingId, isLiquid, pageContext, isCapitalize, defaultVal, translate, isReplaceLocationOrigin, isReplaceMaxSize, isReplaceInventoryQuantity, }: DynamicSource) => string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>;
7951
7963
  declare const getStaticLocale: (tag: string, key: string) => string;
7952
7964
  declare const getSettingPreloadData: (disabledValue: string, enabledValue?: string) => string;
7953
7965
  declare const getInsertLinkData: (defaultWrap: string, setting?: {
@@ -7987,4 +7999,4 @@ declare const convertUnitToNumber: (value: string | undefined | number, defaultV
7987
7999
  declare const getAllHrefFromString: (htmlString: string) => string[];
7988
8000
  declare const replaceAllHrefFromString: (htmlString: string, hrefs: string[]) => string;
7989
8001
 
7990
- export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, AlsoBoughtCbbProps, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, AovFreeGiftBuyXGetYBogoProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleBundlesDiscountsProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$2 as Button, ButtonProps, CSSCode$1 as CSSCode, CSSCodeProps, CalloutBoxProps, CalloutTextProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EcomsendBackInStockAlertProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EssentialCountdownTimerBarProps, EstimateDate$1 as EstimateDate, EstimateDateProps$1 as EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$1 as IconListItemProps, IconListProps$1 as IconListProps, IconListV2$1 as IconListV2, IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageComparisonItem, ImageDetection, ImageDetectionProps, ImageProps, ImgProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps, Link$1 as Link, LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$4 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, ObjectFit$1 as ObjectFit, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseCountdownTimerProps, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductBundleDiscountProps, ProductBundleItemDiscountProps, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$2 as RootProps, Row$1 as Row, RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StockCounter$1 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps, TextField$1 as TextField, TextFieldProps, TextInput$1 as TextInput, TextInputProps, TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustBadgesBearProps, TrustMe$1 as TrustMe, TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, cartSetting, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertUnitToNumber, countdownSetting, couponSetting, dialogSetting, estimateDeliverySetting, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkArticle, getLinkData, getSettingPreloadData, getStaticLocale, gridSetting, headerSetting, headingSetting, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isHexTransparent, isLinkedToSalesPage, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$3 as nextComponent, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, useInView, useNotification, videoSetting, youtubeShortsRegex };
8002
+ export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, AlsoBoughtCbbProps, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, AovFreeGiftBuyXGetYBogoProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleBundlesDiscountsProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$2 as Button, ButtonProps, CSSCode$1 as CSSCode, CSSCodeProps, CalloutBoxProps, CalloutTextProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EcomsendBackInStockAlertProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EssentialCountdownTimerBarProps, EstimateDate$1 as EstimateDate, EstimateDateProps$1 as EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$1 as IconListItemProps, IconListProps$1 as IconListProps, IconListV2$1 as IconListV2, IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageComparisonItem, ImageDetection, ImageDetectionProps, ImageProps, ImgProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps, Link$1 as Link, LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$4 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, ObjectFit$1 as ObjectFit, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseCountdownTimerProps, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductBundleDiscountProps, ProductBundleItemDiscountProps, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$2 as RootProps, Row$1 as Row, RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StockCounter$1 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps, TextField$1 as TextField, TextFieldProps, TextInput$1 as TextInput, TextInputProps, TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustBadgesBearProps, TrustMe$1 as TrustMe, TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, cartSetting, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertSizeToWidth, convertUnitToNumber, countdownSetting, couponSetting, dialogSetting, estimateDeliverySetting, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkArticle, getLinkData, getSettingPreloadData, getStaticLocale, gridSetting, headerSetting, headingSetting, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isHexTransparent, isLinkedToSalesPage, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$3 as nextComponent, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, transformHighlighTag, transformNumberTag, useInView, useNotification, videoSetting, youtubeShortsRegex };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.702",
3
+ "version": "2.0.0-dev.703",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,8 +25,8 @@
25
25
  "scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
26
26
  },
27
27
  "devDependencies": {
28
- "@gem-sdk/core": "2.0.0-dev.701",
29
- "@gem-sdk/styles": "2.0.0-dev.695",
28
+ "@gem-sdk/core": "2.0.0-dev.703",
29
+ "@gem-sdk/styles": "2.0.0-dev.703",
30
30
  "@gem-sdk/system": "2.0.0-dev.695",
31
31
  "@types/react-transition-group": "^4.4.5",
32
32
  "xlsx": "^0.18.5"