@gem-sdk/core 2.1.27-staging.9 → 2.1.33
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/components/Render.liquid.js +9 -9
- package/dist/cjs/helpers/align.js +0 -18
- package/dist/cjs/helpers/background.js +1 -0
- package/dist/cjs/helpers/layout.js +0 -17
- package/dist/cjs/helpers/third-party/appConfig.js +0 -7
- package/dist/cjs/helpers/third-party/appSetting.js +1 -16
- package/dist/cjs/helpers/third-party/constant.js +1 -2
- package/dist/cjs/index.js +0 -2
- package/dist/esm/components/Render.liquid.js +9 -9
- package/dist/esm/helpers/align.js +1 -18
- package/dist/esm/helpers/background.js +1 -0
- package/dist/esm/helpers/layout.js +1 -17
- package/dist/esm/helpers/third-party/appConfig.js +1 -7
- package/dist/esm/helpers/third-party/appSetting.js +1 -16
- package/dist/esm/helpers/third-party/constant.js +2 -3
- package/dist/esm/index.js +2 -2
- package/dist/types/index.d.ts +3 -7
- package/package.json +3 -3
|
@@ -36,7 +36,7 @@ const componentUsingAdvanced = [
|
|
|
36
36
|
'IconList',
|
|
37
37
|
'ProductVariants'
|
|
38
38
|
];
|
|
39
|
-
const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext,
|
|
39
|
+
const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
|
|
40
40
|
const item = builder[uid];
|
|
41
41
|
const Component = components[item?.tag];
|
|
42
42
|
if (!Component) {
|
|
@@ -75,7 +75,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
75
75
|
advanced: item.advanced,
|
|
76
76
|
parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
|
|
77
77
|
pageContext,
|
|
78
|
-
|
|
78
|
+
enableLazyloadImage,
|
|
79
79
|
...passProps,
|
|
80
80
|
builderAttrs: {
|
|
81
81
|
...passProps.builderAttrs
|
|
@@ -88,7 +88,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
88
88
|
components,
|
|
89
89
|
customProps,
|
|
90
90
|
pageContext,
|
|
91
|
-
|
|
91
|
+
enableLazyloadImage
|
|
92
92
|
};
|
|
93
93
|
}),
|
|
94
94
|
children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
|
|
@@ -101,7 +101,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
101
101
|
customProps,
|
|
102
102
|
parentTag: item.tag,
|
|
103
103
|
pageContext,
|
|
104
|
-
|
|
104
|
+
enableLazyloadImage
|
|
105
105
|
}))) : ''
|
|
106
106
|
});
|
|
107
107
|
}, ()=>{
|
|
@@ -117,7 +117,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
117
117
|
isText: componentTexts.includes(item.tag) ? true : null,
|
|
118
118
|
parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
|
|
119
119
|
pageContext,
|
|
120
|
-
|
|
120
|
+
enableLazyloadImage,
|
|
121
121
|
...passProps,
|
|
122
122
|
builderAttrs: {
|
|
123
123
|
...passProps.builderAttrs
|
|
@@ -139,7 +139,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
139
139
|
cssClass: item?.advanced?.cssClass
|
|
140
140
|
},
|
|
141
141
|
pageContext,
|
|
142
|
-
|
|
142
|
+
enableLazyloadImage,
|
|
143
143
|
...passProps,
|
|
144
144
|
builderAttrs: {
|
|
145
145
|
...passProps.builderAttrs
|
|
@@ -152,7 +152,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
152
152
|
components,
|
|
153
153
|
customProps,
|
|
154
154
|
pageContext,
|
|
155
|
-
|
|
155
|
+
enableLazyloadImage
|
|
156
156
|
};
|
|
157
157
|
}),
|
|
158
158
|
children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
|
|
@@ -165,7 +165,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
165
165
|
customProps,
|
|
166
166
|
parentTag: item.tag,
|
|
167
167
|
pageContext,
|
|
168
|
-
|
|
168
|
+
enableLazyloadImage
|
|
169
169
|
}))) : ''
|
|
170
170
|
});
|
|
171
171
|
}, ()=>{
|
|
@@ -181,7 +181,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
181
181
|
cssClass: item?.advanced?.cssClass
|
|
182
182
|
},
|
|
183
183
|
pageContext,
|
|
184
|
-
|
|
184
|
+
enableLazyloadImage,
|
|
185
185
|
isText: componentTexts.includes(item.tag) ? true : null,
|
|
186
186
|
style: componentIconList.includes(item.tag) ? style : null,
|
|
187
187
|
...passProps,
|
|
@@ -15,23 +15,5 @@ const convertTextAlignToJustify = (align)=>{
|
|
|
15
15
|
});
|
|
16
16
|
return result;
|
|
17
17
|
};
|
|
18
|
-
const getAlignmentClasses = (align)=>{
|
|
19
|
-
const breakpoints = [
|
|
20
|
-
'desktop',
|
|
21
|
-
'tablet',
|
|
22
|
-
'mobile'
|
|
23
|
-
];
|
|
24
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
25
|
-
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
26
|
-
const alignment = align?.[bp];
|
|
27
|
-
if (alignment) {
|
|
28
|
-
classes[`${prefix}gp-justify-start`] = alignment === 'left';
|
|
29
|
-
classes[`${prefix}gp-justify-center`] = alignment === 'center';
|
|
30
|
-
classes[`${prefix}gp-justify-end`] = alignment === 'right';
|
|
31
|
-
}
|
|
32
|
-
return classes;
|
|
33
|
-
}, {});
|
|
34
|
-
};
|
|
35
18
|
|
|
36
19
|
exports.convertTextAlignToJustify = convertTextAlignToJustify;
|
|
37
|
-
exports.getAlignmentClasses = getAlignmentClasses;
|
|
@@ -54,6 +54,7 @@ const getStyleBgImage = (background, options)=>{
|
|
|
54
54
|
const getBgImageByDevice = (background, device, options)=>{
|
|
55
55
|
const isBgVideo = background?.[device]?.type === 'video';
|
|
56
56
|
if (isBgVideo) return;
|
|
57
|
+
if (background?.[device]?.type === 'color') return 'url()'; // To prevent overriding background image from upper device
|
|
57
58
|
const backupFileKey = background?.[device]?.image?.backupFileKey;
|
|
58
59
|
const storage = background?.[device]?.image?.storage;
|
|
59
60
|
let imageByDevice = background?.[device]?.image?.src;
|
|
@@ -52,25 +52,8 @@ const convertOldLayout = (layout)=>{
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
const getLayoutClasses = (layout)=>{
|
|
56
|
-
const breakpoints = [
|
|
57
|
-
'desktop',
|
|
58
|
-
'tablet',
|
|
59
|
-
'mobile'
|
|
60
|
-
];
|
|
61
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
62
|
-
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
63
|
-
const layoutValue = layout?.[bp];
|
|
64
|
-
if (layoutValue) {
|
|
65
|
-
classes[`${prefix}gp-flex-col`] = layoutValue === 'vertical';
|
|
66
|
-
classes[`${prefix}gp-flex-row`] = layoutValue === 'horizontal';
|
|
67
|
-
}
|
|
68
|
-
return classes;
|
|
69
|
-
}, {});
|
|
70
|
-
};
|
|
71
55
|
|
|
72
56
|
exports.composeGridLayout = composeGridLayout;
|
|
73
57
|
exports.convertOldLayout = convertOldLayout;
|
|
74
|
-
exports.getLayoutClasses = getLayoutClasses;
|
|
75
58
|
exports.gridToArrayRegex = gridToArrayRegex;
|
|
76
59
|
exports.optionLayoutStyle = optionLayoutStyle;
|
|
@@ -336,12 +336,6 @@ const QikifyUpsellConfig = {
|
|
|
336
336
|
appId: '2e94b962-8172-4839-8ad9-7837eb8b017a'
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
|
-
const EcoboostifyShoppableReelUgcConfig = {
|
|
340
|
-
EcoboostifyShoppableReelUgc: {
|
|
341
|
-
appName: 'ecoboostify',
|
|
342
|
-
appId: '24110205-fc49-453b-ac2b-ceea2bf6a8f3'
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
339
|
|
|
346
340
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
347
341
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -351,7 +345,6 @@ exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
|
351
345
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
352
346
|
exports.BoostAISearchDiscoveryConfig = BoostAISearchDiscoveryConfig;
|
|
353
347
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
354
|
-
exports.EcoboostifyShoppableReelUgcConfig = EcoboostifyShoppableReelUgcConfig;
|
|
355
348
|
exports.EssentialAnnouncementBarConfig = EssentialAnnouncementBarConfig;
|
|
356
349
|
exports.EssentialCountdownTimerBarConfig = EssentialCountdownTimerBarConfig;
|
|
357
350
|
exports.EstimatedDeliveryDatePlusConfig = EstimatedDeliveryDatePlusConfig;
|
|
@@ -271,13 +271,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
271
271
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
|
-
case 'EcoboostifyShoppableReelUgc':
|
|
275
|
-
{
|
|
276
|
-
return {
|
|
277
|
-
...currentSetting,
|
|
278
|
-
playlist_id: appSetting?.['playlistId']
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
274
|
default:
|
|
282
275
|
return currentSetting;
|
|
283
276
|
}
|
|
@@ -1214,13 +1207,6 @@ const QikifyUpsell = {
|
|
|
1214
1207
|
}
|
|
1215
1208
|
}
|
|
1216
1209
|
};
|
|
1217
|
-
const EcoboostifyShoppableReelUgc = {
|
|
1218
|
-
EcoboostifyShoppableReelUgc: {
|
|
1219
|
-
'reel-playlist': {
|
|
1220
|
-
playlist_id: ''
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
};
|
|
1224
1210
|
const composeSettingsByWidgetType = {
|
|
1225
1211
|
...HextomCountdownTimerBar,
|
|
1226
1212
|
...EstimatedDeliveryDatePlus,
|
|
@@ -1277,8 +1263,7 @@ const composeSettingsByWidgetType = {
|
|
|
1277
1263
|
...BfSizeChartSizeGuide,
|
|
1278
1264
|
...HextomFreeShippingBar,
|
|
1279
1265
|
...ShopifySubscriptions,
|
|
1280
|
-
...QikifyUpsell
|
|
1281
|
-
...EcoboostifyShoppableReelUgc
|
|
1266
|
+
...QikifyUpsell
|
|
1282
1267
|
};
|
|
1283
1268
|
|
|
1284
1269
|
exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
|
|
@@ -58,8 +58,7 @@ const mapShopifyAppMeta = {
|
|
|
58
58
|
...appConfig.BfSizeChartSizeGuideConfig,
|
|
59
59
|
...appConfig.HextomFreeShippingBarConfig,
|
|
60
60
|
...appConfig.ShopifySubscriptionsConfig,
|
|
61
|
-
...appConfig.QikifyUpsellConfig
|
|
62
|
-
...appConfig.EcoboostifyShoppableReelUgcConfig
|
|
61
|
+
...appConfig.QikifyUpsellConfig
|
|
63
62
|
};
|
|
64
63
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
65
64
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -240,7 +240,6 @@ exports.composePostionIconList = iconList.composePostionIconList;
|
|
|
240
240
|
exports.isDefined = isDefined.isDefined;
|
|
241
241
|
exports.composeGridLayout = layout.composeGridLayout;
|
|
242
242
|
exports.convertOldLayout = layout.convertOldLayout;
|
|
243
|
-
exports.getLayoutClasses = layout.getLayoutClasses;
|
|
244
243
|
exports.gridToArrayRegex = layout.gridToArrayRegex;
|
|
245
244
|
exports.optionLayoutStyle = layout.optionLayoutStyle;
|
|
246
245
|
exports.makeAspectRatio = makeStyle.makeAspectRatio;
|
|
@@ -257,7 +256,6 @@ exports.makeStyleState = makeStyle.makeStyleState;
|
|
|
257
256
|
exports.makeWidth = makeStyle.makeWidth;
|
|
258
257
|
exports.removeNullUndefined = makeStyle.removeNullUndefined;
|
|
259
258
|
exports.convertTextAlignToJustify = align.convertTextAlignToJustify;
|
|
260
|
-
exports.getAlignmentClasses = align.getAlignmentClasses;
|
|
261
259
|
exports.checkInStock = variant.checkInStock;
|
|
262
260
|
exports.checkAvailableVariantInStock = product.checkAvailableVariantInStock;
|
|
263
261
|
exports.getSelectedVariant = product.getSelectedVariant;
|
|
@@ -32,7 +32,7 @@ const componentUsingAdvanced = [
|
|
|
32
32
|
'IconList',
|
|
33
33
|
'ProductVariants'
|
|
34
34
|
];
|
|
35
|
-
const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext,
|
|
35
|
+
const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
|
|
36
36
|
const item = builder[uid];
|
|
37
37
|
const Component = components[item?.tag];
|
|
38
38
|
if (!Component) {
|
|
@@ -71,7 +71,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
71
71
|
advanced: item.advanced,
|
|
72
72
|
parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
|
|
73
73
|
pageContext,
|
|
74
|
-
|
|
74
|
+
enableLazyloadImage,
|
|
75
75
|
...passProps,
|
|
76
76
|
builderAttrs: {
|
|
77
77
|
...passProps.builderAttrs
|
|
@@ -84,7 +84,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
84
84
|
components,
|
|
85
85
|
customProps,
|
|
86
86
|
pageContext,
|
|
87
|
-
|
|
87
|
+
enableLazyloadImage
|
|
88
88
|
};
|
|
89
89
|
}),
|
|
90
90
|
children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
|
|
@@ -97,7 +97,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
97
97
|
customProps,
|
|
98
98
|
parentTag: item.tag,
|
|
99
99
|
pageContext,
|
|
100
|
-
|
|
100
|
+
enableLazyloadImage
|
|
101
101
|
}))) : ''
|
|
102
102
|
});
|
|
103
103
|
}, ()=>{
|
|
@@ -113,7 +113,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
113
113
|
isText: componentTexts.includes(item.tag) ? true : null,
|
|
114
114
|
parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
|
|
115
115
|
pageContext,
|
|
116
|
-
|
|
116
|
+
enableLazyloadImage,
|
|
117
117
|
...passProps,
|
|
118
118
|
builderAttrs: {
|
|
119
119
|
...passProps.builderAttrs
|
|
@@ -135,7 +135,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
135
135
|
cssClass: item?.advanced?.cssClass
|
|
136
136
|
},
|
|
137
137
|
pageContext,
|
|
138
|
-
|
|
138
|
+
enableLazyloadImage,
|
|
139
139
|
...passProps,
|
|
140
140
|
builderAttrs: {
|
|
141
141
|
...passProps.builderAttrs
|
|
@@ -148,7 +148,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
148
148
|
components,
|
|
149
149
|
customProps,
|
|
150
150
|
pageContext,
|
|
151
|
-
|
|
151
|
+
enableLazyloadImage
|
|
152
152
|
};
|
|
153
153
|
}),
|
|
154
154
|
children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
|
|
@@ -161,7 +161,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
161
161
|
customProps,
|
|
162
162
|
parentTag: item.tag,
|
|
163
163
|
pageContext,
|
|
164
|
-
|
|
164
|
+
enableLazyloadImage
|
|
165
165
|
}))) : ''
|
|
166
166
|
});
|
|
167
167
|
}, ()=>{
|
|
@@ -177,7 +177,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
|
|
|
177
177
|
cssClass: item?.advanced?.cssClass
|
|
178
178
|
},
|
|
179
179
|
pageContext,
|
|
180
|
-
|
|
180
|
+
enableLazyloadImage,
|
|
181
181
|
isText: componentTexts.includes(item.tag) ? true : null,
|
|
182
182
|
style: componentIconList.includes(item.tag) ? style : null,
|
|
183
183
|
...passProps,
|
|
@@ -13,22 +13,5 @@ const convertTextAlignToJustify = (align)=>{
|
|
|
13
13
|
});
|
|
14
14
|
return result;
|
|
15
15
|
};
|
|
16
|
-
const getAlignmentClasses = (align)=>{
|
|
17
|
-
const breakpoints = [
|
|
18
|
-
'desktop',
|
|
19
|
-
'tablet',
|
|
20
|
-
'mobile'
|
|
21
|
-
];
|
|
22
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
23
|
-
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
24
|
-
const alignment = align?.[bp];
|
|
25
|
-
if (alignment) {
|
|
26
|
-
classes[`${prefix}gp-justify-start`] = alignment === 'left';
|
|
27
|
-
classes[`${prefix}gp-justify-center`] = alignment === 'center';
|
|
28
|
-
classes[`${prefix}gp-justify-end`] = alignment === 'right';
|
|
29
|
-
}
|
|
30
|
-
return classes;
|
|
31
|
-
}, {});
|
|
32
|
-
};
|
|
33
16
|
|
|
34
|
-
export { convertTextAlignToJustify
|
|
17
|
+
export { convertTextAlignToJustify };
|
|
@@ -52,6 +52,7 @@ const getStyleBgImage = (background, options)=>{
|
|
|
52
52
|
const getBgImageByDevice = (background, device, options)=>{
|
|
53
53
|
const isBgVideo = background?.[device]?.type === 'video';
|
|
54
54
|
if (isBgVideo) return;
|
|
55
|
+
if (background?.[device]?.type === 'color') return 'url()'; // To prevent overriding background image from upper device
|
|
55
56
|
const backupFileKey = background?.[device]?.image?.backupFileKey;
|
|
56
57
|
const storage = background?.[device]?.image?.storage;
|
|
57
58
|
let imageByDevice = background?.[device]?.image?.src;
|
|
@@ -50,21 +50,5 @@ const convertOldLayout = (layout)=>{
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
-
const getLayoutClasses = (layout)=>{
|
|
54
|
-
const breakpoints = [
|
|
55
|
-
'desktop',
|
|
56
|
-
'tablet',
|
|
57
|
-
'mobile'
|
|
58
|
-
];
|
|
59
|
-
return breakpoints.reduce((classes, bp)=>{
|
|
60
|
-
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
61
|
-
const layoutValue = layout?.[bp];
|
|
62
|
-
if (layoutValue) {
|
|
63
|
-
classes[`${prefix}gp-flex-col`] = layoutValue === 'vertical';
|
|
64
|
-
classes[`${prefix}gp-flex-row`] = layoutValue === 'horizontal';
|
|
65
|
-
}
|
|
66
|
-
return classes;
|
|
67
|
-
}, {});
|
|
68
|
-
};
|
|
69
53
|
|
|
70
|
-
export { composeGridLayout, convertOldLayout,
|
|
54
|
+
export { composeGridLayout, convertOldLayout, gridToArrayRegex, optionLayoutStyle };
|
|
@@ -334,11 +334,5 @@ const QikifyUpsellConfig = {
|
|
|
334
334
|
appId: '2e94b962-8172-4839-8ad9-7837eb8b017a'
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
|
-
const EcoboostifyShoppableReelUgcConfig = {
|
|
338
|
-
EcoboostifyShoppableReelUgc: {
|
|
339
|
-
appName: 'ecoboostify',
|
|
340
|
-
appId: '24110205-fc49-453b-ac2b-ceea2bf6a8f3'
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
337
|
|
|
344
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig,
|
|
338
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, EssentialAnnouncementBarConfig, EssentialCountdownTimerBarConfig, EstimatedDeliveryDatePlusConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloColorSwatchvariantImageConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HextomCountdownTimerBarConfig, HextomFreeShippingBarConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, OkendoReviewsLoyaltyConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, QikifyUpsellConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, ShopifySubscriptionsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -269,13 +269,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
269
269
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
case 'EcoboostifyShoppableReelUgc':
|
|
273
|
-
{
|
|
274
|
-
return {
|
|
275
|
-
...currentSetting,
|
|
276
|
-
playlist_id: appSetting?.['playlistId']
|
|
277
|
-
};
|
|
278
|
-
}
|
|
279
272
|
default:
|
|
280
273
|
return currentSetting;
|
|
281
274
|
}
|
|
@@ -1212,13 +1205,6 @@ const QikifyUpsell = {
|
|
|
1212
1205
|
}
|
|
1213
1206
|
}
|
|
1214
1207
|
};
|
|
1215
|
-
const EcoboostifyShoppableReelUgc = {
|
|
1216
|
-
EcoboostifyShoppableReelUgc: {
|
|
1217
|
-
'reel-playlist': {
|
|
1218
|
-
playlist_id: ''
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
};
|
|
1222
1208
|
const composeSettingsByWidgetType = {
|
|
1223
1209
|
...HextomCountdownTimerBar,
|
|
1224
1210
|
...EstimatedDeliveryDatePlus,
|
|
@@ -1275,8 +1261,7 @@ const composeSettingsByWidgetType = {
|
|
|
1275
1261
|
...BfSizeChartSizeGuide,
|
|
1276
1262
|
...HextomFreeShippingBar,
|
|
1277
1263
|
...ShopifySubscriptions,
|
|
1278
|
-
...QikifyUpsell
|
|
1279
|
-
...EcoboostifyShoppableReelUgc
|
|
1264
|
+
...QikifyUpsell
|
|
1280
1265
|
};
|
|
1281
1266
|
|
|
1282
1267
|
export { composeSettingsByWidgetType, overrideSettings };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, TrustooConfig, LooxReviewsConfig, PowrContactFormBuilderConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig, ShopifySubscriptionsConfig, QikifyUpsellConfig
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, TrustooConfig, LooxReviewsConfig, PowrContactFormBuilderConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig, ShopifySubscriptionsConfig, QikifyUpsellConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -56,8 +56,7 @@ const mapShopifyAppMeta = {
|
|
|
56
56
|
...BfSizeChartSizeGuideConfig,
|
|
57
57
|
...HextomFreeShippingBarConfig,
|
|
58
58
|
...ShopifySubscriptionsConfig,
|
|
59
|
-
...QikifyUpsellConfig
|
|
60
|
-
...EcoboostifyShoppableReelUgcConfig
|
|
59
|
+
...QikifyUpsellConfig
|
|
61
60
|
};
|
|
62
61
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
63
62
|
|
package/dist/esm/index.js
CHANGED
|
@@ -63,9 +63,9 @@ export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
|
|
|
63
63
|
export { convertHTML } from './helpers/covert-entities-html.js';
|
|
64
64
|
export { composePositionLineHeight, composePostionIconList } from './helpers/icon-list.js';
|
|
65
65
|
export { isDefined } from './helpers/is-defined.js';
|
|
66
|
-
export { composeGridLayout, convertOldLayout,
|
|
66
|
+
export { composeGridLayout, convertOldLayout, gridToArrayRegex, optionLayoutStyle } from './helpers/layout.js';
|
|
67
67
|
export { makeAspectRatio, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined } from './helpers/make-style.js';
|
|
68
|
-
export { convertTextAlignToJustify
|
|
68
|
+
export { convertTextAlignToJustify } from './helpers/align.js';
|
|
69
69
|
export { checkInStock } from './helpers/variant.js';
|
|
70
70
|
export { checkAvailableVariantInStock, getSelectedVariant, parseSelectedOption } from './helpers/product.js';
|
|
71
71
|
export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7438,7 +7438,6 @@ type BaseProps<Setting = unknown, Style = unknown, Advanced = AdvancedType> = {
|
|
|
7438
7438
|
styles?: Style;
|
|
7439
7439
|
setting?: Setting;
|
|
7440
7440
|
advanced?: Advanced;
|
|
7441
|
-
enableLazyLoadImage?: boolean;
|
|
7442
7441
|
};
|
|
7443
7442
|
type BasePropsWrap<S = unknown, Style = unknown, A = Record<string, any>> = BaseProps<S, Style, A> & {
|
|
7444
7443
|
builderAttrs?: Record<string, any>;
|
|
@@ -8884,7 +8883,6 @@ type PageContext = {
|
|
|
8884
8883
|
pageType?: string;
|
|
8885
8884
|
isTranslateWithLocale?: boolean;
|
|
8886
8885
|
sectionName?: string;
|
|
8887
|
-
isOptimizePlan?: boolean;
|
|
8888
8886
|
};
|
|
8889
8887
|
type OnlyOne<T, U> = (T & {
|
|
8890
8888
|
[K in keyof U]?: never;
|
|
@@ -35916,10 +35914,10 @@ type Props = {
|
|
|
35916
35914
|
components: Record<string, any>;
|
|
35917
35915
|
extraFiles?: ExtraFiles;
|
|
35918
35916
|
pageContext?: PageContext;
|
|
35919
|
-
|
|
35917
|
+
enableLazyloadImage?: boolean;
|
|
35920
35918
|
[key: string]: any;
|
|
35921
35919
|
};
|
|
35922
|
-
declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext,
|
|
35920
|
+
declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, enableLazyloadImage, ...passProps }: Props) => {
|
|
35923
35921
|
liquid: string;
|
|
35924
35922
|
extraFiles: ExtraFiles;
|
|
35925
35923
|
};
|
|
@@ -41495,10 +41493,8 @@ declare const gridToArrayRegex: RegExp;
|
|
|
41495
41493
|
declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => React.CSSProperties;
|
|
41496
41494
|
declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
|
|
41497
41495
|
declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
|
|
41498
|
-
declare const getLayoutClasses: (layout: Partial<Record<NameDevices$1, string>> | undefined) => Record<string, boolean>;
|
|
41499
41496
|
|
|
41500
41497
|
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
41501
|
-
declare const getAlignmentClasses: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
41502
41498
|
|
|
41503
41499
|
declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
|
|
41504
41500
|
|
|
@@ -45025,4 +45021,4 @@ declare const useInteraction: () => {
|
|
|
45025
45021
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
45026
45022
|
};
|
|
45027
45023
|
|
|
45028
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs$1 as QueryPublishedShopMetasArgs, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey,
|
|
45024
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs$1 as QueryPublishedShopMetasArgs, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.33",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "2.1.
|
|
31
|
-
"@gem-sdk/styles": "2.1.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "2.1.0",
|
|
31
|
+
"@gem-sdk/styles": "2.1.31",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|