@gem-sdk/core 1.57.10-staging.0 → 1.57.10-staging.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/helpers/interaction/index.js +12 -1
- package/dist/cjs/helpers/queries/get-collection.js +1 -1
- package/dist/cjs/helpers/third-party/appConfig.js +21 -0
- package/dist/cjs/helpers/third-party/appSetting.js +27 -0
- package/dist/cjs/helpers/third-party/constant.js +4 -1
- package/dist/esm/helpers/interaction/index.js +13 -2
- package/dist/esm/helpers/queries/get-collection.js +1 -1
- package/dist/esm/helpers/third-party/appConfig.js +19 -1
- package/dist/esm/helpers/third-party/appSetting.js +27 -0
- package/dist/esm/helpers/third-party/constant.js +5 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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
|
|
|
@@ -148,7 +148,7 @@ const mergeProductCollectionVariant = async (fetcher, collection, isSample)=>{
|
|
|
148
148
|
...product.node,
|
|
149
149
|
variants: product.node?.variants ? {
|
|
150
150
|
...product.node?.variants,
|
|
151
|
-
edges: productVariants?.[0]?.node?.variants?.edges ?? []
|
|
151
|
+
edges: productVariants?.[0]?.node?.variants?.edges ?? product.node?.variants.edges ?? []
|
|
152
152
|
} : undefined
|
|
153
153
|
} : undefined
|
|
154
154
|
};
|
|
@@ -162,6 +162,24 @@ const LoloyalLoyaltyReferralsConfig = {
|
|
|
162
162
|
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
163
163
|
}
|
|
164
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
|
+
};
|
|
165
183
|
|
|
166
184
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
167
185
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -169,12 +187,14 @@ exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
|
169
187
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
170
188
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
171
189
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
190
|
+
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
172
191
|
exports.GrowaveConfig = GrowaveConfig;
|
|
173
192
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
174
193
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
175
194
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
176
195
|
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
177
196
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
197
|
+
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
178
198
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
179
199
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
180
200
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
@@ -189,4 +209,5 @@ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
|
189
209
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
190
210
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
191
211
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
212
|
+
exports.WishlistKingConfig = WishlistKingConfig;
|
|
192
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
|
}
|
|
@@ -412,8 +419,28 @@ const LoloyalLoyaltyReferrals = {
|
|
|
412
419
|
'app-referrals': LoloyalSettingCommon
|
|
413
420
|
}
|
|
414
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
|
+
};
|
|
415
439
|
const composeSettingsByWidgetType = {
|
|
440
|
+
...GloboProductOptionsVariant,
|
|
441
|
+
...WishlistKing,
|
|
416
442
|
...LoloyalLoyaltyReferrals,
|
|
443
|
+
...PowerfulContactFormBuilder,
|
|
417
444
|
...InstasellShoppableInstagram,
|
|
418
445
|
...SproutPlantTreesGrowSales,
|
|
419
446
|
...AppointmentBookingCowlendar,
|
|
@@ -29,7 +29,10 @@ const mapShopifyAppMeta = {
|
|
|
29
29
|
...appConfig.SproutPlantTreesGrowSalesConfig,
|
|
30
30
|
...appConfig.InstasellShoppableInstagramConfig,
|
|
31
31
|
...appConfig.GrowaveConfig,
|
|
32
|
-
...appConfig.LoloyalLoyaltyReferralsConfig
|
|
32
|
+
...appConfig.LoloyalLoyaltyReferralsConfig,
|
|
33
|
+
...appConfig.PowerfulContactFormBuilderConfig,
|
|
34
|
+
...appConfig.WishlistKingConfig,
|
|
35
|
+
...appConfig.GloboProductOptionsVariantConfig
|
|
33
36
|
};
|
|
34
37
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
35
38
|
|
|
@@ -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';
|
|
@@ -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
|
|
|
@@ -146,7 +146,7 @@ const mergeProductCollectionVariant = async (fetcher, collection, isSample)=>{
|
|
|
146
146
|
...product.node,
|
|
147
147
|
variants: product.node?.variants ? {
|
|
148
148
|
...product.node?.variants,
|
|
149
|
-
edges: productVariants?.[0]?.node?.variants?.edges ?? []
|
|
149
|
+
edges: productVariants?.[0]?.node?.variants?.edges ?? product.node?.variants.edges ?? []
|
|
150
150
|
} : undefined
|
|
151
151
|
} : undefined
|
|
152
152
|
};
|
|
@@ -160,5 +160,23 @@ const LoloyalLoyaltyReferralsConfig = {
|
|
|
160
160
|
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
161
161
|
}
|
|
162
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
|
+
};
|
|
163
181
|
|
|
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 };
|
|
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
|
}
|
|
@@ -410,8 +417,28 @@ const LoloyalLoyaltyReferrals = {
|
|
|
410
417
|
'app-referrals': LoloyalSettingCommon
|
|
411
418
|
}
|
|
412
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
|
+
};
|
|
413
437
|
const composeSettingsByWidgetType = {
|
|
438
|
+
...GloboProductOptionsVariant,
|
|
439
|
+
...WishlistKing,
|
|
414
440
|
...LoloyalLoyaltyReferrals,
|
|
441
|
+
...PowerfulContactFormBuilder,
|
|
415
442
|
...InstasellShoppableInstagram,
|
|
416
443
|
...SproutPlantTreesGrowSales,
|
|
417
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, LoloyalLoyaltyReferralsConfig } 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,
|
|
@@ -27,7 +27,10 @@ const mapShopifyAppMeta = {
|
|
|
27
27
|
...SproutPlantTreesGrowSalesConfig,
|
|
28
28
|
...InstasellShoppableInstagramConfig,
|
|
29
29
|
...GrowaveConfig,
|
|
30
|
-
...LoloyalLoyaltyReferralsConfig
|
|
30
|
+
...LoloyalLoyaltyReferralsConfig,
|
|
31
|
+
...PowerfulContactFormBuilderConfig,
|
|
32
|
+
...WishlistKingConfig,
|
|
33
|
+
...GloboProductOptionsVariantConfig
|
|
31
34
|
};
|
|
32
35
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
33
36
|
|
package/dist/types/index.d.ts
CHANGED
|
@@ -41591,6 +41591,7 @@ declare const useInteraction: () => {
|
|
|
41591
41591
|
}) => void;
|
|
41592
41592
|
isInteractionMode: boolean;
|
|
41593
41593
|
isSelectOnPage: boolean | undefined;
|
|
41594
|
+
interactionListenerLoaded: (callback: () => void) => void;
|
|
41594
41595
|
};
|
|
41595
41596
|
|
|
41596
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.10-staging.
|
|
3
|
+
"version": "1.57.10-staging.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gem-sdk/adapter-shopify": "1.57.10-staging.0",
|
|
31
|
-
"@gem-sdk/styles": "1.57.10-staging.
|
|
31
|
+
"@gem-sdk/styles": "1.57.10-staging.3",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|