@gem-sdk/components 2.1.13-staging.2 → 2.1.13-staging.20

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 (146) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +2 -1
  2. package/dist/cjs/article/components/ArticleList.js +1 -1
  3. package/dist/cjs/banner/components/hero-banner/index.liquid.js +12 -10
  4. package/dist/cjs/banner/components/hero-banner/utils/index.js +5 -3
  5. package/dist/cjs/builder.js +21 -1
  6. package/dist/cjs/collection/components/CollectionDescription.js +101 -7
  7. package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
  8. package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
  9. package/dist/cjs/common/const.js +1 -1
  10. package/dist/cjs/form/components/textarea/TextArea.liquid.js +2 -2
  11. package/dist/cjs/image/components/AdaptiveImage.liquid.js +6 -5
  12. package/dist/cjs/image/components/Image.js +22 -3
  13. package/dist/cjs/image/components/Image.liquid.js +6 -5
  14. package/dist/cjs/image/components/NextImage.liquid.js +4 -3
  15. package/dist/cjs/image/components/NoDataImage.js +133 -0
  16. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -3
  17. package/dist/cjs/index.js +20 -0
  18. package/dist/cjs/index.liquid.js +22 -2
  19. package/dist/cjs/marquee/components/MarqueeBase.liquid.js +7 -26
  20. package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
  21. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  22. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  23. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  24. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  25. package/dist/cjs/tab/hooks/useTabInteraction.js +13 -9
  26. package/dist/cjs/text/components/Text.js +0 -1
  27. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  28. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  29. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  30. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  31. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  32. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  33. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  34. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  35. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  36. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  37. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  38. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  39. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  40. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  41. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  42. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  43. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  44. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  45. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  46. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  47. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  48. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  49. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  50. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  51. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  52. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  53. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  54. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  55. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  56. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  57. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  58. package/dist/cjs/third-party/next.js +51 -1
  59. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  60. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  61. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  62. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  63. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  64. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  65. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  66. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  67. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  68. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  69. package/dist/cjs/third-party/setting/index.js +21 -1
  70. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  71. package/dist/cjs/video/components/HTML5Embed.liquid.js +6 -3
  72. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  73. package/dist/esm/article/components/ArticleImage.js +2 -1
  74. package/dist/esm/article/components/ArticleList.js +1 -1
  75. package/dist/esm/banner/components/hero-banner/index.liquid.js +12 -10
  76. package/dist/esm/banner/components/hero-banner/utils/index.js +5 -3
  77. package/dist/esm/builder.js +21 -1
  78. package/dist/esm/collection/components/CollectionDescription.js +103 -9
  79. package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
  80. package/dist/esm/collection/setting/CollectionDescription.js +128 -0
  81. package/dist/esm/common/const.js +1 -1
  82. package/dist/esm/form/components/textarea/TextArea.liquid.js +2 -2
  83. package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
  84. package/dist/esm/image/components/Image.js +23 -4
  85. package/dist/esm/image/components/Image.liquid.js +6 -5
  86. package/dist/esm/image/components/NextImage.liquid.js +4 -3
  87. package/dist/esm/image/components/NoDataImage.js +129 -0
  88. package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -3
  89. package/dist/esm/index.js +10 -0
  90. package/dist/esm/index.liquid.js +11 -1
  91. package/dist/esm/marquee/components/MarqueeBase.liquid.js +7 -26
  92. package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
  93. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  94. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  95. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  96. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  97. package/dist/esm/tab/hooks/useTabInteraction.js +14 -10
  98. package/dist/esm/text/components/Text.js +0 -1
  99. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  100. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  101. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  102. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  103. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  104. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  105. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  106. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  107. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  108. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  109. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  110. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  111. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  112. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  113. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  114. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  115. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  116. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  117. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  118. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  119. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  120. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  121. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  122. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  123. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  124. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  125. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  126. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  127. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  128. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  129. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  130. package/dist/esm/third-party/next.js +51 -1
  131. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  132. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  133. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  134. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  135. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  136. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  137. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  138. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  139. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  140. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  141. package/dist/esm/third-party/setting/index.js +224 -204
  142. package/dist/esm/video/components/HTML5Embed.js +2 -2
  143. package/dist/esm/video/components/HTML5Embed.liquid.js +6 -3
  144. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +5 -3
  145. package/dist/types/index.d.ts +182 -8
  146. package/package.json +2 -2
@@ -0,0 +1,124 @@
1
+ import AppConfig from '../configs/HextomFreeShippingBar.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.png">',
7
+ editorConfigs: {
8
+ component: {
9
+ isThirdParty: true
10
+ }
11
+ },
12
+ presets: [
13
+ {
14
+ id: AppConfig.id,
15
+ name: {
16
+ en: AppConfig.label
17
+ },
18
+ hideTextContent: true,
19
+ icon: {
20
+ desktop: `<div class="w-full flex flex-col items-center">
21
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.png">
22
+ <span class="preset-item-title">Hextom: Free Shipping Bar</span>
23
+ </div>`
24
+ },
25
+ components: [
26
+ {
27
+ tag: AppConfig.tag
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ settings: [
33
+ {
34
+ id: 'setting',
35
+ controls: [
36
+ {
37
+ id: 'appBlockId',
38
+ type: 'input',
39
+ default: ''
40
+ },
41
+ {
42
+ id: 'widgetType',
43
+ label: 'Choose widget',
44
+ type: 'select',
45
+ options: [
46
+ {
47
+ label: 'Fsb Custom Placement',
48
+ value: 'fsb-custom-placement'
49
+ }
50
+ ],
51
+ default: 'fsb-custom-placement'
52
+ },
53
+ {
54
+ id: 'install',
55
+ type: 'open-link',
56
+ target: '_blank',
57
+ linkType: 'install',
58
+ href: 'https://apps.shopify.com/free-shipping-bar?utm_source=gempages',
59
+ appName: AppConfig.label
60
+ },
61
+ {
62
+ id: 'openApp',
63
+ type: 'open-link',
64
+ target: '_blank',
65
+ linkType: 'openApp',
66
+ href: 'https://admin.shopify.com/?redirect=/apps/free-shipping-bar',
67
+ appName: AppConfig.label
68
+ },
69
+ {
70
+ id: 'align',
71
+ label: 'Alignment',
72
+ type: 'segment',
73
+ options: [
74
+ {
75
+ label: 'Left',
76
+ value: 'left',
77
+ type: 'align'
78
+ },
79
+ {
80
+ label: 'Center',
81
+ value: 'center',
82
+ type: 'align'
83
+ },
84
+ {
85
+ label: 'Right',
86
+ value: 'right',
87
+ type: 'align'
88
+ }
89
+ ],
90
+ devices: {
91
+ desktop: {
92
+ default: 'left'
93
+ }
94
+ }
95
+ }
96
+ ]
97
+ }
98
+ ],
99
+ ui: [
100
+ {
101
+ type: 'control',
102
+ setting: {
103
+ id: 'install'
104
+ }
105
+ },
106
+ {
107
+ type: 'control',
108
+ setting: {
109
+ id: 'openApp'
110
+ }
111
+ },
112
+ {
113
+ type: 'control',
114
+ label: {
115
+ en: 'Align'
116
+ },
117
+ setting: {
118
+ id: 'align'
119
+ }
120
+ }
121
+ ]
122
+ };
123
+
124
+ export { config as default };
@@ -0,0 +1,167 @@
1
+ import AppConfig from '../configs/OkendoReviewsLoyalty.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png">',
7
+ editorConfigs: {
8
+ placeholder: {
9
+ flowTag: [
10
+ 'Product'
11
+ ]
12
+ },
13
+ component: {
14
+ isThirdParty: true
15
+ }
16
+ },
17
+ presets: [
18
+ {
19
+ id: AppConfig.id,
20
+ name: {
21
+ en: AppConfig.label
22
+ },
23
+ hideTextContent: true,
24
+ icon: {
25
+ desktop: `<div class="w-full flex flex-col items-center">
26
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png">
27
+ <span class="preset-item-title">Okendo: Reviews & Loyalty</span>
28
+ </div>`
29
+ },
30
+ components: [
31
+ {
32
+ tag: AppConfig.tag
33
+ }
34
+ ]
35
+ }
36
+ ],
37
+ settings: [
38
+ {
39
+ id: 'setting',
40
+ controls: [
41
+ {
42
+ id: 'appBlockId',
43
+ type: 'input',
44
+ default: ''
45
+ },
46
+ {
47
+ id: 'productHandle',
48
+ type: 'product-handle',
49
+ hide: true
50
+ },
51
+ {
52
+ id: 'widgetType',
53
+ label: 'Choose widget',
54
+ type: 'select',
55
+ options: [
56
+ {
57
+ label: 'Reviews Widget',
58
+ value: 'reviews-widget'
59
+ },
60
+ {
61
+ label: 'Reviews Badge',
62
+ value: 'reviews-badge'
63
+ },
64
+ {
65
+ label: 'Media Carousel',
66
+ value: 'media-carousel'
67
+ },
68
+ {
69
+ label: 'Media Grid',
70
+ value: 'media-grid'
71
+ },
72
+ {
73
+ label: 'Reviews Carousel',
74
+ value: 'reviews-carousel'
75
+ },
76
+ {
77
+ label: 'Star Rating',
78
+ value: 'star-rating'
79
+ },
80
+ {
81
+ label: 'Questions Widget',
82
+ value: 'questions-widget'
83
+ }
84
+ ],
85
+ default: 'reviews-widget'
86
+ },
87
+ {
88
+ id: 'install',
89
+ type: 'open-link',
90
+ target: '_blank',
91
+ linkType: 'install',
92
+ href: 'https://apps.shopify.com/okendo-reviews?utm_source=gempages',
93
+ appName: AppConfig.label
94
+ },
95
+ {
96
+ id: 'openApp',
97
+ type: 'open-link',
98
+ target: '_blank',
99
+ linkType: 'openApp',
100
+ href: 'https://admin.shopify.com/?redirect=/apps/okendo-reviews',
101
+ appName: AppConfig.label
102
+ },
103
+ {
104
+ id: 'align',
105
+ label: 'Alignment',
106
+ type: 'segment',
107
+ options: [
108
+ {
109
+ label: 'Left',
110
+ value: 'left',
111
+ type: 'align'
112
+ },
113
+ {
114
+ label: 'Center',
115
+ value: 'center',
116
+ type: 'align'
117
+ },
118
+ {
119
+ label: 'Right',
120
+ value: 'right',
121
+ type: 'align'
122
+ }
123
+ ],
124
+ devices: {
125
+ desktop: {
126
+ default: 'left'
127
+ }
128
+ }
129
+ }
130
+ ]
131
+ }
132
+ ],
133
+ ui: [
134
+ {
135
+ type: 'control',
136
+ setting: {
137
+ id: 'install'
138
+ }
139
+ },
140
+ {
141
+ type: 'control',
142
+ label: {
143
+ en: 'Choose Widget'
144
+ },
145
+ setting: {
146
+ id: 'widgetType'
147
+ }
148
+ },
149
+ {
150
+ type: 'control',
151
+ setting: {
152
+ id: 'openApp'
153
+ }
154
+ },
155
+ {
156
+ type: 'control',
157
+ label: {
158
+ en: 'Align'
159
+ },
160
+ setting: {
161
+ id: 'align'
162
+ }
163
+ }
164
+ ]
165
+ };
166
+
167
+ export { config as default };
@@ -0,0 +1,123 @@
1
+ import AppConfig from '../configs/StellarDeliveryDatePickup.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg">',
7
+ editorConfigs: {
8
+ placeholder: {
9
+ flowPage: 'GP_PRODUCT'
10
+ },
11
+ component: {
12
+ isThirdParty: true
13
+ }
14
+ },
15
+ presets: [
16
+ {
17
+ id: AppConfig.id,
18
+ name: {
19
+ en: AppConfig.label
20
+ },
21
+ hideTextContent: true,
22
+ icon: {
23
+ desktop: `<div class="w-full flex flex-col items-center">
24
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg">
25
+ <span class="preset-item-title">Stellar Delivery Date & Pickup</span>
26
+ </div>`
27
+ },
28
+ components: [
29
+ {
30
+ tag: AppConfig.tag
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ settings: [
36
+ {
37
+ id: 'setting',
38
+ controls: [
39
+ {
40
+ id: 'install',
41
+ type: 'open-link',
42
+ target: '_blank',
43
+ linkType: 'install',
44
+ href: 'https://apps.shopify.com/order-delivery-date-by-identixweb?utm_source=gempages',
45
+ appName: AppConfig.label
46
+ },
47
+ {
48
+ id: 'guideId',
49
+ type: 'group'
50
+ },
51
+ {
52
+ id: 'openApp',
53
+ type: 'open-link',
54
+ target: '_blank',
55
+ linkType: 'openApp',
56
+ href: 'https://admin.shopify.com/?redirect=/apps/order-delivery-date-by-identixweb',
57
+ appName: AppConfig.label
58
+ },
59
+ {
60
+ id: 'align',
61
+ label: 'Alignment',
62
+ type: 'segment',
63
+ options: [
64
+ {
65
+ label: 'Left',
66
+ value: 'left',
67
+ type: 'align'
68
+ },
69
+ {
70
+ label: 'Center',
71
+ value: 'center',
72
+ type: 'align'
73
+ },
74
+ {
75
+ label: 'Right',
76
+ value: 'right',
77
+ type: 'align'
78
+ }
79
+ ],
80
+ devices: {
81
+ desktop: {
82
+ default: 'left'
83
+ }
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ ui: [
90
+ {
91
+ type: 'control',
92
+ setting: {
93
+ id: 'install'
94
+ }
95
+ },
96
+ {
97
+ type: 'control',
98
+ info: {
99
+ en: '<span>To make this element work, copy the class <strong>.gp-integration-stellar-delivery__position</strong> and paste it into the Selector input field in the Run Wizard settings. For more details, check the instructions on<a style="text-decoration: none; color: #8AA4FF" href="https://www.identixweb.com/helpdesk/order-delivery-date/general-settings/setup-wizard/" target="_blank"> how to set up the Run Wizard.</a></span>'
100
+ },
101
+ setting: {
102
+ id: 'guideId'
103
+ }
104
+ },
105
+ {
106
+ type: 'control',
107
+ setting: {
108
+ id: 'openApp'
109
+ }
110
+ },
111
+ {
112
+ type: 'control',
113
+ label: {
114
+ en: 'Align'
115
+ },
116
+ setting: {
117
+ id: 'align'
118
+ }
119
+ }
120
+ ]
121
+ };
122
+
123
+ export { config as default };
@@ -0,0 +1,173 @@
1
+ import AppConfig from '../configs/TrustedsiteTrustBadges.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png">',
7
+ editorConfigs: {
8
+ component: {
9
+ isThirdParty: true
10
+ }
11
+ },
12
+ presets: [
13
+ {
14
+ id: AppConfig.id,
15
+ name: {
16
+ en: AppConfig.label
17
+ },
18
+ hideTextContent: true,
19
+ icon: {
20
+ desktop: `<div class="w-full flex flex-col items-center">
21
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png">
22
+ <span class="preset-item-title">TrustedSite ‑ Trust Badges</span>
23
+ </div>`
24
+ },
25
+ components: [
26
+ {
27
+ tag: AppConfig.tag
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ settings: [
33
+ {
34
+ id: 'setting',
35
+ controls: [
36
+ {
37
+ id: 'appBlockId',
38
+ type: 'input',
39
+ default: ''
40
+ },
41
+ {
42
+ id: 'widgetType',
43
+ label: 'Choose widget',
44
+ type: 'select',
45
+ options: [
46
+ {
47
+ label: 'Engagement',
48
+ value: 'engagement'
49
+ }
50
+ ],
51
+ default: 'engagement'
52
+ },
53
+ {
54
+ id: 'trustId',
55
+ label: 'Trustmark Type',
56
+ type: 'select',
57
+ options: [
58
+ {
59
+ label: 'Certified Secure',
60
+ value: '202'
61
+ },
62
+ {
63
+ label: 'Secure Form',
64
+ value: '211'
65
+ },
66
+ {
67
+ label: 'Secure Checkout',
68
+ value: '212'
69
+ },
70
+ {
71
+ label: 'Secure Login',
72
+ value: '213'
73
+ },
74
+ {
75
+ label: 'Issue-Free Orders',
76
+ value: '214'
77
+ },
78
+ {
79
+ label: 'Spam-Free',
80
+ value: '216'
81
+ },
82
+ {
83
+ label: 'Banner',
84
+ value: '1001'
85
+ },
86
+ {
87
+ label: 'Testimonial',
88
+ value: '1002'
89
+ }
90
+ ],
91
+ default: '202'
92
+ },
93
+ {
94
+ id: 'install',
95
+ type: 'open-link',
96
+ target: '_blank',
97
+ linkType: 'install',
98
+ href: 'https://apps.shopify.com/mcafee-secure?utm_source=gempages',
99
+ appName: AppConfig.label
100
+ },
101
+ {
102
+ id: 'openApp',
103
+ type: 'open-link',
104
+ target: '_blank',
105
+ linkType: 'openApp',
106
+ href: 'https://www.trustedsite.com/',
107
+ appName: AppConfig.label
108
+ },
109
+ {
110
+ id: 'align',
111
+ label: 'Alignment',
112
+ type: 'segment',
113
+ options: [
114
+ {
115
+ label: 'Left',
116
+ value: 'left',
117
+ type: 'align'
118
+ },
119
+ {
120
+ label: 'Center',
121
+ value: 'center',
122
+ type: 'align'
123
+ },
124
+ {
125
+ label: 'Right',
126
+ value: 'right',
127
+ type: 'align'
128
+ }
129
+ ],
130
+ devices: {
131
+ desktop: {
132
+ default: 'left'
133
+ }
134
+ }
135
+ }
136
+ ]
137
+ }
138
+ ],
139
+ ui: [
140
+ {
141
+ type: 'control',
142
+ setting: {
143
+ id: 'install'
144
+ }
145
+ },
146
+ {
147
+ type: 'control',
148
+ setting: {
149
+ id: 'trustId'
150
+ },
151
+ label: {
152
+ en: 'Trustmark Type'
153
+ }
154
+ },
155
+ {
156
+ type: 'control',
157
+ setting: {
158
+ id: 'openApp'
159
+ }
160
+ },
161
+ {
162
+ type: 'control',
163
+ label: {
164
+ en: 'Align'
165
+ },
166
+ setting: {
167
+ id: 'align'
168
+ }
169
+ }
170
+ ]
171
+ };
172
+
173
+ export { config as default };