fontdue-js 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +5 -4
- package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddToCartBannerQuery.graphql.js +16 -10
- package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +4 -1
- package/dist/__generated__/AddToCartBanner_item.graphql.js +7 -2
- package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +4 -1
- package/dist/__generated__/AddToCartBanner_order.graphql.js +6 -1
- package/dist/__generated__/BuyButtonIDQuery.graphql.d.ts +3 -3
- package/dist/__generated__/BuyButtonIDQuery.graphql.js +31 -16
- package/dist/__generated__/BuyButtonPackIDQuery.graphql.d.ts +21 -0
- package/dist/__generated__/BuyButtonPackIDQuery.graphql.js +129 -0
- package/dist/__generated__/BuyButtonPackSlugQuery.graphql.d.ts +25 -0
- package/dist/__generated__/BuyButtonPackSlugQuery.graphql.js +167 -0
- package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +3 -3
- package/dist/__generated__/BuyButtonSlugQuery.graphql.js +45 -17
- package/dist/__generated__/BuyButton_product.graphql.d.ts +27 -0
- package/dist/__generated__/BuyButton_product.graphql.js +72 -0
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -1
- package/dist/__generated__/CartItemProduct_product.graphql.js +7 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +26 -20
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +26 -20
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +26 -20
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +26 -20
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +26 -20
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +26 -20
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +26 -20
- package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
- package/dist/__generated__/CollectionAa_Query.graphql.js +20 -14
- package/dist/__generated__/CollectionAa_product.graphql.d.ts +7 -1
- package/dist/__generated__/CollectionAa_product.graphql.js +22 -16
- package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.d.ts +3 -3
- package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.js +9 -9
- package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.d.ts +25 -0
- package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.js +108 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -26
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +9 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +174 -110
- package/dist/__generated__/StoreModalPackButton_fontPack.graphql.d.ts +33 -0
- package/dist/__generated__/StoreModalPackButton_fontPack.graphql.js +119 -0
- package/dist/__generated__/StoreModalPack_fontPack.graphql.d.ts +45 -0
- package/dist/__generated__/StoreModalPack_fontPack.graphql.js +150 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +3 -2
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +36 -19
- package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +6 -6
- package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.js → StoreModalProductLicenseSelection_licenseable.graphql.js} +5 -5
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +159 -103
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +184 -128
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +248 -171
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +9 -4
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +7 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +7 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +26 -20
- package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
- package/dist/__generated__/productState_Query.graphql.js +43 -4
- package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
- package/dist/__generated__/productState_fontPack.graphql.js +117 -0
- package/dist/__tests__/bundleSelectionOrder.test.js +2 -0
- package/dist/__tests__/collectionBundleSelection.test.js +2 -0
- package/dist/__tests__/fontPackSelection.test.js +435 -0
- package/dist/__tests__/licenseExclusions.test.js +2 -0
- package/dist/__tests__/storeModalPackButton.test.js +102 -0
- package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
- package/dist/__tests__/storeModalRoutes.test.js +9 -0
- package/dist/components/AddToCartBanner/index.js +1 -1
- package/dist/components/BuyButton/index.d.ts +29 -9
- package/dist/components/BuyButton/index.js +123 -26
- package/dist/components/BuyButton/index.server.d.ts +4 -2
- package/dist/components/BuyButton/index.server.js +24 -3
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
- package/dist/components/CollectionAa/index.js +2 -2
- package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
- package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
- package/dist/components/NodePasswordForm/index.d.ts +7 -4
- package/dist/components/NodePasswordForm/index.js +6 -6
- package/dist/components/Root/productState.js +57 -7
- package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalFamily.js +7 -5
- package/dist/components/StoreModal/StoreModalIndex.js +13 -3
- package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
- package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
- package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
- package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
- package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
- package/dist/components/StoreModal/StoreModalPack.js +79 -0
- package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
- package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
- package/dist/components/StoreModal/StoreModalProduct.js +38 -15
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.js +6 -6
- package/dist/components/StoreModalProductSummary/index.js +1 -1
- package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -1
- package/dist/fontdue.css +6 -0
- package/dist/reducer.d.ts +7 -0
- package/dist/reducer.js +9 -0
- package/dist/selection.d.ts +5 -1
- package/dist/selection.js +61 -16
- package/dist/storeModalRoutes.js +5 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
- package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
- package/fontdue.css +0 -2733
- package/fontdue.css.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<707ad44162117449e3674411f5f6f383>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -306,43 +306,135 @@ const node = function () {
|
|
|
306
306
|
"storageKey": null
|
|
307
307
|
},
|
|
308
308
|
v31 = {
|
|
309
|
+
"alias": null,
|
|
310
|
+
"args": null,
|
|
311
|
+
"kind": "ScalarField",
|
|
312
|
+
"name": "cssStyle",
|
|
313
|
+
"storageKey": null
|
|
314
|
+
},
|
|
315
|
+
v32 = {
|
|
309
316
|
"alias": null,
|
|
310
317
|
"args": null,
|
|
311
318
|
"concreteType": "FontStyle",
|
|
312
319
|
"kind": "LinkedField",
|
|
313
320
|
"name": "fontStyles",
|
|
314
321
|
"plural": true,
|
|
315
|
-
"selections": [v4 /*: any*/, v18 /*: any*/, v27 /*: any*/, v28 /*: any*/,
|
|
316
|
-
"alias": null,
|
|
317
|
-
"args": null,
|
|
318
|
-
"kind": "ScalarField",
|
|
319
|
-
"name": "cssStyle",
|
|
320
|
-
"storageKey": null
|
|
321
|
-
}, v12 /*: any*/, v22 /*: any*/, v29 /*: any*/, v15 /*: any*/, v20 /*: any*/, v21 /*: any*/],
|
|
322
|
+
"selections": [v4 /*: any*/, v18 /*: any*/, v27 /*: any*/, v28 /*: any*/, v31 /*: any*/, v12 /*: any*/, v22 /*: any*/, v29 /*: any*/, v15 /*: any*/, v20 /*: any*/, v21 /*: any*/],
|
|
322
323
|
"storageKey": null
|
|
323
324
|
},
|
|
324
|
-
|
|
325
|
+
v33 = {
|
|
326
|
+
"alias": null,
|
|
327
|
+
"args": v26 /*: any*/,
|
|
328
|
+
"concreteType": "FontCollection",
|
|
329
|
+
"kind": "LinkedField",
|
|
330
|
+
"name": "children",
|
|
331
|
+
"plural": true,
|
|
332
|
+
"selections": [v10 /*: any*/, v24 /*: any*/, v4 /*: any*/, v9 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v17 /*: any*/, v23 /*: any*/, v25 /*: any*/, {
|
|
333
|
+
"alias": null,
|
|
334
|
+
"args": v26 /*: any*/,
|
|
335
|
+
"concreteType": "FontCollection",
|
|
336
|
+
"kind": "LinkedField",
|
|
337
|
+
"name": "children",
|
|
338
|
+
"plural": true,
|
|
339
|
+
"selections": [v10 /*: any*/, v24 /*: any*/, v4 /*: any*/],
|
|
340
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
341
|
+
}, v30 /*: any*/, v32 /*: any*/],
|
|
342
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
343
|
+
},
|
|
344
|
+
v34 = {
|
|
325
345
|
"kind": "Literal",
|
|
326
346
|
"name": "format",
|
|
327
347
|
"value": "HTML"
|
|
328
348
|
},
|
|
329
|
-
|
|
330
|
-
|
|
349
|
+
v35 = [v34 /*: any*/],
|
|
350
|
+
v36 = {
|
|
331
351
|
"alias": null,
|
|
332
352
|
"args": null,
|
|
333
353
|
"kind": "ScalarField",
|
|
334
354
|
"name": "variableType",
|
|
335
355
|
"storageKey": null
|
|
336
356
|
},
|
|
337
|
-
|
|
338
|
-
|
|
357
|
+
v37 = {
|
|
358
|
+
"kind": "InlineFragment",
|
|
359
|
+
"selections": [{
|
|
360
|
+
"alias": null,
|
|
361
|
+
"args": null,
|
|
362
|
+
"concreteType": "License",
|
|
363
|
+
"kind": "LinkedField",
|
|
364
|
+
"name": "licenses",
|
|
365
|
+
"plural": true,
|
|
366
|
+
"selections": [v4 /*: any*/, v19 /*: any*/, v12 /*: any*/, {
|
|
367
|
+
"alias": null,
|
|
368
|
+
"args": v35 /*: any*/,
|
|
369
|
+
"kind": "ScalarField",
|
|
370
|
+
"name": "description",
|
|
371
|
+
"storageKey": "description(format:\"HTML\")"
|
|
372
|
+
}, {
|
|
373
|
+
"alias": null,
|
|
374
|
+
"args": null,
|
|
375
|
+
"kind": "ScalarField",
|
|
376
|
+
"name": "defaultSelected",
|
|
377
|
+
"storageKey": null
|
|
378
|
+
}, {
|
|
379
|
+
"alias": null,
|
|
380
|
+
"args": null,
|
|
381
|
+
"concreteType": "License",
|
|
382
|
+
"kind": "LinkedField",
|
|
383
|
+
"name": "excludedLicenses",
|
|
384
|
+
"plural": true,
|
|
385
|
+
"selections": v16 /*: any*/,
|
|
386
|
+
"storageKey": null
|
|
387
|
+
}, {
|
|
388
|
+
"alias": "variables",
|
|
389
|
+
"args": null,
|
|
390
|
+
"concreteType": "LicenseVariable",
|
|
391
|
+
"kind": "LinkedField",
|
|
392
|
+
"name": "licenseVariables",
|
|
393
|
+
"plural": true,
|
|
394
|
+
"selections": [v4 /*: any*/, v12 /*: any*/, v36 /*: any*/, {
|
|
395
|
+
"alias": null,
|
|
396
|
+
"args": null,
|
|
397
|
+
"kind": "ScalarField",
|
|
398
|
+
"name": "units",
|
|
399
|
+
"storageKey": null
|
|
400
|
+
}, {
|
|
401
|
+
"alias": "options",
|
|
402
|
+
"args": null,
|
|
403
|
+
"concreteType": "LicenseOption",
|
|
404
|
+
"kind": "LinkedField",
|
|
405
|
+
"name": "licenseOptions",
|
|
406
|
+
"plural": true,
|
|
407
|
+
"selections": [v4 /*: any*/, v12 /*: any*/, v13 /*: any*/, {
|
|
408
|
+
"alias": null,
|
|
409
|
+
"args": null,
|
|
410
|
+
"kind": "ScalarField",
|
|
411
|
+
"name": "amounts",
|
|
412
|
+
"storageKey": null
|
|
413
|
+
}],
|
|
414
|
+
"storageKey": null
|
|
415
|
+
}],
|
|
416
|
+
"storageKey": null
|
|
417
|
+
}],
|
|
418
|
+
"storageKey": null
|
|
419
|
+
}],
|
|
420
|
+
"type": "Licenseable",
|
|
421
|
+
"abstractKey": "__isLicenseable"
|
|
422
|
+
},
|
|
423
|
+
v38 = {
|
|
424
|
+
"kind": "InlineFragment",
|
|
425
|
+
"selections": v16 /*: any*/,
|
|
426
|
+
"type": "Node",
|
|
427
|
+
"abstractKey": "__isNode"
|
|
428
|
+
},
|
|
429
|
+
v39 = [v13 /*: any*/],
|
|
430
|
+
v40 = [v24 /*: any*/, {
|
|
339
431
|
"alias": null,
|
|
340
432
|
"args": v7 /*: any*/,
|
|
341
433
|
"concreteType": "Money",
|
|
342
434
|
"kind": "LinkedField",
|
|
343
435
|
"name": "totalStylesPrice",
|
|
344
436
|
"plural": false,
|
|
345
|
-
"selections":
|
|
437
|
+
"selections": v39 /*: any*/,
|
|
346
438
|
"storageKey": null
|
|
347
439
|
}];
|
|
348
440
|
return {
|
|
@@ -398,86 +490,50 @@ const node = function () {
|
|
|
398
490
|
"abstractKey": "__isNode"
|
|
399
491
|
}, {
|
|
400
492
|
"kind": "InlineFragment",
|
|
401
|
-
"selections": [v9 /*: any*/, v10 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v17 /*: any*/, v23 /*: any*/, v24 /*: any*/, v25 /*: any*/,
|
|
493
|
+
"selections": [v9 /*: any*/, v10 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v17 /*: any*/, v23 /*: any*/, v24 /*: any*/, v25 /*: any*/, v33 /*: any*/, v30 /*: any*/, v32 /*: any*/, v37 /*: any*/],
|
|
494
|
+
"type": "FontCollection",
|
|
495
|
+
"abstractKey": null
|
|
496
|
+
}, {
|
|
497
|
+
"kind": "InlineFragment",
|
|
498
|
+
"selections": [v12 /*: any*/, v15 /*: any*/, v23 /*: any*/, v24 /*: any*/, {
|
|
402
499
|
"alias": null,
|
|
403
|
-
"args":
|
|
404
|
-
"concreteType": "
|
|
500
|
+
"args": v7 /*: any*/,
|
|
501
|
+
"concreteType": "Money",
|
|
405
502
|
"kind": "LinkedField",
|
|
406
|
-
"name": "
|
|
407
|
-
"plural":
|
|
408
|
-
"selections":
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
"concreteType": "FontCollection",
|
|
412
|
-
"kind": "LinkedField",
|
|
413
|
-
"name": "children",
|
|
414
|
-
"plural": true,
|
|
415
|
-
"selections": [v10 /*: any*/, v24 /*: any*/, v4 /*: any*/],
|
|
416
|
-
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
417
|
-
}, v30 /*: any*/, v31 /*: any*/],
|
|
418
|
-
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
419
|
-
}, v30 /*: any*/, v31 /*: any*/, {
|
|
503
|
+
"name": "totalStylesPrice",
|
|
504
|
+
"plural": false,
|
|
505
|
+
"selections": v14 /*: any*/,
|
|
506
|
+
"storageKey": null
|
|
507
|
+
}, {
|
|
420
508
|
"alias": null,
|
|
421
509
|
"args": null,
|
|
422
|
-
"concreteType":
|
|
510
|
+
"concreteType": null,
|
|
423
511
|
"kind": "LinkedField",
|
|
424
|
-
"name": "
|
|
512
|
+
"name": "members",
|
|
425
513
|
"plural": true,
|
|
426
|
-
"selections": [
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
"kind": "ScalarField",
|
|
430
|
-
"name": "description",
|
|
431
|
-
"storageKey": "description(format:\"HTML\")"
|
|
432
|
-
}, {
|
|
433
|
-
"alias": null,
|
|
434
|
-
"args": null,
|
|
435
|
-
"kind": "ScalarField",
|
|
436
|
-
"name": "defaultSelected",
|
|
437
|
-
"storageKey": null
|
|
438
|
-
}, {
|
|
439
|
-
"alias": null,
|
|
440
|
-
"args": null,
|
|
441
|
-
"concreteType": "License",
|
|
442
|
-
"kind": "LinkedField",
|
|
443
|
-
"name": "excludedLicenses",
|
|
444
|
-
"plural": true,
|
|
445
|
-
"selections": v16 /*: any*/,
|
|
446
|
-
"storageKey": null
|
|
447
|
-
}, {
|
|
448
|
-
"alias": "variables",
|
|
449
|
-
"args": null,
|
|
450
|
-
"concreteType": "LicenseVariable",
|
|
451
|
-
"kind": "LinkedField",
|
|
452
|
-
"name": "licenseVariables",
|
|
453
|
-
"plural": true,
|
|
454
|
-
"selections": [v4 /*: any*/, v12 /*: any*/, v34 /*: any*/, {
|
|
514
|
+
"selections": [v8 /*: any*/, {
|
|
515
|
+
"kind": "InlineFragment",
|
|
516
|
+
"selections": [v4 /*: any*/, v18 /*: any*/, v27 /*: any*/, v28 /*: any*/, v31 /*: any*/, {
|
|
455
517
|
"alias": null,
|
|
456
518
|
"args": null,
|
|
457
|
-
"
|
|
458
|
-
"name": "units",
|
|
459
|
-
"storageKey": null
|
|
460
|
-
}, {
|
|
461
|
-
"alias": "options",
|
|
462
|
-
"args": null,
|
|
463
|
-
"concreteType": "LicenseOption",
|
|
519
|
+
"concreteType": "FontCollection",
|
|
464
520
|
"kind": "LinkedField",
|
|
465
|
-
"name": "
|
|
466
|
-
"plural":
|
|
467
|
-
"selections": [v4 /*: any*/, v12 /*: any*/,
|
|
468
|
-
"alias": null,
|
|
469
|
-
"args": null,
|
|
470
|
-
"kind": "ScalarField",
|
|
471
|
-
"name": "amounts",
|
|
472
|
-
"storageKey": null
|
|
473
|
-
}],
|
|
521
|
+
"name": "family",
|
|
522
|
+
"plural": false,
|
|
523
|
+
"selections": [v4 /*: any*/, v12 /*: any*/, v10 /*: any*/, v9 /*: any*/],
|
|
474
524
|
"storageKey": null
|
|
475
|
-
}],
|
|
476
|
-
"
|
|
477
|
-
|
|
525
|
+
}, v12 /*: any*/, v22 /*: any*/, v29 /*: any*/, v15 /*: any*/, v20 /*: any*/, v21 /*: any*/],
|
|
526
|
+
"type": "FontStyle",
|
|
527
|
+
"abstractKey": null
|
|
528
|
+
}, {
|
|
529
|
+
"kind": "InlineFragment",
|
|
530
|
+
"selections": [v4 /*: any*/, v9 /*: any*/, v10 /*: any*/, v11 /*: any*/, v12 /*: any*/, v15 /*: any*/, v17 /*: any*/, v23 /*: any*/, v24 /*: any*/, v25 /*: any*/, v33 /*: any*/, v30 /*: any*/, v32 /*: any*/],
|
|
531
|
+
"type": "FontCollection",
|
|
532
|
+
"abstractKey": null
|
|
533
|
+
}, v38 /*: any*/],
|
|
478
534
|
"storageKey": null
|
|
479
|
-
}],
|
|
480
|
-
"type": "
|
|
535
|
+
}, v37 /*: any*/],
|
|
536
|
+
"type": "FontPack",
|
|
481
537
|
"abstractKey": null
|
|
482
538
|
}],
|
|
483
539
|
"storageKey": null
|
|
@@ -507,9 +563,9 @@ const node = function () {
|
|
|
507
563
|
"kind": "LinkedField",
|
|
508
564
|
"name": "orderVariables",
|
|
509
565
|
"plural": true,
|
|
510
|
-
"selections": [v4 /*: any*/, v12 /*: any*/,
|
|
566
|
+
"selections": [v4 /*: any*/, v12 /*: any*/, v36 /*: any*/, {
|
|
511
567
|
"alias": null,
|
|
512
|
-
"args": [
|
|
568
|
+
"args": [v34 /*: any*/, v6 /*: any*/],
|
|
513
569
|
"kind": "ScalarField",
|
|
514
570
|
"name": "description",
|
|
515
571
|
"storageKey": null
|
|
@@ -575,49 +631,49 @@ const node = function () {
|
|
|
575
631
|
"storageKey": null
|
|
576
632
|
}, {
|
|
577
633
|
"alias": null,
|
|
578
|
-
"args":
|
|
634
|
+
"args": v35 /*: any*/,
|
|
579
635
|
"kind": "ScalarField",
|
|
580
636
|
"name": "storeModalSelectLicenseeLabel",
|
|
581
637
|
"storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
|
|
582
638
|
}, {
|
|
583
639
|
"alias": null,
|
|
584
|
-
"args":
|
|
640
|
+
"args": v35 /*: any*/,
|
|
585
641
|
"kind": "ScalarField",
|
|
586
642
|
"name": "storeModalLicenseeSelfLabel",
|
|
587
643
|
"storageKey": "storeModalLicenseeSelfLabel(format:\"HTML\")"
|
|
588
644
|
}, {
|
|
589
645
|
"alias": null,
|
|
590
|
-
"args":
|
|
646
|
+
"args": v35 /*: any*/,
|
|
591
647
|
"kind": "ScalarField",
|
|
592
648
|
"name": "storeModalLicenseeSelfDescription",
|
|
593
649
|
"storageKey": "storeModalLicenseeSelfDescription(format:\"HTML\")"
|
|
594
650
|
}, {
|
|
595
651
|
"alias": null,
|
|
596
|
-
"args":
|
|
652
|
+
"args": v35 /*: any*/,
|
|
597
653
|
"kind": "ScalarField",
|
|
598
654
|
"name": "storeModalLicenseeClientLabel",
|
|
599
655
|
"storageKey": "storeModalLicenseeClientLabel(format:\"HTML\")"
|
|
600
656
|
}, {
|
|
601
657
|
"alias": null,
|
|
602
|
-
"args":
|
|
658
|
+
"args": v35 /*: any*/,
|
|
603
659
|
"kind": "ScalarField",
|
|
604
660
|
"name": "storeModalLicenseeClientDescription",
|
|
605
661
|
"storageKey": "storeModalLicenseeClientDescription(format:\"HTML\")"
|
|
606
662
|
}, {
|
|
607
663
|
"alias": null,
|
|
608
|
-
"args":
|
|
664
|
+
"args": v35 /*: any*/,
|
|
609
665
|
"kind": "ScalarField",
|
|
610
666
|
"name": "storeModalSelectOrderVariablesLabel",
|
|
611
667
|
"storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
|
|
612
668
|
}, {
|
|
613
669
|
"alias": null,
|
|
614
|
-
"args":
|
|
670
|
+
"args": v35 /*: any*/,
|
|
615
671
|
"kind": "ScalarField",
|
|
616
672
|
"name": "storeModalSelectLicensesLabel",
|
|
617
673
|
"storageKey": "storeModalSelectLicensesLabel(format:\"HTML\")"
|
|
618
674
|
}, {
|
|
619
675
|
"alias": null,
|
|
620
|
-
"args":
|
|
676
|
+
"args": v35 /*: any*/,
|
|
621
677
|
"kind": "ScalarField",
|
|
622
678
|
"name": "storeModalSelectFontsLabel",
|
|
623
679
|
"storageKey": "storeModalSelectFontsLabel(format:\"HTML\")"
|
|
@@ -669,7 +725,7 @@ const node = function () {
|
|
|
669
725
|
"kind": "LinkedField",
|
|
670
726
|
"name": "price",
|
|
671
727
|
"plural": false,
|
|
672
|
-
"selections":
|
|
728
|
+
"selections": v39 /*: any*/,
|
|
673
729
|
"storageKey": null
|
|
674
730
|
}, {
|
|
675
731
|
"alias": null,
|
|
@@ -680,25 +736,25 @@ const node = function () {
|
|
|
680
736
|
"plural": false,
|
|
681
737
|
"selections": [v8 /*: any*/, {
|
|
682
738
|
"kind": "InlineFragment",
|
|
683
|
-
"selections":
|
|
739
|
+
"selections": v40 /*: any*/,
|
|
684
740
|
"type": "FontCollection",
|
|
685
741
|
"abstractKey": null
|
|
686
742
|
}, {
|
|
687
743
|
"kind": "InlineFragment",
|
|
688
|
-
"selections":
|
|
744
|
+
"selections": v40 /*: any*/,
|
|
689
745
|
"type": "Bundle",
|
|
690
746
|
"abstractKey": null
|
|
691
747
|
}, {
|
|
692
748
|
"kind": "InlineFragment",
|
|
693
|
-
"selections":
|
|
749
|
+
"selections": v40 /*: any*/,
|
|
694
750
|
"type": "CollectionBundle",
|
|
695
751
|
"abstractKey": null
|
|
696
752
|
}, {
|
|
697
753
|
"kind": "InlineFragment",
|
|
698
|
-
"selections":
|
|
699
|
-
"type": "
|
|
700
|
-
"abstractKey":
|
|
701
|
-
}],
|
|
754
|
+
"selections": v40 /*: any*/,
|
|
755
|
+
"type": "FontPack",
|
|
756
|
+
"abstractKey": null
|
|
757
|
+
}, v38 /*: any*/],
|
|
702
758
|
"storageKey": null
|
|
703
759
|
}, v4 /*: any*/],
|
|
704
760
|
"storageKey": null
|
|
@@ -718,12 +774,12 @@ const node = function () {
|
|
|
718
774
|
}]
|
|
719
775
|
},
|
|
720
776
|
"params": {
|
|
721
|
-
"cacheID": "
|
|
777
|
+
"cacheID": "02189659d07ea5233232f832804173b7",
|
|
722
778
|
"id": null,
|
|
723
779
|
"metadata": {},
|
|
724
780
|
"name": "StoreModalProductQuery",
|
|
725
781
|
"operationKind": "query",
|
|
726
|
-
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...
|
|
782
|
+
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on FontPack {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
727
783
|
}
|
|
728
784
|
};
|
|
729
785
|
}();
|