@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0-dev.9",
|
|
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": "
|
|
18
|
+
"lint": "oxlint --format=stylish ./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",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"type-check": "yarn tsc --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@gem-sdk/adapter-shopify": "
|
|
32
|
-
"@gem-sdk/styles": "
|
|
31
|
+
"@gem-sdk/adapter-shopify": "17.0.0-dev.9",
|
|
32
|
+
"@gem-sdk/styles": "17.0.0-dev.9",
|
|
33
33
|
"@types/classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";const CollectionDetailSelect=`
|
|
2
|
-
fragment CollectionDetailSelect on Collection {
|
|
3
|
-
id
|
|
4
|
-
createdAt
|
|
5
|
-
updatedAt
|
|
6
|
-
deletedAt
|
|
7
|
-
title
|
|
8
|
-
handle
|
|
9
|
-
description
|
|
10
|
-
descriptionHtml
|
|
11
|
-
templateSuffix
|
|
12
|
-
titleMeta
|
|
13
|
-
descriptionMeta
|
|
14
|
-
baseID
|
|
15
|
-
platform
|
|
16
|
-
tags
|
|
17
|
-
collectionMedia {
|
|
18
|
-
src
|
|
19
|
-
}
|
|
20
|
-
isStorefront
|
|
21
|
-
isSample
|
|
22
|
-
}
|
|
23
|
-
`;exports.CollectionDetailSelect=CollectionDetailSelect;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";const CollectionProductSelect=`
|
|
2
|
-
fragment CollectionProductSelect on Collection {
|
|
3
|
-
...CollectionDetailSelect
|
|
4
|
-
products(
|
|
5
|
-
first: $firstProduct
|
|
6
|
-
orderBy: $orderByProduct
|
|
7
|
-
after: $productsAfter
|
|
8
|
-
where: $whereProduct
|
|
9
|
-
) {
|
|
10
|
-
edges {
|
|
11
|
-
cursor
|
|
12
|
-
node {
|
|
13
|
-
...ProductSelect
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
pageInfo {
|
|
17
|
-
endCursor
|
|
18
|
-
hasNextPage
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`;exports.CollectionProductSelect=CollectionProductSelect;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";const CollectionSelect=`
|
|
2
|
-
fragment CollectionSelect on Collection {
|
|
3
|
-
...CollectionDetailSelect
|
|
4
|
-
products {
|
|
5
|
-
edges {
|
|
6
|
-
node {
|
|
7
|
-
id
|
|
8
|
-
title
|
|
9
|
-
handle
|
|
10
|
-
description
|
|
11
|
-
status
|
|
12
|
-
featuredImage {
|
|
13
|
-
src
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
totalCount
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
`;exports.CollectionSelect=CollectionSelect;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";const PreviewThemePageSelect=`
|
|
2
|
-
fragment PreviewThemePageSelect on PreviewThemePage {
|
|
3
|
-
id
|
|
4
|
-
name
|
|
5
|
-
handle
|
|
6
|
-
isMobile
|
|
7
|
-
sectionPosition
|
|
8
|
-
pageSections {
|
|
9
|
-
cid
|
|
10
|
-
component
|
|
11
|
-
id
|
|
12
|
-
}
|
|
13
|
-
dataSEO {
|
|
14
|
-
...DataSEOSelect
|
|
15
|
-
}
|
|
16
|
-
themeStyle {
|
|
17
|
-
id
|
|
18
|
-
data
|
|
19
|
-
name
|
|
20
|
-
}
|
|
21
|
-
analytic {
|
|
22
|
-
...AnalyticSelect
|
|
23
|
-
}
|
|
24
|
-
customCode {
|
|
25
|
-
...CustomCodeSelect
|
|
26
|
-
}
|
|
27
|
-
customFonts {
|
|
28
|
-
...CustomFontSelect
|
|
29
|
-
}
|
|
30
|
-
interaction {
|
|
31
|
-
id
|
|
32
|
-
value
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
`;exports.PreviewThemePageSelect=PreviewThemePageSelect;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";const ProductLittleSelect=`
|
|
2
|
-
fragment ProductLittleSelect on Product {
|
|
3
|
-
id
|
|
4
|
-
title
|
|
5
|
-
createdAt
|
|
6
|
-
description
|
|
7
|
-
descriptionHtml
|
|
8
|
-
handle
|
|
9
|
-
averageRating
|
|
10
|
-
isStorefront
|
|
11
|
-
isSample
|
|
12
|
-
baseID
|
|
13
|
-
sku
|
|
14
|
-
options {
|
|
15
|
-
...ProductOptionSelect
|
|
16
|
-
}
|
|
17
|
-
vendor
|
|
18
|
-
featuredImage {
|
|
19
|
-
...MediaSelect
|
|
20
|
-
}
|
|
21
|
-
collections {
|
|
22
|
-
edges {
|
|
23
|
-
node {
|
|
24
|
-
id
|
|
25
|
-
title
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
tags
|
|
30
|
-
}
|
|
31
|
-
`;exports.ProductLittleSelect=ProductLittleSelect;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";const ProductVariantsWithSellingPlansSelect=`
|
|
2
|
-
fragment ProductVariantsWithSellingPlansSelect on ProductVariant {
|
|
3
|
-
id
|
|
4
|
-
title
|
|
5
|
-
barcode
|
|
6
|
-
baseID
|
|
7
|
-
costPrice
|
|
8
|
-
height
|
|
9
|
-
inventoryPolicy
|
|
10
|
-
inventoryQuantity
|
|
11
|
-
inventoryStatus
|
|
12
|
-
isDigital
|
|
13
|
-
length
|
|
14
|
-
lowInventoryAmount
|
|
15
|
-
manageInventory
|
|
16
|
-
mediaId
|
|
17
|
-
platform
|
|
18
|
-
price
|
|
19
|
-
salePrice
|
|
20
|
-
sku
|
|
21
|
-
soldIndividually
|
|
22
|
-
weight
|
|
23
|
-
width
|
|
24
|
-
selectedOptions {
|
|
25
|
-
...SelectedOptionSelect
|
|
26
|
-
}
|
|
27
|
-
media {
|
|
28
|
-
...MediaSelect
|
|
29
|
-
}
|
|
30
|
-
sellingPlanGroups {
|
|
31
|
-
id
|
|
32
|
-
appID
|
|
33
|
-
sellingPlans {
|
|
34
|
-
id
|
|
35
|
-
name
|
|
36
|
-
baseID
|
|
37
|
-
billingPolicy
|
|
38
|
-
deliveryPolicy
|
|
39
|
-
pricingPolicies
|
|
40
|
-
updatedAt
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`;exports.ProductVariantsWithSellingPlansSelect=ProductVariantsWithSellingPlansSelect;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";const ProductSelect=`
|
|
2
|
-
fragment ProductSelect on Product {
|
|
3
|
-
...ProductLittleSelect
|
|
4
|
-
collections {
|
|
5
|
-
edges {
|
|
6
|
-
node {
|
|
7
|
-
id
|
|
8
|
-
title
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
tags
|
|
13
|
-
medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
|
|
14
|
-
edges {
|
|
15
|
-
cursor
|
|
16
|
-
node {
|
|
17
|
-
...MediaSelect
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
pageInfo {
|
|
21
|
-
endCursor
|
|
22
|
-
hasNextPage
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
variants(first: $firstVariant, after: $afterVariant) {
|
|
26
|
-
edges {
|
|
27
|
-
cursor
|
|
28
|
-
node {
|
|
29
|
-
...VariantSelect
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
pageInfo {
|
|
33
|
-
hasNextPage
|
|
34
|
-
endCursor
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
`;exports.ProductSelect=ProductSelect;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";const PublishedThemePageSelect=`
|
|
2
|
-
fragment PublishedThemePageSelect on PublishedThemePage {
|
|
3
|
-
id
|
|
4
|
-
shopID
|
|
5
|
-
name
|
|
6
|
-
handle
|
|
7
|
-
isMobile
|
|
8
|
-
sectionPosition
|
|
9
|
-
pageSections {
|
|
10
|
-
...PublishedPageSectionSelect
|
|
11
|
-
}
|
|
12
|
-
themePageCustomSections {
|
|
13
|
-
...PublishedCustomSectionSelect
|
|
14
|
-
}
|
|
15
|
-
themePageDataSEO {
|
|
16
|
-
...DataSEOSelect
|
|
17
|
-
}
|
|
18
|
-
pageStyle {
|
|
19
|
-
...PublishedThemeStyleSelect
|
|
20
|
-
}
|
|
21
|
-
themePageAnalytic {
|
|
22
|
-
...AnalyticSelect
|
|
23
|
-
}
|
|
24
|
-
themePageCustomCode {
|
|
25
|
-
...CustomCodeSelect
|
|
26
|
-
}
|
|
27
|
-
themePageCustomFonts {
|
|
28
|
-
...CustomFontSelect
|
|
29
|
-
}
|
|
30
|
-
interaction {
|
|
31
|
-
id
|
|
32
|
-
value
|
|
33
|
-
}
|
|
34
|
-
metafields {
|
|
35
|
-
key
|
|
36
|
-
value
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
`;exports.PublishedThemePageSelect=PublishedThemePageSelect;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";var product_generated=require("../fragments/product.generated.js"),productLittle_generated=require("../fragments/product-little.generated.js"),productOption_generated=require("../fragments/product-option.generated.js"),productOptionValue_generated=require("../fragments/product-option-value.generated.js"),media_generated=require("../fragments/media.generated.js"),variant_generated=require("../fragments/variant.generated.js"),selectedOption_generated=require("../fragments/selected-option.generated.js");const ProductsEdgeDetailV2=`
|
|
2
|
-
fragment ProductsEdgeDetailV2 on ProductEdge {
|
|
3
|
-
cursor
|
|
4
|
-
node {
|
|
5
|
-
...ProductSelect
|
|
6
|
-
tags
|
|
7
|
-
collections {
|
|
8
|
-
edges {
|
|
9
|
-
node {
|
|
10
|
-
id
|
|
11
|
-
title
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
`,ProductsV2Document=`
|
|
18
|
-
query productsV2($first: Int, $where: ProductWhereInput, $firstMedia: Int, $orderBy: ProductOrder, $after: Cursor, $firstVariant: Int, $afterVariant: Cursor, $afterMedia: Cursor, $orderByMedia: MediaOrder) {
|
|
19
|
-
products(first: $first, where: $where, orderBy: $orderBy, after: $after) {
|
|
20
|
-
edges {
|
|
21
|
-
...ProductsEdgeDetailV2
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
${ProductsEdgeDetailV2}
|
|
26
|
-
${product_generated.ProductSelect}
|
|
27
|
-
${productLittle_generated.ProductLittleSelect}
|
|
28
|
-
${productOption_generated.ProductOptionSelect}
|
|
29
|
-
${productOptionValue_generated.ProductOptionValueSelect}
|
|
30
|
-
${media_generated.MediaSelect}
|
|
31
|
-
${variant_generated.VariantSelect}
|
|
32
|
-
${selectedOption_generated.SelectedOptionSelect}`;exports.ProductsEdgeDetailV2=ProductsEdgeDetailV2,exports.ProductsV2Document=ProductsV2Document;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
"use strict";var ProductListContext=require("../contexts/ProductListContext.js");const useProductList=()=>ProductListContext.useProductListStore(t=>t.collection),useProductListProducts=()=>ProductListContext.useProductListStore(t=>t.products),useProductListSettings=()=>ProductListContext.useProductListStore(t=>t.settings),useProductListStyles=()=>ProductListContext.useProductListStore(t=>t.styles);exports.useProductList=useProductList,exports.useProductListProducts=useProductListProducts,exports.useProductListSettings=useProductListSettings,exports.useProductListStyles=useProductListStyles;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
let CollectionDetailSelect=`
|
|
2
|
-
fragment CollectionDetailSelect on Collection {
|
|
3
|
-
id
|
|
4
|
-
createdAt
|
|
5
|
-
updatedAt
|
|
6
|
-
deletedAt
|
|
7
|
-
title
|
|
8
|
-
handle
|
|
9
|
-
description
|
|
10
|
-
descriptionHtml
|
|
11
|
-
templateSuffix
|
|
12
|
-
titleMeta
|
|
13
|
-
descriptionMeta
|
|
14
|
-
baseID
|
|
15
|
-
platform
|
|
16
|
-
tags
|
|
17
|
-
collectionMedia {
|
|
18
|
-
src
|
|
19
|
-
}
|
|
20
|
-
isStorefront
|
|
21
|
-
isSample
|
|
22
|
-
}
|
|
23
|
-
`;export{CollectionDetailSelect};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
let CollectionProductSelect=`
|
|
2
|
-
fragment CollectionProductSelect on Collection {
|
|
3
|
-
...CollectionDetailSelect
|
|
4
|
-
products(
|
|
5
|
-
first: $firstProduct
|
|
6
|
-
orderBy: $orderByProduct
|
|
7
|
-
after: $productsAfter
|
|
8
|
-
where: $whereProduct
|
|
9
|
-
) {
|
|
10
|
-
edges {
|
|
11
|
-
cursor
|
|
12
|
-
node {
|
|
13
|
-
...ProductSelect
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
pageInfo {
|
|
17
|
-
endCursor
|
|
18
|
-
hasNextPage
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`;export{CollectionProductSelect};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
let CollectionSelect=`
|
|
2
|
-
fragment CollectionSelect on Collection {
|
|
3
|
-
...CollectionDetailSelect
|
|
4
|
-
products {
|
|
5
|
-
edges {
|
|
6
|
-
node {
|
|
7
|
-
id
|
|
8
|
-
title
|
|
9
|
-
handle
|
|
10
|
-
description
|
|
11
|
-
status
|
|
12
|
-
featuredImage {
|
|
13
|
-
src
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
totalCount
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
`;export{CollectionSelect};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
let PreviewThemePageSelect=`
|
|
2
|
-
fragment PreviewThemePageSelect on PreviewThemePage {
|
|
3
|
-
id
|
|
4
|
-
name
|
|
5
|
-
handle
|
|
6
|
-
isMobile
|
|
7
|
-
sectionPosition
|
|
8
|
-
pageSections {
|
|
9
|
-
cid
|
|
10
|
-
component
|
|
11
|
-
id
|
|
12
|
-
}
|
|
13
|
-
dataSEO {
|
|
14
|
-
...DataSEOSelect
|
|
15
|
-
}
|
|
16
|
-
themeStyle {
|
|
17
|
-
id
|
|
18
|
-
data
|
|
19
|
-
name
|
|
20
|
-
}
|
|
21
|
-
analytic {
|
|
22
|
-
...AnalyticSelect
|
|
23
|
-
}
|
|
24
|
-
customCode {
|
|
25
|
-
...CustomCodeSelect
|
|
26
|
-
}
|
|
27
|
-
customFonts {
|
|
28
|
-
...CustomFontSelect
|
|
29
|
-
}
|
|
30
|
-
interaction {
|
|
31
|
-
id
|
|
32
|
-
value
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
`;export{PreviewThemePageSelect};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
let ProductLittleSelect=`
|
|
2
|
-
fragment ProductLittleSelect on Product {
|
|
3
|
-
id
|
|
4
|
-
title
|
|
5
|
-
createdAt
|
|
6
|
-
description
|
|
7
|
-
descriptionHtml
|
|
8
|
-
handle
|
|
9
|
-
averageRating
|
|
10
|
-
isStorefront
|
|
11
|
-
isSample
|
|
12
|
-
baseID
|
|
13
|
-
sku
|
|
14
|
-
options {
|
|
15
|
-
...ProductOptionSelect
|
|
16
|
-
}
|
|
17
|
-
vendor
|
|
18
|
-
featuredImage {
|
|
19
|
-
...MediaSelect
|
|
20
|
-
}
|
|
21
|
-
collections {
|
|
22
|
-
edges {
|
|
23
|
-
node {
|
|
24
|
-
id
|
|
25
|
-
title
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
tags
|
|
30
|
-
}
|
|
31
|
-
`;export{ProductLittleSelect};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
let ProductVariantsWithSellingPlansSelect=`
|
|
2
|
-
fragment ProductVariantsWithSellingPlansSelect on ProductVariant {
|
|
3
|
-
id
|
|
4
|
-
title
|
|
5
|
-
barcode
|
|
6
|
-
baseID
|
|
7
|
-
costPrice
|
|
8
|
-
height
|
|
9
|
-
inventoryPolicy
|
|
10
|
-
inventoryQuantity
|
|
11
|
-
inventoryStatus
|
|
12
|
-
isDigital
|
|
13
|
-
length
|
|
14
|
-
lowInventoryAmount
|
|
15
|
-
manageInventory
|
|
16
|
-
mediaId
|
|
17
|
-
platform
|
|
18
|
-
price
|
|
19
|
-
salePrice
|
|
20
|
-
sku
|
|
21
|
-
soldIndividually
|
|
22
|
-
weight
|
|
23
|
-
width
|
|
24
|
-
selectedOptions {
|
|
25
|
-
...SelectedOptionSelect
|
|
26
|
-
}
|
|
27
|
-
media {
|
|
28
|
-
...MediaSelect
|
|
29
|
-
}
|
|
30
|
-
sellingPlanGroups {
|
|
31
|
-
id
|
|
32
|
-
appID
|
|
33
|
-
sellingPlans {
|
|
34
|
-
id
|
|
35
|
-
name
|
|
36
|
-
baseID
|
|
37
|
-
billingPolicy
|
|
38
|
-
deliveryPolicy
|
|
39
|
-
pricingPolicies
|
|
40
|
-
updatedAt
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`;export{ProductVariantsWithSellingPlansSelect};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
let ProductSelect=`
|
|
2
|
-
fragment ProductSelect on Product {
|
|
3
|
-
...ProductLittleSelect
|
|
4
|
-
collections {
|
|
5
|
-
edges {
|
|
6
|
-
node {
|
|
7
|
-
id
|
|
8
|
-
title
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
tags
|
|
13
|
-
medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
|
|
14
|
-
edges {
|
|
15
|
-
cursor
|
|
16
|
-
node {
|
|
17
|
-
...MediaSelect
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
pageInfo {
|
|
21
|
-
endCursor
|
|
22
|
-
hasNextPage
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
variants(first: $firstVariant, after: $afterVariant) {
|
|
26
|
-
edges {
|
|
27
|
-
cursor
|
|
28
|
-
node {
|
|
29
|
-
...VariantSelect
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
pageInfo {
|
|
33
|
-
hasNextPage
|
|
34
|
-
endCursor
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
`;export{ProductSelect};
|