@gem-sdk/core 1.57.0-dev.66 → 1.57.0-dev.72
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/components/ComponentToolbarPreview.js +2 -2
- package/dist/cjs/components/InteractionSuffix.js +1 -1
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +1 -1
- package/dist/cjs/components/theme-section/CreateThemeSection.js +1 -1
- package/dist/cjs/contexts/ProductContext.js +6 -1
- package/dist/cjs/helpers/interaction/index.js +1 -1
- package/dist/cjs/hooks/useProduct.js +10 -1
- package/dist/cjs/index.js +10 -9
- package/dist/esm/components/ComponentToolbarPreview.js +2 -2
- package/dist/esm/components/InteractionSuffix.js +1 -1
- package/dist/esm/components/ai-generator/AIContentGenerator.js +1 -1
- package/dist/esm/components/theme-section/CreateThemeSection.js +1 -1
- package/dist/esm/contexts/ProductContext.js +6 -1
- package/dist/esm/helpers/interaction/index.js +1 -1
- package/dist/esm/hooks/useProduct.js +10 -2
- package/dist/esm/index.js +4 -4
- package/dist/types/index.d.ts +78 -72
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var react = require('react');
|
|
7
7
|
require('zustand');
|
|
8
8
|
var BuilderPreviewContext = require('../contexts/BuilderPreviewContext.js');
|
|
9
|
-
var ShopContext = require('../contexts/ShopContext.js');
|
|
10
9
|
var PageContext = require('../contexts/PageContext.js');
|
|
11
|
-
require('
|
|
10
|
+
var ShopContext = require('../contexts/ShopContext.js');
|
|
12
11
|
require('swr');
|
|
12
|
+
require('@gem-sdk/adapter-shopify');
|
|
13
13
|
require('swr/mutation');
|
|
14
14
|
require('swr/infinite');
|
|
15
15
|
require('vanilla-lazyload');
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
require('zustand');
|
|
5
5
|
require('react');
|
|
6
|
-
require('swr');
|
|
7
6
|
var PageContext = require('../contexts/PageContext.js');
|
|
7
|
+
require('swr');
|
|
8
8
|
require('@gem-sdk/adapter-shopify');
|
|
9
9
|
require('swr/mutation');
|
|
10
10
|
require('swr/infinite');
|
|
@@ -16,8 +16,8 @@ var useFlipPopup = require('./hooks/useFlipPopup.js');
|
|
|
16
16
|
var useCheckingProductInside = require('./hooks/useCheckingProductInside.js');
|
|
17
17
|
require('zustand');
|
|
18
18
|
var ShopContext = require('../../contexts/ShopContext.js');
|
|
19
|
-
require('@gem-sdk/adapter-shopify');
|
|
20
19
|
require('swr');
|
|
20
|
+
require('@gem-sdk/adapter-shopify');
|
|
21
21
|
require('swr/mutation');
|
|
22
22
|
require('swr/infinite');
|
|
23
23
|
require('vanilla-lazyload');
|
|
@@ -5,8 +5,8 @@ var react = require('react');
|
|
|
5
5
|
var ThemeSectionTooltip = require('./ThemeSectionTooltip.js');
|
|
6
6
|
require('zustand');
|
|
7
7
|
var ShopContext = require('../../contexts/ShopContext.js');
|
|
8
|
-
require('@gem-sdk/adapter-shopify');
|
|
9
8
|
require('swr');
|
|
9
|
+
require('@gem-sdk/adapter-shopify');
|
|
10
10
|
require('swr/mutation');
|
|
11
11
|
require('swr/infinite');
|
|
12
12
|
require('vanilla-lazyload');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var zustand = require('zustand');
|
|
5
4
|
var react = require('react');
|
|
5
|
+
var zustand = require('zustand');
|
|
6
6
|
var flattenConnection = require('../helpers/flatten-connection.js');
|
|
7
7
|
var variant = require('../helpers/variant.js');
|
|
8
8
|
|
|
@@ -25,6 +25,11 @@ const createProductStoreProvider = (data)=>zustand.createStore((set, get)=>({
|
|
|
25
25
|
};
|
|
26
26
|
});
|
|
27
27
|
},
|
|
28
|
+
setUseProductCompareAtPrice: (value)=>{
|
|
29
|
+
set({
|
|
30
|
+
useProductCompareAtPrice: value
|
|
31
|
+
});
|
|
32
|
+
},
|
|
28
33
|
setShouldRequireUploadMessage: (value)=>{
|
|
29
34
|
set({
|
|
30
35
|
shouldRequireUploadMessage: value
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('zustand');
|
|
6
|
-
require('swr');
|
|
7
6
|
var PageContext = require('../../contexts/PageContext.js');
|
|
7
|
+
require('swr');
|
|
8
8
|
require('@gem-sdk/adapter-shopify');
|
|
9
9
|
require('swr/mutation');
|
|
10
10
|
require('swr/infinite');
|
|
@@ -4,8 +4,8 @@ var react = require('react');
|
|
|
4
4
|
var ProductContext = require('../contexts/ProductContext.js');
|
|
5
5
|
require('react/jsx-runtime');
|
|
6
6
|
require('zustand');
|
|
7
|
-
require('swr');
|
|
8
7
|
var PageContext = require('../contexts/PageContext.js');
|
|
8
|
+
require('swr');
|
|
9
9
|
require('@gem-sdk/adapter-shopify');
|
|
10
10
|
require('swr/mutation');
|
|
11
11
|
require('swr/infinite');
|
|
@@ -35,6 +35,14 @@ const useProductProperties = ()=>{
|
|
|
35
35
|
const useIsSyncProduct = ()=>{
|
|
36
36
|
return ProductContext.useProductStore((s)=>s.isSyncProduct);
|
|
37
37
|
};
|
|
38
|
+
const useProductBundleDiscount = ()=>{
|
|
39
|
+
const useProductCompareAtPrice = ProductContext.useProductStore((s)=>s.useProductCompareAtPrice);
|
|
40
|
+
const seUseProductCompareAtPrice = ProductContext.useProductStore((s)=>s.setUseProductCompareAtPrice);
|
|
41
|
+
return {
|
|
42
|
+
useProductCompareAtPrice,
|
|
43
|
+
seUseProductCompareAtPrice
|
|
44
|
+
};
|
|
45
|
+
};
|
|
38
46
|
const useQuantity = ()=>{
|
|
39
47
|
const quantity = ProductContext.useProductStore((s)=>s.quantity);
|
|
40
48
|
const hasUpdatePrice = ProductContext.useProductStore((s)=>s.updatePrice);
|
|
@@ -226,6 +234,7 @@ exports.useFeaturedImageGlobal = useFeaturedImageGlobal;
|
|
|
226
234
|
exports.useHasPreSelected = useHasPreSelected;
|
|
227
235
|
exports.useIsSyncProduct = useIsSyncProduct;
|
|
228
236
|
exports.useProduct = useProduct;
|
|
237
|
+
exports.useProductBundleDiscount = useProductBundleDiscount;
|
|
229
238
|
exports.useProductOfferDiscount = useProductOfferDiscount;
|
|
230
239
|
exports.useProductProperties = useProductProperties;
|
|
231
240
|
exports.useQuantity = useQuantity;
|
package/dist/cjs/index.js
CHANGED
|
@@ -71,6 +71,7 @@ var render = require('./helpers/render.js');
|
|
|
71
71
|
var shadow = require('./helpers/shadow.js');
|
|
72
72
|
var size = require('./helpers/size.js');
|
|
73
73
|
var typography = require('./helpers/typography.js');
|
|
74
|
+
var useArticlesQuery = require('./hooks/articles/useArticlesQuery.js');
|
|
74
75
|
var useAddToCart = require('./hooks/cart/use-add-to-cart.js');
|
|
75
76
|
var useCartData = require('./hooks/cart/use-cart-data.js');
|
|
76
77
|
var useCartDiscountCodesUpdate = require('./hooks/cart/use-cart-discount-codes-update.js');
|
|
@@ -84,23 +85,22 @@ var useCollectionsQuery = require('./hooks/shop/use-collections-query.js');
|
|
|
84
85
|
var useProductQuery = require('./hooks/shop/use-product-query.js');
|
|
85
86
|
var useProductsQuery = require('./hooks/shop/use-products-query.js');
|
|
86
87
|
var useCurrentDevice = require('./hooks/use-current-device.js');
|
|
87
|
-
var useFormatMoney = require('./hooks/useFormatMoney.js');
|
|
88
88
|
var useLazyVideo = require('./hooks/use-lazy-video.js');
|
|
89
89
|
var useCartId = require('./hooks/useCartId.js');
|
|
90
90
|
var useCartLine = require('./hooks/useCartLine.js');
|
|
91
91
|
var useCartUI = require('./hooks/useCartUI.js');
|
|
92
92
|
var useCollection = require('./hooks/useCollection.js');
|
|
93
|
+
var useFormatMoney = require('./hooks/useFormatMoney.js');
|
|
93
94
|
var react = require('react');
|
|
95
|
+
var useInitialSwatchesOptions = require('./hooks/useInitialSwatchesOptions.js');
|
|
94
96
|
var useIsomorphicLayoutEffect = require('./hooks/useIsomorphicLayoutEffect.js');
|
|
95
97
|
var useLoadScript = require('./hooks/useLoadScript.js');
|
|
96
98
|
var useMoney = require('./hooks/useMoney.js');
|
|
97
99
|
var usePrevious = require('./hooks/usePrevious.js');
|
|
98
|
-
var useArticlesQuery = require('./hooks/articles/useArticlesQuery.js');
|
|
99
100
|
var useProduct = require('./hooks/useProduct.js');
|
|
100
101
|
var useProductList = require('./hooks/useProductList.js');
|
|
101
102
|
var useSuspenseFetch = require('./hooks/useSuspenseFetch.js');
|
|
102
103
|
var useSwatchesOptions = require('./hooks/useSwatchesOptions.js');
|
|
103
|
-
var useInitialSwatchesOptions = require('./hooks/useInitialSwatchesOptions.js');
|
|
104
104
|
var custom = require('./types/custom.js');
|
|
105
105
|
var shop$1 = require('./types/shop.js');
|
|
106
106
|
var appAPI = require('./types/appAPI.js');
|
|
@@ -302,6 +302,8 @@ exports.composeTypographyStyle = typography.composeTypographyStyle;
|
|
|
302
302
|
exports.composeTypographyV2 = typography.composeTypographyV2;
|
|
303
303
|
exports.composeTypographyV2Css = typography.composeTypographyV2Css;
|
|
304
304
|
exports.genTypoClass = typography.genTypoClass;
|
|
305
|
+
exports.useArticlesQuery = useArticlesQuery.useArticlesQuery;
|
|
306
|
+
exports.useBlogsQuery = useArticlesQuery.useBlogsQuery;
|
|
305
307
|
exports.useAddToCart = useAddToCart.useAddToCart;
|
|
306
308
|
exports.useCartData = useCartData.useCartData;
|
|
307
309
|
exports.useCartDiscountCodesUpdate = useCartDiscountCodesUpdate.useCartDiscountCodesUpdate;
|
|
@@ -329,24 +331,23 @@ exports.useProductQuery = useProductQuery.useProductQuery;
|
|
|
329
331
|
exports.useProductsQuery = useProductsQuery.useProductsQuery;
|
|
330
332
|
exports.useProductsQueryAll = useProductsQuery.useProductsQueryAll;
|
|
331
333
|
exports.useCurrentDevice = useCurrentDevice.useCurrentDevice;
|
|
332
|
-
exports.formatMoney = useFormatMoney.formatMoney;
|
|
333
|
-
exports.shopifyPriceRounding = useFormatMoney.shopifyPriceRounding;
|
|
334
|
-
exports.useFormatMoney = useFormatMoney.useFormatMoney;
|
|
335
334
|
exports.useLazyVideo = useLazyVideo.useLazyVideo;
|
|
336
335
|
exports.useCartId = useCartId.default;
|
|
337
336
|
exports.useCartLine = useCartLine.default;
|
|
338
337
|
exports.useCartUI = useCartUI.default;
|
|
339
338
|
exports.useCollection = useCollection.useCollection;
|
|
339
|
+
exports.formatMoney = useFormatMoney.formatMoney;
|
|
340
|
+
exports.shopifyPriceRounding = useFormatMoney.shopifyPriceRounding;
|
|
341
|
+
exports.useFormatMoney = useFormatMoney.useFormatMoney;
|
|
340
342
|
Object.defineProperty(exports, 'useId', {
|
|
341
343
|
enumerable: true,
|
|
342
344
|
get: function () { return react.useId; }
|
|
343
345
|
});
|
|
346
|
+
exports.useInitialSwatchesOptions = useInitialSwatchesOptions.default;
|
|
344
347
|
exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect.default;
|
|
345
348
|
exports.useLoadScript = useLoadScript.default;
|
|
346
349
|
exports.useMoney = useMoney.default;
|
|
347
350
|
exports.usePrevious = usePrevious.usePrevious;
|
|
348
|
-
exports.useArticlesQuery = useArticlesQuery.useArticlesQuery;
|
|
349
|
-
exports.useBlogsQuery = useArticlesQuery.useBlogsQuery;
|
|
350
351
|
exports.useCheckAvailableVariantInStock = useProduct.useCheckAvailableVariantInStock;
|
|
351
352
|
exports.useCurrentVariant = useProduct.useCurrentVariant;
|
|
352
353
|
exports.useCurrentVariantInStock = useProduct.useCurrentVariantInStock;
|
|
@@ -354,6 +355,7 @@ exports.useFeaturedImageGlobal = useProduct.useFeaturedImageGlobal;
|
|
|
354
355
|
exports.useHasPreSelected = useProduct.useHasPreSelected;
|
|
355
356
|
exports.useIsSyncProduct = useProduct.useIsSyncProduct;
|
|
356
357
|
exports.useProduct = useProduct.useProduct;
|
|
358
|
+
exports.useProductBundleDiscount = useProduct.useProductBundleDiscount;
|
|
357
359
|
exports.useProductOfferDiscount = useProduct.useProductOfferDiscount;
|
|
358
360
|
exports.useProductProperties = useProduct.useProductProperties;
|
|
359
361
|
exports.useQuantity = useProduct.useQuantity;
|
|
@@ -368,7 +370,6 @@ exports.useProductListSettings = useProductList.useProductListSettings;
|
|
|
368
370
|
exports.useProductListStyles = useProductList.useProductListStyles;
|
|
369
371
|
exports.useSuspenseFetch = useSuspenseFetch.default;
|
|
370
372
|
exports.useSwatchesOptions = useSwatchesOptions.default;
|
|
371
|
-
exports.useInitialSwatchesOptions = useInitialSwatchesOptions.default;
|
|
372
373
|
Object.defineProperty(exports, 'InteractionTargetEvent', {
|
|
373
374
|
enumerable: true,
|
|
374
375
|
get: function () { return custom.InteractionTargetEvent; }
|
|
@@ -2,10 +2,10 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { memo, useState, useMemo, useCallback, useEffect } from 'react';
|
|
3
3
|
import 'zustand';
|
|
4
4
|
import { useBuilderPreviewStore } from '../contexts/BuilderPreviewContext.js';
|
|
5
|
-
import { useShopStore } from '../contexts/ShopContext.js';
|
|
6
5
|
import { usePageStore } from '../contexts/PageContext.js';
|
|
7
|
-
import '
|
|
6
|
+
import { useShopStore } from '../contexts/ShopContext.js';
|
|
8
7
|
import 'swr';
|
|
8
|
+
import '@gem-sdk/adapter-shopify';
|
|
9
9
|
import 'swr/mutation';
|
|
10
10
|
import 'swr/infinite';
|
|
11
11
|
import 'vanilla-lazyload';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import 'zustand';
|
|
3
3
|
import 'react';
|
|
4
|
-
import 'swr';
|
|
5
4
|
import { usePageStore } from '../contexts/PageContext.js';
|
|
5
|
+
import 'swr';
|
|
6
6
|
import '@gem-sdk/adapter-shopify';
|
|
7
7
|
import 'swr/mutation';
|
|
8
8
|
import 'swr/infinite';
|
|
@@ -14,8 +14,8 @@ import { useFlipPopup } from './hooks/useFlipPopup.js';
|
|
|
14
14
|
import { useCheckingProductInside } from './hooks/useCheckingProductInside.js';
|
|
15
15
|
import 'zustand';
|
|
16
16
|
import { useShopStore } from '../../contexts/ShopContext.js';
|
|
17
|
-
import '@gem-sdk/adapter-shopify';
|
|
18
17
|
import 'swr';
|
|
18
|
+
import '@gem-sdk/adapter-shopify';
|
|
19
19
|
import 'swr/mutation';
|
|
20
20
|
import 'swr/infinite';
|
|
21
21
|
import 'vanilla-lazyload';
|
|
@@ -3,8 +3,8 @@ import { useRef, useState } from 'react';
|
|
|
3
3
|
import { ThemeSectionTooltip } from './ThemeSectionTooltip.js';
|
|
4
4
|
import 'zustand';
|
|
5
5
|
import { useShopStore } from '../../contexts/ShopContext.js';
|
|
6
|
-
import '@gem-sdk/adapter-shopify';
|
|
7
6
|
import 'swr';
|
|
7
|
+
import '@gem-sdk/adapter-shopify';
|
|
8
8
|
import 'swr/mutation';
|
|
9
9
|
import 'swr/infinite';
|
|
10
10
|
import 'vanilla-lazyload';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { useStore, createStore } from 'zustand';
|
|
3
2
|
import { useId, useMemo, useContext, createContext } from 'react';
|
|
3
|
+
import { useStore, createStore } from 'zustand';
|
|
4
4
|
import { flattenConnection } from '../helpers/flatten-connection.js';
|
|
5
5
|
import { checkInStock } from '../helpers/variant.js';
|
|
6
6
|
|
|
@@ -23,6 +23,11 @@ const createProductStoreProvider = (data)=>createStore((set, get)=>({
|
|
|
23
23
|
};
|
|
24
24
|
});
|
|
25
25
|
},
|
|
26
|
+
setUseProductCompareAtPrice: (value)=>{
|
|
27
|
+
set({
|
|
28
|
+
useProductCompareAtPrice: value
|
|
29
|
+
});
|
|
30
|
+
},
|
|
26
31
|
setShouldRequireUploadMessage: (value)=>{
|
|
27
32
|
set({
|
|
28
33
|
shouldRequireUploadMessage: value
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useRef } from 'react';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'zustand';
|
|
4
|
-
import 'swr';
|
|
5
4
|
import { usePageStore } from '../../contexts/PageContext.js';
|
|
5
|
+
import 'swr';
|
|
6
6
|
import '@gem-sdk/adapter-shopify';
|
|
7
7
|
import 'swr/mutation';
|
|
8
8
|
import 'swr/infinite';
|
|
@@ -2,8 +2,8 @@ import { useCallback, useEffect, useMemo } from 'react';
|
|
|
2
2
|
import { useProductStore } from '../contexts/ProductContext.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'zustand';
|
|
5
|
-
import 'swr';
|
|
6
5
|
import { usePageStore } from '../contexts/PageContext.js';
|
|
6
|
+
import 'swr';
|
|
7
7
|
import '@gem-sdk/adapter-shopify';
|
|
8
8
|
import 'swr/mutation';
|
|
9
9
|
import 'swr/infinite';
|
|
@@ -33,6 +33,14 @@ const useProductProperties = ()=>{
|
|
|
33
33
|
const useIsSyncProduct = ()=>{
|
|
34
34
|
return useProductStore((s)=>s.isSyncProduct);
|
|
35
35
|
};
|
|
36
|
+
const useProductBundleDiscount = ()=>{
|
|
37
|
+
const useProductCompareAtPrice = useProductStore((s)=>s.useProductCompareAtPrice);
|
|
38
|
+
const seUseProductCompareAtPrice = useProductStore((s)=>s.setUseProductCompareAtPrice);
|
|
39
|
+
return {
|
|
40
|
+
useProductCompareAtPrice,
|
|
41
|
+
seUseProductCompareAtPrice
|
|
42
|
+
};
|
|
43
|
+
};
|
|
36
44
|
const useQuantity = ()=>{
|
|
37
45
|
const quantity = useProductStore((s)=>s.quantity);
|
|
38
46
|
const hasUpdatePrice = useProductStore((s)=>s.updatePrice);
|
|
@@ -217,4 +225,4 @@ const useProductOfferDiscount = ()=>{
|
|
|
217
225
|
return currentDiscount || 0;
|
|
218
226
|
};
|
|
219
227
|
|
|
220
|
-
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductOfferDiscount, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants };
|
|
228
|
+
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductBundleDiscount, useProductOfferDiscount, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants };
|
package/dist/esm/index.js
CHANGED
|
@@ -72,6 +72,7 @@ export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromO
|
|
|
72
72
|
export { composeShadowCss, getResponsiveStyleShadow, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
|
|
73
73
|
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
|
|
74
74
|
export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
|
|
75
|
+
export { useArticlesQuery, useBlogsQuery } from './hooks/articles/useArticlesQuery.js';
|
|
75
76
|
export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
|
|
76
77
|
export { useCartData } from './hooks/cart/use-cart-data.js';
|
|
77
78
|
export { useCartDiscountCodesUpdate } from './hooks/cart/use-cart-discount-codes-update.js';
|
|
@@ -85,23 +86,22 @@ export { useCollectionsQuery } from './hooks/shop/use-collections-query.js';
|
|
|
85
86
|
export { useProductQuery } from './hooks/shop/use-product-query.js';
|
|
86
87
|
export { useProductsQuery, useProductsQueryAll } from './hooks/shop/use-products-query.js';
|
|
87
88
|
export { useCurrentDevice } from './hooks/use-current-device.js';
|
|
88
|
-
export { formatMoney, shopifyPriceRounding, useFormatMoney } from './hooks/useFormatMoney.js';
|
|
89
89
|
export { useLazyVideo } from './hooks/use-lazy-video.js';
|
|
90
90
|
export { default as useCartId } from './hooks/useCartId.js';
|
|
91
91
|
export { default as useCartLine } from './hooks/useCartLine.js';
|
|
92
92
|
export { default as useCartUI } from './hooks/useCartUI.js';
|
|
93
93
|
export { useCollection } from './hooks/useCollection.js';
|
|
94
|
+
export { formatMoney, shopifyPriceRounding, useFormatMoney } from './hooks/useFormatMoney.js';
|
|
94
95
|
export { useId } from 'react';
|
|
96
|
+
export { default as useInitialSwatchesOptions } from './hooks/useInitialSwatchesOptions.js';
|
|
95
97
|
export { default as useIsomorphicLayoutEffect } from './hooks/useIsomorphicLayoutEffect.js';
|
|
96
98
|
export { default as useLoadScript } from './hooks/useLoadScript.js';
|
|
97
99
|
export { default as useMoney } from './hooks/useMoney.js';
|
|
98
100
|
export { usePrevious } from './hooks/usePrevious.js';
|
|
99
|
-
export {
|
|
100
|
-
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductOfferDiscount, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants } from './hooks/useProduct.js';
|
|
101
|
+
export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductBundleDiscount, useProductOfferDiscount, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants } from './hooks/useProduct.js';
|
|
101
102
|
export { useProductList, useProductListProducts, useProductListSettings, useProductListStyles } from './hooks/useProductList.js';
|
|
102
103
|
export { default as useSuspenseFetch } from './hooks/useSuspenseFetch.js';
|
|
103
104
|
export { default as useSwatchesOptions } from './hooks/useSwatchesOptions.js';
|
|
104
|
-
export { default as useInitialSwatchesOptions } from './hooks/useInitialSwatchesOptions.js';
|
|
105
105
|
export { InteractionTargetEvent, InteractionTriggerEvent } from './types/custom.js';
|
|
106
106
|
import * as shop from './types/shop.js';
|
|
107
107
|
export { shop as ShopType };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { Cart as Cart$2, addToCartOperation, getCartOperation, cartDiscountCodes
|
|
|
3
3
|
import { SWRConfig, SWRConfiguration, MutatorOptions } from 'swr';
|
|
4
4
|
import { ShortHandProperty } from '@gem-sdk/styles';
|
|
5
5
|
import * as csstype from 'csstype';
|
|
6
|
+
import * as swr__internal from 'swr/_internal';
|
|
6
7
|
import * as swr_mutation from 'swr/mutation';
|
|
7
8
|
import { SWRMutationConfiguration } from 'swr/mutation';
|
|
8
9
|
import * as _gem_sdk_adapter_common_dist_types_types_cart from '@gem-sdk/adapter-common/dist/types/types/cart';
|
|
9
|
-
import * as swr__internal from 'swr/_internal';
|
|
10
10
|
import { useLayoutEffect } from 'react';
|
|
11
11
|
export { useId } from 'react';
|
|
12
12
|
|
|
@@ -31417,6 +31417,8 @@ type ProductListProviderProps = ProductListContextProps & {
|
|
|
31417
31417
|
declare const ProductListProvider: React.FC<ProductListProviderProps>;
|
|
31418
31418
|
declare const useProductListStore: <U>(selector: (state: ExtractState<StoreApi<ProductListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
31419
31419
|
|
|
31420
|
+
type MediaSelectFragment = Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>;
|
|
31421
|
+
|
|
31420
31422
|
type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
31421
31423
|
collections?: Maybe$1<{
|
|
31422
31424
|
edges: Array<{
|
|
@@ -31444,8 +31446,6 @@ type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'createdA
|
|
|
31444
31446
|
featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
31445
31447
|
};
|
|
31446
31448
|
|
|
31447
|
-
type MediaSelectFragment = Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>;
|
|
31448
|
-
|
|
31449
31449
|
type AttributeProp = {
|
|
31450
31450
|
key: string;
|
|
31451
31451
|
value?: string;
|
|
@@ -31478,6 +31478,8 @@ type ProductContextProps = {
|
|
|
31478
31478
|
setRequireUpload: (value: boolean) => void;
|
|
31479
31479
|
shouldRequireUploadMessage?: boolean;
|
|
31480
31480
|
setShouldRequireUploadMessage: (value: boolean) => void;
|
|
31481
|
+
useProductCompareAtPrice?: boolean;
|
|
31482
|
+
setUseProductCompareAtPrice: (value?: boolean) => void;
|
|
31481
31483
|
};
|
|
31482
31484
|
type ProductProviderProps = Pick<ProductContextProps, 'product' | 'quantity' | 'selectedOptions' | 'isSyncProduct'> & {
|
|
31483
31485
|
initialVariantId?: string;
|
|
@@ -41479,6 +41481,68 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
|
|
|
41479
41481
|
vectorEffect?: csstype.Property.VectorEffect | undefined;
|
|
41480
41482
|
};
|
|
41481
41483
|
|
|
41484
|
+
type ArticlesQueryVariables = Exact$1<{
|
|
41485
|
+
after?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41486
|
+
before?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41487
|
+
first?: InputMaybe$1<Scalars$2['Int']>;
|
|
41488
|
+
last?: InputMaybe$1<Scalars$2['Int']>;
|
|
41489
|
+
orderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
41490
|
+
where?: InputMaybe$1<ArticleWhereInput$1>;
|
|
41491
|
+
}>;
|
|
41492
|
+
type ArticlesQueryResponse = {
|
|
41493
|
+
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
41494
|
+
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
41495
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
41496
|
+
tags: Array<never>;
|
|
41497
|
+
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41498
|
+
blogs?: Maybe$1<{
|
|
41499
|
+
edges: Array<{
|
|
41500
|
+
node?: Maybe$1<Pick<Blog$1, 'title' | 'handle'>>;
|
|
41501
|
+
}>;
|
|
41502
|
+
}>;
|
|
41503
|
+
media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
|
|
41504
|
+
})>;
|
|
41505
|
+
})>;
|
|
41506
|
+
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
41507
|
+
})>;
|
|
41508
|
+
};
|
|
41509
|
+
|
|
41510
|
+
type BlogsQueryVariables = Exact$1<{
|
|
41511
|
+
after?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41512
|
+
before?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41513
|
+
first?: InputMaybe$1<Scalars$2['Int']>;
|
|
41514
|
+
last?: InputMaybe$1<Scalars$2['Int']>;
|
|
41515
|
+
orderBy?: InputMaybe$1<BlogOrder$1>;
|
|
41516
|
+
where?: InputMaybe$1<BlogWhereInput$1>;
|
|
41517
|
+
articlesOrderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
41518
|
+
}>;
|
|
41519
|
+
type BlogsQueryResponse = {
|
|
41520
|
+
blogs?: Maybe$1<(Pick<BlogConnection$1, 'totalCount'> & {
|
|
41521
|
+
edges: Array<(Pick<BlogEdge$1, 'cursor'> & {
|
|
41522
|
+
node?: Maybe$1<(Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'> & {
|
|
41523
|
+
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
41524
|
+
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
41525
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
41526
|
+
tags: Array<never>;
|
|
41527
|
+
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41528
|
+
blogs?: Maybe$1<{
|
|
41529
|
+
edges: Array<{
|
|
41530
|
+
node?: Maybe$1<Pick<Blog$1, 'title' | 'handle'>>;
|
|
41531
|
+
}>;
|
|
41532
|
+
}>;
|
|
41533
|
+
media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
|
|
41534
|
+
})>;
|
|
41535
|
+
})>;
|
|
41536
|
+
})>;
|
|
41537
|
+
})>;
|
|
41538
|
+
})>;
|
|
41539
|
+
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
41540
|
+
})>;
|
|
41541
|
+
};
|
|
41542
|
+
|
|
41543
|
+
declare const useArticlesQuery: (variables: ArticlesQueryVariables | null, options?: SWRConfiguration<ArticlesQueryResponse>) => swr__internal.SWRResponse<ArticlesQueryResponse, any, Partial<swr__internal.PublicConfiguration<ArticlesQueryResponse, any, (arg: ["query/articles", any]) => swr__internal.FetcherResponse<ArticlesQueryResponse>>> | undefined>;
|
|
41544
|
+
declare const useBlogsQuery: (variables: BlogsQueryVariables | null, options?: SWRConfiguration<BlogsQueryResponse>) => swr__internal.SWRResponse<BlogsQueryResponse, any, Partial<swr__internal.PublicConfiguration<BlogsQueryResponse, any, (arg: ["query/blogs", any]) => swr__internal.FetcherResponse<BlogsQueryResponse>>> | undefined>;
|
|
41545
|
+
|
|
41482
41546
|
type Func$6 = ReturnType<typeof addToCartOperation>;
|
|
41483
41547
|
type Response$6 = Awaited<ReturnType<Func$6>>;
|
|
41484
41548
|
type Args$5 = Parameters<Func$6>[0];
|
|
@@ -41566,10 +41630,6 @@ declare const useProductsQueryAll: (variable?: VariableRelatedStyles | undefined
|
|
|
41566
41630
|
|
|
41567
41631
|
declare const useCurrentDevice: () => NameDevices$1;
|
|
41568
41632
|
|
|
41569
|
-
declare const shopifyPriceRounding: (amount: number | string, precision?: number) => string;
|
|
41570
|
-
declare const formatMoney: (cents: string, format: any) => string;
|
|
41571
|
-
declare const useFormatMoney: (amount: number, withCurrency: boolean) => string;
|
|
41572
|
-
|
|
41573
41633
|
declare const useLazyVideo: () => void;
|
|
41574
41634
|
|
|
41575
41635
|
declare const useCartId: () => {
|
|
@@ -41588,6 +41648,12 @@ declare function useCartUI(): {
|
|
|
41588
41648
|
|
|
41589
41649
|
declare const useCollection: () => CollectionSelectFragment | undefined;
|
|
41590
41650
|
|
|
41651
|
+
declare const shopifyPriceRounding: (amount: number | string, precision?: number) => string;
|
|
41652
|
+
declare const formatMoney: (cents: string, format: any) => string;
|
|
41653
|
+
declare const useFormatMoney: (amount: number, withCurrency: boolean) => string;
|
|
41654
|
+
|
|
41655
|
+
declare const useInitialSwatchesOptions: (options?: ProductOption$1[]) => never[] | undefined;
|
|
41656
|
+
|
|
41591
41657
|
declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
|
|
41592
41658
|
|
|
41593
41659
|
type LoadScriptParams = Parameters<typeof loadScript>;
|
|
@@ -41644,68 +41710,6 @@ declare const useMoney: (amount: number) => UseMoneyValue;
|
|
|
41644
41710
|
|
|
41645
41711
|
declare const usePrevious: <T>(value: T) => T | undefined;
|
|
41646
41712
|
|
|
41647
|
-
type ArticlesQueryVariables = Exact$1<{
|
|
41648
|
-
after?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41649
|
-
before?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41650
|
-
first?: InputMaybe$1<Scalars$2['Int']>;
|
|
41651
|
-
last?: InputMaybe$1<Scalars$2['Int']>;
|
|
41652
|
-
orderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
41653
|
-
where?: InputMaybe$1<ArticleWhereInput$1>;
|
|
41654
|
-
}>;
|
|
41655
|
-
type ArticlesQueryResponse = {
|
|
41656
|
-
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
41657
|
-
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
41658
|
-
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
41659
|
-
tags: Array<never>;
|
|
41660
|
-
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41661
|
-
blogs?: Maybe$1<{
|
|
41662
|
-
edges: Array<{
|
|
41663
|
-
node?: Maybe$1<Pick<Blog$1, 'title' | 'handle'>>;
|
|
41664
|
-
}>;
|
|
41665
|
-
}>;
|
|
41666
|
-
media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
|
|
41667
|
-
})>;
|
|
41668
|
-
})>;
|
|
41669
|
-
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
41670
|
-
})>;
|
|
41671
|
-
};
|
|
41672
|
-
|
|
41673
|
-
type BlogsQueryVariables = Exact$1<{
|
|
41674
|
-
after?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41675
|
-
before?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
41676
|
-
first?: InputMaybe$1<Scalars$2['Int']>;
|
|
41677
|
-
last?: InputMaybe$1<Scalars$2['Int']>;
|
|
41678
|
-
orderBy?: InputMaybe$1<BlogOrder$1>;
|
|
41679
|
-
where?: InputMaybe$1<BlogWhereInput$1>;
|
|
41680
|
-
articlesOrderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
41681
|
-
}>;
|
|
41682
|
-
type BlogsQueryResponse = {
|
|
41683
|
-
blogs?: Maybe$1<(Pick<BlogConnection$1, 'totalCount'> & {
|
|
41684
|
-
edges: Array<(Pick<BlogEdge$1, 'cursor'> & {
|
|
41685
|
-
node?: Maybe$1<(Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'> & {
|
|
41686
|
-
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
41687
|
-
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
41688
|
-
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
41689
|
-
tags: Array<never>;
|
|
41690
|
-
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41691
|
-
blogs?: Maybe$1<{
|
|
41692
|
-
edges: Array<{
|
|
41693
|
-
node?: Maybe$1<Pick<Blog$1, 'title' | 'handle'>>;
|
|
41694
|
-
}>;
|
|
41695
|
-
}>;
|
|
41696
|
-
media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
|
|
41697
|
-
})>;
|
|
41698
|
-
})>;
|
|
41699
|
-
})>;
|
|
41700
|
-
})>;
|
|
41701
|
-
})>;
|
|
41702
|
-
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
41703
|
-
})>;
|
|
41704
|
-
};
|
|
41705
|
-
|
|
41706
|
-
declare const useArticlesQuery: (variables: ArticlesQueryVariables | null, options?: SWRConfiguration<ArticlesQueryResponse>) => swr__internal.SWRResponse<ArticlesQueryResponse, any, Partial<swr__internal.PublicConfiguration<ArticlesQueryResponse, any, (arg: ["query/articles", any]) => swr__internal.FetcherResponse<ArticlesQueryResponse>>> | undefined>;
|
|
41707
|
-
declare const useBlogsQuery: (variables: BlogsQueryVariables | null, options?: SWRConfiguration<BlogsQueryResponse>) => swr__internal.SWRResponse<BlogsQueryResponse, any, Partial<swr__internal.PublicConfiguration<BlogsQueryResponse, any, (arg: ["query/blogs", any]) => swr__internal.FetcherResponse<BlogsQueryResponse>>> | undefined>;
|
|
41708
|
-
|
|
41709
41713
|
declare const useUniqProductID: () => string;
|
|
41710
41714
|
declare const useProduct: () => ProductSelectFragment | undefined;
|
|
41711
41715
|
declare const useFeaturedImageGlobal: () => MediaSelectFragment | undefined;
|
|
@@ -41715,6 +41719,10 @@ declare const useProductProperties: () => {
|
|
|
41715
41719
|
required?: boolean | undefined;
|
|
41716
41720
|
}[] | undefined;
|
|
41717
41721
|
declare const useIsSyncProduct: () => boolean | undefined;
|
|
41722
|
+
declare const useProductBundleDiscount: () => {
|
|
41723
|
+
useProductCompareAtPrice: boolean | undefined;
|
|
41724
|
+
seUseProductCompareAtPrice: (value?: boolean | undefined) => void;
|
|
41725
|
+
};
|
|
41718
41726
|
declare const useQuantity: () => {
|
|
41719
41727
|
quantity: number | undefined;
|
|
41720
41728
|
hasUpdatePrice: boolean | undefined;
|
|
@@ -41779,8 +41787,6 @@ declare const useSuspenseFetch: <T>(key: string | any[], promise: () => Promise<
|
|
|
41779
41787
|
|
|
41780
41788
|
declare const useSwatchesOptions: (options?: ProductOption$1[]) => ProductOption$1[];
|
|
41781
41789
|
|
|
41782
|
-
declare const useInitialSwatchesOptions: (options?: ProductOption$1[]) => never[] | undefined;
|
|
41783
|
-
|
|
41784
41790
|
type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name' | 'handle' | 'isMobile' | 'sectionPosition'> & {
|
|
41785
41791
|
pageSections?: Maybe$1<Array<Maybe$1<Pick<PublishedPageSection$1, 'cid' | 'component' | 'id'>>>>;
|
|
41786
41792
|
themePageCustomSections?: Maybe$1<Array<Maybe$1<Pick<PublishedCustomSection$1, 'cid' | 'component' | 'id' | 'type'>>>>;
|
|
@@ -41835,4 +41841,4 @@ declare const useInteraction: () => {
|
|
|
41835
41841
|
}) => void;
|
|
41836
41842
|
};
|
|
41837
41843
|
|
|
41838
|
-
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, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, 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, SettingUIGroup, 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, composeBorderResponsive, 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 };
|
|
41844
|
+
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, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, 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, SettingUIGroup, 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, composeBorderResponsive, 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 };
|