@gem-sdk/core 1.57.12 → 1.57.15-staging.0
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/graphql/queries/published-shop-metas.js +15 -0
- package/dist/cjs/helpers/interaction/index.js +13 -2
- package/dist/cjs/helpers/third-party/appConfig.js +28 -0
- package/dist/cjs/helpers/third-party/appSetting.js +79 -0
- package/dist/cjs/helpers/third-party/constant.js +5 -1
- package/dist/cjs/index.js +2 -0
- package/dist/esm/graphql/queries/published-shop-metas.js +13 -0
- package/dist/esm/helpers/interaction/index.js +14 -3
- package/dist/esm/helpers/third-party/appConfig.js +25 -1
- package/dist/esm/helpers/third-party/appSetting.js +79 -0
- package/dist/esm/helpers/third-party/constant.js +6 -2
- package/dist/esm/index.js +1 -0
- package/dist/types/index.d.ts +28 -2
- package/package.json +3 -3
|
@@ -0,0 +1,15 @@
|
|
|
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;
|
|
@@ -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
|
|
42
|
+
const element = elementParam || document.body?.querySelector(selector);
|
|
43
43
|
if (!element) return;
|
|
44
44
|
const eventDispatch = new CustomEvent(event, {
|
|
45
45
|
bubbles: false,
|
|
@@ -100,6 +100,16 @@ 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
|
+
}, []);
|
|
103
113
|
return {
|
|
104
114
|
onListener,
|
|
105
115
|
trigger,
|
|
@@ -111,7 +121,8 @@ const useInteraction = ()=>{
|
|
|
111
121
|
changeSelectMode,
|
|
112
122
|
selectInteractionElement,
|
|
113
123
|
isInteractionMode,
|
|
114
|
-
isSelectOnPage
|
|
124
|
+
isSelectOnPage,
|
|
125
|
+
interactionListenerLoaded
|
|
115
126
|
};
|
|
116
127
|
};
|
|
117
128
|
|
|
@@ -156,6 +156,30 @@ 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
|
+
};
|
|
159
183
|
|
|
160
184
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
161
185
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -163,11 +187,14 @@ exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
|
163
187
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
164
188
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
165
189
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
190
|
+
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
166
191
|
exports.GrowaveConfig = GrowaveConfig;
|
|
167
192
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
168
193
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
169
194
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
195
|
+
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
170
196
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
197
|
+
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
171
198
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
172
199
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
173
200
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
@@ -182,4 +209,5 @@ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
|
182
209
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
183
210
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
184
211
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
212
|
+
exports.WishlistKingConfig = WishlistKingConfig;
|
|
185
213
|
exports.YotpoReviewsV3UgcConfig = YotpoReviewsV3UgcConfig;
|
|
@@ -102,6 +102,13 @@ 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
|
+
}
|
|
105
112
|
default:
|
|
106
113
|
return currentSetting;
|
|
107
114
|
}
|
|
@@ -361,7 +368,79 @@ const Growave = {
|
|
|
361
368
|
'v2.product.reviewsMiniSlider': null
|
|
362
369
|
}
|
|
363
370
|
};
|
|
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
|
+
};
|
|
364
439
|
const composeSettingsByWidgetType = {
|
|
440
|
+
...GloboProductOptionsVariant,
|
|
441
|
+
...WishlistKing,
|
|
442
|
+
...LoloyalLoyaltyReferrals,
|
|
443
|
+
...PowerfulContactFormBuilder,
|
|
365
444
|
...InstasellShoppableInstagram,
|
|
366
445
|
...SproutPlantTreesGrowSales,
|
|
367
446
|
...AppointmentBookingCowlendar,
|
|
@@ -28,7 +28,11 @@ const mapShopifyAppMeta = {
|
|
|
28
28
|
...appConfig.BoldSubscriptionsConfig,
|
|
29
29
|
...appConfig.SproutPlantTreesGrowSalesConfig,
|
|
30
30
|
...appConfig.InstasellShoppableInstagramConfig,
|
|
31
|
-
...appConfig.GrowaveConfig
|
|
31
|
+
...appConfig.GrowaveConfig,
|
|
32
|
+
...appConfig.LoloyalLoyaltyReferralsConfig,
|
|
33
|
+
...appConfig.PowerfulContactFormBuilderConfig,
|
|
34
|
+
...appConfig.WishlistKingConfig,
|
|
35
|
+
...appConfig.GloboProductOptionsVariantConfig
|
|
32
36
|
};
|
|
33
37
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
34
38
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -19,6 +19,7 @@ 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');
|
|
22
23
|
var collectionDetailFilter_generated = require('./graphql/queries/collection-detail-filter.generated.js');
|
|
23
24
|
var collection_generated = require('./graphql/queries/collection.generated.js');
|
|
24
25
|
var collections_generated = require('./graphql/queries/collections.generated.js');
|
|
@@ -151,6 +152,7 @@ exports.useArticleListStore = ArticleListContext.useArticleListStore;
|
|
|
151
152
|
exports.ArticleProvider = ArticleContext.ArticleProvider;
|
|
152
153
|
exports.useArticleStore = ArticleContext.useArticleStore;
|
|
153
154
|
exports.PageViewUpDocument = pageViewUp_generated.PageViewUpDocument;
|
|
155
|
+
exports.PublishedShopMetasDocument = publishedShopMetas.PublishedShopMetasDocument;
|
|
154
156
|
exports.CollectionDetailFilterDocument = collectionDetailFilter_generated.CollectionDetailFilterDocument;
|
|
155
157
|
exports.CollectionDocument = collection_generated.CollectionDocument;
|
|
156
158
|
exports.CollectionsDocument = collections_generated.CollectionsDocument;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useRef, useMemo } from 'react';
|
|
1
|
+
import { useRef, useMemo, useCallback } 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
|
|
40
|
+
const element = elementParam || document.body?.querySelector(selector);
|
|
41
41
|
if (!element) return;
|
|
42
42
|
const eventDispatch = new CustomEvent(event, {
|
|
43
43
|
bubbles: false,
|
|
@@ -98,6 +98,16 @@ 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
|
+
}, []);
|
|
101
111
|
return {
|
|
102
112
|
onListener,
|
|
103
113
|
trigger,
|
|
@@ -109,7 +119,8 @@ const useInteraction = ()=>{
|
|
|
109
119
|
changeSelectMode,
|
|
110
120
|
selectInteractionElement,
|
|
111
121
|
isInteractionMode,
|
|
112
|
-
isSelectOnPage
|
|
122
|
+
isSelectOnPage,
|
|
123
|
+
interactionListenerLoaded
|
|
113
124
|
};
|
|
114
125
|
};
|
|
115
126
|
|
|
@@ -154,5 +154,29 @@ 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
|
+
};
|
|
157
181
|
|
|
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 };
|
|
182
|
+
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -100,6 +100,13 @@ 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
|
+
}
|
|
103
110
|
default:
|
|
104
111
|
return currentSetting;
|
|
105
112
|
}
|
|
@@ -359,7 +366,79 @@ const Growave = {
|
|
|
359
366
|
'v2.product.reviewsMiniSlider': null
|
|
360
367
|
}
|
|
361
368
|
};
|
|
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
|
+
};
|
|
362
437
|
const composeSettingsByWidgetType = {
|
|
438
|
+
...GloboProductOptionsVariant,
|
|
439
|
+
...WishlistKing,
|
|
440
|
+
...LoloyalLoyaltyReferrals,
|
|
441
|
+
...PowerfulContactFormBuilder,
|
|
363
442
|
...InstasellShoppableInstagram,
|
|
364
443
|
...SproutPlantTreesGrowSales,
|
|
365
444
|
...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 } 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 } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -26,7 +26,11 @@ const mapShopifyAppMeta = {
|
|
|
26
26
|
...BoldSubscriptionsConfig,
|
|
27
27
|
...SproutPlantTreesGrowSalesConfig,
|
|
28
28
|
...InstasellShoppableInstagramConfig,
|
|
29
|
-
...GrowaveConfig
|
|
29
|
+
...GrowaveConfig,
|
|
30
|
+
...LoloyalLoyaltyReferralsConfig,
|
|
31
|
+
...PowerfulContactFormBuilderConfig,
|
|
32
|
+
...WishlistKingConfig,
|
|
33
|
+
...GloboProductOptionsVariantConfig
|
|
30
34
|
};
|
|
31
35
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
32
36
|
|
package/dist/esm/index.js
CHANGED
|
@@ -17,6 +17,7 @@ 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';
|
|
20
21
|
export { CollectionDetailFilterDocument } from './graphql/queries/collection-detail-filter.generated.js';
|
|
21
22
|
export { CollectionDocument } from './graphql/queries/collection.generated.js';
|
|
22
23
|
export { CollectionsDocument } from './graphql/queries/collections.generated.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5413,6 +5413,7 @@ 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>>>;
|
|
5416
5417
|
createdAt?: Maybe$1<Scalars$2['Time']>;
|
|
5417
5418
|
default: Scalars$2['Boolean'];
|
|
5418
5419
|
description?: Maybe$1<Scalars$2['String']>;
|
|
@@ -5680,12 +5681,18 @@ type PublishedThemePageWhereInput$1 = {
|
|
|
5680
5681
|
handleNEQ?: InputMaybe$1<Scalars$2['String']>;
|
|
5681
5682
|
handleNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
5682
5683
|
handleNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5684
|
+
/** children edge predicates */
|
|
5685
|
+
hasChildren?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5686
|
+
hasChildrenWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5683
5687
|
/** interaction edge predicates */
|
|
5684
5688
|
hasInteraction?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5685
5689
|
hasInteractionWith?: InputMaybe$1<Array<PublishedPageInteractionWhereInput$1>>;
|
|
5686
5690
|
/** offer edge predicates */
|
|
5687
5691
|
hasOffer?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5688
5692
|
hasOfferWith?: InputMaybe$1<Array<PublishedSaleFunnelOfferWhereInput$1>>;
|
|
5693
|
+
/** parent edge predicates */
|
|
5694
|
+
hasParent?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5695
|
+
hasParentWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5689
5696
|
/** publishedPageSection edge predicates */
|
|
5690
5697
|
hasPublishedPageSection?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5691
5698
|
hasPublishedPageSectionWith?: InputMaybe$1<Array<PublishedPageSectionWhereInput$1>>;
|
|
@@ -5748,6 +5755,13 @@ type PublishedThemePageWhereInput$1 = {
|
|
|
5748
5755
|
offerIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
|
|
5749
5756
|
offerIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5750
5757
|
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']>;
|
|
5751
5765
|
/** split_percentage field predicates */
|
|
5752
5766
|
splitPercentage?: InputMaybe$1<Scalars$2['Float']>;
|
|
5753
5767
|
splitPercentageGT?: InputMaybe$1<Scalars$2['Float']>;
|
|
@@ -6001,6 +6015,7 @@ type Query$1 = {
|
|
|
6001
6015
|
productOptionValues?: Maybe$1<ProductOptionValueConnection$1>;
|
|
6002
6016
|
productOptions?: Maybe$1<ProductOptionConnection$1>;
|
|
6003
6017
|
products?: Maybe$1<ProductConnection$1>;
|
|
6018
|
+
publishedShopMetas?: Maybe$1<Array<PublishedShopMeta$1>>;
|
|
6004
6019
|
publishedThemePages?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
|
|
6005
6020
|
publishedThemeSection?: Maybe$1<PublishedThemeSection$1>;
|
|
6006
6021
|
publishedThemeSections?: Maybe$1<PublishedThemeSectionConnection$1>;
|
|
@@ -6114,6 +6129,9 @@ type QueryProductsArgs$1 = {
|
|
|
6114
6129
|
orderBy?: InputMaybe$1<ProductOrder$1>;
|
|
6115
6130
|
where?: InputMaybe$1<ProductWhereInput$1>;
|
|
6116
6131
|
};
|
|
6132
|
+
type QueryPublishedShopMetasArgs = {
|
|
6133
|
+
keys?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
6134
|
+
};
|
|
6117
6135
|
type QueryPublishedThemePagesArgs$1 = {
|
|
6118
6136
|
slug?: InputMaybe$1<Scalars$2['String']>;
|
|
6119
6137
|
slugType: PublishedThemePageType$1;
|
|
@@ -6485,6 +6503,7 @@ type shop_EntityFindPublishedThemePageOnlineStoreDataByIdArgs = EntityFindPublis
|
|
|
6485
6503
|
type shop_EntityFindPublishedThemeSectionByIdArgs = EntityFindPublishedThemeSectionByIdArgs;
|
|
6486
6504
|
type shop_EntityFindPublishedThemeStyleByIdArgs = EntityFindPublishedThemeStyleByIdArgs;
|
|
6487
6505
|
type shop_EntityFindTagByIdArgs = EntityFindTagByIdArgs;
|
|
6506
|
+
type shop_QueryPublishedShopMetasArgs = QueryPublishedShopMetasArgs;
|
|
6488
6507
|
type shop_Query_EntitiesArgs = Query_EntitiesArgs;
|
|
6489
6508
|
type shop__Entity = _Entity;
|
|
6490
6509
|
type shop__Service = _Service;
|
|
@@ -6697,6 +6716,7 @@ declare namespace shop {
|
|
|
6697
6716
|
QueryProductOptionValuesArgs$1 as QueryProductOptionValuesArgs,
|
|
6698
6717
|
QueryProductOptionsArgs$1 as QueryProductOptionsArgs,
|
|
6699
6718
|
QueryProductsArgs$1 as QueryProductsArgs,
|
|
6719
|
+
shop_QueryPublishedShopMetasArgs as QueryPublishedShopMetasArgs,
|
|
6700
6720
|
QueryPublishedThemePagesArgs$1 as QueryPublishedThemePagesArgs,
|
|
6701
6721
|
QueryPublishedThemeSectionArgs$1 as QueryPublishedThemeSectionArgs,
|
|
6702
6722
|
QueryPublishedThemeSectionsArgs$1 as QueryPublishedThemeSectionsArgs,
|
|
@@ -30714,7 +30734,7 @@ type TypographyV2Family = string | {
|
|
|
30714
30734
|
value: string;
|
|
30715
30735
|
type: TypographyV2FontFamilyType;
|
|
30716
30736
|
};
|
|
30717
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30737
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
30718
30738
|
|
|
30719
30739
|
/**
|
|
30720
30740
|
* @deprecated Please use `TypographySettingV2`
|
|
@@ -31402,6 +31422,11 @@ type PageViewUpMutationVariables = Exact$1<{
|
|
|
31402
31422
|
type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
|
|
31403
31423
|
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
|
|
31404
31424
|
|
|
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
|
+
|
|
31405
31430
|
type CollectionDetailFilterQueryVariables = Exact$1<{
|
|
31406
31431
|
firstProduct?: InputMaybe$1<Scalars$2['Int']>;
|
|
31407
31432
|
orderBy?: InputMaybe$1<CollectionOrder$1>;
|
|
@@ -41566,6 +41591,7 @@ declare const useInteraction: () => {
|
|
|
41566
41591
|
}) => void;
|
|
41567
41592
|
isInteractionMode: boolean;
|
|
41568
41593
|
isSelectOnPage: boolean | undefined;
|
|
41594
|
+
interactionListenerLoaded: (callback: () => void) => void;
|
|
41569
41595
|
};
|
|
41570
41596
|
|
|
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 };
|
|
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, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, 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, 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.15-staging.0",
|
|
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.0",
|
|
31
|
-
"@gem-sdk/styles": "1.57.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.57.15-staging.0",
|
|
31
|
+
"@gem-sdk/styles": "1.57.15-staging.0",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|