fontdue-js 2.15.1 → 2.16.1
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__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +5 -5
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +117 -11
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +4 -4
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +10 -4
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesters_collection.graphql.js +8 -2
- package/dist/components/Cart/CustomerFields.js +5 -2
- package/dist/components/StoreModal/StoreModalCheckout.js +0 -37
- package/dist/components/TypeTester/index.d.ts +1 -0
- package/dist/components/TypeTester/index.js +3 -1
- package/dist/components/TypeTesters/index.js +3 -2
- package/dist/components/elements/StoreModalUnifiedCheckout.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<32ef739f082b36f9849982aa3e68bdf4>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -387,10 +387,10 @@ const node = function () {
|
|
|
387
387
|
"storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
|
|
388
388
|
}, {
|
|
389
389
|
"alias": null,
|
|
390
|
-
"args":
|
|
390
|
+
"args": v9 /*: any*/,
|
|
391
391
|
"kind": "ScalarField",
|
|
392
392
|
"name": "newsletterOptInLabel",
|
|
393
|
-
"storageKey":
|
|
393
|
+
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
394
394
|
}],
|
|
395
395
|
"storageKey": null
|
|
396
396
|
}, {
|
|
@@ -873,12 +873,12 @@ const node = function () {
|
|
|
873
873
|
}]
|
|
874
874
|
},
|
|
875
875
|
"params": {
|
|
876
|
-
"cacheID": "
|
|
876
|
+
"cacheID": "0f87b0407f4a312d1e532c8fe116c7ea",
|
|
877
877
|
"id": null,
|
|
878
878
|
"metadata": {},
|
|
879
879
|
"name": "StoreModalCartQuery",
|
|
880
880
|
"operationKind": "query",
|
|
881
|
-
"text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n id\n total {\n amount\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}\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 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}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n currentOrder {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n description(format: HTML)\n }\n orderVariableOption {\n id\n amount\n }\n id\n }\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 phone\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n amount\n currency\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\n settings {\n uiFontName\n eulaAgreementLabel(format: HTML)\n storeModalSelectLicenseeLabel(format: HTML)\n newsletterOptInLabel\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"
|
|
881
|
+
"text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n id\n total {\n amount\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}\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 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}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n currentOrder {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n description(format: HTML)\n }\n orderVariableOption {\n id\n amount\n }\n id\n }\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 phone\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n amount\n currency\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\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"
|
|
882
882
|
}
|
|
883
883
|
};
|
|
884
884
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<08672c52c2443655fd58a4d585eaf169>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -70,7 +70,7 @@ export type StoreModalUnifiedCheckoutUpdateOrderMutation$data = {
|
|
|
70
70
|
readonly stripePaymentMethodId: ReadonlyArray<string | null> | null;
|
|
71
71
|
} | null;
|
|
72
72
|
readonly order: {
|
|
73
|
-
readonly " $fragmentSpreads": FragmentRefs<"StoreModalUnifiedCheckout_order">;
|
|
73
|
+
readonly " $fragmentSpreads": FragmentRefs<"CartTotals_order" | "StoreModalUnifiedCheckout_order">;
|
|
74
74
|
} | null;
|
|
75
75
|
} | null;
|
|
76
76
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<08672c52c2443655fd58a4d585eaf169>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -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,109 @@ 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": "Money",
|
|
298
|
+
"kind": "LinkedField",
|
|
299
|
+
"name": "subtotal",
|
|
300
|
+
"plural": false,
|
|
301
|
+
"selections": v11 /*: any*/,
|
|
302
|
+
"storageKey": null
|
|
303
|
+
}, {
|
|
304
|
+
"alias": null,
|
|
305
|
+
"args": null,
|
|
306
|
+
"concreteType": "Discount",
|
|
307
|
+
"kind": "LinkedField",
|
|
308
|
+
"name": "discount",
|
|
309
|
+
"plural": false,
|
|
310
|
+
"selections": [{
|
|
283
311
|
"alias": null,
|
|
284
312
|
"args": null,
|
|
285
|
-
"
|
|
286
|
-
"
|
|
313
|
+
"concreteType": "Money",
|
|
314
|
+
"kind": "LinkedField",
|
|
315
|
+
"name": "amount",
|
|
316
|
+
"plural": false,
|
|
317
|
+
"selections": v11 /*: any*/,
|
|
287
318
|
"storageKey": null
|
|
288
|
-
}
|
|
319
|
+
}, {
|
|
320
|
+
"alias": null,
|
|
321
|
+
"args": null,
|
|
322
|
+
"concreteType": "Coupon",
|
|
323
|
+
"kind": "LinkedField",
|
|
324
|
+
"name": "coupon",
|
|
325
|
+
"plural": false,
|
|
326
|
+
"selections": [{
|
|
327
|
+
"alias": null,
|
|
328
|
+
"args": null,
|
|
329
|
+
"kind": "ScalarField",
|
|
330
|
+
"name": "type",
|
|
331
|
+
"storageKey": null
|
|
332
|
+
}, {
|
|
333
|
+
"alias": null,
|
|
334
|
+
"args": null,
|
|
335
|
+
"kind": "ScalarField",
|
|
336
|
+
"name": "percentAmount",
|
|
337
|
+
"storageKey": null
|
|
338
|
+
}, {
|
|
339
|
+
"alias": null,
|
|
340
|
+
"args": null,
|
|
341
|
+
"concreteType": "Money",
|
|
342
|
+
"kind": "LinkedField",
|
|
343
|
+
"name": "creditAmount",
|
|
344
|
+
"plural": false,
|
|
345
|
+
"selections": v11 /*: any*/,
|
|
346
|
+
"storageKey": null
|
|
347
|
+
}, {
|
|
348
|
+
"alias": null,
|
|
349
|
+
"args": null,
|
|
350
|
+
"concreteType": "Money",
|
|
351
|
+
"kind": "LinkedField",
|
|
352
|
+
"name": "creditAmountRemaining",
|
|
353
|
+
"plural": false,
|
|
354
|
+
"selections": v11 /*: any*/,
|
|
355
|
+
"storageKey": null
|
|
356
|
+
}, v13 /*: any*/],
|
|
357
|
+
"storageKey": null
|
|
358
|
+
}, v13 /*: any*/],
|
|
359
|
+
"storageKey": null
|
|
360
|
+
}, {
|
|
361
|
+
"alias": null,
|
|
362
|
+
"args": null,
|
|
363
|
+
"concreteType": "Money",
|
|
364
|
+
"kind": "LinkedField",
|
|
365
|
+
"name": "discountedSubtotal",
|
|
366
|
+
"plural": false,
|
|
367
|
+
"selections": v11 /*: any*/,
|
|
368
|
+
"storageKey": null
|
|
369
|
+
}, {
|
|
370
|
+
"alias": null,
|
|
371
|
+
"args": null,
|
|
372
|
+
"kind": "ScalarField",
|
|
373
|
+
"name": "taxRate",
|
|
374
|
+
"storageKey": null
|
|
375
|
+
}, {
|
|
376
|
+
"alias": null,
|
|
377
|
+
"args": null,
|
|
378
|
+
"concreteType": "Money",
|
|
379
|
+
"kind": "LinkedField",
|
|
380
|
+
"name": "taxes",
|
|
381
|
+
"plural": false,
|
|
382
|
+
"selections": v11 /*: any*/,
|
|
383
|
+
"storageKey": null
|
|
384
|
+
}, {
|
|
385
|
+
"alias": null,
|
|
386
|
+
"args": null,
|
|
387
|
+
"kind": "ScalarField",
|
|
388
|
+
"name": "taxName",
|
|
389
|
+
"storageKey": null
|
|
390
|
+
}, {
|
|
391
|
+
"alias": null,
|
|
392
|
+
"args": null,
|
|
393
|
+
"kind": "ScalarField",
|
|
394
|
+
"name": "gstIncluded",
|
|
289
395
|
"storageKey": null
|
|
290
396
|
}, v13 /*: any*/],
|
|
291
397
|
"storageKey": null
|
|
@@ -294,15 +400,15 @@ const node = function () {
|
|
|
294
400
|
}]
|
|
295
401
|
},
|
|
296
402
|
"params": {
|
|
297
|
-
"cacheID": "
|
|
403
|
+
"cacheID": "b6ea04e56a4160f1a24ff1031cd7290b",
|
|
298
404
|
"id": null,
|
|
299
405
|
"metadata": {},
|
|
300
406
|
"name": "StoreModalUnifiedCheckoutUpdateOrderMutation",
|
|
301
407
|
"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 phone\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phone\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\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 phone\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n amount\n currency\n }\n}\n"
|
|
408
|
+
"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 phone\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phone\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 phone\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n amount\n currency\n }\n}\n"
|
|
303
409
|
}
|
|
304
410
|
};
|
|
305
411
|
}();
|
|
306
|
-
node.hash = "
|
|
412
|
+
node.hash = "189cd7ac579c6898dca2f4b6e07861d1";
|
|
307
413
|
var _default = node;
|
|
308
414
|
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<<3d3c7a15da22a68edf7d3d3241fc8498>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -62,10 +62,10 @@ const node = function () {
|
|
|
62
62
|
"storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
|
|
63
63
|
}, {
|
|
64
64
|
"alias": null,
|
|
65
|
-
"args":
|
|
65
|
+
"args": v0 /*: any*/,
|
|
66
66
|
"kind": "ScalarField",
|
|
67
67
|
"name": "newsletterOptInLabel",
|
|
68
|
-
"storageKey":
|
|
68
|
+
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
69
69
|
}, {
|
|
70
70
|
"alias": null,
|
|
71
71
|
"args": null,
|
|
@@ -94,6 +94,6 @@ const node = function () {
|
|
|
94
94
|
"abstractKey": null
|
|
95
95
|
};
|
|
96
96
|
}();
|
|
97
|
-
node.hash = "
|
|
97
|
+
node.hash = "568763fc3756be6256c132ebf0fcacb7";
|
|
98
98
|
var _default = node;
|
|
99
99
|
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<<94b5d191e2d009e3c429a070604ade9a>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -518,6 +518,12 @@ const node = function () {
|
|
|
518
518
|
"storageKey": null
|
|
519
519
|
}, v15 /*: any*/],
|
|
520
520
|
"storageKey": null
|
|
521
|
+
}, {
|
|
522
|
+
"alias": null,
|
|
523
|
+
"args": null,
|
|
524
|
+
"kind": "ScalarField",
|
|
525
|
+
"name": "tags",
|
|
526
|
+
"storageKey": null
|
|
521
527
|
}],
|
|
522
528
|
"storageKey": null
|
|
523
529
|
}],
|
|
@@ -553,12 +559,12 @@ const node = function () {
|
|
|
553
559
|
}]
|
|
554
560
|
},
|
|
555
561
|
"params": {
|
|
556
|
-
"cacheID": "
|
|
562
|
+
"cacheID": "b76d1b4332733cb59fa65c1a8fe4987b",
|
|
557
563
|
"id": null,
|
|
558
564
|
"metadata": {},
|
|
559
565
|
"name": "TypeTestersIDQuery",
|
|
560
566
|
"operationKind": "query",
|
|
561
|
-
"text": "query TypeTestersIDQuery(\n $collectionId: ID!\n $tags: [String!]\n $excludeTags: [String!]\n $selectable: Boolean!\n) {\n viewer {\n ...TypeTesters_viewer_4g9a6U\n id\n }\n collection: node(id: $collectionId) {\n __typename\n ...TypeTesters_collection_4Goyz5\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node_3BtHDv on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_3BtHDv\n id\n priceWithLicenseOptions: price(licenseOptions: [], orderVariables: []) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node_3BtHDv on FontCollection {\n ...PriceBarSection_node_3BtHDv\n parent {\n ...PriceBarSection_node_3BtHDv\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_3BtHDv on Sku {\n id\n price(licenseOptions: [], orderVariables: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku_3BtHDv on Sku {\n id\n ...SKUPrice_sku_3BtHDv\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...TypeTesterToolbar_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer_4g9a6U on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) @include(if: $selectable) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_3BtHDv on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_3BtHDv\n ...SKUPrice_sku_3BtHDv\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment TypeTester_viewer_4g9a6U on Viewer {\n ...TypeTesterStyleSelectData_viewer_4g9a6U\n}\n\nfragment TypeTesters_collection_4Goyz5 on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n letterSpacing\n autofit\n direction\n fontStyle {\n ...TypeTester_fontStyle_3BtHDv\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node_3BtHDv\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node_3BtHDv\n }\n parent {\n id\n }\n}\n\nfragment TypeTesters_viewer_4g9a6U on Viewer {\n ...TypeTester_viewer_4g9a6U\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
567
|
+
"text": "query TypeTestersIDQuery(\n $collectionId: ID!\n $tags: [String!]\n $excludeTags: [String!]\n $selectable: Boolean!\n) {\n viewer {\n ...TypeTesters_viewer_4g9a6U\n id\n }\n collection: node(id: $collectionId) {\n __typename\n ...TypeTesters_collection_4Goyz5\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node_3BtHDv on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_3BtHDv\n id\n priceWithLicenseOptions: price(licenseOptions: [], orderVariables: []) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node_3BtHDv on FontCollection {\n ...PriceBarSection_node_3BtHDv\n parent {\n ...PriceBarSection_node_3BtHDv\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_3BtHDv on Sku {\n id\n price(licenseOptions: [], orderVariables: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku_3BtHDv on Sku {\n id\n ...SKUPrice_sku_3BtHDv\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...TypeTesterToolbar_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer_4g9a6U on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) @include(if: $selectable) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_3BtHDv on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_3BtHDv\n ...SKUPrice_sku_3BtHDv\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment TypeTester_viewer_4g9a6U on Viewer {\n ...TypeTesterStyleSelectData_viewer_4g9a6U\n}\n\nfragment TypeTesters_collection_4Goyz5 on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n letterSpacing\n autofit\n direction\n fontStyle {\n ...TypeTester_fontStyle_3BtHDv\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n tags\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node_3BtHDv\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node_3BtHDv\n }\n parent {\n id\n }\n}\n\nfragment TypeTesters_viewer_4g9a6U on Viewer {\n ...TypeTester_viewer_4g9a6U\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
562
568
|
}
|
|
563
569
|
};
|
|
564
570
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<20a5cba73c3c7720810ea0fe15e6b4f2>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -441,6 +441,12 @@ const node = function () {
|
|
|
441
441
|
"storageKey": null
|
|
442
442
|
}, v13 /*: any*/],
|
|
443
443
|
"storageKey": null
|
|
444
|
+
}, {
|
|
445
|
+
"alias": null,
|
|
446
|
+
"args": null,
|
|
447
|
+
"kind": "ScalarField",
|
|
448
|
+
"name": "tags",
|
|
449
|
+
"storageKey": null
|
|
444
450
|
}],
|
|
445
451
|
"storageKey": null
|
|
446
452
|
}],
|
|
@@ -480,15 +486,15 @@ const node = function () {
|
|
|
480
486
|
}]
|
|
481
487
|
},
|
|
482
488
|
"params": {
|
|
483
|
-
"cacheID": "
|
|
489
|
+
"cacheID": "af929eba890f273bb737138085843f46",
|
|
484
490
|
"id": null,
|
|
485
491
|
"metadata": {},
|
|
486
492
|
"name": "TypeTestersRefetchQuery",
|
|
487
493
|
"operationKind": "query",
|
|
488
|
-
"text": "query TypeTestersRefetchQuery(\n $excludeTags: [String!] = null\n $licenseOptions: [LicenseOptionsSpec] = []\n $orderVariables: [OrderVariableSelectionInput!] = []\n $tags: [String!] = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...TypeTesters_collection_32it0Z\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node_4sncub on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_4sncub\n id\n priceWithLicenseOptions: price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node_4sncub on FontCollection {\n ...PriceBarSection_node_4sncub\n parent {\n ...PriceBarSection_node_4sncub\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku_4sncub on Sku {\n id\n ...SKUPrice_sku_4sncub\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...TypeTesterToolbar_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_4sncub on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_4sncub\n ...SKUPrice_sku_4sncub\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment TypeTesters_collection_32it0Z on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n letterSpacing\n autofit\n direction\n fontStyle {\n ...TypeTester_fontStyle_4sncub\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node_4sncub\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node_4sncub\n }\n parent {\n id\n }\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
494
|
+
"text": "query TypeTestersRefetchQuery(\n $excludeTags: [String!] = null\n $licenseOptions: [LicenseOptionsSpec] = []\n $orderVariables: [OrderVariableSelectionInput!] = []\n $tags: [String!] = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...TypeTesters_collection_32it0Z\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node_4sncub on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_4sncub\n id\n priceWithLicenseOptions: price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node_4sncub on FontCollection {\n ...PriceBarSection_node_4sncub\n parent {\n ...PriceBarSection_node_4sncub\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku_4sncub on Sku {\n id\n ...SKUPrice_sku_4sncub\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...TypeTesterToolbar_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_4sncub on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_4sncub\n ...SKUPrice_sku_4sncub\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment TypeTesters_collection_32it0Z on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n letterSpacing\n autofit\n direction\n fontStyle {\n ...TypeTester_fontStyle_4sncub\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n tags\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node_4sncub\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node_4sncub\n }\n parent {\n id\n }\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
489
495
|
}
|
|
490
496
|
};
|
|
491
497
|
}();
|
|
492
|
-
node.hash = "
|
|
498
|
+
node.hash = "0f8422550dd500368594bfedc5f58bf4";
|
|
493
499
|
var _default = node;
|
|
494
500
|
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<<336fbf3445bf08b7ba432f258245a31f>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -524,6 +524,12 @@ const node = function () {
|
|
|
524
524
|
"storageKey": null
|
|
525
525
|
}, v15 /*: any*/],
|
|
526
526
|
"storageKey": null
|
|
527
|
+
}, {
|
|
528
|
+
"alias": null,
|
|
529
|
+
"args": null,
|
|
530
|
+
"kind": "ScalarField",
|
|
531
|
+
"name": "tags",
|
|
532
|
+
"storageKey": null
|
|
527
533
|
}],
|
|
528
534
|
"storageKey": null
|
|
529
535
|
}],
|
|
@@ -560,12 +566,12 @@ const node = function () {
|
|
|
560
566
|
}]
|
|
561
567
|
},
|
|
562
568
|
"params": {
|
|
563
|
-
"cacheID": "
|
|
569
|
+
"cacheID": "51eebc5e6173227dc8993607cbb18eed",
|
|
564
570
|
"id": null,
|
|
565
571
|
"metadata": {},
|
|
566
572
|
"name": "TypeTestersSlugQuery",
|
|
567
573
|
"operationKind": "query",
|
|
568
|
-
"text": "query TypeTestersSlugQuery(\n $collectionSlug: String!\n $tags: [String!]\n $excludeTags: [String!]\n $selectable: Boolean!\n) {\n viewer {\n ...TypeTesters_viewer_4g9a6U\n slug(name: $collectionSlug) {\n collection: fontCollection {\n ...TypeTesters_collection_4Goyz5\n id\n }\n id\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node_3BtHDv on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_3BtHDv\n id\n priceWithLicenseOptions: price(licenseOptions: [], orderVariables: []) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node_3BtHDv on FontCollection {\n ...PriceBarSection_node_3BtHDv\n parent {\n ...PriceBarSection_node_3BtHDv\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_3BtHDv on Sku {\n id\n price(licenseOptions: [], orderVariables: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku_3BtHDv on Sku {\n id\n ...SKUPrice_sku_3BtHDv\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...TypeTesterToolbar_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer_4g9a6U on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) @include(if: $selectable) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_3BtHDv on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_3BtHDv\n ...SKUPrice_sku_3BtHDv\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment TypeTester_viewer_4g9a6U on Viewer {\n ...TypeTesterStyleSelectData_viewer_4g9a6U\n}\n\nfragment TypeTesters_collection_4Goyz5 on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n letterSpacing\n autofit\n direction\n fontStyle {\n ...TypeTester_fontStyle_3BtHDv\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node_3BtHDv\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node_3BtHDv\n }\n parent {\n id\n }\n}\n\nfragment TypeTesters_viewer_4g9a6U on Viewer {\n ...TypeTester_viewer_4g9a6U\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
574
|
+
"text": "query TypeTestersSlugQuery(\n $collectionSlug: String!\n $tags: [String!]\n $excludeTags: [String!]\n $selectable: Boolean!\n) {\n viewer {\n ...TypeTesters_viewer_4g9a6U\n slug(name: $collectionSlug) {\n collection: fontCollection {\n ...TypeTesters_collection_4Goyz5\n id\n }\n id\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment PriceBarSection_node_3BtHDv on FontCollection {\n id\n name\n collectionType\n sku {\n ...SelectButton_sku_3BtHDv\n id\n priceWithLicenseOptions: price(licenseOptions: [], orderVariables: []) {\n ...Price_price\n }\n }\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n ...Price_price\n }\n}\n\nfragment PriceBar_node_3BtHDv on FontCollection {\n ...PriceBarSection_node_3BtHDv\n parent {\n ...PriceBarSection_node_3BtHDv\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_3BtHDv on Sku {\n id\n price(licenseOptions: [], orderVariables: []) {\n amount\n ...Price_price\n }\n}\n\nfragment SelectButton_sku_3BtHDv on Sku {\n id\n ...SKUPrice_sku_3BtHDv\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterFloatingToolbar_testers on TypeTester {\n id\n fontStyle {\n ...TypeTesterToolbar_fontStyle\n ...TypeTesterFeatures_fontStyle\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterStyleSelectData_viewer_4g9a6U on Viewer {\n families: fontCollections(collectionTypes: [FAMILY], first: 999) @include(if: $selectable) {\n edges {\n node {\n id\n name\n isVariableFont\n fontStyles {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n }\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_3BtHDv on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_3BtHDv\n ...SKUPrice_sku_3BtHDv\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment TypeTester_viewer_4g9a6U on Viewer {\n ...TypeTesterStyleSelectData_viewer_4g9a6U\n}\n\nfragment TypeTesters_collection_4Goyz5 on FontCollection {\n typeTesters(first: 999, tags: $tags, excludeTags: $excludeTags) {\n edges {\n node {\n id\n content\n size\n lineHeight\n letterSpacing\n autofit\n direction\n fontStyle {\n ...TypeTester_fontStyle_3BtHDv\n id\n family {\n id\n }\n }\n variableSettings {\n axis\n value\n }\n featureSettings {\n feature\n value\n }\n tags\n ...TypeTesterFloatingToolbar_testers\n }\n }\n }\n typeTesterFeatures\n typeTesterAxes\n id\n ...PriceBar_node_3BtHDv\n families: children(collectionTypes: [FAMILY]) {\n id\n ...PriceBar_node_3BtHDv\n }\n parent {\n id\n }\n}\n\nfragment TypeTesters_viewer_4g9a6U on Viewer {\n ...TypeTester_viewer_4g9a6U\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
569
575
|
}
|
|
570
576
|
};
|
|
571
577
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<75efdd64f4cf6c5d2378da307264aa2c>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -37,6 +37,7 @@ export type TypeTesters_collection$data = {
|
|
|
37
37
|
readonly letterSpacing: string | null;
|
|
38
38
|
readonly lineHeight: string | null;
|
|
39
39
|
readonly size: string | null;
|
|
40
|
+
readonly tags: ReadonlyArray<string> | null;
|
|
40
41
|
readonly variableSettings: ReadonlyArray<{
|
|
41
42
|
readonly axis: string;
|
|
42
43
|
readonly value: number;
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _TypeTestersRefetchQuery = _interopRequireDefault(require("./TypeTestersRefetchQuery.graphql"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
/**
|
|
10
|
-
* @generated SignedSource<<
|
|
10
|
+
* @generated SignedSource<<75efdd64f4cf6c5d2378da307264aa2c>>
|
|
11
11
|
* @lightSyntaxTransform
|
|
12
12
|
* @nogrep
|
|
13
13
|
*/
|
|
@@ -198,6 +198,12 @@ const node = function () {
|
|
|
198
198
|
"storageKey": null
|
|
199
199
|
}, v3 /*: any*/],
|
|
200
200
|
"storageKey": null
|
|
201
|
+
}, {
|
|
202
|
+
"alias": null,
|
|
203
|
+
"args": null,
|
|
204
|
+
"kind": "ScalarField",
|
|
205
|
+
"name": "tags",
|
|
206
|
+
"storageKey": null
|
|
201
207
|
}, {
|
|
202
208
|
"args": null,
|
|
203
209
|
"kind": "FragmentSpread",
|
|
@@ -247,6 +253,6 @@ const node = function () {
|
|
|
247
253
|
"abstractKey": null
|
|
248
254
|
};
|
|
249
255
|
}();
|
|
250
|
-
node.hash = "
|
|
256
|
+
node.hash = "0f8422550dd500368594bfedc5f58bf4";
|
|
251
257
|
var _default = node;
|
|
252
258
|
exports.default = _default;
|
|
@@ -66,8 +66,11 @@ const CustomerFields = _ref => {
|
|
|
66
66
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
67
67
|
className: "checkbox__icon"
|
|
68
68
|
}, config.checkboxStyle === 'check' ? /*#__PURE__*/_react.default.createElement(_Check.default, null) : /*#__PURE__*/_react.default.createElement(_X.default, null))), /*#__PURE__*/_react.default.createElement("label", {
|
|
69
|
-
htmlFor: "customer-newsletter-opt-in"
|
|
70
|
-
|
|
69
|
+
htmlFor: "customer-newsletter-opt-in",
|
|
70
|
+
dangerouslySetInnerHTML: {
|
|
71
|
+
__html: optInLabel
|
|
72
|
+
}
|
|
73
|
+
}))));
|
|
71
74
|
};
|
|
72
75
|
var _default = CustomerFields;
|
|
73
76
|
exports.default = _default;
|
|
@@ -16,43 +16,6 @@ const StoreModalCheckout = _ref => {
|
|
|
16
16
|
} = _ref;
|
|
17
17
|
const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalCheckoutQuery2.default.hash && _StoreModalCheckoutQuery2.default.hash !== "70ae58665e32b49a33ffd9d27ff5e0cc" && console.error("The definition of 'StoreModalCheckoutQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalCheckoutQuery2.default), prepared.checkoutQuery);
|
|
18
18
|
const viewer = data.viewer;
|
|
19
|
-
/* const dispatch = useDispatch();
|
|
20
|
-
* const { checkoutStep, setCheckoutStep, checkoutError, setCheckoutError } = useContext(
|
|
21
|
-
* StoreModalCheckoutContext,
|
|
22
|
-
* );
|
|
23
|
-
* const handleComplete = () => {
|
|
24
|
-
* dispatch({ type: 'STORE_MODAL_NAVIGATE', route: 'review' });
|
|
25
|
-
* };
|
|
26
|
-
* const canSkipCheckout = Boolean(viewer.currentOrder?.stripePaymentMethod?.id);
|
|
27
|
-
* const handleSetCheckoutStep = (step: CheckoutSteps) => {
|
|
28
|
-
* setCheckoutError?.(null);
|
|
29
|
-
* if (canSkipCheckout) {
|
|
30
|
-
* dispatch({ type: 'STORE_MODAL_NAVIGATE', route: 'review' });
|
|
31
|
-
* return;
|
|
32
|
-
* }
|
|
33
|
-
* setCheckoutStep?.(step);
|
|
34
|
-
* };
|
|
35
|
-
* return (
|
|
36
|
-
* <StoreModalPageContainer>
|
|
37
|
-
* {{
|
|
38
|
-
* body: (
|
|
39
|
-
* <Checkout
|
|
40
|
-
* checkoutStep={checkoutStep}
|
|
41
|
-
* setCheckoutStep={handleSetCheckoutStep}
|
|
42
|
-
* viewer={viewer}
|
|
43
|
-
* order={viewer.currentOrder}
|
|
44
|
-
* onScrollToTop={() => {}}
|
|
45
|
-
* onCancel={() => {}}
|
|
46
|
-
* onComplete={handleComplete}
|
|
47
|
-
* saveText={canSkipCheckout ? 'Save' : 'Next'}
|
|
48
|
-
* error={checkoutError}
|
|
49
|
-
* skipPaymentMethod
|
|
50
|
-
* />
|
|
51
|
-
* ),
|
|
52
|
-
* }}
|
|
53
|
-
* </StoreModalPageContainer>
|
|
54
|
-
* ); */
|
|
55
|
-
|
|
56
19
|
return /*#__PURE__*/_react.default.createElement(_StripeProvider.default, {
|
|
57
20
|
viewer: viewer,
|
|
58
21
|
providerType: "checkout"
|
|
@@ -64,6 +64,7 @@ interface TypeTesterProps extends TypeTesterBaseProps {
|
|
|
64
64
|
fontStyle: TypeTester_fontStyle$key | null;
|
|
65
65
|
viewer: TypeTester_viewer$key;
|
|
66
66
|
onStyleSelect: (fontStyleId: string) => void;
|
|
67
|
+
tags?: readonly string[] | null;
|
|
67
68
|
isLoading?: boolean;
|
|
68
69
|
}
|
|
69
70
|
declare const TypeTester: React.FunctionComponent<TypeTesterProps>;
|
|
@@ -31,6 +31,7 @@ const TypeTester = _ref => {
|
|
|
31
31
|
productId,
|
|
32
32
|
fontStyle: fontStyleKey,
|
|
33
33
|
viewer: viewerKey,
|
|
34
|
+
tags,
|
|
34
35
|
onFocus,
|
|
35
36
|
onBlur,
|
|
36
37
|
features,
|
|
@@ -78,7 +79,8 @@ const TypeTester = _ref => {
|
|
|
78
79
|
"data-shy": config.shy,
|
|
79
80
|
"data-select-button-style": config.selectButtonStyle,
|
|
80
81
|
"data-alignment": props.alignment,
|
|
81
|
-
"data-loading": isLoading
|
|
82
|
+
"data-loading": isLoading,
|
|
83
|
+
"data-tags": tags === null || tags === void 0 ? void 0 : tags.join(' ')
|
|
82
84
|
}, axesPosition === 'above' ? /*#__PURE__*/_react.default.createElement(_TypeTesterVariableAxes.default, {
|
|
83
85
|
id: id,
|
|
84
86
|
axes: axes,
|
|
@@ -80,7 +80,7 @@ function TypeTestersComponent(_ref) {
|
|
|
80
80
|
licenseOptionsSpecs,
|
|
81
81
|
orderVariableSelections
|
|
82
82
|
} = (0, _useLicenseAndOrderVariables.useLicenseAndOrderVariables)();
|
|
83
|
-
const [collection, refetch] = (0, _reactRelay.useRefetchableFragment)((_TypeTesters_collection2.default.hash && _TypeTesters_collection2.default.hash !== "
|
|
83
|
+
const [collection, refetch] = (0, _reactRelay.useRefetchableFragment)((_TypeTesters_collection2.default.hash && _TypeTesters_collection2.default.hash !== "0f8422550dd500368594bfedc5f58bf4" && console.error("The definition of 'TypeTesters_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesters_collection2.default), collectionKey);
|
|
84
84
|
const handleStyleSelect = (0, _react.useCallback)((testerId, fontStyleId) => {
|
|
85
85
|
const newChangedStyles = {
|
|
86
86
|
...changedStyles,
|
|
@@ -181,7 +181,8 @@ function TypeTestersComponent(_ref) {
|
|
|
181
181
|
productId: productId,
|
|
182
182
|
features: collection.typeTesterFeatures,
|
|
183
183
|
axes: collection.typeTesterAxes,
|
|
184
|
-
viewer: viewer
|
|
184
|
+
viewer: viewer,
|
|
185
|
+
tags: node.tags
|
|
185
186
|
}));
|
|
186
187
|
}));
|
|
187
188
|
}));
|
|
@@ -114,7 +114,7 @@ function StoreModalUnifiedCheckout(_ref2) {
|
|
|
114
114
|
viewer: viewerKey,
|
|
115
115
|
onScrollToTop
|
|
116
116
|
} = _ref2;
|
|
117
|
-
const viewer = (0, _reactRelay.useFragment)((_StoreModalUnifiedCheckout_viewer2.default.hash && _StoreModalUnifiedCheckout_viewer2.default.hash !== "
|
|
117
|
+
const viewer = (0, _reactRelay.useFragment)((_StoreModalUnifiedCheckout_viewer2.default.hash && _StoreModalUnifiedCheckout_viewer2.default.hash !== "568763fc3756be6256c132ebf0fcacb7" && console.error("The definition of 'StoreModalUnifiedCheckout_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalUnifiedCheckout_viewer2.default), viewerKey);
|
|
118
118
|
const order = (0, _reactRelay.useFragment)((_StoreModalUnifiedCheckout_order2.default.hash && _StoreModalUnifiedCheckout_order2.default.hash !== "94683a80ba2c7104fd80f9e508cd6d70" && console.error("The definition of 'StoreModalUnifiedCheckout_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalUnifiedCheckout_order2.default), orderKey);
|
|
119
119
|
const initialIdentity = {
|
|
120
120
|
...defaultIdentity,
|
|
@@ -185,7 +185,7 @@ function StoreModalUnifiedCheckout(_ref2) {
|
|
|
185
185
|
}, [environment]);
|
|
186
186
|
const updateOrder = (0, _react.useCallback)((variables, onSuccess, onError) => {
|
|
187
187
|
(0, _reactRelay.commitMutation)(environment, {
|
|
188
|
-
mutation: (_StoreModalUnifiedCheckoutUpdateOrderMutation2.default.hash && _StoreModalUnifiedCheckoutUpdateOrderMutation2.default.hash !== "
|
|
188
|
+
mutation: (_StoreModalUnifiedCheckoutUpdateOrderMutation2.default.hash && _StoreModalUnifiedCheckoutUpdateOrderMutation2.default.hash !== "189cd7ac579c6898dca2f4b6e07861d1" && console.error("The definition of 'StoreModalUnifiedCheckoutUpdateOrderMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalUnifiedCheckoutUpdateOrderMutation2.default),
|
|
189
189
|
variables,
|
|
190
190
|
onCompleted: (res, errors) => onCompleted(res, errors, onSuccess),
|
|
191
191
|
onError
|