fontdue-js 2.10.1 → 2.11.0
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/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +11 -63
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +1 -11
- package/dist/__generated__/AddressFields_viewer.graphql.js +68 -122
- package/dist/__generated__/BuyButton_collection.graphql.d.ts +2 -2
- package/dist/__generated__/BuyButton_collection.graphql.js +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.js +24 -3
- package/dist/__generated__/CartButton_order.graphql.d.ts +4 -1
- package/dist/__generated__/CartButton_order.graphql.js +15 -2
- package/dist/__generated__/CartItemAdditionalLicenses_licenses.graphql.d.ts +18 -0
- package/dist/__generated__/CartItemAdditionalLicenses_licenses.graphql.js +42 -0
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.d.ts +21 -0
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.js +52 -0
- package/dist/__generated__/CartItemLicense_selection.graphql.d.ts +29 -0
- package/dist/__generated__/CartItemLicense_selection.graphql.js +80 -0
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +33 -0
- package/dist/__generated__/CartItemProduct_product.graphql.js +122 -0
- package/dist/__generated__/CartItemVariable_selection.graphql.d.ts +36 -0
- package/dist/__generated__/CartItemVariable_selection.graphql.js +107 -0
- package/dist/__generated__/CartItemVariable_variable.graphql.d.ts +22 -0
- package/dist/__generated__/CartItemVariable_variable.graphql.js +58 -0
- package/dist/__generated__/CartItem_node.graphql.d.ts +9 -34
- package/dist/__generated__/CartItem_node.graphql.js +31 -129
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +7 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +137 -108
- package/dist/__generated__/CartOrder_order.graphql.d.ts +11 -2
- package/dist/__generated__/CartOrder_order.graphql.js +33 -2
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +143 -108
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +162 -17
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +8 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +249 -91
- package/dist/__generated__/CartState_order.graphql.d.ts +10 -1
- package/dist/__generated__/CartState_order.graphql.js +30 -3
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +5 -5
- package/dist/__generated__/CharacterViewer_collection.graphql.js +1 -1
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +2 -2
- package/dist/__generated__/CharacterViewer_family.graphql.js +1 -1
- package/dist/__generated__/CharacterViewer_style.graphql.js +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +137 -108
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +7 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +137 -108
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +162 -17
- package/dist/__generated__/CouponCodeInput_viewer.graphql.js +1 -1
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +29 -19
- package/dist/__generated__/CouponText_coupon.graphql.d.ts +5 -1
- package/dist/__generated__/CouponText_coupon.graphql.js +36 -24
- package/dist/__generated__/FamilyList_node.graphql.d.ts +2 -2
- package/dist/__generated__/FamilyList_node.graphql.js +1 -1
- package/dist/__generated__/Family_node.graphql.d.ts +2 -2
- package/dist/__generated__/Family_node.graphql.js +27 -10
- package/dist/__generated__/Family_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +11 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +58 -45
- package/dist/__generated__/OrderVariableSelectionMutation.graphql.d.ts +69 -0
- package/dist/__generated__/OrderVariableSelectionMutation_viewer.graphql.d.ts +30 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +32 -0
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +26 -0
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +79 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +8 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +171 -142
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +7 -2
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +43 -28
- package/dist/__generated__/PriceBarSection_node.graphql.d.ts +2 -2
- package/dist/__generated__/PriceBarSection_node.graphql.js +22 -17
- package/dist/__generated__/PriceBarSection_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/PriceBar_node.graphql.d.ts +1 -1
- package/dist/__generated__/PriceBar_node.graphql.js +20 -4
- package/dist/__generated__/PriceBar_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/SKUPriceRefetchQuery.graphql.d.ts +6 -1
- package/dist/__generated__/SKUPriceUpdateQuery.graphql.d.ts +29 -0
- package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SKUPrice_sku.graphql.js +13 -17
- package/dist/__generated__/SKUPrice_viewer.graphql.d.ts +19 -0
- package/dist/__generated__/SelectButton_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SelectButton_sku.graphql.js +13 -5
- package/dist/__generated__/SelectButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalBundleButton_bundle.graphql.js +21 -5
- package/dist/__generated__/StoreModalBundleButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +7 -3
- package/dist/__generated__/StoreModalCartQuery.graphql.js +391 -66
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +3 -6
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +36 -147
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.js +20 -4
- package/dist/__generated__/StoreModalFamilyButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +29 -12
- package/dist/__generated__/StoreModalFamily_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionOrderUpdateMutation.graphql.d.ts +60 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_order.graphql.d.ts +27 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_variable.graphql.d.ts +24 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +38 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +129 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +22 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +92 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +24 -7
- package/dist/__generated__/StoreModalProductQuery.graphql.js +193 -130
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +31 -0
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +383 -0
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +8 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +24 -3
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +8 -3
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +59 -29
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +59 -15
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.d.ts +1 -4
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +32 -25
- package/dist/__generated__/StoreModalStyleButton_viewer.graphql.d.ts +17 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +21 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +241 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +28 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +251 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +82 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +292 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +55 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +169 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +28 -0
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +99 -0
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.d.ts +22 -0
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.js +105 -0
- package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StripeProvider_viewer.graphql.js +8 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +137 -108
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +32 -0
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +293 -0
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +40 -46
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +2 -2
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +3 -3
- package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -10
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +48 -41
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +32 -0
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +293 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +41 -37
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +33 -0
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +482 -0
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +41 -37
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesters_collection.graphql.js +43 -14
- package/dist/__generated__/productState_Query.graphql.d.ts +3 -3
- package/dist/__generated__/productState_Query.graphql.js +1 -1
- package/dist/__generated__/productState_collection.graphql.d.ts +2 -2
- package/dist/__generated__/productState_collection.graphql.js +1 -1
- package/dist/__generated__/productState_node.graphql.d.ts +3 -3
- package/dist/__generated__/productState_node.graphql.js +1 -1
- package/dist/__generated__/useOrderVariables_order.graphql.d.ts +24 -0
- package/dist/components/AddToCartBanner/index.js +3 -3
- package/dist/components/BuyButton/index.js +4 -4
- package/dist/components/BuyButton/index.server.js +2 -2
- package/dist/components/BuyingOptions/index.js +1 -1
- package/dist/components/Cart/AddressFields.d.ts +2 -3
- package/dist/components/Cart/AddressFields.js +85 -142
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.d.ts +10 -0
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.js +38 -0
- package/dist/components/Cart/CartItem/CartItemLicense.d.ts +12 -0
- package/dist/components/Cart/CartItem/CartItemLicense.js +75 -0
- package/dist/components/Cart/CartItem/CartItemProduct.d.ts +7 -0
- package/dist/components/Cart/CartItem/CartItemProduct.js +43 -0
- package/dist/components/Cart/CartItem/CartItemVariable.d.ts +11 -0
- package/dist/components/Cart/CartItem/CartItemVariable.js +76 -0
- package/dist/components/Cart/CartItem/VariableTextInput.d.ts +1 -3
- package/dist/components/Cart/CartItem/VariableTextInput.js +7 -6
- package/dist/components/Cart/CartItem/index.d.ts +4 -1
- package/dist/components/Cart/CartItem/index.js +73 -284
- package/dist/components/Cart/CartOrder.js +19 -39
- package/dist/components/Cart/CartState.d.ts +4 -2
- package/dist/components/Cart/CartState.js +40 -29
- package/dist/components/Cart/CartTotals.js +2 -2
- package/dist/components/Cart/Checkout.js +5 -7
- package/dist/components/Cart/CouponCodeInput.js +4 -4
- package/dist/components/Cart/CustomerFields.d.ts +1 -1
- package/dist/components/Cart/CustomerFields.js +5 -5
- package/dist/components/Cart/Download.js +3 -3
- package/dist/components/Cart/EmptyCart.js +1 -1
- package/dist/components/Cart/IdentityBox.js +1 -1
- package/dist/components/Cart/index.js +2 -2
- package/dist/components/Cart/injectRelayEnvironment.js +2 -2
- package/dist/components/Cart/types.d.ts +5 -4
- package/dist/components/CartButton/index.d.ts +1 -0
- package/dist/components/CartButton/index.js +52 -11
- package/dist/components/CartButton/index.server.js +2 -2
- package/dist/components/CharacterViewer/StyleSelect.js +1 -1
- package/dist/components/CharacterViewer/index.js +7 -7
- package/dist/components/CharacterViewer/index.server.js +2 -2
- package/dist/components/Checkbox/index.js +4 -4
- package/dist/components/CollectionAa/index.js +1 -1
- package/dist/components/ComponentsContext.js +1 -1
- package/dist/components/ConfigContext.js +2 -2
- package/dist/components/CookieNotification/index.js +2 -2
- package/dist/components/CouponText/index.js +9 -4
- package/dist/components/CustomerLoginForm/index.js +3 -3
- package/dist/components/Family/FamilyList.js +1 -1
- package/dist/components/Family/index.js +4 -4
- package/dist/components/FontFamilies/index.js +12 -5
- package/dist/components/FontStyle/index.js +1 -1
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.d.ts +1 -1
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +3 -3
- package/dist/components/FontdueProvider/index.js +1 -1
- package/dist/components/FontdueProvider/index.server.js +3 -3
- package/dist/components/Icons/Align.js +1 -1
- package/dist/components/Icons/ArrowDownRight.js +1 -1
- package/dist/components/Icons/ArrowLeft.js +1 -1
- package/dist/components/Icons/ArrowRight.js +1 -1
- package/dist/components/Icons/CarrotDown.js +1 -1
- package/dist/components/Icons/CarrotUp.js +1 -1
- package/dist/components/Icons/Cart.js +1 -1
- package/dist/components/Icons/CartNew.js +1 -1
- package/dist/components/Icons/Check.js +1 -1
- package/dist/components/Icons/Checkbox.js +1 -1
- package/dist/components/Icons/CheckboxChecked.js +1 -1
- package/dist/components/Icons/CheckboxCrossed.js +1 -1
- package/dist/components/Icons/CircledCheck.js +1 -1
- package/dist/components/Icons/CircledInfo.js +1 -1
- package/dist/components/Icons/CircledMinus.js +1 -1
- package/dist/components/Icons/ColorPicker.js +1 -1
- package/dist/components/Icons/CreditCard.js +1 -1
- package/dist/components/Icons/DownArrow.js +1 -1
- package/dist/components/Icons/DownloadFonts.js +1 -1
- package/dist/components/Icons/FrowningFace.js +1 -1
- package/dist/components/Icons/License.js +1 -1
- package/dist/components/Icons/Receipt.js +1 -1
- package/dist/components/Icons/User.js +1 -1
- package/dist/components/Icons/X.js +1 -1
- package/dist/components/Icons/index.js +1 -1
- package/dist/components/NewsletterSignup/NewsletterSignupElement.js +2 -2
- package/dist/components/NewsletterSignup/index.js +4 -4
- package/dist/components/NewsletterSignup/index.server.js +2 -2
- package/dist/components/NodePasswordForm/index.js +6 -7
- package/dist/components/OrderVariableSelection/OrderVariableSelectionMutation.d.ts +7 -0
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.d.ts +11 -0
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +37 -0
- package/dist/components/OrderVariableSelection/index.d.ts +33 -0
- package/dist/components/OrderVariableSelection/index.js +184 -0
- package/dist/components/Precart/License.js +1 -1
- package/dist/components/Precart/index.js +4 -4
- package/dist/components/Price/index.js +2 -2
- package/dist/components/PriceBar/PriceBarSection.js +7 -27
- package/dist/components/PriceBar/index.js +4 -4
- package/dist/components/Root/index.js +4 -4
- package/dist/components/Root/productState.js +1 -1
- package/dist/components/SKUPrice/index.js +5 -31
- package/dist/components/Select/index.js +2 -2
- package/dist/components/SelectButton/index.js +5 -5
- package/dist/components/SelectField/index.js +4 -4
- package/dist/components/SpecimenLink/index.js +1 -1
- package/dist/components/StickyNav/index.js +3 -3
- package/dist/components/StoreModal/StoreModalBundleButton.js +3 -3
- package/dist/components/StoreModal/StoreModalCart.d.ts +0 -1
- package/dist/components/StoreModal/StoreModalCart.js +34 -21
- package/dist/components/StoreModal/StoreModalCheckout.js +46 -49
- package/dist/components/StoreModal/StoreModalCheckoutContext.js +1 -1
- package/dist/components/StoreModal/StoreModalContainer.js +5 -4
- package/dist/components/StoreModal/StoreModalDownload.js +3 -3
- package/dist/components/StoreModal/StoreModalFamily.js +4 -4
- package/dist/components/StoreModal/StoreModalFamilyButton.js +3 -3
- package/dist/components/StoreModal/StoreModalIndex.js +1 -1
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalLicenseeIsBillingSelection.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalLicenseeIsBillingSelection.js +31 -0
- package/dist/components/StoreModal/StoreModalLoader.js +2 -2
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +9 -0
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +78 -0
- package/dist/components/StoreModal/StoreModalProduct.js +89 -16
- package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -3
- package/dist/components/StoreModal/StoreModalRouter.js +3 -3
- package/dist/components/StoreModal/StoreModalStyleButton.js +3 -3
- package/dist/components/StoreModal/index.js +3 -3
- package/dist/components/StoreModal/routes.d.ts +0 -2
- package/dist/components/StoreModal/routes.js +6 -12
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.d.ts +1 -1
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +5 -5
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableElement.js +1 -1
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableRadioElement.js +3 -3
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +6 -5
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +5 -1
- package/dist/components/StoreModalProductLicenseSelection/index.js +17 -10
- package/dist/components/StoreModalProductSummary/index.d.ts +5 -6
- package/dist/components/StoreModalProductSummary/index.js +78 -48
- package/dist/components/StripeLogo.d.ts +2 -0
- package/dist/components/StripeLogo.js +17 -0
- package/dist/components/StripeProvider/index.d.ts +2 -1
- package/dist/components/StripeProvider/index.js +122 -60
- package/dist/components/Stylesheet/index.js +2 -2
- package/dist/components/TestFontsForm/TestFontsFormElement.js +2 -2
- package/dist/components/TestFontsForm/index.js +4 -4
- package/dist/components/TestFontsForm/index.server.js +2 -2
- package/dist/components/TestModeBanner/index.js +1 -1
- package/dist/components/TextField/index.js +2 -2
- package/dist/components/ThemeConfig/index.js +1 -1
- package/dist/components/ThemeConfig/index.server.js +1 -1
- package/dist/components/TypeTester/TypeTesterAlignButtons.js +1 -1
- package/dist/components/TypeTester/TypeTesterBullet.js +1 -1
- package/dist/components/TypeTester/TypeTesterContent.js +4 -4
- package/dist/components/TypeTester/TypeTesterContext.js +2 -2
- package/dist/components/TypeTester/TypeTesterEditAll.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeatures.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +3 -3
- package/dist/components/TypeTester/TypeTesterFitter.js +2 -2
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterInput.js +2 -2
- package/dist/components/TypeTester/TypeTesterSlider.js +2 -2
- package/dist/components/TypeTester/TypeTesterStandalone.js +36 -5
- package/dist/components/TypeTester/TypeTesterStandalone.server.js +4 -10
- package/dist/components/TypeTester/TypeTesterStandaloneElement.js +2 -2
- package/dist/components/TypeTester/TypeTesterState.js +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +4 -4
- package/dist/components/TypeTester/TypeTesterToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterVariableAxes.js +1 -1
- package/dist/components/TypeTester/index.d.ts +2 -0
- package/dist/components/TypeTester/index.js +12 -47
- package/dist/components/TypeTester/useFeaturesData.js +1 -1
- package/dist/components/TypeTesters/TypeTestersElement.js +2 -2
- package/dist/components/TypeTesters/index.js +85 -20
- package/dist/components/TypeTesters/index.server.js +5 -11
- package/dist/components/VariableTableAmounts/index.js +1 -1
- package/dist/components/elements/Button/index.js +2 -2
- package/dist/components/elements/EmptyCart/index.js +3 -3
- package/dist/components/elements/StoreModalCartLayout/index.d.ts +3 -3
- package/dist/components/elements/StoreModalCartLayout/index.js +12 -14
- package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.js +1 -1
- package/dist/components/elements/StoreModalContainer/index.d.ts +1 -0
- package/dist/components/elements/StoreModalContainer/index.js +6 -4
- package/dist/components/elements/StoreModalDownloadLayout/index.js +1 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -1
- package/dist/components/elements/StoreModalFamilyButton/index.js +2 -2
- package/dist/components/elements/StoreModalIndexItem/index.js +1 -1
- package/dist/components/elements/StoreModalLicenseeIsBillingIdentityElement.d.ts +11 -0
- package/dist/components/elements/StoreModalLicenseeIsBillingIdentityElement.js +61 -0
- package/dist/components/elements/StoreModalLoadingScreen/index.js +1 -1
- package/dist/components/elements/StoreModalPageContainer/index.js +1 -1
- package/dist/components/elements/StoreModalStyleButton/index.js +2 -2
- package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +10 -0
- package/dist/components/elements/StoreModalUnifiedCheckout.js +494 -0
- package/dist/components/useFontStyle.js +1 -1
- package/dist/components/useTotalStyles.js +1 -1
- package/dist/fontdue.css +331 -227
- package/dist/hooks/useLicenseAndOrderVariables.d.ts +5 -0
- package/dist/hooks/useLicenseAndOrderVariables.js +25 -0
- package/dist/hooks/useOrderVariables.d.ts +5 -0
- package/dist/hooks/useRefetchOnLicenseChanges.d.ts +22 -0
- package/dist/hooks/useRefetchOnLicenseChanges.js +61 -0
- package/dist/react-ranger.js +1 -1
- package/dist/reducer.d.ts +12 -0
- package/dist/reducer.js +17 -1
- package/dist/relay/environment.d.ts +1 -1
- package/dist/relay/environment.js +6 -9
- package/dist/vanilla/FontStyle.js +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<9c10ad1cf83c8110f8bb5e4ba1af19d6>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = function () {
|
|
18
|
+
var v0 = {
|
|
19
|
+
"alias": null,
|
|
20
|
+
"args": null,
|
|
21
|
+
"kind": "ScalarField",
|
|
22
|
+
"name": "name",
|
|
23
|
+
"storageKey": null
|
|
24
|
+
},
|
|
25
|
+
v1 = {
|
|
26
|
+
"alias": null,
|
|
27
|
+
"args": null,
|
|
28
|
+
"kind": "ScalarField",
|
|
29
|
+
"name": "email",
|
|
30
|
+
"storageKey": null
|
|
31
|
+
},
|
|
32
|
+
v2 = {
|
|
33
|
+
"alias": null,
|
|
34
|
+
"args": null,
|
|
35
|
+
"kind": "ScalarField",
|
|
36
|
+
"name": "id",
|
|
37
|
+
"storageKey": null
|
|
38
|
+
},
|
|
39
|
+
v3 = [v1 /*: any*/, {
|
|
40
|
+
"alias": null,
|
|
41
|
+
"args": null,
|
|
42
|
+
"kind": "ScalarField",
|
|
43
|
+
"name": "phoneFormatted",
|
|
44
|
+
"storageKey": null
|
|
45
|
+
}, {
|
|
46
|
+
"alias": null,
|
|
47
|
+
"args": null,
|
|
48
|
+
"kind": "ScalarField",
|
|
49
|
+
"name": "addressFormatted",
|
|
50
|
+
"storageKey": null
|
|
51
|
+
}, {
|
|
52
|
+
"alias": null,
|
|
53
|
+
"args": null,
|
|
54
|
+
"kind": "ScalarField",
|
|
55
|
+
"name": "vatNumber",
|
|
56
|
+
"storageKey": null
|
|
57
|
+
}, v0 /*: any*/, {
|
|
58
|
+
"alias": null,
|
|
59
|
+
"args": null,
|
|
60
|
+
"kind": "ScalarField",
|
|
61
|
+
"name": "organization",
|
|
62
|
+
"storageKey": null
|
|
63
|
+
}, {
|
|
64
|
+
"alias": null,
|
|
65
|
+
"args": null,
|
|
66
|
+
"kind": "ScalarField",
|
|
67
|
+
"name": "phone",
|
|
68
|
+
"storageKey": null
|
|
69
|
+
}, {
|
|
70
|
+
"alias": null,
|
|
71
|
+
"args": null,
|
|
72
|
+
"kind": "ScalarField",
|
|
73
|
+
"name": "street",
|
|
74
|
+
"storageKey": null
|
|
75
|
+
}, {
|
|
76
|
+
"alias": null,
|
|
77
|
+
"args": null,
|
|
78
|
+
"kind": "ScalarField",
|
|
79
|
+
"name": "locality",
|
|
80
|
+
"storageKey": null
|
|
81
|
+
}, {
|
|
82
|
+
"alias": null,
|
|
83
|
+
"args": null,
|
|
84
|
+
"kind": "ScalarField",
|
|
85
|
+
"name": "sublocality",
|
|
86
|
+
"storageKey": null
|
|
87
|
+
}, {
|
|
88
|
+
"alias": null,
|
|
89
|
+
"args": null,
|
|
90
|
+
"kind": "ScalarField",
|
|
91
|
+
"name": "country",
|
|
92
|
+
"storageKey": null
|
|
93
|
+
}, {
|
|
94
|
+
"alias": null,
|
|
95
|
+
"args": null,
|
|
96
|
+
"kind": "ScalarField",
|
|
97
|
+
"name": "administrativeArea",
|
|
98
|
+
"storageKey": null
|
|
99
|
+
}, {
|
|
100
|
+
"alias": null,
|
|
101
|
+
"args": null,
|
|
102
|
+
"kind": "ScalarField",
|
|
103
|
+
"name": "zip",
|
|
104
|
+
"storageKey": null
|
|
105
|
+
}];
|
|
106
|
+
return {
|
|
107
|
+
"fragment": {
|
|
108
|
+
"argumentDefinitions": [],
|
|
109
|
+
"kind": "Fragment",
|
|
110
|
+
"metadata": null,
|
|
111
|
+
"name": "StoreModalUnifiedCheckoutCompleteOrderMutation",
|
|
112
|
+
"selections": [{
|
|
113
|
+
"alias": null,
|
|
114
|
+
"args": null,
|
|
115
|
+
"concreteType": "CompleteOrderPayload",
|
|
116
|
+
"kind": "LinkedField",
|
|
117
|
+
"name": "completeOrder",
|
|
118
|
+
"plural": false,
|
|
119
|
+
"selections": [{
|
|
120
|
+
"alias": null,
|
|
121
|
+
"args": null,
|
|
122
|
+
"concreteType": "Order",
|
|
123
|
+
"kind": "LinkedField",
|
|
124
|
+
"name": "order",
|
|
125
|
+
"plural": false,
|
|
126
|
+
"selections": [{
|
|
127
|
+
"args": null,
|
|
128
|
+
"kind": "FragmentSpread",
|
|
129
|
+
"name": "StoreModalUnifiedCheckout_order"
|
|
130
|
+
}],
|
|
131
|
+
"storageKey": null
|
|
132
|
+
}],
|
|
133
|
+
"storageKey": null
|
|
134
|
+
}],
|
|
135
|
+
"type": "RootMutationType",
|
|
136
|
+
"abstractKey": null
|
|
137
|
+
},
|
|
138
|
+
"kind": "Request",
|
|
139
|
+
"operation": {
|
|
140
|
+
"argumentDefinitions": [],
|
|
141
|
+
"kind": "Operation",
|
|
142
|
+
"name": "StoreModalUnifiedCheckoutCompleteOrderMutation",
|
|
143
|
+
"selections": [{
|
|
144
|
+
"alias": null,
|
|
145
|
+
"args": null,
|
|
146
|
+
"concreteType": "CompleteOrderPayload",
|
|
147
|
+
"kind": "LinkedField",
|
|
148
|
+
"name": "completeOrder",
|
|
149
|
+
"plural": false,
|
|
150
|
+
"selections": [{
|
|
151
|
+
"alias": null,
|
|
152
|
+
"args": null,
|
|
153
|
+
"concreteType": "Order",
|
|
154
|
+
"kind": "LinkedField",
|
|
155
|
+
"name": "order",
|
|
156
|
+
"plural": false,
|
|
157
|
+
"selections": [{
|
|
158
|
+
"alias": null,
|
|
159
|
+
"args": null,
|
|
160
|
+
"kind": "ScalarField",
|
|
161
|
+
"name": "completeUrl",
|
|
162
|
+
"storageKey": null
|
|
163
|
+
}, {
|
|
164
|
+
"alias": null,
|
|
165
|
+
"args": null,
|
|
166
|
+
"kind": "ScalarField",
|
|
167
|
+
"name": "canCompleteWithCoupon",
|
|
168
|
+
"storageKey": null
|
|
169
|
+
}, {
|
|
170
|
+
"alias": null,
|
|
171
|
+
"args": null,
|
|
172
|
+
"concreteType": "Money",
|
|
173
|
+
"kind": "LinkedField",
|
|
174
|
+
"name": "total",
|
|
175
|
+
"plural": false,
|
|
176
|
+
"selections": [{
|
|
177
|
+
"alias": null,
|
|
178
|
+
"args": null,
|
|
179
|
+
"kind": "ScalarField",
|
|
180
|
+
"name": "amount",
|
|
181
|
+
"storageKey": null
|
|
182
|
+
}],
|
|
183
|
+
"storageKey": null
|
|
184
|
+
}, {
|
|
185
|
+
"alias": null,
|
|
186
|
+
"args": null,
|
|
187
|
+
"concreteType": "Customer",
|
|
188
|
+
"kind": "LinkedField",
|
|
189
|
+
"name": "customer",
|
|
190
|
+
"plural": false,
|
|
191
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, {
|
|
192
|
+
"alias": null,
|
|
193
|
+
"args": null,
|
|
194
|
+
"kind": "ScalarField",
|
|
195
|
+
"name": "newsletterOptIn",
|
|
196
|
+
"storageKey": null
|
|
197
|
+
}, v2 /*: any*/],
|
|
198
|
+
"storageKey": null
|
|
199
|
+
}, {
|
|
200
|
+
"alias": null,
|
|
201
|
+
"args": null,
|
|
202
|
+
"kind": "ScalarField",
|
|
203
|
+
"name": "licenseeIsBillingIdentity",
|
|
204
|
+
"storageKey": null
|
|
205
|
+
}, {
|
|
206
|
+
"alias": null,
|
|
207
|
+
"args": null,
|
|
208
|
+
"concreteType": "Identity",
|
|
209
|
+
"kind": "LinkedField",
|
|
210
|
+
"name": "licenseeIdentity",
|
|
211
|
+
"plural": false,
|
|
212
|
+
"selections": v3 /*: any*/,
|
|
213
|
+
"storageKey": null
|
|
214
|
+
}, {
|
|
215
|
+
"alias": null,
|
|
216
|
+
"args": null,
|
|
217
|
+
"concreteType": "Identity",
|
|
218
|
+
"kind": "LinkedField",
|
|
219
|
+
"name": "billingIdentity",
|
|
220
|
+
"plural": false,
|
|
221
|
+
"selections": v3 /*: any*/,
|
|
222
|
+
"storageKey": null
|
|
223
|
+
}, v2 /*: any*/],
|
|
224
|
+
"storageKey": null
|
|
225
|
+
}],
|
|
226
|
+
"storageKey": null
|
|
227
|
+
}]
|
|
228
|
+
},
|
|
229
|
+
"params": {
|
|
230
|
+
"cacheID": "5114b57a0d19eac0c5852a71dc8520e0",
|
|
231
|
+
"id": null,
|
|
232
|
+
"metadata": {},
|
|
233
|
+
"name": "StoreModalUnifiedCheckoutCompleteOrderMutation",
|
|
234
|
+
"operationKind": "mutation",
|
|
235
|
+
"text": "mutation StoreModalUnifiedCheckoutCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n}\n"
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
}();
|
|
239
|
+
node.hash = "ea880419670573334e55529f454f8026";
|
|
240
|
+
var _default = node;
|
|
241
|
+
exports.default = _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<03fa78524f4dc6d74a0124e6c916cc68>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type UpdateCustomerInput = {
|
|
9
|
+
email?: string | null;
|
|
10
|
+
name?: string | null;
|
|
11
|
+
newsletterOptIn?: boolean | null;
|
|
12
|
+
};
|
|
13
|
+
export type StoreModalUnifiedCheckoutUpdateCustomerMutation$variables = {
|
|
14
|
+
input: UpdateCustomerInput;
|
|
15
|
+
};
|
|
16
|
+
export type StoreModalUnifiedCheckoutUpdateCustomerMutation$data = {
|
|
17
|
+
readonly updateCustomer: {
|
|
18
|
+
readonly order: {
|
|
19
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalUnifiedCheckout_order">;
|
|
20
|
+
} | null;
|
|
21
|
+
} | null;
|
|
22
|
+
};
|
|
23
|
+
export type StoreModalUnifiedCheckoutUpdateCustomerMutation = {
|
|
24
|
+
response: StoreModalUnifiedCheckoutUpdateCustomerMutation$data;
|
|
25
|
+
variables: StoreModalUnifiedCheckoutUpdateCustomerMutation$variables;
|
|
26
|
+
};
|
|
27
|
+
declare const node: ConcreteRequest;
|
|
28
|
+
export default node;
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<03fa78524f4dc6d74a0124e6c916cc68>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = function () {
|
|
18
|
+
var v0 = [{
|
|
19
|
+
"defaultValue": null,
|
|
20
|
+
"kind": "LocalArgument",
|
|
21
|
+
"name": "input"
|
|
22
|
+
}],
|
|
23
|
+
v1 = [{
|
|
24
|
+
"kind": "Variable",
|
|
25
|
+
"name": "input",
|
|
26
|
+
"variableName": "input"
|
|
27
|
+
}],
|
|
28
|
+
v2 = {
|
|
29
|
+
"alias": null,
|
|
30
|
+
"args": null,
|
|
31
|
+
"kind": "ScalarField",
|
|
32
|
+
"name": "name",
|
|
33
|
+
"storageKey": null
|
|
34
|
+
},
|
|
35
|
+
v3 = {
|
|
36
|
+
"alias": null,
|
|
37
|
+
"args": null,
|
|
38
|
+
"kind": "ScalarField",
|
|
39
|
+
"name": "email",
|
|
40
|
+
"storageKey": null
|
|
41
|
+
},
|
|
42
|
+
v4 = {
|
|
43
|
+
"alias": null,
|
|
44
|
+
"args": null,
|
|
45
|
+
"kind": "ScalarField",
|
|
46
|
+
"name": "id",
|
|
47
|
+
"storageKey": null
|
|
48
|
+
},
|
|
49
|
+
v5 = [v3 /*: any*/, {
|
|
50
|
+
"alias": null,
|
|
51
|
+
"args": null,
|
|
52
|
+
"kind": "ScalarField",
|
|
53
|
+
"name": "phoneFormatted",
|
|
54
|
+
"storageKey": null
|
|
55
|
+
}, {
|
|
56
|
+
"alias": null,
|
|
57
|
+
"args": null,
|
|
58
|
+
"kind": "ScalarField",
|
|
59
|
+
"name": "addressFormatted",
|
|
60
|
+
"storageKey": null
|
|
61
|
+
}, {
|
|
62
|
+
"alias": null,
|
|
63
|
+
"args": null,
|
|
64
|
+
"kind": "ScalarField",
|
|
65
|
+
"name": "vatNumber",
|
|
66
|
+
"storageKey": null
|
|
67
|
+
}, v2 /*: any*/, {
|
|
68
|
+
"alias": null,
|
|
69
|
+
"args": null,
|
|
70
|
+
"kind": "ScalarField",
|
|
71
|
+
"name": "organization",
|
|
72
|
+
"storageKey": null
|
|
73
|
+
}, {
|
|
74
|
+
"alias": null,
|
|
75
|
+
"args": null,
|
|
76
|
+
"kind": "ScalarField",
|
|
77
|
+
"name": "phone",
|
|
78
|
+
"storageKey": null
|
|
79
|
+
}, {
|
|
80
|
+
"alias": null,
|
|
81
|
+
"args": null,
|
|
82
|
+
"kind": "ScalarField",
|
|
83
|
+
"name": "street",
|
|
84
|
+
"storageKey": null
|
|
85
|
+
}, {
|
|
86
|
+
"alias": null,
|
|
87
|
+
"args": null,
|
|
88
|
+
"kind": "ScalarField",
|
|
89
|
+
"name": "locality",
|
|
90
|
+
"storageKey": null
|
|
91
|
+
}, {
|
|
92
|
+
"alias": null,
|
|
93
|
+
"args": null,
|
|
94
|
+
"kind": "ScalarField",
|
|
95
|
+
"name": "sublocality",
|
|
96
|
+
"storageKey": null
|
|
97
|
+
}, {
|
|
98
|
+
"alias": null,
|
|
99
|
+
"args": null,
|
|
100
|
+
"kind": "ScalarField",
|
|
101
|
+
"name": "country",
|
|
102
|
+
"storageKey": null
|
|
103
|
+
}, {
|
|
104
|
+
"alias": null,
|
|
105
|
+
"args": null,
|
|
106
|
+
"kind": "ScalarField",
|
|
107
|
+
"name": "administrativeArea",
|
|
108
|
+
"storageKey": null
|
|
109
|
+
}, {
|
|
110
|
+
"alias": null,
|
|
111
|
+
"args": null,
|
|
112
|
+
"kind": "ScalarField",
|
|
113
|
+
"name": "zip",
|
|
114
|
+
"storageKey": null
|
|
115
|
+
}];
|
|
116
|
+
return {
|
|
117
|
+
"fragment": {
|
|
118
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
119
|
+
"kind": "Fragment",
|
|
120
|
+
"metadata": null,
|
|
121
|
+
"name": "StoreModalUnifiedCheckoutUpdateCustomerMutation",
|
|
122
|
+
"selections": [{
|
|
123
|
+
"alias": null,
|
|
124
|
+
"args": v1 /*: any*/,
|
|
125
|
+
"concreteType": "UpdateCustomerPayload",
|
|
126
|
+
"kind": "LinkedField",
|
|
127
|
+
"name": "updateCustomer",
|
|
128
|
+
"plural": false,
|
|
129
|
+
"selections": [{
|
|
130
|
+
"alias": null,
|
|
131
|
+
"args": null,
|
|
132
|
+
"concreteType": "Order",
|
|
133
|
+
"kind": "LinkedField",
|
|
134
|
+
"name": "order",
|
|
135
|
+
"plural": false,
|
|
136
|
+
"selections": [{
|
|
137
|
+
"args": null,
|
|
138
|
+
"kind": "FragmentSpread",
|
|
139
|
+
"name": "StoreModalUnifiedCheckout_order"
|
|
140
|
+
}],
|
|
141
|
+
"storageKey": null
|
|
142
|
+
}],
|
|
143
|
+
"storageKey": null
|
|
144
|
+
}],
|
|
145
|
+
"type": "RootMutationType",
|
|
146
|
+
"abstractKey": null
|
|
147
|
+
},
|
|
148
|
+
"kind": "Request",
|
|
149
|
+
"operation": {
|
|
150
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
151
|
+
"kind": "Operation",
|
|
152
|
+
"name": "StoreModalUnifiedCheckoutUpdateCustomerMutation",
|
|
153
|
+
"selections": [{
|
|
154
|
+
"alias": null,
|
|
155
|
+
"args": v1 /*: any*/,
|
|
156
|
+
"concreteType": "UpdateCustomerPayload",
|
|
157
|
+
"kind": "LinkedField",
|
|
158
|
+
"name": "updateCustomer",
|
|
159
|
+
"plural": false,
|
|
160
|
+
"selections": [{
|
|
161
|
+
"alias": null,
|
|
162
|
+
"args": null,
|
|
163
|
+
"concreteType": "Order",
|
|
164
|
+
"kind": "LinkedField",
|
|
165
|
+
"name": "order",
|
|
166
|
+
"plural": false,
|
|
167
|
+
"selections": [{
|
|
168
|
+
"alias": null,
|
|
169
|
+
"args": null,
|
|
170
|
+
"kind": "ScalarField",
|
|
171
|
+
"name": "completeUrl",
|
|
172
|
+
"storageKey": null
|
|
173
|
+
}, {
|
|
174
|
+
"alias": null,
|
|
175
|
+
"args": null,
|
|
176
|
+
"kind": "ScalarField",
|
|
177
|
+
"name": "canCompleteWithCoupon",
|
|
178
|
+
"storageKey": null
|
|
179
|
+
}, {
|
|
180
|
+
"alias": null,
|
|
181
|
+
"args": null,
|
|
182
|
+
"concreteType": "Money",
|
|
183
|
+
"kind": "LinkedField",
|
|
184
|
+
"name": "total",
|
|
185
|
+
"plural": false,
|
|
186
|
+
"selections": [{
|
|
187
|
+
"alias": null,
|
|
188
|
+
"args": null,
|
|
189
|
+
"kind": "ScalarField",
|
|
190
|
+
"name": "amount",
|
|
191
|
+
"storageKey": null
|
|
192
|
+
}],
|
|
193
|
+
"storageKey": null
|
|
194
|
+
}, {
|
|
195
|
+
"alias": null,
|
|
196
|
+
"args": null,
|
|
197
|
+
"concreteType": "Customer",
|
|
198
|
+
"kind": "LinkedField",
|
|
199
|
+
"name": "customer",
|
|
200
|
+
"plural": false,
|
|
201
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, {
|
|
202
|
+
"alias": null,
|
|
203
|
+
"args": null,
|
|
204
|
+
"kind": "ScalarField",
|
|
205
|
+
"name": "newsletterOptIn",
|
|
206
|
+
"storageKey": null
|
|
207
|
+
}, v4 /*: any*/],
|
|
208
|
+
"storageKey": null
|
|
209
|
+
}, {
|
|
210
|
+
"alias": null,
|
|
211
|
+
"args": null,
|
|
212
|
+
"kind": "ScalarField",
|
|
213
|
+
"name": "licenseeIsBillingIdentity",
|
|
214
|
+
"storageKey": null
|
|
215
|
+
}, {
|
|
216
|
+
"alias": null,
|
|
217
|
+
"args": null,
|
|
218
|
+
"concreteType": "Identity",
|
|
219
|
+
"kind": "LinkedField",
|
|
220
|
+
"name": "licenseeIdentity",
|
|
221
|
+
"plural": false,
|
|
222
|
+
"selections": v5 /*: any*/,
|
|
223
|
+
"storageKey": null
|
|
224
|
+
}, {
|
|
225
|
+
"alias": null,
|
|
226
|
+
"args": null,
|
|
227
|
+
"concreteType": "Identity",
|
|
228
|
+
"kind": "LinkedField",
|
|
229
|
+
"name": "billingIdentity",
|
|
230
|
+
"plural": false,
|
|
231
|
+
"selections": v5 /*: any*/,
|
|
232
|
+
"storageKey": null
|
|
233
|
+
}, v4 /*: any*/],
|
|
234
|
+
"storageKey": null
|
|
235
|
+
}],
|
|
236
|
+
"storageKey": null
|
|
237
|
+
}]
|
|
238
|
+
},
|
|
239
|
+
"params": {
|
|
240
|
+
"cacheID": "58ba4b75b3ca71862413ef167965154f",
|
|
241
|
+
"id": null,
|
|
242
|
+
"metadata": {},
|
|
243
|
+
"name": "StoreModalUnifiedCheckoutUpdateCustomerMutation",
|
|
244
|
+
"operationKind": "mutation",
|
|
245
|
+
"text": "mutation StoreModalUnifiedCheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n}\n"
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
}();
|
|
249
|
+
node.hash = "1927e9fb21dbae898062200a560b1277";
|
|
250
|
+
var _default = node;
|
|
251
|
+
exports.default = _default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<e909e80d2a21cf50cead80170e39c61c>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type UpdateOrderInput = {
|
|
9
|
+
billingIdentity?: IdentityInput | null;
|
|
10
|
+
licenseeIdentity?: IdentityInput | null;
|
|
11
|
+
licenseeIsBillingIdentity?: boolean | null;
|
|
12
|
+
orderItems?: ReadonlyArray<OrderItemInput | null> | null;
|
|
13
|
+
orderVariableSelections?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
14
|
+
stripePaymentMethodId?: string | null;
|
|
15
|
+
stripeTokenId?: string | null;
|
|
16
|
+
};
|
|
17
|
+
export type OrderItemInput = {
|
|
18
|
+
id: string;
|
|
19
|
+
licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
|
|
20
|
+
};
|
|
21
|
+
export type LicenseSelectionInput = {
|
|
22
|
+
id?: string | null;
|
|
23
|
+
licenseId: string;
|
|
24
|
+
licenseOptionId?: string | null;
|
|
25
|
+
licenseVariableId?: string | null;
|
|
26
|
+
variableText?: string | null;
|
|
27
|
+
};
|
|
28
|
+
export type OrderVariableSelectionInput = {
|
|
29
|
+
orderVariableId: string;
|
|
30
|
+
orderVariableOptionId?: string | null;
|
|
31
|
+
};
|
|
32
|
+
export type IdentityInput = {
|
|
33
|
+
administrativeArea?: string | null;
|
|
34
|
+
country: string;
|
|
35
|
+
email: string;
|
|
36
|
+
locality?: string | null;
|
|
37
|
+
name: string;
|
|
38
|
+
organization?: string | null;
|
|
39
|
+
phone: string;
|
|
40
|
+
sortingCode?: string | null;
|
|
41
|
+
street?: string | null;
|
|
42
|
+
sublocality?: string | null;
|
|
43
|
+
vatNumber?: string | null;
|
|
44
|
+
zip?: string | null;
|
|
45
|
+
};
|
|
46
|
+
export type StoreModalUnifiedCheckoutUpdateOrderMutation$variables = {
|
|
47
|
+
input: UpdateOrderInput;
|
|
48
|
+
};
|
|
49
|
+
export type StoreModalUnifiedCheckoutUpdateOrderMutation$data = {
|
|
50
|
+
readonly updateOrder: {
|
|
51
|
+
readonly errors: {
|
|
52
|
+
readonly billingIdentity: {
|
|
53
|
+
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
54
|
+
readonly email: ReadonlyArray<string | null> | null;
|
|
55
|
+
readonly locality: ReadonlyArray<string | null> | null;
|
|
56
|
+
readonly phone: ReadonlyArray<string | null> | null;
|
|
57
|
+
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
58
|
+
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
59
|
+
readonly zip: ReadonlyArray<string | null> | null;
|
|
60
|
+
} | null;
|
|
61
|
+
readonly licenseeIdentity: {
|
|
62
|
+
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
63
|
+
readonly email: ReadonlyArray<string | null> | null;
|
|
64
|
+
readonly locality: ReadonlyArray<string | null> | null;
|
|
65
|
+
readonly phone: ReadonlyArray<string | null> | null;
|
|
66
|
+
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
67
|
+
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
68
|
+
readonly zip: ReadonlyArray<string | null> | null;
|
|
69
|
+
} | null;
|
|
70
|
+
readonly stripePaymentMethodId: ReadonlyArray<string | null> | null;
|
|
71
|
+
} | null;
|
|
72
|
+
readonly order: {
|
|
73
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalUnifiedCheckout_order">;
|
|
74
|
+
} | null;
|
|
75
|
+
} | null;
|
|
76
|
+
};
|
|
77
|
+
export type StoreModalUnifiedCheckoutUpdateOrderMutation = {
|
|
78
|
+
response: StoreModalUnifiedCheckoutUpdateOrderMutation$data;
|
|
79
|
+
variables: StoreModalUnifiedCheckoutUpdateOrderMutation$variables;
|
|
80
|
+
};
|
|
81
|
+
declare const node: ConcreteRequest;
|
|
82
|
+
export default node;
|