@gem-sdk/components 2.1.41 → 2.2.0-staging.28

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 (96) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +2 -1
  2. package/dist/cjs/banner/components/hero-banner/index.liquid.js +4 -7
  3. package/dist/cjs/builder.js +4 -0
  4. package/dist/cjs/button/components/Button.liquid.js +5 -4
  5. package/dist/cjs/carousel/components/Carousel.liquid.js +3 -2
  6. package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +17 -58
  7. package/dist/cjs/common/const.js +1 -1
  8. package/dist/cjs/helpers.js +6 -1
  9. package/dist/cjs/image/components/AdaptiveImage.liquid.js +6 -5
  10. package/dist/cjs/image/components/Image.js +2 -1
  11. package/dist/cjs/image/components/Image.liquid.js +6 -4
  12. package/dist/cjs/image/components/NextImage.liquid.js +4 -3
  13. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -3
  14. package/dist/cjs/index.js +4 -0
  15. package/dist/cjs/index.liquid.js +4 -0
  16. package/dist/cjs/marquee/components/Marquee.liquid.js +10 -13
  17. package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -1
  18. package/dist/cjs/product/components/ProductButton.js +1 -1
  19. package/dist/cjs/product/components/ProductButton.liquid.js +21 -3
  20. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +6 -5
  21. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  22. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  23. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  24. package/dist/cjs/product/components/ProductVariants/variants/combine/index.js +1 -1
  25. package/dist/cjs/product/setting/ProductList.js +1 -1
  26. package/dist/cjs/tab/hooks/useTabInteraction.js +13 -9
  27. package/dist/cjs/text/components/Text.js +0 -1
  28. package/dist/cjs/third-party/components/AppstleBundlesDiscounts.js +32 -0
  29. package/dist/cjs/third-party/components/AppstleBundlesDiscounts.liquid.js +12 -0
  30. package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +9 -10
  31. package/dist/cjs/third-party/components/EcomsendBackInStockAlert.js +32 -0
  32. package/dist/cjs/third-party/components/EcomsendBackInStockAlert.liquid.js +21 -0
  33. package/dist/cjs/third-party/components/RechargeSubscriptions.liquid.js +1 -1
  34. package/dist/cjs/third-party/components/Releasit.liquid.js +4 -2
  35. package/dist/cjs/third-party/configs/AppstleBundlesDiscounts.js +12 -0
  36. package/dist/cjs/third-party/configs/BoldProductOptions.js +2 -2
  37. package/dist/cjs/third-party/configs/EcoboostifyShoppableReelUgc.js +1 -1
  38. package/dist/cjs/third-party/configs/EcomsendBackInStockAlert.js +12 -0
  39. package/dist/cjs/third-party/next.js +10 -0
  40. package/dist/cjs/third-party/setting/AppstleBundlesDiscounts.js +146 -0
  41. package/dist/cjs/third-party/setting/EcoboostifyShoppableReelUgc.js +2 -2
  42. package/dist/cjs/third-party/setting/EcomsendBackInStockAlert.js +128 -0
  43. package/dist/cjs/third-party/setting/Releasit.js +59 -2
  44. package/dist/cjs/third-party/setting/index.js +5 -1
  45. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  46. package/dist/cjs/video/components/HTML5Embed.liquid.js +6 -3
  47. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  48. package/dist/esm/article/components/ArticleImage.js +2 -1
  49. package/dist/esm/banner/components/hero-banner/index.liquid.js +4 -7
  50. package/dist/esm/builder.js +4 -0
  51. package/dist/esm/button/components/Button.liquid.js +5 -4
  52. package/dist/esm/carousel/components/Carousel.liquid.js +3 -2
  53. package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +17 -58
  54. package/dist/esm/common/const.js +1 -1
  55. package/dist/esm/helpers.js +6 -1
  56. package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
  57. package/dist/esm/image/components/Image.js +3 -2
  58. package/dist/esm/image/components/Image.liquid.js +6 -4
  59. package/dist/esm/image/components/NextImage.liquid.js +4 -3
  60. package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -3
  61. package/dist/esm/index.js +2 -0
  62. package/dist/esm/index.liquid.js +2 -0
  63. package/dist/esm/marquee/components/Marquee.liquid.js +10 -13
  64. package/dist/esm/post-purchase/product/components/variants/Dropdown.js +1 -1
  65. package/dist/esm/product/components/ProductButton.js +1 -1
  66. package/dist/esm/product/components/ProductButton.liquid.js +21 -3
  67. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +6 -5
  68. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  69. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  70. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  71. package/dist/esm/product/components/ProductVariants/variants/combine/index.js +1 -1
  72. package/dist/esm/product/setting/ProductList.js +1 -1
  73. package/dist/esm/tab/hooks/useTabInteraction.js +14 -10
  74. package/dist/esm/text/components/Text.js +0 -1
  75. package/dist/esm/third-party/components/AppstleBundlesDiscounts.js +28 -0
  76. package/dist/esm/third-party/components/AppstleBundlesDiscounts.liquid.js +8 -0
  77. package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +10 -11
  78. package/dist/esm/third-party/components/EcomsendBackInStockAlert.js +28 -0
  79. package/dist/esm/third-party/components/EcomsendBackInStockAlert.liquid.js +17 -0
  80. package/dist/esm/third-party/components/RechargeSubscriptions.liquid.js +1 -1
  81. package/dist/esm/third-party/components/Releasit.liquid.js +4 -2
  82. package/dist/esm/third-party/configs/AppstleBundlesDiscounts.js +8 -0
  83. package/dist/esm/third-party/configs/BoldProductOptions.js +2 -2
  84. package/dist/esm/third-party/configs/EcoboostifyShoppableReelUgc.js +1 -1
  85. package/dist/esm/third-party/configs/EcomsendBackInStockAlert.js +8 -0
  86. package/dist/esm/third-party/next.js +10 -0
  87. package/dist/esm/third-party/setting/AppstleBundlesDiscounts.js +142 -0
  88. package/dist/esm/third-party/setting/EcoboostifyShoppableReelUgc.js +2 -2
  89. package/dist/esm/third-party/setting/EcomsendBackInStockAlert.js +124 -0
  90. package/dist/esm/third-party/setting/Releasit.js +59 -2
  91. package/dist/esm/third-party/setting/index.js +5 -1
  92. package/dist/esm/video/components/HTML5Embed.js +2 -2
  93. package/dist/esm/video/components/HTML5Embed.liquid.js +6 -3
  94. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  95. package/dist/types/index.d.ts +54 -8
  96. package/package.json +3 -3
@@ -10,7 +10,7 @@ var common = require('../common/common.js');
10
10
  var productGallery = require('../common/productGallery.js');
11
11
  var _function = require('../../../helpers/function.js');
12
12
 
13
- const ProductGalleryCarousel = ({ builderPropUID, children, enableLazyloadImage, ...setting })=>{
13
+ const ProductGalleryCarousel = ({ builderPropUID, children, enableLazyLoadImage, ...setting })=>{
14
14
  const getCarouselDisplay = ()=>{
15
15
  const isDisplayCarousel = (type, position, device)=>{
16
16
  const layout = core.getResponsiveValueByScreen(position, device);
@@ -90,7 +90,7 @@ const ProductGalleryCarousel = ({ builderPropUID, children, enableLazyloadImage,
90
90
  customLazyload: true,
91
91
  style: style,
92
92
  className: '!gp-rounded-none gp-w-full gp-h-full gp-absolute gp-top-0 gp-left-0 gp-cursor-pointer',
93
- enableLazyloadImage
93
+ enableLazyLoadImage
94
94
  })}`;
95
95
  };
96
96
  const aspectRatioToPaddingBottom = ()=>{
@@ -12,7 +12,7 @@ var Modal3d_liquid = require('../../../../image/components/Modal3d.liquid.js');
12
12
  var Video_liquid = require('../../../../image/components/Video.liquid.js');
13
13
  var HTML5Embed_liquid = require('../../../../video/components/HTML5Embed.liquid.js');
14
14
 
15
- const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazyloadImage, ...setting })=>{
15
+ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazyLoadImage, ...setting })=>{
16
16
  const getGridDisplay = ()=>{
17
17
  const isDisplayGrid = (type, position, device)=>{
18
18
  const layout = core.getResponsiveValueByScreen(position, device);
@@ -101,7 +101,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
101
101
  style: style,
102
102
  className: '!gp-rounded-none',
103
103
  customLazyload: false,
104
- enableLazyloadImage
104
+ enableLazyLoadImage
105
105
  })}
106
106
  ${setting?.galleryHoverEffect !== 'none' ? `<div class="${core.cls('zoom-element !gp-max-w-none', productFeaturedImage.getZoomImageClass())}">
107
107
  ${NextImage_liquid.default({
@@ -115,7 +115,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
115
115
  style: style,
116
116
  className: '!gp-rounded-none gp-w-full gp-h-full',
117
117
  customLazyload: false,
118
- enableLazyloadImage
118
+ enableLazyLoadImage
119
119
  })}
120
120
  </div>` : ''}
121
121
  ${setting?.galleryHoverEffect == 'zoom' && setting?.galleryZoomType == 'glasses' ? `
@@ -298,7 +298,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
298
298
  },
299
299
  className: '!gp-rounded-none',
300
300
  customLazyload: false,
301
- enableLazyloadImage
301
+ enableLazyLoadImage
302
302
  })}`;
303
303
  };
304
304
  return core.template`
@@ -11,7 +11,7 @@ var helpers = require('../../../../helpers.js');
11
11
  var productGallery = require('../common/productGallery.js');
12
12
 
13
13
  const ProductImages = (productImageProps)=>{
14
- const { setting, styles, builderProps, style, advanced, rawChildren, pageContext, enableLazyloadImage } = productImageProps;
14
+ const { setting, styles, builderProps, style, advanced, rawChildren, pageContext, enableLazyLoadImage } = productImageProps;
15
15
  const settings = {
16
16
  ...setting,
17
17
  ...styles
@@ -116,7 +116,7 @@ const ProductImages = (productImageProps)=>{
116
116
  builderPropUID: `gp-carousel-${builderProps?.uid}`,
117
117
  ...settings,
118
118
  children: renderProductBadge(),
119
- enableLazyloadImage
119
+ enableLazyLoadImage
120
120
  })}
121
121
  ${common.shouldSkipLiquidRenderForSingleImage(settings?.position, core.template`
122
122
  <div
@@ -132,7 +132,7 @@ const ProductImages = (productImageProps)=>{
132
132
  ${ProductGalleryCarousel_liquid.default({
133
133
  builderPropUID: `gp-gallery-${builderProps?.uid}`,
134
134
  ...settings,
135
- enableLazyloadImage
135
+ enableLazyLoadImage
136
136
  })}
137
137
  </div>
138
138
  ${ProductGalleryGrid_liquid.default({
@@ -142,7 +142,7 @@ const ProductImages = (productImageProps)=>{
142
142
  },
143
143
  children: renderProductBadge(),
144
144
  ...settings,
145
- enableLazyloadImage
145
+ enableLazyLoadImage
146
146
  })}
147
147
  `)}
148
148
  </div>
@@ -40,7 +40,7 @@ const renderCombineVariants = (isSoldOutMark, hasPreSelected, enablePrice)=>{
40
40
  `}`;
41
41
  };
42
42
  const renderBlankOption = (hasPreSelected, blankText)=>{
43
- return !hasPreSelected ? `<option value="blank" selected>${blankText ?? helpers.getStaticLocale('ProductVariants', 'please_select')}</option>` : '';
43
+ return !hasPreSelected ? `<option value="blank" selected>${blankText || helpers.getStaticLocale('ProductVariants', 'please_select')}</option>` : '';
44
44
  };
45
45
 
46
46
  exports.renderBlankOption = renderBlankOption;
@@ -818,7 +818,7 @@ const config = {
818
818
  options: {
819
819
  tooltip: {
820
820
  icon: 'info-line-16',
821
- content: 'Note: this might not work properly on Safari for iOS versions below 17',
821
+ content: 'Note: this might not work properly on Safari for iOS versions below 16',
822
822
  iconClass: 'text-[#757575] hover:text-[#F9F9F9]'
823
823
  }
824
824
  },
@@ -4,19 +4,18 @@ var core = require('@gem-sdk/core');
4
4
  var React = require('react');
5
5
 
6
6
  const useTabInteraction = ({ activeKey, setActiveKey, activeTab, refContainer, componentUid })=>{
7
- const [previousTab, setPreviousTab] = React.useState(activeKey || 1);
8
- const { trigger, onListener, interactionListenerLoaded } = core.useInteraction();
7
+ const { trigger, onListener, interactionListenerLoaded, saveToElementInteractionData, findElementIncludingSelf } = core.useInteraction();
9
8
  const mode = core.useEditorMode();
10
9
  const changeOpenTabInteraction = (params)=>{
11
- const { data, isRollback } = params || {};
12
- if (data === undefined && isRollback === undefined) return;
10
+ const { data, isRollback, element, key } = params || {};
11
+ if (data === undefined && isRollback) return;
12
+ const newData = Number(data) + 1;
13
13
  if (isRollback) {
14
- setActiveKey(previousTab);
15
- setPreviousTab(activeTab);
14
+ setActiveKey(newData);
16
15
  return;
17
16
  }
18
- setPreviousTab(activeTab);
19
- setActiveKey(data + 1);
17
+ saveToElementInteractionData(element, key, String(activeKey));
18
+ setActiveKey(newData);
20
19
  };
21
20
  const dispatchEventTabActive = (index)=>{
22
21
  trigger({
@@ -37,11 +36,16 @@ const useTabInteraction = ({ activeKey, setActiveKey, activeTab, refContainer, c
37
36
  dispatchEventTabActive(activeTab - 1);
38
37
  });
39
38
  const selector = `[data-id="${componentUid}"]`;
39
+ const element = findElementIncludingSelf(document, selector);
40
40
  const removeListener = onListener({
41
41
  event: 'gp:change-open-tab',
42
42
  selector
43
43
  }, (params)=>{
44
- changeOpenTabInteraction(params);
44
+ changeOpenTabInteraction({
45
+ ...params,
46
+ element,
47
+ key: params?.uniqueStorageKey
48
+ });
45
49
  });
46
50
  return ()=>{
47
51
  removeListener?.();
@@ -10,7 +10,6 @@ var common = require('./common.js');
10
10
  const Text = /*#__PURE__*/ React.forwardRef(({ styles, builderAttrs, style, setting, advanced, builderProps, className, children, ...props }, ref)=>{
11
11
  const { text, htmlTag: Element = 'div', options, tagWidth, excludeFlex } = setting ?? {};
12
12
  const composeGlobalSize = core.makeGlobalSize(setting?.globalSize);
13
- console.log('Text: ', text);
14
13
  const mode = core.useEditorMode();
15
14
  const getPlaceHolderWhenContentNone = ()=>{
16
15
  let classList = '';
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var core = require('@gem-sdk/core');
7
+ var ThirdPartyPreview = require('./ThirdPartyPreview.js');
8
+ var AppstleBundlesDiscounts$1 = require('../configs/AppstleBundlesDiscounts.js');
9
+
10
+ const AppstleBundlesDiscountsContent = ()=>{
11
+ return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
12
+ children: /*#__PURE__*/ jsxRuntime.jsx("div", {
13
+ className: "gp-p-2",
14
+ children: /*#__PURE__*/ jsxRuntime.jsx(ThirdPartyPreview.default, {
15
+ setting: {
16
+ label: 'Appstle℠ Bundles & Discounts',
17
+ iconSvg: `<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppstleBundlesDiscounts$1.default.logoUrl}">`
18
+ }
19
+ })
20
+ })
21
+ });
22
+ };
23
+ const AppstleBundlesDiscounts = ({ setting })=>{
24
+ return /*#__PURE__*/ jsxRuntime.jsx("div", {
25
+ style: {
26
+ ...core.makeStyleResponsive('ta', setting?.align)
27
+ },
28
+ children: /*#__PURE__*/ jsxRuntime.jsx(AppstleBundlesDiscountsContent, {})
29
+ });
30
+ };
31
+
32
+ exports.default = AppstleBundlesDiscounts;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var thirdParty = require('../helpers/thirdParty.js');
6
+
7
+ const AppstleBundlesDiscounts = ({ setting, advanced })=>{
8
+ const { align, appBlockId } = setting ?? {};
9
+ return thirdParty.getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
10
+ };
11
+
12
+ exports.default = AppstleBundlesDiscounts;
@@ -13,7 +13,8 @@ const mapWidgetLabel = {
13
13
  slider: 'Gift slider',
14
14
  message: 'Cart message',
15
15
  ['classic-bundle']: 'Classic bundle',
16
- ['quantity-break']: 'Quantity break'
16
+ ['quantity-break']: 'Quantity break',
17
+ ['mix-match']: 'Mix and match'
17
18
  };
18
19
  const BogosSampleContent = ({ setting })=>{
19
20
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -22,15 +23,13 @@ const BogosSampleContent = ({ setting })=>{
22
23
  }, [
23
24
  widgetLabel
24
25
  ]);
25
- return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
26
- children: /*#__PURE__*/ jsxRuntime.jsx("div", {
27
- className: "p-2",
28
- children: /*#__PURE__*/ jsxRuntime.jsx(ThirdPartyPreview.default, {
29
- setting: {
30
- label,
31
- iconSvg: `<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${Bogos.default.logoUrl}">`
32
- }
33
- })
26
+ return /*#__PURE__*/ jsxRuntime.jsx("div", {
27
+ className: "p-2",
28
+ children: /*#__PURE__*/ jsxRuntime.jsx(ThirdPartyPreview.default, {
29
+ setting: {
30
+ label,
31
+ iconSvg: `<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${Bogos.default.logoUrl}">`
32
+ }
34
33
  })
35
34
  });
36
35
  };
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var core = require('@gem-sdk/core');
7
+ var ThirdPartyPreview = require('./ThirdPartyPreview.js');
8
+ var EcomsendBackInStockAlert$1 = require('../configs/EcomsendBackInStockAlert.js');
9
+
10
+ const EcomsendBackInStockAlertContent = ()=>{
11
+ return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
12
+ children: /*#__PURE__*/ jsxRuntime.jsx("div", {
13
+ className: "gp-p-2",
14
+ children: /*#__PURE__*/ jsxRuntime.jsx(ThirdPartyPreview.default, {
15
+ setting: {
16
+ label: 'EcomSend Back in Stock Alert',
17
+ iconSvg: `<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${EcomsendBackInStockAlert$1.default.logoUrl}">`
18
+ }
19
+ })
20
+ })
21
+ });
22
+ };
23
+ const EcomsendBackInStockAlert = ({ setting })=>{
24
+ return /*#__PURE__*/ jsxRuntime.jsx("div", {
25
+ style: {
26
+ ...core.makeStyleResponsive('ta', setting?.align)
27
+ },
28
+ children: /*#__PURE__*/ jsxRuntime.jsx(EcomsendBackInStockAlertContent, {})
29
+ });
30
+ };
31
+
32
+ exports.default = EcomsendBackInStockAlert;
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@gem-sdk/core');
6
+
7
+ const EcomsendBackInStockAlert = ({ setting, advanced })=>{
8
+ const { align } = setting ?? {};
9
+ return core.template`
10
+ <div
11
+ class="${advanced?.cssClass}"
12
+ style="${{
13
+ ...core.makeStyleResponsive('ta', align)
14
+ }}"
15
+ >
16
+ <div id="sealapps-bis-widget"></div>
17
+ </div>
18
+ `;
19
+ };
20
+
21
+ exports.default = EcomsendBackInStockAlert;
@@ -6,7 +6,7 @@ var thirdParty = require('../helpers/thirdParty.js');
6
6
 
7
7
  const RechargeSubscriptions = ({ setting, advanced })=>{
8
8
  const { align, appBlockId } = setting ?? {};
9
- return thirdParty.getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''}!gp-block`);
9
+ return thirdParty.getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
10
10
  };
11
11
 
12
12
  exports.default = RechargeSubscriptions;
@@ -2,11 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var thirdParty = require('../helpers/thirdParty.js');
5
6
  var core = require('@gem-sdk/core');
6
7
 
7
8
  const Releasit = ({ setting, advanced })=>{
8
- const { align } = setting ?? {};
9
- return core.template`
9
+ const { align, version, appBlockId } = setting ?? {};
10
+ console.log('version', version);
11
+ return version === 'v2' ? thirdParty.getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''}!gp-block`) : core.template`
10
12
  <div
11
13
  class="${advanced?.cssClass}"
12
14
  style="${{
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'appstle-bundles-discounts',
7
+ label: 'Appstle Bundles & Discounts',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png',
9
+ tag: 'AppstleBundlesDiscounts'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var BoldProductOptionsConfig = {
6
6
  id: 'bold-product-options',
7
- label: 'Bold Product Options',
8
- logoUrl: 'https://ucarecdn.com/cae13b55-18b6-416a-a447-c18211d78cfe/-/format/auto/-/preview/3000x3000/-/quality/lighter/Bold%20Product%20Options.png',
7
+ label: 'SC Product Options',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/9a0bf1159f79c6ab0660ec422f350445/icon/CP2Uwo_GuYIDEAE=.png',
9
9
  tag: 'BoldProductOptions'
10
10
  };
11
11
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var AppConfig = {
6
6
  id: 'ecoboostify-shoppable-reel-ugc',
7
7
  label: 'EcoBoostify Shoppable Reel UGC',
8
- logoUrl: 'https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/COuT9MaKvosDEAE=.png',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/CJWKq4vxxIkDEAE=.png',
9
9
  tag: 'EcoboostifyShoppableReelUgc'
10
10
  };
11
11
 
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'ecomsend-back-in-stock-alert',
7
+ label: 'EcomSend Back in Stock Alert',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/d4d2bcc6f71dda4f30b09bd429b37065/icon/CLeo2LeKhIsDEAE=.png',
9
+ tag: 'EcomsendBackInStockAlert'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -6,6 +6,14 @@ var dynamic = require('next/dynamic');
6
6
  var Loading = require('../common/components/Loading.js');
7
7
  require('react/jsx-runtime');
8
8
 
9
+ const EcomsendBackInStockAlert = dynamic(()=>Promise.resolve().then(function () { return require('./components/EcomsendBackInStockAlert.js'); }), {
10
+ ssr: false,
11
+ loading: Loading.default
12
+ });
13
+ const AppstleBundlesDiscounts = dynamic(()=>Promise.resolve().then(function () { return require('./components/AppstleBundlesDiscounts.js'); }), {
14
+ ssr: false,
15
+ loading: Loading.default
16
+ });
9
17
  const EstimatedDeliveryDatePlus = dynamic(()=>Promise.resolve().then(function () { return require('./components/EstimatedDeliveryDatePlus.js'); }), {
10
18
  ssr: false,
11
19
  loading: Loading.default
@@ -463,6 +471,8 @@ const EcoboostifyShoppableReelUgc = dynamic(()=>Promise.resolve().then(function
463
471
  loading: Loading.default
464
472
  });
465
473
  var thirdParty = {
474
+ EcomsendBackInStockAlert,
475
+ AppstleBundlesDiscounts,
466
476
  EcoboostifyShoppableReelUgc,
467
477
  EstimatedDeliveryDatePlus,
468
478
  OkendoReviewsLoyalty,
@@ -0,0 +1,146 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppstleBundlesDiscounts = require('../configs/AppstleBundlesDiscounts.js');
6
+
7
+ const config = {
8
+ tag: AppstleBundlesDiscounts.default.tag,
9
+ label: AppstleBundlesDiscounts.default.label,
10
+ icon: '<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowTag: [
14
+ 'Product'
15
+ ]
16
+ },
17
+ component: {
18
+ isThirdParty: true
19
+ }
20
+ },
21
+ presets: [
22
+ {
23
+ id: AppstleBundlesDiscounts.default.id,
24
+ name: {
25
+ en: AppstleBundlesDiscounts.default.label
26
+ },
27
+ hideTextContent: true,
28
+ icon: {
29
+ desktop: `<div class="w-full flex flex-col items-center">
30
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png">
31
+ <span class="preset-item-title">Appstle℠ Bundles & Discounts</span>
32
+ </div>`
33
+ },
34
+ components: [
35
+ {
36
+ tag: AppstleBundlesDiscounts.default.tag
37
+ }
38
+ ]
39
+ }
40
+ ],
41
+ settings: [
42
+ {
43
+ id: 'setting',
44
+ controls: [
45
+ {
46
+ id: 'appBlockId',
47
+ type: 'input',
48
+ default: ''
49
+ },
50
+ {
51
+ id: 'widgetType',
52
+ label: 'Choose widget',
53
+ type: 'select',
54
+ options: [
55
+ {
56
+ label: 'Classic Bundle',
57
+ value: 'appstle-classic-bundle'
58
+ },
59
+ {
60
+ label: 'Dynamic Bundle',
61
+ value: 'appstle-bundle-product-page-build-a-box'
62
+ }
63
+ ],
64
+ default: 'appstle-classic-bundle'
65
+ },
66
+ {
67
+ id: 'install',
68
+ type: 'open-link',
69
+ target: '_blank',
70
+ linkType: 'install',
71
+ href: 'https://apps.shopify.com/appstle-bundles?utm_source=gempages',
72
+ appName: AppstleBundlesDiscounts.default.label
73
+ },
74
+ {
75
+ id: 'openApp',
76
+ type: 'open-link',
77
+ target: '_blank',
78
+ linkType: 'openApp',
79
+ href: '',
80
+ appName: AppstleBundlesDiscounts.default.label
81
+ },
82
+ {
83
+ id: 'align',
84
+ label: 'Alignment',
85
+ type: 'segment',
86
+ options: [
87
+ {
88
+ label: 'Left',
89
+ value: 'left',
90
+ type: 'align'
91
+ },
92
+ {
93
+ label: 'Center',
94
+ value: 'center',
95
+ type: 'align'
96
+ },
97
+ {
98
+ label: 'Right',
99
+ value: 'right',
100
+ type: 'align'
101
+ }
102
+ ],
103
+ devices: {
104
+ desktop: {
105
+ default: 'left'
106
+ }
107
+ }
108
+ }
109
+ ]
110
+ }
111
+ ],
112
+ ui: [
113
+ {
114
+ type: 'control',
115
+ setting: {
116
+ id: 'install'
117
+ }
118
+ },
119
+ {
120
+ type: 'control',
121
+ label: {
122
+ en: 'Choose widget'
123
+ },
124
+ setting: {
125
+ id: 'widgetType'
126
+ }
127
+ },
128
+ {
129
+ type: 'control',
130
+ setting: {
131
+ id: 'openApp'
132
+ }
133
+ },
134
+ {
135
+ type: 'control',
136
+ label: {
137
+ en: 'Align'
138
+ },
139
+ setting: {
140
+ id: 'align'
141
+ }
142
+ }
143
+ ]
144
+ };
145
+
146
+ exports.default = config;
@@ -7,7 +7,7 @@ var EcoboostifyShoppableReelUgc = require('../configs/EcoboostifyShoppableReelUg
7
7
  const config = {
8
8
  tag: EcoboostifyShoppableReelUgc.default.tag,
9
9
  label: EcoboostifyShoppableReelUgc.default.label,
10
- icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/COuT9MaKvosDEAE=.png">',
10
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/CJWKq4vxxIkDEAE=.png">',
11
11
  editorConfigs: {
12
12
  component: {
13
13
  isThirdParty: true
@@ -22,7 +22,7 @@ const config = {
22
22
  hideTextContent: true,
23
23
  icon: {
24
24
  desktop: `<div class="w-full flex flex-col items-center">
25
- <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/COuT9MaKvosDEAE=.png">
25
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/CJWKq4vxxIkDEAE=.png">
26
26
  <span class="preset-item-title">EcoBoostify Shoppable Reel UGC</span>
27
27
  </div>`
28
28
  },