@gem-sdk/components 2.1.13-staging.1 → 2.1.13-staging.11

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 (136) hide show
  1. package/dist/cjs/article/components/ArticleList.liquid.js +6 -2
  2. package/dist/cjs/banner/components/hero-banner/index.liquid.js +12 -10
  3. package/dist/cjs/builder.js +21 -1
  4. package/dist/cjs/collection/components/CollectionDescription.js +101 -7
  5. package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
  6. package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
  7. package/dist/cjs/common/const.js +1 -1
  8. package/dist/cjs/image/components/AdaptiveImage.liquid.js +6 -5
  9. package/dist/cjs/image/components/Image.js +22 -3
  10. package/dist/cjs/image/components/Image.liquid.js +6 -5
  11. package/dist/cjs/image/components/NextImage.liquid.js +4 -3
  12. package/dist/cjs/image/components/NoDataImage.js +133 -0
  13. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -3
  14. package/dist/cjs/index.js +20 -0
  15. package/dist/cjs/index.liquid.js +22 -2
  16. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  17. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  18. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  19. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  20. package/dist/cjs/tab/hooks/useTabInteraction.js +13 -9
  21. package/dist/cjs/text/components/Text.js +0 -1
  22. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  23. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  24. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  25. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  26. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  27. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  28. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  29. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  30. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  31. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  32. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  33. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  34. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  35. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  36. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  37. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  38. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  39. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  40. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  41. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  42. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  43. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  44. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  45. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  46. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  47. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  48. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  49. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  50. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  51. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  52. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  53. package/dist/cjs/third-party/next.js +51 -1
  54. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  55. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  56. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  57. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  58. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  59. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  60. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  61. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  62. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  63. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  64. package/dist/cjs/third-party/setting/index.js +21 -1
  65. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  66. package/dist/cjs/video/components/HTML5Embed.liquid.js +6 -3
  67. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +4 -2
  68. package/dist/esm/article/components/ArticleList.liquid.js +6 -2
  69. package/dist/esm/banner/components/hero-banner/index.liquid.js +12 -10
  70. package/dist/esm/builder.js +21 -1
  71. package/dist/esm/collection/components/CollectionDescription.js +103 -9
  72. package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
  73. package/dist/esm/collection/setting/CollectionDescription.js +128 -0
  74. package/dist/esm/common/const.js +1 -1
  75. package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
  76. package/dist/esm/image/components/Image.js +23 -4
  77. package/dist/esm/image/components/Image.liquid.js +6 -5
  78. package/dist/esm/image/components/NextImage.liquid.js +4 -3
  79. package/dist/esm/image/components/NoDataImage.js +129 -0
  80. package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -3
  81. package/dist/esm/index.js +10 -0
  82. package/dist/esm/index.liquid.js +11 -1
  83. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  84. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  85. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  86. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  87. package/dist/esm/tab/hooks/useTabInteraction.js +14 -10
  88. package/dist/esm/text/components/Text.js +0 -1
  89. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  90. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  91. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  92. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  93. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  94. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  95. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  96. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  97. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  98. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  99. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  100. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  101. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  102. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  103. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  104. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  105. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  106. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  107. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  108. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  109. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  110. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  111. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  112. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  113. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  114. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  115. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  116. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  117. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  118. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  119. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  120. package/dist/esm/third-party/next.js +51 -1
  121. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  122. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  123. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  124. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  125. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  126. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  127. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  128. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  129. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  130. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  131. package/dist/esm/third-party/setting/index.js +224 -204
  132. package/dist/esm/video/components/HTML5Embed.js +2 -2
  133. package/dist/esm/video/components/HTML5Embed.liquid.js +6 -3
  134. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +4 -2
  135. package/dist/types/index.d.ts +182 -8
  136. package/package.json +2 -2
@@ -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;
@@ -0,0 +1,142 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var EssentialCountdownTimerBar = require('../configs/EssentialCountdownTimerBar.js');
6
+
7
+ const config = {
8
+ tag: EssentialCountdownTimerBar.default.tag,
9
+ label: EssentialCountdownTimerBar.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/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.png">',
11
+ editorConfigs: {
12
+ component: {
13
+ isThirdParty: true
14
+ }
15
+ },
16
+ presets: [
17
+ {
18
+ id: EssentialCountdownTimerBar.default.id,
19
+ name: {
20
+ en: EssentialCountdownTimerBar.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/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.png">
26
+ <span class="preset-item-title">Essential Countdown Timer Bar</span>
27
+ </div>`
28
+ },
29
+ components: [
30
+ {
31
+ tag: EssentialCountdownTimerBar.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-countdown-timer?utm_source=gempages',
63
+ appName: EssentialCountdownTimerBar.default.label
64
+ },
65
+ {
66
+ id: 'timerId',
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/countdown-timer-30',
76
+ appName: EssentialCountdownTimerBar.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: 'Timer id'
119
+ },
120
+ setting: {
121
+ id: 'timerId'
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;
@@ -0,0 +1,128 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var EstimatedDeliveryDatePlus = require('../configs/EstimatedDeliveryDatePlus.js');
6
+
7
+ const config = {
8
+ tag: EstimatedDeliveryDatePlus.default.tag,
9
+ label: EstimatedDeliveryDatePlus.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/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg">',
11
+ editorConfigs: {
12
+ component: {
13
+ isThirdParty: true
14
+ }
15
+ },
16
+ presets: [
17
+ {
18
+ id: EstimatedDeliveryDatePlus.default.id,
19
+ name: {
20
+ en: EstimatedDeliveryDatePlus.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/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg">
26
+ <span class="preset-item-title">Estimated Delivery Date ‑ Plus</span>
27
+ </div>`
28
+ },
29
+ components: [
30
+ {
31
+ tag: EstimatedDeliveryDatePlus.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: 'Delivery_coder_theme',
52
+ value: 'delivery_coder_theme'
53
+ }
54
+ ],
55
+ default: 'delivery_coder_theme'
56
+ },
57
+ {
58
+ id: 'install',
59
+ type: 'open-link',
60
+ target: '_blank',
61
+ linkType: 'install',
62
+ href: 'https://apps.shopify.com/estimated-delivery-date-plus?utm_source=gempages',
63
+ appName: EstimatedDeliveryDatePlus.default.label
64
+ },
65
+ {
66
+ id: 'openApp',
67
+ type: 'open-link',
68
+ target: '_blank',
69
+ linkType: 'openApp',
70
+ href: 'https://admin.shopify.com/?redirect=/apps/estimated-delivery-date-plus',
71
+ appName: EstimatedDeliveryDatePlus.default.label
72
+ },
73
+ {
74
+ id: 'align',
75
+ label: 'Alignment',
76
+ type: 'segment',
77
+ options: [
78
+ {
79
+ label: 'Left',
80
+ value: 'left',
81
+ type: 'align'
82
+ },
83
+ {
84
+ label: 'Center',
85
+ value: 'center',
86
+ type: 'align'
87
+ },
88
+ {
89
+ label: 'Right',
90
+ value: 'right',
91
+ type: 'align'
92
+ }
93
+ ],
94
+ devices: {
95
+ desktop: {
96
+ default: 'left'
97
+ }
98
+ }
99
+ }
100
+ ]
101
+ }
102
+ ],
103
+ ui: [
104
+ {
105
+ type: 'control',
106
+ setting: {
107
+ id: 'install'
108
+ }
109
+ },
110
+ {
111
+ type: 'control',
112
+ setting: {
113
+ id: 'openApp'
114
+ }
115
+ },
116
+ {
117
+ type: 'control',
118
+ label: {
119
+ en: 'Align'
120
+ },
121
+ setting: {
122
+ id: 'align'
123
+ }
124
+ }
125
+ ]
126
+ };
127
+
128
+ exports.default = config;