fontdue-js 2.16.0 → 2.17.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 +11 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +25 -4
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +5 -1
- package/dist/__generated__/AddressFields_viewer.graphql.js +23 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +3 -2
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +10 -4
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +22 -4
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +43 -4
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +3 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +60 -53
- package/dist/__generated__/CartState_order.graphql.d.ts +2 -1
- package/dist/__generated__/CartState_order.graphql.js +8 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +5 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +10 -4
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +3 -3
- package/dist/__generated__/Checkout_identity.graphql.d.ts +2 -2
- package/dist/__generated__/Checkout_identity.graphql.js +3 -3
- package/dist/__generated__/Checkout_order.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_order.graphql.js +2 -2
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +43 -4
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.d.ts +4 -1
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.js +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +1 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +6 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +29 -2
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +5 -1
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +31 -15
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +10 -4
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +8 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +174 -127
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +8 -2
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +9 -3
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.js +98 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +1 -16
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +40 -104
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +24 -3
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +6 -5
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +156 -11
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +13 -3
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +50 -4
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +10 -4
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +30 -14
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +8 -2
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +4 -1
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +17 -2
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +53 -37
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +53 -37
- package/dist/components/Cart/AddressFields.d.ts +3 -2
- package/dist/components/Cart/AddressFields.js +45 -47
- package/dist/components/Cart/CartState.js +1 -1
- package/dist/components/Cart/CartTotals.d.ts +5 -2
- package/dist/components/Cart/CartTotals.js +24 -10
- package/dist/components/Cart/Checkout.js +33 -6
- package/dist/components/Cart/CustomerFields.js +5 -2
- package/dist/components/Cart/types.d.ts +1 -1
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +21 -1
- package/dist/components/OrderVariableSelection/index.d.ts +1 -0
- package/dist/components/OrderVariableSelection/index.js +23 -10
- package/dist/components/StoreModal/StoreModalCart.js +9 -6
- package/dist/components/StoreModal/StoreModalCheckout.js +0 -37
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +3 -1
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +9 -5
- package/dist/components/StoreModal/StoreModalStyleButton.js +1 -8
- package/dist/components/StripeProvider/index.js +5 -3
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +12 -3
- package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +60 -1
- package/dist/components/elements/StoreModalUnifiedCheckout.js +410 -202
- package/dist/fontdue.css +36 -10
- package/dist/reducer.d.ts +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +11 -2
- package/package.json +2 -1
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<bd28a77ea6fd88bbe6d457300553a270>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -71,7 +71,7 @@ const node = function () {
|
|
|
71
71
|
"alias": null,
|
|
72
72
|
"args": null,
|
|
73
73
|
"kind": "ScalarField",
|
|
74
|
-
"name": "
|
|
74
|
+
"name": "phoneNullable",
|
|
75
75
|
"storageKey": null
|
|
76
76
|
}, {
|
|
77
77
|
"alias": null,
|
|
@@ -236,6 +236,45 @@ const node = function () {
|
|
|
236
236
|
"storageKey": null
|
|
237
237
|
}],
|
|
238
238
|
"storageKey": null
|
|
239
|
+
}, {
|
|
240
|
+
"alias": null,
|
|
241
|
+
"args": null,
|
|
242
|
+
"concreteType": "OrderVariableSelection",
|
|
243
|
+
"kind": "LinkedField",
|
|
244
|
+
"name": "orderVariableSelections",
|
|
245
|
+
"plural": true,
|
|
246
|
+
"selections": [{
|
|
247
|
+
"alias": null,
|
|
248
|
+
"args": null,
|
|
249
|
+
"concreteType": "OrderVariable",
|
|
250
|
+
"kind": "LinkedField",
|
|
251
|
+
"name": "orderVariable",
|
|
252
|
+
"plural": false,
|
|
253
|
+
"selections": [v3 /*: any*/, {
|
|
254
|
+
"alias": null,
|
|
255
|
+
"args": null,
|
|
256
|
+
"kind": "ScalarField",
|
|
257
|
+
"name": "variableType",
|
|
258
|
+
"storageKey": null
|
|
259
|
+
}],
|
|
260
|
+
"storageKey": null
|
|
261
|
+
}, {
|
|
262
|
+
"alias": null,
|
|
263
|
+
"args": null,
|
|
264
|
+
"concreteType": "OrderVariableOption",
|
|
265
|
+
"kind": "LinkedField",
|
|
266
|
+
"name": "orderVariableOption",
|
|
267
|
+
"plural": false,
|
|
268
|
+
"selections": [v3 /*: any*/],
|
|
269
|
+
"storageKey": null
|
|
270
|
+
}, {
|
|
271
|
+
"alias": null,
|
|
272
|
+
"args": null,
|
|
273
|
+
"kind": "ScalarField",
|
|
274
|
+
"name": "countryCode",
|
|
275
|
+
"storageKey": null
|
|
276
|
+
}, v3 /*: any*/],
|
|
277
|
+
"storageKey": null
|
|
239
278
|
}, v3 /*: any*/],
|
|
240
279
|
"storageKey": null
|
|
241
280
|
}],
|
|
@@ -243,12 +282,12 @@ const node = function () {
|
|
|
243
282
|
}]
|
|
244
283
|
},
|
|
245
284
|
"params": {
|
|
246
|
-
"cacheID": "
|
|
285
|
+
"cacheID": "65c7da746a7c177539077a8db864056c",
|
|
247
286
|
"id": null,
|
|
248
287
|
"metadata": {},
|
|
249
288
|
"name": "StoreModalUnifiedCheckoutCompleteOrderMutation",
|
|
250
289
|
"operationKind": "mutation",
|
|
251
|
-
"text": "mutation StoreModalUnifiedCheckoutCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n
|
|
290
|
+
"text": "mutation StoreModalUnifiedCheckoutCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n 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"
|
|
252
291
|
}
|
|
253
292
|
};
|
|
254
293
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<5717acae4caee5545814d91fa0600ba3>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -81,7 +81,7 @@ const node = function () {
|
|
|
81
81
|
"alias": null,
|
|
82
82
|
"args": null,
|
|
83
83
|
"kind": "ScalarField",
|
|
84
|
-
"name": "
|
|
84
|
+
"name": "phoneNullable",
|
|
85
85
|
"storageKey": null
|
|
86
86
|
}, {
|
|
87
87
|
"alias": null,
|
|
@@ -246,6 +246,45 @@ const node = function () {
|
|
|
246
246
|
"storageKey": null
|
|
247
247
|
}],
|
|
248
248
|
"storageKey": null
|
|
249
|
+
}, {
|
|
250
|
+
"alias": null,
|
|
251
|
+
"args": null,
|
|
252
|
+
"concreteType": "OrderVariableSelection",
|
|
253
|
+
"kind": "LinkedField",
|
|
254
|
+
"name": "orderVariableSelections",
|
|
255
|
+
"plural": true,
|
|
256
|
+
"selections": [{
|
|
257
|
+
"alias": null,
|
|
258
|
+
"args": null,
|
|
259
|
+
"concreteType": "OrderVariable",
|
|
260
|
+
"kind": "LinkedField",
|
|
261
|
+
"name": "orderVariable",
|
|
262
|
+
"plural": false,
|
|
263
|
+
"selections": [v5 /*: any*/, {
|
|
264
|
+
"alias": null,
|
|
265
|
+
"args": null,
|
|
266
|
+
"kind": "ScalarField",
|
|
267
|
+
"name": "variableType",
|
|
268
|
+
"storageKey": null
|
|
269
|
+
}],
|
|
270
|
+
"storageKey": null
|
|
271
|
+
}, {
|
|
272
|
+
"alias": null,
|
|
273
|
+
"args": null,
|
|
274
|
+
"concreteType": "OrderVariableOption",
|
|
275
|
+
"kind": "LinkedField",
|
|
276
|
+
"name": "orderVariableOption",
|
|
277
|
+
"plural": false,
|
|
278
|
+
"selections": [v5 /*: any*/],
|
|
279
|
+
"storageKey": null
|
|
280
|
+
}, {
|
|
281
|
+
"alias": null,
|
|
282
|
+
"args": null,
|
|
283
|
+
"kind": "ScalarField",
|
|
284
|
+
"name": "countryCode",
|
|
285
|
+
"storageKey": null
|
|
286
|
+
}, v5 /*: any*/],
|
|
287
|
+
"storageKey": null
|
|
249
288
|
}, v5 /*: any*/],
|
|
250
289
|
"storageKey": null
|
|
251
290
|
}],
|
|
@@ -253,12 +292,12 @@ const node = function () {
|
|
|
253
292
|
}]
|
|
254
293
|
},
|
|
255
294
|
"params": {
|
|
256
|
-
"cacheID": "
|
|
295
|
+
"cacheID": "3cca9aaabff843bc7d5be4ef3ec03d64",
|
|
257
296
|
"id": null,
|
|
258
297
|
"metadata": {},
|
|
259
298
|
"name": "StoreModalUnifiedCheckoutUpdateCustomerMutation",
|
|
260
299
|
"operationKind": "mutation",
|
|
261
|
-
"text": "mutation StoreModalUnifiedCheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n
|
|
300
|
+
"text": "mutation StoreModalUnifiedCheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n 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"
|
|
262
301
|
}
|
|
263
302
|
};
|
|
264
303
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<948655bdcf8235886f12d56f52adaee9>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -26,6 +26,7 @@ export type LicenseSelectionInput = {
|
|
|
26
26
|
variableText?: string | null;
|
|
27
27
|
};
|
|
28
28
|
export type OrderVariableSelectionInput = {
|
|
29
|
+
countryCode?: string | null;
|
|
29
30
|
orderVariableId: string;
|
|
30
31
|
orderVariableOptionId?: string | null;
|
|
31
32
|
};
|
|
@@ -36,7 +37,7 @@ export type IdentityInput = {
|
|
|
36
37
|
locality?: string | null;
|
|
37
38
|
name: string;
|
|
38
39
|
organization?: string | null;
|
|
39
|
-
phone
|
|
40
|
+
phone?: string | null;
|
|
40
41
|
sortingCode?: string | null;
|
|
41
42
|
street?: string | null;
|
|
42
43
|
sublocality?: string | null;
|
|
@@ -53,7 +54,7 @@ export type StoreModalUnifiedCheckoutUpdateOrderMutation$data = {
|
|
|
53
54
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
54
55
|
readonly email: ReadonlyArray<string | null> | null;
|
|
55
56
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
56
|
-
readonly
|
|
57
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
57
58
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
58
59
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
59
60
|
readonly zip: ReadonlyArray<string | null> | null;
|
|
@@ -62,7 +63,7 @@ export type StoreModalUnifiedCheckoutUpdateOrderMutation$data = {
|
|
|
62
63
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
63
64
|
readonly email: ReadonlyArray<string | null> | null;
|
|
64
65
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
65
|
-
readonly
|
|
66
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
66
67
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
67
68
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
68
69
|
readonly zip: ReadonlyArray<string | null> | null;
|
|
@@ -70,7 +71,7 @@ export type StoreModalUnifiedCheckoutUpdateOrderMutation$data = {
|
|
|
70
71
|
readonly stripePaymentMethodId: ReadonlyArray<string | null> | null;
|
|
71
72
|
} | null;
|
|
72
73
|
readonly order: {
|
|
73
|
-
readonly " $fragmentSpreads": FragmentRefs<"StoreModalUnifiedCheckout_order">;
|
|
74
|
+
readonly " $fragmentSpreads": FragmentRefs<"CartTotals_order" | "StoreModalUnifiedCheckout_order">;
|
|
74
75
|
} | null;
|
|
75
76
|
} | null;
|
|
76
77
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<948655bdcf8235886f12d56f52adaee9>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -36,7 +36,7 @@ const node = function () {
|
|
|
36
36
|
"alias": null,
|
|
37
37
|
"args": null,
|
|
38
38
|
"kind": "ScalarField",
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "phoneNullable",
|
|
40
40
|
"storageKey": null
|
|
41
41
|
},
|
|
42
42
|
v4 = {
|
|
@@ -109,13 +109,19 @@ const node = function () {
|
|
|
109
109
|
}],
|
|
110
110
|
"storageKey": null
|
|
111
111
|
},
|
|
112
|
-
v11 = {
|
|
112
|
+
v11 = [{
|
|
113
113
|
"alias": null,
|
|
114
114
|
"args": null,
|
|
115
115
|
"kind": "ScalarField",
|
|
116
116
|
"name": "amount",
|
|
117
117
|
"storageKey": null
|
|
118
|
-
},
|
|
118
|
+
}, {
|
|
119
|
+
"alias": null,
|
|
120
|
+
"args": null,
|
|
121
|
+
"kind": "ScalarField",
|
|
122
|
+
"name": "currency",
|
|
123
|
+
"storageKey": null
|
|
124
|
+
}],
|
|
119
125
|
v12 = {
|
|
120
126
|
"alias": null,
|
|
121
127
|
"args": null,
|
|
@@ -185,6 +191,10 @@ const node = function () {
|
|
|
185
191
|
"args": null,
|
|
186
192
|
"kind": "FragmentSpread",
|
|
187
193
|
"name": "StoreModalUnifiedCheckout_order"
|
|
194
|
+
}, {
|
|
195
|
+
"args": null,
|
|
196
|
+
"kind": "FragmentSpread",
|
|
197
|
+
"name": "CartTotals_order"
|
|
188
198
|
}],
|
|
189
199
|
"storageKey": null
|
|
190
200
|
}, v10 /*: any*/],
|
|
@@ -231,7 +241,7 @@ const node = function () {
|
|
|
231
241
|
"kind": "LinkedField",
|
|
232
242
|
"name": "total",
|
|
233
243
|
"plural": false,
|
|
234
|
-
"selections":
|
|
244
|
+
"selections": v11 /*: any*/,
|
|
235
245
|
"storageKey": null
|
|
236
246
|
}, {
|
|
237
247
|
"alias": null,
|
|
@@ -279,13 +289,148 @@ const node = function () {
|
|
|
279
289
|
"kind": "LinkedField",
|
|
280
290
|
"name": "stripePaymentIntent",
|
|
281
291
|
"plural": false,
|
|
282
|
-
"selections":
|
|
292
|
+
"selections": v11 /*: any*/,
|
|
293
|
+
"storageKey": null
|
|
294
|
+
}, {
|
|
295
|
+
"alias": null,
|
|
296
|
+
"args": null,
|
|
297
|
+
"concreteType": "OrderVariableSelection",
|
|
298
|
+
"kind": "LinkedField",
|
|
299
|
+
"name": "orderVariableSelections",
|
|
300
|
+
"plural": true,
|
|
301
|
+
"selections": [{
|
|
302
|
+
"alias": null,
|
|
303
|
+
"args": null,
|
|
304
|
+
"concreteType": "OrderVariable",
|
|
305
|
+
"kind": "LinkedField",
|
|
306
|
+
"name": "orderVariable",
|
|
307
|
+
"plural": false,
|
|
308
|
+
"selections": [v13 /*: any*/, {
|
|
309
|
+
"alias": null,
|
|
310
|
+
"args": null,
|
|
311
|
+
"kind": "ScalarField",
|
|
312
|
+
"name": "variableType",
|
|
313
|
+
"storageKey": null
|
|
314
|
+
}],
|
|
315
|
+
"storageKey": null
|
|
316
|
+
}, {
|
|
317
|
+
"alias": null,
|
|
318
|
+
"args": null,
|
|
319
|
+
"concreteType": "OrderVariableOption",
|
|
320
|
+
"kind": "LinkedField",
|
|
321
|
+
"name": "orderVariableOption",
|
|
322
|
+
"plural": false,
|
|
323
|
+
"selections": [v13 /*: any*/],
|
|
324
|
+
"storageKey": null
|
|
325
|
+
}, {
|
|
283
326
|
"alias": null,
|
|
284
327
|
"args": null,
|
|
285
328
|
"kind": "ScalarField",
|
|
286
|
-
"name": "
|
|
329
|
+
"name": "countryCode",
|
|
287
330
|
"storageKey": null
|
|
288
|
-
}],
|
|
331
|
+
}, v13 /*: any*/],
|
|
332
|
+
"storageKey": null
|
|
333
|
+
}, {
|
|
334
|
+
"alias": null,
|
|
335
|
+
"args": null,
|
|
336
|
+
"concreteType": "Money",
|
|
337
|
+
"kind": "LinkedField",
|
|
338
|
+
"name": "subtotal",
|
|
339
|
+
"plural": false,
|
|
340
|
+
"selections": v11 /*: any*/,
|
|
341
|
+
"storageKey": null
|
|
342
|
+
}, {
|
|
343
|
+
"alias": null,
|
|
344
|
+
"args": null,
|
|
345
|
+
"concreteType": "Discount",
|
|
346
|
+
"kind": "LinkedField",
|
|
347
|
+
"name": "discount",
|
|
348
|
+
"plural": false,
|
|
349
|
+
"selections": [{
|
|
350
|
+
"alias": null,
|
|
351
|
+
"args": null,
|
|
352
|
+
"concreteType": "Money",
|
|
353
|
+
"kind": "LinkedField",
|
|
354
|
+
"name": "amount",
|
|
355
|
+
"plural": false,
|
|
356
|
+
"selections": v11 /*: any*/,
|
|
357
|
+
"storageKey": null
|
|
358
|
+
}, {
|
|
359
|
+
"alias": null,
|
|
360
|
+
"args": null,
|
|
361
|
+
"concreteType": "Coupon",
|
|
362
|
+
"kind": "LinkedField",
|
|
363
|
+
"name": "coupon",
|
|
364
|
+
"plural": false,
|
|
365
|
+
"selections": [{
|
|
366
|
+
"alias": null,
|
|
367
|
+
"args": null,
|
|
368
|
+
"kind": "ScalarField",
|
|
369
|
+
"name": "type",
|
|
370
|
+
"storageKey": null
|
|
371
|
+
}, {
|
|
372
|
+
"alias": null,
|
|
373
|
+
"args": null,
|
|
374
|
+
"kind": "ScalarField",
|
|
375
|
+
"name": "percentAmount",
|
|
376
|
+
"storageKey": null
|
|
377
|
+
}, {
|
|
378
|
+
"alias": null,
|
|
379
|
+
"args": null,
|
|
380
|
+
"concreteType": "Money",
|
|
381
|
+
"kind": "LinkedField",
|
|
382
|
+
"name": "creditAmount",
|
|
383
|
+
"plural": false,
|
|
384
|
+
"selections": v11 /*: any*/,
|
|
385
|
+
"storageKey": null
|
|
386
|
+
}, {
|
|
387
|
+
"alias": null,
|
|
388
|
+
"args": null,
|
|
389
|
+
"concreteType": "Money",
|
|
390
|
+
"kind": "LinkedField",
|
|
391
|
+
"name": "creditAmountRemaining",
|
|
392
|
+
"plural": false,
|
|
393
|
+
"selections": v11 /*: any*/,
|
|
394
|
+
"storageKey": null
|
|
395
|
+
}, v13 /*: any*/],
|
|
396
|
+
"storageKey": null
|
|
397
|
+
}, v13 /*: any*/],
|
|
398
|
+
"storageKey": null
|
|
399
|
+
}, {
|
|
400
|
+
"alias": null,
|
|
401
|
+
"args": null,
|
|
402
|
+
"concreteType": "Money",
|
|
403
|
+
"kind": "LinkedField",
|
|
404
|
+
"name": "discountedSubtotal",
|
|
405
|
+
"plural": false,
|
|
406
|
+
"selections": v11 /*: any*/,
|
|
407
|
+
"storageKey": null
|
|
408
|
+
}, {
|
|
409
|
+
"alias": null,
|
|
410
|
+
"args": null,
|
|
411
|
+
"kind": "ScalarField",
|
|
412
|
+
"name": "taxRate",
|
|
413
|
+
"storageKey": null
|
|
414
|
+
}, {
|
|
415
|
+
"alias": null,
|
|
416
|
+
"args": null,
|
|
417
|
+
"concreteType": "Money",
|
|
418
|
+
"kind": "LinkedField",
|
|
419
|
+
"name": "taxes",
|
|
420
|
+
"plural": false,
|
|
421
|
+
"selections": v11 /*: any*/,
|
|
422
|
+
"storageKey": null
|
|
423
|
+
}, {
|
|
424
|
+
"alias": null,
|
|
425
|
+
"args": null,
|
|
426
|
+
"kind": "ScalarField",
|
|
427
|
+
"name": "taxName",
|
|
428
|
+
"storageKey": null
|
|
429
|
+
}, {
|
|
430
|
+
"alias": null,
|
|
431
|
+
"args": null,
|
|
432
|
+
"kind": "ScalarField",
|
|
433
|
+
"name": "gstIncluded",
|
|
289
434
|
"storageKey": null
|
|
290
435
|
}, v13 /*: any*/],
|
|
291
436
|
"storageKey": null
|
|
@@ -294,15 +439,15 @@ const node = function () {
|
|
|
294
439
|
}]
|
|
295
440
|
},
|
|
296
441
|
"params": {
|
|
297
|
-
"cacheID": "
|
|
442
|
+
"cacheID": "559272d4e15f65c18442a4abbaa175ed",
|
|
298
443
|
"id": null,
|
|
299
444
|
"metadata": {},
|
|
300
445
|
"name": "StoreModalUnifiedCheckoutUpdateOrderMutation",
|
|
301
446
|
"operationKind": "mutation",
|
|
302
|
-
"text": "mutation StoreModalUnifiedCheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n
|
|
447
|
+
"text": "mutation StoreModalUnifiedCheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\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 Price_price on Money {\n amount\n currency\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"
|
|
303
448
|
}
|
|
304
449
|
};
|
|
305
450
|
}();
|
|
306
|
-
node.hash = "
|
|
451
|
+
node.hash = "189cd7ac579c6898dca2f4b6e07861d1";
|
|
307
452
|
var _default = node;
|
|
308
453
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<7b603a03c6d3069186401c8a9dcdf4c1>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -13,7 +13,7 @@ export type StoreModalUnifiedCheckout_order$data = {
|
|
|
13
13
|
readonly locality: string | null;
|
|
14
14
|
readonly name: string;
|
|
15
15
|
readonly organization: string | null;
|
|
16
|
-
readonly
|
|
16
|
+
readonly phoneNullable: string | null;
|
|
17
17
|
readonly street: string | null;
|
|
18
18
|
readonly sublocality: string | null;
|
|
19
19
|
readonly vatNumber: string | null;
|
|
@@ -34,7 +34,7 @@ export type StoreModalUnifiedCheckout_order$data = {
|
|
|
34
34
|
readonly locality: string | null;
|
|
35
35
|
readonly name: string;
|
|
36
36
|
readonly organization: string | null;
|
|
37
|
-
readonly
|
|
37
|
+
readonly phoneNullable: string | null;
|
|
38
38
|
readonly street: string | null;
|
|
39
39
|
readonly sublocality: string | null;
|
|
40
40
|
readonly vatNumber: string | null;
|
|
@@ -42,6 +42,16 @@ export type StoreModalUnifiedCheckout_order$data = {
|
|
|
42
42
|
readonly " $fragmentSpreads": FragmentRefs<"StoreModalReviewIdentity_identity">;
|
|
43
43
|
} | null;
|
|
44
44
|
readonly licenseeIsBillingIdentity: boolean | null;
|
|
45
|
+
readonly orderVariableSelections: ReadonlyArray<{
|
|
46
|
+
readonly countryCode: string | null;
|
|
47
|
+
readonly orderVariable: {
|
|
48
|
+
readonly id: string;
|
|
49
|
+
readonly variableType: string;
|
|
50
|
+
};
|
|
51
|
+
readonly orderVariableOption: {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
} | null;
|
|
54
|
+
}> | null;
|
|
45
55
|
readonly stripePaymentIntent: {
|
|
46
56
|
readonly amount: number | null;
|
|
47
57
|
readonly currency: string | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<7b603a03c6d3069186401c8a9dcdf4c1>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -50,7 +50,7 @@ const node = function () {
|
|
|
50
50
|
"alias": null,
|
|
51
51
|
"args": null,
|
|
52
52
|
"kind": "ScalarField",
|
|
53
|
-
"name": "
|
|
53
|
+
"name": "phoneNullable",
|
|
54
54
|
"storageKey": null
|
|
55
55
|
}, {
|
|
56
56
|
"alias": null,
|
|
@@ -94,7 +94,14 @@ const node = function () {
|
|
|
94
94
|
"kind": "ScalarField",
|
|
95
95
|
"name": "vatNumber",
|
|
96
96
|
"storageKey": null
|
|
97
|
-
}]
|
|
97
|
+
}],
|
|
98
|
+
v4 = {
|
|
99
|
+
"alias": null,
|
|
100
|
+
"args": null,
|
|
101
|
+
"kind": "ScalarField",
|
|
102
|
+
"name": "id",
|
|
103
|
+
"storageKey": null
|
|
104
|
+
};
|
|
98
105
|
return {
|
|
99
106
|
"argumentDefinitions": [],
|
|
100
107
|
"kind": "Fragment",
|
|
@@ -175,11 +182,50 @@ const node = function () {
|
|
|
175
182
|
"storageKey": null
|
|
176
183
|
}],
|
|
177
184
|
"storageKey": null
|
|
185
|
+
}, {
|
|
186
|
+
"alias": null,
|
|
187
|
+
"args": null,
|
|
188
|
+
"concreteType": "OrderVariableSelection",
|
|
189
|
+
"kind": "LinkedField",
|
|
190
|
+
"name": "orderVariableSelections",
|
|
191
|
+
"plural": true,
|
|
192
|
+
"selections": [{
|
|
193
|
+
"alias": null,
|
|
194
|
+
"args": null,
|
|
195
|
+
"concreteType": "OrderVariable",
|
|
196
|
+
"kind": "LinkedField",
|
|
197
|
+
"name": "orderVariable",
|
|
198
|
+
"plural": false,
|
|
199
|
+
"selections": [v4 /*: any*/, {
|
|
200
|
+
"alias": null,
|
|
201
|
+
"args": null,
|
|
202
|
+
"kind": "ScalarField",
|
|
203
|
+
"name": "variableType",
|
|
204
|
+
"storageKey": null
|
|
205
|
+
}],
|
|
206
|
+
"storageKey": null
|
|
207
|
+
}, {
|
|
208
|
+
"alias": null,
|
|
209
|
+
"args": null,
|
|
210
|
+
"concreteType": "OrderVariableOption",
|
|
211
|
+
"kind": "LinkedField",
|
|
212
|
+
"name": "orderVariableOption",
|
|
213
|
+
"plural": false,
|
|
214
|
+
"selections": [v4 /*: any*/],
|
|
215
|
+
"storageKey": null
|
|
216
|
+
}, {
|
|
217
|
+
"alias": null,
|
|
218
|
+
"args": null,
|
|
219
|
+
"kind": "ScalarField",
|
|
220
|
+
"name": "countryCode",
|
|
221
|
+
"storageKey": null
|
|
222
|
+
}],
|
|
223
|
+
"storageKey": null
|
|
178
224
|
}],
|
|
179
225
|
"type": "Order",
|
|
180
226
|
"abstractKey": null
|
|
181
227
|
};
|
|
182
228
|
}();
|
|
183
|
-
node.hash = "
|
|
229
|
+
node.hash = "ea43fb766c4dd1183b46ddf449aa85bd";
|
|
184
230
|
var _default = node;
|
|
185
231
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<cc9fc7acff42885f262d5497151786e2>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { ReaderFragment } from 'relay-runtime';
|
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type StoreModalUnifiedCheckout_viewer$data = {
|
|
9
9
|
readonly country: string;
|
|
10
|
+
readonly detectedCountry: string | null;
|
|
10
11
|
readonly settings: {
|
|
11
12
|
readonly eulaAgreementLabel: string | null;
|
|
12
13
|
readonly newsletterOptInLabel: string | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<cc9fc7acff42885f262d5497151786e2>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -35,6 +35,12 @@ const node = function () {
|
|
|
35
35
|
"kind": "ScalarField",
|
|
36
36
|
"name": "country",
|
|
37
37
|
"storageKey": null
|
|
38
|
+
}, {
|
|
39
|
+
"alias": null,
|
|
40
|
+
"args": null,
|
|
41
|
+
"kind": "ScalarField",
|
|
42
|
+
"name": "detectedCountry",
|
|
43
|
+
"storageKey": null
|
|
38
44
|
}, {
|
|
39
45
|
"alias": null,
|
|
40
46
|
"args": null,
|
|
@@ -62,10 +68,10 @@ const node = function () {
|
|
|
62
68
|
"storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
|
|
63
69
|
}, {
|
|
64
70
|
"alias": null,
|
|
65
|
-
"args":
|
|
71
|
+
"args": v0 /*: any*/,
|
|
66
72
|
"kind": "ScalarField",
|
|
67
73
|
"name": "newsletterOptInLabel",
|
|
68
|
-
"storageKey":
|
|
74
|
+
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
69
75
|
}, {
|
|
70
76
|
"alias": null,
|
|
71
77
|
"args": null,
|
|
@@ -94,6 +100,6 @@ const node = function () {
|
|
|
94
100
|
"abstractKey": null
|
|
95
101
|
};
|
|
96
102
|
}();
|
|
97
|
-
node.hash = "
|
|
103
|
+
node.hash = "83cc5e6f8d508fb1c2356a72b040f9b0";
|
|
98
104
|
var _default = node;
|
|
99
105
|
exports.default = _default;
|