fontdue-js 2.7.0 → 2.8.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/CHANGELOG.md +5 -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 +79 -77
- 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__/Checkout_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/Checkout_viewer.graphql.js +8 -2
- 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__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +17 -16
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.d.ts +20 -0
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +47 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +3 -3
- package/dist/__generated__/StoreModalProductQuery.graphql.js +82 -65
- 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 +14 -9
- 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 +12 -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 -3
- package/dist/components/StoreModalProductLicenseSelection/index.js +5 -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<<b332b0e5ef70ef2b30f91dbe245951ce>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -36,7 +36,14 @@ const node = function () {
|
|
|
36
36
|
"name": "email",
|
|
37
37
|
"storageKey": null
|
|
38
38
|
},
|
|
39
|
-
v3 =
|
|
39
|
+
v3 = {
|
|
40
|
+
"alias": null,
|
|
41
|
+
"args": null,
|
|
42
|
+
"kind": "ScalarField",
|
|
43
|
+
"name": "country",
|
|
44
|
+
"storageKey": null
|
|
45
|
+
},
|
|
46
|
+
v4 = [v1 /*: any*/, {
|
|
40
47
|
"alias": null,
|
|
41
48
|
"args": null,
|
|
42
49
|
"kind": "ScalarField",
|
|
@@ -66,13 +73,7 @@ const node = function () {
|
|
|
66
73
|
"kind": "ScalarField",
|
|
67
74
|
"name": "sublocality",
|
|
68
75
|
"storageKey": null
|
|
69
|
-
}, {
|
|
70
|
-
"alias": null,
|
|
71
|
-
"args": null,
|
|
72
|
-
"kind": "ScalarField",
|
|
73
|
-
"name": "country",
|
|
74
|
-
"storageKey": null
|
|
75
|
-
}, {
|
|
76
|
+
}, v3 /*: any*/, {
|
|
76
77
|
"alias": null,
|
|
77
78
|
"args": null,
|
|
78
79
|
"kind": "ScalarField",
|
|
@@ -103,57 +104,57 @@ const node = function () {
|
|
|
103
104
|
"name": "addressFormatted",
|
|
104
105
|
"storageKey": null
|
|
105
106
|
}],
|
|
106
|
-
|
|
107
|
+
v5 = {
|
|
107
108
|
"alias": null,
|
|
108
109
|
"args": null,
|
|
109
110
|
"kind": "ScalarField",
|
|
110
111
|
"name": "amount",
|
|
111
112
|
"storageKey": null
|
|
112
113
|
},
|
|
113
|
-
|
|
114
|
+
v6 = [v5 /*: any*/, {
|
|
114
115
|
"alias": null,
|
|
115
116
|
"args": null,
|
|
116
117
|
"kind": "ScalarField",
|
|
117
118
|
"name": "currency",
|
|
118
119
|
"storageKey": null
|
|
119
120
|
}],
|
|
120
|
-
|
|
121
|
+
v7 = {
|
|
121
122
|
"alias": null,
|
|
122
123
|
"args": null,
|
|
123
124
|
"concreteType": "Money",
|
|
124
125
|
"kind": "LinkedField",
|
|
125
126
|
"name": "price",
|
|
126
127
|
"plural": false,
|
|
127
|
-
"selections":
|
|
128
|
+
"selections": v6 /*: any*/,
|
|
128
129
|
"storageKey": null
|
|
129
130
|
},
|
|
130
|
-
|
|
131
|
+
v8 = {
|
|
131
132
|
"alias": null,
|
|
132
133
|
"args": null,
|
|
133
134
|
"kind": "ScalarField",
|
|
134
135
|
"name": "cssFamily",
|
|
135
136
|
"storageKey": null
|
|
136
137
|
},
|
|
137
|
-
|
|
138
|
+
v9 = {
|
|
138
139
|
"alias": null,
|
|
139
140
|
"args": null,
|
|
140
141
|
"kind": "ScalarField",
|
|
141
142
|
"name": "cssUrl",
|
|
142
143
|
"storageKey": null
|
|
143
144
|
},
|
|
144
|
-
v9 = [v0 /*: any*/],
|
|
145
145
|
v10 = {
|
|
146
146
|
"alias": null,
|
|
147
147
|
"args": null,
|
|
148
148
|
"kind": "ScalarField",
|
|
149
|
-
"name": "
|
|
149
|
+
"name": "variableType",
|
|
150
150
|
"storageKey": null
|
|
151
151
|
},
|
|
152
|
-
v11 =
|
|
152
|
+
v11 = [v0 /*: any*/],
|
|
153
|
+
v12 = {
|
|
153
154
|
"alias": null,
|
|
154
155
|
"args": null,
|
|
155
156
|
"kind": "ScalarField",
|
|
156
|
-
"name": "
|
|
157
|
+
"name": "multiplier",
|
|
157
158
|
"storageKey": null
|
|
158
159
|
};
|
|
159
160
|
return {
|
|
@@ -334,7 +335,7 @@ const node = function () {
|
|
|
334
335
|
"kind": "LinkedField",
|
|
335
336
|
"name": "billingIdentity",
|
|
336
337
|
"plural": false,
|
|
337
|
-
"selections":
|
|
338
|
+
"selections": v4 /*: any*/,
|
|
338
339
|
"storageKey": null
|
|
339
340
|
}, {
|
|
340
341
|
"alias": null,
|
|
@@ -343,7 +344,7 @@ const node = function () {
|
|
|
343
344
|
"kind": "LinkedField",
|
|
344
345
|
"name": "licenseeIdentity",
|
|
345
346
|
"plural": false,
|
|
346
|
-
"selections":
|
|
347
|
+
"selections": v4 /*: any*/,
|
|
347
348
|
"storageKey": null
|
|
348
349
|
}, {
|
|
349
350
|
"alias": null,
|
|
@@ -370,7 +371,7 @@ const node = function () {
|
|
|
370
371
|
"kind": "LinkedField",
|
|
371
372
|
"name": "subtotal",
|
|
372
373
|
"plural": false,
|
|
373
|
-
"selections":
|
|
374
|
+
"selections": v6 /*: any*/,
|
|
374
375
|
"storageKey": null
|
|
375
376
|
}, {
|
|
376
377
|
"alias": null,
|
|
@@ -386,7 +387,7 @@ const node = function () {
|
|
|
386
387
|
"kind": "LinkedField",
|
|
387
388
|
"name": "amount",
|
|
388
389
|
"plural": false,
|
|
389
|
-
"selections":
|
|
390
|
+
"selections": v6 /*: any*/,
|
|
390
391
|
"storageKey": null
|
|
391
392
|
}, {
|
|
392
393
|
"alias": null,
|
|
@@ -414,7 +415,7 @@ const node = function () {
|
|
|
414
415
|
"kind": "LinkedField",
|
|
415
416
|
"name": "creditAmountRemaining",
|
|
416
417
|
"plural": false,
|
|
417
|
-
"selections":
|
|
418
|
+
"selections": v6 /*: any*/,
|
|
418
419
|
"storageKey": null
|
|
419
420
|
}, v0 /*: any*/],
|
|
420
421
|
"storageKey": null
|
|
@@ -427,7 +428,7 @@ const node = function () {
|
|
|
427
428
|
"kind": "LinkedField",
|
|
428
429
|
"name": "discountedSubtotal",
|
|
429
430
|
"plural": false,
|
|
430
|
-
"selections":
|
|
431
|
+
"selections": v6 /*: any*/,
|
|
431
432
|
"storageKey": null
|
|
432
433
|
}, {
|
|
433
434
|
"alias": null,
|
|
@@ -436,7 +437,7 @@ const node = function () {
|
|
|
436
437
|
"kind": "LinkedField",
|
|
437
438
|
"name": "total",
|
|
438
439
|
"plural": false,
|
|
439
|
-
"selections":
|
|
440
|
+
"selections": v6 /*: any*/,
|
|
440
441
|
"storageKey": null
|
|
441
442
|
}, {
|
|
442
443
|
"alias": null,
|
|
@@ -451,7 +452,7 @@ const node = function () {
|
|
|
451
452
|
"kind": "LinkedField",
|
|
452
453
|
"name": "taxes",
|
|
453
454
|
"plural": false,
|
|
454
|
-
"selections":
|
|
455
|
+
"selections": v6 /*: any*/,
|
|
455
456
|
"storageKey": null
|
|
456
457
|
}, {
|
|
457
458
|
"alias": null,
|
|
@@ -472,14 +473,14 @@ const node = function () {
|
|
|
472
473
|
"kind": "LinkedField",
|
|
473
474
|
"name": "orderItems",
|
|
474
475
|
"plural": true,
|
|
475
|
-
"selections": [v0 /*: any*/,
|
|
476
|
+
"selections": [v0 /*: any*/, v7 /*: any*/, {
|
|
476
477
|
"alias": null,
|
|
477
478
|
"args": null,
|
|
478
479
|
"concreteType": "Sku",
|
|
479
480
|
"kind": "LinkedField",
|
|
480
481
|
"name": "sku",
|
|
481
482
|
"plural": false,
|
|
482
|
-
"selections": [
|
|
483
|
+
"selections": [v7 /*: any*/, {
|
|
483
484
|
"alias": null,
|
|
484
485
|
"args": null,
|
|
485
486
|
"concreteType": null,
|
|
@@ -487,14 +488,14 @@ const node = function () {
|
|
|
487
488
|
"name": "product",
|
|
488
489
|
"plural": false,
|
|
489
490
|
"selections": [{
|
|
491
|
+
"kind": "TypeDiscriminator",
|
|
492
|
+
"abstractKey": "__isSkuProduct"
|
|
493
|
+
}, {
|
|
490
494
|
"alias": null,
|
|
491
495
|
"args": null,
|
|
492
496
|
"kind": "ScalarField",
|
|
493
497
|
"name": "__typename",
|
|
494
498
|
"storageKey": null
|
|
495
|
-
}, {
|
|
496
|
-
"kind": "TypeDiscriminator",
|
|
497
|
-
"abstractKey": "__isSkuProduct"
|
|
498
499
|
}, {
|
|
499
500
|
"kind": "InlineFragment",
|
|
500
501
|
"selections": [{
|
|
@@ -504,14 +505,14 @@ const node = function () {
|
|
|
504
505
|
"kind": "LinkedField",
|
|
505
506
|
"name": "featureStyle",
|
|
506
507
|
"plural": false,
|
|
507
|
-
"selections": [
|
|
508
|
+
"selections": [v8 /*: any*/, v1 /*: any*/, v0 /*: any*/, {
|
|
508
509
|
"alias": null,
|
|
509
510
|
"args": null,
|
|
510
511
|
"concreteType": "FontCollection",
|
|
511
512
|
"kind": "LinkedField",
|
|
512
513
|
"name": "family",
|
|
513
514
|
"plural": false,
|
|
514
|
-
"selections": [
|
|
515
|
+
"selections": [v9 /*: any*/, v0 /*: any*/],
|
|
515
516
|
"storageKey": null
|
|
516
517
|
}],
|
|
517
518
|
"storageKey": null
|
|
@@ -539,21 +540,21 @@ const node = function () {
|
|
|
539
540
|
"kind": "LinkedField",
|
|
540
541
|
"name": "fontStyles",
|
|
541
542
|
"plural": true,
|
|
542
|
-
"selections": [
|
|
543
|
+
"selections": [v8 /*: any*/, v1 /*: any*/, v0 /*: any*/],
|
|
543
544
|
"storageKey": null
|
|
544
545
|
}, v1 /*: any*/],
|
|
545
546
|
"type": "Bundle",
|
|
546
547
|
"abstractKey": null
|
|
547
548
|
}, {
|
|
548
549
|
"kind": "InlineFragment",
|
|
549
|
-
"selections": [
|
|
550
|
+
"selections": [v8 /*: any*/, v1 /*: any*/, {
|
|
550
551
|
"alias": null,
|
|
551
552
|
"args": null,
|
|
552
553
|
"concreteType": "FontCollection",
|
|
553
554
|
"kind": "LinkedField",
|
|
554
555
|
"name": "family",
|
|
555
556
|
"plural": false,
|
|
556
|
-
"selections": [v1 /*: any*/,
|
|
557
|
+
"selections": [v1 /*: any*/, v9 /*: any*/, v0 /*: any*/],
|
|
557
558
|
"storageKey": null
|
|
558
559
|
}, {
|
|
559
560
|
"alias": null,
|
|
@@ -569,7 +570,39 @@ const node = function () {
|
|
|
569
570
|
"abstractKey": null
|
|
570
571
|
}, {
|
|
571
572
|
"kind": "InlineFragment",
|
|
572
|
-
"selections":
|
|
573
|
+
"selections": [{
|
|
574
|
+
"alias": null,
|
|
575
|
+
"args": null,
|
|
576
|
+
"concreteType": "License",
|
|
577
|
+
"kind": "LinkedField",
|
|
578
|
+
"name": "licenses",
|
|
579
|
+
"plural": true,
|
|
580
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, {
|
|
581
|
+
"alias": "variables",
|
|
582
|
+
"args": null,
|
|
583
|
+
"concreteType": "LicenseVariable",
|
|
584
|
+
"kind": "LinkedField",
|
|
585
|
+
"name": "licenseVariables",
|
|
586
|
+
"plural": true,
|
|
587
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, v10 /*: any*/, {
|
|
588
|
+
"alias": "options",
|
|
589
|
+
"args": null,
|
|
590
|
+
"concreteType": "LicenseOption",
|
|
591
|
+
"kind": "LinkedField",
|
|
592
|
+
"name": "licenseOptions",
|
|
593
|
+
"plural": true,
|
|
594
|
+
"selections": [v0 /*: any*/, v5 /*: any*/, v1 /*: any*/],
|
|
595
|
+
"storageKey": null
|
|
596
|
+
}],
|
|
597
|
+
"storageKey": null
|
|
598
|
+
}],
|
|
599
|
+
"storageKey": null
|
|
600
|
+
}],
|
|
601
|
+
"type": "Licenseable",
|
|
602
|
+
"abstractKey": "__isLicenseable"
|
|
603
|
+
}, {
|
|
604
|
+
"kind": "InlineFragment",
|
|
605
|
+
"selections": v11 /*: any*/,
|
|
573
606
|
"type": "Node",
|
|
574
607
|
"abstractKey": "__isNode"
|
|
575
608
|
}],
|
|
@@ -590,7 +623,7 @@ const node = function () {
|
|
|
590
623
|
"kind": "LinkedField",
|
|
591
624
|
"name": "license",
|
|
592
625
|
"plural": false,
|
|
593
|
-
"selections": [v0 /*: any*/, v1 /*: any*/,
|
|
626
|
+
"selections": [v0 /*: any*/, v1 /*: any*/, v12 /*: any*/],
|
|
594
627
|
"storageKey": null
|
|
595
628
|
}, {
|
|
596
629
|
"alias": "variable",
|
|
@@ -599,7 +632,7 @@ const node = function () {
|
|
|
599
632
|
"kind": "LinkedField",
|
|
600
633
|
"name": "licenseVariable",
|
|
601
634
|
"plural": false,
|
|
602
|
-
"selections": [v0 /*: any*/,
|
|
635
|
+
"selections": [v0 /*: any*/, v10 /*: any*/, {
|
|
603
636
|
"alias": null,
|
|
604
637
|
"args": null,
|
|
605
638
|
"kind": "ScalarField",
|
|
@@ -614,7 +647,7 @@ const node = function () {
|
|
|
614
647
|
"kind": "LinkedField",
|
|
615
648
|
"name": "licenseOption",
|
|
616
649
|
"plural": false,
|
|
617
|
-
"selections": [v0 /*: any*/,
|
|
650
|
+
"selections": [v0 /*: any*/, v5 /*: any*/, v12 /*: any*/, v1 /*: any*/, {
|
|
618
651
|
"alias": null,
|
|
619
652
|
"args": null,
|
|
620
653
|
"kind": "ScalarField",
|
|
@@ -635,7 +668,7 @@ const node = function () {
|
|
|
635
668
|
"kind": "LinkedField",
|
|
636
669
|
"name": "licenseVariable",
|
|
637
670
|
"plural": false,
|
|
638
|
-
"selections": [v0 /*: any*/,
|
|
671
|
+
"selections": [v0 /*: any*/, v10 /*: any*/],
|
|
639
672
|
"storageKey": null
|
|
640
673
|
}, {
|
|
641
674
|
"alias": null,
|
|
@@ -644,7 +677,7 @@ const node = function () {
|
|
|
644
677
|
"kind": "LinkedField",
|
|
645
678
|
"name": "licenseOption",
|
|
646
679
|
"plural": false,
|
|
647
|
-
"selections":
|
|
680
|
+
"selections": v11 /*: any*/,
|
|
648
681
|
"storageKey": null
|
|
649
682
|
}],
|
|
650
683
|
"storageKey": null
|
|
@@ -682,37 +715,6 @@ const node = function () {
|
|
|
682
715
|
"storageKey": null
|
|
683
716
|
}],
|
|
684
717
|
"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
718
|
}, {
|
|
717
719
|
"alias": null,
|
|
718
720
|
"args": null,
|
|
@@ -728,17 +730,17 @@ const node = function () {
|
|
|
728
730
|
"storageKey": null
|
|
729
731
|
}, v1 /*: any*/],
|
|
730
732
|
"storageKey": null
|
|
731
|
-
}, v0 /*: any*/],
|
|
733
|
+
}, v3 /*: any*/, v0 /*: any*/],
|
|
732
734
|
"storageKey": null
|
|
733
735
|
}]
|
|
734
736
|
},
|
|
735
737
|
"params": {
|
|
736
|
-
"cacheID": "
|
|
738
|
+
"cacheID": "ee59555f3eba7a42c832a3d70b0315de",
|
|
737
739
|
"id": null,
|
|
738
740
|
"metadata": {},
|
|
739
741
|
"name": "CartQuery",
|
|
740
742
|
"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
|
|
743
|
+
"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 country\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
744
|
}
|
|
743
745
|
};
|
|
744
746
|
}();
|