@gem-sdk/core 16.1.0-dev.0 → 17.0.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/AddOn.js +1 -1
- package/dist/cjs/components/ComponentAnimation.js +1 -1
- package/dist/cjs/components/ComponentToolbarPreview.js +1 -1
- package/dist/cjs/components/ComponentWrapper.js +1 -1
- package/dist/cjs/components/ComponentWrapperPreview.js +1 -1
- package/dist/cjs/components/Empty.js +1 -1
- package/dist/cjs/components/InteractionSuffix.js +1 -1
- package/dist/cjs/components/Render.js +1 -1
- package/dist/cjs/components/Render.liquid.js +12 -12
- package/dist/cjs/components/RenderBlock.js +1 -1
- package/dist/cjs/components/RenderCustomCode.js +3 -3
- package/dist/cjs/components/RenderPreview.js +1 -1
- package/dist/cjs/components/RenderSection.js +1 -1
- package/dist/cjs/components/ai-assistant/AIAssistant.js +1 -0
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +1 -1
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +1 -1
- package/dist/cjs/components/ai-generator/components/PickProduct.js +1 -1
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +1 -1
- package/dist/cjs/components/ai-generator/hooks/useCheckingProductInside.js +1 -1
- package/dist/cjs/components/ai-generator/hooks/useFlipPopup.js +1 -1
- package/dist/cjs/components/ai-generator/hooks/useGettingGenerateRequest.js +1 -1
- package/dist/cjs/components/ai-generator/hooks/useListenEventGenerate.js +1 -1
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +1 -1
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +1 -1
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +1 -1
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +1 -1
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +1 -1
- package/dist/cjs/components/ai-generator/icons/UpgradeIcon.js +1 -1
- package/dist/cjs/components/ai-generator/icons/WarningIcon.js +1 -1
- package/dist/cjs/components/animation/AnimationWrapper.js +1 -1
- package/dist/cjs/components/constant.js +1 -1
- package/dist/cjs/components/resize/Resize.js +1 -1
- package/dist/cjs/components/resize/Spacing.js +1 -1
- package/dist/cjs/components/src/product/helpers/variant-presets.js +1 -1
- package/dist/cjs/components/theme-section/CreateThemeSection.js +1 -1
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +1 -1
- package/dist/cjs/components/theme-section/ThemeSectionTooltip.js +1 -1
- package/dist/cjs/components/toolbar/SectionErrorBanner.js +1 -1
- package/dist/cjs/components/toolbar/Tooltip.js +1 -1
- package/dist/cjs/components/upgrade-element/UpgradeOldElement.js +1 -0
- package/dist/cjs/constants/device.js +1 -1
- package/dist/cjs/constants/index.js +1 -1
- package/dist/cjs/contexts/AddonContext.js +1 -1
- package/dist/cjs/contexts/ArticleContext.js +1 -1
- package/dist/cjs/contexts/ArticleListContext.js +1 -1
- package/dist/cjs/contexts/BuilderComponent.js +1 -1
- package/dist/cjs/contexts/BuilderContext.js +1 -1
- package/dist/cjs/contexts/BuilderPreviewContext.js +1 -1
- package/dist/cjs/contexts/BuilderPreviewUpsellContext.js +2 -0
- package/dist/cjs/contexts/BuilderUpsellWidget.js +2 -0
- package/dist/cjs/contexts/CartLineContext.js +1 -1
- package/dist/cjs/contexts/CollectionContext.js +1 -1
- package/dist/cjs/contexts/I18nContext.js +1 -1
- package/dist/cjs/contexts/ModalContext.js +1 -1
- package/dist/cjs/contexts/PageContext.js +1 -1
- package/dist/cjs/contexts/ProductContext.js +1 -1
- package/dist/cjs/contexts/ProductListContext.js +1 -1
- package/dist/cjs/contexts/SectionContext.js +1 -1
- package/dist/cjs/contexts/ShopContext.js +1 -1
- package/dist/cjs/graphql/fragments/media.generated.js +2 -2
- package/dist/cjs/graphql/fragments/product-list-select.generated.js +50 -0
- package/dist/cjs/graphql/fragments/product-option-value.generated.js +2 -2
- package/dist/cjs/graphql/fragments/product-option.generated.js +7 -2
- package/dist/cjs/graphql/fragments/selected-option.generated.js +2 -2
- package/dist/cjs/graphql/fragments/variant.generated.js +16 -2
- package/dist/cjs/graphql/mutations/page-view-up.generated.js +2 -2
- package/dist/cjs/graphql/queries/articles.generated.js +2 -2
- package/dist/cjs/graphql/queries/blogs.generated.js +2 -2
- package/dist/cjs/graphql/queries/collection-detail-filter.generated.js +145 -10
- package/dist/cjs/graphql/queries/collection.generated.js +124 -8
- package/dist/cjs/graphql/queries/collections.generated.js +40 -3
- package/dist/cjs/graphql/queries/preview-page.generated.js +60 -6
- package/dist/cjs/graphql/queries/product-little-detail.generated.js +54 -5
- package/dist/cjs/graphql/queries/product-medias.generated.js +11 -2
- package/dist/cjs/graphql/queries/product-value-label.generated.js +2 -2
- package/dist/cjs/graphql/queries/product-variant-with-selling-plans.generated.js +58 -4
- package/dist/cjs/graphql/queries/product-variants.generated.js +45 -4
- package/dist/cjs/graphql/queries/products-with-selling-plans.generated.js +206 -16
- package/dist/cjs/graphql/queries/products.generated.js +8 -32
- package/dist/cjs/graphql/queries/published-shop-metas.generated.js +2 -2
- package/dist/cjs/graphql/queries/published-theme-pages.generated.js +80 -9
- package/dist/cjs/graphql/queries/shop-shopify.generated.js +2 -2
- package/dist/cjs/graphql/queries/store-property.generated.js +2 -2
- package/dist/cjs/graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js +2 -2
- package/dist/cjs/graphql-app-api/queries/LibraryTemplate.generated.js +2 -2
- package/dist/cjs/graphql-app-api/queries/SaleFunnelDiscounts.generated.js +2 -2
- package/dist/cjs/graphql-app-api/queries/SaleFunnelOffer.generated.js +2 -2
- package/dist/cjs/graphql-app-api/queries/ShopLibraryPage.generated.js +2 -2
- package/dist/cjs/graphql-app-api/queries/ThemePage.generated.js +2 -2
- package/dist/cjs/graphql-app-api/queries/ThemePageMeta.generated.js +2 -2
- package/dist/cjs/helpers/GlobalEvent.js +1 -1
- package/dist/cjs/helpers/align.js +1 -1
- package/dist/cjs/helpers/animations.js +1 -1
- package/dist/cjs/helpers/background.js +1 -1
- package/dist/cjs/helpers/backgroundImage.js +1 -1
- package/dist/cjs/helpers/borders.js +4 -4
- package/dist/cjs/helpers/carousel.js +1 -1
- package/dist/cjs/helpers/clone-deep.js +1 -1
- package/dist/cjs/helpers/cls.js +1 -1
- package/dist/cjs/helpers/colors.js +1 -1
- package/dist/cjs/helpers/compose-advance-style.js +1 -1
- package/dist/cjs/helpers/composeClasses.js +1 -1
- package/dist/cjs/helpers/const.js +1 -1
- package/dist/cjs/helpers/constant.js +1 -1
- package/dist/cjs/helpers/convert.js +1 -1
- package/dist/cjs/helpers/covert-entities-html.js +1 -1
- package/dist/cjs/helpers/create-store-front-fetcher.js +1 -1
- package/dist/cjs/helpers/createTranslateKey.js +1 -1
- package/dist/cjs/helpers/css-variable.js +1 -1
- package/dist/cjs/helpers/email.js +1 -1
- package/dist/cjs/helpers/filter-styles.js +1 -1
- package/dist/cjs/helpers/filter-toolbar-preview.js +1 -1
- package/dist/cjs/helpers/flatten-connection.js +1 -1
- package/dist/cjs/helpers/get-resonsive-value.js +1 -1
- package/dist/cjs/helpers/get-shortname.js +1 -1
- package/dist/cjs/helpers/getHashCode.js +1 -1
- package/dist/cjs/helpers/icon-list.js +1 -1
- package/dist/cjs/helpers/interaction/index.js +1 -1
- package/dist/cjs/helpers/is-browser.js +1 -1
- package/dist/cjs/helpers/is-defined.js +1 -1
- package/dist/cjs/helpers/is-empty-children.js +1 -1
- package/dist/cjs/helpers/is-safari.js +1 -1
- package/dist/cjs/helpers/layout.js +1 -1
- package/dist/cjs/helpers/liquid.js +1 -1
- package/dist/cjs/helpers/load-script.js +1 -1
- package/dist/cjs/helpers/loop-component.js +1 -1
- package/dist/cjs/helpers/make-style.js +1 -1
- package/dist/cjs/helpers/normalize-builder-data-upsell.js +1 -0
- package/dist/cjs/helpers/normalize-builder-data.js +1 -1
- package/dist/cjs/helpers/pascal-to-kebab-case.js +1 -1
- package/dist/cjs/helpers/prefetch-queries.js +1 -1
- package/dist/cjs/helpers/product.js +1 -1
- package/dist/cjs/helpers/queries/get-collection.js +1 -1
- package/dist/cjs/helpers/queries/get-collections.js +1 -1
- package/dist/cjs/helpers/queries/get-product-by-slug.js +1 -1
- package/dist/cjs/helpers/queries/get-product.js +1 -1
- package/dist/cjs/helpers/queries/get-products.js +1 -1
- package/dist/cjs/helpers/queries/getProductOffers.js +1 -1
- package/dist/cjs/helpers/query.js +1 -1
- package/dist/cjs/helpers/radius.js +5 -5
- package/dist/cjs/helpers/render.js +1 -1
- package/dist/cjs/helpers/shadow.js +1 -1
- package/dist/cjs/helpers/size.js +3 -3
- package/dist/cjs/helpers/spacing.js +1 -1
- package/dist/cjs/helpers/third-party/addAppBlockId.js +1 -1
- package/dist/cjs/helpers/third-party/appConfig.js +1 -1
- package/dist/cjs/helpers/third-party/appSetting.js +1 -1
- package/dist/cjs/helpers/third-party/composeAppBlockId.js +1 -1
- package/dist/cjs/helpers/third-party/constant.js +1 -1
- package/dist/cjs/helpers/third-party/generateAppBlockConfigs.js +1 -1
- package/dist/cjs/helpers/third-party/getAppBlockType.js +1 -1
- package/dist/cjs/helpers/third-party/getAppBlocks.js +1 -1
- package/dist/cjs/helpers/third-party/mergeBlock.js +1 -1
- package/dist/cjs/helpers/third-party/mergeBlockOrder.js +1 -1
- package/dist/cjs/helpers/third-party/removeGPAppItems.js +1 -1
- package/dist/cjs/helpers/tracking/fpixel.js +1 -1
- package/dist/cjs/helpers/tracking/gtag.js +1 -1
- package/dist/cjs/helpers/tracking/tiktokpixel.js +1 -1
- package/dist/cjs/helpers/typography.js +19 -19
- package/dist/cjs/helpers/variant.js +1 -1
- package/dist/cjs/helpers/verify-external-link.js +1 -1
- package/dist/cjs/hooks/animation/animations.js +1 -1
- package/dist/cjs/hooks/animation/useAnimationActions.js +1 -1
- package/dist/cjs/hooks/animation/useAnimationConfig.js +1 -1
- package/dist/cjs/hooks/animation/useAnimationPreview.js +1 -1
- package/dist/cjs/hooks/animation/useAnimationTarget.js +1 -1
- package/dist/cjs/hooks/animation/useApplyAnimation.js +1 -1
- package/dist/cjs/hooks/animation/useLivePageAnimation.js +1 -1
- package/dist/cjs/hooks/articles/useArticlesQuery.js +1 -1
- package/dist/cjs/hooks/cart/use-add-to-cart.js +1 -2
- package/dist/cjs/hooks/cart/use-cart-data.js +1 -1
- package/dist/cjs/hooks/cart/use-cart-discount-codes-update.js +1 -1
- package/dist/cjs/hooks/cart/use-cart-note-update.js +1 -1
- package/dist/cjs/hooks/cart/use-create-cart.js +1 -1
- package/dist/cjs/hooks/cart/use-remove-cart-item.js +1 -1
- package/dist/cjs/hooks/cart/use-update-cart-item.js +1 -1
- package/dist/cjs/hooks/shop/use-collection-query.js +1 -1
- package/dist/cjs/hooks/shop/use-collections-query.js +1 -1
- package/dist/cjs/hooks/shop/use-product-query.js +1 -1
- package/dist/cjs/hooks/shop/use-products-query.js +1 -1
- package/dist/cjs/hooks/shop/useProductOffersQuery.js +1 -1
- package/dist/cjs/hooks/shop/useShopifyLink.js +1 -1
- package/dist/cjs/hooks/shop.js +1 -1
- package/dist/cjs/hooks/use-current-device.js +1 -1
- package/dist/cjs/hooks/use-lazy-video.js +1 -1
- package/dist/cjs/hooks/useAnimations.js +1 -1
- package/dist/cjs/hooks/useCartId.js +1 -1
- package/dist/cjs/hooks/useCartLine.js +1 -2
- package/dist/cjs/hooks/useCartUI.js +1 -1
- package/dist/cjs/hooks/useCollection.js +1 -1
- package/dist/cjs/hooks/useFetchHandle.js +1 -1
- package/dist/cjs/hooks/useFormatMoney.js +1 -1
- package/dist/cjs/hooks/useI18n.js +1 -1
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +1 -1
- package/dist/cjs/hooks/useInteraction.js +1 -1
- package/dist/cjs/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/dist/cjs/hooks/useLoadScript.js +1 -1
- package/dist/cjs/hooks/useMoney.js +1 -1
- package/dist/cjs/hooks/usePreviewSharePage.js +1 -1
- package/dist/cjs/hooks/usePrevious.js +1 -1
- package/dist/cjs/hooks/useProduct.js +1 -1
- package/dist/cjs/hooks/useRenderMode.js +1 -1
- package/dist/cjs/hooks/useStickyStore.js +1 -1
- package/dist/cjs/hooks/useSuspenseFetch.js +1 -1
- package/dist/cjs/hooks/useSwatchesOptions.js +1 -1
- package/dist/cjs/hooks/useToolbarPostPurchase.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/types/builderUpsell.js +1 -0
- package/dist/cjs/types/global-style.js +1 -1
- package/dist/cjs/upsell-components/Empty.js +2 -0
- package/dist/cjs/upsell-components/RenderPreviewUpsell.js +2 -0
- package/dist/cjs/upsell-components/WrapperWidgetPreview.js +2 -0
- package/dist/esm/components/AddOn.js +1 -1
- package/dist/esm/components/ComponentAnimation.js +1 -1
- package/dist/esm/components/ComponentToolbarPreview.js +1 -1
- package/dist/esm/components/ComponentWrapper.js +1 -1
- package/dist/esm/components/ComponentWrapperPreview.js +1 -1
- package/dist/esm/components/Empty.js +1 -1
- package/dist/esm/components/InteractionSuffix.js +1 -1
- package/dist/esm/components/Render.js +1 -1
- package/dist/esm/components/Render.liquid.js +11 -11
- package/dist/esm/components/RenderBlock.js +1 -1
- package/dist/esm/components/RenderCustomCode.js +2 -2
- package/dist/esm/components/RenderPreview.js +1 -1
- package/dist/esm/components/RenderSection.js +1 -1
- package/dist/esm/components/ai-assistant/AIAssistant.js +1 -0
- package/dist/esm/components/ai-generator/AIContentGenerator.js +1 -1
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +1 -1
- package/dist/esm/components/ai-generator/components/PickProduct.js +1 -1
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +1 -1
- package/dist/esm/components/ai-generator/hooks/useCheckingProductInside.js +1 -1
- package/dist/esm/components/ai-generator/hooks/useFlipPopup.js +1 -1
- package/dist/esm/components/ai-generator/hooks/useGettingGenerateRequest.js +1 -1
- package/dist/esm/components/ai-generator/hooks/useListenEventGenerate.js +1 -1
- package/dist/esm/components/ai-generator/icons/AIIcon.js +1 -1
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +1 -1
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +1 -1
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +1 -1
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +1 -1
- package/dist/esm/components/ai-generator/icons/UpgradeIcon.js +1 -1
- package/dist/esm/components/ai-generator/icons/WarningIcon.js +1 -1
- package/dist/esm/components/animation/AnimationWrapper.js +1 -1
- package/dist/esm/components/constant.js +1 -1
- package/dist/esm/components/resize/Resize.js +1 -1
- package/dist/esm/components/resize/Spacing.js +1 -1
- package/dist/esm/components/src/product/helpers/variant-presets.js +1 -1
- package/dist/esm/components/theme-section/CreateThemeSection.js +1 -1
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +1 -1
- package/dist/esm/components/theme-section/ThemeSectionTooltip.js +1 -1
- package/dist/esm/components/toolbar/SectionErrorBanner.js +1 -1
- package/dist/esm/components/toolbar/Tooltip.js +1 -1
- package/dist/esm/components/upgrade-element/UpgradeOldElement.js +1 -0
- package/dist/esm/constants/device.js +1 -1
- package/dist/esm/constants/index.js +1 -1
- package/dist/esm/contexts/AddonContext.js +1 -1
- package/dist/esm/contexts/ArticleContext.js +1 -1
- package/dist/esm/contexts/ArticleListContext.js +1 -1
- package/dist/esm/contexts/BuilderComponent.js +1 -1
- package/dist/esm/contexts/BuilderContext.js +1 -1
- package/dist/esm/contexts/BuilderPreviewContext.js +1 -1
- package/dist/esm/contexts/BuilderPreviewUpsellContext.js +2 -0
- package/dist/esm/contexts/BuilderUpsellWidget.js +2 -0
- package/dist/esm/contexts/CartLineContext.js +1 -1
- package/dist/esm/contexts/CollectionContext.js +1 -1
- package/dist/esm/contexts/I18nContext.js +1 -1
- package/dist/esm/contexts/ModalContext.js +1 -1
- package/dist/esm/contexts/PageContext.js +1 -1
- package/dist/esm/contexts/ProductContext.js +1 -1
- package/dist/esm/contexts/ProductListContext.js +1 -1
- package/dist/esm/contexts/SectionContext.js +1 -1
- package/dist/esm/contexts/ShopContext.js +1 -1
- package/dist/esm/graphql/fragments/media.generated.js +2 -2
- package/dist/esm/graphql/fragments/product-list-select.generated.js +50 -0
- package/dist/esm/graphql/fragments/product-option-value.generated.js +2 -2
- package/dist/esm/graphql/fragments/product-option.generated.js +7 -2
- package/dist/esm/graphql/fragments/selected-option.generated.js +2 -2
- package/dist/esm/graphql/fragments/variant.generated.js +16 -2
- package/dist/esm/graphql/mutations/page-view-up.generated.js +2 -2
- package/dist/esm/graphql/queries/articles.generated.js +2 -2
- package/dist/esm/graphql/queries/blogs.generated.js +2 -2
- package/dist/esm/graphql/queries/collection-detail-filter.generated.js +145 -10
- package/dist/esm/graphql/queries/collection.generated.js +124 -8
- package/dist/esm/graphql/queries/collections.generated.js +40 -3
- package/dist/esm/graphql/queries/preview-page.generated.js +60 -6
- package/dist/esm/graphql/queries/product-little-detail.generated.js +54 -5
- package/dist/esm/graphql/queries/product-medias.generated.js +11 -2
- package/dist/esm/graphql/queries/product-value-label.generated.js +2 -2
- package/dist/esm/graphql/queries/product-variant-with-selling-plans.generated.js +58 -4
- package/dist/esm/graphql/queries/product-variants.generated.js +45 -4
- package/dist/esm/graphql/queries/products-with-selling-plans.generated.js +206 -16
- package/dist/esm/graphql/queries/products.generated.js +4 -28
- package/dist/esm/graphql/queries/published-shop-metas.generated.js +2 -2
- package/dist/esm/graphql/queries/published-theme-pages.generated.js +80 -9
- package/dist/esm/graphql/queries/shop-shopify.generated.js +2 -2
- package/dist/esm/graphql/queries/store-property.generated.js +2 -2
- package/dist/esm/graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js +2 -2
- package/dist/esm/graphql-app-api/queries/LibraryTemplate.generated.js +2 -2
- package/dist/esm/graphql-app-api/queries/SaleFunnelDiscounts.generated.js +2 -2
- package/dist/esm/graphql-app-api/queries/SaleFunnelOffer.generated.js +2 -2
- package/dist/esm/graphql-app-api/queries/ShopLibraryPage.generated.js +2 -2
- package/dist/esm/graphql-app-api/queries/ThemePage.generated.js +2 -2
- package/dist/esm/graphql-app-api/queries/ThemePageMeta.generated.js +2 -2
- package/dist/esm/helpers/GlobalEvent.js +1 -1
- package/dist/esm/helpers/align.js +1 -1
- package/dist/esm/helpers/animations.js +1 -1
- package/dist/esm/helpers/background.js +1 -1
- package/dist/esm/helpers/backgroundImage.js +1 -1
- package/dist/esm/helpers/borders.js +3 -3
- package/dist/esm/helpers/carousel.js +1 -1
- package/dist/esm/helpers/clone-deep.js +1 -1
- package/dist/esm/helpers/cls.js +1 -1
- package/dist/esm/helpers/colors.js +1 -1
- package/dist/esm/helpers/compose-advance-style.js +1 -1
- package/dist/esm/helpers/composeClasses.js +1 -1
- package/dist/esm/helpers/const.js +1 -1
- package/dist/esm/helpers/constant.js +1 -1
- package/dist/esm/helpers/convert.js +1 -1
- package/dist/esm/helpers/covert-entities-html.js +1 -1
- package/dist/esm/helpers/create-store-front-fetcher.js +1 -1
- package/dist/esm/helpers/createTranslateKey.js +1 -1
- package/dist/esm/helpers/css-variable.js +1 -1
- package/dist/esm/helpers/email.js +1 -1
- package/dist/esm/helpers/filter-styles.js +1 -1
- package/dist/esm/helpers/filter-toolbar-preview.js +1 -1
- package/dist/esm/helpers/flatten-connection.js +1 -1
- package/dist/esm/helpers/get-resonsive-value.js +1 -1
- package/dist/esm/helpers/get-shortname.js +1 -1
- package/dist/esm/helpers/getHashCode.js +1 -1
- package/dist/esm/helpers/icon-list.js +1 -1
- package/dist/esm/helpers/interaction/index.js +1 -1
- package/dist/esm/helpers/is-browser.js +1 -1
- package/dist/esm/helpers/is-defined.js +1 -1
- package/dist/esm/helpers/is-empty-children.js +1 -1
- package/dist/esm/helpers/is-safari.js +1 -1
- package/dist/esm/helpers/layout.js +1 -1
- package/dist/esm/helpers/liquid.js +1 -1
- package/dist/esm/helpers/load-script.js +1 -1
- package/dist/esm/helpers/loop-component.js +1 -1
- package/dist/esm/helpers/make-style.js +1 -1
- package/dist/esm/helpers/normalize-builder-data-upsell.js +1 -0
- package/dist/esm/helpers/normalize-builder-data.js +1 -1
- package/dist/esm/helpers/pascal-to-kebab-case.js +1 -1
- package/dist/esm/helpers/prefetch-queries.js +1 -1
- package/dist/esm/helpers/product.js +1 -1
- package/dist/esm/helpers/queries/get-collection.js +1 -1
- package/dist/esm/helpers/queries/get-collections.js +1 -1
- package/dist/esm/helpers/queries/get-product-by-slug.js +1 -1
- package/dist/esm/helpers/queries/get-product.js +1 -1
- package/dist/esm/helpers/queries/get-products.js +1 -1
- package/dist/esm/helpers/queries/getProductOffers.js +1 -1
- package/dist/esm/helpers/query.js +1 -1
- package/dist/esm/helpers/radius.js +6 -6
- package/dist/esm/helpers/render.js +1 -1
- package/dist/esm/helpers/shadow.js +1 -1
- package/dist/esm/helpers/size.js +4 -4
- package/dist/esm/helpers/spacing.js +1 -1
- package/dist/esm/helpers/third-party/addAppBlockId.js +1 -1
- package/dist/esm/helpers/third-party/appConfig.js +1 -1
- package/dist/esm/helpers/third-party/appSetting.js +1 -1
- package/dist/esm/helpers/third-party/composeAppBlockId.js +1 -1
- package/dist/esm/helpers/third-party/constant.js +1 -1
- package/dist/esm/helpers/third-party/generateAppBlockConfigs.js +1 -1
- package/dist/esm/helpers/third-party/getAppBlockType.js +1 -1
- package/dist/esm/helpers/third-party/getAppBlocks.js +1 -1
- package/dist/esm/helpers/third-party/mergeBlock.js +1 -1
- package/dist/esm/helpers/third-party/mergeBlockOrder.js +1 -1
- package/dist/esm/helpers/third-party/removeGPAppItems.js +1 -1
- package/dist/esm/helpers/tracking/fpixel.js +1 -1
- package/dist/esm/helpers/tracking/gtag.js +1 -1
- package/dist/esm/helpers/tracking/tiktokpixel.js +1 -1
- package/dist/esm/helpers/typography.js +19 -19
- package/dist/esm/helpers/variant.js +1 -1
- package/dist/esm/helpers/verify-external-link.js +1 -1
- package/dist/esm/hooks/animation/animations.js +1 -1
- package/dist/esm/hooks/animation/useAnimationActions.js +1 -1
- package/dist/esm/hooks/animation/useAnimationConfig.js +1 -1
- package/dist/esm/hooks/animation/useAnimationPreview.js +1 -1
- package/dist/esm/hooks/animation/useAnimationTarget.js +1 -1
- package/dist/esm/hooks/animation/useApplyAnimation.js +1 -1
- package/dist/esm/hooks/animation/useLivePageAnimation.js +1 -1
- package/dist/esm/hooks/articles/useArticlesQuery.js +1 -1
- package/dist/esm/hooks/cart/use-add-to-cart.js +1 -2
- package/dist/esm/hooks/cart/use-cart-data.js +1 -1
- package/dist/esm/hooks/cart/use-cart-discount-codes-update.js +1 -1
- package/dist/esm/hooks/cart/use-cart-note-update.js +1 -1
- package/dist/esm/hooks/cart/use-create-cart.js +1 -1
- package/dist/esm/hooks/cart/use-remove-cart-item.js +1 -1
- package/dist/esm/hooks/cart/use-update-cart-item.js +1 -1
- package/dist/esm/hooks/shop/use-collection-query.js +1 -1
- package/dist/esm/hooks/shop/use-collections-query.js +1 -1
- package/dist/esm/hooks/shop/use-product-query.js +1 -1
- package/dist/esm/hooks/shop/use-products-query.js +1 -1
- package/dist/esm/hooks/shop/useProductOffersQuery.js +1 -1
- package/dist/esm/hooks/shop/useShopifyLink.js +1 -1
- package/dist/esm/hooks/shop.js +1 -1
- package/dist/esm/hooks/use-current-device.js +1 -1
- package/dist/esm/hooks/use-lazy-video.js +1 -1
- package/dist/esm/hooks/useAnimations.js +1 -1
- package/dist/esm/hooks/useCartId.js +1 -1
- package/dist/esm/hooks/useCartLine.js +1 -2
- package/dist/esm/hooks/useCartUI.js +1 -1
- package/dist/esm/hooks/useCollection.js +1 -1
- package/dist/esm/hooks/useFetchHandle.js +1 -1
- package/dist/esm/hooks/useFormatMoney.js +1 -1
- package/dist/esm/hooks/useI18n.js +1 -1
- package/dist/esm/hooks/useInitialSwatchesOptions.js +1 -1
- package/dist/esm/hooks/useInteraction.js +1 -1
- package/dist/esm/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/dist/esm/hooks/useLoadScript.js +1 -1
- package/dist/esm/hooks/useMoney.js +1 -1
- package/dist/esm/hooks/usePreviewSharePage.js +1 -1
- package/dist/esm/hooks/usePrevious.js +1 -1
- package/dist/esm/hooks/useProduct.js +1 -1
- package/dist/esm/hooks/useRenderMode.js +1 -1
- package/dist/esm/hooks/useStickyStore.js +1 -1
- package/dist/esm/hooks/useSuspenseFetch.js +1 -1
- package/dist/esm/hooks/useSwatchesOptions.js +1 -1
- package/dist/esm/hooks/useToolbarPostPurchase.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/animations.js +1 -1
- package/dist/esm/types/builder.js +1 -1
- package/dist/esm/types/builderUpsell.js +1 -0
- package/dist/esm/types/custom.js +1 -1
- package/dist/esm/types/global-style.js +1 -1
- package/dist/esm/upsell-components/Empty.js +2 -0
- package/dist/esm/upsell-components/RenderPreviewUpsell.js +2 -0
- package/dist/esm/upsell-components/WrapperWidgetPreview.js +2 -0
- package/dist/types/index.d.ts +31831 -35143
- package/package.json +4 -4
- package/dist/cjs/graphql/fragments/analytic.generated.js +0 -7
- package/dist/cjs/graphql/fragments/collection-detail.generated.js +0 -23
- package/dist/cjs/graphql/fragments/collection-product.generated.js +0 -22
- package/dist/cjs/graphql/fragments/collection.generated.js +0 -20
- package/dist/cjs/graphql/fragments/custom-code.generated.js +0 -6
- package/dist/cjs/graphql/fragments/custom-font.generated.js +0 -14
- package/dist/cjs/graphql/fragments/data-seo.generated.js +0 -7
- package/dist/cjs/graphql/fragments/preview-theme-page.generated.js +0 -35
- package/dist/cjs/graphql/fragments/product-little.generated.js +0 -31
- package/dist/cjs/graphql/fragments/product-variants-with-selling-plans-select.generated.js +0 -44
- package/dist/cjs/graphql/fragments/product.generated.js +0 -38
- package/dist/cjs/graphql/fragments/published-custom-section.generated.js +0 -8
- package/dist/cjs/graphql/fragments/published-page-section.generated.js +0 -7
- package/dist/cjs/graphql/fragments/published-theme-page.generated.js +0 -39
- package/dist/cjs/graphql/fragments/published-theme-style.generated.js +0 -7
- package/dist/cjs/graphql/queries/productsV2.generated.js +0 -32
- package/dist/cjs/hooks/useProductList.js +0 -2
- package/dist/esm/graphql/fragments/analytic.generated.js +0 -7
- package/dist/esm/graphql/fragments/collection-detail.generated.js +0 -23
- package/dist/esm/graphql/fragments/collection-product.generated.js +0 -22
- package/dist/esm/graphql/fragments/collection.generated.js +0 -20
- package/dist/esm/graphql/fragments/custom-code.generated.js +0 -6
- package/dist/esm/graphql/fragments/custom-font.generated.js +0 -14
- package/dist/esm/graphql/fragments/data-seo.generated.js +0 -7
- package/dist/esm/graphql/fragments/preview-theme-page.generated.js +0 -35
- package/dist/esm/graphql/fragments/product-little.generated.js +0 -31
- package/dist/esm/graphql/fragments/product-variants-with-selling-plans-select.generated.js +0 -44
- package/dist/esm/graphql/fragments/product.generated.js +0 -38
- package/dist/esm/graphql/fragments/published-custom-section.generated.js +0 -8
- package/dist/esm/graphql/fragments/published-page-section.generated.js +0 -7
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +0 -39
- package/dist/esm/graphql/fragments/published-theme-style.generated.js +0 -7
- package/dist/esm/graphql/queries/productsV2.generated.js +0 -32
- package/dist/esm/hooks/useProductList.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";var
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("zustand"),r=require("react"),o=require("../helpers/clone-deep.js"),i=require("../helpers/normalize-builder-data.js");const a=r.createContext(null),n=e=>t.createStore((t,r)=>({data:e??{},getSection:e=>{let t=r().data[e];return t??void 0},addSection:(e,r)=>{let a=i.normalizeBuilderData(r);t(t=>({data:{...t.data,[e]:o.cloneDeep(a)}}))},removeSection:e=>{t(t=>{let{[e]:r,...o}=t.data;return{data:o}})}})),u=(e,o)=>{let i=r.useContext(a);if(!i)throw Error("useSectionStore must be used within a SectionProvider");return t.useStore(i,e,o)};exports.SectionProvider=({children:t,data:r,...o})=>e.jsx(a.Provider,{...o,value:n(r),children:t}),exports.useSection=e=>u(t=>t.getSection(e)),exports.useSectionStore=u;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";var
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("swr"),r=require("zustand"),n=require("react"),o=require("./AddonContext.js"),i=require("./ModalContext.js");const a=n.createContext(null),s=e=>r.createStore(t=>({mobileOnly:!1,isStorefront:!0,...e,changeLocale:e=>{t({locale:e})},changeCurrency:e=>{t({currency:e})},changeSwatches:e=>{t({swatches:e})},changeLayoutSettings:e=>{t({layoutSettings:e})},updatePriceWithCurrency:e=>{t({showPriceCurrency:e})},changeStorefrontInfo:({url:e,token:r})=>{t({storefrontUrl:e,storefrontToken:r})},changeCreateThemeSectionCount:e=>{t({createThemeSectionCount:e})},changeShopPlan:e=>{t({plan:e})},changeLimitCreateThemeSection:e=>{t({limitCreateThemeSection:e})}}));exports.ShopProvider=({children:r,addons:c,storeOption:u,queryOption:d,...l})=>{let h=n.useMemo(()=>s(u),[u]),S=n.useCallback(e=>{let t=!!e.detail?.isAllow,r=e.detail?.maxGenerateCount,n=e.detail?.nextQuota;h.setState({generateContentLimitation:{isAllow:t,maxGenerateCount:r,nextQuota:n}})},[h]);return n.useEffect(()=>(window.addEventListener("editor:ai-generate-content-update-limitation",S),()=>{window.removeEventListener("editor:ai-generate-content-update-limitation",S)}),[S]),e.jsx(o.AddonProvider,{components:c,children:e.jsx(t.SWRConfig,{value:d,children:e.jsx(a.Provider,{...l,value:h,children:e.jsx(i.ModalProvider,{children:r})},JSON.stringify(u))})})},exports.useShopStore=(e,t)=>{let o=n.useContext(a);if(!o)throw Error("useShopStore must be used within a ShopProvider");return r.useStore(o,e,t)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class t extends String{toString(){return this.value}constructor(t,i){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=i}}const i=new t(`
|
|
2
2
|
fragment MediaSelect on Media {
|
|
3
3
|
id
|
|
4
4
|
baseID
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
height
|
|
10
10
|
alt
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
`,{fragmentName:"MediaSelect"});exports.MediaSelect=i,exports.TypedDocumentString=t;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";const e=`
|
|
2
|
+
fragment ProductListSelect on ProductEdge {
|
|
3
|
+
cursor
|
|
4
|
+
node {
|
|
5
|
+
id
|
|
6
|
+
title
|
|
7
|
+
createdAt
|
|
8
|
+
description
|
|
9
|
+
descriptionHtml
|
|
10
|
+
handle
|
|
11
|
+
averageRating
|
|
12
|
+
isStorefront
|
|
13
|
+
isSample
|
|
14
|
+
baseID
|
|
15
|
+
sku
|
|
16
|
+
options {
|
|
17
|
+
...ProductOptionSelect
|
|
18
|
+
}
|
|
19
|
+
vendor
|
|
20
|
+
featuredImage {
|
|
21
|
+
...MediaSelect
|
|
22
|
+
}
|
|
23
|
+
tags
|
|
24
|
+
medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
|
|
25
|
+
edges {
|
|
26
|
+
cursor
|
|
27
|
+
node {
|
|
28
|
+
...MediaSelect
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
pageInfo {
|
|
32
|
+
endCursor
|
|
33
|
+
hasNextPage
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
variants(first: $firstVariant, after: $afterVariant) {
|
|
37
|
+
edges {
|
|
38
|
+
cursor
|
|
39
|
+
node {
|
|
40
|
+
...VariantSelect
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
pageInfo {
|
|
44
|
+
hasNextPage
|
|
45
|
+
endCursor
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
`;exports.ProductListSelect=e;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class t extends String{toString(){return this.value}constructor(t,i){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=i}}const i=new t(`
|
|
2
2
|
fragment ProductOptionValueSelect on ProductOptionValue {
|
|
3
3
|
id
|
|
4
4
|
label
|
|
5
5
|
isDefault
|
|
6
6
|
baseID
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
`,{fragmentName:"ProductOptionValueSelect"});exports.ProductOptionValueSelect=i,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function t(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}class e extends String{toString(){return this.value}constructor(e,o){super(e),t(this,"__apiType",void 0),t(this,"value",void 0),t(this,"__meta__",void 0),this.value=e,this.__meta__=o}}const o=new e(`
|
|
2
2
|
fragment ProductOptionSelect on ProductOption {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
@@ -7,4 +7,9 @@
|
|
|
7
7
|
...ProductOptionValueSelect
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
fragment ProductOptionValueSelect on ProductOptionValue {
|
|
11
|
+
id
|
|
12
|
+
label
|
|
13
|
+
isDefault
|
|
14
|
+
baseID
|
|
15
|
+
}`,{fragmentName:"ProductOptionSelect"});exports.ProductOptionSelect=o,exports.TypedDocumentString=e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class t extends String{toString(){return this.value}constructor(t,n){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=n}}const n=new t(`
|
|
2
2
|
fragment SelectedOptionSelect on SelectedOption {
|
|
3
3
|
name
|
|
4
4
|
value
|
|
5
5
|
optionType
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
`,{fragmentName:"SelectedOptionSelect"});exports.SelectedOptionSelect=n,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class t extends String{toString(){return this.value}constructor(t,i){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=i}}const i=new t(`
|
|
2
2
|
fragment VariantSelect on ProductVariant {
|
|
3
3
|
id
|
|
4
4
|
title
|
|
@@ -28,4 +28,18 @@
|
|
|
28
28
|
...MediaSelect
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
fragment SelectedOptionSelect on SelectedOption {
|
|
32
|
+
name
|
|
33
|
+
value
|
|
34
|
+
optionType
|
|
35
|
+
}
|
|
36
|
+
fragment MediaSelect on Media {
|
|
37
|
+
id
|
|
38
|
+
baseID
|
|
39
|
+
contentType
|
|
40
|
+
previewImage
|
|
41
|
+
src
|
|
42
|
+
width
|
|
43
|
+
height
|
|
44
|
+
alt
|
|
45
|
+
}`,{fragmentName:"VariantSelect"});exports.TypedDocumentString=t,exports.VariantSelect=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class t extends String{toString(){return this.value}constructor(t,i){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=i}}const i=new t(`
|
|
2
2
|
mutation pageViewUp($pageHandle: String!) {
|
|
3
3
|
pageViewUp(pageHandle: $pageHandle)
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
`);exports.PageViewUpDocument=i,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class t extends String{toString(){return this.value}constructor(t,r){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=r}}const r=new t(`
|
|
2
2
|
query articles($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: ArticleOrder, $where: ArticleWhereInput) {
|
|
3
3
|
articles(
|
|
4
4
|
after: $after
|
|
@@ -57,4 +57,4 @@
|
|
|
57
57
|
totalCount
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
`);exports.ArticlesDocument=r,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class t extends String{toString(){return this.value}constructor(t,r){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=r}}const r=new t(`
|
|
2
2
|
query blogs($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: BlogOrder, $where: BlogWhereInput, $articlesOrderBy: ArticleOrder) {
|
|
3
3
|
blogs(
|
|
4
4
|
after: $after
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
totalCount
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
`);exports.BlogsDocument=r,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class t extends String{toString(){return this.value}constructor(t,r){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=r}}const r=new t(`
|
|
2
2
|
query collectionDetailFilter($firstProduct: Int = 10, $orderBy: CollectionOrder, $where: CollectionWhereInput, $orderByProduct: ProductOrder, $productsAfter: Cursor, $firstVariant: Int, $afterVariant: Cursor, $afterMedia: Cursor, $firstMedia: Int, $orderByMedia: MediaOrder, $whereProduct: ProductWhereInput) {
|
|
3
3
|
collections(first: 1, orderBy: $orderBy, where: $where) {
|
|
4
4
|
edges {
|
|
@@ -9,12 +9,147 @@
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$
|
|
16
|
-
$
|
|
17
|
-
$
|
|
18
|
-
$
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
fragment CollectionProductSelect on Collection {
|
|
13
|
+
...CollectionDetailSelect
|
|
14
|
+
products(
|
|
15
|
+
first: $firstProduct
|
|
16
|
+
orderBy: $orderByProduct
|
|
17
|
+
after: $productsAfter
|
|
18
|
+
where: $whereProduct
|
|
19
|
+
) {
|
|
20
|
+
edges {
|
|
21
|
+
...ProductListSelect
|
|
22
|
+
}
|
|
23
|
+
pageInfo {
|
|
24
|
+
endCursor
|
|
25
|
+
hasNextPage
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
fragment CollectionDetailSelect on Collection {
|
|
30
|
+
id
|
|
31
|
+
createdAt
|
|
32
|
+
updatedAt
|
|
33
|
+
deletedAt
|
|
34
|
+
title
|
|
35
|
+
handle
|
|
36
|
+
description
|
|
37
|
+
descriptionHtml
|
|
38
|
+
templateSuffix
|
|
39
|
+
titleMeta
|
|
40
|
+
descriptionMeta
|
|
41
|
+
baseID
|
|
42
|
+
platform
|
|
43
|
+
tags
|
|
44
|
+
collectionMedia {
|
|
45
|
+
src
|
|
46
|
+
}
|
|
47
|
+
isStorefront
|
|
48
|
+
isSample
|
|
49
|
+
}
|
|
50
|
+
fragment ProductListSelect on ProductEdge {
|
|
51
|
+
cursor
|
|
52
|
+
node {
|
|
53
|
+
id
|
|
54
|
+
title
|
|
55
|
+
createdAt
|
|
56
|
+
description
|
|
57
|
+
descriptionHtml
|
|
58
|
+
handle
|
|
59
|
+
averageRating
|
|
60
|
+
isStorefront
|
|
61
|
+
isSample
|
|
62
|
+
baseID
|
|
63
|
+
sku
|
|
64
|
+
options {
|
|
65
|
+
...ProductOptionSelect
|
|
66
|
+
}
|
|
67
|
+
vendor
|
|
68
|
+
featuredImage {
|
|
69
|
+
...MediaSelect
|
|
70
|
+
}
|
|
71
|
+
tags
|
|
72
|
+
medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
|
|
73
|
+
edges {
|
|
74
|
+
cursor
|
|
75
|
+
node {
|
|
76
|
+
...MediaSelect
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
pageInfo {
|
|
80
|
+
endCursor
|
|
81
|
+
hasNextPage
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
variants(first: $firstVariant, after: $afterVariant) {
|
|
85
|
+
edges {
|
|
86
|
+
cursor
|
|
87
|
+
node {
|
|
88
|
+
...VariantSelect
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
pageInfo {
|
|
92
|
+
hasNextPage
|
|
93
|
+
endCursor
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
fragment ProductOptionSelect on ProductOption {
|
|
99
|
+
id
|
|
100
|
+
name
|
|
101
|
+
optionType
|
|
102
|
+
values {
|
|
103
|
+
...ProductOptionValueSelect
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
fragment ProductOptionValueSelect on ProductOptionValue {
|
|
107
|
+
id
|
|
108
|
+
label
|
|
109
|
+
isDefault
|
|
110
|
+
baseID
|
|
111
|
+
}
|
|
112
|
+
fragment MediaSelect on Media {
|
|
113
|
+
id
|
|
114
|
+
baseID
|
|
115
|
+
contentType
|
|
116
|
+
previewImage
|
|
117
|
+
src
|
|
118
|
+
width
|
|
119
|
+
height
|
|
120
|
+
alt
|
|
121
|
+
}
|
|
122
|
+
fragment VariantSelect on ProductVariant {
|
|
123
|
+
id
|
|
124
|
+
title
|
|
125
|
+
barcode
|
|
126
|
+
baseID
|
|
127
|
+
costPrice
|
|
128
|
+
height
|
|
129
|
+
inventoryPolicy
|
|
130
|
+
inventoryQuantity
|
|
131
|
+
inventoryStatus
|
|
132
|
+
isDigital
|
|
133
|
+
length
|
|
134
|
+
lowInventoryAmount
|
|
135
|
+
manageInventory
|
|
136
|
+
mediaId
|
|
137
|
+
platform
|
|
138
|
+
price
|
|
139
|
+
salePrice
|
|
140
|
+
sku
|
|
141
|
+
soldIndividually
|
|
142
|
+
weight
|
|
143
|
+
width
|
|
144
|
+
selectedOptions {
|
|
145
|
+
...SelectedOptionSelect
|
|
146
|
+
}
|
|
147
|
+
media {
|
|
148
|
+
...MediaSelect
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
fragment SelectedOptionSelect on SelectedOption {
|
|
152
|
+
name
|
|
153
|
+
value
|
|
154
|
+
optionType
|
|
155
|
+
}`);exports.CollectionDetailFilterDocument=r,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class t extends String{toString(){return this.value}constructor(t,i){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=i}}const i=new t(`
|
|
2
2
|
query collection($first: Int = 5, $firstMedia: Int = 20, $orderByMedia: MediaOrder, $afterMedia: Cursor, $firstVariant: Int = 20, $afterVariant: Cursor, $handle: String, $id: ID) {
|
|
3
3
|
collection(handle: $handle, id: $id) {
|
|
4
4
|
baseID
|
|
@@ -31,10 +31,126 @@
|
|
|
31
31
|
updatedAt
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
fragment ProductSelect on Product {
|
|
35
|
+
...ProductLittleSelect
|
|
36
|
+
collections {
|
|
37
|
+
edges {
|
|
38
|
+
node {
|
|
39
|
+
id
|
|
40
|
+
title
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
tags
|
|
45
|
+
medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
|
|
46
|
+
edges {
|
|
47
|
+
cursor
|
|
48
|
+
node {
|
|
49
|
+
...MediaSelect
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
pageInfo {
|
|
53
|
+
endCursor
|
|
54
|
+
hasNextPage
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
variants(first: $firstVariant, after: $afterVariant) {
|
|
58
|
+
edges {
|
|
59
|
+
cursor
|
|
60
|
+
node {
|
|
61
|
+
...VariantSelect
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
pageInfo {
|
|
65
|
+
hasNextPage
|
|
66
|
+
endCursor
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
fragment ProductLittleSelect on Product {
|
|
71
|
+
id
|
|
72
|
+
title
|
|
73
|
+
createdAt
|
|
74
|
+
description
|
|
75
|
+
descriptionHtml
|
|
76
|
+
handle
|
|
77
|
+
averageRating
|
|
78
|
+
isStorefront
|
|
79
|
+
isSample
|
|
80
|
+
baseID
|
|
81
|
+
sku
|
|
82
|
+
options {
|
|
83
|
+
...ProductOptionSelect
|
|
84
|
+
}
|
|
85
|
+
vendor
|
|
86
|
+
featuredImage {
|
|
87
|
+
...MediaSelect
|
|
88
|
+
}
|
|
89
|
+
collections {
|
|
90
|
+
edges {
|
|
91
|
+
node {
|
|
92
|
+
id
|
|
93
|
+
title
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
tags
|
|
98
|
+
}
|
|
99
|
+
fragment ProductOptionSelect on ProductOption {
|
|
100
|
+
id
|
|
101
|
+
name
|
|
102
|
+
optionType
|
|
103
|
+
values {
|
|
104
|
+
...ProductOptionValueSelect
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
fragment ProductOptionValueSelect on ProductOptionValue {
|
|
108
|
+
id
|
|
109
|
+
label
|
|
110
|
+
isDefault
|
|
111
|
+
baseID
|
|
112
|
+
}
|
|
113
|
+
fragment MediaSelect on Media {
|
|
114
|
+
id
|
|
115
|
+
baseID
|
|
116
|
+
contentType
|
|
117
|
+
previewImage
|
|
118
|
+
src
|
|
119
|
+
width
|
|
120
|
+
height
|
|
121
|
+
alt
|
|
122
|
+
}
|
|
123
|
+
fragment VariantSelect on ProductVariant {
|
|
124
|
+
id
|
|
125
|
+
title
|
|
126
|
+
barcode
|
|
127
|
+
baseID
|
|
128
|
+
costPrice
|
|
129
|
+
height
|
|
130
|
+
inventoryPolicy
|
|
131
|
+
inventoryQuantity
|
|
132
|
+
inventoryStatus
|
|
133
|
+
isDigital
|
|
134
|
+
length
|
|
135
|
+
lowInventoryAmount
|
|
136
|
+
manageInventory
|
|
137
|
+
mediaId
|
|
138
|
+
platform
|
|
139
|
+
price
|
|
140
|
+
salePrice
|
|
141
|
+
sku
|
|
142
|
+
soldIndividually
|
|
143
|
+
weight
|
|
144
|
+
width
|
|
145
|
+
selectedOptions {
|
|
146
|
+
...SelectedOptionSelect
|
|
147
|
+
}
|
|
148
|
+
media {
|
|
149
|
+
...MediaSelect
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
fragment SelectedOptionSelect on SelectedOption {
|
|
153
|
+
name
|
|
154
|
+
value
|
|
155
|
+
optionType
|
|
156
|
+
}`);exports.CollectionDocument=i,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function e(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class t extends String{toString(){return this.value}constructor(t,o){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=o}}const o=new t(`
|
|
2
2
|
query Collections($after: Cursor, $first: Int, $before: Cursor, $last: Int, $where: CollectionWhereInput, $orderBy: CollectionOrder) {
|
|
3
3
|
collections(
|
|
4
4
|
after: $after
|
|
@@ -15,5 +15,42 @@
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
fragment CollectionSelect on Collection {
|
|
19
|
+
...CollectionDetailSelect
|
|
20
|
+
products {
|
|
21
|
+
edges {
|
|
22
|
+
node {
|
|
23
|
+
id
|
|
24
|
+
title
|
|
25
|
+
handle
|
|
26
|
+
description
|
|
27
|
+
status
|
|
28
|
+
featuredImage {
|
|
29
|
+
src
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
totalCount
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
fragment CollectionDetailSelect on Collection {
|
|
37
|
+
id
|
|
38
|
+
createdAt
|
|
39
|
+
updatedAt
|
|
40
|
+
deletedAt
|
|
41
|
+
title
|
|
42
|
+
handle
|
|
43
|
+
description
|
|
44
|
+
descriptionHtml
|
|
45
|
+
templateSuffix
|
|
46
|
+
titleMeta
|
|
47
|
+
descriptionMeta
|
|
48
|
+
baseID
|
|
49
|
+
platform
|
|
50
|
+
tags
|
|
51
|
+
collectionMedia {
|
|
52
|
+
src
|
|
53
|
+
}
|
|
54
|
+
isStorefront
|
|
55
|
+
isSample
|
|
56
|
+
}`);exports.CollectionsDocument=o,exports.TypedDocumentString=t;
|
|
@@ -1,11 +1,65 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function e(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class t extends String{toString(){return this.value}constructor(t,a){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=a}}const a=new t(`
|
|
2
2
|
query PreviewThemePage($pageType: PreviewThemePageType!, $handleURL: String) {
|
|
3
3
|
previewThemePage(pageType: $pageType, handleURL: $handleURL) {
|
|
4
4
|
...PreviewThemePageSelect
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
fragment PreviewThemePageSelect on PreviewThemePage {
|
|
8
|
+
id
|
|
9
|
+
name
|
|
10
|
+
handle
|
|
11
|
+
isMobile
|
|
12
|
+
sectionPosition
|
|
13
|
+
pageSections {
|
|
14
|
+
cid
|
|
15
|
+
component
|
|
16
|
+
id
|
|
17
|
+
}
|
|
18
|
+
dataSEO {
|
|
19
|
+
...DataSEOSelect
|
|
20
|
+
}
|
|
21
|
+
themeStyle {
|
|
22
|
+
id
|
|
23
|
+
data
|
|
24
|
+
name
|
|
25
|
+
}
|
|
26
|
+
analytic {
|
|
27
|
+
...AnalyticSelect
|
|
28
|
+
}
|
|
29
|
+
customCode {
|
|
30
|
+
...CustomCodeSelect
|
|
31
|
+
}
|
|
32
|
+
customFonts {
|
|
33
|
+
...CustomFontSelect
|
|
34
|
+
}
|
|
35
|
+
interaction {
|
|
36
|
+
id
|
|
37
|
+
value
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
fragment DataSEOSelect on DataSEO {
|
|
41
|
+
id
|
|
42
|
+
key
|
|
43
|
+
value
|
|
44
|
+
}
|
|
45
|
+
fragment AnalyticSelect on Analytic {
|
|
46
|
+
fbPixelID
|
|
47
|
+
gaTrackingID
|
|
48
|
+
tiktokPixelID
|
|
49
|
+
}
|
|
50
|
+
fragment CustomCodeSelect on CustomCode {
|
|
51
|
+
body
|
|
52
|
+
header
|
|
53
|
+
}
|
|
54
|
+
fragment CustomFontSelect on CustomFont {
|
|
55
|
+
backupFilePath
|
|
56
|
+
fileKey
|
|
57
|
+
filePath
|
|
58
|
+
fontFamily
|
|
59
|
+
fontStyle
|
|
60
|
+
fontWeight
|
|
61
|
+
id
|
|
62
|
+
mimeType
|
|
63
|
+
shopID
|
|
64
|
+
size
|
|
65
|
+
}`);exports.PreviewThemePageDocument=a,exports.TypedDocumentString=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class t extends String{toString(){return this.value}constructor(t,r){super(t),e(this,"__apiType",void 0),e(this,"value",void 0),e(this,"__meta__",void 0),this.value=t,this.__meta__=r}}const r=new t(`
|
|
2
2
|
query productLittleDetail($orderBy: ProductOrder, $where: ProductWhereInput) {
|
|
3
3
|
product: products(first: 1, orderBy: $orderBy, where: $where) {
|
|
4
4
|
edges {
|
|
@@ -9,7 +9,56 @@
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
fragment ProductLittleSelect on Product {
|
|
13
|
+
id
|
|
14
|
+
title
|
|
15
|
+
createdAt
|
|
16
|
+
description
|
|
17
|
+
descriptionHtml
|
|
18
|
+
handle
|
|
19
|
+
averageRating
|
|
20
|
+
isStorefront
|
|
21
|
+
isSample
|
|
22
|
+
baseID
|
|
23
|
+
sku
|
|
24
|
+
options {
|
|
25
|
+
...ProductOptionSelect
|
|
26
|
+
}
|
|
27
|
+
vendor
|
|
28
|
+
featuredImage {
|
|
29
|
+
...MediaSelect
|
|
30
|
+
}
|
|
31
|
+
collections {
|
|
32
|
+
edges {
|
|
33
|
+
node {
|
|
34
|
+
id
|
|
35
|
+
title
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
tags
|
|
40
|
+
}
|
|
41
|
+
fragment ProductOptionSelect on ProductOption {
|
|
42
|
+
id
|
|
43
|
+
name
|
|
44
|
+
optionType
|
|
45
|
+
values {
|
|
46
|
+
...ProductOptionValueSelect
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
fragment ProductOptionValueSelect on ProductOptionValue {
|
|
50
|
+
id
|
|
51
|
+
label
|
|
52
|
+
isDefault
|
|
53
|
+
baseID
|
|
54
|
+
}
|
|
55
|
+
fragment MediaSelect on Media {
|
|
56
|
+
id
|
|
57
|
+
baseID
|
|
58
|
+
contentType
|
|
59
|
+
previewImage
|
|
60
|
+
src
|
|
61
|
+
width
|
|
62
|
+
height
|
|
63
|
+
alt
|
|
64
|
+
}`);exports.ProductLittleDetailDocument=r,exports.TypedDocumentString=t;
|