fontdue-js 0.1.0-alpha2 → 0.1.0-alpha22
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/.nvmrc +1 -0
- package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrder_viewer.graphql.js +7 -3
- package/dist/__generated__/CartQuery.graphql.js +16 -5
- package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +9 -2
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +9 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +9 -2
- package/dist/__generated__/CartTotals_order.graphql.d.ts +1 -0
- package/dist/__generated__/CartTotals_order.graphql.js +7 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +9 -2
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +9 -2
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +9 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +9 -2
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +9 -2
- package/dist/__generated__/StoreModalReviewQuery.graphql.js +9 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +9 -2
- package/dist/__generated__/TestFontsForm_Query.graphql.js +18 -9
- package/dist/__generated__/TestFontsForm_viewer.graphql.js +69 -57
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +2 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +96 -53
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +2 -0
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +98 -55
- package/dist/__generated__/TypeTesters_collection.graphql.js +18 -2
- package/dist/components/BuyButton/index.d.ts +3 -3
- package/dist/components/BuyButton/index.js +0 -18
- package/dist/components/Cart/CartOrder.js +1 -1
- package/dist/components/Cart/CartTotals.js +3 -3
- package/dist/components/Cart/Checkout.js +3 -2
- package/dist/components/Cart/CustomerFields.js +55 -45
- package/dist/components/ConfigContext.d.ts +6 -0
- package/dist/components/FontdueProvider/index.d.ts +2 -2
- package/dist/components/Icons/CheckboxCrossed.d.ts +3 -0
- package/dist/components/Icons/CheckboxCrossed.js +30 -0
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/index.js +8 -0
- package/dist/components/NewsletterSignup/index.d.ts +2 -0
- package/dist/components/NewsletterSignup/index.js +4 -2
- package/dist/components/PriceBar/PriceBarSection.js +2 -2
- package/dist/components/Root/index.d.ts +4 -0
- package/dist/components/Root/index.js +93 -50
- package/dist/components/StoreModal/StoreModalCart.js +8 -3
- package/dist/components/StoreModal/StoreModalCheckout.js +6 -2
- package/dist/components/StoreModal/StoreModalIndex.js +25 -13
- package/dist/components/StoreModal/StoreModalProduct.js +9 -3
- package/dist/components/StoreModal/createRouter.js +0 -1
- package/dist/components/StoreModal/types.d.ts +4 -0
- package/dist/components/StoreModal/types.js +5 -0
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +24 -12
- package/dist/components/StoreModalProductLicenseSelection/index.js +1 -1
- package/dist/components/StoreModalProductSummary/index.js +3 -1
- package/dist/components/TestFontsForm/index.d.ts +2 -1
- package/dist/components/TestFontsForm/index.js +25 -16
- package/dist/components/TypeTester/TypeTesterContent.d.ts +5 -1
- package/dist/components/TypeTester/TypeTesterContent.js +17 -4
- package/dist/components/TypeTester/TypeTesterFeatures.js +23 -11
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +1 -1
- package/dist/components/TypeTester/TypeTesterStandalone.d.ts +2 -0
- package/dist/components/TypeTester/TypeTesterStandalone.js +6 -2
- package/dist/components/TypeTester/TypeTesterState.d.ts +20 -21
- package/dist/components/TypeTester/TypeTesterState.js +10 -8
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +4 -2
- package/dist/components/TypeTester/index.d.ts +8 -1
- package/dist/components/TypeTester/index.js +179 -103
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +2 -1
- package/dist/components/TypeTester/useTypeTesterStyler.js +11 -2
- package/dist/components/TypeTesters/index.d.ts +8 -4
- package/dist/components/TypeTesters/index.js +29 -13
- package/dist/components/elements/EmptyCart/index.js +1 -3
- package/dist/components/elements/StoreModalIndexItem/index.js +18 -16
- package/dist/components/elements/StoreModalReviewConfirm/index.js +7 -1
- package/dist/components/elements/StoreModalReviewLayout/index.js +1 -1
- package/fontdue.css +1480 -1054
- package/fontdue.css.map +1 -0
- package/package.json +11 -7
- package/dist/components/FontLoader/index.js +0 -67
- package/dist/index.js +0 -63
- package/dist/type-tester.js +0 -23
|
@@ -170,6 +170,7 @@ fragment CartTotals_order on Order {
|
|
|
170
170
|
...Price_price
|
|
171
171
|
}
|
|
172
172
|
isVatTax
|
|
173
|
+
gstIncluded
|
|
173
174
|
}
|
|
174
175
|
|
|
175
176
|
fragment CollectionAa_product on SkuProduct {
|
|
@@ -844,6 +845,12 @@ const node = function () {
|
|
|
844
845
|
"kind": "ScalarField",
|
|
845
846
|
"name": "isVatTax",
|
|
846
847
|
"storageKey": null
|
|
848
|
+
}, {
|
|
849
|
+
"alias": null,
|
|
850
|
+
"args": null,
|
|
851
|
+
"kind": "ScalarField",
|
|
852
|
+
"name": "gstIncluded",
|
|
853
|
+
"storageKey": null
|
|
847
854
|
}, v4
|
|
848
855
|
/*: any*/
|
|
849
856
|
],
|
|
@@ -855,12 +862,12 @@ const node = function () {
|
|
|
855
862
|
}]
|
|
856
863
|
},
|
|
857
864
|
"params": {
|
|
858
|
-
"cacheID": "
|
|
865
|
+
"cacheID": "4af206a45f052e3ab28055299e193994",
|
|
859
866
|
"id": null,
|
|
860
867
|
"metadata": {},
|
|
861
868
|
"name": "StoreModalCartQuery",
|
|
862
869
|
"operationKind": "query",
|
|
863
|
-
"text": "query StoreModalCartQuery {\n viewer {\n ...CartItem_viewer\n currentOrder {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n id\n }\n id\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartState_order on Order {\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
870
|
+
"text": "query StoreModalCartQuery {\n viewer {\n ...CartItem_viewer\n currentOrder {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n id\n }\n id\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartState_order on Order {\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
864
871
|
}
|
|
865
872
|
};
|
|
866
873
|
}();
|
|
@@ -50,6 +50,7 @@ fragment CartTotals_order on Order {
|
|
|
50
50
|
...Price_price
|
|
51
51
|
}
|
|
52
52
|
isVatTax
|
|
53
|
+
gstIncluded
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
fragment CouponText_coupon on Coupon {
|
|
@@ -356,6 +357,12 @@ const node = function () {
|
|
|
356
357
|
"kind": "ScalarField",
|
|
357
358
|
"name": "isVatTax",
|
|
358
359
|
"storageKey": null
|
|
360
|
+
}, {
|
|
361
|
+
"alias": null,
|
|
362
|
+
"args": null,
|
|
363
|
+
"kind": "ScalarField",
|
|
364
|
+
"name": "gstIncluded",
|
|
365
|
+
"storageKey": null
|
|
359
366
|
}, v3
|
|
360
367
|
/*: any*/
|
|
361
368
|
, {
|
|
@@ -522,12 +529,12 @@ const node = function () {
|
|
|
522
529
|
}]
|
|
523
530
|
},
|
|
524
531
|
"params": {
|
|
525
|
-
"cacheID": "
|
|
532
|
+
"cacheID": "a3417f9ea3502c999073d28076ed9df7",
|
|
526
533
|
"id": null,
|
|
527
534
|
"metadata": {},
|
|
528
535
|
"name": "StoreModalReviewCompleteOrderMutation",
|
|
529
536
|
"operationKind": "mutation",
|
|
530
|
-
"text": "mutation StoreModalReviewCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalReview_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n}\n"
|
|
537
|
+
"text": "mutation StoreModalReviewCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalReview_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n}\n"
|
|
531
538
|
}
|
|
532
539
|
};
|
|
533
540
|
}();
|
|
@@ -48,6 +48,7 @@ fragment CartTotals_order on Order {
|
|
|
48
48
|
...Price_price
|
|
49
49
|
}
|
|
50
50
|
isVatTax
|
|
51
|
+
gstIncluded
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
fragment CouponText_coupon on Coupon {
|
|
@@ -352,6 +353,12 @@ const node = function () {
|
|
|
352
353
|
"kind": "ScalarField",
|
|
353
354
|
"name": "isVatTax",
|
|
354
355
|
"storageKey": null
|
|
356
|
+
}, {
|
|
357
|
+
"alias": null,
|
|
358
|
+
"args": null,
|
|
359
|
+
"kind": "ScalarField",
|
|
360
|
+
"name": "gstIncluded",
|
|
361
|
+
"storageKey": null
|
|
355
362
|
}, v1
|
|
356
363
|
/*: any*/
|
|
357
364
|
, {
|
|
@@ -522,12 +529,12 @@ const node = function () {
|
|
|
522
529
|
}]
|
|
523
530
|
},
|
|
524
531
|
"params": {
|
|
525
|
-
"cacheID": "
|
|
532
|
+
"cacheID": "01e8ec43bf6852ce003e9c43cf644521",
|
|
526
533
|
"id": null,
|
|
527
534
|
"metadata": {},
|
|
528
535
|
"name": "StoreModalReviewQuery",
|
|
529
536
|
"operationKind": "query",
|
|
530
|
-
"text": "query StoreModalReviewQuery {\n viewer {\n ...StoreModalReview_viewer\n currentOrder {\n ...StoreModalReview_order\n id\n }\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n}\n\nfragment StoreModalReview_viewer on Viewer {\n settings {\n eulaAgreementLabel\n }\n}\n"
|
|
537
|
+
"text": "query StoreModalReviewQuery {\n viewer {\n ...StoreModalReview_viewer\n currentOrder {\n ...StoreModalReview_order\n id\n }\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n}\n\nfragment StoreModalReview_viewer on Viewer {\n settings {\n eulaAgreementLabel\n }\n}\n"
|
|
531
538
|
}
|
|
532
539
|
};
|
|
533
540
|
}();
|
|
@@ -167,6 +167,7 @@ fragment CartTotals_order on Order {
|
|
|
167
167
|
...Price_price
|
|
168
168
|
}
|
|
169
169
|
isVatTax
|
|
170
|
+
gstIncluded
|
|
170
171
|
}
|
|
171
172
|
|
|
172
173
|
fragment Checkout_order on Order {
|
|
@@ -696,6 +697,12 @@ const node = function () {
|
|
|
696
697
|
"kind": "ScalarField",
|
|
697
698
|
"name": "isVatTax",
|
|
698
699
|
"storageKey": null
|
|
700
|
+
}, {
|
|
701
|
+
"alias": null,
|
|
702
|
+
"args": null,
|
|
703
|
+
"kind": "ScalarField",
|
|
704
|
+
"name": "gstIncluded",
|
|
705
|
+
"storageKey": null
|
|
699
706
|
}, {
|
|
700
707
|
"alias": null,
|
|
701
708
|
"args": null,
|
|
@@ -994,12 +1001,12 @@ const node = function () {
|
|
|
994
1001
|
}]
|
|
995
1002
|
},
|
|
996
1003
|
"params": {
|
|
997
|
-
"cacheID": "
|
|
1004
|
+
"cacheID": "2194c8f2b37ff41b84439ea6af9b0f3e",
|
|
998
1005
|
"id": null,
|
|
999
1006
|
"metadata": {},
|
|
1000
1007
|
"name": "TestFontsFormUpdateCustomerMutation",
|
|
1001
1008
|
"operationKind": "mutation",
|
|
1002
|
-
"text": "mutation TestFontsFormUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
1009
|
+
"text": "mutation TestFontsFormUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
1003
1010
|
}
|
|
1004
1011
|
};
|
|
1005
1012
|
}();
|
|
@@ -28,8 +28,8 @@ fragment TestFontsForm_viewer on Viewer {
|
|
|
28
28
|
id
|
|
29
29
|
}
|
|
30
30
|
settings {
|
|
31
|
-
eulaAgreementLabel
|
|
32
|
-
newsletterOptInLabel
|
|
31
|
+
eulaAgreementLabel(format: HTML)
|
|
32
|
+
newsletterOptInLabel(format: HTML)
|
|
33
33
|
}
|
|
34
34
|
testFonts {
|
|
35
35
|
archiveUrl
|
|
@@ -43,7 +43,12 @@ const node = function () {
|
|
|
43
43
|
"kind": "ScalarField",
|
|
44
44
|
"name": "id",
|
|
45
45
|
"storageKey": null
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
v1 = [{
|
|
48
|
+
"kind": "Literal",
|
|
49
|
+
"name": "format",
|
|
50
|
+
"value": "HTML"
|
|
51
|
+
}];
|
|
47
52
|
return {
|
|
48
53
|
"fragment": {
|
|
49
54
|
"argumentDefinitions": [],
|
|
@@ -122,16 +127,20 @@ const node = function () {
|
|
|
122
127
|
"plural": false,
|
|
123
128
|
"selections": [{
|
|
124
129
|
"alias": null,
|
|
125
|
-
"args":
|
|
130
|
+
"args": v1
|
|
131
|
+
/*: any*/
|
|
132
|
+
,
|
|
126
133
|
"kind": "ScalarField",
|
|
127
134
|
"name": "eulaAgreementLabel",
|
|
128
|
-
"storageKey":
|
|
135
|
+
"storageKey": "eulaAgreementLabel(format:\"HTML\")"
|
|
129
136
|
}, {
|
|
130
137
|
"alias": null,
|
|
131
|
-
"args":
|
|
138
|
+
"args": v1
|
|
139
|
+
/*: any*/
|
|
140
|
+
,
|
|
132
141
|
"kind": "ScalarField",
|
|
133
142
|
"name": "newsletterOptInLabel",
|
|
134
|
-
"storageKey":
|
|
143
|
+
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
135
144
|
}],
|
|
136
145
|
"storageKey": null
|
|
137
146
|
}, {
|
|
@@ -156,12 +165,12 @@ const node = function () {
|
|
|
156
165
|
}]
|
|
157
166
|
},
|
|
158
167
|
"params": {
|
|
159
|
-
"cacheID": "
|
|
168
|
+
"cacheID": "598b43f60c1a9c3b5284c2b0532eec1d",
|
|
160
169
|
"id": null,
|
|
161
170
|
"metadata": {},
|
|
162
171
|
"name": "TestFontsForm_Query",
|
|
163
172
|
"operationKind": "query",
|
|
164
|
-
"text": "query TestFontsForm_Query {\n viewer {\n ...TestFontsForm_viewer\n id\n }\n}\n\nfragment TestFontsForm_viewer on Viewer {\n currentOrder {\n customer {\n name\n email\n id\n }\n id\n }\n settings {\n eulaAgreementLabel\n newsletterOptInLabel\n }\n testFonts {\n archiveUrl\n }\n}\n"
|
|
173
|
+
"text": "query TestFontsForm_Query {\n viewer {\n ...TestFontsForm_viewer\n id\n }\n}\n\nfragment TestFontsForm_viewer on Viewer {\n currentOrder {\n customer {\n name\n email\n id\n }\n id\n }\n settings {\n eulaAgreementLabel(format: HTML)\n newsletterOptInLabel(format: HTML)\n }\n testFonts {\n archiveUrl\n }\n}\n"
|
|
165
174
|
}
|
|
166
175
|
};
|
|
167
176
|
}();
|
|
@@ -9,81 +9,93 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
// @ts-nocheck
|
|
12
|
-
const node = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"name": "
|
|
23
|
-
"plural": false,
|
|
12
|
+
const node = function () {
|
|
13
|
+
var v0 = [{
|
|
14
|
+
"kind": "Literal",
|
|
15
|
+
"name": "format",
|
|
16
|
+
"value": "HTML"
|
|
17
|
+
}];
|
|
18
|
+
return {
|
|
19
|
+
"argumentDefinitions": [],
|
|
20
|
+
"kind": "Fragment",
|
|
21
|
+
"metadata": null,
|
|
22
|
+
"name": "TestFontsForm_viewer",
|
|
24
23
|
"selections": [{
|
|
25
24
|
"alias": null,
|
|
26
25
|
"args": null,
|
|
27
|
-
"concreteType": "
|
|
26
|
+
"concreteType": "Order",
|
|
28
27
|
"kind": "LinkedField",
|
|
29
|
-
"name": "
|
|
28
|
+
"name": "currentOrder",
|
|
30
29
|
"plural": false,
|
|
31
30
|
"selections": [{
|
|
32
31
|
"alias": null,
|
|
33
32
|
"args": null,
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
"concreteType": "Customer",
|
|
34
|
+
"kind": "LinkedField",
|
|
35
|
+
"name": "customer",
|
|
36
|
+
"plural": false,
|
|
37
|
+
"selections": [{
|
|
38
|
+
"alias": null,
|
|
39
|
+
"args": null,
|
|
40
|
+
"kind": "ScalarField",
|
|
41
|
+
"name": "name",
|
|
42
|
+
"storageKey": null
|
|
43
|
+
}, {
|
|
44
|
+
"alias": null,
|
|
45
|
+
"args": null,
|
|
46
|
+
"kind": "ScalarField",
|
|
47
|
+
"name": "email",
|
|
48
|
+
"storageKey": null
|
|
49
|
+
}],
|
|
42
50
|
"storageKey": null
|
|
43
51
|
}],
|
|
44
52
|
"storageKey": null
|
|
45
|
-
}],
|
|
46
|
-
"storageKey": null
|
|
47
|
-
}, {
|
|
48
|
-
"alias": null,
|
|
49
|
-
"args": null,
|
|
50
|
-
"concreteType": "Settings",
|
|
51
|
-
"kind": "LinkedField",
|
|
52
|
-
"name": "settings",
|
|
53
|
-
"plural": false,
|
|
54
|
-
"selections": [{
|
|
55
|
-
"alias": null,
|
|
56
|
-
"args": null,
|
|
57
|
-
"kind": "ScalarField",
|
|
58
|
-
"name": "eulaAgreementLabel",
|
|
59
|
-
"storageKey": null
|
|
60
53
|
}, {
|
|
61
54
|
"alias": null,
|
|
62
55
|
"args": null,
|
|
63
|
-
"
|
|
64
|
-
"
|
|
56
|
+
"concreteType": "Settings",
|
|
57
|
+
"kind": "LinkedField",
|
|
58
|
+
"name": "settings",
|
|
59
|
+
"plural": false,
|
|
60
|
+
"selections": [{
|
|
61
|
+
"alias": null,
|
|
62
|
+
"args": v0
|
|
63
|
+
/*: any*/
|
|
64
|
+
,
|
|
65
|
+
"kind": "ScalarField",
|
|
66
|
+
"name": "eulaAgreementLabel",
|
|
67
|
+
"storageKey": "eulaAgreementLabel(format:\"HTML\")"
|
|
68
|
+
}, {
|
|
69
|
+
"alias": null,
|
|
70
|
+
"args": v0
|
|
71
|
+
/*: any*/
|
|
72
|
+
,
|
|
73
|
+
"kind": "ScalarField",
|
|
74
|
+
"name": "newsletterOptInLabel",
|
|
75
|
+
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
76
|
+
}],
|
|
65
77
|
"storageKey": null
|
|
66
|
-
}
|
|
67
|
-
"storageKey": null
|
|
68
|
-
}, {
|
|
69
|
-
"alias": null,
|
|
70
|
-
"args": null,
|
|
71
|
-
"concreteType": "TestFonts",
|
|
72
|
-
"kind": "LinkedField",
|
|
73
|
-
"name": "testFonts",
|
|
74
|
-
"plural": false,
|
|
75
|
-
"selections": [{
|
|
78
|
+
}, {
|
|
76
79
|
"alias": null,
|
|
77
80
|
"args": null,
|
|
78
|
-
"
|
|
79
|
-
"
|
|
81
|
+
"concreteType": "TestFonts",
|
|
82
|
+
"kind": "LinkedField",
|
|
83
|
+
"name": "testFonts",
|
|
84
|
+
"plural": false,
|
|
85
|
+
"selections": [{
|
|
86
|
+
"alias": null,
|
|
87
|
+
"args": null,
|
|
88
|
+
"kind": "ScalarField",
|
|
89
|
+
"name": "archiveUrl",
|
|
90
|
+
"storageKey": null
|
|
91
|
+
}],
|
|
80
92
|
"storageKey": null
|
|
81
93
|
}],
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
node.hash = '
|
|
94
|
+
"type": "Viewer",
|
|
95
|
+
"abstractKey": null
|
|
96
|
+
};
|
|
97
|
+
}();
|
|
98
|
+
|
|
99
|
+
node.hash = '4b3632aa1b6b2a5525ec749ab67f1cde';
|
|
88
100
|
var _default = node;
|
|
89
101
|
exports.default = _default;
|
|
@@ -3,6 +3,8 @@ import { FragmentRefs } from "relay-runtime";
|
|
|
3
3
|
export declare type TypeTestersIDQueryVariables = {
|
|
4
4
|
collectionId: string;
|
|
5
5
|
includePriceBar: boolean;
|
|
6
|
+
tags?: Array<string> | null;
|
|
7
|
+
excludeTags?: Array<string> | null;
|
|
6
8
|
};
|
|
7
9
|
export declare type TypeTestersIDQueryResponse = {
|
|
8
10
|
readonly collection: {
|