@gem-sdk/core 1.58.0-staging.34 → 1.58.0-staging.39
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/size.js +8 -2
- package/dist/cjs/hooks/shop/useShopifyLink.js +47 -0
- package/dist/cjs/hooks/useProduct.js +17 -0
- package/dist/cjs/index.js +3 -0
- package/dist/esm/helpers/size.js +8 -2
- package/dist/esm/hooks/shop/useShopifyLink.js +45 -0
- package/dist/esm/hooks/useProduct.js +17 -1
- package/dist/esm/index.js +2 -1
- package/dist/types/index.d.ts +16 -2
- package/package.json +1 -1
package/dist/cjs/helpers/size.js
CHANGED
|
@@ -103,7 +103,7 @@ const getHeightByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
103
103
|
});
|
|
104
104
|
return result;
|
|
105
105
|
};
|
|
106
|
-
const getWidthByShapeGlobalSize = (shapeByLayout, defaultAuto)=>{
|
|
106
|
+
const getWidthByShapeGlobalSize = (shapeByLayout, defaultAuto, defaultFull)=>{
|
|
107
107
|
let result = {};
|
|
108
108
|
const DEVICES = [
|
|
109
109
|
'desktop',
|
|
@@ -112,7 +112,13 @@ const getWidthByShapeGlobalSize = (shapeByLayout, defaultAuto)=>{
|
|
|
112
112
|
];
|
|
113
113
|
DEVICES.forEach((device)=>{
|
|
114
114
|
const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
|
|
115
|
-
|
|
115
|
+
let width = shapeByDevice?.width;
|
|
116
|
+
if (defaultAuto) {
|
|
117
|
+
width = shapeByDevice?.width || 'auto';
|
|
118
|
+
}
|
|
119
|
+
if (defaultFull) {
|
|
120
|
+
width = shapeByDevice?.width || '100%';
|
|
121
|
+
}
|
|
116
122
|
if (width) {
|
|
117
123
|
result = {
|
|
118
124
|
...result,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var ShopContext = require('../../contexts/ShopContext.js');
|
|
6
|
+
|
|
7
|
+
const useShopifyLink = ({ productId, articleId })=>{
|
|
8
|
+
const storefrontUrl = ShopContext.useShopStore((s)=>s.storefrontUrl);
|
|
9
|
+
//
|
|
10
|
+
// const productId = useMemo(() => {
|
|
11
|
+
// const ele = document.querySelector(`[data-uid="${parentProductUid}"]`);
|
|
12
|
+
// return ele?.getAttribute('data-product-id');
|
|
13
|
+
// }, [parentProductUid]);
|
|
14
|
+
const shopName = react.useMemo(()=>{
|
|
15
|
+
const pattern = /^(?:https?:\/\/)?([^/]+)\.myshopify\.com/;
|
|
16
|
+
if (storefrontUrl) {
|
|
17
|
+
return storefrontUrl.match(pattern)?.[1];
|
|
18
|
+
}
|
|
19
|
+
return '';
|
|
20
|
+
}, [
|
|
21
|
+
storefrontUrl
|
|
22
|
+
]);
|
|
23
|
+
const linkShopDefault = react.useMemo(()=>{
|
|
24
|
+
return `https://admin.shopify.com/store/${shopName}`;
|
|
25
|
+
}, [
|
|
26
|
+
shopName
|
|
27
|
+
]);
|
|
28
|
+
const linkEditProduct = react.useMemo(()=>{
|
|
29
|
+
return productId ? `${linkShopDefault}/products/${productId}` : '';
|
|
30
|
+
}, [
|
|
31
|
+
linkShopDefault,
|
|
32
|
+
productId
|
|
33
|
+
]);
|
|
34
|
+
const linkEditArticle = react.useMemo(()=>{
|
|
35
|
+
return articleId ? `${linkShopDefault}/articles/${articleId}` : '';
|
|
36
|
+
}, [
|
|
37
|
+
articleId,
|
|
38
|
+
linkShopDefault
|
|
39
|
+
]);
|
|
40
|
+
return {
|
|
41
|
+
linkShopDefault,
|
|
42
|
+
linkEditProduct,
|
|
43
|
+
linkEditArticle
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
exports.useShopifyLink = useShopifyLink;
|
|
@@ -13,6 +13,7 @@ require('swr/infinite');
|
|
|
13
13
|
require('vanilla-lazyload');
|
|
14
14
|
require('./useCartUI.js');
|
|
15
15
|
var variant = require('../helpers/variant.js');
|
|
16
|
+
var useShopifyLink = require('./shop/useShopifyLink.js');
|
|
16
17
|
require('react-transition-group');
|
|
17
18
|
require('@gem-sdk/core');
|
|
18
19
|
require('classnames');
|
|
@@ -44,6 +45,21 @@ const useProductBundleDiscount = ()=>{
|
|
|
44
45
|
seUseProductCompareAtPrice
|
|
45
46
|
};
|
|
46
47
|
};
|
|
48
|
+
const useProductShopifyEditLink = ()=>{
|
|
49
|
+
const product = ProductContext.useProductStore((s)=>s.product);
|
|
50
|
+
const productId = product?.baseID?.replace('gid://shopify/Product/', '');
|
|
51
|
+
const { linkEditProduct } = useShopifyLink.useShopifyLink({
|
|
52
|
+
productId
|
|
53
|
+
});
|
|
54
|
+
const redirectProductShopifyLink = ()=>{
|
|
55
|
+
if (!linkEditProduct) return;
|
|
56
|
+
window.open(linkEditProduct, '_blank');
|
|
57
|
+
};
|
|
58
|
+
return {
|
|
59
|
+
linkEditProduct,
|
|
60
|
+
redirectProductShopifyLink
|
|
61
|
+
};
|
|
62
|
+
};
|
|
47
63
|
const useQuantity = ()=>{
|
|
48
64
|
const quantity = ProductContext.useProductStore((s)=>s.quantity);
|
|
49
65
|
const hasUpdatePrice = ProductContext.useProductStore((s)=>s.updatePrice);
|
|
@@ -238,6 +254,7 @@ exports.useProduct = useProduct;
|
|
|
238
254
|
exports.useProductBundleDiscount = useProductBundleDiscount;
|
|
239
255
|
exports.useProductOfferDiscount = useProductOfferDiscount;
|
|
240
256
|
exports.useProductProperties = useProductProperties;
|
|
257
|
+
exports.useProductShopifyEditLink = useProductShopifyEditLink;
|
|
241
258
|
exports.useQuantity = useQuantity;
|
|
242
259
|
exports.useSelectedOption = useSelectedOption;
|
|
243
260
|
exports.useUniqProductID = useUniqProductID;
|
package/dist/cjs/index.js
CHANGED
|
@@ -98,6 +98,7 @@ var useLoadScript = require('./hooks/useLoadScript.js');
|
|
|
98
98
|
var useMoney = require('./hooks/useMoney.js');
|
|
99
99
|
var usePrevious = require('./hooks/usePrevious.js');
|
|
100
100
|
var useProduct = require('./hooks/useProduct.js');
|
|
101
|
+
var useShopifyLink = require('./hooks/shop/useShopifyLink.js');
|
|
101
102
|
var useProductList = require('./hooks/useProductList.js');
|
|
102
103
|
var useSuspenseFetch = require('./hooks/useSuspenseFetch.js');
|
|
103
104
|
var useSwatchesOptions = require('./hooks/useSwatchesOptions.js');
|
|
@@ -357,12 +358,14 @@ exports.useProduct = useProduct.useProduct;
|
|
|
357
358
|
exports.useProductBundleDiscount = useProduct.useProductBundleDiscount;
|
|
358
359
|
exports.useProductOfferDiscount = useProduct.useProductOfferDiscount;
|
|
359
360
|
exports.useProductProperties = useProduct.useProductProperties;
|
|
361
|
+
exports.useProductShopifyEditLink = useProduct.useProductShopifyEditLink;
|
|
360
362
|
exports.useQuantity = useProduct.useQuantity;
|
|
361
363
|
exports.useSelectedOption = useProduct.useSelectedOption;
|
|
362
364
|
exports.useUniqProductID = useProduct.useUniqProductID;
|
|
363
365
|
exports.useVariant = useProduct.useVariant;
|
|
364
366
|
exports.useVariantOutStock = useProduct.useVariantOutStock;
|
|
365
367
|
exports.useVariants = useProduct.useVariants;
|
|
368
|
+
exports.useShopifyLink = useShopifyLink.useShopifyLink;
|
|
366
369
|
exports.useProductList = useProductList.useProductList;
|
|
367
370
|
exports.useProductListProducts = useProductList.useProductListProducts;
|
|
368
371
|
exports.useProductListSettings = useProductList.useProductListSettings;
|
package/dist/esm/helpers/size.js
CHANGED
|
@@ -101,7 +101,7 @@ const getHeightByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
101
101
|
});
|
|
102
102
|
return result;
|
|
103
103
|
};
|
|
104
|
-
const getWidthByShapeGlobalSize = (shapeByLayout, defaultAuto)=>{
|
|
104
|
+
const getWidthByShapeGlobalSize = (shapeByLayout, defaultAuto, defaultFull)=>{
|
|
105
105
|
let result = {};
|
|
106
106
|
const DEVICES = [
|
|
107
107
|
'desktop',
|
|
@@ -110,7 +110,13 @@ const getWidthByShapeGlobalSize = (shapeByLayout, defaultAuto)=>{
|
|
|
110
110
|
];
|
|
111
111
|
DEVICES.forEach((device)=>{
|
|
112
112
|
const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
|
|
113
|
-
|
|
113
|
+
let width = shapeByDevice?.width;
|
|
114
|
+
if (defaultAuto) {
|
|
115
|
+
width = shapeByDevice?.width || 'auto';
|
|
116
|
+
}
|
|
117
|
+
if (defaultFull) {
|
|
118
|
+
width = shapeByDevice?.width || '100%';
|
|
119
|
+
}
|
|
114
120
|
if (width) {
|
|
115
121
|
result = {
|
|
116
122
|
...result,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useMemo } from 'react';
|
|
3
|
+
import { useShopStore } from '../../contexts/ShopContext.js';
|
|
4
|
+
|
|
5
|
+
const useShopifyLink = ({ productId, articleId })=>{
|
|
6
|
+
const storefrontUrl = useShopStore((s)=>s.storefrontUrl);
|
|
7
|
+
//
|
|
8
|
+
// const productId = useMemo(() => {
|
|
9
|
+
// const ele = document.querySelector(`[data-uid="${parentProductUid}"]`);
|
|
10
|
+
// return ele?.getAttribute('data-product-id');
|
|
11
|
+
// }, [parentProductUid]);
|
|
12
|
+
const shopName = useMemo(()=>{
|
|
13
|
+
const pattern = /^(?:https?:\/\/)?([^/]+)\.myshopify\.com/;
|
|
14
|
+
if (storefrontUrl) {
|
|
15
|
+
return storefrontUrl.match(pattern)?.[1];
|
|
16
|
+
}
|
|
17
|
+
return '';
|
|
18
|
+
}, [
|
|
19
|
+
storefrontUrl
|
|
20
|
+
]);
|
|
21
|
+
const linkShopDefault = useMemo(()=>{
|
|
22
|
+
return `https://admin.shopify.com/store/${shopName}`;
|
|
23
|
+
}, [
|
|
24
|
+
shopName
|
|
25
|
+
]);
|
|
26
|
+
const linkEditProduct = useMemo(()=>{
|
|
27
|
+
return productId ? `${linkShopDefault}/products/${productId}` : '';
|
|
28
|
+
}, [
|
|
29
|
+
linkShopDefault,
|
|
30
|
+
productId
|
|
31
|
+
]);
|
|
32
|
+
const linkEditArticle = useMemo(()=>{
|
|
33
|
+
return articleId ? `${linkShopDefault}/articles/${articleId}` : '';
|
|
34
|
+
}, [
|
|
35
|
+
articleId,
|
|
36
|
+
linkShopDefault
|
|
37
|
+
]);
|
|
38
|
+
return {
|
|
39
|
+
linkShopDefault,
|
|
40
|
+
linkEditProduct,
|
|
41
|
+
linkEditArticle
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { useShopifyLink };
|
|
@@ -11,6 +11,7 @@ import 'swr/infinite';
|
|
|
11
11
|
import 'vanilla-lazyload';
|
|
12
12
|
import './useCartUI.js';
|
|
13
13
|
import { checkInStock } from '../helpers/variant.js';
|
|
14
|
+
import { useShopifyLink } from './shop/useShopifyLink.js';
|
|
14
15
|
import 'react-transition-group';
|
|
15
16
|
import '@gem-sdk/core';
|
|
16
17
|
import 'classnames';
|
|
@@ -42,6 +43,21 @@ const useProductBundleDiscount = ()=>{
|
|
|
42
43
|
seUseProductCompareAtPrice
|
|
43
44
|
};
|
|
44
45
|
};
|
|
46
|
+
const useProductShopifyEditLink = ()=>{
|
|
47
|
+
const product = useProductStore((s)=>s.product);
|
|
48
|
+
const productId = product?.baseID?.replace('gid://shopify/Product/', '');
|
|
49
|
+
const { linkEditProduct } = useShopifyLink({
|
|
50
|
+
productId
|
|
51
|
+
});
|
|
52
|
+
const redirectProductShopifyLink = ()=>{
|
|
53
|
+
if (!linkEditProduct) return;
|
|
54
|
+
window.open(linkEditProduct, '_blank');
|
|
55
|
+
};
|
|
56
|
+
return {
|
|
57
|
+
linkEditProduct,
|
|
58
|
+
redirectProductShopifyLink
|
|
59
|
+
};
|
|
60
|
+
};
|
|
45
61
|
const useQuantity = ()=>{
|
|
46
62
|
const quantity = useProductStore((s)=>s.quantity);
|
|
47
63
|
const hasUpdatePrice = useProductStore((s)=>s.updatePrice);
|
|
@@ -226,4 +242,4 @@ const useProductOfferDiscount = ()=>{
|
|
|
226
242
|
return currentDiscount || 0;
|
|
227
243
|
};
|
|
228
244
|
|
|
229
|
-
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductBundleDiscount, useProductOfferDiscount, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants };
|
|
245
|
+
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductBundleDiscount, useProductOfferDiscount, useProductProperties, useProductShopifyEditLink, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants };
|
package/dist/esm/index.js
CHANGED
|
@@ -98,7 +98,8 @@ export { default as useIsomorphicLayoutEffect } from './hooks/useIsomorphicLayou
|
|
|
98
98
|
export { default as useLoadScript } from './hooks/useLoadScript.js';
|
|
99
99
|
export { default as useMoney } from './hooks/useMoney.js';
|
|
100
100
|
export { usePrevious } from './hooks/usePrevious.js';
|
|
101
|
-
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductBundleDiscount, useProductOfferDiscount, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants } from './hooks/useProduct.js';
|
|
101
|
+
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductBundleDiscount, useProductOfferDiscount, useProductProperties, useProductShopifyEditLink, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants } from './hooks/useProduct.js';
|
|
102
|
+
export { useShopifyLink } from './hooks/shop/useShopifyLink.js';
|
|
102
103
|
export { useProductList, useProductListProducts, useProductListSettings, useProductListStyles } from './hooks/useProductList.js';
|
|
103
104
|
export { default as useSuspenseFetch } from './hooks/useSuspenseFetch.js';
|
|
104
105
|
export { default as useSwatchesOptions } from './hooks/useSwatchesOptions.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -40014,7 +40014,7 @@ declare const getGlobalSizeGap: (globalSize?: ObjectDevices<SizeSettingGlobal>)
|
|
|
40014
40014
|
declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, defaultVal?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
40015
40015
|
declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string | number>>;
|
|
40016
40016
|
declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string>>;
|
|
40017
|
-
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean) => Partial<Record<NameDevices$1, string>>;
|
|
40017
|
+
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean, defaultFull?: boolean) => Partial<Record<NameDevices$1, string>>;
|
|
40018
40018
|
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
40019
40019
|
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
40020
40020
|
declare const getValueByDevice: <T>(value: any, device: NameDevices$1) => T;
|
|
@@ -41796,6 +41796,10 @@ declare const useProductBundleDiscount: () => {
|
|
|
41796
41796
|
useProductCompareAtPrice: boolean | undefined;
|
|
41797
41797
|
seUseProductCompareAtPrice: (value?: boolean | undefined) => void;
|
|
41798
41798
|
};
|
|
41799
|
+
declare const useProductShopifyEditLink: () => {
|
|
41800
|
+
linkEditProduct: string;
|
|
41801
|
+
redirectProductShopifyLink: () => void;
|
|
41802
|
+
};
|
|
41799
41803
|
declare const useQuantity: () => {
|
|
41800
41804
|
quantity: number | undefined;
|
|
41801
41805
|
hasUpdatePrice: boolean | undefined;
|
|
@@ -41831,6 +41835,16 @@ declare const useVariantOutStock: (optionId: string, optionValue: string, option
|
|
|
41831
41835
|
declare const useCheckAvailableVariantInStock: (optionId: string, optionValue: string) => boolean;
|
|
41832
41836
|
declare const useProductOfferDiscount: () => number;
|
|
41833
41837
|
|
|
41838
|
+
type ShopifyLinkParam = {
|
|
41839
|
+
productId?: string;
|
|
41840
|
+
articleId?: string;
|
|
41841
|
+
};
|
|
41842
|
+
declare const useShopifyLink: ({ productId, articleId }: ShopifyLinkParam) => {
|
|
41843
|
+
linkShopDefault: string;
|
|
41844
|
+
linkEditProduct: string;
|
|
41845
|
+
linkEditArticle: string;
|
|
41846
|
+
};
|
|
41847
|
+
|
|
41834
41848
|
declare const useProductList: () => CollectionProductSelectFragment | undefined;
|
|
41835
41849
|
declare const useProductListProducts: () => (ProductQuickSelectFragment | undefined)[] | undefined;
|
|
41836
41850
|
declare const useProductListSettings: () => {
|
|
@@ -41917,4 +41931,4 @@ declare const useInteraction: () => {
|
|
|
41917
41931
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
41918
41932
|
};
|
|
41919
41933
|
|
|
41920
|
-
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, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, 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, useProductBundleDiscount, 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 };
|
|
41934
|
+
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, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, 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, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|