@gem-sdk/core 19.0.0-staging.28 → 19.0.0-staging.32
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/contexts/ProductListContext.js +1 -1
- package/dist/cjs/helpers/queries/get-product.js +1 -1
- package/dist/cjs/hooks/useProductList.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/contexts/ProductListContext.js +1 -1
- package/dist/esm/helpers/queries/get-product.js +1 -1
- package/dist/esm/hooks/useProductList.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/types/index.d.ts +19 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";var
|
|
2
|
+
"use strict";var t=require("react/jsx-runtime"),e=require("react"),r=require("zustand");const o=e.createContext(null),s=t=>r.createStore(()=>({...t}));exports.ProductListContext=o,exports.ProductListProvider=({children:e,collection:r,products:u,settings:i,styles:c})=>t.jsx(o.Provider,{value:s({products:u,collection:r,settings:i,styles:c}),children:e}),exports.useProductListContext=()=>{let t=e.useContext(o);return t},exports.useProductListStore=(t,s)=>{let u=e.useContext(o);if(!u)throw Error("useProductListStore must be used within a useProductListStore");return r.useStore(u,t,s)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../graphql/queries/product-little-detail.generated.js"),t=require("../../graphql/queries/product-medias.generated.js"),r=require("../../graphql/queries/product-variants.generated.js");const a=async(e,{id:t,isSample:r,isStorefront:a})=>{let[s,
|
|
1
|
+
"use strict";var e=require("../../graphql/queries/product-little-detail.generated.js"),t=require("../../graphql/queries/product-medias.generated.js"),r=require("../../graphql/queries/product-variants.generated.js");const a=async(e,{id:t,isSample:r,isStorefront:a})=>{let[s,n,i]=await Promise.all([o(e,{id:t,isSample:r,isStorefront:a}),d(e,{id:t,isSample:r,isStorefront:a}),c(e,{id:t,isSample:r,isStorefront:a})]);if(!s)throw Error("Product not found");return{...s,variants:{edges:n},medias:{edges:i}}},s="latest",n={direction:"DESC",field:"PLATFORM_CREATED_AT"},i={direction:"DESC",field:"CREATED_AT"},o=async(t,{id:r,isSample:a,isStorefront:o})=>{let d=r&&r.toLowerCase()===s,c={orderBy:d?n:i,where:{isSample:a,...o&&{isStorefront:o},...(!r||d)&&{status:"ACTIVE"},...r&&!d&&{baseID:r}}},u=await t([e.ProductLittleDetailDocument.toString(),c]);return u.product?.edges?.[0]?.node},d=async(e,{id:t,isSample:a,isStorefront:o})=>{let d=t&&t.toLowerCase()===s,c={orderBy:d?n:i,where:{isSample:a,...o&&{isStorefront:o},...(!t||d)&&{status:"ACTIVE"},...t&&!d&&{baseID:t}},orderByVariant:{field:"POSITION",direction:"ASC"}},u=async(t,a)=>{try{let s=await e([r.ProductVariantsDocument.toString(),t]),n=s.variants?.edges?.[0],i=a?.concat(n?.node?.variants?.edges??[]);if(n?.node?.variants?.pageInfo?.hasNextPage)return u({...t,afterVariant:n?.node?.variants?.pageInfo.endCursor},i);return i??[]}catch{return a??[]}};return u(c,[])},c=async(e,{id:r,isSample:a,isStorefront:o})=>{let d=r&&r.toLowerCase()===s,c={orderBy:d?n:i,where:{isSample:a,...o&&{isStorefront:o},...(!r||d)&&{status:"ACTIVE"},...r&&!d&&{baseID:r}},orderByMedia:{field:"POSITION",direction:"ASC"}},u=async r=>{try{let a=await e([t.ProductMediasDocument.toString(),r]),s=a.medias?.edges?.[0],n=s?.node?.medias?.edges??[];if(s?.node?.medias?.pageInfo?.hasNextPage)try{let e=await u({...r,afterMedia:s?.node?.medias?.pageInfo.endCursor});return n.concat(e)}catch{}return n}catch{return[]}};return u(c)};exports.fetchMedias=c,exports.fetchVariants=d,exports.getProduct=a;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";var t=require("../contexts/ProductListContext.js");exports.useProductList=()=>
|
|
2
|
+
"use strict";var t=require("react"),e=require("../contexts/ProductListContext.js");exports.useProductList=()=>e.useProductListStore(t=>t.collection),exports.useProductListProducts=()=>e.useProductListStore(t=>t.products),exports.useProductListSettings=()=>e.useProductListStore(t=>t.settings),exports.useProductListStyles=()=>e.useProductListStore(t=>t.styles),exports.useSafeGetProductListSettings=()=>{let s=e.useProductListContext(),r=t.useMemo(()=>s?s.getState().settings:null,[s]);return{settings:r}};
|
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./components/AddOn.js"),t=require("./components/Render.js"),r=require("./components/RenderPreview.js"),o=require("./components/Render.liquid.js"),s=require("./contexts/AddonContext.js"),i=require("./contexts/BuilderComponent.js"),a=require("./contexts/BuilderContext.js"),p=require("./contexts/BuilderPreviewContext.js"),u=require("./contexts/CartLineContext.js"),n=require("./contexts/ProductListContext.js"),l=require("./contexts/ProductContext.js"),c=require("./contexts/SectionContext.js"),d=require("./contexts/ShopContext.js"),x=require("./contexts/PageContext.js"),g=require("./contexts/CollectionContext.js"),S=require("./contexts/ModalContext.js"),h=require("./contexts/ArticleListContext.js"),y=require("./contexts/ArticleContext.js"),m=require("./contexts/I18nContext.js"),C=require("./graphql/queries/collection-detail-filter.generated.js"),q=require("./graphql/queries/collection.generated.js"),P=require("./graphql/queries/collections.generated.js"),v=require("./graphql/queries/published-theme-pages.generated.js"),j=require("./graphql/queries/store-property.generated.js"),b=require("./graphql/queries/preview-page.generated.js"),k=require("./graphql/queries/published-shop-metas.generated.js"),B=require("./graphql/queries/shop-shopify.generated.js"),f=require("./graphql/queries/articles.generated.js"),D=require("./graphql/queries/blogs.generated.js"),T=require("./graphql/queries/products-with-selling-plans.generated.js"),A=require("./graphql/queries/product-variant-with-selling-plans.generated.js"),I=require("./graphql-app-api/queries/LibraryTemplate.generated.js"),R=require("./graphql-app-api/queries/ThemePage.generated.js"),L=require("./graphql-app-api/queries/SaleFunnelDiscounts.generated.js"),G=require("./graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js"),V=require("./graphql-app-api/queries/ShopLibraryPage.generated.js"),F=require("./graphql-app-api/queries/SaleFunnelOffer.generated.js"),O=require("./graphql-app-api/queries/ThemePageMeta.generated.js"),w=require("./helpers/borders.js"),M=require("./helpers/carousel.js"),E=require("./helpers/cls.js"),z=require("./helpers/animations.js"),W=require("./helpers/filter-toolbar-preview.js"),H=require("./helpers/flatten-connection.js"),Q=require("./helpers/get-resonsive-value.js"),U=require("./helpers/get-shortname.js"),K=require("./helpers/GlobalEvent.js"),N=require("./helpers/is-browser.js"),_=require("./helpers/is-empty-children.js"),Y=require("./helpers/is-safari.js"),J=require("./helpers/normalize-builder-data.js"),Z=require("./helpers/prefetch-queries.js"),X=require("./helpers/email.js"),$=require("./helpers/load-script.js"),ee=require("./helpers/spacing.js"),et=require("./helpers/css-variable.js"),er=require("./helpers/tracking/fpixel.js"),eo=require("./helpers/tracking/gtag.js"),es=require("./helpers/tracking/tiktokpixel.js"),ei=require("./helpers/background.js"),ea=require("./helpers/backgroundImage.js"),ep=require("./helpers/colors.js"),eu=require("./helpers/compose-advance-style.js"),en=require("./helpers/composeClasses.js"),el=require("./helpers/convert.js"),ec=require("./helpers/covert-entities-html.js"),ed=require("./helpers/icon-list.js"),ex=require("./helpers/is-defined.js"),eg=require("./helpers/layout.js"),eS=require("./helpers/make-style.js"),eh=require("./helpers/align.js"),ey=require("./helpers/filter-styles.js"),em=require("./helpers/clone-deep.js"),eC=require("./helpers/liquid.js"),eq=require("./helpers/variant.js"),eP=require("./helpers/createTranslateKey.js"),ev=require("./helpers/getHashCode.js"),ej=require("./helpers/product.js"),eb=require("./helpers/query.js"),ek=require("./helpers/radius.js"),eB=require("./helpers/render.js"),ef=require("./helpers/shadow.js"),eD=require("./helpers/size.js"),eT=require("./helpers/typography.js"),eA=require("./hooks/articles/useArticlesQuery.js"),eI=require("./hooks/cart/use-add-to-cart.js"),eR=require("./hooks/cart/use-cart-data.js"),eL=require("./hooks/cart/use-cart-discount-codes-update.js"),eG=require("./hooks/cart/use-cart-note-update.js"),eV=require("./hooks/cart/use-create-cart.js"),eF=require("./hooks/cart/use-remove-cart-item.js"),eO=require("./hooks/cart/use-update-cart-item.js"),ew=require("./hooks/shop.js"),eM=require("./hooks/shop/use-collection-query.js"),eE=require("./hooks/shop/use-collections-query.js"),ez=require("./hooks/shop/use-product-query.js"),eW=require("./hooks/shop/useProductOffersQuery.js"),eH=require("./hooks/useFetchHandle.js"),eQ=require("./hooks/shop/use-products-query.js"),eU=require("./hooks/use-current-device.js"),eK=require("./hooks/use-lazy-video.js"),eN=require("./hooks/useCartId.js"),e_=require("./hooks/useCartLine.js"),eY=require("./hooks/useCartUI.js"),eJ=require("./hooks/useCollection.js"),eZ=require("./hooks/useFormatMoney.js"),eX=require("react"),e$=require("./hooks/useInitialSwatchesOptions.js"),e0=require("./hooks/useIsomorphicLayoutEffect.js"),e1=require("./hooks/useLoadScript.js"),e2=require("./hooks/useMoney.js"),e8=require("./hooks/usePrevious.js"),e3=require("./hooks/useI18n.js"),e4=require("./hooks/useStickyStore.js"),e5=require("./hooks/useProduct.js"),e6=require("./hooks/shop/useShopifyLink.js"),e7=require("./hooks/useProductList.js"),e9=require("./hooks/useSuspenseFetch.js"),te=require("./hooks/useSwatchesOptions.js"),tt=require("./hooks/useRenderMode.js"),tr=require("./hooks/usePreviewSharePage.js"),to=require("./types/builder.js"),ts=require("./types/custom.js"),ti=require("./types/shop.js"),ta=require("./types/appAPI.js"),tp=require("./types/global-style.js"),tu=require("./types/animations.js"),tn=require("./helpers/queries/get-collection.js"),tl=require("./helpers/queries/get-product.js"),tc=require("./helpers/queries/get-product-by-slug.js"),td=require("./helpers/third-party/getAppBlocks.js"),tx=require("./helpers/third-party/addAppBlockId.js"),tg=require("./helpers/interaction/index.js"),tS=require("./helpers/create-store-front-fetcher.js"),th=require("./constants/index.js"),ty=require("./constants/device.js");exports.AddOn=e.default,exports.Render=t.default,exports.RenderPreview=r.default,exports.RenderChildren=o.RenderChildren,exports.RenderLiquid=o.default,exports.WrapRenderChildren=o.WrapRenderChildren,exports.AddonProvider=s.AddonProvider,exports.useAddon=s.useAddon,exports.useAddons=s.useAddons,exports.BuilderComponentProvider=i.BuilderComponentProvider,exports.useBuilderComponent=i.useBuilderComponent,exports.BuilderProvider=a.BuilderProvider,exports.useBuilderStore=a.useBuilderStore,exports.BuilderPreviewProvider=p.BuilderPreviewProvider,exports.useBuilderPreviewStore=p.useBuilderPreviewStore,exports.CartLineProvider=u.CartLineProvider,exports.useCartLineStore=u.useCartLineStore,exports.ProductListProvider=n.ProductListProvider,exports.useProductListStore=n.useProductListStore,exports.ProductProvider=l.ProductProvider,exports.useProductStore=l.useProductStore,exports.SectionProvider=c.SectionProvider,exports.useSection=c.useSection,exports.useSectionStore=c.useSectionStore,exports.ShopProvider=d.ShopProvider,exports.useShopStore=d.useShopStore,exports.PageProvider=x.PageProvider,exports.usePageStore=x.usePageStore,exports.CollectionProvider=g.CollectionProvider,exports.useCollectionStore=g.useCollectionStore,exports.ModalProvider=S.ModalProvider,exports.useModalStore=S.useModalStore,exports.ArticleListProvider=h.ArticleListProvider,exports.useArticleListStore=h.useArticleListStore,exports.ArticleProvider=y.ArticleProvider,exports.useArticleStore=y.useArticleStore,exports.I18nProvider=m.I18nProvider,exports.useI18nStore=m.useI18nStore,exports.CollectionDetailFilterDocument=C.CollectionDetailFilterDocument,exports.CollectionDocument=q.CollectionDocument,exports.CollectionsDocument=P.CollectionsDocument,exports.PublishedThemePagesDocument=v.PublishedThemePagesDocument,exports.StorePropertyDocument=j.StorePropertyDocument,exports.PreviewThemePageDocument=b.PreviewThemePageDocument,exports.PublishedShopMetasDocument=k.PublishedShopMetasDocument,exports.ShopShopifyDocument=B.ShopShopifyDocument,exports.ArticlesDocument=f.ArticlesDocument,exports.BlogsDocument=D.BlogsDocument,exports.ProductWithSellingPlansSelectFragment=T.ProductWithSellingPlansSelectFragment,exports.ProductsWithSellingPlansDocument=T.ProductsWithSellingPlansDocument,exports.ProductVariantsWithSellingPlansDocument=A.ProductVariantsWithSellingPlansDocument,exports.LibraryTemplateDocument=I.LibraryTemplateDocument,exports.ThemePageDocument=R.ThemePageDocument,exports.SaleFunnelDiscountsDocument=L.SaleFunnelDiscountsDocument,exports.LibrarySaleFunnelDocument=G.LibrarySaleFunnelDocument,exports.ShopLibraryPageDocument=V.ShopLibraryPageDocument,exports.SaleFunnelOfferDocument=F.SaleFunnelOfferDocument,exports.ThemePageMetaDocument=O.ThemePageMetaDocument,exports.composeBorderCss=w.composeBorderCss,exports.composeBorderResponsive=w.composeBorderResponsive,exports.getBorderRadiusStyle=w.getBorderRadiusStyle,exports.getBorderStyle=w.getBorderStyle,exports.handleConvertBorderColor=w.handleConvertBorderColor,exports.handleConvertBorderStyle=w.handleConvertBorderStyle,exports.handleConvertBorderWidth=w.handleConvertBorderWidth,exports.handleConvertClassColor=w.handleConvertClassColor,exports.handleConvertClassColorDynamicBtn=w.handleConvertClassColorDynamicBtn,exports.handleConvertInputBorderColor=w.handleConvertInputBorderColor,exports.getCarouselContainerHeight=M.getCarouselContainerHeight,exports.makeContainerWidthOrHeight=M.makeContainerWidthOrHeight,exports.makeDotGapToCarouselStyle=M.makeDotGapToCarouselStyle,exports.cls=E.cls,exports.animations=z.animations,exports.filterToolbarPreview=W.default,exports.flattenConnection=H.flattenConnection,exports.getResponsiveStateValue=Q.getResponsiveStateValue,exports.getResponsiveValue=Q.getResponsiveValue,exports.getResponsiveValueByScreen=Q.getResponsiveValueByScreen,exports.isColumnDirectionExist=Q.isColumnDirectionExist,exports.getShortName=U.getShortName,exports.globalEvent=K.default,exports.isBrowser=N.default,exports.isEmptyChildren=_.default,exports.isSafari=Y.default,exports.normalizeBuilderData=J.normalizeBuilderData,exports.prefetchQueries=Z.prefetchQueries,exports.validateEmail=X.validateEmail,exports.loadScript=$.loadScript,exports.composeSpacing=ee.composeSpacing,exports.getSpacingVariable=ee.getSpacingVariable,exports.genVariable=et.genVariable,exports.fpixel=er,exports.gtag=eo,exports.tiktokpixel=es,exports.GRADIENT_BGR_KEY=ei.GRADIENT_BGR_KEY,exports.composeBackgroundCss=ei.composeBackgroundCss,exports.getBgByDevice=ei.getBgByDevice,exports.getBgImageByDevice=ei.getBgImageByDevice,exports.getBgVideoByDevice=ei.getBgVideoByDevice,exports.getColor=ei.getColor,exports.getCombinedBackgroundImage=ei.getCombinedBackgroundImage,exports.getGradientBgrStyleByDevice=ei.getGradientBgrStyleByDevice,exports.getGradientBgrStyleForButton=ei.getGradientBgrStyleForButton,exports.getGradientImageBgrStyleByDevice=ei.getGradientImageBgrStyleByDevice,exports.getStyleBackgroundByDevice=ei.getStyleBackgroundByDevice,exports.getStyleBgColor=ei.getStyleBgColor,exports.makeFixedBgAttachment=ei.makeFixedBgAttachment,exports.composeBackgroundImageCss=ea.composeBackgroundImageCss,exports.getBgImageSourceByDevice=ea.getBgImageSourceByDevice,exports.getStyleBackgroundImage=ea.getStyleBackgroundImage,exports.getStyleBgImageSource=ea.getStyleBgImageSource,exports.composeTextColorCss=ep.composeTextColorCss,exports.getGlobalColorCSSProp=ep.getGlobalColorCSSProp,exports.getGlobalColorClass=ep.getGlobalColorClass,exports.getGlobalColorResponsiveClass=ep.getGlobalColorResponsiveClass,exports.getGlobalColorResponsiveStyle=ep.getGlobalColorResponsiveStyle,exports.getGlobalColorStateClass=ep.getGlobalColorStateClass,exports.getGlobalColorStateClassDynamicBtn=ep.getGlobalColorStateClassDynamicBtn,exports.getGlobalColorStateResponsiveClass=ep.getGlobalColorStateResponsiveClass,exports.getGlobalColorStateResponsiveClassDynamicBtn=ep.getGlobalColorStateResponsiveClassDynamicBtn,exports.getGlobalColorStateResponsiveStyle=ep.getGlobalColorStateResponsiveStyle,exports.getGlobalColorStateStyle=ep.getGlobalColorStateStyle,exports.getGlobalColorStyle=ep.getGlobalColorStyle,exports.getSingleColorVariable=ep.getSingleColorVariable,exports.isColor=ep.isColor,exports.composeAdvanceStyle=eu.composeAdvanceStyle,exports.composeAdvanceStyleForPostPurchase=eu.composeAdvanceStyleForPostPurchase,exports.convertBoxShadowV1ToV2=eu.convertBoxShadowV1ToV2,exports.filterAttrInStyle=eu.filterAttrInStyle,exports.getCornerStyle=eu.getCornerStyle,exports.removeAttrInStyle=eu.removeAttrInStyle,exports.removePaddingYInStyle=eu.removePaddingYInStyle,exports.splitStyle=eu.splitStyle,exports.composeClasses=en.composeClasses,exports.baseAssetURL=el.baseAssetURL,exports.isLocalEnv=el.isLocalEnv,exports.convertHTML=ec.convertHTML,exports.composePositionLineHeight=ed.composePositionLineHeight,exports.composePostionIconList=ed.composePostionIconList,exports.isDefined=ex.isDefined,exports.composeGridLayout=eg.composeGridLayout,exports.convertOldLayout=eg.convertOldLayout,exports.getLayoutClasses=eg.getLayoutClasses,exports.gridToArrayRegex=eg.gridToArrayRegex,exports.optionLayoutStyle=eg.optionLayoutStyle,exports.makeAspectRatio=eS.makeAspectRatio,exports.makeGlobalSizeHeightResponsive=eS.makeGlobalSizeHeightResponsive,exports.makeGlobalSizeWidthResponsive=eS.makeGlobalSizeWidthResponsive,exports.makeHeight=eS.makeHeight,exports.makeLineClamp=eS.makeLineClamp,exports.makeStyle=eS.makeStyle,exports.makeStyleKey=eS.makeStyleKey,exports.makeStyleResponsive=eS.makeStyleResponsive,exports.makeStyleResponsiveByScreen=eS.makeStyleResponsiveByScreen,exports.makeStyleResponsiveState=eS.makeStyleResponsiveState,exports.makeStyleResponsiveWidth=eS.makeStyleResponsiveWidth,exports.makeStyleResponsiveWidthWithoutAuto=eS.makeStyleResponsiveWidthWithoutAuto,exports.makeStyleState=eS.makeStyleState,exports.makeWidth=eS.makeWidth,exports.removeNullUndefined=eS.removeNullUndefined,exports.convertTextAlignToJustify=eh.convertTextAlignToJustify,exports.getAlignmentClasses=eh.getAlignmentClasses,exports.filterHoverVariables=ey.filterHoverVariables,exports.filterTruthyStyles=ey.filterTruthyStyles,exports.cloneDeep=em.cloneDeep,exports.hasTranslatedLiquid=eC.hasTranslatedLiquid,exports.checkInStock=eq.checkInStock,exports.checkHasChangeContent=eP.checkHasChangeContent,exports.createTranslateKey=eP.createTranslateKey,exports.extractOuterTagContent=eP.extractOuterTagContent,exports.getThemeSectionTranslateKey=eP.getThemeSectionTranslateKey,exports.getValueSettingFromSchema=eP.getValueSettingFromSchema,exports.replaceOuterTagContent=eP.replaceOuterTagContent,exports.getHashCode=ev.getHashCode,exports.checkAvailableVariantInStock=ej.checkAvailableVariantInStock,exports.getSelectedVariant=ej.getSelectedVariant,exports.parseSelectedOption=ej.parseSelectedOption,exports.generateCollectionQueryKey=eb.generateCollectionQueryKey,exports.generateProductQueryKey=eb.generateProductQueryKey,exports.generateProductsQueryKey=eb.generateProductsQueryKey,exports.composeCornerCss=ek.composeCornerCss,exports.composeRadius=ek.composeRadius,exports.composeRadiusResponsive=ek.composeRadiusResponsive,exports.getCornerCSSFromGlobal=ek.getCornerCSSFromGlobal,exports.getCustomRadius=ek.getCustomRadius,exports.getRadiusCSSFromGlobal=ek.getRadiusCSSFromGlobal,exports.getRadiusStyleActiveState=ek.getRadiusStyleActiveState,exports.RenderIf=eB.RenderIf,exports.composeMemo=eB.composeMemo,exports.dataStringify=eB.dataStringify,exports.props=eB.props,exports.removeUndefinedValuesFromObject=eB.removeUndefinedValuesFromObject,exports.sanitizeLiquid=eB.sanitizeLiquid,exports.styles=eB.styles,exports.template=eB.template,exports.composeShadow=ef.composeShadow,exports.composeShadowCss=ef.composeShadowCss,exports.getResponsiveStyleShadow=ef.getResponsiveStyleShadow,exports.getResponsiveStyleShadowWithoutState=ef.getResponsiveStyleShadowWithoutState,exports.getStyleShadow=ef.getStyleShadow,exports.getStyleShadowState=ef.getStyleShadowState,exports.parseValueWithUnit=ef.parseValueWithUnit,exports.composeSize=eD.composeSize,exports.composeSizeCss=eD.composeSizeCss,exports.genSizeClass=eD.genSizeClass,exports.getAspectRatioGlobalSize=eD.getAspectRatioGlobalSize,exports.getFlexGrowClassByShapeGlobalSize=eD.getFlexGrowClassByShapeGlobalSize,exports.getGlobalSizeGap=eD.getGlobalSizeGap,exports.getHeightByShapeGlobalSize=eD.getHeightByShapeGlobalSize,exports.getPaddingGlobalSize=eD.getPaddingGlobalSize,exports.getPaddingStyleByDevice=eD.getPaddingStyleByDevice,exports.getResponsiveStylePadding=eD.getResponsiveStylePadding,exports.getValueByDevice=eD.getValueByDevice,exports.getWidthByShapeGlobalSize=eD.getWidthByShapeGlobalSize,exports.getWidthHeightGlobalSize=eD.getWidthHeightGlobalSize,exports.makeGlobalSize=eD.makeGlobalSize,exports.makeGlobalSizeIcon=eD.makeGlobalSizeIcon,exports.makeStyleWithDefault=eD.makeStyleWithDefault,exports.composeFallbackTypographyStyle=eT.composeFallbackTypographyStyle,exports.composeFontFamilyTypographyV2=eT.composeFontFamilyTypographyV2,exports.composeTextHoverColorCss=eT.composeTextHoverColorCss,exports.composeTypography=eT.composeTypography,exports.composeTypographyAttr=eT.composeTypographyAttr,exports.composeTypographyClassName=eT.composeTypographyClassName,exports.composeTypographyCss=eT.composeTypographyCss,exports.composeTypographyStyle=eT.composeTypographyStyle,exports.composeTypographyV2=eT.composeTypographyV2,exports.composeTypographyV2Css=eT.composeTypographyV2Css,exports.genTypoClass=eT.genTypoClass,exports.useArticlesQuery=eA.useArticlesQuery,exports.useBlogsQuery=eA.useBlogsQuery,exports.useAddToCart=eI.useAddToCart,exports.useCartData=eR.useCartData,exports.useCartDiscountCodesUpdate=eL.useCartDiscountCodesUpdate,exports.useCartNoteUpdate=eG.useCartNoteUpdate,exports.useCreateCart=eV.useCreateCart,exports.useRemoveCartItem=eF.useRemoveCartItem,exports.useUpdateCartItem=eO.useUpdateCartItem,exports.useCheckoutUrl=ew.useCheckoutUrl,exports.useConnectedShopify=ew.useConnectedShopify,exports.useCurrency=ew.useCurrency,exports.useEditorMode=ew.useEditorMode,exports.useIsSampleProduct=ew.useIsSampleProduct,exports.useIsStorefrontProduct=ew.useIsStorefrontProduct,exports.useLocale=ew.useLocale,exports.useMatchMutate=ew.useMatchMutate,exports.useMobileOnly=ew.useMobileOnly,exports.useMoneyFormat=ew.useMoneyFormat,exports.usePageType=ew.usePageType,exports.usePluginEnable=ew.usePluginEnable,exports.useStoreFront=ew.useStoreFront,exports.useSwatches=ew.useSwatches,exports.useTimezone=ew.useTimezone,exports.useCollectionQuery=eM.useCollectionQuery,exports.useCollectionsQuery=eE.useCollectionsQuery,exports.useProductQuery=ez.useProductQuery,exports.useProductOffersQuery=eW.useProductOffersQuery,exports.useFetchHandle=eH.useFetchHandle,exports.useProductsQuery=eQ.useProductsQuery,exports.useProductsQueryAll=eQ.useProductsQueryAll,exports.useCurrentDevice=eU.useCurrentDevice,exports.useLazyVideo=eK.useLazyVideo,exports.useCartId=eN.default,exports.useCartLine=e_.default,exports.useCartUI=eY.default,exports.useCollection=eJ.useCollection,exports.convertDecimalToNumber=eZ.convertDecimalToNumber,exports.formatMoney=eZ.formatMoney,exports.shopifyPriceRounding=eZ.shopifyPriceRounding,exports.useFormatMoney=eZ.useFormatMoney,Object.defineProperty(exports,"useId",{enumerable:!0,get:function(){return eX.useId}}),exports.useInitialSwatchesOptions=e$.default,exports.useIsomorphicLayoutEffect=e0.default,exports.useLoadScript=e1.default,exports.useMoney=e2.default,exports.usePrevious=e8.usePrevious,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e3.tGlobal}}),exports.useI18n=e3.useI18n,exports.useStickyStore=e4.useStickyStore,exports.useCheckAvailableVariantInStock=e5.useCheckAvailableVariantInStock,exports.useCurrentVariant=e5.useCurrentVariant,exports.useCurrentVariantInStock=e5.useCurrentVariantInStock,exports.useFeaturedImageGlobal=e5.useFeaturedImageGlobal,exports.useHasPreSelected=e5.useHasPreSelected,exports.useIsSyncProduct=e5.useIsSyncProduct,exports.useProduct=e5.useProduct,exports.useProductBundleDiscount=e5.useProductBundleDiscount,exports.useProductOfferDiscount=e5.useProductOfferDiscount,exports.useProductProperties=e5.useProductProperties,exports.useProductShopifyEditLink=e5.useProductShopifyEditLink,exports.useQuantity=e5.useQuantity,exports.useSelectedOption=e5.useSelectedOption,exports.useUniqProductID=e5.useUniqProductID,exports.useVariant=e5.useVariant,exports.useVariantOutStock=e5.useVariantOutStock,exports.useVariants=e5.useVariants,exports.useShopifyLink=e6.useShopifyLink,exports.useProductList=e7.useProductList,exports.useProductListProducts=e7.useProductListProducts,exports.useProductListSettings=e7.useProductListSettings,exports.useProductListStyles=e7.useProductListStyles,exports.useSuspenseFetch=e9.default,exports.useSwatchesOptions=te.default,exports.useRenderMode=tt.useRenderMode,exports.usePreviewSharePage=tr.usePreviewSharePage,Object.defineProperty(exports,"RenderModeEnv",{enumerable:!0,get:function(){return to.RenderModeEnv}}),Object.defineProperty(exports,"InteractionTargetEvent",{enumerable:!0,get:function(){return ts.InteractionTargetEvent}}),Object.defineProperty(exports,"InteractionTriggerEvent",{enumerable:!0,get:function(){return ts.InteractionTriggerEvent}}),Object.defineProperty(exports,"SectionMode",{enumerable:!0,get:function(){return ts.SectionMode}}),exports.ShopType=ti,exports.AppAPIType=ta,exports.OptionNormalStyle=tp.OptionNormalStyle,exports.OptionSpecialStyle=tp.OptionSpecialStyle,Object.defineProperty(exports,"AnimationDirectionType",{enumerable:!0,get:function(){return tu.AnimationDirectionType}}),Object.defineProperty(exports,"AnimationEasingType",{enumerable:!0,get:function(){return tu.AnimationEasingType}}),Object.defineProperty(exports,"AnimationSetting",{enumerable:!0,get:function(){return tu.AnimationSetting}}),Object.defineProperty(exports,"AnimationTriggerType",{enumerable:!0,get:function(){return tu.AnimationTriggerType}}),Object.defineProperty(exports,"AnimationType",{enumerable:!0,get:function(){return tu.AnimationType}}),Object.defineProperty(exports,"AnimationZoomDirectionType",{enumerable:!0,get:function(){return tu.AnimationZoomDirectionType}}),exports.calculateFirstProduct=tn.calculateFirstProduct,exports.getCollection=tn.getCollection,exports.fetchMedias=tl.fetchMedias,exports.fetchVariants=tl.fetchVariants,exports.getProduct=tl.getProduct,exports.getProductBySlug=tc.getProductBySlug,exports.getAppBlocks=td.getAppBlocks,exports.addAppBlockId=tx.addAppBlockId,exports.useInteraction=tg.useInteraction,exports.createStoreFrontFetcher=tS.createStoreFrontFetcher,exports.hasPublicStoreFrontData=tS.hasPublicStoreFrontData,exports.BLACKLIST_TAGS=th.BLACKLIST_TAGS,exports.DEVICES=ty.DEVICES,exports.EMPTY_DEVICE_VALUE=ty.EMPTY_DEVICE_VALUE;
|
|
1
|
+
"use strict";var e=require("./components/AddOn.js"),t=require("./components/Render.js"),r=require("./components/RenderPreview.js"),o=require("./components/Render.liquid.js"),s=require("./contexts/AddonContext.js"),i=require("./contexts/BuilderComponent.js"),a=require("./contexts/BuilderContext.js"),p=require("./contexts/BuilderPreviewContext.js"),u=require("./contexts/CartLineContext.js"),n=require("./contexts/ProductListContext.js"),l=require("./contexts/ProductContext.js"),c=require("./contexts/SectionContext.js"),d=require("./contexts/ShopContext.js"),x=require("./contexts/PageContext.js"),g=require("./contexts/CollectionContext.js"),S=require("./contexts/ModalContext.js"),h=require("./contexts/ArticleListContext.js"),y=require("./contexts/ArticleContext.js"),m=require("./contexts/I18nContext.js"),C=require("./graphql/queries/collection-detail-filter.generated.js"),q=require("./graphql/queries/collection.generated.js"),P=require("./graphql/queries/collections.generated.js"),v=require("./graphql/queries/published-theme-pages.generated.js"),j=require("./graphql/queries/store-property.generated.js"),b=require("./graphql/queries/preview-page.generated.js"),k=require("./graphql/queries/published-shop-metas.generated.js"),f=require("./graphql/queries/shop-shopify.generated.js"),B=require("./graphql/queries/articles.generated.js"),D=require("./graphql/queries/blogs.generated.js"),T=require("./graphql/queries/products-with-selling-plans.generated.js"),A=require("./graphql/queries/product-variant-with-selling-plans.generated.js"),I=require("./graphql-app-api/queries/LibraryTemplate.generated.js"),R=require("./graphql-app-api/queries/ThemePage.generated.js"),L=require("./graphql-app-api/queries/SaleFunnelDiscounts.generated.js"),G=require("./graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js"),V=require("./graphql-app-api/queries/ShopLibraryPage.generated.js"),F=require("./graphql-app-api/queries/SaleFunnelOffer.generated.js"),O=require("./graphql-app-api/queries/ThemePageMeta.generated.js"),w=require("./helpers/borders.js"),M=require("./helpers/carousel.js"),E=require("./helpers/cls.js"),z=require("./helpers/animations.js"),W=require("./helpers/filter-toolbar-preview.js"),H=require("./helpers/flatten-connection.js"),Q=require("./helpers/get-resonsive-value.js"),U=require("./helpers/get-shortname.js"),K=require("./helpers/GlobalEvent.js"),N=require("./helpers/is-browser.js"),_=require("./helpers/is-empty-children.js"),Y=require("./helpers/is-safari.js"),J=require("./helpers/normalize-builder-data.js"),Z=require("./helpers/prefetch-queries.js"),X=require("./helpers/email.js"),$=require("./helpers/load-script.js"),ee=require("./helpers/spacing.js"),et=require("./helpers/css-variable.js"),er=require("./helpers/tracking/fpixel.js"),eo=require("./helpers/tracking/gtag.js"),es=require("./helpers/tracking/tiktokpixel.js"),ei=require("./helpers/background.js"),ea=require("./helpers/backgroundImage.js"),ep=require("./helpers/colors.js"),eu=require("./helpers/compose-advance-style.js"),en=require("./helpers/composeClasses.js"),el=require("./helpers/convert.js"),ec=require("./helpers/covert-entities-html.js"),ed=require("./helpers/icon-list.js"),ex=require("./helpers/is-defined.js"),eg=require("./helpers/layout.js"),eS=require("./helpers/make-style.js"),eh=require("./helpers/align.js"),ey=require("./helpers/filter-styles.js"),em=require("./helpers/clone-deep.js"),eC=require("./helpers/liquid.js"),eq=require("./helpers/variant.js"),eP=require("./helpers/createTranslateKey.js"),ev=require("./helpers/getHashCode.js"),ej=require("./helpers/product.js"),eb=require("./helpers/query.js"),ek=require("./helpers/radius.js"),ef=require("./helpers/render.js"),eB=require("./helpers/shadow.js"),eD=require("./helpers/size.js"),eT=require("./helpers/typography.js"),eA=require("./hooks/articles/useArticlesQuery.js"),eI=require("./hooks/cart/use-add-to-cart.js"),eR=require("./hooks/cart/use-cart-data.js"),eL=require("./hooks/cart/use-cart-discount-codes-update.js"),eG=require("./hooks/cart/use-cart-note-update.js"),eV=require("./hooks/cart/use-create-cart.js"),eF=require("./hooks/cart/use-remove-cart-item.js"),eO=require("./hooks/cart/use-update-cart-item.js"),ew=require("./hooks/shop.js"),eM=require("./hooks/shop/use-collection-query.js"),eE=require("./hooks/shop/use-collections-query.js"),ez=require("./hooks/shop/use-product-query.js"),eW=require("./hooks/shop/useProductOffersQuery.js"),eH=require("./hooks/useFetchHandle.js"),eQ=require("./hooks/shop/use-products-query.js"),eU=require("./hooks/use-current-device.js"),eK=require("./hooks/use-lazy-video.js"),eN=require("./hooks/useCartId.js"),e_=require("./hooks/useCartLine.js"),eY=require("./hooks/useCartUI.js"),eJ=require("./hooks/useCollection.js"),eZ=require("./hooks/useFormatMoney.js"),eX=require("react"),e$=require("./hooks/useInitialSwatchesOptions.js"),e0=require("./hooks/useIsomorphicLayoutEffect.js"),e1=require("./hooks/useLoadScript.js"),e2=require("./hooks/useMoney.js"),e8=require("./hooks/usePrevious.js"),e3=require("./hooks/useI18n.js"),e4=require("./hooks/useStickyStore.js"),e5=require("./hooks/useProduct.js"),e6=require("./hooks/shop/useShopifyLink.js"),e7=require("./hooks/useProductList.js"),e9=require("./hooks/useSuspenseFetch.js"),te=require("./hooks/useSwatchesOptions.js"),tt=require("./hooks/useRenderMode.js"),tr=require("./hooks/usePreviewSharePage.js"),to=require("./types/builder.js"),ts=require("./types/custom.js"),ti=require("./types/shop.js"),ta=require("./types/appAPI.js"),tp=require("./types/global-style.js"),tu=require("./types/animations.js"),tn=require("./helpers/queries/get-collection.js"),tl=require("./helpers/queries/get-product.js"),tc=require("./helpers/queries/get-product-by-slug.js"),td=require("./helpers/third-party/getAppBlocks.js"),tx=require("./helpers/third-party/addAppBlockId.js"),tg=require("./helpers/interaction/index.js"),tS=require("./helpers/create-store-front-fetcher.js"),th=require("./constants/index.js"),ty=require("./constants/device.js");exports.AddOn=e.default,exports.Render=t.default,exports.RenderPreview=r.default,exports.RenderChildren=o.RenderChildren,exports.RenderLiquid=o.default,exports.WrapRenderChildren=o.WrapRenderChildren,exports.AddonProvider=s.AddonProvider,exports.useAddon=s.useAddon,exports.useAddons=s.useAddons,exports.BuilderComponentProvider=i.BuilderComponentProvider,exports.useBuilderComponent=i.useBuilderComponent,exports.BuilderProvider=a.BuilderProvider,exports.useBuilderStore=a.useBuilderStore,exports.BuilderPreviewProvider=p.BuilderPreviewProvider,exports.useBuilderPreviewStore=p.useBuilderPreviewStore,exports.CartLineProvider=u.CartLineProvider,exports.useCartLineStore=u.useCartLineStore,exports.ProductListProvider=n.ProductListProvider,exports.useProductListStore=n.useProductListStore,exports.ProductProvider=l.ProductProvider,exports.useProductStore=l.useProductStore,exports.SectionProvider=c.SectionProvider,exports.useSection=c.useSection,exports.useSectionStore=c.useSectionStore,exports.ShopProvider=d.ShopProvider,exports.useShopStore=d.useShopStore,exports.PageProvider=x.PageProvider,exports.usePageStore=x.usePageStore,exports.CollectionProvider=g.CollectionProvider,exports.useCollectionStore=g.useCollectionStore,exports.ModalProvider=S.ModalProvider,exports.useModalStore=S.useModalStore,exports.ArticleListProvider=h.ArticleListProvider,exports.useArticleListStore=h.useArticleListStore,exports.ArticleProvider=y.ArticleProvider,exports.useArticleStore=y.useArticleStore,exports.I18nProvider=m.I18nProvider,exports.useI18nStore=m.useI18nStore,exports.CollectionDetailFilterDocument=C.CollectionDetailFilterDocument,exports.CollectionDocument=q.CollectionDocument,exports.CollectionsDocument=P.CollectionsDocument,exports.PublishedThemePagesDocument=v.PublishedThemePagesDocument,exports.StorePropertyDocument=j.StorePropertyDocument,exports.PreviewThemePageDocument=b.PreviewThemePageDocument,exports.PublishedShopMetasDocument=k.PublishedShopMetasDocument,exports.ShopShopifyDocument=f.ShopShopifyDocument,exports.ArticlesDocument=B.ArticlesDocument,exports.BlogsDocument=D.BlogsDocument,exports.ProductWithSellingPlansSelectFragment=T.ProductWithSellingPlansSelectFragment,exports.ProductsWithSellingPlansDocument=T.ProductsWithSellingPlansDocument,exports.ProductVariantsWithSellingPlansDocument=A.ProductVariantsWithSellingPlansDocument,exports.LibraryTemplateDocument=I.LibraryTemplateDocument,exports.ThemePageDocument=R.ThemePageDocument,exports.SaleFunnelDiscountsDocument=L.SaleFunnelDiscountsDocument,exports.LibrarySaleFunnelDocument=G.LibrarySaleFunnelDocument,exports.ShopLibraryPageDocument=V.ShopLibraryPageDocument,exports.SaleFunnelOfferDocument=F.SaleFunnelOfferDocument,exports.ThemePageMetaDocument=O.ThemePageMetaDocument,exports.composeBorderCss=w.composeBorderCss,exports.composeBorderResponsive=w.composeBorderResponsive,exports.getBorderRadiusStyle=w.getBorderRadiusStyle,exports.getBorderStyle=w.getBorderStyle,exports.handleConvertBorderColor=w.handleConvertBorderColor,exports.handleConvertBorderStyle=w.handleConvertBorderStyle,exports.handleConvertBorderWidth=w.handleConvertBorderWidth,exports.handleConvertClassColor=w.handleConvertClassColor,exports.handleConvertClassColorDynamicBtn=w.handleConvertClassColorDynamicBtn,exports.handleConvertInputBorderColor=w.handleConvertInputBorderColor,exports.getCarouselContainerHeight=M.getCarouselContainerHeight,exports.makeContainerWidthOrHeight=M.makeContainerWidthOrHeight,exports.makeDotGapToCarouselStyle=M.makeDotGapToCarouselStyle,exports.cls=E.cls,exports.animations=z.animations,exports.filterToolbarPreview=W.default,exports.flattenConnection=H.flattenConnection,exports.getResponsiveStateValue=Q.getResponsiveStateValue,exports.getResponsiveValue=Q.getResponsiveValue,exports.getResponsiveValueByScreen=Q.getResponsiveValueByScreen,exports.isColumnDirectionExist=Q.isColumnDirectionExist,exports.getShortName=U.getShortName,exports.globalEvent=K.default,exports.isBrowser=N.default,exports.isEmptyChildren=_.default,exports.isSafari=Y.default,exports.normalizeBuilderData=J.normalizeBuilderData,exports.prefetchQueries=Z.prefetchQueries,exports.validateEmail=X.validateEmail,exports.loadScript=$.loadScript,exports.composeSpacing=ee.composeSpacing,exports.getSpacingVariable=ee.getSpacingVariable,exports.genVariable=et.genVariable,exports.fpixel=er,exports.gtag=eo,exports.tiktokpixel=es,exports.GRADIENT_BGR_KEY=ei.GRADIENT_BGR_KEY,exports.composeBackgroundCss=ei.composeBackgroundCss,exports.getBgByDevice=ei.getBgByDevice,exports.getBgImageByDevice=ei.getBgImageByDevice,exports.getBgVideoByDevice=ei.getBgVideoByDevice,exports.getColor=ei.getColor,exports.getCombinedBackgroundImage=ei.getCombinedBackgroundImage,exports.getGradientBgrStyleByDevice=ei.getGradientBgrStyleByDevice,exports.getGradientBgrStyleForButton=ei.getGradientBgrStyleForButton,exports.getGradientImageBgrStyleByDevice=ei.getGradientImageBgrStyleByDevice,exports.getStyleBackgroundByDevice=ei.getStyleBackgroundByDevice,exports.getStyleBgColor=ei.getStyleBgColor,exports.makeFixedBgAttachment=ei.makeFixedBgAttachment,exports.composeBackgroundImageCss=ea.composeBackgroundImageCss,exports.getBgImageSourceByDevice=ea.getBgImageSourceByDevice,exports.getStyleBackgroundImage=ea.getStyleBackgroundImage,exports.getStyleBgImageSource=ea.getStyleBgImageSource,exports.composeTextColorCss=ep.composeTextColorCss,exports.getGlobalColorCSSProp=ep.getGlobalColorCSSProp,exports.getGlobalColorClass=ep.getGlobalColorClass,exports.getGlobalColorResponsiveClass=ep.getGlobalColorResponsiveClass,exports.getGlobalColorResponsiveStyle=ep.getGlobalColorResponsiveStyle,exports.getGlobalColorStateClass=ep.getGlobalColorStateClass,exports.getGlobalColorStateClassDynamicBtn=ep.getGlobalColorStateClassDynamicBtn,exports.getGlobalColorStateResponsiveClass=ep.getGlobalColorStateResponsiveClass,exports.getGlobalColorStateResponsiveClassDynamicBtn=ep.getGlobalColorStateResponsiveClassDynamicBtn,exports.getGlobalColorStateResponsiveStyle=ep.getGlobalColorStateResponsiveStyle,exports.getGlobalColorStateStyle=ep.getGlobalColorStateStyle,exports.getGlobalColorStyle=ep.getGlobalColorStyle,exports.getSingleColorVariable=ep.getSingleColorVariable,exports.isColor=ep.isColor,exports.composeAdvanceStyle=eu.composeAdvanceStyle,exports.composeAdvanceStyleForPostPurchase=eu.composeAdvanceStyleForPostPurchase,exports.convertBoxShadowV1ToV2=eu.convertBoxShadowV1ToV2,exports.filterAttrInStyle=eu.filterAttrInStyle,exports.getCornerStyle=eu.getCornerStyle,exports.removeAttrInStyle=eu.removeAttrInStyle,exports.removePaddingYInStyle=eu.removePaddingYInStyle,exports.splitStyle=eu.splitStyle,exports.composeClasses=en.composeClasses,exports.baseAssetURL=el.baseAssetURL,exports.isLocalEnv=el.isLocalEnv,exports.convertHTML=ec.convertHTML,exports.composePositionLineHeight=ed.composePositionLineHeight,exports.composePostionIconList=ed.composePostionIconList,exports.isDefined=ex.isDefined,exports.composeGridLayout=eg.composeGridLayout,exports.convertOldLayout=eg.convertOldLayout,exports.getLayoutClasses=eg.getLayoutClasses,exports.gridToArrayRegex=eg.gridToArrayRegex,exports.optionLayoutStyle=eg.optionLayoutStyle,exports.makeAspectRatio=eS.makeAspectRatio,exports.makeGlobalSizeHeightResponsive=eS.makeGlobalSizeHeightResponsive,exports.makeGlobalSizeWidthResponsive=eS.makeGlobalSizeWidthResponsive,exports.makeHeight=eS.makeHeight,exports.makeLineClamp=eS.makeLineClamp,exports.makeStyle=eS.makeStyle,exports.makeStyleKey=eS.makeStyleKey,exports.makeStyleResponsive=eS.makeStyleResponsive,exports.makeStyleResponsiveByScreen=eS.makeStyleResponsiveByScreen,exports.makeStyleResponsiveState=eS.makeStyleResponsiveState,exports.makeStyleResponsiveWidth=eS.makeStyleResponsiveWidth,exports.makeStyleResponsiveWidthWithoutAuto=eS.makeStyleResponsiveWidthWithoutAuto,exports.makeStyleState=eS.makeStyleState,exports.makeWidth=eS.makeWidth,exports.removeNullUndefined=eS.removeNullUndefined,exports.convertTextAlignToJustify=eh.convertTextAlignToJustify,exports.getAlignmentClasses=eh.getAlignmentClasses,exports.filterHoverVariables=ey.filterHoverVariables,exports.filterTruthyStyles=ey.filterTruthyStyles,exports.cloneDeep=em.cloneDeep,exports.hasTranslatedLiquid=eC.hasTranslatedLiquid,exports.checkInStock=eq.checkInStock,exports.checkHasChangeContent=eP.checkHasChangeContent,exports.createTranslateKey=eP.createTranslateKey,exports.extractOuterTagContent=eP.extractOuterTagContent,exports.getThemeSectionTranslateKey=eP.getThemeSectionTranslateKey,exports.getValueSettingFromSchema=eP.getValueSettingFromSchema,exports.replaceOuterTagContent=eP.replaceOuterTagContent,exports.getHashCode=ev.getHashCode,exports.checkAvailableVariantInStock=ej.checkAvailableVariantInStock,exports.getSelectedVariant=ej.getSelectedVariant,exports.parseSelectedOption=ej.parseSelectedOption,exports.generateCollectionQueryKey=eb.generateCollectionQueryKey,exports.generateProductQueryKey=eb.generateProductQueryKey,exports.generateProductsQueryKey=eb.generateProductsQueryKey,exports.composeCornerCss=ek.composeCornerCss,exports.composeRadius=ek.composeRadius,exports.composeRadiusResponsive=ek.composeRadiusResponsive,exports.getCornerCSSFromGlobal=ek.getCornerCSSFromGlobal,exports.getCustomRadius=ek.getCustomRadius,exports.getRadiusCSSFromGlobal=ek.getRadiusCSSFromGlobal,exports.getRadiusStyleActiveState=ek.getRadiusStyleActiveState,exports.RenderIf=ef.RenderIf,exports.composeMemo=ef.composeMemo,exports.dataStringify=ef.dataStringify,exports.props=ef.props,exports.removeUndefinedValuesFromObject=ef.removeUndefinedValuesFromObject,exports.sanitizeLiquid=ef.sanitizeLiquid,exports.styles=ef.styles,exports.template=ef.template,exports.composeShadow=eB.composeShadow,exports.composeShadowCss=eB.composeShadowCss,exports.getResponsiveStyleShadow=eB.getResponsiveStyleShadow,exports.getResponsiveStyleShadowWithoutState=eB.getResponsiveStyleShadowWithoutState,exports.getStyleShadow=eB.getStyleShadow,exports.getStyleShadowState=eB.getStyleShadowState,exports.parseValueWithUnit=eB.parseValueWithUnit,exports.composeSize=eD.composeSize,exports.composeSizeCss=eD.composeSizeCss,exports.genSizeClass=eD.genSizeClass,exports.getAspectRatioGlobalSize=eD.getAspectRatioGlobalSize,exports.getFlexGrowClassByShapeGlobalSize=eD.getFlexGrowClassByShapeGlobalSize,exports.getGlobalSizeGap=eD.getGlobalSizeGap,exports.getHeightByShapeGlobalSize=eD.getHeightByShapeGlobalSize,exports.getPaddingGlobalSize=eD.getPaddingGlobalSize,exports.getPaddingStyleByDevice=eD.getPaddingStyleByDevice,exports.getResponsiveStylePadding=eD.getResponsiveStylePadding,exports.getValueByDevice=eD.getValueByDevice,exports.getWidthByShapeGlobalSize=eD.getWidthByShapeGlobalSize,exports.getWidthHeightGlobalSize=eD.getWidthHeightGlobalSize,exports.makeGlobalSize=eD.makeGlobalSize,exports.makeGlobalSizeIcon=eD.makeGlobalSizeIcon,exports.makeStyleWithDefault=eD.makeStyleWithDefault,exports.composeFallbackTypographyStyle=eT.composeFallbackTypographyStyle,exports.composeFontFamilyTypographyV2=eT.composeFontFamilyTypographyV2,exports.composeTextHoverColorCss=eT.composeTextHoverColorCss,exports.composeTypography=eT.composeTypography,exports.composeTypographyAttr=eT.composeTypographyAttr,exports.composeTypographyClassName=eT.composeTypographyClassName,exports.composeTypographyCss=eT.composeTypographyCss,exports.composeTypographyStyle=eT.composeTypographyStyle,exports.composeTypographyV2=eT.composeTypographyV2,exports.composeTypographyV2Css=eT.composeTypographyV2Css,exports.genTypoClass=eT.genTypoClass,exports.useArticlesQuery=eA.useArticlesQuery,exports.useBlogsQuery=eA.useBlogsQuery,exports.useAddToCart=eI.useAddToCart,exports.useCartData=eR.useCartData,exports.useCartDiscountCodesUpdate=eL.useCartDiscountCodesUpdate,exports.useCartNoteUpdate=eG.useCartNoteUpdate,exports.useCreateCart=eV.useCreateCart,exports.useRemoveCartItem=eF.useRemoveCartItem,exports.useUpdateCartItem=eO.useUpdateCartItem,exports.useCheckoutUrl=ew.useCheckoutUrl,exports.useConnectedShopify=ew.useConnectedShopify,exports.useCurrency=ew.useCurrency,exports.useEditorMode=ew.useEditorMode,exports.useIsSampleProduct=ew.useIsSampleProduct,exports.useIsStorefrontProduct=ew.useIsStorefrontProduct,exports.useLocale=ew.useLocale,exports.useMatchMutate=ew.useMatchMutate,exports.useMobileOnly=ew.useMobileOnly,exports.useMoneyFormat=ew.useMoneyFormat,exports.usePageType=ew.usePageType,exports.usePluginEnable=ew.usePluginEnable,exports.useStoreFront=ew.useStoreFront,exports.useSwatches=ew.useSwatches,exports.useTimezone=ew.useTimezone,exports.useCollectionQuery=eM.useCollectionQuery,exports.useCollectionsQuery=eE.useCollectionsQuery,exports.useProductQuery=ez.useProductQuery,exports.useProductOffersQuery=eW.useProductOffersQuery,exports.useFetchHandle=eH.useFetchHandle,exports.useProductsQuery=eQ.useProductsQuery,exports.useProductsQueryAll=eQ.useProductsQueryAll,exports.useCurrentDevice=eU.useCurrentDevice,exports.useLazyVideo=eK.useLazyVideo,exports.useCartId=eN.default,exports.useCartLine=e_.default,exports.useCartUI=eY.default,exports.useCollection=eJ.useCollection,exports.convertDecimalToNumber=eZ.convertDecimalToNumber,exports.formatMoney=eZ.formatMoney,exports.shopifyPriceRounding=eZ.shopifyPriceRounding,exports.useFormatMoney=eZ.useFormatMoney,Object.defineProperty(exports,"useId",{enumerable:!0,get:function(){return eX.useId}}),exports.useInitialSwatchesOptions=e$.default,exports.useIsomorphicLayoutEffect=e0.default,exports.useLoadScript=e1.default,exports.useMoney=e2.default,exports.usePrevious=e8.usePrevious,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e3.tGlobal}}),exports.useI18n=e3.useI18n,exports.useStickyStore=e4.useStickyStore,exports.useCheckAvailableVariantInStock=e5.useCheckAvailableVariantInStock,exports.useCurrentVariant=e5.useCurrentVariant,exports.useCurrentVariantInStock=e5.useCurrentVariantInStock,exports.useFeaturedImageGlobal=e5.useFeaturedImageGlobal,exports.useHasPreSelected=e5.useHasPreSelected,exports.useIsSyncProduct=e5.useIsSyncProduct,exports.useProduct=e5.useProduct,exports.useProductBundleDiscount=e5.useProductBundleDiscount,exports.useProductOfferDiscount=e5.useProductOfferDiscount,exports.useProductProperties=e5.useProductProperties,exports.useProductShopifyEditLink=e5.useProductShopifyEditLink,exports.useQuantity=e5.useQuantity,exports.useSelectedOption=e5.useSelectedOption,exports.useUniqProductID=e5.useUniqProductID,exports.useVariant=e5.useVariant,exports.useVariantOutStock=e5.useVariantOutStock,exports.useVariants=e5.useVariants,exports.useShopifyLink=e6.useShopifyLink,exports.useProductList=e7.useProductList,exports.useProductListProducts=e7.useProductListProducts,exports.useProductListSettings=e7.useProductListSettings,exports.useProductListStyles=e7.useProductListStyles,exports.useSafeGetProductListSettings=e7.useSafeGetProductListSettings,exports.useSuspenseFetch=e9.default,exports.useSwatchesOptions=te.default,exports.useRenderMode=tt.useRenderMode,exports.usePreviewSharePage=tr.usePreviewSharePage,Object.defineProperty(exports,"RenderModeEnv",{enumerable:!0,get:function(){return to.RenderModeEnv}}),Object.defineProperty(exports,"InteractionTargetEvent",{enumerable:!0,get:function(){return ts.InteractionTargetEvent}}),Object.defineProperty(exports,"InteractionTriggerEvent",{enumerable:!0,get:function(){return ts.InteractionTriggerEvent}}),Object.defineProperty(exports,"SectionMode",{enumerable:!0,get:function(){return ts.SectionMode}}),exports.ShopType=ti,exports.AppAPIType=ta,exports.OptionNormalStyle=tp.OptionNormalStyle,exports.OptionSpecialStyle=tp.OptionSpecialStyle,Object.defineProperty(exports,"AnimationDirectionType",{enumerable:!0,get:function(){return tu.AnimationDirectionType}}),Object.defineProperty(exports,"AnimationEasingType",{enumerable:!0,get:function(){return tu.AnimationEasingType}}),Object.defineProperty(exports,"AnimationSetting",{enumerable:!0,get:function(){return tu.AnimationSetting}}),Object.defineProperty(exports,"AnimationTriggerType",{enumerable:!0,get:function(){return tu.AnimationTriggerType}}),Object.defineProperty(exports,"AnimationType",{enumerable:!0,get:function(){return tu.AnimationType}}),Object.defineProperty(exports,"AnimationZoomDirectionType",{enumerable:!0,get:function(){return tu.AnimationZoomDirectionType}}),exports.calculateFirstProduct=tn.calculateFirstProduct,exports.getCollection=tn.getCollection,exports.fetchMedias=tl.fetchMedias,exports.fetchVariants=tl.fetchVariants,exports.getProduct=tl.getProduct,exports.getProductBySlug=tc.getProductBySlug,exports.getAppBlocks=td.getAppBlocks,exports.addAppBlockId=tx.addAppBlockId,exports.useInteraction=tg.useInteraction,exports.createStoreFrontFetcher=tS.createStoreFrontFetcher,exports.hasPublicStoreFrontData=tS.hasPublicStoreFrontData,exports.BLACKLIST_TAGS=th.BLACKLIST_TAGS,exports.DEVICES=ty.DEVICES,exports.EMPTY_DEVICE_VALUE=ty.EMPTY_DEVICE_VALUE;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as
|
|
2
|
+
import{jsx as t}from"react/jsx-runtime";import{useContext as r,createContext as e}from"react";import{useStore as o,createStore as u}from"zustand";let i=e(null),s=t=>u(()=>({...t})),d=({children:r,collection:e,products:o,settings:u,styles:d})=>t(i.Provider,{value:s({products:o,collection:e,settings:u,styles:d}),children:r}),c=()=>{let t=r(i);return t},n=(t,e)=>{let u=r(i);if(!u)throw Error("useProductListStore must be used within a useProductListStore");return o(u,t,e)};export{i as ProductListContext,d as ProductListProvider,c as useProductListContext,n as useProductListStore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ProductLittleDetailDocument as e}from"../../graphql/queries/product-little-detail.generated.js";import{ProductMediasDocument as
|
|
1
|
+
import{ProductLittleDetailDocument as e}from"../../graphql/queries/product-little-detail.generated.js";import{ProductMediasDocument as r}from"../../graphql/queries/product-medias.generated.js";import{ProductVariantsDocument as t}from"../../graphql/queries/product-variants.generated.js";let a=async(e,{id:r,isSample:t,isStorefront:a})=>{let[n,o,s]=await Promise.all([i(e,{id:r,isSample:t,isStorefront:a}),d(e,{id:r,isSample:t,isStorefront:a}),c(e,{id:r,isSample:t,isStorefront:a})]);if(!n)throw Error("Product not found");return{...n,variants:{edges:o},medias:{edges:s}}},n="latest",o={direction:"DESC",field:"PLATFORM_CREATED_AT"},s={direction:"DESC",field:"CREATED_AT"},i=async(r,{id:t,isSample:a,isStorefront:i})=>{let d=t&&t.toLowerCase()===n,c={orderBy:d?o:s,where:{isSample:a,...i&&{isStorefront:i},...(!t||d)&&{status:"ACTIVE"},...t&&!d&&{baseID:t}}},u=await r([e.toString(),c]);return u.product?.edges?.[0]?.node},d=async(e,{id:r,isSample:a,isStorefront:i})=>{let d=r&&r.toLowerCase()===n,c={orderBy:d?o:s,where:{isSample:a,...i&&{isStorefront:i},...(!r||d)&&{status:"ACTIVE"},...r&&!d&&{baseID:r}},orderByVariant:{field:"POSITION",direction:"ASC"}},u=async(r,a)=>{try{let n=await e([t.toString(),r]),o=n.variants?.edges?.[0],s=a?.concat(o?.node?.variants?.edges??[]);if(o?.node?.variants?.pageInfo?.hasNextPage)return u({...r,afterVariant:o?.node?.variants?.pageInfo.endCursor},s);return s??[]}catch{return a??[]}};return u(c,[])},c=async(e,{id:t,isSample:a,isStorefront:i})=>{let d=t&&t.toLowerCase()===n,c={orderBy:d?o:s,where:{isSample:a,...i&&{isStorefront:i},...(!t||d)&&{status:"ACTIVE"},...t&&!d&&{baseID:t}},orderByMedia:{field:"POSITION",direction:"ASC"}},u=async t=>{try{let a=await e([r.toString(),t]),n=a.medias?.edges?.[0],o=n?.node?.medias?.edges??[];if(n?.node?.medias?.pageInfo?.hasNextPage)try{let e=await u({...t,afterMedia:n?.node?.medias?.pageInfo.endCursor});return o.concat(e)}catch{}return o}catch{return[]}};return u(c)};export{c as fetchMedias,d as fetchVariants,a as getProduct};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{
|
|
2
|
+
import{useMemo as t}from"react";import{useProductListStore as s,useProductListContext as e}from"../contexts/ProductListContext.js";let o=()=>s(t=>t.collection),r=()=>s(t=>t.products),u=()=>s(t=>t.settings),i=()=>s(t=>t.styles),c=()=>{let s=e(),o=t(()=>s?s.getState().settings:null,[s]);return{settings:o}};export{o as useProductList,r as useProductListProducts,u as useProductListSettings,i as useProductListStyles,c as useSafeGetProductListSettings};
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{default as AddOn}from"./components/AddOn.js";export{default as Render}from"./components/Render.js";export{default as RenderPreview}from"./components/RenderPreview.js";export{RenderChildren,default as RenderLiquid,WrapRenderChildren}from"./components/Render.liquid.js";export{AddonProvider,useAddon,useAddons}from"./contexts/AddonContext.js";export{BuilderComponentProvider,useBuilderComponent}from"./contexts/BuilderComponent.js";export{BuilderProvider,useBuilderStore}from"./contexts/BuilderContext.js";export{BuilderPreviewProvider,useBuilderPreviewStore}from"./contexts/BuilderPreviewContext.js";export{CartLineProvider,useCartLineStore}from"./contexts/CartLineContext.js";export{ProductListProvider,useProductListStore}from"./contexts/ProductListContext.js";export{ProductProvider,useProductStore}from"./contexts/ProductContext.js";export{SectionProvider,useSection,useSectionStore}from"./contexts/SectionContext.js";export{ShopProvider,useShopStore}from"./contexts/ShopContext.js";export{PageProvider,usePageStore}from"./contexts/PageContext.js";export{CollectionProvider,useCollectionStore}from"./contexts/CollectionContext.js";export{ModalProvider,useModalStore}from"./contexts/ModalContext.js";export{ArticleListProvider,useArticleListStore}from"./contexts/ArticleListContext.js";export{ArticleProvider,useArticleStore}from"./contexts/ArticleContext.js";export{I18nProvider,useI18nStore}from"./contexts/I18nContext.js";export{CollectionDetailFilterDocument}from"./graphql/queries/collection-detail-filter.generated.js";export{CollectionDocument}from"./graphql/queries/collection.generated.js";export{CollectionsDocument}from"./graphql/queries/collections.generated.js";export{PublishedThemePagesDocument}from"./graphql/queries/published-theme-pages.generated.js";export{StorePropertyDocument}from"./graphql/queries/store-property.generated.js";export{PreviewThemePageDocument}from"./graphql/queries/preview-page.generated.js";export{PublishedShopMetasDocument}from"./graphql/queries/published-shop-metas.generated.js";export{ShopShopifyDocument}from"./graphql/queries/shop-shopify.generated.js";export{ArticlesDocument}from"./graphql/queries/articles.generated.js";export{BlogsDocument}from"./graphql/queries/blogs.generated.js";export{ProductWithSellingPlansSelectFragment,ProductsWithSellingPlansDocument}from"./graphql/queries/products-with-selling-plans.generated.js";export{ProductVariantsWithSellingPlansDocument}from"./graphql/queries/product-variant-with-selling-plans.generated.js";export{LibraryTemplateDocument}from"./graphql-app-api/queries/LibraryTemplate.generated.js";export{ThemePageDocument}from"./graphql-app-api/queries/ThemePage.generated.js";export{SaleFunnelDiscountsDocument}from"./graphql-app-api/queries/SaleFunnelDiscounts.generated.js";export{LibrarySaleFunnelDocument}from"./graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js";export{ShopLibraryPageDocument}from"./graphql-app-api/queries/ShopLibraryPage.generated.js";export{SaleFunnelOfferDocument}from"./graphql-app-api/queries/SaleFunnelOffer.generated.js";export{ThemePageMetaDocument}from"./graphql-app-api/queries/ThemePageMeta.generated.js";export{composeBorderCss,composeBorderResponsive,getBorderRadiusStyle,getBorderStyle,handleConvertBorderColor,handleConvertBorderStyle,handleConvertBorderWidth,handleConvertClassColor,handleConvertClassColorDynamicBtn,handleConvertInputBorderColor}from"./helpers/borders.js";export{getCarouselContainerHeight,makeContainerWidthOrHeight,makeDotGapToCarouselStyle}from"./helpers/carousel.js";export{cls}from"./helpers/cls.js";export{animations}from"./helpers/animations.js";export{default as filterToolbarPreview}from"./helpers/filter-toolbar-preview.js";export{flattenConnection}from"./helpers/flatten-connection.js";export{getResponsiveStateValue,getResponsiveValue,getResponsiveValueByScreen,isColumnDirectionExist}from"./helpers/get-resonsive-value.js";export{getShortName}from"./helpers/get-shortname.js";export{default as globalEvent}from"./helpers/GlobalEvent.js";export{default as isBrowser}from"./helpers/is-browser.js";export{default as isEmptyChildren}from"./helpers/is-empty-children.js";export{default as isSafari}from"./helpers/is-safari.js";export{normalizeBuilderData}from"./helpers/normalize-builder-data.js";export{prefetchQueries}from"./helpers/prefetch-queries.js";export{validateEmail}from"./helpers/email.js";export{loadScript}from"./helpers/load-script.js";export{composeSpacing,getSpacingVariable}from"./helpers/spacing.js";export{genVariable}from"./helpers/css-variable.js";import*as e from"./helpers/tracking/fpixel.js";import*as o from"./helpers/tracking/gtag.js";import*as t from"./helpers/tracking/tiktokpixel.js";export{GRADIENT_BGR_KEY,composeBackgroundCss,getBgByDevice,getBgImageByDevice,getBgVideoByDevice,getColor,getCombinedBackgroundImage,getGradientBgrStyleByDevice,getGradientBgrStyleForButton,getGradientImageBgrStyleByDevice,getStyleBackgroundByDevice,getStyleBgColor,makeFixedBgAttachment}from"./helpers/background.js";export{composeBackgroundImageCss,getBgImageSourceByDevice,getStyleBackgroundImage,getStyleBgImageSource}from"./helpers/backgroundImage.js";export{composeTextColorCss,getGlobalColorCSSProp,getGlobalColorClass,getGlobalColorResponsiveClass,getGlobalColorResponsiveStyle,getGlobalColorStateClass,getGlobalColorStateClassDynamicBtn,getGlobalColorStateResponsiveClass,getGlobalColorStateResponsiveClassDynamicBtn,getGlobalColorStateResponsiveStyle,getGlobalColorStateStyle,getGlobalColorStyle,getSingleColorVariable,isColor}from"./helpers/colors.js";export{composeAdvanceStyle,composeAdvanceStyleForPostPurchase,convertBoxShadowV1ToV2,filterAttrInStyle,getCornerStyle,removeAttrInStyle,removePaddingYInStyle,splitStyle}from"./helpers/compose-advance-style.js";export{composeClasses}from"./helpers/composeClasses.js";export{baseAssetURL,isLocalEnv}from"./helpers/convert.js";export{convertHTML}from"./helpers/covert-entities-html.js";export{composePositionLineHeight,composePostionIconList}from"./helpers/icon-list.js";export{isDefined}from"./helpers/is-defined.js";export{composeGridLayout,convertOldLayout,getLayoutClasses,gridToArrayRegex,optionLayoutStyle}from"./helpers/layout.js";export{makeAspectRatio,makeGlobalSizeHeightResponsive,makeGlobalSizeWidthResponsive,makeHeight,makeLineClamp,makeStyle,makeStyleKey,makeStyleResponsive,makeStyleResponsiveByScreen,makeStyleResponsiveState,makeStyleResponsiveWidth,makeStyleResponsiveWidthWithoutAuto,makeStyleState,makeWidth,removeNullUndefined}from"./helpers/make-style.js";export{convertTextAlignToJustify,getAlignmentClasses}from"./helpers/align.js";export{filterHoverVariables,filterTruthyStyles}from"./helpers/filter-styles.js";export{cloneDeep}from"./helpers/clone-deep.js";export{hasTranslatedLiquid}from"./helpers/liquid.js";export{checkInStock}from"./helpers/variant.js";export{checkHasChangeContent,createTranslateKey,extractOuterTagContent,getThemeSectionTranslateKey,getValueSettingFromSchema,replaceOuterTagContent}from"./helpers/createTranslateKey.js";export{getHashCode}from"./helpers/getHashCode.js";export{checkAvailableVariantInStock,getSelectedVariant,parseSelectedOption}from"./helpers/product.js";export{generateCollectionQueryKey,generateProductQueryKey,generateProductsQueryKey}from"./helpers/query.js";export{composeCornerCss,composeRadius,composeRadiusResponsive,getCornerCSSFromGlobal,getCustomRadius,getRadiusCSSFromGlobal,getRadiusStyleActiveState}from"./helpers/radius.js";export{RenderIf,composeMemo,dataStringify,props,removeUndefinedValuesFromObject,sanitizeLiquid,styles,template}from"./helpers/render.js";export{composeShadow,composeShadowCss,getResponsiveStyleShadow,getResponsiveStyleShadowWithoutState,getStyleShadow,getStyleShadowState,parseValueWithUnit}from"./helpers/shadow.js";export{composeSize,composeSizeCss,genSizeClass,getAspectRatioGlobalSize,getFlexGrowClassByShapeGlobalSize,getGlobalSizeGap,getHeightByShapeGlobalSize,getPaddingGlobalSize,getPaddingStyleByDevice,getResponsiveStylePadding,getValueByDevice,getWidthByShapeGlobalSize,getWidthHeightGlobalSize,makeGlobalSize,makeGlobalSizeIcon,makeStyleWithDefault}from"./helpers/size.js";export{composeFallbackTypographyStyle,composeFontFamilyTypographyV2,composeTextHoverColorCss,composeTypography,composeTypographyAttr,composeTypographyClassName,composeTypographyCss,composeTypographyStyle,composeTypographyV2,composeTypographyV2Css,genTypoClass}from"./helpers/typography.js";export{useArticlesQuery,useBlogsQuery}from"./hooks/articles/useArticlesQuery.js";export{useAddToCart}from"./hooks/cart/use-add-to-cart.js";export{useCartData}from"./hooks/cart/use-cart-data.js";export{useCartDiscountCodesUpdate}from"./hooks/cart/use-cart-discount-codes-update.js";export{useCartNoteUpdate}from"./hooks/cart/use-cart-note-update.js";export{useCreateCart}from"./hooks/cart/use-create-cart.js";export{useRemoveCartItem}from"./hooks/cart/use-remove-cart-item.js";export{useUpdateCartItem}from"./hooks/cart/use-update-cart-item.js";export{useCheckoutUrl,useConnectedShopify,useCurrency,useEditorMode,useIsSampleProduct,useIsStorefrontProduct,useLocale,useMatchMutate,useMobileOnly,useMoneyFormat,usePageType,usePluginEnable,useStoreFront,useSwatches,useTimezone}from"./hooks/shop.js";export{useCollectionQuery}from"./hooks/shop/use-collection-query.js";export{useCollectionsQuery}from"./hooks/shop/use-collections-query.js";export{useProductQuery}from"./hooks/shop/use-product-query.js";export{useProductOffersQuery}from"./hooks/shop/useProductOffersQuery.js";export{useFetchHandle}from"./hooks/useFetchHandle.js";export{useProductsQuery,useProductsQueryAll}from"./hooks/shop/use-products-query.js";export{useCurrentDevice}from"./hooks/use-current-device.js";export{useLazyVideo}from"./hooks/use-lazy-video.js";export{default as useCartId}from"./hooks/useCartId.js";export{default as useCartLine}from"./hooks/useCartLine.js";export{default as useCartUI}from"./hooks/useCartUI.js";export{useCollection}from"./hooks/useCollection.js";export{convertDecimalToNumber,formatMoney,shopifyPriceRounding,useFormatMoney}from"./hooks/useFormatMoney.js";export{useId}from"react";export{default as useInitialSwatchesOptions}from"./hooks/useInitialSwatchesOptions.js";export{default as useIsomorphicLayoutEffect}from"./hooks/useIsomorphicLayoutEffect.js";export{default as useLoadScript}from"./hooks/useLoadScript.js";export{default as useMoney}from"./hooks/useMoney.js";export{usePrevious}from"./hooks/usePrevious.js";export{tGlobal as t,useI18n}from"./hooks/useI18n.js";export{useStickyStore}from"./hooks/useStickyStore.js";export{useCheckAvailableVariantInStock,useCurrentVariant,useCurrentVariantInStock,useFeaturedImageGlobal,useHasPreSelected,useIsSyncProduct,useProduct,useProductBundleDiscount,useProductOfferDiscount,useProductProperties,useProductShopifyEditLink,useQuantity,useSelectedOption,useUniqProductID,useVariant,useVariantOutStock,useVariants}from"./hooks/useProduct.js";export{useShopifyLink}from"./hooks/shop/useShopifyLink.js";export{useProductList,useProductListProducts,useProductListSettings,useProductListStyles}from"./hooks/useProductList.js";export{default as useSuspenseFetch}from"./hooks/useSuspenseFetch.js";export{default as useSwatchesOptions}from"./hooks/useSwatchesOptions.js";export{useRenderMode}from"./hooks/useRenderMode.js";export{usePreviewSharePage}from"./hooks/usePreviewSharePage.js";export{RenderModeEnv}from"./types/builder.js";export{InteractionTargetEvent,InteractionTriggerEvent,SectionMode}from"./types/custom.js";import*as r from"./types/shop.js";import*as s from"./types/appAPI.js";export{OptionNormalStyle,OptionSpecialStyle}from"./types/global-style.js";export{AnimationDirectionType,AnimationEasingType,AnimationSetting,AnimationTriggerType,AnimationType,AnimationZoomDirectionType}from"./types/animations.js";export{calculateFirstProduct,getCollection}from"./helpers/queries/get-collection.js";export{fetchMedias,fetchVariants,getProduct}from"./helpers/queries/get-product.js";export{getProductBySlug}from"./helpers/queries/get-product-by-slug.js";export{getAppBlocks}from"./helpers/third-party/getAppBlocks.js";export{addAppBlockId}from"./helpers/third-party/addAppBlockId.js";export{useInteraction}from"./helpers/interaction/index.js";export{createStoreFrontFetcher,hasPublicStoreFrontData}from"./helpers/create-store-front-fetcher.js";export{BLACKLIST_TAGS}from"./constants/index.js";export{DEVICES,EMPTY_DEVICE_VALUE}from"./constants/device.js";export{e as fpixel,o as gtag,t as tiktokpixel,r as ShopType,s as AppAPIType};
|
|
1
|
+
export{default as AddOn}from"./components/AddOn.js";export{default as Render}from"./components/Render.js";export{default as RenderPreview}from"./components/RenderPreview.js";export{RenderChildren,default as RenderLiquid,WrapRenderChildren}from"./components/Render.liquid.js";export{AddonProvider,useAddon,useAddons}from"./contexts/AddonContext.js";export{BuilderComponentProvider,useBuilderComponent}from"./contexts/BuilderComponent.js";export{BuilderProvider,useBuilderStore}from"./contexts/BuilderContext.js";export{BuilderPreviewProvider,useBuilderPreviewStore}from"./contexts/BuilderPreviewContext.js";export{CartLineProvider,useCartLineStore}from"./contexts/CartLineContext.js";export{ProductListProvider,useProductListStore}from"./contexts/ProductListContext.js";export{ProductProvider,useProductStore}from"./contexts/ProductContext.js";export{SectionProvider,useSection,useSectionStore}from"./contexts/SectionContext.js";export{ShopProvider,useShopStore}from"./contexts/ShopContext.js";export{PageProvider,usePageStore}from"./contexts/PageContext.js";export{CollectionProvider,useCollectionStore}from"./contexts/CollectionContext.js";export{ModalProvider,useModalStore}from"./contexts/ModalContext.js";export{ArticleListProvider,useArticleListStore}from"./contexts/ArticleListContext.js";export{ArticleProvider,useArticleStore}from"./contexts/ArticleContext.js";export{I18nProvider,useI18nStore}from"./contexts/I18nContext.js";export{CollectionDetailFilterDocument}from"./graphql/queries/collection-detail-filter.generated.js";export{CollectionDocument}from"./graphql/queries/collection.generated.js";export{CollectionsDocument}from"./graphql/queries/collections.generated.js";export{PublishedThemePagesDocument}from"./graphql/queries/published-theme-pages.generated.js";export{StorePropertyDocument}from"./graphql/queries/store-property.generated.js";export{PreviewThemePageDocument}from"./graphql/queries/preview-page.generated.js";export{PublishedShopMetasDocument}from"./graphql/queries/published-shop-metas.generated.js";export{ShopShopifyDocument}from"./graphql/queries/shop-shopify.generated.js";export{ArticlesDocument}from"./graphql/queries/articles.generated.js";export{BlogsDocument}from"./graphql/queries/blogs.generated.js";export{ProductWithSellingPlansSelectFragment,ProductsWithSellingPlansDocument}from"./graphql/queries/products-with-selling-plans.generated.js";export{ProductVariantsWithSellingPlansDocument}from"./graphql/queries/product-variant-with-selling-plans.generated.js";export{LibraryTemplateDocument}from"./graphql-app-api/queries/LibraryTemplate.generated.js";export{ThemePageDocument}from"./graphql-app-api/queries/ThemePage.generated.js";export{SaleFunnelDiscountsDocument}from"./graphql-app-api/queries/SaleFunnelDiscounts.generated.js";export{LibrarySaleFunnelDocument}from"./graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js";export{ShopLibraryPageDocument}from"./graphql-app-api/queries/ShopLibraryPage.generated.js";export{SaleFunnelOfferDocument}from"./graphql-app-api/queries/SaleFunnelOffer.generated.js";export{ThemePageMetaDocument}from"./graphql-app-api/queries/ThemePageMeta.generated.js";export{composeBorderCss,composeBorderResponsive,getBorderRadiusStyle,getBorderStyle,handleConvertBorderColor,handleConvertBorderStyle,handleConvertBorderWidth,handleConvertClassColor,handleConvertClassColorDynamicBtn,handleConvertInputBorderColor}from"./helpers/borders.js";export{getCarouselContainerHeight,makeContainerWidthOrHeight,makeDotGapToCarouselStyle}from"./helpers/carousel.js";export{cls}from"./helpers/cls.js";export{animations}from"./helpers/animations.js";export{default as filterToolbarPreview}from"./helpers/filter-toolbar-preview.js";export{flattenConnection}from"./helpers/flatten-connection.js";export{getResponsiveStateValue,getResponsiveValue,getResponsiveValueByScreen,isColumnDirectionExist}from"./helpers/get-resonsive-value.js";export{getShortName}from"./helpers/get-shortname.js";export{default as globalEvent}from"./helpers/GlobalEvent.js";export{default as isBrowser}from"./helpers/is-browser.js";export{default as isEmptyChildren}from"./helpers/is-empty-children.js";export{default as isSafari}from"./helpers/is-safari.js";export{normalizeBuilderData}from"./helpers/normalize-builder-data.js";export{prefetchQueries}from"./helpers/prefetch-queries.js";export{validateEmail}from"./helpers/email.js";export{loadScript}from"./helpers/load-script.js";export{composeSpacing,getSpacingVariable}from"./helpers/spacing.js";export{genVariable}from"./helpers/css-variable.js";import*as e from"./helpers/tracking/fpixel.js";import*as o from"./helpers/tracking/gtag.js";import*as t from"./helpers/tracking/tiktokpixel.js";export{GRADIENT_BGR_KEY,composeBackgroundCss,getBgByDevice,getBgImageByDevice,getBgVideoByDevice,getColor,getCombinedBackgroundImage,getGradientBgrStyleByDevice,getGradientBgrStyleForButton,getGradientImageBgrStyleByDevice,getStyleBackgroundByDevice,getStyleBgColor,makeFixedBgAttachment}from"./helpers/background.js";export{composeBackgroundImageCss,getBgImageSourceByDevice,getStyleBackgroundImage,getStyleBgImageSource}from"./helpers/backgroundImage.js";export{composeTextColorCss,getGlobalColorCSSProp,getGlobalColorClass,getGlobalColorResponsiveClass,getGlobalColorResponsiveStyle,getGlobalColorStateClass,getGlobalColorStateClassDynamicBtn,getGlobalColorStateResponsiveClass,getGlobalColorStateResponsiveClassDynamicBtn,getGlobalColorStateResponsiveStyle,getGlobalColorStateStyle,getGlobalColorStyle,getSingleColorVariable,isColor}from"./helpers/colors.js";export{composeAdvanceStyle,composeAdvanceStyleForPostPurchase,convertBoxShadowV1ToV2,filterAttrInStyle,getCornerStyle,removeAttrInStyle,removePaddingYInStyle,splitStyle}from"./helpers/compose-advance-style.js";export{composeClasses}from"./helpers/composeClasses.js";export{baseAssetURL,isLocalEnv}from"./helpers/convert.js";export{convertHTML}from"./helpers/covert-entities-html.js";export{composePositionLineHeight,composePostionIconList}from"./helpers/icon-list.js";export{isDefined}from"./helpers/is-defined.js";export{composeGridLayout,convertOldLayout,getLayoutClasses,gridToArrayRegex,optionLayoutStyle}from"./helpers/layout.js";export{makeAspectRatio,makeGlobalSizeHeightResponsive,makeGlobalSizeWidthResponsive,makeHeight,makeLineClamp,makeStyle,makeStyleKey,makeStyleResponsive,makeStyleResponsiveByScreen,makeStyleResponsiveState,makeStyleResponsiveWidth,makeStyleResponsiveWidthWithoutAuto,makeStyleState,makeWidth,removeNullUndefined}from"./helpers/make-style.js";export{convertTextAlignToJustify,getAlignmentClasses}from"./helpers/align.js";export{filterHoverVariables,filterTruthyStyles}from"./helpers/filter-styles.js";export{cloneDeep}from"./helpers/clone-deep.js";export{hasTranslatedLiquid}from"./helpers/liquid.js";export{checkInStock}from"./helpers/variant.js";export{checkHasChangeContent,createTranslateKey,extractOuterTagContent,getThemeSectionTranslateKey,getValueSettingFromSchema,replaceOuterTagContent}from"./helpers/createTranslateKey.js";export{getHashCode}from"./helpers/getHashCode.js";export{checkAvailableVariantInStock,getSelectedVariant,parseSelectedOption}from"./helpers/product.js";export{generateCollectionQueryKey,generateProductQueryKey,generateProductsQueryKey}from"./helpers/query.js";export{composeCornerCss,composeRadius,composeRadiusResponsive,getCornerCSSFromGlobal,getCustomRadius,getRadiusCSSFromGlobal,getRadiusStyleActiveState}from"./helpers/radius.js";export{RenderIf,composeMemo,dataStringify,props,removeUndefinedValuesFromObject,sanitizeLiquid,styles,template}from"./helpers/render.js";export{composeShadow,composeShadowCss,getResponsiveStyleShadow,getResponsiveStyleShadowWithoutState,getStyleShadow,getStyleShadowState,parseValueWithUnit}from"./helpers/shadow.js";export{composeSize,composeSizeCss,genSizeClass,getAspectRatioGlobalSize,getFlexGrowClassByShapeGlobalSize,getGlobalSizeGap,getHeightByShapeGlobalSize,getPaddingGlobalSize,getPaddingStyleByDevice,getResponsiveStylePadding,getValueByDevice,getWidthByShapeGlobalSize,getWidthHeightGlobalSize,makeGlobalSize,makeGlobalSizeIcon,makeStyleWithDefault}from"./helpers/size.js";export{composeFallbackTypographyStyle,composeFontFamilyTypographyV2,composeTextHoverColorCss,composeTypography,composeTypographyAttr,composeTypographyClassName,composeTypographyCss,composeTypographyStyle,composeTypographyV2,composeTypographyV2Css,genTypoClass}from"./helpers/typography.js";export{useArticlesQuery,useBlogsQuery}from"./hooks/articles/useArticlesQuery.js";export{useAddToCart}from"./hooks/cart/use-add-to-cart.js";export{useCartData}from"./hooks/cart/use-cart-data.js";export{useCartDiscountCodesUpdate}from"./hooks/cart/use-cart-discount-codes-update.js";export{useCartNoteUpdate}from"./hooks/cart/use-cart-note-update.js";export{useCreateCart}from"./hooks/cart/use-create-cart.js";export{useRemoveCartItem}from"./hooks/cart/use-remove-cart-item.js";export{useUpdateCartItem}from"./hooks/cart/use-update-cart-item.js";export{useCheckoutUrl,useConnectedShopify,useCurrency,useEditorMode,useIsSampleProduct,useIsStorefrontProduct,useLocale,useMatchMutate,useMobileOnly,useMoneyFormat,usePageType,usePluginEnable,useStoreFront,useSwatches,useTimezone}from"./hooks/shop.js";export{useCollectionQuery}from"./hooks/shop/use-collection-query.js";export{useCollectionsQuery}from"./hooks/shop/use-collections-query.js";export{useProductQuery}from"./hooks/shop/use-product-query.js";export{useProductOffersQuery}from"./hooks/shop/useProductOffersQuery.js";export{useFetchHandle}from"./hooks/useFetchHandle.js";export{useProductsQuery,useProductsQueryAll}from"./hooks/shop/use-products-query.js";export{useCurrentDevice}from"./hooks/use-current-device.js";export{useLazyVideo}from"./hooks/use-lazy-video.js";export{default as useCartId}from"./hooks/useCartId.js";export{default as useCartLine}from"./hooks/useCartLine.js";export{default as useCartUI}from"./hooks/useCartUI.js";export{useCollection}from"./hooks/useCollection.js";export{convertDecimalToNumber,formatMoney,shopifyPriceRounding,useFormatMoney}from"./hooks/useFormatMoney.js";export{useId}from"react";export{default as useInitialSwatchesOptions}from"./hooks/useInitialSwatchesOptions.js";export{default as useIsomorphicLayoutEffect}from"./hooks/useIsomorphicLayoutEffect.js";export{default as useLoadScript}from"./hooks/useLoadScript.js";export{default as useMoney}from"./hooks/useMoney.js";export{usePrevious}from"./hooks/usePrevious.js";export{tGlobal as t,useI18n}from"./hooks/useI18n.js";export{useStickyStore}from"./hooks/useStickyStore.js";export{useCheckAvailableVariantInStock,useCurrentVariant,useCurrentVariantInStock,useFeaturedImageGlobal,useHasPreSelected,useIsSyncProduct,useProduct,useProductBundleDiscount,useProductOfferDiscount,useProductProperties,useProductShopifyEditLink,useQuantity,useSelectedOption,useUniqProductID,useVariant,useVariantOutStock,useVariants}from"./hooks/useProduct.js";export{useShopifyLink}from"./hooks/shop/useShopifyLink.js";export{useProductList,useProductListProducts,useProductListSettings,useProductListStyles,useSafeGetProductListSettings}from"./hooks/useProductList.js";export{default as useSuspenseFetch}from"./hooks/useSuspenseFetch.js";export{default as useSwatchesOptions}from"./hooks/useSwatchesOptions.js";export{useRenderMode}from"./hooks/useRenderMode.js";export{usePreviewSharePage}from"./hooks/usePreviewSharePage.js";export{RenderModeEnv}from"./types/builder.js";export{InteractionTargetEvent,InteractionTriggerEvent,SectionMode}from"./types/custom.js";import*as r from"./types/shop.js";import*as s from"./types/appAPI.js";export{OptionNormalStyle,OptionSpecialStyle}from"./types/global-style.js";export{AnimationDirectionType,AnimationEasingType,AnimationSetting,AnimationTriggerType,AnimationType,AnimationZoomDirectionType}from"./types/animations.js";export{calculateFirstProduct,getCollection}from"./helpers/queries/get-collection.js";export{fetchMedias,fetchVariants,getProduct}from"./helpers/queries/get-product.js";export{getProductBySlug}from"./helpers/queries/get-product-by-slug.js";export{getAppBlocks}from"./helpers/third-party/getAppBlocks.js";export{addAppBlockId}from"./helpers/third-party/addAppBlockId.js";export{useInteraction}from"./helpers/interaction/index.js";export{createStoreFrontFetcher,hasPublicStoreFrontData}from"./helpers/create-store-front-fetcher.js";export{BLACKLIST_TAGS}from"./constants/index.js";export{DEVICES,EMPTY_DEVICE_VALUE}from"./constants/device.js";export{e as fpixel,o as gtag,t as tiktokpixel,r as ShopType,s as AppAPIType};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -42948,6 +42948,7 @@ type ProductListContextProps = {
|
|
|
42948
42948
|
arrow?: ObjectDevices<boolean>;
|
|
42949
42949
|
controlOverContent?: ObjectDevices<boolean>;
|
|
42950
42950
|
speed?: number;
|
|
42951
|
+
sameHeight?: boolean;
|
|
42951
42952
|
};
|
|
42952
42953
|
styles?: {
|
|
42953
42954
|
horizontalGutter?: ObjectDevices<string>;
|
|
@@ -55289,6 +55290,7 @@ declare const useProductListSettings: () => {
|
|
|
55289
55290
|
arrow?: ObjectDevices<boolean>;
|
|
55290
55291
|
controlOverContent?: ObjectDevices<boolean>;
|
|
55291
55292
|
speed?: number;
|
|
55293
|
+
sameHeight?: boolean;
|
|
55292
55294
|
} | undefined;
|
|
55293
55295
|
declare const useProductListStyles: () => {
|
|
55294
55296
|
horizontalGutter?: ObjectDevices<string>;
|
|
@@ -55298,6 +55300,21 @@ declare const useProductListStyles: () => {
|
|
|
55298
55300
|
width?: ObjectDevices<string>;
|
|
55299
55301
|
height?: ObjectDevices<string>;
|
|
55300
55302
|
} | undefined;
|
|
55303
|
+
declare const useSafeGetProductListSettings: () => {
|
|
55304
|
+
settings: {
|
|
55305
|
+
loop?: ObjectDevices<boolean>;
|
|
55306
|
+
scrollMode?: ObjectDevices<"snap" | "free" | "free-snap">;
|
|
55307
|
+
slidesToShow?: ObjectDevices<number | "auto">;
|
|
55308
|
+
spacing?: ObjectDevices<number>;
|
|
55309
|
+
layout?: "grid" | "slider";
|
|
55310
|
+
dot?: ObjectDevices<boolean>;
|
|
55311
|
+
dotStyle?: ObjectDevices<"none" | "inside" | "outside">;
|
|
55312
|
+
arrow?: ObjectDevices<boolean>;
|
|
55313
|
+
controlOverContent?: ObjectDevices<boolean>;
|
|
55314
|
+
speed?: number;
|
|
55315
|
+
sameHeight?: boolean;
|
|
55316
|
+
} | null | undefined;
|
|
55317
|
+
};
|
|
55301
55318
|
|
|
55302
55319
|
declare const useSuspenseFetch: <T>(key: string | any[], promise: () => Promise<T>) => {
|
|
55303
55320
|
data: T;
|
|
@@ -55383,5 +55400,5 @@ declare const EMPTY_DEVICE_VALUE: undefined;
|
|
|
55383
55400
|
|
|
55384
55401
|
declare const BLACKLIST_TAGS: Set<string>;
|
|
55385
55402
|
|
|
55386
|
-
export { AddOn, AddonProvider, AnimationDirectionType, AnimationEasingType, AnimationSetting, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, appAPI as AppAPIType, ArticleListProvider, ArticleProvider, ArticlesDocument, BLACKLIST_TAGS, BlogsDocument, BuilderComponentProvider, BuilderPreviewProvider, BuilderProvider, CartLineProvider, CollectionDetailFilterDocument, CollectionDocument, CollectionProvider, CollectionsDocument, DEVICES, EMPTY_DEVICE_VALUE, GRADIENT_BGR_KEY, I18nProvider, InteractionTargetEvent, InteractionTriggerEvent, LibrarySaleFunnelDocument, LibraryTemplateDocument, ModalProvider, OptionNormalStyle, OptionSpecialStyle, PageProvider, PreviewThemePageDocument, ProductListProvider, ProductProvider, ProductVariantsWithSellingPlansDocument, ProductWithSellingPlansSelectFragment, ProductsWithSellingPlansDocument, PublishedShopMetasDocument, PublishedThemePagesDocument, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderModeEnv, RenderPreviewMemo as RenderPreview, SaleFunnelDiscountsDocument, SaleFunnelOfferDocument, SectionMode, SectionProvider, ShopLibraryPageDocument, ShopProvider, ShopShopifyDocument, shop as ShopType, StorePropertyDocument, ThemePageDocument, ThemePageMetaDocument, WrapRenderChildren, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkHasChangeContent, checkInStock, cloneDeep, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertDecimalToNumber, convertHTML, convertOldLayout, convertTextAlignToJustify, createStoreFrontFetcher, createTranslateKey, dataStringify, extractOuterTagContent, fetchMedias, fetchVariants, filterAttrInStyle, filterHoverVariables, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getColor, getCombinedBackgroundImage, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getGradientImageBgrStyleByDevice, getHashCode, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImage, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getThemeSectionTranslateKey, getValueByDevice, getValueSettingFromSchema, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, hasPublicStoreFrontData, hasTranslatedLiquid, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, replaceOuterTagContent, sanitizeLiquid, shopifyPriceRounding, splitStyle, styles, tGlobal as t, 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, useFetchHandle, useFormatMoney, useHasPreSelected, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePreviewSharePage, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductOffersQuery, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useRenderMode, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
55387
|
-
export type { AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationFadeSettingType, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationZoomSettingType, AppstleLoyaltyRewardProgramWidgetType, ArticleListProviderProps, ArticleProviderProps, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsQueryResponse, BlogsQueryVariables, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProviderProps, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProviderProps, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, FontStyleType, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProviderProps, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEventObject, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibrarySection, LibraryTemplate, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, Options$1 as Options, PaddingType, PageContext, PageProviderProps, PageSection, PageType, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProviderProps, ProductOffer, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductVariantsWithSellingPlansQueryResponse, ProductVariantsWithSellingPlansQueryVariables, ProductVariantsWithSellingPlansSelectFragment, ProductsQueryResponse, ProductsQueryVariables, ProductsWithSellingPlansDetailFragment, ProductsWithSellingPlansQueryResponse, ProductsWithSellingPlansQueryVariables, PublicStoreFrontData, PublishErrorSectionListEventDetail, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMode,
|
|
55403
|
+
export { AddOn, AddonProvider, AnimationDirectionType, AnimationEasingType, AnimationSetting, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, appAPI as AppAPIType, ArticleListProvider, ArticleProvider, ArticlesDocument, BLACKLIST_TAGS, BlogsDocument, BuilderComponentProvider, BuilderPreviewProvider, BuilderProvider, CartLineProvider, CollectionDetailFilterDocument, CollectionDocument, CollectionProvider, CollectionsDocument, DEVICES, EMPTY_DEVICE_VALUE, GRADIENT_BGR_KEY, I18nProvider, InteractionTargetEvent, InteractionTriggerEvent, LibrarySaleFunnelDocument, LibraryTemplateDocument, ModalProvider, OptionNormalStyle, OptionSpecialStyle, PageProvider, PreviewThemePageDocument, ProductListProvider, ProductProvider, ProductVariantsWithSellingPlansDocument, ProductWithSellingPlansSelectFragment, ProductsWithSellingPlansDocument, PublishedShopMetasDocument, PublishedThemePagesDocument, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderModeEnv, RenderPreviewMemo as RenderPreview, SaleFunnelDiscountsDocument, SaleFunnelOfferDocument, SectionMode, SectionProvider, ShopLibraryPageDocument, ShopProvider, ShopShopifyDocument, shop as ShopType, StorePropertyDocument, ThemePageDocument, ThemePageMetaDocument, WrapRenderChildren, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkHasChangeContent, checkInStock, cloneDeep, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertDecimalToNumber, convertHTML, convertOldLayout, convertTextAlignToJustify, createStoreFrontFetcher, createTranslateKey, dataStringify, extractOuterTagContent, fetchMedias, fetchVariants, filterAttrInStyle, filterHoverVariables, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getColor, getCombinedBackgroundImage, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getGradientImageBgrStyleByDevice, getHashCode, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImage, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getThemeSectionTranslateKey, getValueByDevice, getValueSettingFromSchema, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, hasPublicStoreFrontData, hasTranslatedLiquid, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, replaceOuterTagContent, sanitizeLiquid, shopifyPriceRounding, splitStyle, styles, tGlobal as t, 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, useFetchHandle, useFormatMoney, useHasPreSelected, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePreviewSharePage, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductOffersQuery, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useRenderMode, useSafeGetProductListSettings, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
55404
|
+
export type { AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationFadeSettingType, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationZoomSettingType, AppstleLoyaltyRewardProgramWidgetType, ArticleListProviderProps, ArticleProviderProps, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsQueryResponse, BlogsQueryVariables, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProviderProps, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProviderProps, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, FontStyleType, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProviderProps, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEventObject, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibrarySection, LibraryTemplate, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, Options$1 as Options, PaddingType, PageContext, PageProviderProps, PageSection, PageType, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProviderProps, ProductOffer, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductVariantsWithSellingPlansQueryResponse, ProductVariantsWithSellingPlansQueryVariables, ProductVariantsWithSellingPlansSelectFragment, ProductsQueryResponse, ProductsQueryVariables, ProductsWithSellingPlansDetailFragment, ProductsWithSellingPlansQueryResponse, ProductsWithSellingPlansQueryVariables, PublicStoreFrontData, PublishErrorSectionListEventDetail, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMode, ResponsiveKey, ResponsiveStateProp, ResultOldElementWithSectionId, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOffer, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionCategory, SectionData, SectionEntity, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIControl, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, Shop, ShopLibraryPage, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopLibrarySection, ShopProviderProps, ShopShopifyQueryResponse, ShopShopifyQueryVariables, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, TemplateCategory, TemplatePackage, Theme, ThemePage, ThemePageMetaQueryResponse, ThemePageMetaQueryVariables, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSection, ThemeSectionStatus$1 as ThemeSectionStatus, ThemeStyle, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Family, TypographyV2FontFamilyType, TypographyV2Props, UltimateSalesBoostWidgetType, UpdatableItemAttr, ValidateType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, YotpoReviewsWidgetType };
|