@gem-sdk/components 2.1.15 → 2.1.17

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 (124) hide show
  1. package/dist/cjs/builder.js +25 -1
  2. package/dist/cjs/collection/components/CollectionDescription.js +101 -7
  3. package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
  4. package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
  5. package/dist/cjs/index.js +24 -0
  6. package/dist/cjs/index.liquid.js +24 -0
  7. package/dist/cjs/product/components/ProductDescription/common.js +28 -0
  8. package/dist/cjs/product/components/ProductDescription/const.js +5 -0
  9. package/dist/cjs/product/components/ProductDescription.js +38 -10
  10. package/dist/cjs/product/components/ProductDescription.liquid.js +3 -1
  11. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  12. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  13. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  14. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  15. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  16. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  17. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  18. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  19. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  20. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  21. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  22. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  23. package/dist/cjs/third-party/components/HextomCountdownTimerBar.js +32 -0
  24. package/dist/cjs/third-party/components/HextomCountdownTimerBar.liquid.js +12 -0
  25. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  26. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  27. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  28. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  29. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  30. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  31. package/dist/cjs/third-party/components/TrustBadgesBear.js +32 -0
  32. package/dist/cjs/third-party/components/TrustBadgesBear.liquid.js +12 -0
  33. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  34. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  35. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  36. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  37. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  38. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  39. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  40. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  41. package/dist/cjs/third-party/configs/HextomCountdownTimerBar.js +12 -0
  42. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  43. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  44. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  45. package/dist/cjs/third-party/configs/TrustBadgesBear.js +12 -0
  46. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  47. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  48. package/dist/cjs/third-party/next.js +61 -1
  49. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  50. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  51. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  52. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  53. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  54. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  55. package/dist/cjs/third-party/setting/HextomCountdownTimerBar.js +128 -0
  56. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  57. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  58. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  59. package/dist/cjs/third-party/setting/TrustBadgesBear.js +128 -0
  60. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  61. package/dist/cjs/third-party/setting/index.js +25 -1
  62. package/dist/esm/builder.js +25 -1
  63. package/dist/esm/collection/components/CollectionDescription.js +103 -9
  64. package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
  65. package/dist/esm/collection/setting/CollectionDescription.js +128 -0
  66. package/dist/esm/index.js +12 -0
  67. package/dist/esm/index.liquid.js +12 -0
  68. package/dist/esm/product/components/ProductDescription/common.js +26 -0
  69. package/dist/esm/product/components/ProductDescription/const.js +3 -0
  70. package/dist/esm/product/components/ProductDescription.js +38 -10
  71. package/dist/esm/product/components/ProductDescription.liquid.js +3 -1
  72. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  73. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  74. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  75. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  76. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  77. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  78. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  79. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  80. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  81. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  82. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  83. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  84. package/dist/esm/third-party/components/HextomCountdownTimerBar.js +28 -0
  85. package/dist/esm/third-party/components/HextomCountdownTimerBar.liquid.js +8 -0
  86. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  87. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  88. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  89. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  90. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  91. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  92. package/dist/esm/third-party/components/TrustBadgesBear.js +28 -0
  93. package/dist/esm/third-party/components/TrustBadgesBear.liquid.js +8 -0
  94. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  95. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  96. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  97. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  98. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  99. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  100. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  101. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  102. package/dist/esm/third-party/configs/HextomCountdownTimerBar.js +8 -0
  103. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  104. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  105. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  106. package/dist/esm/third-party/configs/TrustBadgesBear.js +8 -0
  107. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  108. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  109. package/dist/esm/third-party/next.js +61 -1
  110. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  111. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  112. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  113. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  114. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  115. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  116. package/dist/esm/third-party/setting/HextomCountdownTimerBar.js +124 -0
  117. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  118. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  119. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  120. package/dist/esm/third-party/setting/TrustBadgesBear.js +124 -0
  121. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  122. package/dist/esm/third-party/setting/index.js +226 -202
  123. package/dist/types/index.d.ts +204 -2
  124. package/package.json +2 -2
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'estimated-delivery-date-plus',
7
+ label: 'Estimated Delivery Date ‑ Plus',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg',
9
+ tag: 'EstimatedDeliveryDatePlus'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'glo-color-swatchvariant-image',
7
+ label: 'GLO Color Swatch,Variant Image',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.png',
9
+ tag: 'GloColorSwatchvariantImage'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'hextom-countdown-timer-bar',
7
+ label: 'Hextom: Countdown Timer Bar',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png',
9
+ tag: 'HextomCountdownTimerBar'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'hextom-free-shipping-bar',
7
+ label: 'Hextom: Free Shipping Bar',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.png',
9
+ tag: 'HextomFreeShippingBar'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'okendo-reviews-loyalty',
7
+ label: 'Okendo: Reviews & Loyalty',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png',
9
+ tag: 'OkendoReviewsLoyalty'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'stellar-delivery-date-pickup',
7
+ label: 'Stellar Delivery Date & Pickup',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg',
9
+ tag: 'StellarDeliveryDatePickup'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'trust-badges-bear',
7
+ label: 'Trust Badges Bear',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/c9141bfba8db18a258f290a5a639986e/icon/CLDR_q6erfwCEAE=.png',
9
+ tag: 'TrustBadgesBear'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'trustedsite-trust-badges',
7
+ label: 'TrustedSite ‑ Trust Badges',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png',
9
+ tag: 'TrustedsiteTrustBadges'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -39,7 +39,7 @@ const getLiquidForAppBlock = (appBlockId, align, cssClass)=>{
39
39
  <div
40
40
  class="gp-flex gp-w-full gp-items-center ${cssClass}"
41
41
  style="${{
42
- ...core.makeStyleResponsive('ta', align)
42
+ ...core.makeStyleResponsive('jc', align)
43
43
  }}"
44
44
  >
45
45
  {% for block in app_blocks %}
@@ -6,6 +6,26 @@ var dynamic = require('next/dynamic');
6
6
  var Loading = require('../common/components/Loading.js');
7
7
  require('react/jsx-runtime');
8
8
 
9
+ const EstimatedDeliveryDatePlus = dynamic(()=>Promise.resolve().then(function () { return require('./components/EstimatedDeliveryDatePlus.js'); }), {
10
+ ssr: false,
11
+ loading: Loading.default
12
+ });
13
+ const OkendoReviewsLoyalty = dynamic(()=>Promise.resolve().then(function () { return require('./components/OkendoReviewsLoyalty.js'); }), {
14
+ ssr: false,
15
+ loading: Loading.default
16
+ });
17
+ const EssentialAnnouncementBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/EssentialAnnouncementBar.js'); }), {
18
+ ssr: false,
19
+ loading: Loading.default
20
+ });
21
+ const EssentialCountdownTimerBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/EssentialCountdownTimerBar.js'); }), {
22
+ ssr: false,
23
+ loading: Loading.default
24
+ });
25
+ const StellarDeliveryDatePickup = dynamic(()=>Promise.resolve().then(function () { return require('./components/StellarDeliveryDatePickup.js'); }), {
26
+ ssr: false,
27
+ loading: Loading.default
28
+ });
9
29
  const TrustshopProductReviews = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustshopProductReviews.js'); }), {
10
30
  ssr: false,
11
31
  loading: Loading.default
@@ -410,7 +430,40 @@ const Selleasy = dynamic(()=>Promise.resolve().then(function () { return require
410
430
  ssr: false,
411
431
  loading: Loading.default
412
432
  });
433
+ const HextomCountdownTimerBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/HextomCountdownTimerBar.js'); }), {
434
+ ssr: false,
435
+ loading: Loading.default
436
+ });
437
+ const TrustBadgesBear = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustBadgesBear.js'); }), {
438
+ ssr: false,
439
+ loading: Loading.default
440
+ });
441
+ const TrustedsiteTrustBadges = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustedsiteTrustBadges.js'); }), {
442
+ ssr: false,
443
+ loading: Loading.default
444
+ });
445
+ const GloColorSwatchvariantImage = dynamic(()=>Promise.resolve().then(function () { return require('./components/GloColorSwatchvariantImage.js'); }), {
446
+ ssr: false,
447
+ loading: Loading.default
448
+ });
449
+ const BfSizeChartSizeGuide = dynamic(()=>Promise.resolve().then(function () { return require('./components/BfSizeChartSizeGuide.js'); }), {
450
+ ssr: false,
451
+ loading: Loading.default
452
+ });
453
+ const AlsoBoughtCbb = dynamic(()=>Promise.resolve().then(function () { return require('./components/AlsoBoughtCbb.js'); }), {
454
+ ssr: false,
455
+ loading: Loading.default
456
+ });
457
+ const HextomFreeShippingBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/HextomFreeShippingBar.js'); }), {
458
+ ssr: false,
459
+ loading: Loading.default
460
+ });
413
461
  var thirdParty = {
462
+ EstimatedDeliveryDatePlus,
463
+ OkendoReviewsLoyalty,
464
+ EssentialAnnouncementBar,
465
+ EssentialCountdownTimerBar,
466
+ StellarDeliveryDatePickup,
414
467
  TrustshopProductReviews,
415
468
  HulkProductOptions,
416
469
  TrustreviewsProductReviews,
@@ -511,7 +564,14 @@ var thirdParty = {
511
564
  Releasit,
512
565
  RequestQuoteHidePrice,
513
566
  BirdChime,
514
- FordeerProductLabels
567
+ FordeerProductLabels,
568
+ HextomCountdownTimerBar,
569
+ TrustBadgesBear,
570
+ TrustedsiteTrustBadges,
571
+ GloColorSwatchvariantImage,
572
+ BfSizeChartSizeGuide,
573
+ AlsoBoughtCbb,
574
+ HextomFreeShippingBar
515
575
  };
516
576
 
517
577
  exports.default = thirdParty;
@@ -0,0 +1,127 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AlsoBoughtCbb = require('../configs/AlsoBoughtCbb.js');
6
+
7
+ const config = {
8
+ tag: AlsoBoughtCbb.default.tag,
9
+ label: AlsoBoughtCbb.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/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowPage: 'GP_PRODUCT'
14
+ },
15
+ component: {
16
+ isThirdParty: true
17
+ }
18
+ },
19
+ presets: [
20
+ {
21
+ id: AlsoBoughtCbb.default.id,
22
+ name: {
23
+ en: AlsoBoughtCbb.default.label
24
+ },
25
+ hideTextContent: true,
26
+ icon: {
27
+ desktop: `<div class="w-full flex flex-col items-center">
28
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">
29
+ <span class="preset-item-title">Also Bought • CBB</span>
30
+ </div>`
31
+ },
32
+ components: [
33
+ {
34
+ tag: AlsoBoughtCbb.default.tag
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ settings: [
40
+ {
41
+ id: 'setting',
42
+ controls: [
43
+ {
44
+ id: 'install',
45
+ type: 'open-link',
46
+ target: '_blank',
47
+ linkType: 'install',
48
+ href: 'https://apps.shopify.com/also-bought?utm_source=gempages',
49
+ appName: AlsoBoughtCbb.default.label
50
+ },
51
+ {
52
+ id: 'openApp',
53
+ type: 'open-link',
54
+ target: '_blank',
55
+ linkType: 'openApp',
56
+ href: 'https://admin.shopify.com/?redirect=/apps/also-bought',
57
+ appName: AlsoBoughtCbb.default.label
58
+ },
59
+ {
60
+ id: 'guideId',
61
+ type: 'group'
62
+ },
63
+ {
64
+ id: 'align',
65
+ label: 'Alignment',
66
+ type: 'segment',
67
+ options: [
68
+ {
69
+ label: 'Left',
70
+ value: 'left',
71
+ type: 'align'
72
+ },
73
+ {
74
+ label: 'Center',
75
+ value: 'center',
76
+ type: 'align'
77
+ },
78
+ {
79
+ label: 'Right',
80
+ value: 'right',
81
+ type: 'align'
82
+ }
83
+ ],
84
+ devices: {
85
+ desktop: {
86
+ default: 'left'
87
+ }
88
+ }
89
+ }
90
+ ]
91
+ }
92
+ ],
93
+ ui: [
94
+ {
95
+ type: 'control',
96
+ setting: {
97
+ id: 'install'
98
+ }
99
+ },
100
+ {
101
+ type: 'control',
102
+ info: {
103
+ en: '<span>To make this element work, copy the class <strong>.gp-integration-also-bought__position</strong> and paste it into the Widget Location Selector input field in the Custom Location Product Page</span>'
104
+ },
105
+ setting: {
106
+ id: 'guideId'
107
+ }
108
+ },
109
+ {
110
+ type: 'control',
111
+ setting: {
112
+ id: 'openApp'
113
+ }
114
+ },
115
+ {
116
+ type: 'control',
117
+ label: {
118
+ en: 'Align'
119
+ },
120
+ setting: {
121
+ id: 'align'
122
+ }
123
+ }
124
+ ]
125
+ };
126
+
127
+ exports.default = config;
@@ -0,0 +1,131 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var BfSizeChartSizeGuide = require('../configs/BfSizeChartSizeGuide.js');
6
+
7
+ const config = {
8
+ tag: BfSizeChartSizeGuide.default.tag,
9
+ label: BfSizeChartSizeGuide.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/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowPage: 'GP_PRODUCT'
14
+ },
15
+ component: {
16
+ isThirdParty: true
17
+ }
18
+ },
19
+ presets: [
20
+ {
21
+ id: BfSizeChartSizeGuide.default.id,
22
+ name: {
23
+ en: BfSizeChartSizeGuide.default.label
24
+ },
25
+ hideTextContent: true,
26
+ icon: {
27
+ desktop: `<div class="w-full flex flex-col items-center">
28
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">
29
+ <span class="preset-item-title">BF Size Chart & Size Guide</span>
30
+ </div>`
31
+ },
32
+ components: [
33
+ {
34
+ tag: BfSizeChartSizeGuide.default.tag
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ settings: [
40
+ {
41
+ id: 'setting',
42
+ controls: [
43
+ {
44
+ id: 'appBlockId',
45
+ type: 'input',
46
+ default: ''
47
+ },
48
+ {
49
+ id: 'widgetType',
50
+ label: 'Choose widget',
51
+ type: 'select',
52
+ options: [
53
+ {
54
+ label: 'Block',
55
+ value: 'block'
56
+ }
57
+ ],
58
+ default: 'block'
59
+ },
60
+ {
61
+ id: 'install',
62
+ type: 'open-link',
63
+ target: '_blank',
64
+ linkType: 'install',
65
+ href: 'https://apps.shopify.com/best-fit-size-charts-size-guides?utm_source=gempages',
66
+ appName: BfSizeChartSizeGuide.default.label
67
+ },
68
+ {
69
+ id: 'openApp',
70
+ type: 'open-link',
71
+ target: '_blank',
72
+ linkType: 'openApp',
73
+ href: 'https://admin.shopify.com/?redirect=/apps/size-charts-by-relentless',
74
+ appName: BfSizeChartSizeGuide.default.label
75
+ },
76
+ {
77
+ id: 'align',
78
+ label: 'Alignment',
79
+ type: 'segment',
80
+ options: [
81
+ {
82
+ label: 'Left',
83
+ value: 'left',
84
+ type: 'align'
85
+ },
86
+ {
87
+ label: 'Center',
88
+ value: 'center',
89
+ type: 'align'
90
+ },
91
+ {
92
+ label: 'Right',
93
+ value: 'right',
94
+ type: 'align'
95
+ }
96
+ ],
97
+ devices: {
98
+ desktop: {
99
+ default: 'left'
100
+ }
101
+ }
102
+ }
103
+ ]
104
+ }
105
+ ],
106
+ ui: [
107
+ {
108
+ type: 'control',
109
+ setting: {
110
+ id: 'install'
111
+ }
112
+ },
113
+ {
114
+ type: 'control',
115
+ setting: {
116
+ id: 'openApp'
117
+ }
118
+ },
119
+ {
120
+ type: 'control',
121
+ label: {
122
+ en: 'Align'
123
+ },
124
+ setting: {
125
+ id: 'align'
126
+ }
127
+ }
128
+ ]
129
+ };
130
+
131
+ exports.default = config;
@@ -0,0 +1,142 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var EssentialAnnouncementBar = require('../configs/EssentialAnnouncementBar.js');
6
+
7
+ const config = {
8
+ tag: EssentialAnnouncementBar.default.tag,
9
+ label: EssentialAnnouncementBar.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/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png">',
11
+ editorConfigs: {
12
+ component: {
13
+ isThirdParty: true
14
+ }
15
+ },
16
+ presets: [
17
+ {
18
+ id: EssentialAnnouncementBar.default.id,
19
+ name: {
20
+ en: EssentialAnnouncementBar.default.label
21
+ },
22
+ hideTextContent: true,
23
+ icon: {
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/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png">
26
+ <span class="preset-item-title">Essential Announcement Bar</span>
27
+ </div>`
28
+ },
29
+ components: [
30
+ {
31
+ tag: EssentialAnnouncementBar.default.tag
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ settings: [
37
+ {
38
+ id: 'setting',
39
+ controls: [
40
+ {
41
+ id: 'appBlockId',
42
+ type: 'input',
43
+ default: ''
44
+ },
45
+ {
46
+ id: 'widgetType',
47
+ label: 'Choose widget',
48
+ type: 'select',
49
+ options: [
50
+ {
51
+ label: 'App Block',
52
+ value: 'app-block'
53
+ }
54
+ ],
55
+ default: 'app-block'
56
+ },
57
+ {
58
+ id: 'install',
59
+ type: 'open-link',
60
+ target: '_blank',
61
+ linkType: 'install',
62
+ href: 'https://apps.shopify.com/essential-announcement-bar?utm_source=gempages',
63
+ appName: EssentialAnnouncementBar.default.label
64
+ },
65
+ {
66
+ id: 'announcementId',
67
+ type: 'input',
68
+ default: ''
69
+ },
70
+ {
71
+ id: 'openApp',
72
+ type: 'open-link',
73
+ target: '_blank',
74
+ linkType: 'openApp',
75
+ href: 'https://admin.shopify.com/?redirect=/apps/essential-announcement-bar',
76
+ appName: EssentialAnnouncementBar.default.label
77
+ },
78
+ {
79
+ id: 'align',
80
+ label: 'Alignment',
81
+ type: 'segment',
82
+ options: [
83
+ {
84
+ label: 'Left',
85
+ value: 'left',
86
+ type: 'align'
87
+ },
88
+ {
89
+ label: 'Center',
90
+ value: 'center',
91
+ type: 'align'
92
+ },
93
+ {
94
+ label: 'Right',
95
+ value: 'right',
96
+ type: 'align'
97
+ }
98
+ ],
99
+ devices: {
100
+ desktop: {
101
+ default: 'left'
102
+ }
103
+ }
104
+ }
105
+ ]
106
+ }
107
+ ],
108
+ ui: [
109
+ {
110
+ type: 'control',
111
+ setting: {
112
+ id: 'install'
113
+ }
114
+ },
115
+ {
116
+ type: 'control',
117
+ label: {
118
+ en: 'Announcement id'
119
+ },
120
+ setting: {
121
+ id: 'announcementId'
122
+ }
123
+ },
124
+ {
125
+ type: 'control',
126
+ setting: {
127
+ id: 'openApp'
128
+ }
129
+ },
130
+ {
131
+ type: 'control',
132
+ label: {
133
+ en: 'Align'
134
+ },
135
+ setting: {
136
+ id: 'align'
137
+ }
138
+ }
139
+ ]
140
+ };
141
+
142
+ exports.default = config;