@gem-sdk/core 17.0.0-dev.73 → 17.0.0-dev.81

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.
@@ -1,2 +1 @@
1
- 'use client';
2
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("react"),t=require("../helpers/compose-advance-style.js"),a=require("./constant.js"),r=require("./RenderCustomCode.js"),d=require("../hooks/useRenderMode.js"),i=require("./animation/AnimationWrapper.js");exports.default=({children:n,pageType:l,...u})=>{let{isPreviewSharePageMode:c}=d.useRenderMode();if("section"===u.type)return null;let o=t.composeAdvanceStyle(u.advanced,u.tag,l),p=u.advanced,{animation:j}=p??{},m=j?.desktop?.enabled||j?.tablet?.enabled||j?.mobile?.enabled,v=()=>{let e={};return u.advanced?.displayInitInteraction!==void 0&&(e={"display-init":u.advanced?.displayInitInteraction===!1?"hide":"show","gp-interaction-wrapper":""}),e},x=e.jsx("div",{style:o,className:`${u.uid} ${p?.cssClass}`,...v(),children:n});return a.disableWrap.includes(u.tag)&&s.isValidElement(n)&&(x=e.jsxs(e.Fragment,{children:[e.jsx(r.default,{uid:u.uid,advanced:p}),e.jsx(n.type,{className:p?.cssClass,...n.props,style:o,advanced:p,builderAttrs:{...n.props.builderAttrs,...v()}})]})),m&&c&&(x=e.jsx(i.default,{settings:j,tag:u.tag??"",children:x})),e.jsxs(e.Fragment,{children:[e.jsx(r.default,{uid:u.uid,advanced:p}),x]})};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),s=require("../helpers/compose-advance-style.js"),t=require("./constant.js"),a=require("./RenderCustomerCode.server.js");exports.default=({children:i,pageType:d,...n})=>{if("section"===n.type)return null;let l=s.composeAdvanceStyle(n.advanced,n.tag,d),c=n.advanced,u=()=>{let e={};return n.advanced?.displayInitInteraction!==void 0&&(e={"display-init":n.advanced?.displayInitInteraction===!1?"hide":"show","gp-interaction-wrapper":""}),e};return t.disableWrap.includes(n.tag)&&r.isValidElement(i)?e.jsxs(e.Fragment,{children:[e.jsx(a.default,{uid:n.uid,advanced:c}),e.jsx(i.type,{className:c?.cssClass,...i.props,style:l,advanced:c,builderAttrs:{...i.props.builderAttrs,...u()}})]}):e.jsx(e.Fragment,{children:e.jsx("div",{style:l,...u(),className:`${n.uid} ${c?.cssClass}`,children:i})})};
@@ -0,0 +1,5 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({uid:r,advanced:t})=>{let{css:s,javascript:l,rootClassName:a}=t?.editorData||{},c=s?.replaceAll(a,r),n=l?.replaceAll(a,r);return e.jsxs(e.Fragment,{children:[!!s&&e.jsx("style",{id:`custom-css-${r}`,dangerouslySetInnerHTML:{__html:c}}),!!l&&e.jsx("script",{id:`custom-js-${r}`,dangerouslySetInnerHTML:{__html:`
2
+ try {
3
+ ${n}
4
+ } catch(err){}
5
+ `}})]})};
@@ -1,2 +1 @@
1
- 'use client';
2
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("../components/ComponentToolbarPreview.js");const t=t=>{let o=e.Children.toArray(t);return o=o.filter(e=>e?.type!=r.default),1>e.Children.count(o)||!t};exports.default=t,exports.isEmptyChildren=t;
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("./components/AddOn.js"),r=require("./components/Render.js"),t=require("./components/RenderPreview.js"),o=require("./components/Render.liquid.js"),s=require("./upsell-components/renderWidget.html.js"),i=require("./upsell-components/RenderPreviewUpsell.js"),a=require("./contexts/AddonContext.js"),p=require("./contexts/BuilderComponent.js"),l=require("./contexts/BuilderContext.js"),u=require("./contexts/BuilderPreviewContext.js"),n=require("./contexts/CartLineContext.js"),c=require("./contexts/ProductListContext.js"),d=require("./contexts/ProductContext.js"),x=require("./contexts/SectionContext.js"),g=require("./contexts/ShopContext.js"),S=require("./contexts/PageContext.js"),h=require("./contexts/CollectionContext.js"),y=require("./contexts/ModalContext.js"),m=require("./contexts/ArticleListContext.js"),C=require("./contexts/ArticleContext.js"),q=require("./contexts/I18nContext.js"),P=require("./contexts/BuilderPreviewUpsellContext.js"),v=require("./contexts/BuilderUpsellWidget.js"),j=require("./graphql/queries/collection-detail-filter.generated.js"),b=require("./graphql/queries/collection.generated.js"),k=require("./graphql/queries/collections.generated.js"),B=require("./graphql/queries/published-theme-pages.generated.js"),f=require("./graphql/queries/products.generated.js"),D=require("./graphql/queries/store-property.generated.js"),T=require("./graphql/queries/preview-page.generated.js"),A=require("./graphql/queries/published-shop-metas.generated.js"),R=require("./graphql/queries/shop-shopify.generated.js"),I=require("./graphql/queries/articles.generated.js"),G=require("./graphql/queries/blogs.generated.js"),L=require("./graphql/queries/products-with-selling-plans.generated.js"),V=require("./graphql/queries/product-variant-with-selling-plans.generated.js"),F=require("./graphql-app-api/queries/LibraryTemplate.generated.js"),w=require("./graphql-app-api/queries/ThemePage.generated.js"),O=require("./graphql-app-api/queries/SaleFunnelDiscounts.generated.js"),M=require("./graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js"),E=require("./graphql-app-api/queries/ShopLibraryPage.generated.js"),z=require("./graphql-app-api/queries/SaleFunnelOffer.generated.js"),U=require("./graphql-app-api/queries/ThemePageMeta.generated.js"),W=require("./helpers/borders.js"),H=require("./helpers/carousel.js"),Q=require("./helpers/cls.js"),K=require("./helpers/animations.js"),N=require("./helpers/filter-toolbar-preview.js"),_=require("./helpers/flatten-connection.js"),Y=require("./helpers/get-resonsive-value.js"),J=require("./helpers/get-shortname.js"),Z=require("./helpers/GlobalEvent.js"),X=require("./helpers/is-browser.js"),$=require("./helpers/is-empty-children.js"),ee=require("./helpers/is-safari.js"),er=require("./helpers/normalize-builder-data.js"),et=require("./helpers/prefetch-queries.js"),eo=require("./helpers/email.js"),es=require("./helpers/load-script.js"),ei=require("./helpers/spacing.js"),ea=require("./helpers/css-variable.js"),ep=require("./helpers/queries/get-products.js"),el=require("./helpers/tracking/fpixel.js"),eu=require("./helpers/tracking/gtag.js"),en=require("./helpers/tracking/tiktokpixel.js"),ec=require("./helpers/background.js"),ed=require("./helpers/backgroundImage.js"),ex=require("./helpers/colors.js"),eg=require("./helpers/compose-advance-style.js"),eS=require("./helpers/composeClasses.js"),eh=require("./helpers/convert.js"),ey=require("./helpers/covert-entities-html.js"),em=require("./helpers/icon-list.js"),eC=require("./helpers/is-defined.js"),eq=require("./helpers/layout.js"),eP=require("./helpers/make-style.js"),ev=require("./helpers/align.js"),ej=require("./helpers/filter-styles.js"),eb=require("./helpers/clone-deep.js"),ek=require("./helpers/liquid.js"),eB=require("./helpers/variant.js"),ef=require("./helpers/createTranslateKey.js"),eD=require("./helpers/getHashCode.js"),eT=require("./helpers/normalize-builder-upsell-data.js"),eA=require("./helpers/product.js"),eR=require("./helpers/query.js"),eI=require("./helpers/radius.js"),eG=require("./helpers/render.js"),eL=require("./helpers/shadow.js"),eV=require("./helpers/size.js"),eF=require("./helpers/typography.js"),ew=require("./hooks/articles/useArticlesQuery.js"),eO=require("./hooks/cart/use-add-to-cart.js"),eM=require("./hooks/cart/use-cart-data.js"),eE=require("./hooks/cart/use-cart-discount-codes-update.js"),ez=require("./hooks/cart/use-cart-note-update.js"),eU=require("./hooks/cart/use-create-cart.js"),eW=require("./hooks/cart/use-remove-cart-item.js"),eH=require("./hooks/cart/use-update-cart-item.js"),eQ=require("./hooks/shop.js"),eK=require("./hooks/shop/use-collection-query.js"),eN=require("./hooks/shop/use-collections-query.js"),e_=require("./hooks/shop/use-product-query.js"),eY=require("./hooks/shop/useProductOffersQuery.js"),eJ=require("./hooks/useFetchHandle.js"),eZ=require("./hooks/shop/use-products-query.js"),eX=require("./hooks/use-current-device.js"),e$=require("./hooks/use-lazy-video.js"),e0=require("./hooks/useCartId.js"),e1=require("./hooks/useCartLine.js"),e2=require("./hooks/useCartUI.js"),e8=require("./hooks/useCollection.js"),e3=require("./hooks/useFormatMoney.js"),e4=require("react"),e5=require("./hooks/useInitialSwatchesOptions.js"),e6=require("./hooks/useIsomorphicLayoutEffect.js"),e7=require("./hooks/useLoadScript.js"),e9=require("./hooks/useMoney.js"),re=require("./hooks/usePrevious.js"),rr=require("./hooks/useI18n.js"),rt=require("./hooks/useStickyStore.js"),ro=require("./hooks/useProduct.js"),rs=require("./hooks/shop/useShopifyLink.js"),ri=require("./hooks/useSuspenseFetch.js"),ra=require("./hooks/useSwatchesOptions.js"),rp=require("./hooks/useRenderMode.js"),rl=require("./hooks/usePreviewSharePage.js"),ru=require("./types/builder.js"),rn=require("./types/builderUpsell.js"),rc=require("./types/custom.js"),rd=require("./types/shop.js"),rx=require("./types/appAPI.js"),rg=require("./types/global-style.js"),rS=require("./types/animations.js"),rh=require("./helpers/queries/get-collection.js"),ry=require("./helpers/queries/get-product.js"),rm=require("./helpers/queries/get-product-by-slug.js"),rC=require("./helpers/third-party/getAppBlocks.js"),rq=require("./helpers/third-party/addAppBlockId.js"),rP=require("./helpers/interaction/index.js"),rv=require("./helpers/create-store-front-fetcher.js"),rj=require("./constants/index.js"),rb=require("./constants/device.js");exports.AddOn=e.default,exports.Render=r.default,exports.RenderPreview=t.default,exports.RenderChildren=o.RenderChildren,exports.RenderLiquid=o.default,exports.WrapRenderChildren=o.WrapRenderChildren,exports.RenderWidget=s.default,exports.RenderPreviewUpsell=i.default,exports.AddonProvider=a.AddonProvider,exports.useAddon=a.useAddon,exports.useAddons=a.useAddons,exports.BuilderComponentProvider=p.BuilderComponentProvider,exports.useBuilderComponent=p.useBuilderComponent,exports.BuilderProvider=l.BuilderProvider,exports.useBuilderStore=l.useBuilderStore,exports.BuilderPreviewProvider=u.BuilderPreviewProvider,exports.useBuilderPreviewStore=u.useBuilderPreviewStore,exports.CartLineProvider=n.CartLineProvider,exports.useCartLineStore=n.useCartLineStore,exports.ProductListProvider=c.ProductListProvider,exports.useProductListStore=c.useProductListStore,exports.ProductProvider=d.ProductProvider,exports.useProductStore=d.useProductStore,exports.SectionProvider=x.SectionProvider,exports.useSection=x.useSection,exports.useSectionStore=x.useSectionStore,exports.ShopProvider=g.ShopProvider,exports.useShopStore=g.useShopStore,exports.PageProvider=S.PageProvider,exports.usePageStore=S.usePageStore,exports.CollectionProvider=h.CollectionProvider,exports.useCollectionStore=h.useCollectionStore,exports.ModalProvider=y.ModalProvider,exports.useModalStore=y.useModalStore,exports.ArticleListProvider=m.ArticleListProvider,exports.useArticleListStore=m.useArticleListStore,exports.ArticleProvider=C.ArticleProvider,exports.useArticleStore=C.useArticleStore,exports.I18nProvider=q.I18nProvider,exports.useI18nStore=q.useI18nStore,exports.BuilderPreviewUpsellProvider=P.BuilderPreviewUpsellProvider,exports.useBuilderPreviewUpsellStore=P.useBuilderPreviewUpsellStore,exports.BuilderUpsellWidgetProvider=v.BuilderUpsellWidgetProvider,exports.CollectionDetailFilterDocument=j.CollectionDetailFilterDocument,exports.CollectionDocument=b.CollectionDocument,exports.CollectionsDocument=k.CollectionsDocument,exports.PublishedThemePagesDocument=B.PublishedThemePagesDocument,exports.ProductsDocument=f.ProductsDocument,exports.StorePropertyDocument=D.StorePropertyDocument,exports.PreviewThemePageDocument=T.PreviewThemePageDocument,exports.PublishedShopMetasDocument=A.PublishedShopMetasDocument,exports.ShopShopifyDocument=R.ShopShopifyDocument,exports.ArticlesDocument=I.ArticlesDocument,exports.BlogsDocument=G.BlogsDocument,exports.ProductWithSellingPlansSelectFragment=L.ProductWithSellingPlansSelectFragment,exports.ProductsWithSellingPlansDocument=L.ProductsWithSellingPlansDocument,exports.ProductVariantsWithSellingPlansDocument=V.ProductVariantsWithSellingPlansDocument,exports.LibraryTemplateDocument=F.LibraryTemplateDocument,exports.ThemePageDocument=w.ThemePageDocument,exports.SaleFunnelDiscountsDocument=O.SaleFunnelDiscountsDocument,exports.LibrarySaleFunnelDocument=M.LibrarySaleFunnelDocument,exports.ShopLibraryPageDocument=E.ShopLibraryPageDocument,exports.SaleFunnelOfferDocument=z.SaleFunnelOfferDocument,exports.ThemePageMetaDocument=U.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=H.getCarouselContainerHeight,exports.makeContainerWidthOrHeight=H.makeContainerWidthOrHeight,exports.makeDotGapToCarouselStyle=H.makeDotGapToCarouselStyle,exports.cls=Q.cls,exports.animations=K.animations,exports.filterToolbarPreview=N.default,exports.flattenConnection=_.flattenConnection,exports.getResponsiveStateValue=Y.getResponsiveStateValue,exports.getResponsiveValue=Y.getResponsiveValue,exports.getResponsiveValueByScreen=Y.getResponsiveValueByScreen,exports.isColumnDirectionExist=Y.isColumnDirectionExist,exports.getShortName=J.getShortName,exports.globalEvent=Z.default,exports.isBrowser=X.default,exports.isEmptyChildren=$.default,exports.isSafari=ee.default,exports.normalizeBuilderData=er.normalizeBuilderData,exports.prefetchQueries=et.prefetchQueries,exports.validateEmail=eo.validateEmail,exports.loadScript=es.loadScript,exports.composeSpacing=ei.composeSpacing,exports.getSpacingVariable=ei.getSpacingVariable,exports.genVariable=ea.genVariable,exports.getProductQueryAll=ep.getProductQueryAll,exports.getProducts=ep.getProducts,exports.fpixel=el,exports.gtag=eu,exports.tiktokpixel=en,exports.GRADIENT_BGR_KEY=ec.GRADIENT_BGR_KEY,exports.composeBackgroundCss=ec.composeBackgroundCss,exports.getBgByDevice=ec.getBgByDevice,exports.getBgImageByDevice=ec.getBgImageByDevice,exports.getBgVideoByDevice=ec.getBgVideoByDevice,exports.getColor=ec.getColor,exports.getCombinedBackgroundImage=ec.getCombinedBackgroundImage,exports.getGradientBgrStyleByDevice=ec.getGradientBgrStyleByDevice,exports.getGradientBgrStyleForButton=ec.getGradientBgrStyleForButton,exports.getGradientImageBgrStyleByDevice=ec.getGradientImageBgrStyleByDevice,exports.getStyleBackgroundByDevice=ec.getStyleBackgroundByDevice,exports.getStyleBgColor=ec.getStyleBgColor,exports.makeFixedBgAttachment=ec.makeFixedBgAttachment,exports.composeBackgroundImageCss=ed.composeBackgroundImageCss,exports.getBgImageSourceByDevice=ed.getBgImageSourceByDevice,exports.getStyleBackgroundImage=ed.getStyleBackgroundImage,exports.getStyleBgImageSource=ed.getStyleBgImageSource,exports.composeTextColorCss=ex.composeTextColorCss,exports.getGlobalColorCSSProp=ex.getGlobalColorCSSProp,exports.getGlobalColorClass=ex.getGlobalColorClass,exports.getGlobalColorResponsiveClass=ex.getGlobalColorResponsiveClass,exports.getGlobalColorResponsiveStyle=ex.getGlobalColorResponsiveStyle,exports.getGlobalColorStateClass=ex.getGlobalColorStateClass,exports.getGlobalColorStateClassDynamicBtn=ex.getGlobalColorStateClassDynamicBtn,exports.getGlobalColorStateResponsiveClass=ex.getGlobalColorStateResponsiveClass,exports.getGlobalColorStateResponsiveClassDynamicBtn=ex.getGlobalColorStateResponsiveClassDynamicBtn,exports.getGlobalColorStateResponsiveStyle=ex.getGlobalColorStateResponsiveStyle,exports.getGlobalColorStateStyle=ex.getGlobalColorStateStyle,exports.getGlobalColorStyle=ex.getGlobalColorStyle,exports.getSingleColorVariable=ex.getSingleColorVariable,exports.isColor=ex.isColor,exports.composeAdvanceStyle=eg.composeAdvanceStyle,exports.composeAdvanceStyleForPostPurchase=eg.composeAdvanceStyleForPostPurchase,exports.convertBoxShadowV1ToV2=eg.convertBoxShadowV1ToV2,exports.filterAttrInStyle=eg.filterAttrInStyle,exports.getCornerStyle=eg.getCornerStyle,exports.removeAttrInStyle=eg.removeAttrInStyle,exports.removePaddingYInStyle=eg.removePaddingYInStyle,exports.splitStyle=eg.splitStyle,exports.composeClasses=eS.composeClasses,exports.baseAssetURL=eh.baseAssetURL,exports.isLocalEnv=eh.isLocalEnv,exports.convertHTML=ey.convertHTML,exports.composePositionLineHeight=em.composePositionLineHeight,exports.composePostionIconList=em.composePostionIconList,exports.isDefined=eC.isDefined,exports.composeGridLayout=eq.composeGridLayout,exports.convertOldLayout=eq.convertOldLayout,exports.getLayoutClasses=eq.getLayoutClasses,exports.gridToArrayRegex=eq.gridToArrayRegex,exports.optionLayoutStyle=eq.optionLayoutStyle,exports.makeAspectRatio=eP.makeAspectRatio,exports.makeGlobalSizeHeightResponsive=eP.makeGlobalSizeHeightResponsive,exports.makeGlobalSizeWidthResponsive=eP.makeGlobalSizeWidthResponsive,exports.makeHeight=eP.makeHeight,exports.makeLineClamp=eP.makeLineClamp,exports.makeStyle=eP.makeStyle,exports.makeStyleKey=eP.makeStyleKey,exports.makeStyleResponsive=eP.makeStyleResponsive,exports.makeStyleResponsiveByScreen=eP.makeStyleResponsiveByScreen,exports.makeStyleResponsiveState=eP.makeStyleResponsiveState,exports.makeStyleResponsiveWidth=eP.makeStyleResponsiveWidth,exports.makeStyleResponsiveWidthWithoutAuto=eP.makeStyleResponsiveWidthWithoutAuto,exports.makeStyleState=eP.makeStyleState,exports.makeWidth=eP.makeWidth,exports.removeNullUndefined=eP.removeNullUndefined,exports.convertTextAlignToJustify=ev.convertTextAlignToJustify,exports.getAlignmentClasses=ev.getAlignmentClasses,exports.filterHoverVariables=ej.filterHoverVariables,exports.filterTruthyStyles=ej.filterTruthyStyles,exports.cloneDeep=eb.cloneDeep,exports.hasTranslatedLiquid=ek.hasTranslatedLiquid,exports.checkInStock=eB.checkInStock,exports.checkHasChangeContent=ef.checkHasChangeContent,exports.createTranslateKey=ef.createTranslateKey,exports.extractOuterTagContent=ef.extractOuterTagContent,exports.getThemeSectionTranslateKey=ef.getThemeSectionTranslateKey,exports.getValueSettingFromSchema=ef.getValueSettingFromSchema,exports.replaceOuterTagContent=ef.replaceOuterTagContent,exports.getHashCode=eD.getHashCode,exports.normalizeBuilderUpsellData=eT.normalizeBuilderUpsellData,exports.checkAvailableVariantInStock=eA.checkAvailableVariantInStock,exports.getSelectedVariant=eA.getSelectedVariant,exports.parseSelectedOption=eA.parseSelectedOption,exports.generateCollectionQueryKey=eR.generateCollectionQueryKey,exports.generateProductQueryKey=eR.generateProductQueryKey,exports.generateProductsQueryKey=eR.generateProductsQueryKey,exports.composeCornerCss=eI.composeCornerCss,exports.composeRadius=eI.composeRadius,exports.composeRadiusResponsive=eI.composeRadiusResponsive,exports.getCornerCSSFromGlobal=eI.getCornerCSSFromGlobal,exports.getCustomRadius=eI.getCustomRadius,exports.getRadiusCSSFromGlobal=eI.getRadiusCSSFromGlobal,exports.getRadiusStyleActiveState=eI.getRadiusStyleActiveState,exports.RenderIf=eG.RenderIf,exports.composeMemo=eG.composeMemo,exports.dataStringify=eG.dataStringify,exports.props=eG.props,exports.removeUndefinedValuesFromObject=eG.removeUndefinedValuesFromObject,exports.sanitizeLiquid=eG.sanitizeLiquid,exports.styles=eG.styles,exports.template=eG.template,exports.composeShadow=eL.composeShadow,exports.composeShadowCss=eL.composeShadowCss,exports.getResponsiveStyleShadow=eL.getResponsiveStyleShadow,exports.getResponsiveStyleShadowWithoutState=eL.getResponsiveStyleShadowWithoutState,exports.getStyleShadow=eL.getStyleShadow,exports.getStyleShadowState=eL.getStyleShadowState,exports.parseValueWithUnit=eL.parseValueWithUnit,exports.composeSize=eV.composeSize,exports.composeSizeCss=eV.composeSizeCss,exports.genSizeClass=eV.genSizeClass,exports.getAspectRatioGlobalSize=eV.getAspectRatioGlobalSize,exports.getFlexGrowClassByShapeGlobalSize=eV.getFlexGrowClassByShapeGlobalSize,exports.getGlobalSizeGap=eV.getGlobalSizeGap,exports.getHeightByShapeGlobalSize=eV.getHeightByShapeGlobalSize,exports.getPaddingGlobalSize=eV.getPaddingGlobalSize,exports.getPaddingStyleByDevice=eV.getPaddingStyleByDevice,exports.getResponsiveStylePadding=eV.getResponsiveStylePadding,exports.getValueByDevice=eV.getValueByDevice,exports.getWidthByShapeGlobalSize=eV.getWidthByShapeGlobalSize,exports.getWidthHeightGlobalSize=eV.getWidthHeightGlobalSize,exports.makeGlobalSize=eV.makeGlobalSize,exports.makeGlobalSizeIcon=eV.makeGlobalSizeIcon,exports.makeStyleWithDefault=eV.makeStyleWithDefault,exports.composeFallbackTypographyStyle=eF.composeFallbackTypographyStyle,exports.composeFontFamilyTypographyV2=eF.composeFontFamilyTypographyV2,exports.composeTextHoverColorCss=eF.composeTextHoverColorCss,exports.composeTypography=eF.composeTypography,exports.composeTypographyAttr=eF.composeTypographyAttr,exports.composeTypographyClassName=eF.composeTypographyClassName,exports.composeTypographyCss=eF.composeTypographyCss,exports.composeTypographyStyle=eF.composeTypographyStyle,exports.composeTypographyV2=eF.composeTypographyV2,exports.composeTypographyV2Css=eF.composeTypographyV2Css,exports.genTypoClass=eF.genTypoClass,exports.useArticlesQuery=ew.useArticlesQuery,exports.useBlogsQuery=ew.useBlogsQuery,exports.useAddToCart=eO.useAddToCart,exports.useCartData=eM.useCartData,exports.useCartDiscountCodesUpdate=eE.useCartDiscountCodesUpdate,exports.useCartNoteUpdate=ez.useCartNoteUpdate,exports.useCreateCart=eU.useCreateCart,exports.useRemoveCartItem=eW.useRemoveCartItem,exports.useUpdateCartItem=eH.useUpdateCartItem,exports.useCheckoutUrl=eQ.useCheckoutUrl,exports.useConnectedShopify=eQ.useConnectedShopify,exports.useCurrency=eQ.useCurrency,exports.useEditorMode=eQ.useEditorMode,exports.useIsSampleProduct=eQ.useIsSampleProduct,exports.useIsStorefrontProduct=eQ.useIsStorefrontProduct,exports.useLocale=eQ.useLocale,exports.useMatchMutate=eQ.useMatchMutate,exports.useMobileOnly=eQ.useMobileOnly,exports.useMoneyFormat=eQ.useMoneyFormat,exports.usePageType=eQ.usePageType,exports.usePluginEnable=eQ.usePluginEnable,exports.useStoreFront=eQ.useStoreFront,exports.useSwatches=eQ.useSwatches,exports.useTimezone=eQ.useTimezone,exports.useCollectionQuery=eK.useCollectionQuery,exports.useCollectionsQuery=eN.useCollectionsQuery,exports.useProductQuery=e_.useProductQuery,exports.useProductOffersQuery=eY.useProductOffersQuery,exports.useFetchHandle=eJ.useFetchHandle,exports.useProductsQuery=eZ.useProductsQuery,exports.useProductsQueryAll=eZ.useProductsQueryAll,exports.useCurrentDevice=eX.useCurrentDevice,exports.useLazyVideo=e$.useLazyVideo,exports.useCartId=e0.default,exports.useCartLine=e1.default,exports.useCartUI=e2.default,exports.useCollection=e8.useCollection,exports.convertDecimalToNumber=e3.convertDecimalToNumber,exports.formatMoney=e3.formatMoney,exports.shopifyPriceRounding=e3.shopifyPriceRounding,exports.useFormatMoney=e3.useFormatMoney,Object.defineProperty(exports,"useId",{enumerable:!0,get:function(){return e4.useId}}),exports.useInitialSwatchesOptions=e5.default,exports.useIsomorphicLayoutEffect=e6.default,exports.useLoadScript=e7.default,exports.useMoney=e9.default,exports.usePrevious=re.usePrevious,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return rr.tGlobal}}),exports.useI18n=rr.useI18n,exports.useStickyStore=rt.useStickyStore,exports.useCheckAvailableVariantInStock=ro.useCheckAvailableVariantInStock,exports.useCurrentVariant=ro.useCurrentVariant,exports.useCurrentVariantInStock=ro.useCurrentVariantInStock,exports.useFeaturedImageGlobal=ro.useFeaturedImageGlobal,exports.useHasPreSelected=ro.useHasPreSelected,exports.useIsSyncProduct=ro.useIsSyncProduct,exports.useProduct=ro.useProduct,exports.useProductBundleDiscount=ro.useProductBundleDiscount,exports.useProductOfferDiscount=ro.useProductOfferDiscount,exports.useProductProperties=ro.useProductProperties,exports.useProductShopifyEditLink=ro.useProductShopifyEditLink,exports.useQuantity=ro.useQuantity,exports.useSelectedOption=ro.useSelectedOption,exports.useUniqProductID=ro.useUniqProductID,exports.useVariant=ro.useVariant,exports.useVariantOutStock=ro.useVariantOutStock,exports.useVariants=ro.useVariants,exports.useShopifyLink=rs.useShopifyLink,exports.useSuspenseFetch=ri.default,exports.useSwatchesOptions=ra.default,exports.useRenderMode=rp.useRenderMode,exports.usePreviewSharePage=rl.usePreviewSharePage,Object.defineProperty(exports,"RenderModeEnv",{enumerable:!0,get:function(){return ru.RenderModeEnv}}),Object.defineProperty(exports,"RenderModeUpsellEnv",{enumerable:!0,get:function(){return rn.RenderModeUpsellEnv}}),Object.defineProperty(exports,"InteractionTargetEvent",{enumerable:!0,get:function(){return rc.InteractionTargetEvent}}),Object.defineProperty(exports,"InteractionTriggerEvent",{enumerable:!0,get:function(){return rc.InteractionTriggerEvent}}),Object.defineProperty(exports,"SectionMode",{enumerable:!0,get:function(){return rc.SectionMode}}),exports.ShopType=rd,exports.AppAPIType=rx,exports.OptionNormalStyle=rg.OptionNormalStyle,exports.OptionSpecialStyle=rg.OptionSpecialStyle,Object.defineProperty(exports,"AnimationDirectionType",{enumerable:!0,get:function(){return rS.AnimationDirectionType}}),Object.defineProperty(exports,"AnimationEasingType",{enumerable:!0,get:function(){return rS.AnimationEasingType}}),Object.defineProperty(exports,"AnimationSetting",{enumerable:!0,get:function(){return rS.AnimationSetting}}),Object.defineProperty(exports,"AnimationTriggerType",{enumerable:!0,get:function(){return rS.AnimationTriggerType}}),Object.defineProperty(exports,"AnimationType",{enumerable:!0,get:function(){return rS.AnimationType}}),Object.defineProperty(exports,"AnimationZoomDirectionType",{enumerable:!0,get:function(){return rS.AnimationZoomDirectionType}}),exports.calculateFirstProduct=rh.calculateFirstProduct,exports.getCollection=rh.getCollection,exports.fetchMedias=ry.fetchMedias,exports.fetchVariants=ry.fetchVariants,exports.getProduct=ry.getProduct,exports.getProductBySlug=rm.getProductBySlug,exports.getAppBlocks=rC.getAppBlocks,exports.addAppBlockId=rq.addAppBlockId,exports.useInteraction=rP.useInteraction,exports.createStoreFrontFetcher=rv.createStoreFrontFetcher,exports.hasPublicStoreFrontData=rv.hasPublicStoreFrontData,exports.BLACKLIST_TAGS=rj.BLACKLIST_TAGS,exports.DEVICES=rb.DEVICES,exports.EMPTY_DEVICE_VALUE=rb.EMPTY_DEVICE_VALUE;
1
+ "use strict";var e=require("./components/AddOn.js"),r=require("./components/Render.js"),t=require("./components/RenderPreview.js"),o=require("./components/Render.liquid.js"),s=require("./components/ComponentWrapper.server.js"),i=require("./upsell-components/renderWidget.html.js"),a=require("./upsell-components/RenderPreviewUpsell.js"),p=require("./contexts/AddonContext.js"),l=require("./contexts/BuilderComponent.js"),u=require("./contexts/BuilderContext.js"),n=require("./contexts/BuilderPreviewContext.js"),c=require("./contexts/CartLineContext.js"),d=require("./contexts/ProductListContext.js"),x=require("./contexts/ProductContext.js"),g=require("./contexts/SectionContext.js"),S=require("./contexts/ShopContext.js"),h=require("./contexts/PageContext.js"),y=require("./contexts/CollectionContext.js"),m=require("./contexts/ModalContext.js"),C=require("./contexts/ArticleListContext.js"),q=require("./contexts/ArticleContext.js"),P=require("./contexts/I18nContext.js"),v=require("./contexts/BuilderPreviewUpsellContext.js"),j=require("./contexts/BuilderUpsellWidget.js"),b=require("./graphql/queries/collection-detail-filter.generated.js"),k=require("./graphql/queries/collection.generated.js"),B=require("./graphql/queries/collections.generated.js"),f=require("./graphql/queries/published-theme-pages.generated.js"),D=require("./graphql/queries/products.generated.js"),T=require("./graphql/queries/store-property.generated.js"),A=require("./graphql/queries/preview-page.generated.js"),R=require("./graphql/queries/published-shop-metas.generated.js"),I=require("./graphql/queries/shop-shopify.generated.js"),G=require("./graphql/queries/articles.generated.js"),L=require("./graphql/queries/blogs.generated.js"),V=require("./graphql/queries/products-with-selling-plans.generated.js"),F=require("./graphql/queries/product-variant-with-selling-plans.generated.js"),w=require("./graphql-app-api/queries/LibraryTemplate.generated.js"),O=require("./graphql-app-api/queries/ThemePage.generated.js"),M=require("./graphql-app-api/queries/SaleFunnelDiscounts.generated.js"),E=require("./graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js"),z=require("./graphql-app-api/queries/ShopLibraryPage.generated.js"),W=require("./graphql-app-api/queries/SaleFunnelOffer.generated.js"),U=require("./graphql-app-api/queries/ThemePageMeta.generated.js"),H=require("./helpers/borders.js"),Q=require("./helpers/carousel.js"),K=require("./helpers/cls.js"),N=require("./helpers/animations.js"),_=require("./helpers/filter-toolbar-preview.js"),Y=require("./helpers/flatten-connection.js"),J=require("./helpers/get-resonsive-value.js"),Z=require("./helpers/get-shortname.js"),X=require("./helpers/GlobalEvent.js"),$=require("./helpers/is-browser.js"),ee=require("./helpers/is-empty-children.js"),er=require("./helpers/is-safari.js"),et=require("./helpers/normalize-builder-data.js"),eo=require("./helpers/prefetch-queries.js"),es=require("./helpers/email.js"),ei=require("./helpers/load-script.js"),ea=require("./helpers/spacing.js"),ep=require("./helpers/css-variable.js"),el=require("./helpers/queries/get-products.js"),eu=require("./helpers/tracking/fpixel.js"),en=require("./helpers/tracking/gtag.js"),ec=require("./helpers/tracking/tiktokpixel.js"),ed=require("./helpers/background.js"),ex=require("./helpers/backgroundImage.js"),eg=require("./helpers/colors.js"),eS=require("./helpers/compose-advance-style.js"),eh=require("./helpers/composeClasses.js"),ey=require("./helpers/convert.js"),em=require("./helpers/covert-entities-html.js"),eC=require("./helpers/icon-list.js"),eq=require("./helpers/is-defined.js"),eP=require("./helpers/layout.js"),ev=require("./helpers/make-style.js"),ej=require("./helpers/align.js"),eb=require("./helpers/filter-styles.js"),ek=require("./helpers/clone-deep.js"),eB=require("./helpers/liquid.js"),ef=require("./helpers/variant.js"),eD=require("./helpers/createTranslateKey.js"),eT=require("./helpers/getHashCode.js"),eA=require("./helpers/normalize-builder-upsell-data.js"),eR=require("./helpers/product.js"),eI=require("./helpers/query.js"),eG=require("./helpers/radius.js"),eL=require("./helpers/render.js"),eV=require("./helpers/shadow.js"),eF=require("./helpers/size.js"),ew=require("./helpers/typography.js"),eO=require("./hooks/articles/useArticlesQuery.js"),eM=require("./hooks/cart/use-add-to-cart.js"),eE=require("./hooks/cart/use-cart-data.js"),ez=require("./hooks/cart/use-cart-discount-codes-update.js"),eW=require("./hooks/cart/use-cart-note-update.js"),eU=require("./hooks/cart/use-create-cart.js"),eH=require("./hooks/cart/use-remove-cart-item.js"),eQ=require("./hooks/cart/use-update-cart-item.js"),eK=require("./hooks/shop.js"),eN=require("./hooks/shop/use-collection-query.js"),e_=require("./hooks/shop/use-collections-query.js"),eY=require("./hooks/shop/use-product-query.js"),eJ=require("./hooks/shop/useProductOffersQuery.js"),eZ=require("./hooks/useFetchHandle.js"),eX=require("./hooks/shop/use-products-query.js"),e$=require("./hooks/use-current-device.js"),e0=require("./hooks/use-lazy-video.js"),e1=require("./hooks/useCartId.js"),e2=require("./hooks/useCartLine.js"),e8=require("./hooks/useCartUI.js"),e3=require("./hooks/useCollection.js"),e4=require("./hooks/useFormatMoney.js"),e5=require("react"),e6=require("./hooks/useInitialSwatchesOptions.js"),e7=require("./hooks/useIsomorphicLayoutEffect.js"),e9=require("./hooks/useLoadScript.js"),re=require("./hooks/useMoney.js"),rr=require("./hooks/usePrevious.js"),rt=require("./hooks/useI18n.js"),ro=require("./hooks/useStickyStore.js"),rs=require("./hooks/useProduct.js"),ri=require("./hooks/shop/useShopifyLink.js"),ra=require("./hooks/useSuspenseFetch.js"),rp=require("./hooks/useSwatchesOptions.js"),rl=require("./hooks/useRenderMode.js"),ru=require("./hooks/usePreviewSharePage.js"),rn=require("./types/builder.js"),rc=require("./types/builderUpsell.js"),rd=require("./types/custom.js"),rx=require("./types/shop.js"),rg=require("./types/appAPI.js"),rS=require("./types/global-style.js"),rh=require("./types/animations.js"),ry=require("./helpers/queries/get-collection.js"),rm=require("./helpers/queries/get-product.js"),rC=require("./helpers/queries/get-product-by-slug.js"),rq=require("./helpers/third-party/getAppBlocks.js"),rP=require("./helpers/third-party/addAppBlockId.js"),rv=require("./helpers/interaction/index.js"),rj=require("./helpers/create-store-front-fetcher.js"),rb=require("./constants/index.js"),rk=require("./constants/device.js");exports.AddOn=e.default,exports.Render=r.default,exports.RenderPreview=t.default,exports.RenderChildren=o.RenderChildren,exports.RenderLiquid=o.default,exports.WrapRenderChildren=o.WrapRenderChildren,exports.ComponentWrapperServer=s.default,exports.RenderWidget=i.default,exports.RenderPreviewUpsell=a.default,exports.AddonProvider=p.AddonProvider,exports.useAddon=p.useAddon,exports.useAddons=p.useAddons,exports.BuilderComponentProvider=l.BuilderComponentProvider,exports.useBuilderComponent=l.useBuilderComponent,exports.BuilderProvider=u.BuilderProvider,exports.useBuilderStore=u.useBuilderStore,exports.BuilderPreviewProvider=n.BuilderPreviewProvider,exports.useBuilderPreviewStore=n.useBuilderPreviewStore,exports.CartLineProvider=c.CartLineProvider,exports.useCartLineStore=c.useCartLineStore,exports.ProductListProvider=d.ProductListProvider,exports.useProductListStore=d.useProductListStore,exports.ProductProvider=x.ProductProvider,exports.useProductStore=x.useProductStore,exports.SectionProvider=g.SectionProvider,exports.useSection=g.useSection,exports.useSectionStore=g.useSectionStore,exports.ShopProvider=S.ShopProvider,exports.useShopStore=S.useShopStore,exports.PageProvider=h.PageProvider,exports.usePageStore=h.usePageStore,exports.CollectionProvider=y.CollectionProvider,exports.useCollectionStore=y.useCollectionStore,exports.ModalProvider=m.ModalProvider,exports.useModalStore=m.useModalStore,exports.ArticleListProvider=C.ArticleListProvider,exports.useArticleListStore=C.useArticleListStore,exports.ArticleProvider=q.ArticleProvider,exports.useArticleStore=q.useArticleStore,exports.I18nProvider=P.I18nProvider,exports.useI18nStore=P.useI18nStore,exports.BuilderPreviewUpsellProvider=v.BuilderPreviewUpsellProvider,exports.useBuilderPreviewUpsellStore=v.useBuilderPreviewUpsellStore,exports.BuilderUpsellWidgetProvider=j.BuilderUpsellWidgetProvider,exports.CollectionDetailFilterDocument=b.CollectionDetailFilterDocument,exports.CollectionDocument=k.CollectionDocument,exports.CollectionsDocument=B.CollectionsDocument,exports.PublishedThemePagesDocument=f.PublishedThemePagesDocument,exports.ProductsDocument=D.ProductsDocument,exports.StorePropertyDocument=T.StorePropertyDocument,exports.PreviewThemePageDocument=A.PreviewThemePageDocument,exports.PublishedShopMetasDocument=R.PublishedShopMetasDocument,exports.ShopShopifyDocument=I.ShopShopifyDocument,exports.ArticlesDocument=G.ArticlesDocument,exports.BlogsDocument=L.BlogsDocument,exports.ProductWithSellingPlansSelectFragment=V.ProductWithSellingPlansSelectFragment,exports.ProductsWithSellingPlansDocument=V.ProductsWithSellingPlansDocument,exports.ProductVariantsWithSellingPlansDocument=F.ProductVariantsWithSellingPlansDocument,exports.LibraryTemplateDocument=w.LibraryTemplateDocument,exports.ThemePageDocument=O.ThemePageDocument,exports.SaleFunnelDiscountsDocument=M.SaleFunnelDiscountsDocument,exports.LibrarySaleFunnelDocument=E.LibrarySaleFunnelDocument,exports.ShopLibraryPageDocument=z.ShopLibraryPageDocument,exports.SaleFunnelOfferDocument=W.SaleFunnelOfferDocument,exports.ThemePageMetaDocument=U.ThemePageMetaDocument,exports.composeBorderCss=H.composeBorderCss,exports.composeBorderResponsive=H.composeBorderResponsive,exports.getBorderRadiusStyle=H.getBorderRadiusStyle,exports.getBorderStyle=H.getBorderStyle,exports.handleConvertBorderColor=H.handleConvertBorderColor,exports.handleConvertBorderStyle=H.handleConvertBorderStyle,exports.handleConvertBorderWidth=H.handleConvertBorderWidth,exports.handleConvertClassColor=H.handleConvertClassColor,exports.handleConvertClassColorDynamicBtn=H.handleConvertClassColorDynamicBtn,exports.handleConvertInputBorderColor=H.handleConvertInputBorderColor,exports.getCarouselContainerHeight=Q.getCarouselContainerHeight,exports.makeContainerWidthOrHeight=Q.makeContainerWidthOrHeight,exports.makeDotGapToCarouselStyle=Q.makeDotGapToCarouselStyle,exports.cls=K.cls,exports.animations=N.animations,exports.filterToolbarPreview=_.default,exports.flattenConnection=Y.flattenConnection,exports.getResponsiveStateValue=J.getResponsiveStateValue,exports.getResponsiveValue=J.getResponsiveValue,exports.getResponsiveValueByScreen=J.getResponsiveValueByScreen,exports.isColumnDirectionExist=J.isColumnDirectionExist,exports.getShortName=Z.getShortName,exports.globalEvent=X.default,exports.isBrowser=$.default,exports.isEmptyChildren=ee.default,exports.isSafari=er.default,exports.normalizeBuilderData=et.normalizeBuilderData,exports.prefetchQueries=eo.prefetchQueries,exports.validateEmail=es.validateEmail,exports.loadScript=ei.loadScript,exports.composeSpacing=ea.composeSpacing,exports.getSpacingVariable=ea.getSpacingVariable,exports.genVariable=ep.genVariable,exports.getProductQueryAll=el.getProductQueryAll,exports.getProducts=el.getProducts,exports.fpixel=eu,exports.gtag=en,exports.tiktokpixel=ec,exports.GRADIENT_BGR_KEY=ed.GRADIENT_BGR_KEY,exports.composeBackgroundCss=ed.composeBackgroundCss,exports.getBgByDevice=ed.getBgByDevice,exports.getBgImageByDevice=ed.getBgImageByDevice,exports.getBgVideoByDevice=ed.getBgVideoByDevice,exports.getColor=ed.getColor,exports.getCombinedBackgroundImage=ed.getCombinedBackgroundImage,exports.getGradientBgrStyleByDevice=ed.getGradientBgrStyleByDevice,exports.getGradientBgrStyleForButton=ed.getGradientBgrStyleForButton,exports.getGradientImageBgrStyleByDevice=ed.getGradientImageBgrStyleByDevice,exports.getStyleBackgroundByDevice=ed.getStyleBackgroundByDevice,exports.getStyleBgColor=ed.getStyleBgColor,exports.makeFixedBgAttachment=ed.makeFixedBgAttachment,exports.composeBackgroundImageCss=ex.composeBackgroundImageCss,exports.getBgImageSourceByDevice=ex.getBgImageSourceByDevice,exports.getStyleBackgroundImage=ex.getStyleBackgroundImage,exports.getStyleBgImageSource=ex.getStyleBgImageSource,exports.composeTextColorCss=eg.composeTextColorCss,exports.getGlobalColorCSSProp=eg.getGlobalColorCSSProp,exports.getGlobalColorClass=eg.getGlobalColorClass,exports.getGlobalColorResponsiveClass=eg.getGlobalColorResponsiveClass,exports.getGlobalColorResponsiveStyle=eg.getGlobalColorResponsiveStyle,exports.getGlobalColorStateClass=eg.getGlobalColorStateClass,exports.getGlobalColorStateClassDynamicBtn=eg.getGlobalColorStateClassDynamicBtn,exports.getGlobalColorStateResponsiveClass=eg.getGlobalColorStateResponsiveClass,exports.getGlobalColorStateResponsiveClassDynamicBtn=eg.getGlobalColorStateResponsiveClassDynamicBtn,exports.getGlobalColorStateResponsiveStyle=eg.getGlobalColorStateResponsiveStyle,exports.getGlobalColorStateStyle=eg.getGlobalColorStateStyle,exports.getGlobalColorStyle=eg.getGlobalColorStyle,exports.getSingleColorVariable=eg.getSingleColorVariable,exports.isColor=eg.isColor,exports.composeAdvanceStyle=eS.composeAdvanceStyle,exports.composeAdvanceStyleForPostPurchase=eS.composeAdvanceStyleForPostPurchase,exports.convertBoxShadowV1ToV2=eS.convertBoxShadowV1ToV2,exports.filterAttrInStyle=eS.filterAttrInStyle,exports.getCornerStyle=eS.getCornerStyle,exports.removeAttrInStyle=eS.removeAttrInStyle,exports.removePaddingYInStyle=eS.removePaddingYInStyle,exports.splitStyle=eS.splitStyle,exports.composeClasses=eh.composeClasses,exports.baseAssetURL=ey.baseAssetURL,exports.isLocalEnv=ey.isLocalEnv,exports.convertHTML=em.convertHTML,exports.composePositionLineHeight=eC.composePositionLineHeight,exports.composePostionIconList=eC.composePostionIconList,exports.isDefined=eq.isDefined,exports.composeGridLayout=eP.composeGridLayout,exports.convertOldLayout=eP.convertOldLayout,exports.getLayoutClasses=eP.getLayoutClasses,exports.gridToArrayRegex=eP.gridToArrayRegex,exports.optionLayoutStyle=eP.optionLayoutStyle,exports.makeAspectRatio=ev.makeAspectRatio,exports.makeGlobalSizeHeightResponsive=ev.makeGlobalSizeHeightResponsive,exports.makeGlobalSizeWidthResponsive=ev.makeGlobalSizeWidthResponsive,exports.makeHeight=ev.makeHeight,exports.makeLineClamp=ev.makeLineClamp,exports.makeStyle=ev.makeStyle,exports.makeStyleKey=ev.makeStyleKey,exports.makeStyleResponsive=ev.makeStyleResponsive,exports.makeStyleResponsiveByScreen=ev.makeStyleResponsiveByScreen,exports.makeStyleResponsiveState=ev.makeStyleResponsiveState,exports.makeStyleResponsiveWidth=ev.makeStyleResponsiveWidth,exports.makeStyleResponsiveWidthWithoutAuto=ev.makeStyleResponsiveWidthWithoutAuto,exports.makeStyleState=ev.makeStyleState,exports.makeWidth=ev.makeWidth,exports.removeNullUndefined=ev.removeNullUndefined,exports.convertTextAlignToJustify=ej.convertTextAlignToJustify,exports.getAlignmentClasses=ej.getAlignmentClasses,exports.filterHoverVariables=eb.filterHoverVariables,exports.filterTruthyStyles=eb.filterTruthyStyles,exports.cloneDeep=ek.cloneDeep,exports.hasTranslatedLiquid=eB.hasTranslatedLiquid,exports.checkInStock=ef.checkInStock,exports.checkHasChangeContent=eD.checkHasChangeContent,exports.createTranslateKey=eD.createTranslateKey,exports.extractOuterTagContent=eD.extractOuterTagContent,exports.getThemeSectionTranslateKey=eD.getThemeSectionTranslateKey,exports.getValueSettingFromSchema=eD.getValueSettingFromSchema,exports.replaceOuterTagContent=eD.replaceOuterTagContent,exports.getHashCode=eT.getHashCode,exports.normalizeBuilderUpsellData=eA.normalizeBuilderUpsellData,exports.checkAvailableVariantInStock=eR.checkAvailableVariantInStock,exports.getSelectedVariant=eR.getSelectedVariant,exports.parseSelectedOption=eR.parseSelectedOption,exports.generateCollectionQueryKey=eI.generateCollectionQueryKey,exports.generateProductQueryKey=eI.generateProductQueryKey,exports.generateProductsQueryKey=eI.generateProductsQueryKey,exports.composeCornerCss=eG.composeCornerCss,exports.composeRadius=eG.composeRadius,exports.composeRadiusResponsive=eG.composeRadiusResponsive,exports.getCornerCSSFromGlobal=eG.getCornerCSSFromGlobal,exports.getCustomRadius=eG.getCustomRadius,exports.getRadiusCSSFromGlobal=eG.getRadiusCSSFromGlobal,exports.getRadiusStyleActiveState=eG.getRadiusStyleActiveState,exports.RenderIf=eL.RenderIf,exports.composeMemo=eL.composeMemo,exports.dataStringify=eL.dataStringify,exports.props=eL.props,exports.removeUndefinedValuesFromObject=eL.removeUndefinedValuesFromObject,exports.sanitizeLiquid=eL.sanitizeLiquid,exports.styles=eL.styles,exports.template=eL.template,exports.composeShadow=eV.composeShadow,exports.composeShadowCss=eV.composeShadowCss,exports.getResponsiveStyleShadow=eV.getResponsiveStyleShadow,exports.getResponsiveStyleShadowWithoutState=eV.getResponsiveStyleShadowWithoutState,exports.getStyleShadow=eV.getStyleShadow,exports.getStyleShadowState=eV.getStyleShadowState,exports.parseValueWithUnit=eV.parseValueWithUnit,exports.composeSize=eF.composeSize,exports.composeSizeCss=eF.composeSizeCss,exports.genSizeClass=eF.genSizeClass,exports.getAspectRatioGlobalSize=eF.getAspectRatioGlobalSize,exports.getFlexGrowClassByShapeGlobalSize=eF.getFlexGrowClassByShapeGlobalSize,exports.getGlobalSizeGap=eF.getGlobalSizeGap,exports.getHeightByShapeGlobalSize=eF.getHeightByShapeGlobalSize,exports.getPaddingGlobalSize=eF.getPaddingGlobalSize,exports.getPaddingStyleByDevice=eF.getPaddingStyleByDevice,exports.getResponsiveStylePadding=eF.getResponsiveStylePadding,exports.getValueByDevice=eF.getValueByDevice,exports.getWidthByShapeGlobalSize=eF.getWidthByShapeGlobalSize,exports.getWidthHeightGlobalSize=eF.getWidthHeightGlobalSize,exports.makeGlobalSize=eF.makeGlobalSize,exports.makeGlobalSizeIcon=eF.makeGlobalSizeIcon,exports.makeStyleWithDefault=eF.makeStyleWithDefault,exports.composeFallbackTypographyStyle=ew.composeFallbackTypographyStyle,exports.composeFontFamilyTypographyV2=ew.composeFontFamilyTypographyV2,exports.composeTextHoverColorCss=ew.composeTextHoverColorCss,exports.composeTypography=ew.composeTypography,exports.composeTypographyAttr=ew.composeTypographyAttr,exports.composeTypographyClassName=ew.composeTypographyClassName,exports.composeTypographyCss=ew.composeTypographyCss,exports.composeTypographyStyle=ew.composeTypographyStyle,exports.composeTypographyV2=ew.composeTypographyV2,exports.composeTypographyV2Css=ew.composeTypographyV2Css,exports.genTypoClass=ew.genTypoClass,exports.useArticlesQuery=eO.useArticlesQuery,exports.useBlogsQuery=eO.useBlogsQuery,exports.useAddToCart=eM.useAddToCart,exports.useCartData=eE.useCartData,exports.useCartDiscountCodesUpdate=ez.useCartDiscountCodesUpdate,exports.useCartNoteUpdate=eW.useCartNoteUpdate,exports.useCreateCart=eU.useCreateCart,exports.useRemoveCartItem=eH.useRemoveCartItem,exports.useUpdateCartItem=eQ.useUpdateCartItem,exports.useCheckoutUrl=eK.useCheckoutUrl,exports.useConnectedShopify=eK.useConnectedShopify,exports.useCurrency=eK.useCurrency,exports.useEditorMode=eK.useEditorMode,exports.useIsSampleProduct=eK.useIsSampleProduct,exports.useIsStorefrontProduct=eK.useIsStorefrontProduct,exports.useLocale=eK.useLocale,exports.useMatchMutate=eK.useMatchMutate,exports.useMobileOnly=eK.useMobileOnly,exports.useMoneyFormat=eK.useMoneyFormat,exports.usePageType=eK.usePageType,exports.usePluginEnable=eK.usePluginEnable,exports.useStoreFront=eK.useStoreFront,exports.useSwatches=eK.useSwatches,exports.useTimezone=eK.useTimezone,exports.useCollectionQuery=eN.useCollectionQuery,exports.useCollectionsQuery=e_.useCollectionsQuery,exports.useProductQuery=eY.useProductQuery,exports.useProductOffersQuery=eJ.useProductOffersQuery,exports.useFetchHandle=eZ.useFetchHandle,exports.useProductsQuery=eX.useProductsQuery,exports.useProductsQueryAll=eX.useProductsQueryAll,exports.useCurrentDevice=e$.useCurrentDevice,exports.useLazyVideo=e0.useLazyVideo,exports.useCartId=e1.default,exports.useCartLine=e2.default,exports.useCartUI=e8.default,exports.useCollection=e3.useCollection,exports.convertDecimalToNumber=e4.convertDecimalToNumber,exports.formatMoney=e4.formatMoney,exports.shopifyPriceRounding=e4.shopifyPriceRounding,exports.useFormatMoney=e4.useFormatMoney,Object.defineProperty(exports,"useId",{enumerable:!0,get:function(){return e5.useId}}),exports.useInitialSwatchesOptions=e6.default,exports.useIsomorphicLayoutEffect=e7.default,exports.useLoadScript=e9.default,exports.useMoney=re.default,exports.usePrevious=rr.usePrevious,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return rt.tGlobal}}),exports.useI18n=rt.useI18n,exports.useStickyStore=ro.useStickyStore,exports.useCheckAvailableVariantInStock=rs.useCheckAvailableVariantInStock,exports.useCurrentVariant=rs.useCurrentVariant,exports.useCurrentVariantInStock=rs.useCurrentVariantInStock,exports.useFeaturedImageGlobal=rs.useFeaturedImageGlobal,exports.useHasPreSelected=rs.useHasPreSelected,exports.useIsSyncProduct=rs.useIsSyncProduct,exports.useProduct=rs.useProduct,exports.useProductBundleDiscount=rs.useProductBundleDiscount,exports.useProductOfferDiscount=rs.useProductOfferDiscount,exports.useProductProperties=rs.useProductProperties,exports.useProductShopifyEditLink=rs.useProductShopifyEditLink,exports.useQuantity=rs.useQuantity,exports.useSelectedOption=rs.useSelectedOption,exports.useUniqProductID=rs.useUniqProductID,exports.useVariant=rs.useVariant,exports.useVariantOutStock=rs.useVariantOutStock,exports.useVariants=rs.useVariants,exports.useShopifyLink=ri.useShopifyLink,exports.useSuspenseFetch=ra.default,exports.useSwatchesOptions=rp.default,exports.useRenderMode=rl.useRenderMode,exports.usePreviewSharePage=ru.usePreviewSharePage,Object.defineProperty(exports,"RenderModeEnv",{enumerable:!0,get:function(){return rn.RenderModeEnv}}),Object.defineProperty(exports,"RenderModeUpsellEnv",{enumerable:!0,get:function(){return rc.RenderModeUpsellEnv}}),Object.defineProperty(exports,"InteractionTargetEvent",{enumerable:!0,get:function(){return rd.InteractionTargetEvent}}),Object.defineProperty(exports,"InteractionTriggerEvent",{enumerable:!0,get:function(){return rd.InteractionTriggerEvent}}),Object.defineProperty(exports,"SectionMode",{enumerable:!0,get:function(){return rd.SectionMode}}),exports.ShopType=rx,exports.AppAPIType=rg,exports.OptionNormalStyle=rS.OptionNormalStyle,exports.OptionSpecialStyle=rS.OptionSpecialStyle,Object.defineProperty(exports,"AnimationDirectionType",{enumerable:!0,get:function(){return rh.AnimationDirectionType}}),Object.defineProperty(exports,"AnimationEasingType",{enumerable:!0,get:function(){return rh.AnimationEasingType}}),Object.defineProperty(exports,"AnimationSetting",{enumerable:!0,get:function(){return rh.AnimationSetting}}),Object.defineProperty(exports,"AnimationTriggerType",{enumerable:!0,get:function(){return rh.AnimationTriggerType}}),Object.defineProperty(exports,"AnimationType",{enumerable:!0,get:function(){return rh.AnimationType}}),Object.defineProperty(exports,"AnimationZoomDirectionType",{enumerable:!0,get:function(){return rh.AnimationZoomDirectionType}}),exports.calculateFirstProduct=ry.calculateFirstProduct,exports.getCollection=ry.getCollection,exports.fetchMedias=rm.fetchMedias,exports.fetchVariants=rm.fetchVariants,exports.getProduct=rm.getProduct,exports.getProductBySlug=rC.getProductBySlug,exports.getAppBlocks=rq.getAppBlocks,exports.addAppBlockId=rP.addAppBlockId,exports.useInteraction=rv.useInteraction,exports.createStoreFrontFetcher=rj.createStoreFrontFetcher,exports.hasPublicStoreFrontData=rj.hasPublicStoreFrontData,exports.BLACKLIST_TAGS=rb.BLACKLIST_TAGS,exports.DEVICES=rk.DEVICES,exports.EMPTY_DEVICE_VALUE=rk.EMPTY_DEVICE_VALUE;
@@ -1,2 +1 @@
1
- 'use client';
2
1
  import{jsxs as e,Fragment as t,jsx as r}from"react/jsx-runtime";import{isValidElement as a}from"react";import{composeAdvanceStyle as i}from"../helpers/compose-advance-style.js";import{disableWrap as n}from"./constant.js";import d from"./RenderCustomCode.js";import{useRenderMode as s}from"../hooks/useRenderMode.js";import o from"./animation/AnimationWrapper.js";let l=({children:l,pageType:p,...c})=>{let{isPreviewSharePageMode:m}=s();if("section"===c.type)return null;let u=i(c.advanced,c.tag,p),f=c.advanced,{animation:v}=f??{},h=v?.desktop?.enabled||v?.tablet?.enabled||v?.mobile?.enabled,b=()=>{let e={};return c.advanced?.displayInitInteraction!==void 0&&(e={"display-init":c.advanced?.displayInitInteraction===!1?"hide":"show","gp-interaction-wrapper":""}),e},y=r("div",{style:u,className:`${c.uid} ${f?.cssClass}`,...b(),children:l});return n.includes(c.tag)&&a(l)&&(y=e(t,{children:[r(d,{uid:c.uid,advanced:f}),r(l.type,{className:f?.cssClass,...l.props,style:u,advanced:f,builderAttrs:{...l.props.builderAttrs,...b()}})]})),h&&m&&(y=r(o,{settings:v,tag:c.tag??"",children:y})),e(t,{children:[r(d,{uid:c.uid,advanced:f}),y]})};export{l as default};
@@ -0,0 +1 @@
1
+ import{jsxs as e,Fragment as r,jsx as t}from"react/jsx-runtime";import{isValidElement as s}from"react";import{composeAdvanceStyle as a}from"../helpers/compose-advance-style.js";import{disableWrap as i}from"./constant.js";import n from"./RenderCustomerCode.server.js";let d=({children:d,pageType:o,...p})=>{if("section"===p.type)return null;let c=a(p.advanced,p.tag,o),l=p.advanced,m=()=>{let e={};return p.advanced?.displayInitInteraction!==void 0&&(e={"display-init":p.advanced?.displayInitInteraction===!1?"hide":"show","gp-interaction-wrapper":""}),e};return i.includes(p.tag)&&s(d)?e(r,{children:[t(n,{uid:p.uid,advanced:l}),t(d.type,{className:l?.cssClass,...d.props,style:c,advanced:l,builderAttrs:{...d.props.builderAttrs,...m()}})]}):t(r,{children:t("div",{style:c,...m(),className:`${p.uid} ${l?.cssClass}`,children:d})})};export{d as default};
@@ -0,0 +1,5 @@
1
+ import{jsxs as e,Fragment as r,jsx as t}from"react/jsx-runtime";let l=({uid:l,advanced:s})=>{let{css:a,javascript:c,rootClassName:n}=s?.editorData||{},o=a?.replaceAll(n,l),d=c?.replaceAll(n,l);return e(r,{children:[!!a&&t("style",{id:`custom-css-${l}`,dangerouslySetInnerHTML:{__html:o}}),!!c&&t("script",{id:`custom-js-${l}`,dangerouslySetInnerHTML:{__html:`
2
+ try {
3
+ ${d}
4
+ } catch(err){}
5
+ `}})]})};export{l as default};
@@ -1,2 +1 @@
1
- 'use client';
2
1
  import{Children as t}from"react";import r from"../components/ComponentToolbarPreview.js";let e=e=>{let o=t.toArray(e);return o=o.filter(t=>t?.type!=r),1>t.count(o)||!e};export{e as default,e as isEmptyChildren};
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{default as RenderWidget}from"./upsell-components/renderWidget.html.js";export{default as RenderPreviewUpsell}from"./upsell-components/RenderPreviewUpsell.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{BuilderPreviewUpsellProvider,useBuilderPreviewUpsellStore}from"./contexts/BuilderPreviewUpsellContext.js";export{BuilderUpsellWidgetProvider}from"./contexts/BuilderUpsellWidget.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{ProductsDocument}from"./graphql/queries/products.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";export{getProductQueryAll,getProducts}from"./helpers/queries/get-products.js";import*as e from"./helpers/tracking/fpixel.js";import*as o from"./helpers/tracking/gtag.js";import*as r 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{normalizeBuilderUpsellData}from"./helpers/normalize-builder-upsell-data.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{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{RenderModeUpsellEnv}from"./types/builderUpsell.js";export{InteractionTargetEvent,InteractionTriggerEvent,SectionMode}from"./types/custom.js";import*as t 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,r as tiktokpixel,t 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{default as ComponentWrapperServer}from"./components/ComponentWrapper.server.js";export{default as RenderWidget}from"./upsell-components/renderWidget.html.js";export{default as RenderPreviewUpsell}from"./upsell-components/RenderPreviewUpsell.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{BuilderPreviewUpsellProvider,useBuilderPreviewUpsellStore}from"./contexts/BuilderPreviewUpsellContext.js";export{BuilderUpsellWidgetProvider}from"./contexts/BuilderUpsellWidget.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{ProductsDocument}from"./graphql/queries/products.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";export{getProductQueryAll,getProducts}from"./helpers/queries/get-products.js";import*as e from"./helpers/tracking/fpixel.js";import*as o from"./helpers/tracking/gtag.js";import*as r 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{normalizeBuilderUpsellData}from"./helpers/normalize-builder-upsell-data.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{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{RenderModeUpsellEnv}from"./types/builderUpsell.js";export{InteractionTargetEvent,InteractionTriggerEvent,SectionMode}from"./types/custom.js";import*as t 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,r as tiktokpixel,t as ShopType,s as AppAPIType};
@@ -42740,6 +42740,12 @@ declare const WrapRenderChildren: ({ uid, customProps, }: {
42740
42740
  };
42741
42741
  }, codes?: (string | undefined)[]) => string;
42742
42742
 
42743
+ type PropsType = BuilderEntity & {
42744
+ children: React.ReactNode;
42745
+ pageType?: PublishedThemePageType$1;
42746
+ };
42747
+ declare const ComponentWrapperServer: React.FC<PropsType>;
42748
+
42743
42749
  type Props$1 = {
42744
42750
  layoutCid: string;
42745
42751
  layoutId: string;
@@ -55358,5 +55364,5 @@ declare const EMPTY_DEVICE_VALUE: undefined;
55358
55364
 
55359
55365
  declare const BLACKLIST_TAGS: Set<string>;
55360
55366
 
55361
- export { AddOn, AddonProvider, AnimationDirectionType, AnimationEasingType, AnimationSetting, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, appAPI as AppAPIType, ArticleListProvider, ArticleProvider, ArticlesDocument, BLACKLIST_TAGS, BlogsDocument, BuilderComponentProvider, BuilderPreviewProvider, BuilderPreviewUpsellProvider, BuilderProvider, BuilderUpsellWidgetProvider, 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, ProductsDocument, ProductsWithSellingPlansDocument, PublishedShopMetasDocument, PublishedThemePagesDocument, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderModeEnv, RenderModeUpsellEnv, RenderPreviewMemo as RenderPreview, RenderPreviewUpsellMemo as RenderPreviewUpsell, RenderWidget, 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, getProductQueryAll, getProducts, 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, normalizeBuilderUpsellData, 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, useBuilderPreviewUpsellStore, 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, useProductListStore, 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 };
55367
+ export { AddOn, AddonProvider, AnimationDirectionType, AnimationEasingType, AnimationSetting, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, appAPI as AppAPIType, ArticleListProvider, ArticleProvider, ArticlesDocument, BLACKLIST_TAGS, BlogsDocument, BuilderComponentProvider, BuilderPreviewProvider, BuilderPreviewUpsellProvider, BuilderProvider, BuilderUpsellWidgetProvider, CartLineProvider, CollectionDetailFilterDocument, CollectionDocument, CollectionProvider, CollectionsDocument, ComponentWrapperServer, DEVICES, EMPTY_DEVICE_VALUE, GRADIENT_BGR_KEY, I18nProvider, InteractionTargetEvent, InteractionTriggerEvent, LibrarySaleFunnelDocument, LibraryTemplateDocument, ModalProvider, OptionNormalStyle, OptionSpecialStyle, PageProvider, PreviewThemePageDocument, ProductListProvider, ProductProvider, ProductVariantsWithSellingPlansDocument, ProductWithSellingPlansSelectFragment, ProductsDocument, ProductsWithSellingPlansDocument, PublishedShopMetasDocument, PublishedThemePagesDocument, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderModeEnv, RenderModeUpsellEnv, RenderPreviewMemo as RenderPreview, RenderPreviewUpsellMemo as RenderPreviewUpsell, RenderWidget, 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, getProductQueryAll, getProducts, 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, normalizeBuilderUpsellData, 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, useBuilderPreviewUpsellStore, 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, useProductListStore, 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 };
55362
55368
  export type { AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationFadeSettingType, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationZoomSettingType, ArticleListProviderProps, ArticleProviderProps, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsUpsell, BasePropsWrap, BasePropsWrapUpsell, BlockEntity, BlogsQueryResponse, BlogsQueryVariables, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProviderProps, BuilderPreviewUpsellProviderProps, BuilderProviderProps, BuilderState, BuilderUpsellEntity, BuilderUpsellState, BuilderUpsellWidgetProviderProps, 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, FetchProductsParams, 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, RenderModeUpsell, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, 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, TFetchRelatedProductQueriesParams, 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, ValidateType, VariantSelectFragment, VitalsWidgetType, WidgetEntity, WidgetStatus, WiserV2WidgetType, WiserWidgetType, YotpoReviewsWidgetType };
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "17.0.0-dev.73",
3
+ "version": "17.0.0-dev.81",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
7
- "types": "dist/types/index.d.ts",
8
7
  "files": [
9
8
  "dist"
10
9
  ],
@@ -28,8 +27,8 @@
28
27
  "type-check": "yarn tsc --noEmit"
29
28
  },
30
29
  "devDependencies": {
31
- "@gem-sdk/adapter-shopify": "17.0.0-dev.73",
32
- "@gem-sdk/styles": "17.0.0-dev.73",
30
+ "@gem-sdk/adapter-shopify": "17.0.0-dev.80",
31
+ "@gem-sdk/styles": "17.0.0-dev.81",
33
32
  "@types/classnames": "^2.3.1"
34
33
  },
35
34
  "dependencies": {
@@ -47,6 +46,7 @@
47
46
  "react-dom": "18.3.1"
48
47
  },
49
48
  "module": "dist/esm/index.js",
49
+ "types": "dist/types/index.d.ts",
50
50
  "exports": {
51
51
  "./package.json": "./package.json",
52
52
  ".": {