fontdue-js 2.7.0 → 2.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 +5 -0
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFields_viewer.graphql.js +4 -2
- package/dist/__generated__/CartItem_node.graphql.d.ts +15 -1
- package/dist/__generated__/CartItem_node.graphql.js +51 -17
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +48 -16
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +48 -16
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +48 -16
- package/dist/__generated__/CartOrder_viewer.graphql.d.ts +2 -2
- package/dist/__generated__/CartOrder_viewer.graphql.js +2 -6
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +79 -77
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +65 -32
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +48 -16
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +48 -16
- package/dist/__generated__/Checkout_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/Checkout_viewer.graphql.js +8 -2
- package/dist/__generated__/CouponCodeInput_viewer.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInput_viewer.graphql.js +4 -2
- package/dist/__generated__/NodePasswordFormAccessNodeMutation.graphql.d.ts +25 -0
- package/dist/__generated__/NodePasswordFormAccessNodeMutation.graphql.js +72 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +48 -16
- package/dist/__generated__/PrecartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartQuery.graphql.js +57 -62
- package/dist/__generated__/Precart_collection.graphql.d.ts +13 -1
- package/dist/__generated__/Precart_collection.graphql.js +64 -17
- package/dist/__generated__/Precart_viewer.graphql.d.ts +1 -13
- package/dist/__generated__/Precart_viewer.graphql.js +23 -65
- package/dist/__generated__/PriceBarSection_node.graphql.d.ts +1 -1
- package/dist/__generated__/PriceBarSection_node.graphql.js +4 -2
- package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SKUPrice_sku.graphql.js +4 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +44 -47
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +17 -16
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.d.ts +20 -0
- package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +47 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +3 -3
- package/dist/__generated__/StoreModalProductQuery.graphql.js +82 -65
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +24 -3
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +5 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +23 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +48 -16
- package/dist/components/AddToCartBanner/index.js +7 -5
- package/dist/components/BuyButton/index.js +7 -5
- package/dist/components/Cart/AddressFields.js +3 -3
- package/dist/components/Cart/CartItem/index.d.ts +1 -3
- package/dist/components/Cart/CartItem/index.js +15 -13
- package/dist/components/Cart/CartOrder.js +17 -10
- package/dist/components/Cart/CartState.js +7 -4
- package/dist/components/Cart/CartTotals.js +2 -2
- package/dist/components/Cart/Checkout.js +14 -9
- package/dist/components/Cart/CouponCodeInput.js +5 -4
- package/dist/components/Cart/Download.js +5 -4
- package/dist/components/Cart/IdentityBox.js +2 -2
- package/dist/components/Cart/index.js +2 -2
- package/dist/components/CartButton/index.js +5 -4
- package/dist/components/CharacterViewer/index.js +8 -5
- package/dist/components/CollectionAa/index.js +4 -3
- package/dist/components/CookieNotification/index.js +6 -7
- package/dist/components/CouponText/index.js +3 -2
- package/dist/components/CustomerLoginForm/index.js +3 -3
- package/dist/components/Family/FamilyList.js +2 -2
- package/dist/components/Family/index.js +3 -3
- package/dist/components/FontFamilies/index.js +3 -3
- package/dist/components/FontStyle/index.js +2 -2
- package/dist/components/FontdueProvider/index.d.ts +1 -1
- package/dist/components/FontdueProvider/index.js +1 -9
- package/dist/components/NewsletterSignup/index.js +5 -4
- package/dist/components/NodePasswordForm/index.d.ts +7 -0
- package/dist/components/NodePasswordForm/index.js +63 -0
- package/dist/components/Precart/License.js +2 -2
- package/dist/components/Precart/index.js +17 -13
- package/dist/components/Price/index.js +2 -2
- package/dist/components/PriceBar/PriceBarSection.js +3 -3
- package/dist/components/PriceBar/index.js +3 -3
- package/dist/components/Root/index.js +2 -1
- package/dist/components/Root/productState.js +11 -6
- package/dist/components/SKUPrice/index.js +3 -3
- package/dist/components/SelectButton/index.js +3 -3
- package/dist/components/SpecimenLink/index.js +2 -2
- package/dist/components/StoreModal/StoreModalBundleButton.js +2 -2
- package/dist/components/StoreModal/StoreModalCart.js +4 -3
- package/dist/components/StoreModal/StoreModalCheckout.js +3 -3
- package/dist/components/StoreModal/StoreModalContainer.js +3 -3
- package/dist/components/StoreModal/StoreModalDownload.js +5 -4
- package/dist/components/StoreModal/StoreModalFamily.js +3 -3
- package/dist/components/StoreModal/StoreModalFamilyButton.js +2 -2
- package/dist/components/StoreModal/StoreModalIndex.js +2 -2
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalProduct.js +12 -7
- package/dist/components/StoreModal/StoreModalReview.js +11 -7
- package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -2
- package/dist/components/StoreModal/StoreModalStyleButton.js +5 -4
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.js +5 -4
- package/dist/components/StoreModalProductSummary/index.js +18 -6
- package/dist/components/StripeProvider/index.js +3 -2
- package/dist/components/TestFontsForm/index.js +5 -4
- package/dist/components/TestModeBanner/index.js +2 -2
- package/dist/components/ThemeConfig/index.js +2 -2
- package/dist/components/TypeTester/TypeTesterFeatures.js +3 -3
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +3 -3
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +3 -3
- package/dist/components/TypeTester/TypeTesterInput.d.ts +1 -0
- package/dist/components/TypeTester/TypeTesterInput.js +5 -2
- package/dist/components/TypeTester/TypeTesterStandalone.js +3 -3
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +7 -5
- package/dist/components/TypeTester/TypeTesterToolbar.js +9 -5
- package/dist/components/TypeTester/TypeTesterVariableAxes.js +2 -2
- package/dist/components/TypeTester/index.js +9 -6
- package/dist/components/TypeTester/useFeaturesData.js +2 -2
- package/dist/components/TypeTesters/index.js +9 -6
- package/dist/components/VariableTableAmounts/index.js +4 -3
- package/dist/components/useTotalStyles.js +3 -2
- package/dist/fontdue.css +18 -3
- package/dist/reducer.js +3 -1
- package/dist/relay/environment.js +12 -4
- package/package.json +3 -2
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<f0227ba25be4e87fccfb43dda0029503>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -20,34 +20,27 @@ const node = function () {
|
|
|
20
20
|
"name": "licenseOptions",
|
|
21
21
|
"variableName": "licenseOptions"
|
|
22
22
|
},
|
|
23
|
-
v1 =
|
|
24
|
-
|
|
25
|
-
"args": null,
|
|
26
|
-
"kind": "ScalarField",
|
|
27
|
-
"name": "id",
|
|
28
|
-
"storageKey": null
|
|
29
|
-
},
|
|
30
|
-
v2 = [v0 /*: any*/],
|
|
31
|
-
v3 = {
|
|
23
|
+
v1 = [v0 /*: any*/],
|
|
24
|
+
v2 = {
|
|
32
25
|
"alias": null,
|
|
33
26
|
"args": null,
|
|
34
27
|
"kind": "ScalarField",
|
|
35
28
|
"name": "amount",
|
|
36
29
|
"storageKey": null
|
|
37
30
|
},
|
|
38
|
-
|
|
31
|
+
v3 = {
|
|
39
32
|
"args": null,
|
|
40
33
|
"kind": "FragmentSpread",
|
|
41
34
|
"name": "Price_price"
|
|
42
35
|
},
|
|
43
|
-
|
|
36
|
+
v4 = {
|
|
44
37
|
"alias": null,
|
|
45
38
|
"args": null,
|
|
46
39
|
"kind": "ScalarField",
|
|
47
40
|
"name": "name",
|
|
48
41
|
"storageKey": null
|
|
49
42
|
},
|
|
50
|
-
|
|
43
|
+
v5 = [v4 /*: any*/, {
|
|
51
44
|
"alias": null,
|
|
52
45
|
"args": null,
|
|
53
46
|
"kind": "ScalarField",
|
|
@@ -55,12 +48,12 @@ const node = function () {
|
|
|
55
48
|
"storageKey": null
|
|
56
49
|
}, {
|
|
57
50
|
"alias": null,
|
|
58
|
-
"args":
|
|
51
|
+
"args": v1 /*: any*/,
|
|
59
52
|
"concreteType": "Money",
|
|
60
53
|
"kind": "LinkedField",
|
|
61
54
|
"name": "totalStylesPrice",
|
|
62
55
|
"plural": false,
|
|
63
|
-
"selections": [
|
|
56
|
+
"selections": [v2 /*: any*/],
|
|
64
57
|
"storageKey": null
|
|
65
58
|
}];
|
|
66
59
|
return {
|
|
@@ -94,14 +87,20 @@ const node = function () {
|
|
|
94
87
|
"kind": "LinkedField",
|
|
95
88
|
"name": "skus",
|
|
96
89
|
"plural": true,
|
|
97
|
-
"selections": [
|
|
90
|
+
"selections": [{
|
|
98
91
|
"alias": null,
|
|
99
|
-
"args":
|
|
92
|
+
"args": null,
|
|
93
|
+
"kind": "ScalarField",
|
|
94
|
+
"name": "id",
|
|
95
|
+
"storageKey": null
|
|
96
|
+
}, {
|
|
97
|
+
"alias": null,
|
|
98
|
+
"args": v1 /*: any*/,
|
|
100
99
|
"concreteType": "Money",
|
|
101
100
|
"kind": "LinkedField",
|
|
102
101
|
"name": "price",
|
|
103
102
|
"plural": false,
|
|
104
|
-
"selections": [
|
|
103
|
+
"selections": [v2 /*: any*/, v3 /*: any*/],
|
|
105
104
|
"storageKey": null
|
|
106
105
|
}, {
|
|
107
106
|
"alias": null,
|
|
@@ -118,17 +117,17 @@ const node = function () {
|
|
|
118
117
|
"storageKey": null
|
|
119
118
|
}, {
|
|
120
119
|
"kind": "InlineFragment",
|
|
121
|
-
"selections":
|
|
120
|
+
"selections": v5 /*: any*/,
|
|
122
121
|
"type": "FontCollection",
|
|
123
122
|
"abstractKey": null
|
|
124
123
|
}, {
|
|
125
124
|
"kind": "InlineFragment",
|
|
126
|
-
"selections":
|
|
125
|
+
"selections": v5 /*: any*/,
|
|
127
126
|
"type": "Bundle",
|
|
128
127
|
"abstractKey": null
|
|
129
128
|
}, {
|
|
130
129
|
"kind": "InlineFragment",
|
|
131
|
-
"selections": [
|
|
130
|
+
"selections": [v4 /*: any*/],
|
|
132
131
|
"type": "FontStyle",
|
|
133
132
|
"abstractKey": null
|
|
134
133
|
}],
|
|
@@ -142,62 +141,21 @@ const node = function () {
|
|
|
142
141
|
"kind": "LinkedField",
|
|
143
142
|
"name": "subtotal",
|
|
144
143
|
"plural": false,
|
|
145
|
-
"selections": [
|
|
144
|
+
"selections": [v2 /*: any*/, {
|
|
146
145
|
"alias": null,
|
|
147
146
|
"args": null,
|
|
148
147
|
"kind": "ScalarField",
|
|
149
148
|
"name": "currency",
|
|
150
149
|
"storageKey": null
|
|
151
|
-
},
|
|
150
|
+
}, v3 /*: any*/],
|
|
152
151
|
"storageKey": null
|
|
153
152
|
}],
|
|
154
153
|
"storageKey": null
|
|
155
|
-
}, {
|
|
156
|
-
"alias": null,
|
|
157
|
-
"args": [{
|
|
158
|
-
"kind": "Literal",
|
|
159
|
-
"name": "licenseTypes",
|
|
160
|
-
"value": ["RETAIL"]
|
|
161
|
-
}],
|
|
162
|
-
"concreteType": "License",
|
|
163
|
-
"kind": "LinkedField",
|
|
164
|
-
"name": "licenses",
|
|
165
|
-
"plural": true,
|
|
166
|
-
"selections": [{
|
|
167
|
-
"args": null,
|
|
168
|
-
"kind": "FragmentSpread",
|
|
169
|
-
"name": "License_node"
|
|
170
|
-
}, v5 /*: any*/, v1 /*: any*/, {
|
|
171
|
-
"alias": null,
|
|
172
|
-
"args": null,
|
|
173
|
-
"kind": "ScalarField",
|
|
174
|
-
"name": "defaultSelected",
|
|
175
|
-
"storageKey": null
|
|
176
|
-
}, {
|
|
177
|
-
"alias": "variables",
|
|
178
|
-
"args": null,
|
|
179
|
-
"concreteType": "LicenseVariable",
|
|
180
|
-
"kind": "LinkedField",
|
|
181
|
-
"name": "licenseVariables",
|
|
182
|
-
"plural": true,
|
|
183
|
-
"selections": [v1 /*: any*/, {
|
|
184
|
-
"alias": "options",
|
|
185
|
-
"args": null,
|
|
186
|
-
"concreteType": "LicenseOption",
|
|
187
|
-
"kind": "LinkedField",
|
|
188
|
-
"name": "licenseOptions",
|
|
189
|
-
"plural": true,
|
|
190
|
-
"selections": [v1 /*: any*/],
|
|
191
|
-
"storageKey": null
|
|
192
|
-
}],
|
|
193
|
-
"storageKey": null
|
|
194
|
-
}],
|
|
195
|
-
"storageKey": "licenses(licenseTypes:[\"RETAIL\"])"
|
|
196
154
|
}],
|
|
197
155
|
"type": "Viewer",
|
|
198
156
|
"abstractKey": null
|
|
199
157
|
};
|
|
200
158
|
}();
|
|
201
|
-
node.hash = "
|
|
159
|
+
node.hash = "fe66a5cdbee38cae7bfb11922f945fd5";
|
|
202
160
|
var _default = node;
|
|
203
161
|
exports.default = _default;
|
|
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _PriceBarSectionRefetchQuery = _interopRequireDefault(require("./PriceBarSectionRefetchQuery.graphql"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7
9
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
10
|
+
* @generated SignedSource<<90d62d05d20d925fde7819c26a115877>>
|
|
9
11
|
* @lightSyntaxTransform
|
|
10
12
|
* @nogrep
|
|
11
13
|
*/
|
|
@@ -43,7 +45,7 @@ const node = function () {
|
|
|
43
45
|
"refetch": {
|
|
44
46
|
"connection": null,
|
|
45
47
|
"fragmentPathInResult": ["node"],
|
|
46
|
-
"operation":
|
|
48
|
+
"operation": _PriceBarSectionRefetchQuery.default,
|
|
47
49
|
"identifierField": "id"
|
|
48
50
|
}
|
|
49
51
|
},
|
|
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _SKUPriceRefetchQuery = _interopRequireDefault(require("./SKUPriceRefetchQuery.graphql"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7
9
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
10
|
+
* @generated SignedSource<<54f20f4b65fffb2010d1ac4a81debc64>>
|
|
9
11
|
* @lightSyntaxTransform
|
|
10
12
|
* @nogrep
|
|
11
13
|
*/
|
|
@@ -25,7 +27,7 @@ const node = {
|
|
|
25
27
|
"refetch": {
|
|
26
28
|
"connection": null,
|
|
27
29
|
"fragmentPathInResult": ["node"],
|
|
28
|
-
"operation":
|
|
30
|
+
"operation": _SKUPriceRefetchQuery.default,
|
|
29
31
|
"identifierField": "id"
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<a33263a8ff769610887a18d7677f0de9>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -27,7 +27,7 @@ export type StoreModalCartQuery$data = {
|
|
|
27
27
|
} | null;
|
|
28
28
|
readonly " $fragmentSpreads": FragmentRefs<"CartState_order" | "CartTotals_order">;
|
|
29
29
|
} | null;
|
|
30
|
-
readonly " $fragmentSpreads": FragmentRefs<"
|
|
30
|
+
readonly " $fragmentSpreads": FragmentRefs<"CouponCodeInput_viewer">;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export type StoreModalCartQuery = {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<a33263a8ff769610887a18d7677f0de9>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -58,17 +58,17 @@ const node = function () {
|
|
|
58
58
|
"alias": null,
|
|
59
59
|
"args": null,
|
|
60
60
|
"kind": "ScalarField",
|
|
61
|
-
"name": "
|
|
61
|
+
"name": "multiplier",
|
|
62
62
|
"storageKey": null
|
|
63
63
|
},
|
|
64
64
|
v7 = {
|
|
65
65
|
"alias": null,
|
|
66
66
|
"args": null,
|
|
67
67
|
"kind": "ScalarField",
|
|
68
|
-
"name": "
|
|
68
|
+
"name": "amount",
|
|
69
69
|
"storageKey": null
|
|
70
70
|
},
|
|
71
|
-
v8 = [
|
|
71
|
+
v8 = [v7 /*: any*/, {
|
|
72
72
|
"alias": null,
|
|
73
73
|
"args": null,
|
|
74
74
|
"kind": "ScalarField",
|
|
@@ -113,10 +113,6 @@ const node = function () {
|
|
|
113
113
|
"name": "viewer",
|
|
114
114
|
"plural": false,
|
|
115
115
|
"selections": [{
|
|
116
|
-
"args": null,
|
|
117
|
-
"kind": "FragmentSpread",
|
|
118
|
-
"name": "CartItem_viewer"
|
|
119
|
-
}, {
|
|
120
116
|
"args": null,
|
|
121
117
|
"kind": "FragmentSpread",
|
|
122
118
|
"name": "CouponCodeInput_viewer"
|
|
@@ -196,37 +192,6 @@ const node = function () {
|
|
|
196
192
|
"name": "viewer",
|
|
197
193
|
"plural": false,
|
|
198
194
|
"selections": [{
|
|
199
|
-
"alias": null,
|
|
200
|
-
"args": [{
|
|
201
|
-
"kind": "Literal",
|
|
202
|
-
"name": "licenseTypes",
|
|
203
|
-
"value": ["RETAIL"]
|
|
204
|
-
}],
|
|
205
|
-
"concreteType": "License",
|
|
206
|
-
"kind": "LinkedField",
|
|
207
|
-
"name": "licenses",
|
|
208
|
-
"plural": true,
|
|
209
|
-
"selections": [v0 /*: any*/, v5 /*: any*/, {
|
|
210
|
-
"alias": "variables",
|
|
211
|
-
"args": null,
|
|
212
|
-
"concreteType": "LicenseVariable",
|
|
213
|
-
"kind": "LinkedField",
|
|
214
|
-
"name": "licenseVariables",
|
|
215
|
-
"plural": true,
|
|
216
|
-
"selections": [v0 /*: any*/, v5 /*: any*/, v1 /*: any*/, {
|
|
217
|
-
"alias": "options",
|
|
218
|
-
"args": null,
|
|
219
|
-
"concreteType": "LicenseOption",
|
|
220
|
-
"kind": "LinkedField",
|
|
221
|
-
"name": "licenseOptions",
|
|
222
|
-
"plural": true,
|
|
223
|
-
"selections": [v0 /*: any*/, v6 /*: any*/, v5 /*: any*/],
|
|
224
|
-
"storageKey": null
|
|
225
|
-
}],
|
|
226
|
-
"storageKey": null
|
|
227
|
-
}],
|
|
228
|
-
"storageKey": "licenses(licenseTypes:[\"RETAIL\"])"
|
|
229
|
-
}, {
|
|
230
195
|
"alias": null,
|
|
231
196
|
"args": null,
|
|
232
197
|
"concreteType": "Order",
|
|
@@ -254,7 +219,7 @@ const node = function () {
|
|
|
254
219
|
"kind": "LinkedField",
|
|
255
220
|
"name": "license",
|
|
256
221
|
"plural": false,
|
|
257
|
-
"selections": [v0 /*: any*/, v5 /*: any*/,
|
|
222
|
+
"selections": [v0 /*: any*/, v5 /*: any*/, v6 /*: any*/],
|
|
258
223
|
"storageKey": null
|
|
259
224
|
}, {
|
|
260
225
|
"alias": null,
|
|
@@ -296,7 +261,7 @@ const node = function () {
|
|
|
296
261
|
"kind": "LinkedField",
|
|
297
262
|
"name": "licenseOption",
|
|
298
263
|
"plural": false,
|
|
299
|
-
"selections": [v0 /*: any*/,
|
|
264
|
+
"selections": [v0 /*: any*/, v7 /*: any*/, v6 /*: any*/, v5 /*: any*/, {
|
|
300
265
|
"alias": null,
|
|
301
266
|
"args": null,
|
|
302
267
|
"kind": "ScalarField",
|
|
@@ -321,14 +286,14 @@ const node = function () {
|
|
|
321
286
|
"name": "product",
|
|
322
287
|
"plural": false,
|
|
323
288
|
"selections": [{
|
|
289
|
+
"kind": "TypeDiscriminator",
|
|
290
|
+
"abstractKey": "__isSkuProduct"
|
|
291
|
+
}, {
|
|
324
292
|
"alias": null,
|
|
325
293
|
"args": null,
|
|
326
294
|
"kind": "ScalarField",
|
|
327
295
|
"name": "__typename",
|
|
328
296
|
"storageKey": null
|
|
329
|
-
}, {
|
|
330
|
-
"kind": "TypeDiscriminator",
|
|
331
|
-
"abstractKey": "__isSkuProduct"
|
|
332
297
|
}, {
|
|
333
298
|
"kind": "InlineFragment",
|
|
334
299
|
"selections": [{
|
|
@@ -401,6 +366,38 @@ const node = function () {
|
|
|
401
366
|
}],
|
|
402
367
|
"type": "FontStyle",
|
|
403
368
|
"abstractKey": null
|
|
369
|
+
}, {
|
|
370
|
+
"kind": "InlineFragment",
|
|
371
|
+
"selections": [{
|
|
372
|
+
"alias": null,
|
|
373
|
+
"args": null,
|
|
374
|
+
"concreteType": "License",
|
|
375
|
+
"kind": "LinkedField",
|
|
376
|
+
"name": "licenses",
|
|
377
|
+
"plural": true,
|
|
378
|
+
"selections": [v0 /*: any*/, v5 /*: any*/, {
|
|
379
|
+
"alias": "variables",
|
|
380
|
+
"args": null,
|
|
381
|
+
"concreteType": "LicenseVariable",
|
|
382
|
+
"kind": "LinkedField",
|
|
383
|
+
"name": "licenseVariables",
|
|
384
|
+
"plural": true,
|
|
385
|
+
"selections": [v0 /*: any*/, v5 /*: any*/, v1 /*: any*/, {
|
|
386
|
+
"alias": "options",
|
|
387
|
+
"args": null,
|
|
388
|
+
"concreteType": "LicenseOption",
|
|
389
|
+
"kind": "LinkedField",
|
|
390
|
+
"name": "licenseOptions",
|
|
391
|
+
"plural": true,
|
|
392
|
+
"selections": [v0 /*: any*/, v7 /*: any*/, v5 /*: any*/],
|
|
393
|
+
"storageKey": null
|
|
394
|
+
}],
|
|
395
|
+
"storageKey": null
|
|
396
|
+
}],
|
|
397
|
+
"storageKey": null
|
|
398
|
+
}],
|
|
399
|
+
"type": "Licenseable",
|
|
400
|
+
"abstractKey": "__isLicenseable"
|
|
404
401
|
}, {
|
|
405
402
|
"kind": "InlineFragment",
|
|
406
403
|
"selections": v3 /*: any*/,
|
|
@@ -521,15 +518,15 @@ const node = function () {
|
|
|
521
518
|
}]
|
|
522
519
|
},
|
|
523
520
|
"params": {
|
|
524
|
-
"cacheID": "
|
|
521
|
+
"cacheID": "017668029b3b754079327f5903fa690f",
|
|
525
522
|
"id": null,
|
|
526
523
|
"metadata": {},
|
|
527
524
|
"name": "StoreModalCartQuery",
|
|
528
525
|
"operationKind": "query",
|
|
529
|
-
"text": "query StoreModalCartQuery {\n viewer {\n
|
|
526
|
+
"text": "query StoreModalCartQuery {\n viewer {\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n id\n }\n id\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 __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\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 ... 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 CartState_order on Order {\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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"
|
|
530
527
|
}
|
|
531
528
|
};
|
|
532
529
|
}();
|
|
533
|
-
node.hash = "
|
|
530
|
+
node.hash = "c2a74cf58c190aae40a36ad75c88bbfb";
|
|
534
531
|
var _default = node;
|
|
535
532
|
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<521e669f9d4339ffe87ed5fb177a9271>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -40,19 +40,26 @@ const node = function () {
|
|
|
40
40
|
"storageKey": null
|
|
41
41
|
},
|
|
42
42
|
v3 = {
|
|
43
|
+
"alias": null,
|
|
44
|
+
"args": null,
|
|
45
|
+
"kind": "ScalarField",
|
|
46
|
+
"name": "country",
|
|
47
|
+
"storageKey": null
|
|
48
|
+
},
|
|
49
|
+
v4 = {
|
|
43
50
|
"alias": null,
|
|
44
51
|
"args": null,
|
|
45
52
|
"kind": "ScalarField",
|
|
46
53
|
"name": "email",
|
|
47
54
|
"storageKey": null
|
|
48
55
|
},
|
|
49
|
-
|
|
56
|
+
v5 = [v2 /*: any*/, {
|
|
50
57
|
"alias": null,
|
|
51
58
|
"args": null,
|
|
52
59
|
"kind": "ScalarField",
|
|
53
60
|
"name": "organization",
|
|
54
61
|
"storageKey": null
|
|
55
|
-
},
|
|
62
|
+
}, v4 /*: any*/, {
|
|
56
63
|
"alias": null,
|
|
57
64
|
"args": null,
|
|
58
65
|
"kind": "ScalarField",
|
|
@@ -76,13 +83,7 @@ const node = function () {
|
|
|
76
83
|
"kind": "ScalarField",
|
|
77
84
|
"name": "sublocality",
|
|
78
85
|
"storageKey": null
|
|
79
|
-
}, {
|
|
80
|
-
"alias": null,
|
|
81
|
-
"args": null,
|
|
82
|
-
"kind": "ScalarField",
|
|
83
|
-
"name": "country",
|
|
84
|
-
"storageKey": null
|
|
85
|
-
}, {
|
|
86
|
+
}, v3 /*: any*/, {
|
|
86
87
|
"alias": null,
|
|
87
88
|
"args": null,
|
|
88
89
|
"kind": "ScalarField",
|
|
@@ -164,7 +165,7 @@ const node = function () {
|
|
|
164
165
|
"storageKey": null
|
|
165
166
|
}, v2 /*: any*/],
|
|
166
167
|
"storageKey": null
|
|
167
|
-
}, {
|
|
168
|
+
}, v3 /*: any*/, {
|
|
168
169
|
"alias": null,
|
|
169
170
|
"args": null,
|
|
170
171
|
"concreteType": "Settings",
|
|
@@ -220,7 +221,7 @@ const node = function () {
|
|
|
220
221
|
"kind": "LinkedField",
|
|
221
222
|
"name": "customer",
|
|
222
223
|
"plural": false,
|
|
223
|
-
"selections": [v2 /*: any*/,
|
|
224
|
+
"selections": [v2 /*: any*/, v4 /*: any*/, {
|
|
224
225
|
"alias": null,
|
|
225
226
|
"args": null,
|
|
226
227
|
"kind": "ScalarField",
|
|
@@ -235,7 +236,7 @@ const node = function () {
|
|
|
235
236
|
"kind": "LinkedField",
|
|
236
237
|
"name": "billingIdentity",
|
|
237
238
|
"plural": false,
|
|
238
|
-
"selections":
|
|
239
|
+
"selections": v5 /*: any*/,
|
|
239
240
|
"storageKey": null
|
|
240
241
|
}, {
|
|
241
242
|
"alias": null,
|
|
@@ -244,7 +245,7 @@ const node = function () {
|
|
|
244
245
|
"kind": "LinkedField",
|
|
245
246
|
"name": "licenseeIdentity",
|
|
246
247
|
"plural": false,
|
|
247
|
-
"selections":
|
|
248
|
+
"selections": v5 /*: any*/,
|
|
248
249
|
"storageKey": null
|
|
249
250
|
}, {
|
|
250
251
|
"alias": null,
|
|
@@ -259,12 +260,12 @@ const node = function () {
|
|
|
259
260
|
}]
|
|
260
261
|
},
|
|
261
262
|
"params": {
|
|
262
|
-
"cacheID": "
|
|
263
|
+
"cacheID": "cbb1573c243a4523823ad3994bc62a11",
|
|
263
264
|
"id": null,
|
|
264
265
|
"metadata": {},
|
|
265
266
|
"name": "StoreModalCheckoutQuery",
|
|
266
267
|
"operationKind": "query",
|
|
267
|
-
"text": "query StoreModalCheckoutQuery {\n viewer {\n ...Checkout_viewer\n currentOrder {\n ...Checkout_order\n stripePaymentMethod {\n id\n }\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\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"
|
|
268
|
+
"text": "query StoreModalCheckoutQuery {\n viewer {\n ...Checkout_viewer\n currentOrder {\n ...Checkout_order\n stripePaymentMethod {\n id\n }\n id\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\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 country\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n"
|
|
268
269
|
}
|
|
269
270
|
};
|
|
270
271
|
}();
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<74541abfe3db585cb78d8406b37c9635>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type StoreModalProductLicenseSelection_collection$data = {
|
|
9
|
+
readonly licenses: ReadonlyArray<{
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductLicense_license">;
|
|
12
|
+
}> | null;
|
|
13
|
+
readonly " $fragmentType": "StoreModalProductLicenseSelection_collection";
|
|
14
|
+
};
|
|
15
|
+
export type StoreModalProductLicenseSelection_collection$key = {
|
|
16
|
+
readonly " $data"?: StoreModalProductLicenseSelection_collection$data;
|
|
17
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductLicenseSelection_collection">;
|
|
18
|
+
};
|
|
19
|
+
declare const node: ReaderFragment;
|
|
20
|
+
export default node;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<74541abfe3db585cb78d8406b37c9635>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = {
|
|
18
|
+
"argumentDefinitions": [],
|
|
19
|
+
"kind": "Fragment",
|
|
20
|
+
"metadata": null,
|
|
21
|
+
"name": "StoreModalProductLicenseSelection_collection",
|
|
22
|
+
"selections": [{
|
|
23
|
+
"alias": null,
|
|
24
|
+
"args": null,
|
|
25
|
+
"concreteType": "License",
|
|
26
|
+
"kind": "LinkedField",
|
|
27
|
+
"name": "licenses",
|
|
28
|
+
"plural": true,
|
|
29
|
+
"selections": [{
|
|
30
|
+
"alias": null,
|
|
31
|
+
"args": null,
|
|
32
|
+
"kind": "ScalarField",
|
|
33
|
+
"name": "id",
|
|
34
|
+
"storageKey": null
|
|
35
|
+
}, {
|
|
36
|
+
"args": null,
|
|
37
|
+
"kind": "FragmentSpread",
|
|
38
|
+
"name": "StoreModalProductLicense_license"
|
|
39
|
+
}],
|
|
40
|
+
"storageKey": null
|
|
41
|
+
}],
|
|
42
|
+
"type": "FontCollection",
|
|
43
|
+
"abstractKey": null
|
|
44
|
+
};
|
|
45
|
+
node.hash = "2767ff3f8ddb4354051074bc3d0312e6";
|
|
46
|
+
var _default = node;
|
|
47
|
+
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<2f95989976f4e3a1aa8fccdfed7a73be>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -15,12 +15,12 @@ export type StoreModalProductQuery$data = {
|
|
|
15
15
|
readonly " $fragmentSpreads": FragmentRefs<"StoreModalFamily_collection">;
|
|
16
16
|
}> | null;
|
|
17
17
|
readonly id: string;
|
|
18
|
-
readonly " $fragmentSpreads": FragmentRefs<"StoreModalFamily_collection">;
|
|
18
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalFamily_collection" | "StoreModalProductLicenseSelection_collection">;
|
|
19
19
|
} | null;
|
|
20
20
|
readonly viewer: {
|
|
21
21
|
readonly endpoint: string | null;
|
|
22
22
|
readonly stripeAccountId: string | null;
|
|
23
|
-
readonly " $fragmentSpreads": FragmentRefs<"
|
|
23
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductSummary_viewer">;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
export type StoreModalProductQuery = {
|