fontdue-js 2.7.0 → 2.8.0-rc1
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/CHANGELOG.md +4 -0
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFields_viewer.graphql.js +4 -2
- package/dist/__generated__/CartItem_node.graphql.d.ts +15 -1
- package/dist/__generated__/CartItem_node.graphql.js +51 -17
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +48 -16
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +48 -16
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +48 -16
- package/dist/__generated__/CartOrder_viewer.graphql.d.ts +2 -2
- package/dist/__generated__/CartOrder_viewer.graphql.js +2 -6
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +48 -47
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +65 -32
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +48 -16
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +48 -16
- package/dist/__generated__/CouponCodeInput_viewer.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInput_viewer.graphql.js +4 -2
- package/dist/__generated__/NodePasswordFormAccessNodeMutation.graphql.d.ts +25 -0
- package/dist/__generated__/NodePasswordFormAccessNodeMutation.graphql.js +72 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +48 -16
- package/dist/__generated__/PrecartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartQuery.graphql.js +57 -62
- package/dist/__generated__/Precart_collection.graphql.d.ts +13 -1
- package/dist/__generated__/Precart_collection.graphql.js +64 -17
- package/dist/__generated__/Precart_viewer.graphql.d.ts +1 -13
- package/dist/__generated__/Precart_viewer.graphql.js +23 -65
- package/dist/__generated__/PriceBarSection_node.graphql.d.ts +1 -1
- package/dist/__generated__/PriceBarSection_node.graphql.js +4 -2
- package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SKUPrice_sku.graphql.js +4 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +44 -47
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.d.ts +19 -0
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +43 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalProductQuery.graphql.js +39 -5
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +24 -3
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +5 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +23 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +48 -16
- package/dist/components/AddToCartBanner/index.js +7 -5
- package/dist/components/BuyButton/index.js +7 -5
- package/dist/components/Cart/AddressFields.js +3 -3
- package/dist/components/Cart/CartItem/index.d.ts +1 -3
- package/dist/components/Cart/CartItem/index.js +15 -13
- package/dist/components/Cart/CartOrder.js +17 -10
- package/dist/components/Cart/CartState.js +7 -4
- package/dist/components/Cart/CartTotals.js +2 -2
- package/dist/components/Cart/Checkout.js +13 -8
- package/dist/components/Cart/CouponCodeInput.js +5 -4
- package/dist/components/Cart/Download.js +5 -4
- package/dist/components/Cart/IdentityBox.js +2 -2
- package/dist/components/Cart/index.js +2 -2
- package/dist/components/CartButton/index.js +5 -4
- package/dist/components/CharacterViewer/index.js +8 -5
- package/dist/components/CollectionAa/index.js +4 -3
- package/dist/components/CookieNotification/index.js +6 -7
- package/dist/components/CouponText/index.js +3 -2
- package/dist/components/CustomerLoginForm/index.js +3 -3
- package/dist/components/Family/FamilyList.js +2 -2
- package/dist/components/Family/index.js +3 -3
- package/dist/components/FontFamilies/index.js +3 -3
- package/dist/components/FontStyle/index.js +2 -2
- package/dist/components/FontdueProvider/index.d.ts +1 -1
- package/dist/components/FontdueProvider/index.js +1 -9
- package/dist/components/NewsletterSignup/index.js +5 -4
- package/dist/components/NodePasswordForm/index.d.ts +7 -0
- package/dist/components/NodePasswordForm/index.js +63 -0
- package/dist/components/Precart/License.js +2 -2
- package/dist/components/Precart/index.js +17 -13
- package/dist/components/Price/index.js +2 -2
- package/dist/components/PriceBar/PriceBarSection.js +3 -3
- package/dist/components/PriceBar/index.js +3 -3
- package/dist/components/Root/index.js +2 -1
- package/dist/components/Root/productState.js +11 -6
- package/dist/components/SKUPrice/index.js +3 -3
- package/dist/components/SelectButton/index.js +3 -3
- package/dist/components/SpecimenLink/index.js +2 -2
- package/dist/components/StoreModal/StoreModalBundleButton.js +2 -2
- package/dist/components/StoreModal/StoreModalCart.js +4 -3
- package/dist/components/StoreModal/StoreModalCheckout.js +3 -3
- package/dist/components/StoreModal/StoreModalContainer.js +3 -3
- package/dist/components/StoreModal/StoreModalDownload.js +5 -4
- package/dist/components/StoreModal/StoreModalFamily.js +3 -3
- package/dist/components/StoreModal/StoreModalFamilyButton.js +2 -2
- package/dist/components/StoreModal/StoreModalIndex.js +2 -2
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalProduct.js +14 -7
- package/dist/components/StoreModal/StoreModalReview.js +11 -7
- package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -2
- package/dist/components/StoreModal/StoreModalStyleButton.js +5 -4
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -1
- package/dist/components/StoreModalProductLicenseSelection/index.js +13 -4
- package/dist/components/StoreModalProductSummary/index.js +18 -6
- package/dist/components/StripeProvider/index.js +3 -2
- package/dist/components/TestFontsForm/index.js +5 -4
- package/dist/components/TestModeBanner/index.js +2 -2
- package/dist/components/ThemeConfig/index.js +2 -2
- package/dist/components/TypeTester/TypeTesterFeatures.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +3 -3
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterInput.d.ts +1 -0
- package/dist/components/TypeTester/TypeTesterInput.js +5 -2
- package/dist/components/TypeTester/TypeTesterStandalone.js +3 -3
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +7 -5
- package/dist/components/TypeTester/TypeTesterToolbar.js +9 -5
- package/dist/components/TypeTester/TypeTesterVariableAxes.js +2 -2
- package/dist/components/TypeTester/index.js +9 -6
- package/dist/components/TypeTester/useFeaturesData.js +2 -2
- package/dist/components/TypeTesters/index.js +9 -6
- package/dist/components/VariableTableAmounts/index.js +4 -3
- package/dist/components/useTotalStyles.js +3 -2
- package/dist/fontdue.css +18 -3
- package/dist/reducer.js +3 -1
- package/dist/relay/environment.js +12 -4
- package/package.json +3 -2
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<b21ad78eb8bf570aa975970cd8475a28>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -176,19 +176,19 @@ const node = function () {
|
|
|
176
176
|
"name": "cssUrl",
|
|
177
177
|
"storageKey": null
|
|
178
178
|
},
|
|
179
|
-
v12 =
|
|
180
|
-
v13 = {
|
|
179
|
+
v12 = {
|
|
181
180
|
"alias": null,
|
|
182
181
|
"args": null,
|
|
183
182
|
"kind": "ScalarField",
|
|
184
|
-
"name": "
|
|
183
|
+
"name": "variableType",
|
|
185
184
|
"storageKey": null
|
|
186
185
|
},
|
|
186
|
+
v13 = [v5 /*: any*/],
|
|
187
187
|
v14 = {
|
|
188
188
|
"alias": null,
|
|
189
189
|
"args": null,
|
|
190
190
|
"kind": "ScalarField",
|
|
191
|
-
"name": "
|
|
191
|
+
"name": "multiplier",
|
|
192
192
|
"storageKey": null
|
|
193
193
|
};
|
|
194
194
|
return {
|
|
@@ -429,14 +429,14 @@ const node = function () {
|
|
|
429
429
|
"name": "product",
|
|
430
430
|
"plural": false,
|
|
431
431
|
"selections": [{
|
|
432
|
+
"kind": "TypeDiscriminator",
|
|
433
|
+
"abstractKey": "__isSkuProduct"
|
|
434
|
+
}, {
|
|
432
435
|
"alias": null,
|
|
433
436
|
"args": null,
|
|
434
437
|
"kind": "ScalarField",
|
|
435
438
|
"name": "__typename",
|
|
436
439
|
"storageKey": null
|
|
437
|
-
}, {
|
|
438
|
-
"kind": "TypeDiscriminator",
|
|
439
|
-
"abstractKey": "__isSkuProduct"
|
|
440
440
|
}, {
|
|
441
441
|
"kind": "InlineFragment",
|
|
442
442
|
"selections": [{
|
|
@@ -511,7 +511,39 @@ const node = function () {
|
|
|
511
511
|
"abstractKey": null
|
|
512
512
|
}, {
|
|
513
513
|
"kind": "InlineFragment",
|
|
514
|
-
"selections":
|
|
514
|
+
"selections": [{
|
|
515
|
+
"alias": null,
|
|
516
|
+
"args": null,
|
|
517
|
+
"concreteType": "License",
|
|
518
|
+
"kind": "LinkedField",
|
|
519
|
+
"name": "licenses",
|
|
520
|
+
"plural": true,
|
|
521
|
+
"selections": [v5 /*: any*/, v3 /*: any*/, {
|
|
522
|
+
"alias": "variables",
|
|
523
|
+
"args": null,
|
|
524
|
+
"concreteType": "LicenseVariable",
|
|
525
|
+
"kind": "LinkedField",
|
|
526
|
+
"name": "licenseVariables",
|
|
527
|
+
"plural": true,
|
|
528
|
+
"selections": [v5 /*: any*/, v3 /*: any*/, v12 /*: any*/, {
|
|
529
|
+
"alias": "options",
|
|
530
|
+
"args": null,
|
|
531
|
+
"concreteType": "LicenseOption",
|
|
532
|
+
"kind": "LinkedField",
|
|
533
|
+
"name": "licenseOptions",
|
|
534
|
+
"plural": true,
|
|
535
|
+
"selections": [v5 /*: any*/, v7 /*: any*/, v3 /*: any*/],
|
|
536
|
+
"storageKey": null
|
|
537
|
+
}],
|
|
538
|
+
"storageKey": null
|
|
539
|
+
}],
|
|
540
|
+
"storageKey": null
|
|
541
|
+
}],
|
|
542
|
+
"type": "Licenseable",
|
|
543
|
+
"abstractKey": "__isLicenseable"
|
|
544
|
+
}, {
|
|
545
|
+
"kind": "InlineFragment",
|
|
546
|
+
"selections": v13 /*: any*/,
|
|
515
547
|
"type": "Node",
|
|
516
548
|
"abstractKey": "__isNode"
|
|
517
549
|
}],
|
|
@@ -532,7 +564,7 @@ const node = function () {
|
|
|
532
564
|
"kind": "LinkedField",
|
|
533
565
|
"name": "license",
|
|
534
566
|
"plural": false,
|
|
535
|
-
"selections": [v5 /*: any*/, v3 /*: any*/,
|
|
567
|
+
"selections": [v5 /*: any*/, v3 /*: any*/, v14 /*: any*/],
|
|
536
568
|
"storageKey": null
|
|
537
569
|
}, {
|
|
538
570
|
"alias": "variable",
|
|
@@ -541,7 +573,7 @@ const node = function () {
|
|
|
541
573
|
"kind": "LinkedField",
|
|
542
574
|
"name": "licenseVariable",
|
|
543
575
|
"plural": false,
|
|
544
|
-
"selections": [v5 /*: any*/,
|
|
576
|
+
"selections": [v5 /*: any*/, v12 /*: any*/, {
|
|
545
577
|
"alias": null,
|
|
546
578
|
"args": null,
|
|
547
579
|
"kind": "ScalarField",
|
|
@@ -556,7 +588,7 @@ const node = function () {
|
|
|
556
588
|
"kind": "LinkedField",
|
|
557
589
|
"name": "licenseOption",
|
|
558
590
|
"plural": false,
|
|
559
|
-
"selections": [v5 /*: any*/, v7 /*: any*/,
|
|
591
|
+
"selections": [v5 /*: any*/, v7 /*: any*/, v14 /*: any*/, v3 /*: any*/, {
|
|
560
592
|
"alias": null,
|
|
561
593
|
"args": null,
|
|
562
594
|
"kind": "ScalarField",
|
|
@@ -577,7 +609,7 @@ const node = function () {
|
|
|
577
609
|
"kind": "LinkedField",
|
|
578
610
|
"name": "licenseVariable",
|
|
579
611
|
"plural": false,
|
|
580
|
-
"selections": [v5 /*: any*/,
|
|
612
|
+
"selections": [v5 /*: any*/, v12 /*: any*/],
|
|
581
613
|
"storageKey": null
|
|
582
614
|
}, {
|
|
583
615
|
"alias": null,
|
|
@@ -586,7 +618,7 @@ const node = function () {
|
|
|
586
618
|
"kind": "LinkedField",
|
|
587
619
|
"name": "licenseOption",
|
|
588
620
|
"plural": false,
|
|
589
|
-
"selections":
|
|
621
|
+
"selections": v13 /*: any*/,
|
|
590
622
|
"storageKey": null
|
|
591
623
|
}],
|
|
592
624
|
"storageKey": null
|
|
@@ -644,12 +676,12 @@ const node = function () {
|
|
|
644
676
|
}]
|
|
645
677
|
},
|
|
646
678
|
"params": {
|
|
647
|
-
"cacheID": "
|
|
679
|
+
"cacheID": "329cfcdd81ac7bade26f7dc5d4cce48d",
|
|
648
680
|
"id": null,
|
|
649
681
|
"metadata": {},
|
|
650
682
|
"name": "CartOrderUpdateMutation",
|
|
651
683
|
"operationKind": "mutation",
|
|
652
|
-
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\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
|
|
684
|
+
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\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 __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\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 ... 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 ...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 }\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 taxRate\n taxes {\n ...Price_price\n }\n taxName\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 }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\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"
|
|
653
685
|
}
|
|
654
686
|
};
|
|
655
687
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<707bc2b92ad9f921138a7d8d1ada599b>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -9,7 +9,7 @@ export type CartOrder_viewer$data = {
|
|
|
9
9
|
readonly settings: {
|
|
10
10
|
readonly eulaAgreementLabel: string | null;
|
|
11
11
|
} | null;
|
|
12
|
-
readonly " $fragmentSpreads": FragmentRefs<"
|
|
12
|
+
readonly " $fragmentSpreads": FragmentRefs<"Checkout_viewer" | "CouponCodeInput_viewer">;
|
|
13
13
|
readonly " $fragmentType": "CartOrder_viewer";
|
|
14
14
|
};
|
|
15
15
|
export type CartOrder_viewer$key = {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<707bc2b92ad9f921138a7d8d1ada599b>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -23,10 +23,6 @@ const node = {
|
|
|
23
23
|
"args": null,
|
|
24
24
|
"kind": "FragmentSpread",
|
|
25
25
|
"name": "CouponCodeInput_viewer"
|
|
26
|
-
}, {
|
|
27
|
-
"args": null,
|
|
28
|
-
"kind": "FragmentSpread",
|
|
29
|
-
"name": "CartItem_viewer"
|
|
30
26
|
}, {
|
|
31
27
|
"args": null,
|
|
32
28
|
"kind": "FragmentSpread",
|
|
@@ -54,6 +50,6 @@ const node = {
|
|
|
54
50
|
"type": "Viewer",
|
|
55
51
|
"abstractKey": null
|
|
56
52
|
};
|
|
57
|
-
node.hash = "
|
|
53
|
+
node.hash = "13e1fb5c61670fcdf4add0214ea88ea5";
|
|
58
54
|
var _default = node;
|
|
59
55
|
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<93e5996dda07a98a623ac7fc817047c1>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -141,19 +141,19 @@ const node = function () {
|
|
|
141
141
|
"name": "cssUrl",
|
|
142
142
|
"storageKey": null
|
|
143
143
|
},
|
|
144
|
-
v9 =
|
|
145
|
-
v10 = {
|
|
144
|
+
v9 = {
|
|
146
145
|
"alias": null,
|
|
147
146
|
"args": null,
|
|
148
147
|
"kind": "ScalarField",
|
|
149
|
-
"name": "
|
|
148
|
+
"name": "variableType",
|
|
150
149
|
"storageKey": null
|
|
151
150
|
},
|
|
151
|
+
v10 = [v0 /*: any*/],
|
|
152
152
|
v11 = {
|
|
153
153
|
"alias": null,
|
|
154
154
|
"args": null,
|
|
155
155
|
"kind": "ScalarField",
|
|
156
|
-
"name": "
|
|
156
|
+
"name": "multiplier",
|
|
157
157
|
"storageKey": null
|
|
158
158
|
};
|
|
159
159
|
return {
|
|
@@ -487,14 +487,14 @@ const node = function () {
|
|
|
487
487
|
"name": "product",
|
|
488
488
|
"plural": false,
|
|
489
489
|
"selections": [{
|
|
490
|
+
"kind": "TypeDiscriminator",
|
|
491
|
+
"abstractKey": "__isSkuProduct"
|
|
492
|
+
}, {
|
|
490
493
|
"alias": null,
|
|
491
494
|
"args": null,
|
|
492
495
|
"kind": "ScalarField",
|
|
493
496
|
"name": "__typename",
|
|
494
497
|
"storageKey": null
|
|
495
|
-
}, {
|
|
496
|
-
"kind": "TypeDiscriminator",
|
|
497
|
-
"abstractKey": "__isSkuProduct"
|
|
498
498
|
}, {
|
|
499
499
|
"kind": "InlineFragment",
|
|
500
500
|
"selections": [{
|
|
@@ -569,7 +569,39 @@ const node = function () {
|
|
|
569
569
|
"abstractKey": null
|
|
570
570
|
}, {
|
|
571
571
|
"kind": "InlineFragment",
|
|
572
|
-
"selections":
|
|
572
|
+
"selections": [{
|
|
573
|
+
"alias": null,
|
|
574
|
+
"args": null,
|
|
575
|
+
"concreteType": "License",
|
|
576
|
+
"kind": "LinkedField",
|
|
577
|
+
"name": "licenses",
|
|
578
|
+
"plural": true,
|
|
579
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, {
|
|
580
|
+
"alias": "variables",
|
|
581
|
+
"args": null,
|
|
582
|
+
"concreteType": "LicenseVariable",
|
|
583
|
+
"kind": "LinkedField",
|
|
584
|
+
"name": "licenseVariables",
|
|
585
|
+
"plural": true,
|
|
586
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, v9 /*: any*/, {
|
|
587
|
+
"alias": "options",
|
|
588
|
+
"args": null,
|
|
589
|
+
"concreteType": "LicenseOption",
|
|
590
|
+
"kind": "LinkedField",
|
|
591
|
+
"name": "licenseOptions",
|
|
592
|
+
"plural": true,
|
|
593
|
+
"selections": [v0 /*: any*/, v4 /*: any*/, v1 /*: any*/],
|
|
594
|
+
"storageKey": null
|
|
595
|
+
}],
|
|
596
|
+
"storageKey": null
|
|
597
|
+
}],
|
|
598
|
+
"storageKey": null
|
|
599
|
+
}],
|
|
600
|
+
"type": "Licenseable",
|
|
601
|
+
"abstractKey": "__isLicenseable"
|
|
602
|
+
}, {
|
|
603
|
+
"kind": "InlineFragment",
|
|
604
|
+
"selections": v10 /*: any*/,
|
|
573
605
|
"type": "Node",
|
|
574
606
|
"abstractKey": "__isNode"
|
|
575
607
|
}],
|
|
@@ -590,7 +622,7 @@ const node = function () {
|
|
|
590
622
|
"kind": "LinkedField",
|
|
591
623
|
"name": "license",
|
|
592
624
|
"plural": false,
|
|
593
|
-
"selections": [v0 /*: any*/, v1 /*: any*/,
|
|
625
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, v11 /*: any*/],
|
|
594
626
|
"storageKey": null
|
|
595
627
|
}, {
|
|
596
628
|
"alias": "variable",
|
|
@@ -599,7 +631,7 @@ const node = function () {
|
|
|
599
631
|
"kind": "LinkedField",
|
|
600
632
|
"name": "licenseVariable",
|
|
601
633
|
"plural": false,
|
|
602
|
-
"selections": [v0 /*: any*/,
|
|
634
|
+
"selections": [v0 /*: any*/, v9 /*: any*/, {
|
|
603
635
|
"alias": null,
|
|
604
636
|
"args": null,
|
|
605
637
|
"kind": "ScalarField",
|
|
@@ -614,7 +646,7 @@ const node = function () {
|
|
|
614
646
|
"kind": "LinkedField",
|
|
615
647
|
"name": "licenseOption",
|
|
616
648
|
"plural": false,
|
|
617
|
-
"selections": [v0 /*: any*/, v4 /*: any*/,
|
|
649
|
+
"selections": [v0 /*: any*/, v4 /*: any*/, v11 /*: any*/, v1 /*: any*/, {
|
|
618
650
|
"alias": null,
|
|
619
651
|
"args": null,
|
|
620
652
|
"kind": "ScalarField",
|
|
@@ -635,7 +667,7 @@ const node = function () {
|
|
|
635
667
|
"kind": "LinkedField",
|
|
636
668
|
"name": "licenseVariable",
|
|
637
669
|
"plural": false,
|
|
638
|
-
"selections": [v0 /*: any*/,
|
|
670
|
+
"selections": [v0 /*: any*/, v9 /*: any*/],
|
|
639
671
|
"storageKey": null
|
|
640
672
|
}, {
|
|
641
673
|
"alias": null,
|
|
@@ -644,7 +676,7 @@ const node = function () {
|
|
|
644
676
|
"kind": "LinkedField",
|
|
645
677
|
"name": "licenseOption",
|
|
646
678
|
"plural": false,
|
|
647
|
-
"selections":
|
|
679
|
+
"selections": v10 /*: any*/,
|
|
648
680
|
"storageKey": null
|
|
649
681
|
}],
|
|
650
682
|
"storageKey": null
|
|
@@ -682,37 +714,6 @@ const node = function () {
|
|
|
682
714
|
"storageKey": null
|
|
683
715
|
}],
|
|
684
716
|
"storageKey": null
|
|
685
|
-
}, {
|
|
686
|
-
"alias": null,
|
|
687
|
-
"args": [{
|
|
688
|
-
"kind": "Literal",
|
|
689
|
-
"name": "licenseTypes",
|
|
690
|
-
"value": ["RETAIL"]
|
|
691
|
-
}],
|
|
692
|
-
"concreteType": "License",
|
|
693
|
-
"kind": "LinkedField",
|
|
694
|
-
"name": "licenses",
|
|
695
|
-
"plural": true,
|
|
696
|
-
"selections": [v0 /*: any*/, v1 /*: any*/, {
|
|
697
|
-
"alias": "variables",
|
|
698
|
-
"args": null,
|
|
699
|
-
"concreteType": "LicenseVariable",
|
|
700
|
-
"kind": "LinkedField",
|
|
701
|
-
"name": "licenseVariables",
|
|
702
|
-
"plural": true,
|
|
703
|
-
"selections": [v0 /*: any*/, v1 /*: any*/, v11 /*: any*/, {
|
|
704
|
-
"alias": "options",
|
|
705
|
-
"args": null,
|
|
706
|
-
"concreteType": "LicenseOption",
|
|
707
|
-
"kind": "LinkedField",
|
|
708
|
-
"name": "licenseOptions",
|
|
709
|
-
"plural": true,
|
|
710
|
-
"selections": [v0 /*: any*/, v4 /*: any*/, v1 /*: any*/],
|
|
711
|
-
"storageKey": null
|
|
712
|
-
}],
|
|
713
|
-
"storageKey": null
|
|
714
|
-
}],
|
|
715
|
-
"storageKey": "licenses(licenseTypes:[\"RETAIL\"])"
|
|
716
717
|
}, {
|
|
717
718
|
"alias": null,
|
|
718
719
|
"args": null,
|
|
@@ -733,12 +734,12 @@ const node = function () {
|
|
|
733
734
|
}]
|
|
734
735
|
},
|
|
735
736
|
"params": {
|
|
736
|
-
"cacheID": "
|
|
737
|
+
"cacheID": "bf2fd4f717c01564a157a337e8bffe9f",
|
|
737
738
|
"id": null,
|
|
738
739
|
"metadata": {},
|
|
739
740
|
"name": "CartQuery",
|
|
740
741
|
"operationKind": "query",
|
|
741
|
-
"text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\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
|
|
742
|
+
"text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\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 __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\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 ... 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 ...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 }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 taxRate\n taxes {\n ...Price_price\n }\n taxName\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 Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n uiFontName\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
742
743
|
}
|
|
743
744
|
};
|
|
744
745
|
}();
|