@gem-sdk/core 1.57.0 → 1.57.10-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 +15 -2
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +52 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -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 +16 -3
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +52 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/esm/index.js +1 -0
- package/dist/types/index.d.ts +31 -3
- 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;
|
|
@@ -19,6 +19,9 @@ require('../convert.js');
|
|
|
19
19
|
const useInteraction = ()=>{
|
|
20
20
|
const ref = react.useRef();
|
|
21
21
|
const setInteractionIsSelectOnPage = PageContext.usePageStore((s)=>s.setInteractionIsSelectOnPage);
|
|
22
|
+
const sidebarMode = PageContext.usePageStore((s)=>s.sidebarMode);
|
|
23
|
+
const selectType = PageContext.usePageStore((s)=>s.interactionData?.selectType);
|
|
24
|
+
const interactionData = PageContext.usePageStore((s)=>s.interactionData);
|
|
22
25
|
function findElementIncludingSelf(element, selector) {
|
|
23
26
|
if (!(element instanceof Document) && element?.matches(selector)) {
|
|
24
27
|
return element;
|
|
@@ -36,7 +39,7 @@ const useInteraction = ()=>{
|
|
|
36
39
|
});
|
|
37
40
|
};
|
|
38
41
|
const trigger = ({ event, data, selector, element: elementParam })=>{
|
|
39
|
-
const element = elementParam || document.body
|
|
42
|
+
const element = elementParam || document.body?.querySelector(selector);
|
|
40
43
|
if (!element) return;
|
|
41
44
|
const eventDispatch = new CustomEvent(event, {
|
|
42
45
|
bubbles: false,
|
|
@@ -89,6 +92,14 @@ const useInteraction = ()=>{
|
|
|
89
92
|
});
|
|
90
93
|
window.dispatchEvent(event);
|
|
91
94
|
};
|
|
95
|
+
const isInteractionMode = react.useMemo(()=>sidebarMode === 'interaction' && (!interactionData?.isSelectOnPage || selectType === 'PAGE'), [
|
|
96
|
+
sidebarMode,
|
|
97
|
+
interactionData?.isSelectOnPage,
|
|
98
|
+
selectType
|
|
99
|
+
]);
|
|
100
|
+
const isSelectOnPage = react.useMemo(()=>interactionData?.isSelectOnPage, [
|
|
101
|
+
interactionData?.isSelectOnPage
|
|
102
|
+
]);
|
|
92
103
|
return {
|
|
93
104
|
onListener,
|
|
94
105
|
trigger,
|
|
@@ -98,7 +109,9 @@ const useInteraction = ()=>{
|
|
|
98
109
|
findElementIncludingSelf,
|
|
99
110
|
getInteractionPreviousData,
|
|
100
111
|
changeSelectMode,
|
|
101
|
-
selectInteractionElement
|
|
112
|
+
selectInteractionElement,
|
|
113
|
+
isInteractionMode,
|
|
114
|
+
isSelectOnPage
|
|
102
115
|
};
|
|
103
116
|
};
|
|
104
117
|
|
|
@@ -156,6 +156,12 @@ 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
|
+
};
|
|
159
165
|
|
|
160
166
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
161
167
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -167,6 +173,7 @@ exports.GrowaveConfig = GrowaveConfig;
|
|
|
167
173
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
168
174
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
169
175
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
176
|
+
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
170
177
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
171
178
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
172
179
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
@@ -361,7 +361,59 @@ const Growave = {
|
|
|
361
361
|
'v2.product.reviewsMiniSlider': null
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
|
+
const LoloyalSettingCommon = {
|
|
365
|
+
title_font_size: 30,
|
|
366
|
+
subtitle_font_size: 13,
|
|
367
|
+
name_font_size: 20,
|
|
368
|
+
details_font_size: 14,
|
|
369
|
+
corner_radius: 8,
|
|
370
|
+
btn_radius: 8,
|
|
371
|
+
top_padding: 32,
|
|
372
|
+
bottom_padding: 32,
|
|
373
|
+
icon_color: '',
|
|
374
|
+
title_color: '#000000',
|
|
375
|
+
subtitle_color: '#000000',
|
|
376
|
+
name_color: '#000000',
|
|
377
|
+
details_color: '#000000',
|
|
378
|
+
card_bg_color: '#FFFFFF',
|
|
379
|
+
background_color: '#ffffff',
|
|
380
|
+
border_color: '#ececec',
|
|
381
|
+
primary_button_color: '#000000',
|
|
382
|
+
primary_button_text_color: '#FFFFFF',
|
|
383
|
+
secondary_button_color: '#FFFFFF',
|
|
384
|
+
secondary_button_text_color: '#000000',
|
|
385
|
+
hover_btn: '#000000',
|
|
386
|
+
hover_text_color: '#FFFFFF',
|
|
387
|
+
custom_css: '/* Add your custom styles here */'
|
|
388
|
+
};
|
|
389
|
+
const LoloyalLoyaltyReferrals = {
|
|
390
|
+
LoloyalLoyaltyReferrals: {
|
|
391
|
+
'app-banner': {
|
|
392
|
+
img_opacity: 0,
|
|
393
|
+
bg_color: '#F6F6F6',
|
|
394
|
+
banner_height: '400',
|
|
395
|
+
content_position: 'll-middle-left',
|
|
396
|
+
content_alignment: 'left',
|
|
397
|
+
title_font_size: 40,
|
|
398
|
+
subtitle_font_size: 13,
|
|
399
|
+
title_color: '#000000',
|
|
400
|
+
subtitle_color: '#000000',
|
|
401
|
+
btn_radius: 30,
|
|
402
|
+
primary_button_color: '#000000',
|
|
403
|
+
primary_button_text_color: '#FFFFFF',
|
|
404
|
+
secondary_button_color: '#FFFFFF',
|
|
405
|
+
secondary_button_text_color: '#000000',
|
|
406
|
+
hover_btn: '#000000',
|
|
407
|
+
hover_text_color: '#FFFFFF',
|
|
408
|
+
custom_css: '/* Add your custom styles here */'
|
|
409
|
+
},
|
|
410
|
+
'app-ways-to-earn': LoloyalSettingCommon,
|
|
411
|
+
'app-ways-to-redeem': LoloyalSettingCommon,
|
|
412
|
+
'app-referrals': LoloyalSettingCommon
|
|
413
|
+
}
|
|
414
|
+
};
|
|
364
415
|
const composeSettingsByWidgetType = {
|
|
416
|
+
...LoloyalLoyaltyReferrals,
|
|
365
417
|
...InstasellShoppableInstagram,
|
|
366
418
|
...SproutPlantTreesGrowSales,
|
|
367
419
|
...AppointmentBookingCowlendar,
|
|
@@ -28,7 +28,8 @@ const mapShopifyAppMeta = {
|
|
|
28
28
|
...appConfig.BoldSubscriptionsConfig,
|
|
29
29
|
...appConfig.SproutPlantTreesGrowSalesConfig,
|
|
30
30
|
...appConfig.InstasellShoppableInstagramConfig,
|
|
31
|
-
...appConfig.GrowaveConfig
|
|
31
|
+
...appConfig.GrowaveConfig,
|
|
32
|
+
...appConfig.LoloyalLoyaltyReferralsConfig
|
|
32
33
|
};
|
|
33
34
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
34
35
|
|
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 } from 'react';
|
|
1
|
+
import { useRef, useMemo } from 'react';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'zustand';
|
|
4
4
|
import 'swr';
|
|
@@ -17,6 +17,9 @@ import '../convert.js';
|
|
|
17
17
|
const useInteraction = ()=>{
|
|
18
18
|
const ref = useRef();
|
|
19
19
|
const setInteractionIsSelectOnPage = usePageStore((s)=>s.setInteractionIsSelectOnPage);
|
|
20
|
+
const sidebarMode = usePageStore((s)=>s.sidebarMode);
|
|
21
|
+
const selectType = usePageStore((s)=>s.interactionData?.selectType);
|
|
22
|
+
const interactionData = usePageStore((s)=>s.interactionData);
|
|
20
23
|
function findElementIncludingSelf(element, selector) {
|
|
21
24
|
if (!(element instanceof Document) && element?.matches(selector)) {
|
|
22
25
|
return element;
|
|
@@ -34,7 +37,7 @@ const useInteraction = ()=>{
|
|
|
34
37
|
});
|
|
35
38
|
};
|
|
36
39
|
const trigger = ({ event, data, selector, element: elementParam })=>{
|
|
37
|
-
const element = elementParam || document.body
|
|
40
|
+
const element = elementParam || document.body?.querySelector(selector);
|
|
38
41
|
if (!element) return;
|
|
39
42
|
const eventDispatch = new CustomEvent(event, {
|
|
40
43
|
bubbles: false,
|
|
@@ -87,6 +90,14 @@ const useInteraction = ()=>{
|
|
|
87
90
|
});
|
|
88
91
|
window.dispatchEvent(event);
|
|
89
92
|
};
|
|
93
|
+
const isInteractionMode = useMemo(()=>sidebarMode === 'interaction' && (!interactionData?.isSelectOnPage || selectType === 'PAGE'), [
|
|
94
|
+
sidebarMode,
|
|
95
|
+
interactionData?.isSelectOnPage,
|
|
96
|
+
selectType
|
|
97
|
+
]);
|
|
98
|
+
const isSelectOnPage = useMemo(()=>interactionData?.isSelectOnPage, [
|
|
99
|
+
interactionData?.isSelectOnPage
|
|
100
|
+
]);
|
|
90
101
|
return {
|
|
91
102
|
onListener,
|
|
92
103
|
trigger,
|
|
@@ -96,7 +107,9 @@ const useInteraction = ()=>{
|
|
|
96
107
|
findElementIncludingSelf,
|
|
97
108
|
getInteractionPreviousData,
|
|
98
109
|
changeSelectMode,
|
|
99
|
-
selectInteractionElement
|
|
110
|
+
selectInteractionElement,
|
|
111
|
+
isInteractionMode,
|
|
112
|
+
isSelectOnPage
|
|
100
113
|
};
|
|
101
114
|
};
|
|
102
115
|
|
|
@@ -154,5 +154,11 @@ 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
|
+
};
|
|
157
163
|
|
|
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 };
|
|
164
|
+
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -359,7 +359,59 @@ const Growave = {
|
|
|
359
359
|
'v2.product.reviewsMiniSlider': null
|
|
360
360
|
}
|
|
361
361
|
};
|
|
362
|
+
const LoloyalSettingCommon = {
|
|
363
|
+
title_font_size: 30,
|
|
364
|
+
subtitle_font_size: 13,
|
|
365
|
+
name_font_size: 20,
|
|
366
|
+
details_font_size: 14,
|
|
367
|
+
corner_radius: 8,
|
|
368
|
+
btn_radius: 8,
|
|
369
|
+
top_padding: 32,
|
|
370
|
+
bottom_padding: 32,
|
|
371
|
+
icon_color: '',
|
|
372
|
+
title_color: '#000000',
|
|
373
|
+
subtitle_color: '#000000',
|
|
374
|
+
name_color: '#000000',
|
|
375
|
+
details_color: '#000000',
|
|
376
|
+
card_bg_color: '#FFFFFF',
|
|
377
|
+
background_color: '#ffffff',
|
|
378
|
+
border_color: '#ececec',
|
|
379
|
+
primary_button_color: '#000000',
|
|
380
|
+
primary_button_text_color: '#FFFFFF',
|
|
381
|
+
secondary_button_color: '#FFFFFF',
|
|
382
|
+
secondary_button_text_color: '#000000',
|
|
383
|
+
hover_btn: '#000000',
|
|
384
|
+
hover_text_color: '#FFFFFF',
|
|
385
|
+
custom_css: '/* Add your custom styles here */'
|
|
386
|
+
};
|
|
387
|
+
const LoloyalLoyaltyReferrals = {
|
|
388
|
+
LoloyalLoyaltyReferrals: {
|
|
389
|
+
'app-banner': {
|
|
390
|
+
img_opacity: 0,
|
|
391
|
+
bg_color: '#F6F6F6',
|
|
392
|
+
banner_height: '400',
|
|
393
|
+
content_position: 'll-middle-left',
|
|
394
|
+
content_alignment: 'left',
|
|
395
|
+
title_font_size: 40,
|
|
396
|
+
subtitle_font_size: 13,
|
|
397
|
+
title_color: '#000000',
|
|
398
|
+
subtitle_color: '#000000',
|
|
399
|
+
btn_radius: 30,
|
|
400
|
+
primary_button_color: '#000000',
|
|
401
|
+
primary_button_text_color: '#FFFFFF',
|
|
402
|
+
secondary_button_color: '#FFFFFF',
|
|
403
|
+
secondary_button_text_color: '#000000',
|
|
404
|
+
hover_btn: '#000000',
|
|
405
|
+
hover_text_color: '#FFFFFF',
|
|
406
|
+
custom_css: '/* Add your custom styles here */'
|
|
407
|
+
},
|
|
408
|
+
'app-ways-to-earn': LoloyalSettingCommon,
|
|
409
|
+
'app-ways-to-redeem': LoloyalSettingCommon,
|
|
410
|
+
'app-referrals': LoloyalSettingCommon
|
|
411
|
+
}
|
|
412
|
+
};
|
|
362
413
|
const composeSettingsByWidgetType = {
|
|
414
|
+
...LoloyalLoyaltyReferrals,
|
|
363
415
|
...InstasellShoppableInstagram,
|
|
364
416
|
...SproutPlantTreesGrowSales,
|
|
365
417
|
...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 } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -26,7 +26,8 @@ const mapShopifyAppMeta = {
|
|
|
26
26
|
...BoldSubscriptionsConfig,
|
|
27
27
|
...SproutPlantTreesGrowSalesConfig,
|
|
28
28
|
...InstasellShoppableInstagramConfig,
|
|
29
|
-
...GrowaveConfig
|
|
29
|
+
...GrowaveConfig,
|
|
30
|
+
...LoloyalLoyaltyReferralsConfig
|
|
30
31
|
};
|
|
31
32
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
32
33
|
|
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,
|
|
@@ -6862,6 +6882,7 @@ type BaseProps<Setting = unknown, Style = unknown, Advanced = AdvancedType> = {
|
|
|
6862
6882
|
builderData?: BlockEntity;
|
|
6863
6883
|
isPreview?: boolean;
|
|
6864
6884
|
uidTranslate?: string;
|
|
6885
|
+
uidInteraction?: string;
|
|
6865
6886
|
};
|
|
6866
6887
|
customAttrs?: Object;
|
|
6867
6888
|
styles?: Style;
|
|
@@ -30713,7 +30734,7 @@ type TypographyV2Family = string | {
|
|
|
30713
30734
|
value: string;
|
|
30714
30735
|
type: TypographyV2FontFamilyType;
|
|
30715
30736
|
};
|
|
30716
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30737
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
30717
30738
|
|
|
30718
30739
|
/**
|
|
30719
30740
|
* @deprecated Please use `TypographySettingV2`
|
|
@@ -31401,6 +31422,11 @@ type PageViewUpMutationVariables = Exact$1<{
|
|
|
31401
31422
|
type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
|
|
31402
31423
|
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
|
|
31403
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
|
+
|
|
31404
31430
|
type CollectionDetailFilterQueryVariables = Exact$1<{
|
|
31405
31431
|
firstProduct?: InputMaybe$1<Scalars$2['Int']>;
|
|
31406
31432
|
orderBy?: InputMaybe$1<CollectionOrder$1>;
|
|
@@ -41538,7 +41564,7 @@ declare const getAppBlocks: (section: PublishedPageSection$1 & {
|
|
|
41538
41564
|
declare const addAppBlockId: (component: Component) => Component;
|
|
41539
41565
|
|
|
41540
41566
|
declare const useInteraction: () => {
|
|
41541
|
-
onListener: ({ event, selector, elementRef }: {
|
|
41567
|
+
onListener: ({ event, selector, elementRef, }: {
|
|
41542
41568
|
event: string;
|
|
41543
41569
|
selector: string;
|
|
41544
41570
|
elementRef?: React.MutableRefObject<HTMLElement> | undefined;
|
|
@@ -41563,6 +41589,8 @@ declare const useInteraction: () => {
|
|
|
41563
41589
|
settingType: string;
|
|
41564
41590
|
$target: HTMLElement;
|
|
41565
41591
|
}) => void;
|
|
41592
|
+
isInteractionMode: boolean;
|
|
41593
|
+
isSelectOnPage: boolean | undefined;
|
|
41566
41594
|
};
|
|
41567
41595
|
|
|
41568
|
-
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 };
|
|
41596
|
+
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.0",
|
|
3
|
+
"version": "1.57.10-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.0",
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.57.10-staging.0",
|
|
31
|
+
"@gem-sdk/styles": "1.57.10-staging.0",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|