@gem-sdk/core 1.57.10-staging.6 → 1.57.12
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/helpers/interaction/index.js +2 -13
- package/dist/cjs/helpers/queries/get-collection.js +1 -1
- package/dist/cjs/helpers/third-party/appConfig.js +0 -28
- package/dist/cjs/helpers/third-party/appSetting.js +0 -79
- package/dist/cjs/helpers/third-party/constant.js +1 -5
- package/dist/cjs/index.js +0 -2
- package/dist/esm/helpers/interaction/index.js +3 -14
- package/dist/esm/helpers/queries/get-collection.js +1 -1
- package/dist/esm/helpers/third-party/appConfig.js +1 -25
- package/dist/esm/helpers/third-party/appSetting.js +0 -79
- package/dist/esm/helpers/third-party/constant.js +2 -6
- package/dist/esm/index.js +0 -1
- package/dist/types/index.d.ts +2 -28
- package/package.json +3 -3
- package/dist/cjs/graphql/queries/published-shop-metas.js +0 -15
- package/dist/esm/graphql/queries/published-shop-metas.js +0 -13
|
@@ -39,7 +39,7 @@ const useInteraction = ()=>{
|
|
|
39
39
|
});
|
|
40
40
|
};
|
|
41
41
|
const trigger = ({ event, data, selector, element: elementParam })=>{
|
|
42
|
-
const element = elementParam || document.body?.querySelector(selector);
|
|
42
|
+
const element = elementParam || document.body.querySelector('#storefront')?.querySelector(selector);
|
|
43
43
|
if (!element) return;
|
|
44
44
|
const eventDispatch = new CustomEvent(event, {
|
|
45
45
|
bubbles: false,
|
|
@@ -100,16 +100,6 @@ const useInteraction = ()=>{
|
|
|
100
100
|
const isSelectOnPage = react.useMemo(()=>interactionData?.isSelectOnPage, [
|
|
101
101
|
interactionData?.isSelectOnPage
|
|
102
102
|
]);
|
|
103
|
-
const interactionListenerLoaded = react.useCallback((callback)=>{
|
|
104
|
-
//@ts-ignore
|
|
105
|
-
if (window.interactionLoaded) {
|
|
106
|
-
callback();
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
window.addEventListener('gp:flow-actions-loaded', ()=>{
|
|
110
|
-
callback();
|
|
111
|
-
});
|
|
112
|
-
}, []);
|
|
113
103
|
return {
|
|
114
104
|
onListener,
|
|
115
105
|
trigger,
|
|
@@ -121,8 +111,7 @@ const useInteraction = ()=>{
|
|
|
121
111
|
changeSelectMode,
|
|
122
112
|
selectInteractionElement,
|
|
123
113
|
isInteractionMode,
|
|
124
|
-
isSelectOnPage
|
|
125
|
-
interactionListenerLoaded
|
|
114
|
+
isSelectOnPage
|
|
126
115
|
};
|
|
127
116
|
};
|
|
128
117
|
|
|
@@ -148,7 +148,7 @@ const mergeProductCollectionVariant = async (fetcher, collection, isSample)=>{
|
|
|
148
148
|
...product.node,
|
|
149
149
|
variants: product.node?.variants ? {
|
|
150
150
|
...product.node?.variants,
|
|
151
|
-
edges: productVariants?.[0]?.node?.variants?.edges ?? []
|
|
151
|
+
edges: productVariants?.[0]?.node?.variants?.edges ?? product.node?.variants.edges ?? []
|
|
152
152
|
} : undefined
|
|
153
153
|
} : undefined
|
|
154
154
|
};
|
|
@@ -156,30 +156,6 @@ const GrowaveConfig = {
|
|
|
156
156
|
appId: 'b3d2efbe-110a-4e27-84a8-1f2ed63996a4'
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
-
const LoloyalLoyaltyReferralsConfig = {
|
|
160
|
-
LoloyalLoyaltyReferrals: {
|
|
161
|
-
appName: 'loloyal-com',
|
|
162
|
-
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
const PowerfulContactFormBuilderConfig = {
|
|
166
|
-
PowerfulContactFormBuilder: {
|
|
167
|
-
appName: 'powerful-form-builder',
|
|
168
|
-
appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
const WishlistKingConfig = {
|
|
172
|
-
WishlistKing: {
|
|
173
|
-
appName: 'wishlist-king',
|
|
174
|
-
appId: '194f5011-a43c-4b22-b12e-eaf20dc4506a'
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
const GloboProductOptionsVariantConfig = {
|
|
178
|
-
GloboProductOptionsVariant: {
|
|
179
|
-
appName: 'globo-product-option',
|
|
180
|
-
appId: 'fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8'
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
159
|
|
|
184
160
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
185
161
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -187,14 +163,11 @@ exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
|
187
163
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
188
164
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
189
165
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
190
|
-
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
191
166
|
exports.GrowaveConfig = GrowaveConfig;
|
|
192
167
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
193
168
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
194
169
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
195
|
-
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
196
170
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
197
|
-
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
198
171
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
199
172
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
200
173
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
@@ -209,5 +182,4 @@ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
|
209
182
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
210
183
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
211
184
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
212
|
-
exports.WishlistKingConfig = WishlistKingConfig;
|
|
213
185
|
exports.YotpoReviewsV3UgcConfig = YotpoReviewsV3UgcConfig;
|
|
@@ -102,13 +102,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
102
102
|
['show-views']: appSetting?.showViews
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
case 'PowerfulContactFormBuilder':
|
|
106
|
-
{
|
|
107
|
-
return {
|
|
108
|
-
...currentSetting,
|
|
109
|
-
shortcode: appSetting?.shortcode
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
105
|
default:
|
|
113
106
|
return currentSetting;
|
|
114
107
|
}
|
|
@@ -368,79 +361,7 @@ const Growave = {
|
|
|
368
361
|
'v2.product.reviewsMiniSlider': null
|
|
369
362
|
}
|
|
370
363
|
};
|
|
371
|
-
const LoloyalSettingCommon = {
|
|
372
|
-
title_font_size: 30,
|
|
373
|
-
subtitle_font_size: 13,
|
|
374
|
-
name_font_size: 20,
|
|
375
|
-
details_font_size: 14,
|
|
376
|
-
corner_radius: 8,
|
|
377
|
-
btn_radius: 8,
|
|
378
|
-
top_padding: 32,
|
|
379
|
-
bottom_padding: 32,
|
|
380
|
-
icon_color: '',
|
|
381
|
-
title_color: '#000000',
|
|
382
|
-
subtitle_color: '#000000',
|
|
383
|
-
name_color: '#000000',
|
|
384
|
-
details_color: '#000000',
|
|
385
|
-
card_bg_color: '#FFFFFF',
|
|
386
|
-
background_color: '#ffffff',
|
|
387
|
-
border_color: '#ececec',
|
|
388
|
-
primary_button_color: '#000000',
|
|
389
|
-
primary_button_text_color: '#FFFFFF',
|
|
390
|
-
secondary_button_color: '#FFFFFF',
|
|
391
|
-
secondary_button_text_color: '#000000',
|
|
392
|
-
hover_btn: '#000000',
|
|
393
|
-
hover_text_color: '#FFFFFF',
|
|
394
|
-
custom_css: '/* Add your custom styles here */'
|
|
395
|
-
};
|
|
396
|
-
const LoloyalLoyaltyReferrals = {
|
|
397
|
-
LoloyalLoyaltyReferrals: {
|
|
398
|
-
'app-banner': {
|
|
399
|
-
img_opacity: 0,
|
|
400
|
-
bg_color: '#F6F6F6',
|
|
401
|
-
banner_height: '400',
|
|
402
|
-
content_position: 'll-middle-left',
|
|
403
|
-
content_alignment: 'left',
|
|
404
|
-
title_font_size: 40,
|
|
405
|
-
subtitle_font_size: 13,
|
|
406
|
-
title_color: '#000000',
|
|
407
|
-
subtitle_color: '#000000',
|
|
408
|
-
btn_radius: 30,
|
|
409
|
-
primary_button_color: '#000000',
|
|
410
|
-
primary_button_text_color: '#FFFFFF',
|
|
411
|
-
secondary_button_color: '#FFFFFF',
|
|
412
|
-
secondary_button_text_color: '#000000',
|
|
413
|
-
hover_btn: '#000000',
|
|
414
|
-
hover_text_color: '#FFFFFF',
|
|
415
|
-
custom_css: '/* Add your custom styles here */'
|
|
416
|
-
},
|
|
417
|
-
'app-ways-to-earn': LoloyalSettingCommon,
|
|
418
|
-
'app-ways-to-redeem': LoloyalSettingCommon,
|
|
419
|
-
'app-referrals': LoloyalSettingCommon
|
|
420
|
-
}
|
|
421
|
-
};
|
|
422
|
-
const PowerfulContactFormBuilder = {
|
|
423
|
-
PowerfulContactFormBuilder: {
|
|
424
|
-
'app-block': {
|
|
425
|
-
shortcode: ''
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
};
|
|
429
|
-
const WishlistKing = {
|
|
430
|
-
WishlistKing: {
|
|
431
|
-
'wishlist-button-block': null
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
|
-
const GloboProductOptionsVariant = {
|
|
435
|
-
GloboProductOptionsVariant: {
|
|
436
|
-
'app-block': null
|
|
437
|
-
}
|
|
438
|
-
};
|
|
439
364
|
const composeSettingsByWidgetType = {
|
|
440
|
-
...GloboProductOptionsVariant,
|
|
441
|
-
...WishlistKing,
|
|
442
|
-
...LoloyalLoyaltyReferrals,
|
|
443
|
-
...PowerfulContactFormBuilder,
|
|
444
365
|
...InstasellShoppableInstagram,
|
|
445
366
|
...SproutPlantTreesGrowSales,
|
|
446
367
|
...AppointmentBookingCowlendar,
|
|
@@ -28,11 +28,7 @@ const mapShopifyAppMeta = {
|
|
|
28
28
|
...appConfig.BoldSubscriptionsConfig,
|
|
29
29
|
...appConfig.SproutPlantTreesGrowSalesConfig,
|
|
30
30
|
...appConfig.InstasellShoppableInstagramConfig,
|
|
31
|
-
...appConfig.GrowaveConfig
|
|
32
|
-
...appConfig.LoloyalLoyaltyReferralsConfig,
|
|
33
|
-
...appConfig.PowerfulContactFormBuilderConfig,
|
|
34
|
-
...appConfig.WishlistKingConfig,
|
|
35
|
-
...appConfig.GloboProductOptionsVariantConfig
|
|
31
|
+
...appConfig.GrowaveConfig
|
|
36
32
|
};
|
|
37
33
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
38
34
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -19,7 +19,6 @@ var ModalContext = require('./contexts/ModalContext.js');
|
|
|
19
19
|
var ArticleListContext = require('./contexts/ArticleListContext.js');
|
|
20
20
|
var ArticleContext = require('./contexts/ArticleContext.js');
|
|
21
21
|
var pageViewUp_generated = require('./graphql/mutations/page-view-up.generated.js');
|
|
22
|
-
var publishedShopMetas = require('./graphql/queries/published-shop-metas.js');
|
|
23
22
|
var collectionDetailFilter_generated = require('./graphql/queries/collection-detail-filter.generated.js');
|
|
24
23
|
var collection_generated = require('./graphql/queries/collection.generated.js');
|
|
25
24
|
var collections_generated = require('./graphql/queries/collections.generated.js');
|
|
@@ -152,7 +151,6 @@ exports.useArticleListStore = ArticleListContext.useArticleListStore;
|
|
|
152
151
|
exports.ArticleProvider = ArticleContext.ArticleProvider;
|
|
153
152
|
exports.useArticleStore = ArticleContext.useArticleStore;
|
|
154
153
|
exports.PageViewUpDocument = pageViewUp_generated.PageViewUpDocument;
|
|
155
|
-
exports.PublishedShopMetasDocument = publishedShopMetas.PublishedShopMetasDocument;
|
|
156
154
|
exports.CollectionDetailFilterDocument = collectionDetailFilter_generated.CollectionDetailFilterDocument;
|
|
157
155
|
exports.CollectionDocument = collection_generated.CollectionDocument;
|
|
158
156
|
exports.CollectionsDocument = collections_generated.CollectionsDocument;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useRef, useMemo
|
|
1
|
+
import { useRef, useMemo } from 'react';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'zustand';
|
|
4
4
|
import 'swr';
|
|
@@ -37,7 +37,7 @@ const useInteraction = ()=>{
|
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
39
|
const trigger = ({ event, data, selector, element: elementParam })=>{
|
|
40
|
-
const element = elementParam || document.body?.querySelector(selector);
|
|
40
|
+
const element = elementParam || document.body.querySelector('#storefront')?.querySelector(selector);
|
|
41
41
|
if (!element) return;
|
|
42
42
|
const eventDispatch = new CustomEvent(event, {
|
|
43
43
|
bubbles: false,
|
|
@@ -98,16 +98,6 @@ const useInteraction = ()=>{
|
|
|
98
98
|
const isSelectOnPage = useMemo(()=>interactionData?.isSelectOnPage, [
|
|
99
99
|
interactionData?.isSelectOnPage
|
|
100
100
|
]);
|
|
101
|
-
const interactionListenerLoaded = useCallback((callback)=>{
|
|
102
|
-
//@ts-ignore
|
|
103
|
-
if (window.interactionLoaded) {
|
|
104
|
-
callback();
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
window.addEventListener('gp:flow-actions-loaded', ()=>{
|
|
108
|
-
callback();
|
|
109
|
-
});
|
|
110
|
-
}, []);
|
|
111
101
|
return {
|
|
112
102
|
onListener,
|
|
113
103
|
trigger,
|
|
@@ -119,8 +109,7 @@ const useInteraction = ()=>{
|
|
|
119
109
|
changeSelectMode,
|
|
120
110
|
selectInteractionElement,
|
|
121
111
|
isInteractionMode,
|
|
122
|
-
isSelectOnPage
|
|
123
|
-
interactionListenerLoaded
|
|
112
|
+
isSelectOnPage
|
|
124
113
|
};
|
|
125
114
|
};
|
|
126
115
|
|
|
@@ -146,7 +146,7 @@ const mergeProductCollectionVariant = async (fetcher, collection, isSample)=>{
|
|
|
146
146
|
...product.node,
|
|
147
147
|
variants: product.node?.variants ? {
|
|
148
148
|
...product.node?.variants,
|
|
149
|
-
edges: productVariants?.[0]?.node?.variants?.edges ?? []
|
|
149
|
+
edges: productVariants?.[0]?.node?.variants?.edges ?? product.node?.variants.edges ?? []
|
|
150
150
|
} : undefined
|
|
151
151
|
} : undefined
|
|
152
152
|
};
|
|
@@ -154,29 +154,5 @@ const GrowaveConfig = {
|
|
|
154
154
|
appId: 'b3d2efbe-110a-4e27-84a8-1f2ed63996a4'
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
|
-
const LoloyalLoyaltyReferralsConfig = {
|
|
158
|
-
LoloyalLoyaltyReferrals: {
|
|
159
|
-
appName: 'loloyal-com',
|
|
160
|
-
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
const PowerfulContactFormBuilderConfig = {
|
|
164
|
-
PowerfulContactFormBuilder: {
|
|
165
|
-
appName: 'powerful-form-builder',
|
|
166
|
-
appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
const WishlistKingConfig = {
|
|
170
|
-
WishlistKing: {
|
|
171
|
-
appName: 'wishlist-king',
|
|
172
|
-
appId: '194f5011-a43c-4b22-b12e-eaf20dc4506a'
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
const GloboProductOptionsVariantConfig = {
|
|
176
|
-
GloboProductOptionsVariant: {
|
|
177
|
-
appName: 'globo-product-option',
|
|
178
|
-
appId: 'fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8'
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
157
|
|
|
182
|
-
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig,
|
|
158
|
+
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -100,13 +100,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
100
100
|
['show-views']: appSetting?.showViews
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
case 'PowerfulContactFormBuilder':
|
|
104
|
-
{
|
|
105
|
-
return {
|
|
106
|
-
...currentSetting,
|
|
107
|
-
shortcode: appSetting?.shortcode
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
103
|
default:
|
|
111
104
|
return currentSetting;
|
|
112
105
|
}
|
|
@@ -366,79 +359,7 @@ const Growave = {
|
|
|
366
359
|
'v2.product.reviewsMiniSlider': null
|
|
367
360
|
}
|
|
368
361
|
};
|
|
369
|
-
const LoloyalSettingCommon = {
|
|
370
|
-
title_font_size: 30,
|
|
371
|
-
subtitle_font_size: 13,
|
|
372
|
-
name_font_size: 20,
|
|
373
|
-
details_font_size: 14,
|
|
374
|
-
corner_radius: 8,
|
|
375
|
-
btn_radius: 8,
|
|
376
|
-
top_padding: 32,
|
|
377
|
-
bottom_padding: 32,
|
|
378
|
-
icon_color: '',
|
|
379
|
-
title_color: '#000000',
|
|
380
|
-
subtitle_color: '#000000',
|
|
381
|
-
name_color: '#000000',
|
|
382
|
-
details_color: '#000000',
|
|
383
|
-
card_bg_color: '#FFFFFF',
|
|
384
|
-
background_color: '#ffffff',
|
|
385
|
-
border_color: '#ececec',
|
|
386
|
-
primary_button_color: '#000000',
|
|
387
|
-
primary_button_text_color: '#FFFFFF',
|
|
388
|
-
secondary_button_color: '#FFFFFF',
|
|
389
|
-
secondary_button_text_color: '#000000',
|
|
390
|
-
hover_btn: '#000000',
|
|
391
|
-
hover_text_color: '#FFFFFF',
|
|
392
|
-
custom_css: '/* Add your custom styles here */'
|
|
393
|
-
};
|
|
394
|
-
const LoloyalLoyaltyReferrals = {
|
|
395
|
-
LoloyalLoyaltyReferrals: {
|
|
396
|
-
'app-banner': {
|
|
397
|
-
img_opacity: 0,
|
|
398
|
-
bg_color: '#F6F6F6',
|
|
399
|
-
banner_height: '400',
|
|
400
|
-
content_position: 'll-middle-left',
|
|
401
|
-
content_alignment: 'left',
|
|
402
|
-
title_font_size: 40,
|
|
403
|
-
subtitle_font_size: 13,
|
|
404
|
-
title_color: '#000000',
|
|
405
|
-
subtitle_color: '#000000',
|
|
406
|
-
btn_radius: 30,
|
|
407
|
-
primary_button_color: '#000000',
|
|
408
|
-
primary_button_text_color: '#FFFFFF',
|
|
409
|
-
secondary_button_color: '#FFFFFF',
|
|
410
|
-
secondary_button_text_color: '#000000',
|
|
411
|
-
hover_btn: '#000000',
|
|
412
|
-
hover_text_color: '#FFFFFF',
|
|
413
|
-
custom_css: '/* Add your custom styles here */'
|
|
414
|
-
},
|
|
415
|
-
'app-ways-to-earn': LoloyalSettingCommon,
|
|
416
|
-
'app-ways-to-redeem': LoloyalSettingCommon,
|
|
417
|
-
'app-referrals': LoloyalSettingCommon
|
|
418
|
-
}
|
|
419
|
-
};
|
|
420
|
-
const PowerfulContactFormBuilder = {
|
|
421
|
-
PowerfulContactFormBuilder: {
|
|
422
|
-
'app-block': {
|
|
423
|
-
shortcode: ''
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
};
|
|
427
|
-
const WishlistKing = {
|
|
428
|
-
WishlistKing: {
|
|
429
|
-
'wishlist-button-block': null
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
|
-
const GloboProductOptionsVariant = {
|
|
433
|
-
GloboProductOptionsVariant: {
|
|
434
|
-
'app-block': null
|
|
435
|
-
}
|
|
436
|
-
};
|
|
437
362
|
const composeSettingsByWidgetType = {
|
|
438
|
-
...GloboProductOptionsVariant,
|
|
439
|
-
...WishlistKing,
|
|
440
|
-
...LoloyalLoyaltyReferrals,
|
|
441
|
-
...PowerfulContactFormBuilder,
|
|
442
363
|
...InstasellShoppableInstagram,
|
|
443
364
|
...SproutPlantTreesGrowSales,
|
|
444
365
|
...AppointmentBookingCowlendar,
|
|
@@ -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
|
|
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 } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -26,11 +26,7 @@ const mapShopifyAppMeta = {
|
|
|
26
26
|
...BoldSubscriptionsConfig,
|
|
27
27
|
...SproutPlantTreesGrowSalesConfig,
|
|
28
28
|
...InstasellShoppableInstagramConfig,
|
|
29
|
-
...GrowaveConfig
|
|
30
|
-
...LoloyalLoyaltyReferralsConfig,
|
|
31
|
-
...PowerfulContactFormBuilderConfig,
|
|
32
|
-
...WishlistKingConfig,
|
|
33
|
-
...GloboProductOptionsVariantConfig
|
|
29
|
+
...GrowaveConfig
|
|
34
30
|
};
|
|
35
31
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
36
32
|
|
package/dist/esm/index.js
CHANGED
|
@@ -17,7 +17,6 @@ export { ModalProvider, useModalStore } from './contexts/ModalContext.js';
|
|
|
17
17
|
export { ArticleListProvider, useArticleListStore } from './contexts/ArticleListContext.js';
|
|
18
18
|
export { ArticleProvider, useArticleStore } from './contexts/ArticleContext.js';
|
|
19
19
|
export { PageViewUpDocument } from './graphql/mutations/page-view-up.generated.js';
|
|
20
|
-
export { PublishedShopMetasDocument } from './graphql/queries/published-shop-metas.js';
|
|
21
20
|
export { CollectionDetailFilterDocument } from './graphql/queries/collection-detail-filter.generated.js';
|
|
22
21
|
export { CollectionDocument } from './graphql/queries/collection.generated.js';
|
|
23
22
|
export { CollectionsDocument } from './graphql/queries/collections.generated.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5413,7 +5413,6 @@ type PublishedShopMetaWhereInput$1 = {
|
|
|
5413
5413
|
valueNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
5414
5414
|
};
|
|
5415
5415
|
type PublishedThemePage$1 = {
|
|
5416
|
-
children?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
|
|
5417
5416
|
createdAt?: Maybe$1<Scalars$2['Time']>;
|
|
5418
5417
|
default: Scalars$2['Boolean'];
|
|
5419
5418
|
description?: Maybe$1<Scalars$2['String']>;
|
|
@@ -5681,18 +5680,12 @@ type PublishedThemePageWhereInput$1 = {
|
|
|
5681
5680
|
handleNEQ?: InputMaybe$1<Scalars$2['String']>;
|
|
5682
5681
|
handleNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
5683
5682
|
handleNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5684
|
-
/** children edge predicates */
|
|
5685
|
-
hasChildren?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5686
|
-
hasChildrenWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5687
5683
|
/** interaction edge predicates */
|
|
5688
5684
|
hasInteraction?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5689
5685
|
hasInteractionWith?: InputMaybe$1<Array<PublishedPageInteractionWhereInput$1>>;
|
|
5690
5686
|
/** offer edge predicates */
|
|
5691
5687
|
hasOffer?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5692
5688
|
hasOfferWith?: InputMaybe$1<Array<PublishedSaleFunnelOfferWhereInput$1>>;
|
|
5693
|
-
/** parent edge predicates */
|
|
5694
|
-
hasParent?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5695
|
-
hasParentWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5696
5689
|
/** publishedPageSection edge predicates */
|
|
5697
5690
|
hasPublishedPageSection?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5698
5691
|
hasPublishedPageSectionWith?: InputMaybe$1<Array<PublishedPageSectionWhereInput$1>>;
|
|
@@ -5755,13 +5748,6 @@ type PublishedThemePageWhereInput$1 = {
|
|
|
5755
5748
|
offerIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
|
|
5756
5749
|
offerIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5757
5750
|
or?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5758
|
-
/** parent_id field predicates */
|
|
5759
|
-
parentID?: InputMaybe$1<Scalars$2['ID']>;
|
|
5760
|
-
parentIDIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
|
|
5761
|
-
parentIDIsNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5762
|
-
parentIDNEQ?: InputMaybe$1<Scalars$2['ID']>;
|
|
5763
|
-
parentIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
|
|
5764
|
-
parentIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5765
5751
|
/** split_percentage field predicates */
|
|
5766
5752
|
splitPercentage?: InputMaybe$1<Scalars$2['Float']>;
|
|
5767
5753
|
splitPercentageGT?: InputMaybe$1<Scalars$2['Float']>;
|
|
@@ -6015,7 +6001,6 @@ type Query$1 = {
|
|
|
6015
6001
|
productOptionValues?: Maybe$1<ProductOptionValueConnection$1>;
|
|
6016
6002
|
productOptions?: Maybe$1<ProductOptionConnection$1>;
|
|
6017
6003
|
products?: Maybe$1<ProductConnection$1>;
|
|
6018
|
-
publishedShopMetas?: Maybe$1<Array<PublishedShopMeta$1>>;
|
|
6019
6004
|
publishedThemePages?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
|
|
6020
6005
|
publishedThemeSection?: Maybe$1<PublishedThemeSection$1>;
|
|
6021
6006
|
publishedThemeSections?: Maybe$1<PublishedThemeSectionConnection$1>;
|
|
@@ -6129,9 +6114,6 @@ type QueryProductsArgs$1 = {
|
|
|
6129
6114
|
orderBy?: InputMaybe$1<ProductOrder$1>;
|
|
6130
6115
|
where?: InputMaybe$1<ProductWhereInput$1>;
|
|
6131
6116
|
};
|
|
6132
|
-
type QueryPublishedShopMetasArgs = {
|
|
6133
|
-
keys?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
6134
|
-
};
|
|
6135
6117
|
type QueryPublishedThemePagesArgs$1 = {
|
|
6136
6118
|
slug?: InputMaybe$1<Scalars$2['String']>;
|
|
6137
6119
|
slugType: PublishedThemePageType$1;
|
|
@@ -6503,7 +6485,6 @@ type shop_EntityFindPublishedThemePageOnlineStoreDataByIdArgs = EntityFindPublis
|
|
|
6503
6485
|
type shop_EntityFindPublishedThemeSectionByIdArgs = EntityFindPublishedThemeSectionByIdArgs;
|
|
6504
6486
|
type shop_EntityFindPublishedThemeStyleByIdArgs = EntityFindPublishedThemeStyleByIdArgs;
|
|
6505
6487
|
type shop_EntityFindTagByIdArgs = EntityFindTagByIdArgs;
|
|
6506
|
-
type shop_QueryPublishedShopMetasArgs = QueryPublishedShopMetasArgs;
|
|
6507
6488
|
type shop_Query_EntitiesArgs = Query_EntitiesArgs;
|
|
6508
6489
|
type shop__Entity = _Entity;
|
|
6509
6490
|
type shop__Service = _Service;
|
|
@@ -6716,7 +6697,6 @@ declare namespace shop {
|
|
|
6716
6697
|
QueryProductOptionValuesArgs$1 as QueryProductOptionValuesArgs,
|
|
6717
6698
|
QueryProductOptionsArgs$1 as QueryProductOptionsArgs,
|
|
6718
6699
|
QueryProductsArgs$1 as QueryProductsArgs,
|
|
6719
|
-
shop_QueryPublishedShopMetasArgs as QueryPublishedShopMetasArgs,
|
|
6720
6700
|
QueryPublishedThemePagesArgs$1 as QueryPublishedThemePagesArgs,
|
|
6721
6701
|
QueryPublishedThemeSectionArgs$1 as QueryPublishedThemeSectionArgs,
|
|
6722
6702
|
QueryPublishedThemeSectionsArgs$1 as QueryPublishedThemeSectionsArgs,
|
|
@@ -30734,7 +30714,7 @@ type TypographyV2Family = string | {
|
|
|
30734
30714
|
value: string;
|
|
30735
30715
|
type: TypographyV2FontFamilyType;
|
|
30736
30716
|
};
|
|
30737
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme'
|
|
30717
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30738
30718
|
|
|
30739
30719
|
/**
|
|
30740
30720
|
* @deprecated Please use `TypographySettingV2`
|
|
@@ -31422,11 +31402,6 @@ type PageViewUpMutationVariables = Exact$1<{
|
|
|
31422
31402
|
type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
|
|
31423
31403
|
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
|
|
31424
31404
|
|
|
31425
|
-
type PublishedShopMetasQueryResponse = {
|
|
31426
|
-
publishedShopMetas?: Maybe$1<Array<Pick<PublishedShopMeta$1, 'id' | 'createdAt' | 'updatedAt' | 'key' | 'value'>>>;
|
|
31427
|
-
};
|
|
31428
|
-
declare const PublishedShopMetasDocument = "\n query PublishedShopMetas($keys: [String!]) {\n publishedShopMetas(keys: $keys) {\n id\n createdAt\n updatedAt\n key\n value\n }\n}\n ";
|
|
31429
|
-
|
|
31430
31405
|
type CollectionDetailFilterQueryVariables = Exact$1<{
|
|
31431
31406
|
firstProduct?: InputMaybe$1<Scalars$2['Int']>;
|
|
31432
31407
|
orderBy?: InputMaybe$1<CollectionOrder$1>;
|
|
@@ -41591,7 +41566,6 @@ declare const useInteraction: () => {
|
|
|
41591
41566
|
}) => void;
|
|
41592
41567
|
isInteractionMode: boolean;
|
|
41593
41568
|
isSelectOnPage: boolean | undefined;
|
|
41594
|
-
interactionListenerLoaded: (callback: () => void) => void;
|
|
41595
41569
|
};
|
|
41596
41570
|
|
|
41597
|
-
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, 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, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData,
|
|
41571
|
+
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, 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, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, 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, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, 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, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, 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, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.57.
|
|
3
|
+
"version": "1.57.12",
|
|
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": "1.57.
|
|
31
|
-
"@gem-sdk/styles": "1.57.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.57.0",
|
|
31
|
+
"@gem-sdk/styles": "1.57.12",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const PublishedShopMetasDocument = `
|
|
4
|
-
query PublishedShopMetas($keys: [String!]) {
|
|
5
|
-
publishedShopMetas(keys: $keys) {
|
|
6
|
-
id
|
|
7
|
-
createdAt
|
|
8
|
-
updatedAt
|
|
9
|
-
key
|
|
10
|
-
value
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
`;
|
|
14
|
-
|
|
15
|
-
exports.PublishedShopMetasDocument = PublishedShopMetasDocument;
|