fontdue-js 2.17.0 → 2.17.2
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 +8 -0
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +21 -7
- package/dist/__generated__/OrderVariableSelectionReduxRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/OrderVariableSelectionReduxRefetchQuery.graphql.js +154 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +1 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +21 -5
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +1 -1
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +12 -4
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +49 -39
- package/dist/__generated__/StoreModalOrderVariableSelectionHookQuery.graphql.d.ts +26 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.js +12 -12
- package/dist/__generated__/StoreModalProductContent_viewer.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +69 -63
- package/dist/__generated__/StoreModalProductViewerRefetchQuery.graphql.d.ts +31 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +37 -26
- package/dist/__generated__/TypeTesterStyleSelect_family.graphql.d.ts +33 -0
- package/dist/__generated__/TypeTesterStyleSelect_fontStyle.graphql.d.ts +27 -0
- package/dist/components/Cart/CartState.js +1 -1
- package/dist/components/Cart/CustomerFields.d.ts +5 -0
- package/dist/components/Cart/CustomerFields.js +11 -3
- package/dist/components/ConfigContext.d.ts +19 -4
- package/dist/components/ConfigContext.js +4 -1
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +10 -1
- package/dist/components/OrderVariableSelection/index.d.ts +2 -1
- package/dist/components/OrderVariableSelection/index.js +9 -2
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +19 -4
- package/dist/components/StoreModal/StoreModalProduct.js +1 -1
- package/dist/components/TypeTester/useFeaturesData.d.ts +3 -3
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +0 -1
- package/dist/components/elements/StoreModalUnifiedCheckout.js +16 -7
- package/dist/fontdue.css +1 -1
- package/dist/hooks.d.ts +0 -1
- package/dist/utils/interpolateOrderVariableDescription.d.ts +36 -0
- package/dist/utils/interpolateOrderVariableDescription.test.d.ts +1 -0
- package/package.json +2 -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<<fd9a589afeb150e0132fee0779eb4ea1>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -76,19 +76,20 @@ const node = function () {
|
|
|
76
76
|
"name": "cssFamily",
|
|
77
77
|
"storageKey": null
|
|
78
78
|
},
|
|
79
|
-
v10 =
|
|
79
|
+
v10 = {
|
|
80
80
|
"kind": "Literal",
|
|
81
81
|
"name": "format",
|
|
82
82
|
"value": "HTML"
|
|
83
|
-
}
|
|
84
|
-
v11 =
|
|
83
|
+
},
|
|
84
|
+
v11 = [v10 /*: any*/],
|
|
85
|
+
v12 = {
|
|
85
86
|
"alias": null,
|
|
86
87
|
"args": null,
|
|
87
88
|
"kind": "ScalarField",
|
|
88
89
|
"name": "currency",
|
|
89
90
|
"storageKey": null
|
|
90
91
|
},
|
|
91
|
-
|
|
92
|
+
v13 = {
|
|
92
93
|
"alias": null,
|
|
93
94
|
"args": null,
|
|
94
95
|
"concreteType": "LicenseOption",
|
|
@@ -98,31 +99,24 @@ const node = function () {
|
|
|
98
99
|
"selections": v3 /*: any*/,
|
|
99
100
|
"storageKey": null
|
|
100
101
|
},
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
v14 = [v2 /*: any*/, v12 /*: any*/],
|
|
103
|
+
v15 = {
|
|
103
104
|
"alias": null,
|
|
104
105
|
"args": null,
|
|
105
106
|
"concreteType": "Money",
|
|
106
107
|
"kind": "LinkedField",
|
|
107
108
|
"name": "price",
|
|
108
109
|
"plural": false,
|
|
109
|
-
"selections":
|
|
110
|
+
"selections": v14 /*: any*/,
|
|
110
111
|
"storageKey": null
|
|
111
112
|
},
|
|
112
|
-
|
|
113
|
+
v16 = {
|
|
113
114
|
"alias": null,
|
|
114
115
|
"args": null,
|
|
115
116
|
"kind": "ScalarField",
|
|
116
117
|
"name": "cssUrl",
|
|
117
118
|
"storageKey": null
|
|
118
119
|
},
|
|
119
|
-
v16 = {
|
|
120
|
-
"alias": null,
|
|
121
|
-
"args": v10 /*: any*/,
|
|
122
|
-
"kind": "ScalarField",
|
|
123
|
-
"name": "description",
|
|
124
|
-
"storageKey": "description(format:\"HTML\")"
|
|
125
|
-
},
|
|
126
120
|
v17 = [v1 /*: any*/, v2 /*: any*/],
|
|
127
121
|
v18 = {
|
|
128
122
|
"alias": null,
|
|
@@ -386,7 +380,7 @@ const node = function () {
|
|
|
386
380
|
"storageKey": null
|
|
387
381
|
}, {
|
|
388
382
|
"alias": null,
|
|
389
|
-
"args":
|
|
383
|
+
"args": v11 /*: any*/,
|
|
390
384
|
"kind": "ScalarField",
|
|
391
385
|
"name": "storeModalSelectOrderVariablesLabel",
|
|
392
386
|
"storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
|
|
@@ -410,19 +404,19 @@ const node = function () {
|
|
|
410
404
|
"storageKey": null
|
|
411
405
|
}, {
|
|
412
406
|
"alias": null,
|
|
413
|
-
"args":
|
|
407
|
+
"args": v11 /*: any*/,
|
|
414
408
|
"kind": "ScalarField",
|
|
415
409
|
"name": "eulaAgreementLabel",
|
|
416
410
|
"storageKey": "eulaAgreementLabel(format:\"HTML\")"
|
|
417
411
|
}, {
|
|
418
412
|
"alias": null,
|
|
419
|
-
"args":
|
|
413
|
+
"args": v11 /*: any*/,
|
|
420
414
|
"kind": "ScalarField",
|
|
421
415
|
"name": "storeModalSelectLicenseeLabel",
|
|
422
416
|
"storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
|
|
423
417
|
}, {
|
|
424
418
|
"alias": null,
|
|
425
|
-
"args":
|
|
419
|
+
"args": v11 /*: any*/,
|
|
426
420
|
"kind": "ScalarField",
|
|
427
421
|
"name": "newsletterOptInLabel",
|
|
428
422
|
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
@@ -475,7 +469,7 @@ const node = function () {
|
|
|
475
469
|
"kind": "ScalarField",
|
|
476
470
|
"name": "clientSecret",
|
|
477
471
|
"storageKey": null
|
|
478
|
-
}, v2 /*: any*/,
|
|
472
|
+
}, v2 /*: any*/, v12 /*: any*/],
|
|
479
473
|
"storageKey": null
|
|
480
474
|
}, v1 /*: any*/, {
|
|
481
475
|
"alias": null,
|
|
@@ -531,7 +525,7 @@ const node = function () {
|
|
|
531
525
|
"kind": "ScalarField",
|
|
532
526
|
"name": "units",
|
|
533
527
|
"storageKey": null
|
|
534
|
-
}, v7 /*: any*/, v4 /*: any*/,
|
|
528
|
+
}, v7 /*: any*/, v4 /*: any*/, v13 /*: any*/],
|
|
535
529
|
"storageKey": null
|
|
536
530
|
}, {
|
|
537
531
|
"alias": null,
|
|
@@ -550,14 +544,14 @@ const node = function () {
|
|
|
550
544
|
"storageKey": null
|
|
551
545
|
}, v5 /*: any*/, v1 /*: any*/],
|
|
552
546
|
"storageKey": null
|
|
553
|
-
},
|
|
547
|
+
}, v15 /*: any*/, {
|
|
554
548
|
"alias": null,
|
|
555
549
|
"args": null,
|
|
556
550
|
"concreteType": "Sku",
|
|
557
551
|
"kind": "LinkedField",
|
|
558
552
|
"name": "sku",
|
|
559
553
|
"plural": false,
|
|
560
|
-
"selections": [
|
|
554
|
+
"selections": [v15 /*: any*/, {
|
|
561
555
|
"alias": null,
|
|
562
556
|
"args": null,
|
|
563
557
|
"concreteType": null,
|
|
@@ -589,7 +583,7 @@ const node = function () {
|
|
|
589
583
|
"kind": "LinkedField",
|
|
590
584
|
"name": "family",
|
|
591
585
|
"plural": false,
|
|
592
|
-
"selections": [
|
|
586
|
+
"selections": [v16 /*: any*/, v1 /*: any*/],
|
|
593
587
|
"storageKey": null
|
|
594
588
|
}],
|
|
595
589
|
"storageKey": null
|
|
@@ -631,7 +625,7 @@ const node = function () {
|
|
|
631
625
|
"kind": "LinkedField",
|
|
632
626
|
"name": "family",
|
|
633
627
|
"plural": false,
|
|
634
|
-
"selections": [v7 /*: any*/,
|
|
628
|
+
"selections": [v7 /*: any*/, v16 /*: any*/, v1 /*: any*/],
|
|
635
629
|
"storageKey": null
|
|
636
630
|
}, {
|
|
637
631
|
"alias": null,
|
|
@@ -661,7 +655,7 @@ const node = function () {
|
|
|
661
655
|
"kind": "LinkedField",
|
|
662
656
|
"name": "licenseVariables",
|
|
663
657
|
"plural": true,
|
|
664
|
-
"selections": [v1 /*: any*/,
|
|
658
|
+
"selections": [v1 /*: any*/, v13 /*: any*/],
|
|
665
659
|
"storageKey": null
|
|
666
660
|
}],
|
|
667
661
|
"storageKey": null
|
|
@@ -693,7 +687,7 @@ const node = function () {
|
|
|
693
687
|
"kind": "LinkedField",
|
|
694
688
|
"name": "orderVariable",
|
|
695
689
|
"plural": false,
|
|
696
|
-
"selections": [v1 /*: any*/, v4 /*: any*/, v7 /*: any
|
|
690
|
+
"selections": [v1 /*: any*/, v4 /*: any*/, v7 /*: any*/],
|
|
697
691
|
"storageKey": null
|
|
698
692
|
}, {
|
|
699
693
|
"alias": null,
|
|
@@ -710,7 +704,13 @@ const node = function () {
|
|
|
710
704
|
"kind": "ScalarField",
|
|
711
705
|
"name": "countryCode",
|
|
712
706
|
"storageKey": null
|
|
713
|
-
}, v1 /*: any
|
|
707
|
+
}, v1 /*: any*/, {
|
|
708
|
+
"alias": null,
|
|
709
|
+
"args": v11 /*: any*/,
|
|
710
|
+
"kind": "ScalarField",
|
|
711
|
+
"name": "orderVariableDescription",
|
|
712
|
+
"storageKey": "orderVariableDescription(format:\"HTML\")"
|
|
713
|
+
}],
|
|
714
714
|
"storageKey": null
|
|
715
715
|
}, {
|
|
716
716
|
"alias": null,
|
|
@@ -719,7 +719,7 @@ const node = function () {
|
|
|
719
719
|
"kind": "LinkedField",
|
|
720
720
|
"name": "subtotal",
|
|
721
721
|
"plural": false,
|
|
722
|
-
"selections":
|
|
722
|
+
"selections": v14 /*: any*/,
|
|
723
723
|
"storageKey": null
|
|
724
724
|
}, {
|
|
725
725
|
"alias": null,
|
|
@@ -735,7 +735,7 @@ const node = function () {
|
|
|
735
735
|
"kind": "LinkedField",
|
|
736
736
|
"name": "amount",
|
|
737
737
|
"plural": false,
|
|
738
|
-
"selections":
|
|
738
|
+
"selections": v14 /*: any*/,
|
|
739
739
|
"storageKey": null
|
|
740
740
|
}, {
|
|
741
741
|
"alias": null,
|
|
@@ -763,7 +763,7 @@ const node = function () {
|
|
|
763
763
|
"kind": "LinkedField",
|
|
764
764
|
"name": "creditAmount",
|
|
765
765
|
"plural": false,
|
|
766
|
-
"selections":
|
|
766
|
+
"selections": v14 /*: any*/,
|
|
767
767
|
"storageKey": null
|
|
768
768
|
}, {
|
|
769
769
|
"alias": null,
|
|
@@ -772,7 +772,7 @@ const node = function () {
|
|
|
772
772
|
"kind": "LinkedField",
|
|
773
773
|
"name": "creditAmountRemaining",
|
|
774
774
|
"plural": false,
|
|
775
|
-
"selections":
|
|
775
|
+
"selections": v14 /*: any*/,
|
|
776
776
|
"storageKey": null
|
|
777
777
|
}, v1 /*: any*/],
|
|
778
778
|
"storageKey": null
|
|
@@ -785,7 +785,7 @@ const node = function () {
|
|
|
785
785
|
"kind": "LinkedField",
|
|
786
786
|
"name": "discountedSubtotal",
|
|
787
787
|
"plural": false,
|
|
788
|
-
"selections":
|
|
788
|
+
"selections": v14 /*: any*/,
|
|
789
789
|
"storageKey": null
|
|
790
790
|
}, {
|
|
791
791
|
"alias": null,
|
|
@@ -794,7 +794,7 @@ const node = function () {
|
|
|
794
794
|
"kind": "LinkedField",
|
|
795
795
|
"name": "total",
|
|
796
796
|
"plural": false,
|
|
797
|
-
"selections":
|
|
797
|
+
"selections": v14 /*: any*/,
|
|
798
798
|
"storageKey": null
|
|
799
799
|
}, {
|
|
800
800
|
"alias": null,
|
|
@@ -809,7 +809,7 @@ const node = function () {
|
|
|
809
809
|
"kind": "LinkedField",
|
|
810
810
|
"name": "taxes",
|
|
811
811
|
"plural": false,
|
|
812
|
-
"selections":
|
|
812
|
+
"selections": v14 /*: any*/,
|
|
813
813
|
"storageKey": null
|
|
814
814
|
}, {
|
|
815
815
|
"alias": null,
|
|
@@ -883,7 +883,17 @@ const node = function () {
|
|
|
883
883
|
"kind": "LinkedField",
|
|
884
884
|
"name": "orderVariables",
|
|
885
885
|
"plural": true,
|
|
886
|
-
"selections": [v1 /*: any*/, v7 /*: any*/, v4 /*: any*/,
|
|
886
|
+
"selections": [v1 /*: any*/, v7 /*: any*/, v4 /*: any*/, {
|
|
887
|
+
"alias": null,
|
|
888
|
+
"args": [v10 /*: any*/, {
|
|
889
|
+
"kind": "Literal",
|
|
890
|
+
"name": "orderVariables",
|
|
891
|
+
"value": []
|
|
892
|
+
}],
|
|
893
|
+
"kind": "ScalarField",
|
|
894
|
+
"name": "description",
|
|
895
|
+
"storageKey": "description(format:\"HTML\",orderVariables:[])"
|
|
896
|
+
}, {
|
|
887
897
|
"alias": null,
|
|
888
898
|
"args": null,
|
|
889
899
|
"concreteType": "OrderVariableOption",
|
|
@@ -920,12 +930,12 @@ const node = function () {
|
|
|
920
930
|
}]
|
|
921
931
|
},
|
|
922
932
|
"params": {
|
|
923
|
-
"cacheID": "
|
|
933
|
+
"cacheID": "b1c9a8d6f3e5bc079d46f21e8e3d3d9c",
|
|
924
934
|
"id": null,
|
|
925
935
|
"metadata": {},
|
|
926
936
|
"name": "StoreModalCartQuery",
|
|
927
937
|
"operationKind": "query",
|
|
928
|
-
"text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\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 billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\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}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\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 taxRate\n taxes {\n ...Price_price\n }\n taxName\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 }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n
|
|
938
|
+
"text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\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 billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\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}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\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 taxRate\n taxes {\n ...Price_price\n }\n taxName\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 }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: [])\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n settings {\n storeModalSelectOrderVariablesLabel(format: HTML)\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\n detectedCountry\n settings {\n uiFontName\n eulaAgreementLabel(format: HTML)\n storeModalSelectLicenseeLabel(format: HTML)\n newsletterOptInLabel(format: HTML)\n taxSystem\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\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"
|
|
929
939
|
}
|
|
930
940
|
};
|
|
931
941
|
}();
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<78cb1f1479c1fef23a48099d49cf2621>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type OrderVariableSelectionInput = {
|
|
9
|
+
countryCode?: string | null;
|
|
10
|
+
orderVariableId: string;
|
|
11
|
+
orderVariableOptionId?: string | null;
|
|
12
|
+
};
|
|
13
|
+
export type StoreModalOrderVariableSelectionHookQuery$variables = {
|
|
14
|
+
orderVariables: ReadonlyArray<OrderVariableSelectionInput>;
|
|
15
|
+
};
|
|
16
|
+
export type StoreModalOrderVariableSelectionHookQuery$data = {
|
|
17
|
+
readonly viewer: {
|
|
18
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalOrderVariableSelection_viewer">;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type StoreModalOrderVariableSelectionHookQuery = {
|
|
22
|
+
response: StoreModalOrderVariableSelectionHookQuery$data;
|
|
23
|
+
variables: StoreModalOrderVariableSelectionHookQuery$variables;
|
|
24
|
+
};
|
|
25
|
+
declare const node: ConcreteRequest;
|
|
26
|
+
export default node;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<331109272580b81d2533bc34a399ff57>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type OrderVariableSelectionInput = {
|
|
9
|
+
countryCode?: string | null;
|
|
10
|
+
orderVariableId: string;
|
|
11
|
+
orderVariableOptionId?: string | null;
|
|
12
|
+
};
|
|
13
|
+
export type StoreModalOrderVariableSelectionRefetchQuery$variables = {
|
|
14
|
+
orderVariables?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
15
|
+
};
|
|
16
|
+
export type StoreModalOrderVariableSelectionRefetchQuery$data = {
|
|
17
|
+
readonly viewer: {
|
|
18
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalOrderVariableSelection_viewer">;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type StoreModalOrderVariableSelectionRefetchQuery = {
|
|
22
|
+
response: StoreModalOrderVariableSelectionRefetchQuery$data;
|
|
23
|
+
variables: StoreModalOrderVariableSelectionRefetchQuery$variables;
|
|
24
|
+
};
|
|
25
|
+
declare const node: ConcreteRequest;
|
|
26
|
+
export default node;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<65349b6556bcfeadef17dec01b4f632b>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,11 +10,11 @@ export type StoreModalOrderVariableSelection_order$data = {
|
|
|
10
10
|
readonly orderVariableSelections: ReadonlyArray<{
|
|
11
11
|
readonly countryCode: string | null;
|
|
12
12
|
readonly orderVariable: {
|
|
13
|
-
readonly description: string | null;
|
|
14
13
|
readonly id: string;
|
|
15
14
|
readonly name: string;
|
|
16
15
|
readonly variableType: string;
|
|
17
16
|
};
|
|
17
|
+
readonly orderVariableDescription: string | null;
|
|
18
18
|
readonly orderVariableOption: {
|
|
19
19
|
readonly amount: string | null;
|
|
20
20
|
readonly id: string;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<65349b6556bcfeadef17dec01b4f632b>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -53,18 +53,18 @@ const node = function () {
|
|
|
53
53
|
"kind": "ScalarField",
|
|
54
54
|
"name": "variableType",
|
|
55
55
|
"storageKey": null
|
|
56
|
-
}, {
|
|
57
|
-
"alias": null,
|
|
58
|
-
"args": [{
|
|
59
|
-
"kind": "Literal",
|
|
60
|
-
"name": "format",
|
|
61
|
-
"value": "HTML"
|
|
62
|
-
}],
|
|
63
|
-
"kind": "ScalarField",
|
|
64
|
-
"name": "description",
|
|
65
|
-
"storageKey": "description(format:\"HTML\")"
|
|
66
56
|
}],
|
|
67
57
|
"storageKey": null
|
|
58
|
+
}, {
|
|
59
|
+
"alias": null,
|
|
60
|
+
"args": [{
|
|
61
|
+
"kind": "Literal",
|
|
62
|
+
"name": "format",
|
|
63
|
+
"value": "HTML"
|
|
64
|
+
}],
|
|
65
|
+
"kind": "ScalarField",
|
|
66
|
+
"name": "orderVariableDescription",
|
|
67
|
+
"storageKey": "orderVariableDescription(format:\"HTML\")"
|
|
68
68
|
}, {
|
|
69
69
|
"alias": null,
|
|
70
70
|
"args": null,
|
|
@@ -93,6 +93,6 @@ const node = function () {
|
|
|
93
93
|
"abstractKey": null
|
|
94
94
|
};
|
|
95
95
|
}();
|
|
96
|
-
node.hash = "
|
|
96
|
+
node.hash = "85bc6b91bb3e9b7ee708f776acf670fd";
|
|
97
97
|
var _default = node;
|
|
98
98
|
exports.default = _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<e721a400f8d87e808e2192c43fdc8c98>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type StoreModalProductContent_viewer$data = {
|
|
9
|
+
readonly endpoint: string | null;
|
|
10
|
+
readonly orderVariables: ReadonlyArray<{
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly variableType: string;
|
|
14
|
+
}> | null;
|
|
15
|
+
readonly settings: {
|
|
16
|
+
readonly storeModalSelectFontsLabel: string | null;
|
|
17
|
+
readonly storeModalSelectLicenseeLabel: string | null;
|
|
18
|
+
readonly storeModalSelectLicensesLabel: string | null;
|
|
19
|
+
readonly storeModalSelectOrderVariablesLabel: string | null;
|
|
20
|
+
} | null;
|
|
21
|
+
readonly stripeAccountId: string | null;
|
|
22
|
+
readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelectionRedux_viewer" | "StoreModalProductSummary_viewer">;
|
|
23
|
+
readonly " $fragmentType": "StoreModalProductContent_viewer";
|
|
24
|
+
};
|
|
25
|
+
export type StoreModalProductContent_viewer$key = {
|
|
26
|
+
readonly " $data"?: StoreModalProductContent_viewer$data;
|
|
27
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductContent_viewer">;
|
|
28
|
+
};
|
|
29
|
+
declare const node: ReaderFragment;
|
|
30
|
+
export default node;
|