fontdue-js 2.20.1 → 2.22.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.
Files changed (175) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/components/CharacterViewer/index.js +5 -4
  3. package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +4 -3
  4. package/dist/components/FontdueProvider/useAuxUIOwner.d.ts +1 -0
  5. package/dist/components/FontdueProvider/useAuxUIOwner.js +28 -0
  6. package/dist/components/Root/index.js +20 -19
  7. package/dist/components/TypeTester/TypeTesterFeatures.js +2 -1
  8. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +5 -3
  9. package/dist/components/TypeTester/TypeTesterStandalone.d.ts +2 -2
  10. package/dist/components/TypeTester/TypeTesterStandalone.js +2 -1
  11. package/dist/components/TypeTester/TypeTesterStandalone.preload.d.ts +14 -0
  12. package/dist/components/TypeTester/TypeTesterStandalone.preload.js +19 -0
  13. package/dist/components/TypeTester/types.d.ts +2 -0
  14. package/dist/components/TypeTester/types.js +10 -1
  15. package/dist/components/TypeTesters/TypeTestersElement.d.ts +2 -1
  16. package/dist/components/TypeTesters/TypeTestersElement.js +3 -1
  17. package/dist/components/TypeTesters/index.d.ts +2 -0
  18. package/dist/components/TypeTesters/index.js +5 -2
  19. package/dist/config.d.ts +6 -0
  20. package/dist/config.js +20 -0
  21. package/dist/corsError.js +42 -7
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.js +1 -0
  24. package/dist/retryImport.d.ts +13 -0
  25. package/dist/retryImport.js +26 -0
  26. package/dist-bundle/FontdueProvider.js +6 -0
  27. package/dist-bundle/FontdueProvider.js.map +1 -0
  28. package/dist-bundle/TypeTester.js +7 -0
  29. package/dist-bundle/TypeTester.js.map +1 -0
  30. package/dist-bundle/TypeTester.preload.js +75 -0
  31. package/dist-bundle/TypeTester.preload.js.map +1 -0
  32. package/dist-bundle/chunks/ComponentsContext-CmkN9J4X.js +20843 -0
  33. package/dist-bundle/chunks/ComponentsContext-CmkN9J4X.js.map +1 -0
  34. package/dist-bundle/chunks/CorsErrorModal-C1g_-3Re.js +95 -0
  35. package/dist-bundle/chunks/CorsErrorModal-C1g_-3Re.js.map +1 -0
  36. package/dist-bundle/chunks/TypeTesterStandalone-BMWuv8Ca.js +27486 -0
  37. package/dist-bundle/chunks/TypeTesterStandalone-BMWuv8Ca.js.map +1 -0
  38. package/dist-bundle/chunks/consent-DMvR5rEh.js +84 -0
  39. package/dist-bundle/chunks/consent-DMvR5rEh.js.map +1 -0
  40. package/dist-bundle/chunks/index-BNSbxp7B.js +78 -0
  41. package/dist-bundle/chunks/index-BNSbxp7B.js.map +1 -0
  42. package/dist-bundle/chunks/index-C4ak9qTL.js +423 -0
  43. package/dist-bundle/chunks/index-C4ak9qTL.js.map +1 -0
  44. package/dist-bundle/chunks/index-DsvF5W13.js +159 -0
  45. package/dist-bundle/chunks/index-DsvF5W13.js.map +1 -0
  46. package/dist-bundle/chunks/index-o29NNufd.js +131 -0
  47. package/dist-bundle/chunks/index-o29NNufd.js.map +1 -0
  48. package/dist-bundle/index.js +23 -0
  49. package/dist-bundle/index.js.map +1 -0
  50. package/package.json +1 -1
  51. package/dist/__generated__/CartItem_license.graphql.d.ts +0 -27
  52. package/dist/__generated__/CartItem_license.graphql.js +0 -76
  53. package/dist/__generated__/CartItem_licenseSelection.graphql.d.ts +0 -34
  54. package/dist/__generated__/CartItem_licenseSelection.graphql.js +0 -106
  55. package/dist/__generated__/CartItem_product.graphql.d.ts +0 -32
  56. package/dist/__generated__/CartItem_product.graphql.js +0 -124
  57. package/dist/__generated__/CartItem_variable.graphql.d.ts +0 -23
  58. package/dist/__generated__/CartItem_variable.graphql.js +0 -67
  59. package/dist/__generated__/CartItem_viewer.graphql.d.ts +0 -30
  60. package/dist/__generated__/CartItem_viewer.graphql.js +0 -87
  61. package/dist/__generated__/CartOrderApplyCouponMutation.graphql.d.ts +0 -21
  62. package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +0 -919
  63. package/dist/__generated__/CartStateApplyCouponMutation.graphql.d.ts +0 -21
  64. package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +0 -274
  65. package/dist/__generated__/CartTotalsCreateSnapshotMutation.graphql.d.ts +0 -22
  66. package/dist/__generated__/CartTotalsCreateSnapshotMutation.graphql.js +0 -84
  67. package/dist/__generated__/Cart_viewer.graphql.d.ts +0 -20
  68. package/dist/__generated__/Cart_viewer.graphql.js +0 -49
  69. package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +0 -21
  70. package/dist/__generated__/CharacterViewer_Query.graphql.js +0 -230
  71. package/dist/__generated__/CharacterViewer_SlugQuery.graphql.d.ts +0 -25
  72. package/dist/__generated__/CharacterViewer_SlugQuery.graphql.js +0 -257
  73. package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.d.ts +0 -17
  74. package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.js +0 -201
  75. package/dist/__generated__/CouponCodeInput_order.graphql.d.ts +0 -13
  76. package/dist/__generated__/CouponCodeInput_order.graphql.js +0 -28
  77. package/dist/__generated__/CouponCodeInput_viewer.graphql.d.ts +0 -25
  78. package/dist/__generated__/CouponCodeInput_viewer.graphql.js +0 -88
  79. package/dist/__generated__/CouponCodeRefetchQuery.graphql.d.ts +0 -22
  80. package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +0 -178
  81. package/dist/__generated__/Family_viewer.graphql.d.ts +0 -17
  82. package/dist/__generated__/FontFamilies_node.graphql.d.ts +0 -20
  83. package/dist/__generated__/FontFamilies_node.graphql.js +0 -49
  84. package/dist/__generated__/NewsletterSignup_Query.graphql.d.ts +0 -21
  85. package/dist/__generated__/NewsletterSignup_Query.graphql.js +0 -99
  86. package/dist/__generated__/NewsletterSignup_viewer.graphql.d.ts +0 -20
  87. package/dist/__generated__/NewsletterSignup_viewer.graphql.js +0 -56
  88. package/dist/__generated__/OrderVariableSelectionMutation.graphql.d.ts +0 -69
  89. package/dist/__generated__/OrderVariableSelectionMutation_viewer.graphql.d.ts +0 -30
  90. package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.d.ts +0 -26
  91. package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.js +0 -168
  92. package/dist/__generated__/PriceBarSection_viewer.graphql.d.ts +0 -17
  93. package/dist/__generated__/PriceBar_viewer.graphql.d.ts +0 -17
  94. package/dist/__generated__/SKUPriceRefetchQuery.graphql.d.ts +0 -31
  95. package/dist/__generated__/SKUPriceRefetchQuery.graphql.js +0 -130
  96. package/dist/__generated__/SKUPriceUpdateQuery.graphql.d.ts +0 -29
  97. package/dist/__generated__/SKUPrice_RefetchQuery.graphql.d.ts +0 -26
  98. package/dist/__generated__/SKUPrice_RefetchQuery.graphql.js +0 -129
  99. package/dist/__generated__/SKUPrice_viewer.graphql.d.ts +0 -19
  100. package/dist/__generated__/SelectButton_viewer.graphql.d.ts +0 -17
  101. package/dist/__generated__/SpecimenLink_node.graphql.d.ts +0 -21
  102. package/dist/__generated__/SpecimenLink_node.graphql.js +0 -55
  103. package/dist/__generated__/StoreModalBundleButton_viewer.graphql.d.ts +0 -17
  104. package/dist/__generated__/StoreModalFamilyButton_viewer.graphql.d.ts +0 -17
  105. package/dist/__generated__/StoreModalFamily_viewer.graphql.d.ts +0 -17
  106. package/dist/__generated__/StoreModalOrderVariableSelectionHookQuery.graphql.d.ts +0 -26
  107. package/dist/__generated__/StoreModalOrderVariableSelectionOrderUpdateMutation.graphql.d.ts +0 -60
  108. package/dist/__generated__/StoreModalOrderVariableSelectionRefetchQuery.graphql.d.ts +0 -26
  109. package/dist/__generated__/StoreModalOrderVariableSelectionVariable_order.graphql.d.ts +0 -27
  110. package/dist/__generated__/StoreModalOrderVariableSelectionVariable_variable.graphql.d.ts +0 -24
  111. package/dist/__generated__/StoreModalProductContent_viewer.graphql.d.ts +0 -30
  112. package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.d.ts +0 -20
  113. package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.js +0 -51
  114. package/dist/__generated__/StoreModalProductViewerRefetchQuery.graphql.d.ts +0 -31
  115. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +0 -25
  116. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +0 -442
  117. package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +0 -22
  118. package/dist/__generated__/StoreModalReviewQuery.graphql.js +0 -491
  119. package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.d.ts +0 -63
  120. package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.js +0 -445
  121. package/dist/__generated__/StoreModalReview_order.graphql.d.ts +0 -59
  122. package/dist/__generated__/StoreModalReview_order.graphql.js +0 -244
  123. package/dist/__generated__/StoreModalReview_viewer.graphql.d.ts +0 -19
  124. package/dist/__generated__/StoreModalReview_viewer.graphql.js +0 -47
  125. package/dist/__generated__/StoreModalStyleButton_viewer.graphql.d.ts +0 -17
  126. package/dist/__generated__/TestFontsForm_viewer.graphql.d.ts +0 -29
  127. package/dist/__generated__/TestFontsForm_viewer.graphql.js +0 -101
  128. package/dist/__generated__/TestModeBanner_viewer.graphql.d.ts +0 -23
  129. package/dist/__generated__/TestModeBanner_viewer.graphql.js +0 -64
  130. package/dist/__generated__/ThemeConfig_viewer.graphql.d.ts +0 -19
  131. package/dist/__generated__/ThemeConfig_viewer.graphql.js +0 -43
  132. package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.d.ts +0 -32
  133. package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.js +0 -385
  134. package/dist/__generated__/TypeTesterStyleSelect_family.graphql.d.ts +0 -33
  135. package/dist/__generated__/TypeTesterStyleSelect_fontStyle.graphql.d.ts +0 -27
  136. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +0 -41
  137. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.js +0 -344
  138. package/dist/__generated__/TypeTester_sku.graphql.d.ts +0 -21
  139. package/dist/__generated__/TypeTester_sku.graphql.js +0 -57
  140. package/dist/__generated__/useOrderVariables_order.graphql.d.ts +0 -24
  141. package/dist/__tests__/collectionBundleSelection.test.d.ts +0 -1
  142. package/dist/components/BuyButton/BuyButton.server.d.ts +0 -3
  143. package/dist/components/BuyButton/BuyButton.server.js +0 -39
  144. package/dist/components/CartButton/index-server.d.ts +0 -3
  145. package/dist/components/CartButton/index-server.js +0 -18
  146. package/dist/components/OrderVariableSelection/OrderVariableSelectionMutation.d.ts +0 -7
  147. package/dist/components/SelectField/index.d.ts +0 -13
  148. package/dist/components/SelectField/index.js +0 -49
  149. package/dist/components/StoreModal/StoreModalReview.d.ts +0 -6
  150. package/dist/components/StoreModal/StoreModalReview.js +0 -221
  151. package/dist/components/StoreModal/StoreModalRouterContext.d.ts +0 -7
  152. package/dist/components/StoreModal/StoreModalRouterContext.js +0 -11
  153. package/dist/components/StoreModal/createRouter.d.ts +0 -41
  154. package/dist/components/StoreModal/createRouter.js +0 -48
  155. package/dist/components/StoreModalProductLicenseSelection/ContainerElement.d.ts +0 -9
  156. package/dist/components/StoreModalProductLicenseSelection/ContainerElement.js +0 -25
  157. package/dist/components/Stylesheet/index.d.ts +0 -7
  158. package/dist/components/Stylesheet/index.js +0 -43
  159. package/dist/components/TestModeBanner/index.server.d.ts +0 -2
  160. package/dist/components/TestModeBanner/index.server.js +0 -17
  161. package/dist/components/elements/StoreModalReviewConfirm/index.d.ts +0 -12
  162. package/dist/components/elements/StoreModalReviewConfirm/index.js +0 -50
  163. package/dist/components/elements/StoreModalReviewItem/index.d.ts +0 -9
  164. package/dist/components/elements/StoreModalReviewItem/index.js +0 -21
  165. package/dist/components/elements/StoreModalReviewLayout/index.d.ts +0 -17
  166. package/dist/components/elements/StoreModalReviewLayout/index.js +0 -59
  167. package/dist/components/useFontLoaded.d.ts +0 -24
  168. package/dist/components/useFontLoaded.js +0 -60
  169. package/dist/deepMerge.d.ts +0 -4
  170. package/dist/deepMerge.js +0 -24
  171. package/dist/hooks/useOrderVariables.d.ts +0 -5
  172. package/dist/relay-environment.d.ts +0 -7
  173. package/dist/relay-environment.js +0 -34
  174. package/dist/utils/interpolateOrderVariableDescription.d.ts +0 -36
  175. package/dist/utils/interpolateOrderVariableDescription.test.d.ts +0 -1
@@ -1,919 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /* tslint:disable */
8
- /* eslint-disable */
9
- // @ts-nocheck
10
-
11
- /*
12
- mutation CartOrderApplyCouponMutation(
13
- $input: ApplyCouponInput!
14
- ) {
15
- applyCoupon(input: $input) {
16
- order {
17
- ...CartOrder_order
18
- id
19
- }
20
- }
21
- }
22
-
23
- fragment CartItem_node on OrderItem {
24
- id
25
- price {
26
- ...Price_price
27
- }
28
- sku {
29
- price {
30
- ...Price_price
31
- }
32
- product {
33
- __typename
34
- __isSkuProduct: __typename
35
- ...CollectionAa_product
36
- ...FontStyle_fontStyle
37
- ... on FontStyle {
38
- family {
39
- name
40
- cssUrl
41
- id
42
- }
43
- name
44
- variableInstances {
45
- name
46
- }
47
- }
48
- ... on Bundle {
49
- name
50
- }
51
- ... on FontCollection {
52
- name
53
- isVariableFont
54
- totalStyles
55
- featureStyle {
56
- family {
57
- cssUrl
58
- id
59
- }
60
- id
61
- }
62
- }
63
- ... on Node {
64
- __isNode: __typename
65
- id
66
- }
67
- }
68
- id
69
- }
70
- licenseSelections {
71
- id
72
- license {
73
- id
74
- name
75
- multiplier
76
- }
77
- variable: licenseVariable {
78
- id
79
- variableType
80
- ...VariableTableAmounts_variable
81
- }
82
- option: licenseOption {
83
- id
84
- amount
85
- multiplier
86
- name
87
- ...VariableTableAmounts_option
88
- }
89
- variableText
90
- }
91
- }
92
-
93
- fragment CartOrder_order on Order {
94
- ...Checkout_order
95
- ...Download_order
96
- ...CouponCodeInput_order
97
- ...CartTotals_order
98
- orderItems {
99
- ...CartItem_node
100
- id
101
- licenseSelections {
102
- license {
103
- id
104
- }
105
- licenseVariable {
106
- id
107
- variableType
108
- }
109
- licenseOption {
110
- id
111
- }
112
- variableText
113
- id
114
- }
115
- }
116
- discount {
117
- id
118
- }
119
- customer {
120
- email
121
- name
122
- anonymous
123
- id
124
- }
125
- billingIdentity {
126
- ...IdentityBox_identity
127
- }
128
- licenseeIdentity {
129
- ...IdentityBox_identity
130
- }
131
- licenseeIsBillingIdentity
132
- stripePaymentMethod {
133
- card {
134
- last4
135
- brand
136
- }
137
- }
138
- stripePaymentIntent {
139
- status
140
- }
141
- canCompleteWithCoupon
142
- completedWithCoupon
143
- }
144
-
145
- fragment CartTotals_order on Order {
146
- subtotal {
147
- ...Price_price
148
- }
149
- discount {
150
- amount {
151
- amount
152
- ...Price_price
153
- }
154
- coupon {
155
- ...CouponText_coupon
156
- id
157
- }
158
- id
159
- }
160
- discountedSubtotal {
161
- ...Price_price
162
- }
163
- total {
164
- amount
165
- ...Price_price
166
- }
167
- taxes {
168
- ...Price_price
169
- }
170
- taxName
171
- gstIncluded
172
- }
173
-
174
- fragment Checkout_order on Order {
175
- canCompleteWithCoupon
176
- customer {
177
- name
178
- email
179
- newsletterOptIn
180
- id
181
- }
182
- billingIdentity {
183
- name
184
- organization
185
- email
186
- phone
187
- street
188
- locality
189
- sublocality
190
- country
191
- administrativeArea
192
- zip
193
- vatNumber
194
- }
195
- licenseeIdentity {
196
- name
197
- organization
198
- email
199
- phone
200
- street
201
- locality
202
- sublocality
203
- country
204
- administrativeArea
205
- zip
206
- vatNumber
207
- }
208
- licenseeIsBillingIdentity
209
- }
210
-
211
- fragment CollectionAa_product on SkuProduct {
212
- __isSkuProduct: __typename
213
- __typename
214
- ... on FontCollection {
215
- featureStyle {
216
- ...FontStyle_fontStyle
217
- id
218
- }
219
- families: children(collectionTypes: [FAMILY]) {
220
- fontStyles {
221
- ...FontStyle_fontStyle
222
- id
223
- }
224
- id
225
- }
226
- }
227
- ... on Bundle {
228
- fontStyles {
229
- ...FontStyle_fontStyle
230
- id
231
- }
232
- }
233
- }
234
-
235
- fragment CouponCodeInput_order on Order {
236
- id
237
- }
238
-
239
- fragment CouponText_coupon on Coupon {
240
- type
241
- percentAmount
242
- creditAmountRemaining {
243
- amount
244
- currency
245
- }
246
- }
247
-
248
- fragment Download_order on Order {
249
- id
250
- archiveUrl
251
- customer {
252
- email
253
- id
254
- }
255
- completedWithCoupon
256
- }
257
-
258
- fragment FontStyle_fontStyle on FontStyle {
259
- cssFamily
260
- name
261
- }
262
-
263
- fragment IdentityBox_identity on Identity {
264
- email
265
- phoneFormatted
266
- addressFormatted
267
- vatNumber
268
- }
269
-
270
- fragment Price_price on Money {
271
- amount
272
- currency
273
- }
274
-
275
- fragment VariableTableAmounts_option on LicenseOption {
276
- amounts
277
- }
278
-
279
- fragment VariableTableAmounts_variable on LicenseVariable {
280
- units
281
- }
282
- */
283
-
284
- const node = function () {
285
- var v0 = [{
286
- "defaultValue": null,
287
- "kind": "LocalArgument",
288
- "name": "input"
289
- }],
290
- v1 = [{
291
- "kind": "Variable",
292
- "name": "input",
293
- "variableName": "input"
294
- }],
295
- v2 = {
296
- "alias": null,
297
- "args": null,
298
- "kind": "ScalarField",
299
- "name": "name",
300
- "storageKey": null
301
- },
302
- v3 = {
303
- "alias": null,
304
- "args": null,
305
- "kind": "ScalarField",
306
- "name": "email",
307
- "storageKey": null
308
- },
309
- v4 = {
310
- "alias": null,
311
- "args": null,
312
- "kind": "ScalarField",
313
- "name": "id",
314
- "storageKey": null
315
- },
316
- v5 = [v2 /*: any*/, {
317
- "alias": null,
318
- "args": null,
319
- "kind": "ScalarField",
320
- "name": "organization",
321
- "storageKey": null
322
- }, v3 /*: any*/, {
323
- "alias": null,
324
- "args": null,
325
- "kind": "ScalarField",
326
- "name": "phone",
327
- "storageKey": null
328
- }, {
329
- "alias": null,
330
- "args": null,
331
- "kind": "ScalarField",
332
- "name": "street",
333
- "storageKey": null
334
- }, {
335
- "alias": null,
336
- "args": null,
337
- "kind": "ScalarField",
338
- "name": "locality",
339
- "storageKey": null
340
- }, {
341
- "alias": null,
342
- "args": null,
343
- "kind": "ScalarField",
344
- "name": "sublocality",
345
- "storageKey": null
346
- }, {
347
- "alias": null,
348
- "args": null,
349
- "kind": "ScalarField",
350
- "name": "country",
351
- "storageKey": null
352
- }, {
353
- "alias": null,
354
- "args": null,
355
- "kind": "ScalarField",
356
- "name": "administrativeArea",
357
- "storageKey": null
358
- }, {
359
- "alias": null,
360
- "args": null,
361
- "kind": "ScalarField",
362
- "name": "zip",
363
- "storageKey": null
364
- }, {
365
- "alias": null,
366
- "args": null,
367
- "kind": "ScalarField",
368
- "name": "vatNumber",
369
- "storageKey": null
370
- }, {
371
- "alias": null,
372
- "args": null,
373
- "kind": "ScalarField",
374
- "name": "phoneFormatted",
375
- "storageKey": null
376
- }, {
377
- "alias": null,
378
- "args": null,
379
- "kind": "ScalarField",
380
- "name": "addressFormatted",
381
- "storageKey": null
382
- }],
383
- v6 = {
384
- "alias": null,
385
- "args": null,
386
- "kind": "ScalarField",
387
- "name": "amount",
388
- "storageKey": null
389
- },
390
- v7 = [v6 /*: any*/, {
391
- "alias": null,
392
- "args": null,
393
- "kind": "ScalarField",
394
- "name": "currency",
395
- "storageKey": null
396
- }],
397
- v8 = {
398
- "alias": null,
399
- "args": null,
400
- "concreteType": "Money",
401
- "kind": "LinkedField",
402
- "name": "price",
403
- "plural": false,
404
- "selections": v7 /*: any*/,
405
- "storageKey": null
406
- },
407
- v9 = {
408
- "alias": null,
409
- "args": null,
410
- "kind": "ScalarField",
411
- "name": "cssFamily",
412
- "storageKey": null
413
- },
414
- v10 = {
415
- "alias": null,
416
- "args": null,
417
- "kind": "ScalarField",
418
- "name": "cssUrl",
419
- "storageKey": null
420
- },
421
- v11 = {
422
- "alias": null,
423
- "args": null,
424
- "concreteType": "FontStyle",
425
- "kind": "LinkedField",
426
- "name": "fontStyles",
427
- "plural": true,
428
- "selections": [v9 /*: any*/, v2 /*: any*/, v4 /*: any*/],
429
-
430
- "storageKey": null
431
- },
432
- v12 = [v4 /*: any*/],
433
- v13 = {
434
- "alias": null,
435
- "args": null,
436
- "kind": "ScalarField",
437
- "name": "multiplier",
438
- "storageKey": null
439
- },
440
- v14 = {
441
- "alias": null,
442
- "args": null,
443
- "kind": "ScalarField",
444
- "name": "variableType",
445
- "storageKey": null
446
- };
447
- return {
448
- "fragment": {
449
- "argumentDefinitions": v0 /*: any*/,
450
- "kind": "Fragment",
451
- "metadata": null,
452
- "name": "CartOrderApplyCouponMutation",
453
- "selections": [{
454
- "alias": null,
455
- "args": v1 /*: any*/,
456
- "concreteType": "ApplyCouponPayload",
457
- "kind": "LinkedField",
458
- "name": "applyCoupon",
459
- "plural": false,
460
- "selections": [{
461
- "alias": null,
462
- "args": null,
463
- "concreteType": "Order",
464
- "kind": "LinkedField",
465
- "name": "order",
466
- "plural": false,
467
- "selections": [{
468
- "args": null,
469
- "kind": "FragmentSpread",
470
- "name": "CartOrder_order"
471
- }],
472
- "storageKey": null
473
- }],
474
- "storageKey": null
475
- }],
476
- "type": "RootMutationType",
477
- "abstractKey": null
478
- },
479
- "kind": "Request",
480
- "operation": {
481
- "argumentDefinitions": v0 /*: any*/,
482
- "kind": "Operation",
483
- "name": "CartOrderApplyCouponMutation",
484
- "selections": [{
485
- "alias": null,
486
- "args": v1 /*: any*/,
487
- "concreteType": "ApplyCouponPayload",
488
- "kind": "LinkedField",
489
- "name": "applyCoupon",
490
- "plural": false,
491
- "selections": [{
492
- "alias": null,
493
- "args": null,
494
- "concreteType": "Order",
495
- "kind": "LinkedField",
496
- "name": "order",
497
- "plural": false,
498
- "selections": [{
499
- "alias": null,
500
- "args": null,
501
- "kind": "ScalarField",
502
- "name": "canCompleteWithCoupon",
503
- "storageKey": null
504
- }, {
505
- "alias": null,
506
- "args": null,
507
- "concreteType": "Customer",
508
- "kind": "LinkedField",
509
- "name": "customer",
510
- "plural": false,
511
- "selections": [v2 /*: any*/, v3 /*: any*/, {
512
- "alias": null,
513
- "args": null,
514
- "kind": "ScalarField",
515
- "name": "newsletterOptIn",
516
- "storageKey": null
517
- }, v4 /*: any*/, {
518
- "alias": null,
519
- "args": null,
520
- "kind": "ScalarField",
521
- "name": "anonymous",
522
- "storageKey": null
523
- }],
524
- "storageKey": null
525
- }, {
526
- "alias": null,
527
- "args": null,
528
- "concreteType": "Identity",
529
- "kind": "LinkedField",
530
- "name": "billingIdentity",
531
- "plural": false,
532
- "selections": v5 /*: any*/,
533
- "storageKey": null
534
- }, {
535
- "alias": null,
536
- "args": null,
537
- "concreteType": "Identity",
538
- "kind": "LinkedField",
539
- "name": "licenseeIdentity",
540
- "plural": false,
541
- "selections": v5 /*: any*/,
542
- "storageKey": null
543
- }, {
544
- "alias": null,
545
- "args": null,
546
- "kind": "ScalarField",
547
- "name": "licenseeIsBillingIdentity",
548
- "storageKey": null
549
- }, v4 /*: any*/, {
550
- "alias": null,
551
- "args": null,
552
- "kind": "ScalarField",
553
- "name": "archiveUrl",
554
- "storageKey": null
555
- }, {
556
- "alias": null,
557
- "args": null,
558
- "kind": "ScalarField",
559
- "name": "completedWithCoupon",
560
- "storageKey": null
561
- }, {
562
- "alias": null,
563
- "args": null,
564
- "concreteType": "Money",
565
- "kind": "LinkedField",
566
- "name": "subtotal",
567
- "plural": false,
568
- "selections": v7 /*: any*/,
569
- "storageKey": null
570
- }, {
571
- "alias": null,
572
- "args": null,
573
- "concreteType": "Discount",
574
- "kind": "LinkedField",
575
- "name": "discount",
576
- "plural": false,
577
- "selections": [{
578
- "alias": null,
579
- "args": null,
580
- "concreteType": "Money",
581
- "kind": "LinkedField",
582
- "name": "amount",
583
- "plural": false,
584
- "selections": v7 /*: any*/,
585
- "storageKey": null
586
- }, {
587
- "alias": null,
588
- "args": null,
589
- "concreteType": "Coupon",
590
- "kind": "LinkedField",
591
- "name": "coupon",
592
- "plural": false,
593
- "selections": [{
594
- "alias": null,
595
- "args": null,
596
- "kind": "ScalarField",
597
- "name": "type",
598
- "storageKey": null
599
- }, {
600
- "alias": null,
601
- "args": null,
602
- "kind": "ScalarField",
603
- "name": "percentAmount",
604
- "storageKey": null
605
- }, {
606
- "alias": null,
607
- "args": null,
608
- "concreteType": "Money",
609
- "kind": "LinkedField",
610
- "name": "creditAmountRemaining",
611
- "plural": false,
612
- "selections": v7 /*: any*/,
613
- "storageKey": null
614
- }, v4 /*: any*/],
615
-
616
- "storageKey": null
617
- }, v4 /*: any*/],
618
-
619
- "storageKey": null
620
- }, {
621
- "alias": null,
622
- "args": null,
623
- "concreteType": "Money",
624
- "kind": "LinkedField",
625
- "name": "discountedSubtotal",
626
- "plural": false,
627
- "selections": v7 /*: any*/,
628
- "storageKey": null
629
- }, {
630
- "alias": null,
631
- "args": null,
632
- "concreteType": "Money",
633
- "kind": "LinkedField",
634
- "name": "total",
635
- "plural": false,
636
- "selections": v7 /*: any*/,
637
- "storageKey": null
638
- }, {
639
- "alias": null,
640
- "args": null,
641
- "concreteType": "Money",
642
- "kind": "LinkedField",
643
- "name": "taxes",
644
- "plural": false,
645
- "selections": v7 /*: any*/,
646
- "storageKey": null
647
- }, {
648
- "alias": null,
649
- "args": null,
650
- "kind": "ScalarField",
651
- "name": "taxName",
652
- "storageKey": null
653
- }, {
654
- "alias": null,
655
- "args": null,
656
- "kind": "ScalarField",
657
- "name": "gstIncluded",
658
- "storageKey": null
659
- }, {
660
- "alias": null,
661
- "args": null,
662
- "concreteType": "OrderItem",
663
- "kind": "LinkedField",
664
- "name": "orderItems",
665
- "plural": true,
666
- "selections": [v4 /*: any*/, v8 /*: any*/, {
667
- "alias": null,
668
- "args": null,
669
- "concreteType": "Sku",
670
- "kind": "LinkedField",
671
- "name": "sku",
672
- "plural": false,
673
- "selections": [v8 /*: any*/, {
674
- "alias": null,
675
- "args": null,
676
- "concreteType": null,
677
- "kind": "LinkedField",
678
- "name": "product",
679
- "plural": false,
680
- "selections": [{
681
- "alias": null,
682
- "args": null,
683
- "kind": "ScalarField",
684
- "name": "__typename",
685
- "storageKey": null
686
- }, {
687
- "kind": "TypeDiscriminator",
688
- "abstractKey": "__isSkuProduct"
689
- }, {
690
- "kind": "InlineFragment",
691
- "selections": [{
692
- "alias": null,
693
- "args": null,
694
- "concreteType": "FontStyle",
695
- "kind": "LinkedField",
696
- "name": "featureStyle",
697
- "plural": false,
698
- "selections": [v9 /*: any*/, v2 /*: any*/, v4 /*: any*/, {
699
- "alias": null,
700
- "args": null,
701
- "concreteType": "FontCollection",
702
- "kind": "LinkedField",
703
- "name": "family",
704
- "plural": false,
705
- "selections": [v10 /*: any*/, v4 /*: any*/],
706
-
707
- "storageKey": null
708
- }],
709
- "storageKey": null
710
- }, {
711
- "alias": "families",
712
- "args": [{
713
- "kind": "Literal",
714
- "name": "collectionTypes",
715
- "value": ["FAMILY"]
716
- }],
717
- "concreteType": "FontCollection",
718
- "kind": "LinkedField",
719
- "name": "children",
720
- "plural": true,
721
- "selections": [v11 /*: any*/, v4 /*: any*/],
722
-
723
- "storageKey": "children(collectionTypes:[\"FAMILY\"])"
724
- }, v2 /*: any*/, {
725
- "alias": null,
726
- "args": null,
727
- "kind": "ScalarField",
728
- "name": "isVariableFont",
729
- "storageKey": null
730
- }, {
731
- "alias": null,
732
- "args": null,
733
- "kind": "ScalarField",
734
- "name": "totalStyles",
735
- "storageKey": null
736
- }],
737
- "type": "FontCollection",
738
- "abstractKey": null
739
- }, {
740
- "kind": "InlineFragment",
741
- "selections": [v11 /*: any*/, v2 /*: any*/],
742
-
743
- "type": "Bundle",
744
- "abstractKey": null
745
- }, {
746
- "kind": "InlineFragment",
747
- "selections": [v9 /*: any*/, v2 /*: any*/, {
748
- "alias": null,
749
- "args": null,
750
- "concreteType": "FontCollection",
751
- "kind": "LinkedField",
752
- "name": "family",
753
- "plural": false,
754
- "selections": [v2 /*: any*/, v10 /*: any*/, v4 /*: any*/],
755
-
756
- "storageKey": null
757
- }, {
758
- "alias": null,
759
- "args": null,
760
- "concreteType": "VariableInstance",
761
- "kind": "LinkedField",
762
- "name": "variableInstances",
763
- "plural": true,
764
- "selections": [v2 /*: any*/],
765
-
766
- "storageKey": null
767
- }],
768
- "type": "FontStyle",
769
- "abstractKey": null
770
- }, {
771
- "kind": "InlineFragment",
772
- "selections": v12 /*: any*/,
773
- "type": "Node",
774
- "abstractKey": "__isNode"
775
- }],
776
- "storageKey": null
777
- }, v4 /*: any*/],
778
-
779
- "storageKey": null
780
- }, {
781
- "alias": null,
782
- "args": null,
783
- "concreteType": "LicenseSelection",
784
- "kind": "LinkedField",
785
- "name": "licenseSelections",
786
- "plural": true,
787
- "selections": [v4 /*: any*/, {
788
- "alias": null,
789
- "args": null,
790
- "concreteType": "License",
791
- "kind": "LinkedField",
792
- "name": "license",
793
- "plural": false,
794
- "selections": [v4 /*: any*/, v2 /*: any*/, v13 /*: any*/],
795
-
796
- "storageKey": null
797
- }, {
798
- "alias": "variable",
799
- "args": null,
800
- "concreteType": "LicenseVariable",
801
- "kind": "LinkedField",
802
- "name": "licenseVariable",
803
- "plural": false,
804
- "selections": [v4 /*: any*/, v14 /*: any*/, {
805
- "alias": null,
806
- "args": null,
807
- "kind": "ScalarField",
808
- "name": "units",
809
- "storageKey": null
810
- }],
811
- "storageKey": null
812
- }, {
813
- "alias": "option",
814
- "args": null,
815
- "concreteType": "LicenseOption",
816
- "kind": "LinkedField",
817
- "name": "licenseOption",
818
- "plural": false,
819
- "selections": [v4 /*: any*/, v6 /*: any*/, v13 /*: any*/, v2 /*: any*/, {
820
- "alias": null,
821
- "args": null,
822
- "kind": "ScalarField",
823
- "name": "amounts",
824
- "storageKey": null
825
- }],
826
- "storageKey": null
827
- }, {
828
- "alias": null,
829
- "args": null,
830
- "kind": "ScalarField",
831
- "name": "variableText",
832
- "storageKey": null
833
- }, {
834
- "alias": null,
835
- "args": null,
836
- "concreteType": "LicenseVariable",
837
- "kind": "LinkedField",
838
- "name": "licenseVariable",
839
- "plural": false,
840
- "selections": [v4 /*: any*/, v14 /*: any*/],
841
-
842
- "storageKey": null
843
- }, {
844
- "alias": null,
845
- "args": null,
846
- "concreteType": "LicenseOption",
847
- "kind": "LinkedField",
848
- "name": "licenseOption",
849
- "plural": false,
850
- "selections": v12 /*: any*/,
851
- "storageKey": null
852
- }],
853
- "storageKey": null
854
- }],
855
- "storageKey": null
856
- }, {
857
- "alias": null,
858
- "args": null,
859
- "concreteType": "StripePaymentMethod",
860
- "kind": "LinkedField",
861
- "name": "stripePaymentMethod",
862
- "plural": false,
863
- "selections": [{
864
- "alias": null,
865
- "args": null,
866
- "concreteType": "StripeSource",
867
- "kind": "LinkedField",
868
- "name": "card",
869
- "plural": false,
870
- "selections": [{
871
- "alias": null,
872
- "args": null,
873
- "kind": "ScalarField",
874
- "name": "last4",
875
- "storageKey": null
876
- }, {
877
- "alias": null,
878
- "args": null,
879
- "kind": "ScalarField",
880
- "name": "brand",
881
- "storageKey": null
882
- }],
883
- "storageKey": null
884
- }],
885
- "storageKey": null
886
- }, {
887
- "alias": null,
888
- "args": null,
889
- "concreteType": "StripePaymentIntent",
890
- "kind": "LinkedField",
891
- "name": "stripePaymentIntent",
892
- "plural": false,
893
- "selections": [{
894
- "alias": null,
895
- "args": null,
896
- "kind": "ScalarField",
897
- "name": "status",
898
- "storageKey": null
899
- }],
900
- "storageKey": null
901
- }],
902
- "storageKey": null
903
- }],
904
- "storageKey": null
905
- }]
906
- },
907
- "params": {
908
- "cacheID": "c36c87d5a77272cf5c58c85c54bf333b",
909
- "id": null,
910
- "metadata": {},
911
- "name": "CartOrderApplyCouponMutation",
912
- "operationKind": "mutation",
913
- "text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
914
- }
915
- };
916
- }();
917
- node.hash = '32699616cc0aee87d659a1de4c238374';
918
- var _default = node;
919
- exports.default = _default;