@gem-sdk/core 2.1.13-staging.16 → 2.1.13-staging.25
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 +13 -10
- package/dist/cjs/helpers/align.js +18 -0
- package/dist/cjs/helpers/layout.js +17 -0
- package/dist/cjs/helpers/third-party/appConfig.js +14 -0
- package/dist/cjs/helpers/third-party/appSetting.js +55 -1
- package/dist/cjs/helpers/third-party/constant.js +3 -1
- package/dist/cjs/index.js +2 -0
- package/dist/esm/components/Render.liquid.js +13 -10
- package/dist/esm/helpers/align.js +18 -1
- package/dist/esm/helpers/layout.js +17 -1
- package/dist/esm/helpers/third-party/appConfig.js +13 -1
- package/dist/esm/helpers/third-party/appSetting.js +55 -1
- package/dist/esm/helpers/third-party/constant.js +4 -2
- package/dist/esm/index.js +2 -2
- package/dist/types/index.d.ts +3 -1
- package/package.json +2 -2
|
@@ -294,24 +294,27 @@ const RenderChildren = (props)=>{
|
|
|
294
294
|
const WrapRenderChildren = ({ uid, customProps }, codes)=>{
|
|
295
295
|
let liquid = '';
|
|
296
296
|
if (codes?.length) {
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
let tempLiquid = '';
|
|
298
|
+
let fileIndex = 0;
|
|
299
299
|
for(let i = 0; i < codes.length; i++){
|
|
300
300
|
const code = codes[i];
|
|
301
301
|
if (code) {
|
|
302
|
-
const newLiquid = liquid + code;
|
|
303
|
-
// Fix limit 256kb
|
|
304
302
|
const textEncoder = new TextEncoder();
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
303
|
+
const newTempLiquid = tempLiquid + code;
|
|
304
|
+
const newSize = textEncoder.encode(newTempLiquid).length;
|
|
305
|
+
if (Math.ceil(newSize / 1024) < 180) {
|
|
306
|
+
tempLiquid = newTempLiquid;
|
|
310
307
|
} else {
|
|
311
|
-
|
|
308
|
+
const fileName = `gp-section-snippet-${uid}-${fileIndex++}`;
|
|
309
|
+
customProps.extraFiles[fileName] = tempLiquid;
|
|
310
|
+
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
311
|
+
tempLiquid = code;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
+
if (tempLiquid) {
|
|
316
|
+
liquid += tempLiquid;
|
|
317
|
+
}
|
|
315
318
|
}
|
|
316
319
|
return liquid;
|
|
317
320
|
};
|
|
@@ -15,5 +15,23 @@ 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
|
+
};
|
|
18
35
|
|
|
19
36
|
exports.convertTextAlignToJustify = convertTextAlignToJustify;
|
|
37
|
+
exports.getAlignmentClasses = getAlignmentClasses;
|
|
@@ -52,8 +52,25 @@ 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
|
+
};
|
|
55
71
|
|
|
56
72
|
exports.composeGridLayout = composeGridLayout;
|
|
57
73
|
exports.convertOldLayout = convertOldLayout;
|
|
74
|
+
exports.getLayoutClasses = getLayoutClasses;
|
|
58
75
|
exports.gridToArrayRegex = gridToArrayRegex;
|
|
59
76
|
exports.optionLayoutStyle = optionLayoutStyle;
|
|
@@ -318,6 +318,18 @@ const HextomFreeShippingBarConfig = {
|
|
|
318
318
|
appId: '7ef5d9af-75a2-45c7-9b1b-f9240ee488e9'
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
|
+
const ShopifySubscriptionsConfig = {
|
|
322
|
+
ShopifySubscriptions: {
|
|
323
|
+
appName: 'subscriptions',
|
|
324
|
+
appId: 'a3bfe9ec-96f8-4508-a003-df608a36d2ad'
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
const QikifyUpsellConfig = {
|
|
328
|
+
QikifyUpsell: {
|
|
329
|
+
appName: 'q-discount-free-gift',
|
|
330
|
+
appId: '2e94b962-8172-4839-8ad9-7837eb8b017a'
|
|
331
|
+
}
|
|
332
|
+
};
|
|
321
333
|
|
|
322
334
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
323
335
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -352,12 +364,14 @@ exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
|
352
364
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
353
365
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
354
366
|
exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
|
|
367
|
+
exports.QikifyUpsellConfig = QikifyUpsellConfig;
|
|
355
368
|
exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
356
369
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
357
370
|
exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
|
|
358
371
|
exports.SelleasyConfig = SelleasyConfig;
|
|
359
372
|
exports.SeoantTrustBadgesIconConfig = SeoantTrustBadgesIconConfig;
|
|
360
373
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
374
|
+
exports.ShopifySubscriptionsConfig = ShopifySubscriptionsConfig;
|
|
361
375
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
362
376
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
363
377
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
@@ -225,6 +225,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
225
225
|
'tm-type': appSetting?.trustId
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
+
case 'ShopifySubscriptions':
|
|
229
|
+
{
|
|
230
|
+
return {
|
|
231
|
+
...currentSetting,
|
|
232
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
case 'QikifyUpsell':
|
|
236
|
+
{
|
|
237
|
+
return {
|
|
238
|
+
...currentSetting,
|
|
239
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
240
|
+
};
|
|
241
|
+
}
|
|
228
242
|
default:
|
|
229
243
|
return currentSetting;
|
|
230
244
|
}
|
|
@@ -1113,6 +1127,44 @@ const HextomFreeShippingBar = {
|
|
|
1113
1127
|
'fsb-custom-placement': null
|
|
1114
1128
|
}
|
|
1115
1129
|
};
|
|
1130
|
+
const ShopifySubscriptions = {
|
|
1131
|
+
ShopifySubscriptions: {
|
|
1132
|
+
'app-block': {
|
|
1133
|
+
color_text_title: '#6D7175',
|
|
1134
|
+
color_text_body: '#6D7175',
|
|
1135
|
+
dividers_color: '#8F8D8D',
|
|
1136
|
+
bacgkround_color: '#FFFFFF',
|
|
1137
|
+
border_thickness: 1,
|
|
1138
|
+
border_radius: 0,
|
|
1139
|
+
supporting_text_title: 'Purchase options',
|
|
1140
|
+
subscription_policy_url: '',
|
|
1141
|
+
product: '{{product}}'
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
};
|
|
1145
|
+
const QikifyUpsell = {
|
|
1146
|
+
QikifyUpsell: {
|
|
1147
|
+
bogo_offer: {
|
|
1148
|
+
product: '{{product}}'
|
|
1149
|
+
},
|
|
1150
|
+
free_gift: {
|
|
1151
|
+
product: '{{product}}'
|
|
1152
|
+
},
|
|
1153
|
+
bundle_offer: {
|
|
1154
|
+
product: '{{product}}'
|
|
1155
|
+
},
|
|
1156
|
+
promotion_badge: {
|
|
1157
|
+
product: '{{product}}'
|
|
1158
|
+
},
|
|
1159
|
+
'order-goal': null,
|
|
1160
|
+
upsurge_offer: {
|
|
1161
|
+
product: '{{product}}'
|
|
1162
|
+
},
|
|
1163
|
+
volume_offer: {
|
|
1164
|
+
product: '{{product}}'
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
};
|
|
1116
1168
|
const composeSettingsByWidgetType = {
|
|
1117
1169
|
...HextomCountdownTimerBar,
|
|
1118
1170
|
...EstimatedDeliveryDatePlus,
|
|
@@ -1166,7 +1218,9 @@ const composeSettingsByWidgetType = {
|
|
|
1166
1218
|
...TrustedsiteTrustBadges,
|
|
1167
1219
|
...GloColorSwatchvariantImage,
|
|
1168
1220
|
...BfSizeChartSizeGuide,
|
|
1169
|
-
...HextomFreeShippingBar
|
|
1221
|
+
...HextomFreeShippingBar,
|
|
1222
|
+
...ShopifySubscriptions,
|
|
1223
|
+
...QikifyUpsell
|
|
1170
1224
|
};
|
|
1171
1225
|
|
|
1172
1226
|
exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
|
|
@@ -55,7 +55,9 @@ const mapShopifyAppMeta = {
|
|
|
55
55
|
...appConfig.TrustedsiteTrustBadgesConfig,
|
|
56
56
|
...appConfig.GloColorSwatchvariantImageConfig,
|
|
57
57
|
...appConfig.BfSizeChartSizeGuideConfig,
|
|
58
|
-
...appConfig.HextomFreeShippingBarConfig
|
|
58
|
+
...appConfig.HextomFreeShippingBarConfig,
|
|
59
|
+
...appConfig.ShopifySubscriptionsConfig,
|
|
60
|
+
...appConfig.QikifyUpsellConfig
|
|
59
61
|
};
|
|
60
62
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
61
63
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -240,6 +240,7 @@ 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;
|
|
243
244
|
exports.gridToArrayRegex = layout.gridToArrayRegex;
|
|
244
245
|
exports.optionLayoutStyle = layout.optionLayoutStyle;
|
|
245
246
|
exports.makeAspectRatio = makeStyle.makeAspectRatio;
|
|
@@ -256,6 +257,7 @@ exports.makeStyleState = makeStyle.makeStyleState;
|
|
|
256
257
|
exports.makeWidth = makeStyle.makeWidth;
|
|
257
258
|
exports.removeNullUndefined = makeStyle.removeNullUndefined;
|
|
258
259
|
exports.convertTextAlignToJustify = align.convertTextAlignToJustify;
|
|
260
|
+
exports.getAlignmentClasses = align.getAlignmentClasses;
|
|
259
261
|
exports.checkInStock = variant.checkInStock;
|
|
260
262
|
exports.checkAvailableVariantInStock = product.checkAvailableVariantInStock;
|
|
261
263
|
exports.getSelectedVariant = product.getSelectedVariant;
|
|
@@ -290,24 +290,27 @@ const RenderChildren = (props)=>{
|
|
|
290
290
|
const WrapRenderChildren = ({ uid, customProps }, codes)=>{
|
|
291
291
|
let liquid = '';
|
|
292
292
|
if (codes?.length) {
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
let tempLiquid = '';
|
|
294
|
+
let fileIndex = 0;
|
|
295
295
|
for(let i = 0; i < codes.length; i++){
|
|
296
296
|
const code = codes[i];
|
|
297
297
|
if (code) {
|
|
298
|
-
const newLiquid = liquid + code;
|
|
299
|
-
// Fix limit 256kb
|
|
300
298
|
const textEncoder = new TextEncoder();
|
|
301
|
-
const
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
299
|
+
const newTempLiquid = tempLiquid + code;
|
|
300
|
+
const newSize = textEncoder.encode(newTempLiquid).length;
|
|
301
|
+
if (Math.ceil(newSize / 1024) < 180) {
|
|
302
|
+
tempLiquid = newTempLiquid;
|
|
306
303
|
} else {
|
|
307
|
-
|
|
304
|
+
const fileName = `gp-section-snippet-${uid}-${fileIndex++}`;
|
|
305
|
+
customProps.extraFiles[fileName] = tempLiquid;
|
|
306
|
+
liquid += `{% render '${fileName}', product: product, variant: variant, product_form_id: product_form_id, productSelectedVariant: productSelectedVariant, form: form %}`;
|
|
307
|
+
tempLiquid = code;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
+
if (tempLiquid) {
|
|
312
|
+
liquid += tempLiquid;
|
|
313
|
+
}
|
|
311
314
|
}
|
|
312
315
|
return liquid;
|
|
313
316
|
};
|
|
@@ -13,5 +13,22 @@ 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
|
+
};
|
|
16
33
|
|
|
17
|
-
export { convertTextAlignToJustify };
|
|
34
|
+
export { convertTextAlignToJustify, getAlignmentClasses };
|
|
@@ -50,5 +50,21 @@ 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
|
+
};
|
|
53
69
|
|
|
54
|
-
export { composeGridLayout, convertOldLayout, gridToArrayRegex, optionLayoutStyle };
|
|
70
|
+
export { composeGridLayout, convertOldLayout, getLayoutClasses, gridToArrayRegex, optionLayoutStyle };
|
|
@@ -316,5 +316,17 @@ const HextomFreeShippingBarConfig = {
|
|
|
316
316
|
appId: '7ef5d9af-75a2-45c7-9b1b-f9240ee488e9'
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
|
+
const ShopifySubscriptionsConfig = {
|
|
320
|
+
ShopifySubscriptions: {
|
|
321
|
+
appName: 'subscriptions',
|
|
322
|
+
appId: 'a3bfe9ec-96f8-4508-a003-df608a36d2ad'
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
const QikifyUpsellConfig = {
|
|
326
|
+
QikifyUpsell: {
|
|
327
|
+
appName: 'q-discount-free-gift',
|
|
328
|
+
appId: '2e94b962-8172-4839-8ad9-7837eb8b017a'
|
|
329
|
+
}
|
|
330
|
+
};
|
|
319
331
|
|
|
320
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, 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, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
332
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, 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 };
|
|
@@ -223,6 +223,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
223
223
|
'tm-type': appSetting?.trustId
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
+
case 'ShopifySubscriptions':
|
|
227
|
+
{
|
|
228
|
+
return {
|
|
229
|
+
...currentSetting,
|
|
230
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
case 'QikifyUpsell':
|
|
234
|
+
{
|
|
235
|
+
return {
|
|
236
|
+
...currentSetting,
|
|
237
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
238
|
+
};
|
|
239
|
+
}
|
|
226
240
|
default:
|
|
227
241
|
return currentSetting;
|
|
228
242
|
}
|
|
@@ -1111,6 +1125,44 @@ const HextomFreeShippingBar = {
|
|
|
1111
1125
|
'fsb-custom-placement': null
|
|
1112
1126
|
}
|
|
1113
1127
|
};
|
|
1128
|
+
const ShopifySubscriptions = {
|
|
1129
|
+
ShopifySubscriptions: {
|
|
1130
|
+
'app-block': {
|
|
1131
|
+
color_text_title: '#6D7175',
|
|
1132
|
+
color_text_body: '#6D7175',
|
|
1133
|
+
dividers_color: '#8F8D8D',
|
|
1134
|
+
bacgkround_color: '#FFFFFF',
|
|
1135
|
+
border_thickness: 1,
|
|
1136
|
+
border_radius: 0,
|
|
1137
|
+
supporting_text_title: 'Purchase options',
|
|
1138
|
+
subscription_policy_url: '',
|
|
1139
|
+
product: '{{product}}'
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
};
|
|
1143
|
+
const QikifyUpsell = {
|
|
1144
|
+
QikifyUpsell: {
|
|
1145
|
+
bogo_offer: {
|
|
1146
|
+
product: '{{product}}'
|
|
1147
|
+
},
|
|
1148
|
+
free_gift: {
|
|
1149
|
+
product: '{{product}}'
|
|
1150
|
+
},
|
|
1151
|
+
bundle_offer: {
|
|
1152
|
+
product: '{{product}}'
|
|
1153
|
+
},
|
|
1154
|
+
promotion_badge: {
|
|
1155
|
+
product: '{{product}}'
|
|
1156
|
+
},
|
|
1157
|
+
'order-goal': null,
|
|
1158
|
+
upsurge_offer: {
|
|
1159
|
+
product: '{{product}}'
|
|
1160
|
+
},
|
|
1161
|
+
volume_offer: {
|
|
1162
|
+
product: '{{product}}'
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
};
|
|
1114
1166
|
const composeSettingsByWidgetType = {
|
|
1115
1167
|
...HextomCountdownTimerBar,
|
|
1116
1168
|
...EstimatedDeliveryDatePlus,
|
|
@@ -1164,7 +1216,9 @@ const composeSettingsByWidgetType = {
|
|
|
1164
1216
|
...TrustedsiteTrustBadges,
|
|
1165
1217
|
...GloColorSwatchvariantImage,
|
|
1166
1218
|
...BfSizeChartSizeGuide,
|
|
1167
|
-
...HextomFreeShippingBar
|
|
1219
|
+
...HextomFreeShippingBar,
|
|
1220
|
+
...ShopifySubscriptions,
|
|
1221
|
+
...QikifyUpsell
|
|
1168
1222
|
};
|
|
1169
1223
|
|
|
1170
1224
|
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, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig } from './appConfig.js';
|
|
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, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig, ShopifySubscriptionsConfig, QikifyUpsellConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -53,7 +53,9 @@ const mapShopifyAppMeta = {
|
|
|
53
53
|
...TrustedsiteTrustBadgesConfig,
|
|
54
54
|
...GloColorSwatchvariantImageConfig,
|
|
55
55
|
...BfSizeChartSizeGuideConfig,
|
|
56
|
-
...HextomFreeShippingBarConfig
|
|
56
|
+
...HextomFreeShippingBarConfig,
|
|
57
|
+
...ShopifySubscriptionsConfig,
|
|
58
|
+
...QikifyUpsellConfig
|
|
57
59
|
};
|
|
58
60
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
59
61
|
|
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, gridToArrayRegex, optionLayoutStyle } from './helpers/layout.js';
|
|
66
|
+
export { composeGridLayout, convertOldLayout, getLayoutClasses, 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 } from './helpers/align.js';
|
|
68
|
+
export { convertTextAlignToJustify, getAlignmentClasses } 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
|
@@ -41494,8 +41494,10 @@ declare const gridToArrayRegex: RegExp;
|
|
|
41494
41494
|
declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => React.CSSProperties;
|
|
41495
41495
|
declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
|
|
41496
41496
|
declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
|
|
41497
|
+
declare const getLayoutClasses: (layout: Partial<Record<NameDevices$1, string>> | undefined) => Record<string, boolean>;
|
|
41497
41498
|
|
|
41498
41499
|
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
41500
|
+
declare const getAlignmentClasses: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
41499
41501
|
|
|
41500
41502
|
declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
|
|
41501
41503
|
|
|
@@ -45022,4 +45024,4 @@ declare const useInteraction: () => {
|
|
|
45022
45024
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
45023
45025
|
};
|
|
45024
45026
|
|
|
45025
|
-
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 };
|
|
45027
|
+
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, getAlignmentClasses, 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, getLayoutClasses, 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.13-staging.
|
|
3
|
+
"version": "2.1.13-staging.25",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "2.1.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "2.1.13-staging.25",
|
|
31
31
|
"@gem-sdk/styles": "2.1.0",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|