@gem-sdk/components 2.1.13-staging.2 → 2.1.13-staging.21
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.
- package/dist/cjs/article/components/ArticleImage.js +2 -1
- package/dist/cjs/article/components/ArticleList.js +1 -1
- package/dist/cjs/banner/components/hero-banner/index.liquid.js +12 -10
- package/dist/cjs/banner/components/hero-banner/utils/index.js +5 -3
- package/dist/cjs/builder.js +21 -1
- package/dist/cjs/collection/components/CollectionDescription.js +101 -7
- package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
- package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
- package/dist/cjs/common/const.js +1 -1
- package/dist/cjs/form/components/textarea/TextArea.liquid.js +2 -2
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +6 -5
- package/dist/cjs/image/components/Image.js +22 -3
- package/dist/cjs/image/components/Image.liquid.js +6 -5
- package/dist/cjs/image/components/NextImage.liquid.js +4 -3
- package/dist/cjs/image/components/NoDataImage.js +133 -0
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +7 -3
- package/dist/cjs/index.js +20 -0
- package/dist/cjs/index.liquid.js +22 -2
- package/dist/cjs/marquee/components/MarqueeBase.liquid.js +7 -26
- package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
- package/dist/cjs/tab/hooks/useTabInteraction.js +13 -9
- package/dist/cjs/text/components/Text.js +0 -1
- package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
- package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
- package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
- package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
- package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
- package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
- package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
- package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
- package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
- package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
- package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
- package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
- package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
- package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
- package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
- package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
- package/dist/cjs/third-party/components/QikifyUpsell.liquid.js +3 -46
- package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
- package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
- package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
- package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
- package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
- package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
- package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
- package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
- package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
- package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
- package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
- package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
- package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
- package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
- package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
- package/dist/cjs/third-party/next.js +51 -1
- package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
- package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
- package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
- package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
- package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
- package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
- package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
- package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
- package/dist/cjs/third-party/setting/QikifyUpsell.js +11 -1
- package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
- package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
- package/dist/cjs/third-party/setting/index.js +21 -1
- package/dist/cjs/video/components/HTML5Embed.js +2 -2
- package/dist/cjs/video/components/HTML5Embed.liquid.js +6 -3
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +5 -3
- package/dist/esm/article/components/ArticleImage.js +2 -1
- package/dist/esm/article/components/ArticleList.js +1 -1
- package/dist/esm/banner/components/hero-banner/index.liquid.js +12 -10
- package/dist/esm/banner/components/hero-banner/utils/index.js +5 -3
- package/dist/esm/builder.js +21 -1
- package/dist/esm/collection/components/CollectionDescription.js +103 -9
- package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
- package/dist/esm/collection/setting/CollectionDescription.js +128 -0
- package/dist/esm/common/const.js +1 -1
- package/dist/esm/form/components/textarea/TextArea.liquid.js +2 -2
- package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
- package/dist/esm/image/components/Image.js +23 -4
- package/dist/esm/image/components/Image.liquid.js +6 -5
- package/dist/esm/image/components/NextImage.liquid.js +4 -3
- package/dist/esm/image/components/NoDataImage.js +129 -0
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +7 -3
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.liquid.js +11 -1
- package/dist/esm/marquee/components/MarqueeBase.liquid.js +7 -26
- package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +2 -9
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
- package/dist/esm/tab/hooks/useTabInteraction.js +14 -10
- package/dist/esm/text/components/Text.js +0 -1
- package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
- package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
- package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
- package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
- package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
- package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
- package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
- package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
- package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
- package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
- package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
- package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
- package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
- package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
- package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
- package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
- package/dist/esm/third-party/components/QikifyUpsell.liquid.js +3 -46
- package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
- package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
- package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
- package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
- package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
- package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
- package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
- package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
- package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
- package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
- package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
- package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
- package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
- package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
- package/dist/esm/third-party/helpers/thirdParty.js +1 -1
- package/dist/esm/third-party/next.js +51 -1
- package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
- package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
- package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
- package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
- package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
- package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
- package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
- package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
- package/dist/esm/third-party/setting/QikifyUpsell.js +11 -1
- package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
- package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
- package/dist/esm/third-party/setting/index.js +224 -204
- package/dist/esm/video/components/HTML5Embed.js +2 -2
- package/dist/esm/video/components/HTML5Embed.liquid.js +6 -3
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +5 -3
- package/dist/types/index.d.ts +184 -8
- package/package.json +2 -2
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var OkendoReviewsLoyalty = require('../configs/OkendoReviewsLoyalty.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: OkendoReviewsLoyalty.default.tag,
|
|
9
|
+
label: OkendoReviewsLoyalty.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/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
placeholder: {
|
|
13
|
+
flowTag: [
|
|
14
|
+
'Product'
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
component: {
|
|
18
|
+
isThirdParty: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
presets: [
|
|
22
|
+
{
|
|
23
|
+
id: OkendoReviewsLoyalty.default.id,
|
|
24
|
+
name: {
|
|
25
|
+
en: OkendoReviewsLoyalty.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/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png">
|
|
31
|
+
<span class="preset-item-title">Okendo: Reviews & Loyalty</span>
|
|
32
|
+
</div>`
|
|
33
|
+
},
|
|
34
|
+
components: [
|
|
35
|
+
{
|
|
36
|
+
tag: OkendoReviewsLoyalty.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: 'productHandle',
|
|
52
|
+
type: 'product-handle',
|
|
53
|
+
hide: true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'widgetType',
|
|
57
|
+
label: 'Choose widget',
|
|
58
|
+
type: 'select',
|
|
59
|
+
options: [
|
|
60
|
+
{
|
|
61
|
+
label: 'Reviews Widget',
|
|
62
|
+
value: 'reviews-widget'
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
label: 'Reviews Badge',
|
|
66
|
+
value: 'reviews-badge'
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: 'Media Carousel',
|
|
70
|
+
value: 'media-carousel'
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
label: 'Media Grid',
|
|
74
|
+
value: 'media-grid'
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
label: 'Reviews Carousel',
|
|
78
|
+
value: 'reviews-carousel'
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
label: 'Star Rating',
|
|
82
|
+
value: 'star-rating'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: 'Questions Widget',
|
|
86
|
+
value: 'questions-widget'
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
default: 'reviews-widget'
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: 'install',
|
|
93
|
+
type: 'open-link',
|
|
94
|
+
target: '_blank',
|
|
95
|
+
linkType: 'install',
|
|
96
|
+
href: 'https://apps.shopify.com/okendo-reviews?utm_source=gempages',
|
|
97
|
+
appName: OkendoReviewsLoyalty.default.label
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: 'openApp',
|
|
101
|
+
type: 'open-link',
|
|
102
|
+
target: '_blank',
|
|
103
|
+
linkType: 'openApp',
|
|
104
|
+
href: 'https://admin.shopify.com/?redirect=/apps/okendo-reviews',
|
|
105
|
+
appName: OkendoReviewsLoyalty.default.label
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
id: 'align',
|
|
109
|
+
label: 'Alignment',
|
|
110
|
+
type: 'segment',
|
|
111
|
+
options: [
|
|
112
|
+
{
|
|
113
|
+
label: 'Left',
|
|
114
|
+
value: 'left',
|
|
115
|
+
type: 'align'
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
label: 'Center',
|
|
119
|
+
value: 'center',
|
|
120
|
+
type: 'align'
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: 'Right',
|
|
124
|
+
value: 'right',
|
|
125
|
+
type: 'align'
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
devices: {
|
|
129
|
+
desktop: {
|
|
130
|
+
default: 'left'
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
ui: [
|
|
138
|
+
{
|
|
139
|
+
type: 'control',
|
|
140
|
+
setting: {
|
|
141
|
+
id: 'install'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
type: 'control',
|
|
146
|
+
label: {
|
|
147
|
+
en: 'Choose Widget'
|
|
148
|
+
},
|
|
149
|
+
setting: {
|
|
150
|
+
id: 'widgetType'
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
type: 'control',
|
|
155
|
+
setting: {
|
|
156
|
+
id: 'openApp'
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: 'control',
|
|
161
|
+
label: {
|
|
162
|
+
en: 'Align'
|
|
163
|
+
},
|
|
164
|
+
setting: {
|
|
165
|
+
id: 'align'
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
exports.default = config;
|
|
@@ -44,6 +44,11 @@ const config = {
|
|
|
44
44
|
{
|
|
45
45
|
id: 'setting',
|
|
46
46
|
controls: [
|
|
47
|
+
{
|
|
48
|
+
id: 'appBlockId',
|
|
49
|
+
type: 'input',
|
|
50
|
+
default: ''
|
|
51
|
+
},
|
|
47
52
|
{
|
|
48
53
|
id: 'install',
|
|
49
54
|
type: 'open-link',
|
|
@@ -64,9 +69,14 @@ const config = {
|
|
|
64
69
|
id: 'widgetType',
|
|
65
70
|
label: 'Choose widget',
|
|
66
71
|
type: 'select',
|
|
67
|
-
default: '
|
|
72
|
+
default: 'bogo_offer',
|
|
68
73
|
options: QikifyUpsell.WidgetOptions
|
|
69
74
|
},
|
|
75
|
+
{
|
|
76
|
+
id: 'productHandle',
|
|
77
|
+
type: 'product-handle',
|
|
78
|
+
hide: true
|
|
79
|
+
},
|
|
70
80
|
{
|
|
71
81
|
id: 'align',
|
|
72
82
|
label: 'Alignment',
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var StellarDeliveryDatePickup = require('../configs/StellarDeliveryDatePickup.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: StellarDeliveryDatePickup.default.tag,
|
|
9
|
+
label: StellarDeliveryDatePickup.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/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
placeholder: {
|
|
13
|
+
flowPage: 'GP_PRODUCT'
|
|
14
|
+
},
|
|
15
|
+
component: {
|
|
16
|
+
isThirdParty: true
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
presets: [
|
|
20
|
+
{
|
|
21
|
+
id: StellarDeliveryDatePickup.default.id,
|
|
22
|
+
name: {
|
|
23
|
+
en: StellarDeliveryDatePickup.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/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg">
|
|
29
|
+
<span class="preset-item-title">Stellar Delivery Date & Pickup</span>
|
|
30
|
+
</div>`
|
|
31
|
+
},
|
|
32
|
+
components: [
|
|
33
|
+
{
|
|
34
|
+
tag: StellarDeliveryDatePickup.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/order-delivery-date-by-identixweb?utm_source=gempages',
|
|
49
|
+
appName: StellarDeliveryDatePickup.default.label
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: 'guideId',
|
|
53
|
+
type: 'group'
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'openApp',
|
|
57
|
+
type: 'open-link',
|
|
58
|
+
target: '_blank',
|
|
59
|
+
linkType: 'openApp',
|
|
60
|
+
href: 'https://admin.shopify.com/?redirect=/apps/order-delivery-date-by-identixweb',
|
|
61
|
+
appName: StellarDeliveryDatePickup.default.label
|
|
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-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>'
|
|
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,177 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var TrustedsiteTrustBadges = require('../configs/TrustedsiteTrustBadges.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: TrustedsiteTrustBadges.default.tag,
|
|
9
|
+
label: TrustedsiteTrustBadges.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/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
component: {
|
|
13
|
+
isThirdParty: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
presets: [
|
|
17
|
+
{
|
|
18
|
+
id: TrustedsiteTrustBadges.default.id,
|
|
19
|
+
name: {
|
|
20
|
+
en: TrustedsiteTrustBadges.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/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png">
|
|
26
|
+
<span class="preset-item-title">TrustedSite ‑ Trust Badges</span>
|
|
27
|
+
</div>`
|
|
28
|
+
},
|
|
29
|
+
components: [
|
|
30
|
+
{
|
|
31
|
+
tag: TrustedsiteTrustBadges.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: 'Engagement',
|
|
52
|
+
value: 'engagement'
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
default: 'engagement'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: 'trustId',
|
|
59
|
+
label: 'Trustmark Type',
|
|
60
|
+
type: 'select',
|
|
61
|
+
options: [
|
|
62
|
+
{
|
|
63
|
+
label: 'Certified Secure',
|
|
64
|
+
value: '202'
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: 'Secure Form',
|
|
68
|
+
value: '211'
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: 'Secure Checkout',
|
|
72
|
+
value: '212'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: 'Secure Login',
|
|
76
|
+
value: '213'
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
label: 'Issue-Free Orders',
|
|
80
|
+
value: '214'
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: 'Spam-Free',
|
|
84
|
+
value: '216'
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: 'Banner',
|
|
88
|
+
value: '1001'
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: 'Testimonial',
|
|
92
|
+
value: '1002'
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
default: '202'
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: 'install',
|
|
99
|
+
type: 'open-link',
|
|
100
|
+
target: '_blank',
|
|
101
|
+
linkType: 'install',
|
|
102
|
+
href: 'https://apps.shopify.com/mcafee-secure?utm_source=gempages',
|
|
103
|
+
appName: TrustedsiteTrustBadges.default.label
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: 'openApp',
|
|
107
|
+
type: 'open-link',
|
|
108
|
+
target: '_blank',
|
|
109
|
+
linkType: 'openApp',
|
|
110
|
+
href: 'https://www.trustedsite.com/',
|
|
111
|
+
appName: TrustedsiteTrustBadges.default.label
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: 'align',
|
|
115
|
+
label: 'Alignment',
|
|
116
|
+
type: 'segment',
|
|
117
|
+
options: [
|
|
118
|
+
{
|
|
119
|
+
label: 'Left',
|
|
120
|
+
value: 'left',
|
|
121
|
+
type: 'align'
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
label: 'Center',
|
|
125
|
+
value: 'center',
|
|
126
|
+
type: 'align'
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
label: 'Right',
|
|
130
|
+
value: 'right',
|
|
131
|
+
type: 'align'
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
devices: {
|
|
135
|
+
desktop: {
|
|
136
|
+
default: 'left'
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
ui: [
|
|
144
|
+
{
|
|
145
|
+
type: 'control',
|
|
146
|
+
setting: {
|
|
147
|
+
id: 'install'
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
type: 'control',
|
|
152
|
+
setting: {
|
|
153
|
+
id: 'trustId'
|
|
154
|
+
},
|
|
155
|
+
label: {
|
|
156
|
+
en: 'Trustmark Type'
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: 'control',
|
|
161
|
+
setting: {
|
|
162
|
+
id: 'openApp'
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
type: 'control',
|
|
167
|
+
label: {
|
|
168
|
+
en: 'Align'
|
|
169
|
+
},
|
|
170
|
+
setting: {
|
|
171
|
+
id: 'align'
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
exports.default = config;
|
|
@@ -103,11 +103,26 @@ var TrustreviewsProductReviews = require('./TrustreviewsProductReviews.js');
|
|
|
103
103
|
var MyappgurusProductReviews = require('./MyappgurusProductReviews.js');
|
|
104
104
|
var HulkProductOptions = require('./HulkProductOptions.js');
|
|
105
105
|
var TrustshopProductReviews = require('./TrustshopProductReviews.js');
|
|
106
|
+
var StellarDeliveryDatePickup = require('./StellarDeliveryDatePickup.js');
|
|
107
|
+
var EssentialCountdownTimerBar = require('./EssentialCountdownTimerBar.js');
|
|
108
|
+
var EssentialAnnouncementBar = require('./EssentialAnnouncementBar.js');
|
|
109
|
+
var OkendoReviewsLoyalty = require('./OkendoReviewsLoyalty.js');
|
|
110
|
+
var EstimatedDeliveryDatePlus = require('./EstimatedDeliveryDatePlus.js');
|
|
106
111
|
var HextomCountdownTimerBar = require('./HextomCountdownTimerBar.js');
|
|
107
112
|
var TrustBadgesBear = require('./TrustBadgesBear.js');
|
|
113
|
+
var TrustedsiteTrustBadges = require('./TrustedsiteTrustBadges.js');
|
|
114
|
+
var GloColorSwatchvariantImage = require('./GloColorSwatchvariantImage.js');
|
|
115
|
+
var BfSizeChartSizeGuide = require('./BfSizeChartSizeGuide.js');
|
|
116
|
+
var AlsoBoughtCbb = require('./AlsoBoughtCbb.js');
|
|
117
|
+
var HextomFreeShippingBar = require('./HextomFreeShippingBar.js');
|
|
108
118
|
|
|
109
119
|
var index = {
|
|
110
120
|
HextomCountdownTimerBar: HextomCountdownTimerBar.default,
|
|
121
|
+
EstimatedDeliveryDatePlus: EstimatedDeliveryDatePlus.default,
|
|
122
|
+
OkendoReviewsLoyalty: OkendoReviewsLoyalty.default,
|
|
123
|
+
EssentialAnnouncementBar: EssentialAnnouncementBar.default,
|
|
124
|
+
EssentialCountdownTimerBar: EssentialCountdownTimerBar.default,
|
|
125
|
+
StellarDeliveryDatePickup: StellarDeliveryDatePickup.default,
|
|
111
126
|
TrustshopProductReviews: TrustshopProductReviews.default,
|
|
112
127
|
HulkProductOptions: HulkProductOptions.default,
|
|
113
128
|
TrustreviewsProductReviews: TrustreviewsProductReviews.default,
|
|
@@ -209,7 +224,12 @@ var index = {
|
|
|
209
224
|
RequestQuoteHidePrice: RequestQuoteHidePrice.default,
|
|
210
225
|
BirdChime: BirdChime.default,
|
|
211
226
|
FordeerProductLabels: FordeerProductLabels.default,
|
|
212
|
-
TrustBadgesBear: TrustBadgesBear.default
|
|
227
|
+
TrustBadgesBear: TrustBadgesBear.default,
|
|
228
|
+
TrustedsiteTrustBadges: TrustedsiteTrustBadges.default,
|
|
229
|
+
GloColorSwatchvariantImage: GloColorSwatchvariantImage.default,
|
|
230
|
+
BfSizeChartSizeGuide: BfSizeChartSizeGuide.default,
|
|
231
|
+
AlsoBoughtCbb: AlsoBoughtCbb.default,
|
|
232
|
+
HextomFreeShippingBar: HextomFreeShippingBar.default
|
|
213
233
|
};
|
|
214
234
|
|
|
215
235
|
exports.default = index;
|
|
@@ -51,14 +51,14 @@ const HTML5Embed = (props)=>{
|
|
|
51
51
|
}),
|
|
52
52
|
props.thumbnail && showThumbnail && /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
53
53
|
role: "presentation",
|
|
54
|
-
className: "gp-absolute gp-top-0 gp-left-0 gp-w-full",
|
|
54
|
+
className: "gp-absolute gp-top-0 gp-left-0 gp-w-full gp-h-full",
|
|
55
55
|
onClick: playVideoAndTurnOffThumbnail,
|
|
56
56
|
style: props.style,
|
|
57
57
|
children: [
|
|
58
58
|
/*#__PURE__*/ jsxRuntime.jsx("img", {
|
|
59
59
|
id: "video-thumbnail",
|
|
60
60
|
src: props.thumbnail,
|
|
61
|
-
className: "gp-w-full gp-h-full gp-object-
|
|
61
|
+
className: "gp-w-full gp-h-full gp-object-contain gp-thumbnail-video",
|
|
62
62
|
alt: "Video Thumbnail"
|
|
63
63
|
}),
|
|
64
64
|
/*#__PURE__*/ jsxRuntime.jsx("button", {
|
|
@@ -7,6 +7,7 @@ var NextImage_liquid = require('../../image/components/NextImage.liquid.js');
|
|
|
7
7
|
var helpers = require('../../helpers.js');
|
|
8
8
|
|
|
9
9
|
const HTML5Embed = (props)=>{
|
|
10
|
+
const { enableLazyLoadImage, pageContext } = props;
|
|
10
11
|
const videoId = `gp-video-${props.uid}`;
|
|
11
12
|
const preloadThumbnail = props.autoplay && props.thumbnail;
|
|
12
13
|
const offLazyVideo = !props.lazy && props.isVideoComponent;
|
|
@@ -23,7 +24,9 @@ const HTML5Embed = (props)=>{
|
|
|
23
24
|
'--op': 0,
|
|
24
25
|
'--z': -1,
|
|
25
26
|
display: 'none'
|
|
26
|
-
}
|
|
27
|
+
},
|
|
28
|
+
enableLazyLoadImage,
|
|
29
|
+
pageContext
|
|
27
30
|
})}
|
|
28
31
|
${core.RenderIf(props.autoplay, `<script>
|
|
29
32
|
document.addEventListener("DOMContentLoaded", (event) => {
|
|
@@ -72,14 +75,14 @@ const HTML5Embed = (props)=>{
|
|
|
72
75
|
</video>
|
|
73
76
|
<div
|
|
74
77
|
style="${props.style}"
|
|
75
|
-
class="${core.cls('gp-absolute gp-top-0 gp-left-0 gp-w-full gp-thumbnail-video', {
|
|
78
|
+
class="${core.cls('gp-absolute gp-top-0 gp-left-0 gp-w-full gp-h-full gp-thumbnail-video', {
|
|
76
79
|
'gp-hidden': !props.thumbnail || props.autoplay
|
|
77
80
|
})}"
|
|
78
81
|
>
|
|
79
82
|
<img
|
|
80
83
|
id="video-thumbnail"
|
|
81
84
|
src="${props.thumbnail ?? ''}"
|
|
82
|
-
class="gp-w-full gp-h-full gp-object-
|
|
85
|
+
class="gp-w-full gp-h-full gp-object-contain"
|
|
83
86
|
alt="Video Thumbnail"
|
|
84
87
|
></img>
|
|
85
88
|
<button
|
|
@@ -7,7 +7,7 @@ var NextImage_liquid = require('../../image/components/NextImage.liquid.js');
|
|
|
7
7
|
var helpers = require('../../helpers.js');
|
|
8
8
|
|
|
9
9
|
const LiteYouTubeEmbed = (props)=>{
|
|
10
|
-
const { style, lazy, preload } = props;
|
|
10
|
+
const { style, lazy, preload, enableLazyLoadImage, pageContext } = props;
|
|
11
11
|
const videoUid = `gp-video-${props.uid}`;
|
|
12
12
|
const videoId = encodeURIComponent(props.id);
|
|
13
13
|
const videoTitle = props.title;
|
|
@@ -42,7 +42,7 @@ const LiteYouTubeEmbed = (props)=>{
|
|
|
42
42
|
data-title="${videoTitle}"
|
|
43
43
|
style="${{
|
|
44
44
|
...core.makeStyleResponsive('bgi', {
|
|
45
|
-
desktop: preload ? `url('${posterUrl}')` : `url('${imagePlaceholder}')`
|
|
45
|
+
desktop: preload || !enableLazyLoadImage ? `url('${posterUrl}')` : `url('${imagePlaceholder}')`
|
|
46
46
|
}),
|
|
47
47
|
...style
|
|
48
48
|
}}"
|
|
@@ -52,7 +52,9 @@ const LiteYouTubeEmbed = (props)=>{
|
|
|
52
52
|
src: posterUrl,
|
|
53
53
|
alt: 'Poster',
|
|
54
54
|
className: `gp-invisible gp-w-full gp-h-full gp_lazyforbg`,
|
|
55
|
-
isDisableAspectStyle: true
|
|
55
|
+
isDisableAspectStyle: true,
|
|
56
|
+
enableLazyLoadImage,
|
|
57
|
+
pageContext
|
|
56
58
|
})}
|
|
57
59
|
<button
|
|
58
60
|
type="button"
|
|
@@ -10,7 +10,7 @@ const ArticleList = ({ styles, setting, className, children, builderProps })=>{
|
|
|
10
10
|
const { articleSetting, numberOfArticle } = setting ?? {};
|
|
11
11
|
const { articleIds, articlePickType } = articleSetting ?? {};
|
|
12
12
|
const articlesQuery = {
|
|
13
|
-
first:
|
|
13
|
+
first: articleIds?.length ?? 50,
|
|
14
14
|
where: {
|
|
15
15
|
baseIDIn: [
|
|
16
16
|
...articleSetting?.articleIds ?? []
|