@gem-sdk/core 17.0.0-dev.12 → 17.0.0-dev.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/graphql/queries/products-with-selling-plans.generated.js +0 -8
- package/dist/cjs/helpers/builder.js +1 -0
- package/dist/cjs/helpers/make-style.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/graphql/queries/products-with-selling-plans.generated.js +0 -8
- package/dist/esm/helpers/builder.js +1 -0
- package/dist/esm/helpers/make-style.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/types/index.d.ts +34 -33
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.isSafeValue=t=>null!=t&&!("string"==typeof t&&""===t.trim());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./get-resonsive-value.js");const
|
|
1
|
+
"use strict";var e=require("./get-resonsive-value.js"),t=require("./builder.js");const l=e=>Object.entries(e).reduce((e,[t,l])=>null==l?e:{...e,[t]:l},{}),a=(e,t,l)=>l?`${t?.[e]}${l}`:t?.[e]==="default"?"1200px":t?.[e],s=(e,t,l)=>{if(l)return`${t?.[e]}${l}`;switch(t?.[e]){case"default":return"1200px";case"Auto":return"100%";default:return t?.[e]}};exports.makeAspectRatio=(t,l,a)=>{let s={};return["desktop","mobile","tablet"].forEach(o=>{let i=e.getResponsiveValueByScreen(t,o);"none"!==i&&(s={...s,[o]:"custom"!==i?i:`${e.getResponsiveValueByScreen(l,"desktop")}/${e.getResponsiveValueByScreen(a,"desktop")}`})}),s},exports.makeGlobalSizeHeightResponsive=e=>{let l=e?.desktop?.height,a=e?.tablet?.height,s=e?.mobile?.height,o={};return t.isSafeValue(l)&&(o["--h"]=l),t.isSafeValue(a)&&a!==l&&(o["--h-tablet"]=a),t.isSafeValue(s)&&s!==a&&(o["--h-mobile"]=s),o},exports.makeGlobalSizeWidthResponsive=e=>{let l=e?.desktop?.width,a=e?.tablet?.width,s=e?.mobile?.width,o={};return t.isSafeValue(l)&&(o["--w"]=l),t.isSafeValue(a)&&a!==l&&(o["--w-tablet"]=a),t.isSafeValue(s)&&s!==a&&(o["--w-mobile"]=s),o},exports.makeHeight=(e,l)=>{let a=(e,t,l)=>{let a=t?.[e],s=l?.[e];return s?"auto":!1===s?a??a:a},s=a("desktop",e,l),o=a("tablet",e,l),i=a("mobile",e,l),r={};return t.isSafeValue(s)&&(r.desktop=s),t.isSafeValue(o)&&o!==s&&(r.tablet=o),t.isSafeValue(i)&&i!==o&&(r.mobile=i),r},exports.makeLineClamp=(l,a)=>{let s=(t,l,a)=>{let s=e.getResponsiveValueByScreen(l,t),o=e.getResponsiveValueByScreen(a,t);return 0===s?"0":o||void 0===o?s:"unset"},o=s("desktop",l,a),i=s("tablet",l,a),r=s("mobile",l,a),u={};return t.isSafeValue(o)&&(u.desktop=o),t.isSafeValue(i)&&i!==o&&(u.tablet=i),t.isSafeValue(r)&&r!==i&&(u.mobile=r),u},exports.makeStyle=e=>l(Object.fromEntries(Object.entries(e).map(([e,t])=>[`--${e}`,t]))),exports.makeStyleKey=e=>[e,`hvr-${e}`,`focus-${e}`,`${e}-tablet`,`hvr-${e}-tablet`,`focus-${e}-tablet`,`${e}-mobile`,`hvr-${e}-mobile`,`focus-${e}-mobile`].map(e=>`--${e}`),exports.makeStyleResponsive=(e,l,a)=>{let s=a&&t.isSafeValue(l?.desktop)?`${l?.desktop}${a}`:l?.desktop,o=a&&t.isSafeValue(l?.tablet)?`${l?.tablet}${a}`:l?.tablet,i=a&&t.isSafeValue(l?.mobile)?`${l?.mobile}${a}`:l?.mobile,r={};return s&&(r[`--${e}`]=s),o&&o!==s&&(r[`--${e}-tablet`]=o),i&&i!==o&&(r[`--${e}-mobile`]=i),r},exports.makeStyleResponsiveByScreen=(t,l,a)=>({[`--${t}`]:a?`${e.getResponsiveValueByScreen(l,"desktop")}${a}`:e.getResponsiveValueByScreen(l,"desktop"),[`--${t}-tablet`]:a?`${e.getResponsiveValueByScreen(l,"tablet")}${a}`:e.getResponsiveValueByScreen(l,"tablet"),[`--${t}-mobile`]:a?`${e.getResponsiveValueByScreen(l,"mobile")}${a}`:e.getResponsiveValueByScreen(l,"mobile")}),exports.makeStyleResponsiveState=(e,t)=>t?{[`--${e}`]:t?.desktop?.normal,[`--hvr-${e}`]:t?.desktop?.hover,[`--focus-${e}`]:t?.desktop?.focus,[`--${e}-tablet`]:t?.tablet?.normal,[`--hvr-${e}-tablet`]:t?.tablet?.hover,[`--focus-${e}-tablet`]:t?.tablet?.focus,[`--${e}-mobile`]:t?.mobile?.normal,[`--hvr-${e}-mobile`]:t?.mobile?.hover,[`--focus-${e}-mobile`]:t?.mobile?.focus}:{},exports.makeStyleResponsiveWidth=(e,l)=>{let s=a("desktop",e,l),o=a("tablet",e,l),i=a("mobile",e,l),r={};return t.isSafeValue(s)&&(r["--w"]=s),t.isSafeValue(o)&&o!==s&&(r["--w-tablet"]=o),t.isSafeValue(i)&&i!==o&&(r["--w-mobile"]=i),r},exports.makeStyleResponsiveWidthWithoutAuto=(e,l)=>{let a=s("desktop",e,l),o=s("tablet",e,l),i=s("mobile",e,l),r={};return t.isSafeValue(a)&&(r["--w"]=a),t.isSafeValue(o)&&o!==a&&(r["--w-tablet"]=o),t.isSafeValue(i)&&i!==o&&(r["--w-mobile"]=i),r},exports.makeStyleState=(e,t)=>t?{[`--${e}`]:t?.normal,[`--hvr-${e}`]:t?.hover,[`--focus-${e}`]:t?.focus}:{},exports.makeWidth=(l,a)=>{let s=(t,l,a)=>{let s=e.getResponsiveValueByScreen(l,t),o=a?.[t]===void 0?a?.desktop:a?.[t];return o?"100%":!1===o?s??s:s||"auto"},o=s("desktop",l,a),i=s("tablet",l,a),r=s("mobile",l,a),u={};return t.isSafeValue(o)&&(u.desktop=o),t.isSafeValue(i)&&i!==o&&(u.tablet=i),t.isSafeValue(r)&&r!==i&&(u.mobile=r),u},exports.removeNullUndefined=l;
|
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("./upsell-components/RenderPreviewUpsell.js"),s=require("./components/Render.liquid.js"),i=require("./contexts/AddonContext.js"),a=require("./contexts/BuilderComponent.js"),p=require("./contexts/BuilderContext.js"),l=require("./contexts/BuilderPreviewContext.js"),u=require("./contexts/CartLineContext.js"),n=require("./contexts/ProductListContext.js"),c=require("./contexts/ProductContext.js"),d=require("./contexts/SectionContext.js"),g=require("./contexts/ShopContext.js"),x=require("./contexts/PageContext.js"),S=require("./contexts/CollectionContext.js"),h=require("./contexts/ModalContext.js"),y=require("./contexts/ArticleListContext.js"),m=require("./contexts/ArticleContext.js"),C=require("./contexts/I18nContext.js"),q=require("./contexts/BuilderPreviewUpsellContext.js"),P=require("./contexts/BuilderUpsellWidget.js"),v=require("./graphql/mutations/page-view-up.generated.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"),I=require("./graphql/queries/shop-shopify.generated.js"),R=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"),eg=require("./helpers/colors.js"),ex=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/product.js"),eA=require("./helpers/query.js"),eI=require("./helpers/radius.js"),eR=require("./helpers/render.js"),eG=require("./helpers/shadow.js"),eL=require("./helpers/size.js"),eV=require("./helpers/typography.js"),eF=require("./hooks/articles/useArticlesQuery.js"),ew=require("./hooks/cart/use-add-to-cart.js"),eO=require("./hooks/cart/use-cart-data.js"),eM=require("./hooks/cart/use-cart-discount-codes-update.js"),eE=require("./hooks/cart/use-cart-note-update.js"),ez=require("./hooks/cart/use-create-cart.js"),eU=require("./hooks/cart/use-remove-cart-item.js"),eW=require("./hooks/cart/use-update-cart-item.js"),eH=require("./hooks/shop.js"),eQ=require("./hooks/shop/use-collection-query.js"),eK=require("./hooks/shop/use-collections-query.js"),eN=require("./hooks/shop/use-product-query.js"),e_=require("./hooks/shop/useProductOffersQuery.js"),eY=require("./hooks/useFetchHandle.js"),eJ=require("./hooks/shop/use-products-query.js"),eZ=require("./hooks/use-current-device.js"),eX=require("./hooks/use-lazy-video.js"),e$=require("./hooks/useCartId.js"),e0=require("./hooks/useCartLine.js"),e1=require("./hooks/useCartUI.js"),e2=require("./hooks/useCollection.js"),e8=require("./hooks/useFormatMoney.js"),e3=require("react"),e4=require("./hooks/useInitialSwatchesOptions.js"),e5=require("./hooks/useIsomorphicLayoutEffect.js"),e6=require("./hooks/useLoadScript.js"),e7=require("./hooks/useMoney.js"),e9=require("./hooks/usePrevious.js"),re=require("./hooks/useI18n.js"),rr=require("./hooks/useStickyStore.js"),rt=require("./hooks/useProduct.js"),ro=require("./hooks/shop/useShopifyLink.js"),rs=require("./hooks/useSuspenseFetch.js"),ri=require("./hooks/useSwatchesOptions.js"),ra=require("./hooks/useRenderMode.js"),rp=require("./hooks/usePreviewSharePage.js"),rl=require("./types/builder.js"),ru=require("./types/builderUpsell.js"),rn=require("./types/custom.js"),rc=require("./types/shop.js"),rd=require("./types/appAPI.js"),rg=require("./types/global-style.js"),rx=require("./types/animations.js"),rS=require("./helpers/queries/get-collection.js"),rh=require("./helpers/queries/get-product.js"),ry=require("./helpers/queries/get-product-by-slug.js"),rm=require("./helpers/third-party/getAppBlocks.js"),rC=require("./helpers/third-party/addAppBlockId.js"),rq=require("./helpers/interaction/index.js"),rP=require("./helpers/create-store-front-fetcher.js"),rv=require("./constants/index.js"),rj=require("./constants/device.js");exports.AddOn=e.default,exports.Render=r.default,exports.RenderPreview=t.default,exports.RenderPreviewUpsell=o.default,exports.RenderChildren=s.RenderChildren,exports.RenderLiquid=s.default,exports.WrapRenderChildren=s.WrapRenderChildren,exports.AddonProvider=i.AddonProvider,exports.useAddon=i.useAddon,exports.useAddons=i.useAddons,exports.BuilderComponentProvider=a.BuilderComponentProvider,exports.useBuilderComponent=a.useBuilderComponent,exports.BuilderProvider=p.BuilderProvider,exports.useBuilderStore=p.useBuilderStore,exports.BuilderPreviewProvider=l.BuilderPreviewProvider,exports.useBuilderPreviewStore=l.useBuilderPreviewStore,exports.CartLineProvider=u.CartLineProvider,exports.useCartLineStore=u.useCartLineStore,exports.ProductListProvider=n.ProductListProvider,exports.useProductListStore=n.useProductListStore,exports.ProductProvider=c.ProductProvider,exports.useProductStore=c.useProductStore,exports.SectionProvider=d.SectionProvider,exports.useSection=d.useSection,exports.useSectionStore=d.useSectionStore,exports.ShopProvider=g.ShopProvider,exports.useShopStore=g.useShopStore,exports.PageProvider=x.PageProvider,exports.usePageStore=x.usePageStore,exports.CollectionProvider=S.CollectionProvider,exports.useCollectionStore=S.useCollectionStore,exports.ModalProvider=h.ModalProvider,exports.useModalStore=h.useModalStore,exports.ArticleListProvider=y.ArticleListProvider,exports.useArticleListStore=y.useArticleListStore,exports.ArticleProvider=m.ArticleProvider,exports.useArticleStore=m.useArticleStore,exports.I18nProvider=C.I18nProvider,exports.useI18nStore=C.useI18nStore,exports.BuilderPreviewUpsellProvider=q.BuilderPreviewUpsellProvider,exports.useBuilderPreviewUpsellStore=q.useBuilderPreviewUpsellStore,exports.BuilderUpsellWidgetProvider=P.BuilderUpsellWidgetProvider,exports.PageViewUpDocument=v.PageViewUpDocument,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=I.ShopShopifyDocument,exports.ArticlesDocument=R.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=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=ex.composeAdvanceStyle,exports.composeAdvanceStyleForPostPurchase=ex.composeAdvanceStyleForPostPurchase,exports.convertBoxShadowV1ToV2=ex.convertBoxShadowV1ToV2,exports.filterAttrInStyle=ex.filterAttrInStyle,exports.getCornerStyle=ex.getCornerStyle,exports.removeAttrInStyle=ex.removeAttrInStyle,exports.removePaddingYInStyle=ex.removePaddingYInStyle,exports.splitStyle=ex.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.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.checkAvailableVariantInStock=eT.checkAvailableVariantInStock,exports.getSelectedVariant=eT.getSelectedVariant,exports.parseSelectedOption=eT.parseSelectedOption,exports.generateCollectionQueryKey=eA.generateCollectionQueryKey,exports.generateProductQueryKey=eA.generateProductQueryKey,exports.generateProductsQueryKey=eA.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=eR.RenderIf,exports.composeMemo=eR.composeMemo,exports.dataStringify=eR.dataStringify,exports.props=eR.props,exports.removeUndefinedValuesFromObject=eR.removeUndefinedValuesFromObject,exports.sanitizeLiquid=eR.sanitizeLiquid,exports.styles=eR.styles,exports.template=eR.template,exports.composeShadow=eG.composeShadow,exports.composeShadowCss=eG.composeShadowCss,exports.getResponsiveStyleShadow=eG.getResponsiveStyleShadow,exports.getResponsiveStyleShadowWithoutState=eG.getResponsiveStyleShadowWithoutState,exports.getStyleShadow=eG.getStyleShadow,exports.getStyleShadowState=eG.getStyleShadowState,exports.parseValueWithUnit=eG.parseValueWithUnit,exports.composeSize=eL.composeSize,exports.composeSizeCss=eL.composeSizeCss,exports.genSizeClass=eL.genSizeClass,exports.getAspectRatioGlobalSize=eL.getAspectRatioGlobalSize,exports.getFlexGrowClassByShapeGlobalSize=eL.getFlexGrowClassByShapeGlobalSize,exports.getGlobalSizeGap=eL.getGlobalSizeGap,exports.getHeightByShapeGlobalSize=eL.getHeightByShapeGlobalSize,exports.getPaddingGlobalSize=eL.getPaddingGlobalSize,exports.getPaddingStyleByDevice=eL.getPaddingStyleByDevice,exports.getResponsiveStylePadding=eL.getResponsiveStylePadding,exports.getValueByDevice=eL.getValueByDevice,exports.getWidthByShapeGlobalSize=eL.getWidthByShapeGlobalSize,exports.getWidthHeightGlobalSize=eL.getWidthHeightGlobalSize,exports.makeGlobalSize=eL.makeGlobalSize,exports.makeGlobalSizeIcon=eL.makeGlobalSizeIcon,exports.makeStyleWithDefault=eL.makeStyleWithDefault,exports.composeFallbackTypographyStyle=eV.composeFallbackTypographyStyle,exports.composeFontFamilyTypographyV2=eV.composeFontFamilyTypographyV2,exports.composeTextHoverColorCss=eV.composeTextHoverColorCss,exports.composeTypography=eV.composeTypography,exports.composeTypographyAttr=eV.composeTypographyAttr,exports.composeTypographyClassName=eV.composeTypographyClassName,exports.composeTypographyCss=eV.composeTypographyCss,exports.composeTypographyStyle=eV.composeTypographyStyle,exports.composeTypographyV2=eV.composeTypographyV2,exports.composeTypographyV2Css=eV.composeTypographyV2Css,exports.genTypoClass=eV.genTypoClass,exports.useArticlesQuery=eF.useArticlesQuery,exports.useBlogsQuery=eF.useBlogsQuery,exports.useAddToCart=ew.useAddToCart,exports.useCartData=eO.useCartData,exports.useCartDiscountCodesUpdate=eM.useCartDiscountCodesUpdate,exports.useCartNoteUpdate=eE.useCartNoteUpdate,exports.useCreateCart=ez.useCreateCart,exports.useRemoveCartItem=eU.useRemoveCartItem,exports.useUpdateCartItem=eW.useUpdateCartItem,exports.useCheckoutUrl=eH.useCheckoutUrl,exports.useConnectedShopify=eH.useConnectedShopify,exports.useCurrency=eH.useCurrency,exports.useEditorMode=eH.useEditorMode,exports.useIsSampleProduct=eH.useIsSampleProduct,exports.useIsStorefrontProduct=eH.useIsStorefrontProduct,exports.useLocale=eH.useLocale,exports.useMatchMutate=eH.useMatchMutate,exports.useMobileOnly=eH.useMobileOnly,exports.useMoneyFormat=eH.useMoneyFormat,exports.usePageType=eH.usePageType,exports.usePluginEnable=eH.usePluginEnable,exports.useStoreFront=eH.useStoreFront,exports.useSwatches=eH.useSwatches,exports.useTimezone=eH.useTimezone,exports.useCollectionQuery=eQ.useCollectionQuery,exports.useCollectionsQuery=eK.useCollectionsQuery,exports.useProductQuery=eN.useProductQuery,exports.useProductOffersQuery=e_.useProductOffersQuery,exports.useFetchHandle=eY.useFetchHandle,exports.useProductsQuery=eJ.useProductsQuery,exports.useProductsQueryAll=eJ.useProductsQueryAll,exports.useCurrentDevice=eZ.useCurrentDevice,exports.useLazyVideo=eX.useLazyVideo,exports.useCartId=e$.default,exports.useCartLine=e0.default,exports.useCartUI=e1.default,exports.useCollection=e2.useCollection,exports.convertDecimalToNumber=e8.convertDecimalToNumber,exports.formatMoney=e8.formatMoney,exports.shopifyPriceRounding=e8.shopifyPriceRounding,exports.useFormatMoney=e8.useFormatMoney,Object.defineProperty(exports,"useId",{enumerable:!0,get:function(){return e3.useId}}),exports.useInitialSwatchesOptions=e4.default,exports.useIsomorphicLayoutEffect=e5.default,exports.useLoadScript=e6.default,exports.useMoney=e7.default,exports.usePrevious=e9.usePrevious,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return re.tGlobal}}),exports.useI18n=re.useI18n,exports.useStickyStore=rr.useStickyStore,exports.useCheckAvailableVariantInStock=rt.useCheckAvailableVariantInStock,exports.useCurrentVariant=rt.useCurrentVariant,exports.useCurrentVariantInStock=rt.useCurrentVariantInStock,exports.useFeaturedImageGlobal=rt.useFeaturedImageGlobal,exports.useHasPreSelected=rt.useHasPreSelected,exports.useIsSyncProduct=rt.useIsSyncProduct,exports.useProduct=rt.useProduct,exports.useProductBundleDiscount=rt.useProductBundleDiscount,exports.useProductOfferDiscount=rt.useProductOfferDiscount,exports.useProductProperties=rt.useProductProperties,exports.useProductShopifyEditLink=rt.useProductShopifyEditLink,exports.useQuantity=rt.useQuantity,exports.useSelectedOption=rt.useSelectedOption,exports.useUniqProductID=rt.useUniqProductID,exports.useVariant=rt.useVariant,exports.useVariantOutStock=rt.useVariantOutStock,exports.useVariants=rt.useVariants,exports.useShopifyLink=ro.useShopifyLink,exports.useSuspenseFetch=rs.default,exports.useSwatchesOptions=ri.default,exports.useRenderMode=ra.useRenderMode,exports.usePreviewSharePage=rp.usePreviewSharePage,Object.defineProperty(exports,"RenderModeEnv",{enumerable:!0,get:function(){return rl.RenderModeEnv}}),Object.defineProperty(exports,"RenderModeUpsellEnv",{enumerable:!0,get:function(){return ru.RenderModeUpsellEnv}}),Object.defineProperty(exports,"InteractionTargetEvent",{enumerable:!0,get:function(){return rn.InteractionTargetEvent}}),Object.defineProperty(exports,"InteractionTriggerEvent",{enumerable:!0,get:function(){return rn.InteractionTriggerEvent}}),Object.defineProperty(exports,"SectionMode",{enumerable:!0,get:function(){return rn.SectionMode}}),exports.ShopType=rc,exports.AppAPIType=rd,exports.OptionNormalStyle=rg.OptionNormalStyle,exports.OptionSpecialStyle=rg.OptionSpecialStyle,Object.defineProperty(exports,"AnimationDirectionType",{enumerable:!0,get:function(){return rx.AnimationDirectionType}}),Object.defineProperty(exports,"AnimationEasingType",{enumerable:!0,get:function(){return rx.AnimationEasingType}}),Object.defineProperty(exports,"AnimationSetting",{enumerable:!0,get:function(){return rx.AnimationSetting}}),Object.defineProperty(exports,"AnimationTriggerType",{enumerable:!0,get:function(){return rx.AnimationTriggerType}}),Object.defineProperty(exports,"AnimationType",{enumerable:!0,get:function(){return rx.AnimationType}}),Object.defineProperty(exports,"AnimationZoomDirectionType",{enumerable:!0,get:function(){return rx.AnimationZoomDirectionType}}),exports.calculateFirstProduct=rS.calculateFirstProduct,exports.getCollection=rS.getCollection,exports.fetchMedias=rh.fetchMedias,exports.fetchVariants=rh.fetchVariants,exports.getProduct=rh.getProduct,exports.getProductBySlug=ry.getProductBySlug,exports.getAppBlocks=rm.getAppBlocks,exports.addAppBlockId=rC.addAppBlockId,exports.useInteraction=rq.useInteraction,exports.createStoreFrontFetcher=rP.createStoreFrontFetcher,exports.hasPublicStoreFrontData=rP.hasPublicStoreFrontData,exports.BLACKLIST_TAGS=rv.BLACKLIST_TAGS,exports.DEVICES=rj.DEVICES,exports.EMPTY_DEVICE_VALUE=rj.EMPTY_DEVICE_VALUE;
|
|
1
|
+
"use strict";var e=require("./components/AddOn.js"),r=require("./components/Render.js"),t=require("./components/RenderPreview.js"),o=require("./upsell-components/RenderPreviewUpsell.js"),s=require("./components/Render.liquid.js"),i=require("./contexts/AddonContext.js"),a=require("./contexts/BuilderComponent.js"),p=require("./contexts/BuilderContext.js"),l=require("./contexts/BuilderPreviewContext.js"),u=require("./contexts/CartLineContext.js"),n=require("./contexts/ProductListContext.js"),c=require("./contexts/ProductContext.js"),d=require("./contexts/SectionContext.js"),g=require("./contexts/ShopContext.js"),x=require("./contexts/PageContext.js"),S=require("./contexts/CollectionContext.js"),h=require("./contexts/ModalContext.js"),y=require("./contexts/ArticleListContext.js"),m=require("./contexts/ArticleContext.js"),C=require("./contexts/I18nContext.js"),q=require("./contexts/BuilderPreviewUpsellContext.js"),P=require("./contexts/BuilderUpsellWidget.js"),v=require("./graphql/mutations/page-view-up.generated.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"),eg=require("./helpers/colors.js"),ex=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/product.js"),eA=require("./helpers/query.js"),eR=require("./helpers/radius.js"),eI=require("./helpers/render.js"),eG=require("./helpers/shadow.js"),eL=require("./helpers/size.js"),eV=require("./helpers/typography.js"),eF=require("./hooks/articles/useArticlesQuery.js"),ew=require("./hooks/cart/use-add-to-cart.js"),eO=require("./hooks/cart/use-cart-data.js"),eM=require("./hooks/cart/use-cart-discount-codes-update.js"),eE=require("./hooks/cart/use-cart-note-update.js"),ez=require("./hooks/cart/use-create-cart.js"),eU=require("./hooks/cart/use-remove-cart-item.js"),eW=require("./hooks/cart/use-update-cart-item.js"),eH=require("./hooks/shop.js"),eQ=require("./hooks/shop/use-collection-query.js"),eK=require("./hooks/shop/use-collections-query.js"),eN=require("./hooks/shop/use-product-query.js"),e_=require("./hooks/shop/useProductOffersQuery.js"),eY=require("./hooks/useFetchHandle.js"),eJ=require("./hooks/shop/use-products-query.js"),eZ=require("./hooks/use-current-device.js"),eX=require("./hooks/use-lazy-video.js"),e$=require("./hooks/useCartId.js"),e0=require("./hooks/useCartLine.js"),e1=require("./hooks/useCartUI.js"),e2=require("./hooks/useCollection.js"),e8=require("./hooks/useFormatMoney.js"),e3=require("react"),e4=require("./hooks/useInitialSwatchesOptions.js"),e5=require("./hooks/useIsomorphicLayoutEffect.js"),e6=require("./hooks/useLoadScript.js"),e7=require("./hooks/useMoney.js"),e9=require("./hooks/usePrevious.js"),re=require("./hooks/useI18n.js"),rr=require("./hooks/useStickyStore.js"),rt=require("./hooks/useProduct.js"),ro=require("./hooks/shop/useShopifyLink.js"),rs=require("./hooks/useSuspenseFetch.js"),ri=require("./hooks/useSwatchesOptions.js"),ra=require("./hooks/useRenderMode.js"),rp=require("./hooks/usePreviewSharePage.js"),rl=require("./types/builder.js"),ru=require("./types/builderUpsell.js"),rn=require("./types/custom.js"),rc=require("./types/shop.js"),rd=require("./types/appAPI.js"),rg=require("./types/global-style.js"),rx=require("./types/animations.js"),rS=require("./helpers/queries/get-collection.js"),rh=require("./helpers/queries/get-product.js"),ry=require("./helpers/queries/get-product-by-slug.js"),rm=require("./helpers/third-party/getAppBlocks.js"),rC=require("./helpers/third-party/addAppBlockId.js"),rq=require("./helpers/interaction/index.js"),rP=require("./helpers/create-store-front-fetcher.js"),rv=require("./constants/index.js"),rj=require("./constants/device.js");exports.AddOn=e.default,exports.Render=r.default,exports.RenderPreview=t.default,exports.RenderPreviewUpsell=o.default,exports.RenderChildren=s.RenderChildren,exports.RenderLiquid=s.default,exports.WrapRenderChildren=s.WrapRenderChildren,exports.AddonProvider=i.AddonProvider,exports.useAddon=i.useAddon,exports.useAddons=i.useAddons,exports.BuilderComponentProvider=a.BuilderComponentProvider,exports.useBuilderComponent=a.useBuilderComponent,exports.BuilderProvider=p.BuilderProvider,exports.useBuilderStore=p.useBuilderStore,exports.BuilderPreviewProvider=l.BuilderPreviewProvider,exports.useBuilderPreviewStore=l.useBuilderPreviewStore,exports.CartLineProvider=u.CartLineProvider,exports.useCartLineStore=u.useCartLineStore,exports.ProductListProvider=n.ProductListProvider,exports.useProductListStore=n.useProductListStore,exports.ProductProvider=c.ProductProvider,exports.useProductStore=c.useProductStore,exports.SectionProvider=d.SectionProvider,exports.useSection=d.useSection,exports.useSectionStore=d.useSectionStore,exports.ShopProvider=g.ShopProvider,exports.useShopStore=g.useShopStore,exports.PageProvider=x.PageProvider,exports.usePageStore=x.usePageStore,exports.CollectionProvider=S.CollectionProvider,exports.useCollectionStore=S.useCollectionStore,exports.ModalProvider=h.ModalProvider,exports.useModalStore=h.useModalStore,exports.ArticleListProvider=y.ArticleListProvider,exports.useArticleListStore=y.useArticleListStore,exports.ArticleProvider=m.ArticleProvider,exports.useArticleStore=m.useArticleStore,exports.I18nProvider=C.I18nProvider,exports.useI18nStore=C.useI18nStore,exports.BuilderPreviewUpsellProvider=q.BuilderPreviewUpsellProvider,exports.useBuilderPreviewUpsellStore=q.useBuilderPreviewUpsellStore,exports.BuilderUpsellWidgetProvider=P.BuilderUpsellWidgetProvider,exports.PageViewUpDocument=v.PageViewUpDocument,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=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=ex.composeAdvanceStyle,exports.composeAdvanceStyleForPostPurchase=ex.composeAdvanceStyleForPostPurchase,exports.convertBoxShadowV1ToV2=ex.convertBoxShadowV1ToV2,exports.filterAttrInStyle=ex.filterAttrInStyle,exports.getCornerStyle=ex.getCornerStyle,exports.removeAttrInStyle=ex.removeAttrInStyle,exports.removePaddingYInStyle=ex.removePaddingYInStyle,exports.splitStyle=ex.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.checkAvailableVariantInStock=eT.checkAvailableVariantInStock,exports.getSelectedVariant=eT.getSelectedVariant,exports.parseSelectedOption=eT.parseSelectedOption,exports.generateCollectionQueryKey=eA.generateCollectionQueryKey,exports.generateProductQueryKey=eA.generateProductQueryKey,exports.generateProductsQueryKey=eA.generateProductsQueryKey,exports.composeCornerCss=eR.composeCornerCss,exports.composeRadius=eR.composeRadius,exports.composeRadiusResponsive=eR.composeRadiusResponsive,exports.getCornerCSSFromGlobal=eR.getCornerCSSFromGlobal,exports.getCustomRadius=eR.getCustomRadius,exports.getRadiusCSSFromGlobal=eR.getRadiusCSSFromGlobal,exports.getRadiusStyleActiveState=eR.getRadiusStyleActiveState,exports.RenderIf=eI.RenderIf,exports.composeMemo=eI.composeMemo,exports.dataStringify=eI.dataStringify,exports.props=eI.props,exports.removeUndefinedValuesFromObject=eI.removeUndefinedValuesFromObject,exports.sanitizeLiquid=eI.sanitizeLiquid,exports.styles=eI.styles,exports.template=eI.template,exports.composeShadow=eG.composeShadow,exports.composeShadowCss=eG.composeShadowCss,exports.getResponsiveStyleShadow=eG.getResponsiveStyleShadow,exports.getResponsiveStyleShadowWithoutState=eG.getResponsiveStyleShadowWithoutState,exports.getStyleShadow=eG.getStyleShadow,exports.getStyleShadowState=eG.getStyleShadowState,exports.parseValueWithUnit=eG.parseValueWithUnit,exports.composeSize=eL.composeSize,exports.composeSizeCss=eL.composeSizeCss,exports.genSizeClass=eL.genSizeClass,exports.getAspectRatioGlobalSize=eL.getAspectRatioGlobalSize,exports.getFlexGrowClassByShapeGlobalSize=eL.getFlexGrowClassByShapeGlobalSize,exports.getGlobalSizeGap=eL.getGlobalSizeGap,exports.getHeightByShapeGlobalSize=eL.getHeightByShapeGlobalSize,exports.getPaddingGlobalSize=eL.getPaddingGlobalSize,exports.getPaddingStyleByDevice=eL.getPaddingStyleByDevice,exports.getResponsiveStylePadding=eL.getResponsiveStylePadding,exports.getValueByDevice=eL.getValueByDevice,exports.getWidthByShapeGlobalSize=eL.getWidthByShapeGlobalSize,exports.getWidthHeightGlobalSize=eL.getWidthHeightGlobalSize,exports.makeGlobalSize=eL.makeGlobalSize,exports.makeGlobalSizeIcon=eL.makeGlobalSizeIcon,exports.makeStyleWithDefault=eL.makeStyleWithDefault,exports.composeFallbackTypographyStyle=eV.composeFallbackTypographyStyle,exports.composeFontFamilyTypographyV2=eV.composeFontFamilyTypographyV2,exports.composeTextHoverColorCss=eV.composeTextHoverColorCss,exports.composeTypography=eV.composeTypography,exports.composeTypographyAttr=eV.composeTypographyAttr,exports.composeTypographyClassName=eV.composeTypographyClassName,exports.composeTypographyCss=eV.composeTypographyCss,exports.composeTypographyStyle=eV.composeTypographyStyle,exports.composeTypographyV2=eV.composeTypographyV2,exports.composeTypographyV2Css=eV.composeTypographyV2Css,exports.genTypoClass=eV.genTypoClass,exports.useArticlesQuery=eF.useArticlesQuery,exports.useBlogsQuery=eF.useBlogsQuery,exports.useAddToCart=ew.useAddToCart,exports.useCartData=eO.useCartData,exports.useCartDiscountCodesUpdate=eM.useCartDiscountCodesUpdate,exports.useCartNoteUpdate=eE.useCartNoteUpdate,exports.useCreateCart=ez.useCreateCart,exports.useRemoveCartItem=eU.useRemoveCartItem,exports.useUpdateCartItem=eW.useUpdateCartItem,exports.useCheckoutUrl=eH.useCheckoutUrl,exports.useConnectedShopify=eH.useConnectedShopify,exports.useCurrency=eH.useCurrency,exports.useEditorMode=eH.useEditorMode,exports.useIsSampleProduct=eH.useIsSampleProduct,exports.useIsStorefrontProduct=eH.useIsStorefrontProduct,exports.useLocale=eH.useLocale,exports.useMatchMutate=eH.useMatchMutate,exports.useMobileOnly=eH.useMobileOnly,exports.useMoneyFormat=eH.useMoneyFormat,exports.usePageType=eH.usePageType,exports.usePluginEnable=eH.usePluginEnable,exports.useStoreFront=eH.useStoreFront,exports.useSwatches=eH.useSwatches,exports.useTimezone=eH.useTimezone,exports.useCollectionQuery=eQ.useCollectionQuery,exports.useCollectionsQuery=eK.useCollectionsQuery,exports.useProductQuery=eN.useProductQuery,exports.useProductOffersQuery=e_.useProductOffersQuery,exports.useFetchHandle=eY.useFetchHandle,exports.useProductsQuery=eJ.useProductsQuery,exports.useProductsQueryAll=eJ.useProductsQueryAll,exports.useCurrentDevice=eZ.useCurrentDevice,exports.useLazyVideo=eX.useLazyVideo,exports.useCartId=e$.default,exports.useCartLine=e0.default,exports.useCartUI=e1.default,exports.useCollection=e2.useCollection,exports.convertDecimalToNumber=e8.convertDecimalToNumber,exports.formatMoney=e8.formatMoney,exports.shopifyPriceRounding=e8.shopifyPriceRounding,exports.useFormatMoney=e8.useFormatMoney,Object.defineProperty(exports,"useId",{enumerable:!0,get:function(){return e3.useId}}),exports.useInitialSwatchesOptions=e4.default,exports.useIsomorphicLayoutEffect=e5.default,exports.useLoadScript=e6.default,exports.useMoney=e7.default,exports.usePrevious=e9.usePrevious,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return re.tGlobal}}),exports.useI18n=re.useI18n,exports.useStickyStore=rr.useStickyStore,exports.useCheckAvailableVariantInStock=rt.useCheckAvailableVariantInStock,exports.useCurrentVariant=rt.useCurrentVariant,exports.useCurrentVariantInStock=rt.useCurrentVariantInStock,exports.useFeaturedImageGlobal=rt.useFeaturedImageGlobal,exports.useHasPreSelected=rt.useHasPreSelected,exports.useIsSyncProduct=rt.useIsSyncProduct,exports.useProduct=rt.useProduct,exports.useProductBundleDiscount=rt.useProductBundleDiscount,exports.useProductOfferDiscount=rt.useProductOfferDiscount,exports.useProductProperties=rt.useProductProperties,exports.useProductShopifyEditLink=rt.useProductShopifyEditLink,exports.useQuantity=rt.useQuantity,exports.useSelectedOption=rt.useSelectedOption,exports.useUniqProductID=rt.useUniqProductID,exports.useVariant=rt.useVariant,exports.useVariantOutStock=rt.useVariantOutStock,exports.useVariants=rt.useVariants,exports.useShopifyLink=ro.useShopifyLink,exports.useSuspenseFetch=rs.default,exports.useSwatchesOptions=ri.default,exports.useRenderMode=ra.useRenderMode,exports.usePreviewSharePage=rp.usePreviewSharePage,Object.defineProperty(exports,"RenderModeEnv",{enumerable:!0,get:function(){return rl.RenderModeEnv}}),Object.defineProperty(exports,"RenderModeUpsellEnv",{enumerable:!0,get:function(){return ru.RenderModeUpsellEnv}}),Object.defineProperty(exports,"InteractionTargetEvent",{enumerable:!0,get:function(){return rn.InteractionTargetEvent}}),Object.defineProperty(exports,"InteractionTriggerEvent",{enumerable:!0,get:function(){return rn.InteractionTriggerEvent}}),Object.defineProperty(exports,"SectionMode",{enumerable:!0,get:function(){return rn.SectionMode}}),exports.ShopType=rc,exports.AppAPIType=rd,exports.OptionNormalStyle=rg.OptionNormalStyle,exports.OptionSpecialStyle=rg.OptionSpecialStyle,Object.defineProperty(exports,"AnimationDirectionType",{enumerable:!0,get:function(){return rx.AnimationDirectionType}}),Object.defineProperty(exports,"AnimationEasingType",{enumerable:!0,get:function(){return rx.AnimationEasingType}}),Object.defineProperty(exports,"AnimationSetting",{enumerable:!0,get:function(){return rx.AnimationSetting}}),Object.defineProperty(exports,"AnimationTriggerType",{enumerable:!0,get:function(){return rx.AnimationTriggerType}}),Object.defineProperty(exports,"AnimationType",{enumerable:!0,get:function(){return rx.AnimationType}}),Object.defineProperty(exports,"AnimationZoomDirectionType",{enumerable:!0,get:function(){return rx.AnimationZoomDirectionType}}),exports.calculateFirstProduct=rS.calculateFirstProduct,exports.getCollection=rS.getCollection,exports.fetchMedias=rh.fetchMedias,exports.fetchVariants=rh.fetchVariants,exports.getProduct=rh.getProduct,exports.getProductBySlug=ry.getProductBySlug,exports.getAppBlocks=rm.getAppBlocks,exports.addAppBlockId=rC.addAppBlockId,exports.useInteraction=rq.useInteraction,exports.createStoreFrontFetcher=rP.createStoreFrontFetcher,exports.hasPublicStoreFrontData=rP.hasPublicStoreFrontData,exports.BLACKLIST_TAGS=rv.BLACKLIST_TAGS,exports.DEVICES=rj.DEVICES,exports.EMPTY_DEVICE_VALUE=rj.EMPTY_DEVICE_VALUE;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e=e=>null!=e&&!("string"==typeof e&&""===e.trim());export{e as isSafeValue};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getResponsiveValueByScreen as e}from"./get-resonsive-value.js";let
|
|
1
|
+
import{getResponsiveValueByScreen as e}from"./get-resonsive-value.js";import{isSafeValue as t}from"./builder.js";let l=e=>Object.entries(e).reduce((e,[t,l])=>null==l?e:{...e,[t]:l},{}),o=e=>[e,`hvr-${e}`,`focus-${e}`,`${e}-tablet`,`hvr-${e}-tablet`,`focus-${e}-tablet`,`${e}-mobile`,`hvr-${e}-mobile`,`focus-${e}-mobile`].map(e=>`--${e}`),b=e=>l(Object.fromEntries(Object.entries(e).map(([e,t])=>[`--${e}`,t]))),i=(e,t)=>t?{[`--${e}`]:t?.normal,[`--hvr-${e}`]:t?.hover,[`--focus-${e}`]:t?.focus}:{},a=(e,t)=>t?{[`--${e}`]:t?.desktop?.normal,[`--hvr-${e}`]:t?.desktop?.hover,[`--focus-${e}`]:t?.desktop?.focus,[`--${e}-tablet`]:t?.tablet?.normal,[`--hvr-${e}-tablet`]:t?.tablet?.hover,[`--focus-${e}-tablet`]:t?.tablet?.focus,[`--${e}-mobile`]:t?.mobile?.normal,[`--hvr-${e}-mobile`]:t?.mobile?.hover,[`--focus-${e}-mobile`]:t?.mobile?.focus}:{},r=(e,l,o)=>{let b=o&&t(l?.desktop)?`${l?.desktop}${o}`:l?.desktop,i=o&&t(l?.tablet)?`${l?.tablet}${o}`:l?.tablet,a=o&&t(l?.mobile)?`${l?.mobile}${o}`:l?.mobile,r={};return b&&(r[`--${e}`]=b),i&&i!==b&&(r[`--${e}-tablet`]=i),a&&a!==i&&(r[`--${e}-mobile`]=a),r},s=(t,l,o)=>({[`--${t}`]:o?`${e(l,"desktop")}${o}`:e(l,"desktop"),[`--${t}-tablet`]:o?`${e(l,"tablet")}${o}`:e(l,"tablet"),[`--${t}-mobile`]:o?`${e(l,"mobile")}${o}`:e(l,"mobile")}),m=(l,o)=>{let b=(t,l,o)=>{let b=e(l,t),i=o?.[t]===void 0?o?.desktop:o?.[t];return i?"100%":!1===i?b??b:b||"auto"},i=b("desktop",l,o),a=b("tablet",l,o),r=b("mobile",l,o),s={};return t(i)&&(s.desktop=i),t(a)&&a!==i&&(s.tablet=a),t(r)&&r!==a&&(s.mobile=r),s},$=e=>{let l=e?.desktop?.width,o=e?.tablet?.width,b=e?.mobile?.width,i={};return t(l)&&(i["--w"]=l),t(o)&&o!==l&&(i["--w-tablet"]=o),t(b)&&b!==o&&(i["--w-mobile"]=b),i},u=e=>{let l=e?.desktop?.height,o=e?.tablet?.height,b=e?.mobile?.height,i={};return t(l)&&(i["--h"]=l),t(o)&&o!==l&&(i["--h-tablet"]=o),t(b)&&b!==o&&(i["--h-mobile"]=b),i},n=(e,l)=>{let o=(e,t,l)=>{let o=t?.[e],b=l?.[e];return b?"auto":!1===b?o??o:o},b=o("desktop",e,l),i=o("tablet",e,l),a=o("mobile",e,l),r={};return t(b)&&(r.desktop=b),t(i)&&i!==b&&(r.tablet=i),t(a)&&a!==i&&(r.mobile=a),r},d=(t,l,o)=>{let b={};return["desktop","mobile","tablet"].forEach(i=>{let a=e(t,i);"none"!==a&&(b={...b,[i]:"custom"!==a?a:`${e(l,"desktop")}/${e(o,"desktop")}`})}),b},p=(l,o)=>{let b=(t,l,o)=>{let b=e(l,t),i=e(o,t);return 0===b?"0":i||void 0===i?b:"unset"},i=b("desktop",l,o),a=b("tablet",l,o),r=b("mobile",l,o),s={};return t(i)&&(s.desktop=i),t(a)&&a!==i&&(s.tablet=a),t(r)&&r!==a&&(s.mobile=r),s},k=(e,t,l)=>l?`${t?.[e]}${l}`:t?.[e]==="default"?"1200px":t?.[e],h=(e,l)=>{let o=k("desktop",e,l),b=k("tablet",e,l),i=k("mobile",e,l),a={};return t(o)&&(a["--w"]=o),t(b)&&b!==o&&(a["--w-tablet"]=b),t(i)&&i!==b&&(a["--w-mobile"]=i),a},v=(e,t,l)=>{if(l)return`${t?.[e]}${l}`;switch(t?.[e]){case"default":return"1200px";case"Auto":return"100%";default:return t?.[e]}},c=(e,l)=>{let o=v("desktop",e,l),b=v("tablet",e,l),i=v("mobile",e,l),a={};return t(o)&&(a["--w"]=o),t(b)&&b!==o&&(a["--w-tablet"]=b),t(i)&&i!==b&&(a["--w-mobile"]=i),a};export{d as makeAspectRatio,u as makeGlobalSizeHeightResponsive,$ as makeGlobalSizeWidthResponsive,n as makeHeight,p as makeLineClamp,b as makeStyle,o as makeStyleKey,r as makeStyleResponsive,s as makeStyleResponsiveByScreen,a as makeStyleResponsiveState,h as makeStyleResponsiveWidth,c as makeStyleResponsiveWidthWithoutAuto,i as makeStyleState,m as makeWidth,l as removeNullUndefined};
|
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{default as RenderPreviewUpsell}from"./upsell-components/RenderPreviewUpsell.js";export{RenderChildren,default as RenderLiquid,WrapRenderChildren}from"./components/Render.liquid.js";export{AddonProvider,useAddon,useAddons}from"./contexts/AddonContext.js";export{BuilderComponentProvider,useBuilderComponent}from"./contexts/BuilderComponent.js";export{BuilderProvider,useBuilderStore}from"./contexts/BuilderContext.js";export{BuilderPreviewProvider,useBuilderPreviewStore}from"./contexts/BuilderPreviewContext.js";export{CartLineProvider,useCartLineStore}from"./contexts/CartLineContext.js";export{ProductListProvider,useProductListStore}from"./contexts/ProductListContext.js";export{ProductProvider,useProductStore}from"./contexts/ProductContext.js";export{SectionProvider,useSection,useSectionStore}from"./contexts/SectionContext.js";export{ShopProvider,useShopStore}from"./contexts/ShopContext.js";export{PageProvider,usePageStore}from"./contexts/PageContext.js";export{CollectionProvider,useCollectionStore}from"./contexts/CollectionContext.js";export{ModalProvider,useModalStore}from"./contexts/ModalContext.js";export{ArticleListProvider,useArticleListStore}from"./contexts/ArticleListContext.js";export{ArticleProvider,useArticleStore}from"./contexts/ArticleContext.js";export{I18nProvider,useI18nStore}from"./contexts/I18nContext.js";export{BuilderPreviewUpsellProvider,useBuilderPreviewUpsellStore}from"./contexts/BuilderPreviewUpsellContext.js";export{BuilderUpsellWidgetProvider}from"./contexts/BuilderUpsellWidget.js";export{PageViewUpDocument}from"./graphql/mutations/page-view-up.generated.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,makeStyleResponsiveState,makeStyleResponsiveWidth,makeStyleResponsiveWidthWithoutAuto,makeStyleState,makeWidth,removeNullUndefined}from"./helpers/make-style.js";export{convertTextAlignToJustify,getAlignmentClasses}from"./helpers/align.js";export{filterHoverVariables,filterTruthyStyles}from"./helpers/filter-styles.js";export{cloneDeep}from"./helpers/clone-deep.js";export{hasTranslatedLiquid}from"./helpers/liquid.js";export{checkInStock}from"./helpers/variant.js";export{checkHasChangeContent,createTranslateKey,extractOuterTagContent,getThemeSectionTranslateKey,getValueSettingFromSchema,replaceOuterTagContent}from"./helpers/createTranslateKey.js";export{getHashCode}from"./helpers/getHashCode.js";export{checkAvailableVariantInStock,getSelectedVariant,parseSelectedOption}from"./helpers/product.js";export{generateCollectionQueryKey,generateProductQueryKey,generateProductsQueryKey}from"./helpers/query.js";export{composeCornerCss,composeRadius,composeRadiusResponsive,getCornerCSSFromGlobal,getCustomRadius,getRadiusCSSFromGlobal,getRadiusStyleActiveState}from"./helpers/radius.js";export{RenderIf,composeMemo,dataStringify,props,removeUndefinedValuesFromObject,sanitizeLiquid,styles,template}from"./helpers/render.js";export{composeShadow,composeShadowCss,getResponsiveStyleShadow,getResponsiveStyleShadowWithoutState,getStyleShadow,getStyleShadowState,parseValueWithUnit}from"./helpers/shadow.js";export{composeSize,composeSizeCss,genSizeClass,getAspectRatioGlobalSize,getFlexGrowClassByShapeGlobalSize,getGlobalSizeGap,getHeightByShapeGlobalSize,getPaddingGlobalSize,getPaddingStyleByDevice,getResponsiveStylePadding,getValueByDevice,getWidthByShapeGlobalSize,getWidthHeightGlobalSize,makeGlobalSize,makeGlobalSizeIcon,makeStyleWithDefault}from"./helpers/size.js";export{composeFallbackTypographyStyle,composeFontFamilyTypographyV2,composeTextHoverColorCss,composeTypography,composeTypographyAttr,composeTypographyClassName,composeTypographyCss,composeTypographyStyle,composeTypographyV2,composeTypographyV2Css,genTypoClass}from"./helpers/typography.js";export{useArticlesQuery,useBlogsQuery}from"./hooks/articles/useArticlesQuery.js";export{useAddToCart}from"./hooks/cart/use-add-to-cart.js";export{useCartData}from"./hooks/cart/use-cart-data.js";export{useCartDiscountCodesUpdate}from"./hooks/cart/use-cart-discount-codes-update.js";export{useCartNoteUpdate}from"./hooks/cart/use-cart-note-update.js";export{useCreateCart}from"./hooks/cart/use-create-cart.js";export{useRemoveCartItem}from"./hooks/cart/use-remove-cart-item.js";export{useUpdateCartItem}from"./hooks/cart/use-update-cart-item.js";export{useCheckoutUrl,useConnectedShopify,useCurrency,useEditorMode,useIsSampleProduct,useIsStorefrontProduct,useLocale,useMatchMutate,useMobileOnly,useMoneyFormat,usePageType,usePluginEnable,useStoreFront,useSwatches,useTimezone}from"./hooks/shop.js";export{useCollectionQuery}from"./hooks/shop/use-collection-query.js";export{useCollectionsQuery}from"./hooks/shop/use-collections-query.js";export{useProductQuery}from"./hooks/shop/use-product-query.js";export{useProductOffersQuery}from"./hooks/shop/useProductOffersQuery.js";export{useFetchHandle}from"./hooks/useFetchHandle.js";export{useProductsQuery,useProductsQueryAll}from"./hooks/shop/use-products-query.js";export{useCurrentDevice}from"./hooks/use-current-device.js";export{useLazyVideo}from"./hooks/use-lazy-video.js";export{default as useCartId}from"./hooks/useCartId.js";export{default as useCartLine}from"./hooks/useCartLine.js";export{default as useCartUI}from"./hooks/useCartUI.js";export{useCollection}from"./hooks/useCollection.js";export{convertDecimalToNumber,formatMoney,shopifyPriceRounding,useFormatMoney}from"./hooks/useFormatMoney.js";export{useId}from"react";export{default as useInitialSwatchesOptions}from"./hooks/useInitialSwatchesOptions.js";export{default as useIsomorphicLayoutEffect}from"./hooks/useIsomorphicLayoutEffect.js";export{default as useLoadScript}from"./hooks/useLoadScript.js";export{default as useMoney}from"./hooks/useMoney.js";export{usePrevious}from"./hooks/usePrevious.js";export{tGlobal as t,useI18n}from"./hooks/useI18n.js";export{useStickyStore}from"./hooks/useStickyStore.js";export{useCheckAvailableVariantInStock,useCurrentVariant,useCurrentVariantInStock,useFeaturedImageGlobal,useHasPreSelected,useIsSyncProduct,useProduct,useProductBundleDiscount,useProductOfferDiscount,useProductProperties,useProductShopifyEditLink,useQuantity,useSelectedOption,useUniqProductID,useVariant,useVariantOutStock,useVariants}from"./hooks/useProduct.js";export{useShopifyLink}from"./hooks/shop/useShopifyLink.js";export{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{default as RenderPreviewUpsell}from"./upsell-components/RenderPreviewUpsell.js";export{RenderChildren,default as RenderLiquid,WrapRenderChildren}from"./components/Render.liquid.js";export{AddonProvider,useAddon,useAddons}from"./contexts/AddonContext.js";export{BuilderComponentProvider,useBuilderComponent}from"./contexts/BuilderComponent.js";export{BuilderProvider,useBuilderStore}from"./contexts/BuilderContext.js";export{BuilderPreviewProvider,useBuilderPreviewStore}from"./contexts/BuilderPreviewContext.js";export{CartLineProvider,useCartLineStore}from"./contexts/CartLineContext.js";export{ProductListProvider,useProductListStore}from"./contexts/ProductListContext.js";export{ProductProvider,useProductStore}from"./contexts/ProductContext.js";export{SectionProvider,useSection,useSectionStore}from"./contexts/SectionContext.js";export{ShopProvider,useShopStore}from"./contexts/ShopContext.js";export{PageProvider,usePageStore}from"./contexts/PageContext.js";export{CollectionProvider,useCollectionStore}from"./contexts/CollectionContext.js";export{ModalProvider,useModalStore}from"./contexts/ModalContext.js";export{ArticleListProvider,useArticleListStore}from"./contexts/ArticleListContext.js";export{ArticleProvider,useArticleStore}from"./contexts/ArticleContext.js";export{I18nProvider,useI18nStore}from"./contexts/I18nContext.js";export{BuilderPreviewUpsellProvider,useBuilderPreviewUpsellStore}from"./contexts/BuilderPreviewUpsellContext.js";export{BuilderUpsellWidgetProvider}from"./contexts/BuilderUpsellWidget.js";export{PageViewUpDocument}from"./graphql/mutations/page-view-up.generated.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{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};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -42762,9 +42762,9 @@ type AddonProviderProps = Pick<AddonContextProps, 'components'> & {
|
|
|
42762
42762
|
|
|
42763
42763
|
declare const AddonProvider: React.FC<AddonProviderProps>;
|
|
42764
42764
|
declare const useAddons: () => Record<string, React.ComponentType<any>>;
|
|
42765
|
-
declare const useAddon: (id?: string) => React.FC<BaseProps & {
|
|
42765
|
+
declare const useAddon: (id?: string) => React.ComponentType<any> | React.FC<BaseProps & {
|
|
42766
42766
|
children?: React.ReactNode;
|
|
42767
|
-
}
|
|
42767
|
+
}>;
|
|
42768
42768
|
|
|
42769
42769
|
type BuilderComponentProps = {
|
|
42770
42770
|
components: Record<string, React.ComponentType<any>>;
|
|
@@ -42776,9 +42776,9 @@ type BuilderComponentProviderProps = Pick<BuilderComponentProps, 'components'> &
|
|
|
42776
42776
|
};
|
|
42777
42777
|
|
|
42778
42778
|
declare const BuilderComponentProvider: React.FC<BuilderComponentProviderProps>;
|
|
42779
|
-
declare const useBuilderComponent: (id?: string) => React.
|
|
42779
|
+
declare const useBuilderComponent: (id?: string) => React.FC<BaseProps & {
|
|
42780
42780
|
children?: React.ReactNode;
|
|
42781
|
-
}>;
|
|
42781
|
+
}> | React.ComponentType<BaseProps>;
|
|
42782
42782
|
|
|
42783
42783
|
type BuilderContextProps = {
|
|
42784
42784
|
state: BuilderState | SectionData;
|
|
@@ -43337,37 +43337,37 @@ type CollectionDetailFilterQueryVariables = Exact$1<{
|
|
|
43337
43337
|
}>;
|
|
43338
43338
|
type CollectionDetailFilterQueryResponse = {
|
|
43339
43339
|
collections?: Maybe$1<{
|
|
43340
|
-
edges: Array<
|
|
43341
|
-
node?: Maybe$1<
|
|
43340
|
+
edges: Array<Pick<CollectionEdge$1, 'cursor'> & {
|
|
43341
|
+
node?: Maybe$1<Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
|
|
43342
43342
|
products?: Maybe$1<{
|
|
43343
|
-
edges: Array<
|
|
43344
|
-
node?: Maybe$1<
|
|
43345
|
-
options?: Maybe$1<Array<
|
|
43343
|
+
edges: Array<Pick<ProductEdge$1, 'cursor'> & {
|
|
43344
|
+
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor' | 'tags'> & {
|
|
43345
|
+
options?: Maybe$1<Array<Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
|
|
43346
43346
|
values: Array<Pick<ProductOptionValue$1, 'id' | 'label' | 'isDefault' | 'baseID'>>;
|
|
43347
|
-
}
|
|
43347
|
+
}>>;
|
|
43348
43348
|
featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
43349
43349
|
medias?: Maybe$1<{
|
|
43350
|
-
edges: Array<
|
|
43350
|
+
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
43351
43351
|
node?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
43352
|
-
}
|
|
43352
|
+
}>;
|
|
43353
43353
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
43354
43354
|
}>;
|
|
43355
43355
|
variants?: Maybe$1<{
|
|
43356
|
-
edges: Array<
|
|
43357
|
-
node?: Maybe$1<
|
|
43356
|
+
edges: Array<Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
43357
|
+
node?: Maybe$1<Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
43358
43358
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
43359
43359
|
media?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
43360
|
-
}
|
|
43361
|
-
}
|
|
43360
|
+
}>;
|
|
43361
|
+
}>;
|
|
43362
43362
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'hasNextPage' | 'endCursor'>>;
|
|
43363
43363
|
}>;
|
|
43364
|
-
}
|
|
43365
|
-
}
|
|
43364
|
+
}>;
|
|
43365
|
+
}>;
|
|
43366
43366
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
43367
43367
|
}>;
|
|
43368
43368
|
collectionMedia?: Maybe$1<Pick<CollectionMedia$1, 'src'>>;
|
|
43369
|
-
}
|
|
43370
|
-
}
|
|
43369
|
+
}>;
|
|
43370
|
+
}>;
|
|
43371
43371
|
}>;
|
|
43372
43372
|
};
|
|
43373
43373
|
declare class TypedDocumentString$j<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
|
|
@@ -43505,29 +43505,29 @@ type ProductsQueryVariables = Exact$1<{
|
|
|
43505
43505
|
}>;
|
|
43506
43506
|
type ProductsQueryResponse = {
|
|
43507
43507
|
products?: Maybe$1<{
|
|
43508
|
-
edges: Array<
|
|
43509
|
-
node?: Maybe$1<
|
|
43510
|
-
options?: Maybe$1<Array<
|
|
43508
|
+
edges: Array<Pick<ProductEdge$1, 'cursor'> & {
|
|
43509
|
+
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor' | 'tags'> & {
|
|
43510
|
+
options?: Maybe$1<Array<Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
|
|
43511
43511
|
values: Array<Pick<ProductOptionValue$1, 'id' | 'label' | 'isDefault' | 'baseID'>>;
|
|
43512
|
-
}
|
|
43512
|
+
}>>;
|
|
43513
43513
|
featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
43514
43514
|
medias?: Maybe$1<{
|
|
43515
|
-
edges: Array<
|
|
43515
|
+
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
43516
43516
|
node?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
43517
|
-
}
|
|
43517
|
+
}>;
|
|
43518
43518
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
43519
43519
|
}>;
|
|
43520
43520
|
variants?: Maybe$1<{
|
|
43521
|
-
edges: Array<
|
|
43522
|
-
node?: Maybe$1<
|
|
43521
|
+
edges: Array<Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
43522
|
+
node?: Maybe$1<Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
43523
43523
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
43524
43524
|
media?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
43525
|
-
}
|
|
43526
|
-
}
|
|
43525
|
+
}>;
|
|
43526
|
+
}>;
|
|
43527
43527
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'hasNextPage' | 'endCursor'>>;
|
|
43528
43528
|
}>;
|
|
43529
|
-
}
|
|
43530
|
-
}
|
|
43529
|
+
}>;
|
|
43530
|
+
}>;
|
|
43531
43531
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
43532
43532
|
}>;
|
|
43533
43533
|
};
|
|
@@ -44121,6 +44121,7 @@ declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) =
|
|
|
44121
44121
|
declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: StateProp<K>) => {};
|
|
44122
44122
|
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: ResponsiveStateProp<K>) => {};
|
|
44123
44123
|
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: ObjectDevices<K>, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
44124
|
+
declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: ObjectDevices<K>, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
44124
44125
|
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number>;
|
|
44125
44126
|
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => Record<string, string | undefined>;
|
|
44126
44127
|
declare const makeGlobalSizeHeightResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => Record<string, string | undefined>;
|
|
@@ -55364,5 +55365,5 @@ declare const EMPTY_DEVICE_VALUE: undefined;
|
|
|
55364
55365
|
|
|
55365
55366
|
declare const BLACKLIST_TAGS: Set<string>;
|
|
55366
55367
|
|
|
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, DEVICES, EMPTY_DEVICE_VALUE, GRADIENT_BGR_KEY, I18nProvider, InteractionTargetEvent, InteractionTriggerEvent, LibrarySaleFunnelDocument, LibraryTemplateDocument, ModalProvider, OptionNormalStyle, OptionSpecialStyle, PageProvider, PageViewUpDocument, 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, 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, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, replaceOuterTagContent, sanitizeLiquid, shopifyPriceRounding, splitStyle, styles, tGlobal as t, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, 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 };
|
|
55368
|
+
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, PageViewUpDocument, 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, 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, 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 };
|
|
55368
55369
|
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, 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, PageViewUpMutationResponse, PageViewUpMutationVariables, 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, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "17.0.0-dev.
|
|
3
|
+
"version": "17.0.0-dev.37",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"post:publish": "node ./../../helpers/convert-publish.js",
|
|
16
16
|
"watch": "rollup -c ./../../helpers/rollup.config.mjs -w",
|
|
17
17
|
"build": "rollup -c ./../../helpers/rollup.config.mjs --environment NODE_ENV:production",
|
|
18
|
-
"lint": "oxlint --format=stylish ./src",
|
|
18
|
+
"lint": "oxlint --format=stylish ./src && eslint --ext .gql ./src",
|
|
19
19
|
"test": "jest -c ./../../helpers/jest.config.ts",
|
|
20
20
|
"format": "prettier --write \"./src/**/*.{ts,tsx}\"",
|
|
21
21
|
"schema:codegen": "gqlg --schemaFilePath ./schema/storefront.graphql --rootQuery Query --rootMutation Mutation --destDirPath ./__generated__ --depthLimit 5 && prettier --write --loglevel silent __generated__/**/*.gql",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@gem-sdk/adapter-shopify": "17.0.0-dev.9",
|
|
32
|
-
"@gem-sdk/styles": "17.0.0-dev.
|
|
32
|
+
"@gem-sdk/styles": "17.0.0-dev.30",
|
|
33
33
|
"@types/classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|