fontdue-js 1.10.2 → 1.11.0-alpha1

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 (27) hide show
  1. package/dist/__generated__/CartQuery.graphql.js +134 -122
  2. package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +0 -2
  3. package/dist/__generated__/StoreModalContainerQuery.graphql.js +7 -35
  4. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +71 -15
  5. package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +1 -1
  6. package/dist/__generated__/StoreModalReviewQuery.graphql.js +148 -51
  7. package/dist/__generated__/StoreModalReview_order.graphql.d.ts +9 -0
  8. package/dist/__generated__/StoreModalReview_order.graphql.js +67 -20
  9. package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +5 -0
  10. package/dist/__generated__/StripeProvider_viewer.graphql.js +25 -1
  11. package/dist/components/Cart/Checkout.d.ts +2 -1
  12. package/dist/components/Cart/Checkout.js +14 -4
  13. package/dist/components/Cart/index.js +2 -1
  14. package/dist/components/FontdueProvider/index.d.ts +2 -1
  15. package/dist/components/FontdueProvider/index.js +6 -1
  16. package/dist/components/Root/index.js +1 -0
  17. package/dist/components/StoreModal/StoreModalCheckout.js +2 -1
  18. package/dist/components/StoreModal/StoreModalContainer.js +3 -6
  19. package/dist/components/StoreModal/StoreModalReview.js +70 -50
  20. package/dist/components/StripeProvider/index.d.ts +2 -1
  21. package/dist/components/StripeProvider/index.js +8 -4
  22. package/dist/components/elements/StoreModalReviewConfirm/index.d.ts +1 -0
  23. package/dist/components/elements/StoreModalReviewConfirm/index.js +3 -2
  24. package/dist/components/elements/StoreModalReviewLayout/index.js +1 -3
  25. package/dist/relay-environment.d.ts +1 -0
  26. package/dist/relay-environment.js +2 -1
  27. package/package.json +2 -2
@@ -327,6 +327,12 @@ fragment StripeProvider_viewer on Viewer {
327
327
  stripeCredentials {
328
328
  stripePublishableKey
329
329
  }
330
+ currentOrder {
331
+ stripePaymentIntent {
332
+ clientSecret
333
+ }
334
+ id
335
+ }
330
336
  }
331
337
 
332
338
  fragment VariableTableAmounts_option on LicenseOption {
@@ -354,33 +360,19 @@ const node = function () {
354
360
  "storageKey": null
355
361
  },
356
362
  v2 = {
357
- "alias": null,
358
- "args": null,
359
- "kind": "ScalarField",
360
- "name": "variableType",
361
- "storageKey": null
362
- },
363
- v3 = {
364
- "alias": null,
365
- "args": null,
366
- "kind": "ScalarField",
367
- "name": "amount",
368
- "storageKey": null
369
- },
370
- v4 = {
371
363
  "alias": null,
372
364
  "args": null,
373
365
  "kind": "ScalarField",
374
366
  "name": "email",
375
367
  "storageKey": null
376
368
  },
377
- v5 = [v1 /*: any*/, {
369
+ v3 = [v1 /*: any*/, {
378
370
  "alias": null,
379
371
  "args": null,
380
372
  "kind": "ScalarField",
381
373
  "name": "organization",
382
374
  "storageKey": null
383
- }, v4 /*: any*/, {
375
+ }, v2 /*: any*/, {
384
376
  "alias": null,
385
377
  "args": null,
386
378
  "kind": "ScalarField",
@@ -441,55 +433,69 @@ const node = function () {
441
433
  "name": "addressFormatted",
442
434
  "storageKey": null
443
435
  }],
444
- v6 = [v3 /*: any*/, {
436
+ v4 = {
437
+ "alias": null,
438
+ "args": null,
439
+ "kind": "ScalarField",
440
+ "name": "amount",
441
+ "storageKey": null
442
+ },
443
+ v5 = [v4 /*: any*/, {
445
444
  "alias": null,
446
445
  "args": null,
447
446
  "kind": "ScalarField",
448
447
  "name": "currency",
449
448
  "storageKey": null
450
449
  }],
451
- v7 = {
450
+ v6 = {
452
451
  "alias": null,
453
452
  "args": null,
454
453
  "concreteType": "Money",
455
454
  "kind": "LinkedField",
456
455
  "name": "price",
457
456
  "plural": false,
458
- "selections": v6 /*: any*/,
457
+ "selections": v5 /*: any*/,
459
458
  "storageKey": null
460
459
  },
461
- v8 = {
460
+ v7 = {
462
461
  "alias": null,
463
462
  "args": null,
464
463
  "kind": "ScalarField",
465
464
  "name": "cssFamily",
466
465
  "storageKey": null
467
466
  },
468
- v9 = {
467
+ v8 = {
469
468
  "alias": null,
470
469
  "args": null,
471
470
  "kind": "ScalarField",
472
471
  "name": "cssUrl",
473
472
  "storageKey": null
474
473
  },
475
- v10 = {
474
+ v9 = {
476
475
  "alias": null,
477
476
  "args": null,
478
477
  "concreteType": "FontStyle",
479
478
  "kind": "LinkedField",
480
479
  "name": "fontStyles",
481
480
  "plural": true,
482
- "selections": [v8 /*: any*/, v1 /*: any*/, v0 /*: any*/],
481
+ "selections": [v7 /*: any*/, v1 /*: any*/, v0 /*: any*/],
483
482
 
484
483
  "storageKey": null
485
484
  },
486
- v11 = [v0 /*: any*/],
487
- v12 = {
485
+ v10 = [v0 /*: any*/],
486
+ v11 = {
488
487
  "alias": null,
489
488
  "args": null,
490
489
  "kind": "ScalarField",
491
490
  "name": "multiplier",
492
491
  "storageKey": null
492
+ },
493
+ v12 = {
494
+ "alias": null,
495
+ "args": null,
496
+ "kind": "ScalarField",
497
+ "name": "variableType",
498
+ "storageKey": null
493
499
  };
494
500
  return {
495
501
  "fragment": {
@@ -578,77 +584,35 @@ const node = function () {
578
584
  "storageKey": null
579
585
  }],
580
586
  "storageKey": null
581
- }, {
582
- "alias": null,
583
- "args": [{
584
- "kind": "Literal",
585
- "name": "licenseTypes",
586
- "value": ["RETAIL"]
587
- }],
588
- "concreteType": "License",
589
- "kind": "LinkedField",
590
- "name": "licenses",
591
- "plural": true,
592
- "selections": [v0 /*: any*/, v1 /*: any*/, {
593
- "alias": "variables",
594
- "args": null,
595
- "concreteType": "LicenseVariable",
596
- "kind": "LinkedField",
597
- "name": "licenseVariables",
598
- "plural": true,
599
- "selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, {
600
- "alias": "options",
601
- "args": null,
602
- "concreteType": "LicenseOption",
603
- "kind": "LinkedField",
604
- "name": "licenseOptions",
605
- "plural": true,
606
- "selections": [v0 /*: any*/, v3 /*: any*/, v1 /*: any*/],
607
-
608
- "storageKey": null
609
- }],
610
- "storageKey": null
611
- }],
612
- "storageKey": "licenses(licenseTypes:[\"RETAIL\"])"
613
587
  }, {
614
588
  "alias": null,
615
589
  "args": null,
616
- "concreteType": "Country",
617
- "kind": "LinkedField",
618
- "name": "countries",
619
- "plural": true,
620
- "selections": [{
621
- "alias": null,
622
- "args": null,
623
- "kind": "ScalarField",
624
- "name": "code",
625
- "storageKey": null
626
- }, v1 /*: any*/],
627
-
628
- "storageKey": null
629
- }, {
630
- "alias": null,
631
- "args": null,
632
- "concreteType": "ThemeConfig",
590
+ "concreteType": "Order",
633
591
  "kind": "LinkedField",
634
- "name": "themeConfig",
592
+ "name": "currentOrder",
635
593
  "plural": false,
636
594
  "selections": [{
637
595
  "alias": null,
638
596
  "args": null,
639
- "kind": "ScalarField",
640
- "name": "customProperties",
597
+ "concreteType": "StripePaymentIntent",
598
+ "kind": "LinkedField",
599
+ "name": "stripePaymentIntent",
600
+ "plural": false,
601
+ "selections": [{
602
+ "alias": null,
603
+ "args": null,
604
+ "kind": "ScalarField",
605
+ "name": "clientSecret",
606
+ "storageKey": null
607
+ }, {
608
+ "alias": null,
609
+ "args": null,
610
+ "kind": "ScalarField",
611
+ "name": "status",
612
+ "storageKey": null
613
+ }],
641
614
  "storageKey": null
642
- }],
643
- "storageKey": null
644
- }, {
645
- "alias": null,
646
- "args": null,
647
- "concreteType": "Order",
648
- "kind": "LinkedField",
649
- "name": "currentOrder",
650
- "plural": false,
651
- "selections": [{
615
+ }, v0 /*: any*/, {
652
616
  "alias": null,
653
617
  "args": null,
654
618
  "kind": "ScalarField",
@@ -661,7 +625,7 @@ const node = function () {
661
625
  "kind": "LinkedField",
662
626
  "name": "customer",
663
627
  "plural": false,
664
- "selections": [v1 /*: any*/, v4 /*: any*/, {
628
+ "selections": [v1 /*: any*/, v2 /*: any*/, {
665
629
  "alias": null,
666
630
  "args": null,
667
631
  "kind": "ScalarField",
@@ -682,7 +646,7 @@ const node = function () {
682
646
  "kind": "LinkedField",
683
647
  "name": "billingIdentity",
684
648
  "plural": false,
685
- "selections": v5 /*: any*/,
649
+ "selections": v3 /*: any*/,
686
650
  "storageKey": null
687
651
  }, {
688
652
  "alias": null,
@@ -691,7 +655,7 @@ const node = function () {
691
655
  "kind": "LinkedField",
692
656
  "name": "licenseeIdentity",
693
657
  "plural": false,
694
- "selections": v5 /*: any*/,
658
+ "selections": v3 /*: any*/,
695
659
  "storageKey": null
696
660
  }, {
697
661
  "alias": null,
@@ -699,7 +663,7 @@ const node = function () {
699
663
  "kind": "ScalarField",
700
664
  "name": "licenseeIsBillingIdentity",
701
665
  "storageKey": null
702
- }, v0 /*: any*/, {
666
+ }, {
703
667
  "alias": null,
704
668
  "args": null,
705
669
  "kind": "ScalarField",
@@ -718,7 +682,7 @@ const node = function () {
718
682
  "kind": "LinkedField",
719
683
  "name": "subtotal",
720
684
  "plural": false,
721
- "selections": v6 /*: any*/,
685
+ "selections": v5 /*: any*/,
722
686
  "storageKey": null
723
687
  }, {
724
688
  "alias": null,
@@ -734,7 +698,7 @@ const node = function () {
734
698
  "kind": "LinkedField",
735
699
  "name": "amount",
736
700
  "plural": false,
737
- "selections": v6 /*: any*/,
701
+ "selections": v5 /*: any*/,
738
702
  "storageKey": null
739
703
  }, {
740
704
  "alias": null,
@@ -762,7 +726,7 @@ const node = function () {
762
726
  "kind": "LinkedField",
763
727
  "name": "creditAmountRemaining",
764
728
  "plural": false,
765
- "selections": v6 /*: any*/,
729
+ "selections": v5 /*: any*/,
766
730
  "storageKey": null
767
731
  }, v0 /*: any*/],
768
732
 
@@ -777,7 +741,7 @@ const node = function () {
777
741
  "kind": "LinkedField",
778
742
  "name": "discountedSubtotal",
779
743
  "plural": false,
780
- "selections": v6 /*: any*/,
744
+ "selections": v5 /*: any*/,
781
745
  "storageKey": null
782
746
  }, {
783
747
  "alias": null,
@@ -786,7 +750,7 @@ const node = function () {
786
750
  "kind": "LinkedField",
787
751
  "name": "total",
788
752
  "plural": false,
789
- "selections": v6 /*: any*/,
753
+ "selections": v5 /*: any*/,
790
754
  "storageKey": null
791
755
  }, {
792
756
  "alias": null,
@@ -795,7 +759,7 @@ const node = function () {
795
759
  "kind": "LinkedField",
796
760
  "name": "taxes",
797
761
  "plural": false,
798
- "selections": v6 /*: any*/,
762
+ "selections": v5 /*: any*/,
799
763
  "storageKey": null
800
764
  }, {
801
765
  "alias": null,
@@ -816,14 +780,14 @@ const node = function () {
816
780
  "kind": "LinkedField",
817
781
  "name": "orderItems",
818
782
  "plural": true,
819
- "selections": [v0 /*: any*/, v7 /*: any*/, {
783
+ "selections": [v0 /*: any*/, v6 /*: any*/, {
820
784
  "alias": null,
821
785
  "args": null,
822
786
  "concreteType": "Sku",
823
787
  "kind": "LinkedField",
824
788
  "name": "sku",
825
789
  "plural": false,
826
- "selections": [v7 /*: any*/, {
790
+ "selections": [v6 /*: any*/, {
827
791
  "alias": null,
828
792
  "args": null,
829
793
  "concreteType": null,
@@ -848,14 +812,14 @@ const node = function () {
848
812
  "kind": "LinkedField",
849
813
  "name": "featureStyle",
850
814
  "plural": false,
851
- "selections": [v8 /*: any*/, v1 /*: any*/, v0 /*: any*/, {
815
+ "selections": [v7 /*: any*/, v1 /*: any*/, v0 /*: any*/, {
852
816
  "alias": null,
853
817
  "args": null,
854
818
  "concreteType": "FontCollection",
855
819
  "kind": "LinkedField",
856
820
  "name": "family",
857
821
  "plural": false,
858
- "selections": [v9 /*: any*/, v0 /*: any*/],
822
+ "selections": [v8 /*: any*/, v0 /*: any*/],
859
823
 
860
824
  "storageKey": null
861
825
  }],
@@ -871,7 +835,7 @@ const node = function () {
871
835
  "kind": "LinkedField",
872
836
  "name": "children",
873
837
  "plural": true,
874
- "selections": [v10 /*: any*/, v0 /*: any*/],
838
+ "selections": [v9 /*: any*/, v0 /*: any*/],
875
839
 
876
840
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
877
841
  }, v1 /*: any*/, {
@@ -891,20 +855,20 @@ const node = function () {
891
855
  "abstractKey": null
892
856
  }, {
893
857
  "kind": "InlineFragment",
894
- "selections": [v10 /*: any*/, v1 /*: any*/],
858
+ "selections": [v9 /*: any*/, v1 /*: any*/],
895
859
 
896
860
  "type": "Bundle",
897
861
  "abstractKey": null
898
862
  }, {
899
863
  "kind": "InlineFragment",
900
- "selections": [v8 /*: any*/, v1 /*: any*/, {
864
+ "selections": [v7 /*: any*/, v1 /*: any*/, {
901
865
  "alias": null,
902
866
  "args": null,
903
867
  "concreteType": "FontCollection",
904
868
  "kind": "LinkedField",
905
869
  "name": "family",
906
870
  "plural": false,
907
- "selections": [v1 /*: any*/, v9 /*: any*/, v0 /*: any*/],
871
+ "selections": [v1 /*: any*/, v8 /*: any*/, v0 /*: any*/],
908
872
 
909
873
  "storageKey": null
910
874
  }, {
@@ -922,7 +886,7 @@ const node = function () {
922
886
  "abstractKey": null
923
887
  }, {
924
888
  "kind": "InlineFragment",
925
- "selections": v11 /*: any*/,
889
+ "selections": v10 /*: any*/,
926
890
  "type": "Node",
927
891
  "abstractKey": "__isNode"
928
892
  }],
@@ -944,7 +908,7 @@ const node = function () {
944
908
  "kind": "LinkedField",
945
909
  "name": "license",
946
910
  "plural": false,
947
- "selections": [v0 /*: any*/, v1 /*: any*/, v12 /*: any*/],
911
+ "selections": [v0 /*: any*/, v1 /*: any*/, v11 /*: any*/],
948
912
 
949
913
  "storageKey": null
950
914
  }, {
@@ -954,7 +918,7 @@ const node = function () {
954
918
  "kind": "LinkedField",
955
919
  "name": "licenseVariable",
956
920
  "plural": false,
957
- "selections": [v0 /*: any*/, v2 /*: any*/, {
921
+ "selections": [v0 /*: any*/, v12 /*: any*/, {
958
922
  "alias": null,
959
923
  "args": null,
960
924
  "kind": "ScalarField",
@@ -969,7 +933,7 @@ const node = function () {
969
933
  "kind": "LinkedField",
970
934
  "name": "licenseOption",
971
935
  "plural": false,
972
- "selections": [v0 /*: any*/, v3 /*: any*/, v12 /*: any*/, v1 /*: any*/, {
936
+ "selections": [v0 /*: any*/, v4 /*: any*/, v11 /*: any*/, v1 /*: any*/, {
973
937
  "alias": null,
974
938
  "args": null,
975
939
  "kind": "ScalarField",
@@ -990,7 +954,7 @@ const node = function () {
990
954
  "kind": "LinkedField",
991
955
  "name": "licenseVariable",
992
956
  "plural": false,
993
- "selections": [v0 /*: any*/, v2 /*: any*/],
957
+ "selections": [v0 /*: any*/, v12 /*: any*/],
994
958
 
995
959
  "storageKey": null
996
960
  }, {
@@ -1000,7 +964,7 @@ const node = function () {
1000
964
  "kind": "LinkedField",
1001
965
  "name": "licenseOption",
1002
966
  "plural": false,
1003
- "selections": v11 /*: any*/,
967
+ "selections": v10 /*: any*/,
1004
968
  "storageKey": null
1005
969
  }],
1006
970
  "storageKey": null
@@ -1036,22 +1000,70 @@ const node = function () {
1036
1000
  "storageKey": null
1037
1001
  }],
1038
1002
  "storageKey": null
1039
- }, {
1040
- "alias": null,
1003
+ }],
1004
+ "storageKey": null
1005
+ }, {
1006
+ "alias": null,
1007
+ "args": [{
1008
+ "kind": "Literal",
1009
+ "name": "licenseTypes",
1010
+ "value": ["RETAIL"]
1011
+ }],
1012
+ "concreteType": "License",
1013
+ "kind": "LinkedField",
1014
+ "name": "licenses",
1015
+ "plural": true,
1016
+ "selections": [v0 /*: any*/, v1 /*: any*/, {
1017
+ "alias": "variables",
1041
1018
  "args": null,
1042
- "concreteType": "StripePaymentIntent",
1019
+ "concreteType": "LicenseVariable",
1043
1020
  "kind": "LinkedField",
1044
- "name": "stripePaymentIntent",
1045
- "plural": false,
1046
- "selections": [{
1047
- "alias": null,
1021
+ "name": "licenseVariables",
1022
+ "plural": true,
1023
+ "selections": [v0 /*: any*/, v1 /*: any*/, v12 /*: any*/, {
1024
+ "alias": "options",
1048
1025
  "args": null,
1049
- "kind": "ScalarField",
1050
- "name": "status",
1026
+ "concreteType": "LicenseOption",
1027
+ "kind": "LinkedField",
1028
+ "name": "licenseOptions",
1029
+ "plural": true,
1030
+ "selections": [v0 /*: any*/, v4 /*: any*/, v1 /*: any*/],
1031
+
1051
1032
  "storageKey": null
1052
1033
  }],
1053
1034
  "storageKey": null
1054
1035
  }],
1036
+ "storageKey": "licenses(licenseTypes:[\"RETAIL\"])"
1037
+ }, {
1038
+ "alias": null,
1039
+ "args": null,
1040
+ "concreteType": "Country",
1041
+ "kind": "LinkedField",
1042
+ "name": "countries",
1043
+ "plural": true,
1044
+ "selections": [{
1045
+ "alias": null,
1046
+ "args": null,
1047
+ "kind": "ScalarField",
1048
+ "name": "code",
1049
+ "storageKey": null
1050
+ }, v1 /*: any*/],
1051
+
1052
+ "storageKey": null
1053
+ }, {
1054
+ "alias": null,
1055
+ "args": null,
1056
+ "concreteType": "ThemeConfig",
1057
+ "kind": "LinkedField",
1058
+ "name": "themeConfig",
1059
+ "plural": false,
1060
+ "selections": [{
1061
+ "alias": null,
1062
+ "args": null,
1063
+ "kind": "ScalarField",
1064
+ "name": "customProperties",
1065
+ "storageKey": null
1066
+ }],
1055
1067
  "storageKey": null
1056
1068
  }, v0 /*: any*/],
1057
1069
 
@@ -1059,12 +1071,12 @@ const node = function () {
1059
1071
  }]
1060
1072
  },
1061
1073
  "params": {
1062
- "cacheID": "7237b86d1ad8bcf43125e3776d08197a",
1074
+ "cacheID": "5d2a16eb88998b36855c9905a2d3fb58",
1063
1075
  "id": null,
1064
1076
  "metadata": {},
1065
1077
  "name": "CartQuery",
1066
1078
  "operationKind": "query",
1067
- "text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\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 CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\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 CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\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 Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1079
+ "text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\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 CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\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 CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\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 Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\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"
1068
1080
  }
1069
1081
  };
1070
1082
  }();
@@ -1,5 +1,4 @@
1
1
  import { ConcreteRequest } from "relay-runtime";
2
- import { FragmentRefs } from "relay-runtime";
3
2
  export declare type StoreModalContainerQueryVariables = {};
4
3
  export declare type StoreModalContainerQueryResponse = {
5
4
  readonly viewer: {
@@ -12,7 +11,6 @@ export declare type StoreModalContainerQueryResponse = {
12
11
  readonly uiFontUrl: string | null;
13
12
  readonly uiFontName: string | null;
14
13
  } | null;
15
- readonly " $fragmentRefs": FragmentRefs<"StripeProvider_viewer">;
16
14
  };
17
15
  };
18
16
  export declare type StoreModalContainerQuery = {
@@ -11,7 +11,6 @@ exports.default = void 0;
11
11
  /*
12
12
  query StoreModalContainerQuery {
13
13
  viewer {
14
- ...StripeProvider_viewer
15
14
  currentOrder {
16
15
  orderItems {
17
16
  id
@@ -25,15 +24,6 @@ query StoreModalContainerQuery {
25
24
  id
26
25
  }
27
26
  }
28
-
29
- fragment StripeProvider_viewer on Viewer {
30
- settings {
31
- uiFontUrl
32
- }
33
- stripeCredentials {
34
- stripePublishableKey
35
- }
36
- }
37
27
  */
38
28
 
39
29
  const node = function () {
@@ -100,11 +90,8 @@ const node = function () {
100
90
  "selections": [v1 /*: any*/],
101
91
 
102
92
  "storageKey": null
103
- }, v2 /*: any*/, {
104
- "args": null,
105
- "kind": "FragmentSpread",
106
- "name": "StripeProvider_viewer"
107
- }],
93
+ }, v2 /*: any*/],
94
+
108
95
  "storageKey": null
109
96
  }],
110
97
  "type": "RootQueryType",
@@ -122,22 +109,7 @@ const node = function () {
122
109
  "kind": "LinkedField",
123
110
  "name": "viewer",
124
111
  "plural": false,
125
- "selections": [v2 /*: any*/, {
126
- "alias": null,
127
- "args": null,
128
- "concreteType": "StripeCredentials",
129
- "kind": "LinkedField",
130
- "name": "stripeCredentials",
131
- "plural": false,
132
- "selections": [{
133
- "alias": null,
134
- "args": null,
135
- "kind": "ScalarField",
136
- "name": "stripePublishableKey",
137
- "storageKey": null
138
- }],
139
- "storageKey": null
140
- }, {
112
+ "selections": [{
141
113
  "alias": null,
142
114
  "args": null,
143
115
  "concreteType": "Order",
@@ -147,21 +119,21 @@ const node = function () {
147
119
  "selections": [v1 /*: any*/, v0 /*: any*/],
148
120
 
149
121
  "storageKey": null
150
- }, v0 /*: any*/],
122
+ }, v2 /*: any*/, v0 /*: any*/],
151
123
 
152
124
  "storageKey": null
153
125
  }]
154
126
  },
155
127
  "params": {
156
- "cacheID": "5afd7c09fc3cbe0a312e53fa22611b27",
128
+ "cacheID": "9f5bb3fef45f2132fe47d71cdcc09394",
157
129
  "id": null,
158
130
  "metadata": {},
159
131
  "name": "StoreModalContainerQuery",
160
132
  "operationKind": "query",
161
- "text": "query StoreModalContainerQuery {\n viewer {\n ...StripeProvider_viewer\n currentOrder {\n orderItems {\n id\n }\n id\n }\n settings {\n uiFontUrl\n uiFontName\n }\n id\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n"
133
+ "text": "query StoreModalContainerQuery {\n viewer {\n currentOrder {\n orderItems {\n id\n }\n id\n }\n settings {\n uiFontUrl\n uiFontName\n }\n id\n }\n}\n"
162
134
  }
163
135
  };
164
136
  }();
165
- node.hash = '81f28eb741b23eaa8bce3bdbe1635ea9';
137
+ node.hash = '67cf3b7a14c2b8ff47a8138e0f234624';
166
138
  var _default = node;
167
139
  exports.default = _default;