fontdue-js 2.18.4 → 2.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddToCartBannerQuery.graphql.js +22 -7
- package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +10 -1
- package/dist/__generated__/AddToCartBanner_item.graphql.js +19 -4
- package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +10 -1
- package/dist/__generated__/AddToCartBanner_order.graphql.js +18 -3
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +4 -1
- package/dist/__generated__/CartItemProduct_product.graphql.js +15 -5
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +27 -5
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +27 -5
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +27 -5
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +27 -5
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +15 -3
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +27 -5
- package/dist/__generated__/CartTotals_order.graphql.d.ts +3 -1
- package/dist/__generated__/CartTotals_order.graphql.js +14 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +27 -5
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +27 -5
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +15 -3
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -10
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +38 -16
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +9 -3
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +10 -4
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +10 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +15 -3
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +27 -5
- package/dist/__tests__/collectionBundleSelection.test.d.ts +1 -0
- package/dist/__tests__/collectionBundleSelection.test.js +1181 -0
- package/dist/components/AddToCartBanner/index.js +7 -1
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -2
- package/dist/components/Cart/CartTotals.js +7 -7
- package/dist/components/CharacterViewer/index.js +53 -37
- package/dist/components/CorsErrorModal.d.ts +1 -0
- package/dist/components/CorsErrorModal.js +99 -0
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +2 -1
- package/dist/components/StoreModal/StoreModalFamily.js +2 -2
- package/dist/corsError.d.ts +5 -0
- package/dist/corsError.js +55 -0
- package/dist/fontdue.css +194 -126
- package/dist/reducer.js +4 -0
- package/dist/relay/environment.js +33 -19
- package/dist/utils.js +2 -2
- package/package.json +5 -2
- package/vitest.config.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 2.19.1
|
|
2
|
+
|
|
3
|
+
- Fixed collection bundles not auto-selecting when a family at the same price is chosen — the bundle now correctly takes priority over the family itself
|
|
4
|
+
- Fixed potential NaN in price difference calculations when a SKU is missing from the price map
|
|
5
|
+
|
|
6
|
+
## 2.19.0
|
|
7
|
+
|
|
8
|
+
- Added a CORS error modal that shows actionable instructions when a tenant's website origin isn't in the allowed list, with automatic reload once fixed
|
|
9
|
+
- Bundles and collection bundles now automatically prepend the collection name in the cart and add-to-cart banner
|
|
10
|
+
- Hidden bundles are now filtered from the store modal
|
|
11
|
+
- Added support for the "none" tax system — the tax line is hidden entirely when tax is not configured
|
|
12
|
+
- Shows "VAT not applicable" with the reason when a customer's VAT number is validated
|
|
13
|
+
- Fixed GraphQL error logging to read `error.extensions.code` instead of `error.code`
|
|
14
|
+
- Fixed a looping refetch in the store modal caused by unstable reference identity
|
|
15
|
+
- Fixed character viewer type error when filtering overlapping metrics lines
|
|
16
|
+
|
|
1
17
|
## 2.18.4
|
|
2
18
|
|
|
3
19
|
- Improve layout of type tester variable axes (when "inline") on mobile
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<582a1e599d12a3858b5b672483e764d0>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -29,7 +29,17 @@ const node = function () {
|
|
|
29
29
|
"name": "name",
|
|
30
30
|
"storageKey": null
|
|
31
31
|
},
|
|
32
|
-
v2 = [v1 /*: any*/]
|
|
32
|
+
v2 = [v1 /*: any*/, v0 /*: any*/],
|
|
33
|
+
v3 = [v1 /*: any*/, {
|
|
34
|
+
"alias": null,
|
|
35
|
+
"args": null,
|
|
36
|
+
"concreteType": "FontCollection",
|
|
37
|
+
"kind": "LinkedField",
|
|
38
|
+
"name": "fontCollection",
|
|
39
|
+
"plural": false,
|
|
40
|
+
"selections": v2 /*: any*/,
|
|
41
|
+
"storageKey": null
|
|
42
|
+
}];
|
|
33
43
|
return {
|
|
34
44
|
"fragment": {
|
|
35
45
|
"argumentDefinitions": [],
|
|
@@ -125,7 +135,7 @@ const node = function () {
|
|
|
125
135
|
"storageKey": null
|
|
126
136
|
}, {
|
|
127
137
|
"kind": "InlineFragment",
|
|
128
|
-
"selections":
|
|
138
|
+
"selections": [v1 /*: any*/],
|
|
129
139
|
"type": "FontCollection",
|
|
130
140
|
"abstractKey": null
|
|
131
141
|
}, {
|
|
@@ -137,16 +147,21 @@ const node = function () {
|
|
|
137
147
|
"kind": "LinkedField",
|
|
138
148
|
"name": "family",
|
|
139
149
|
"plural": false,
|
|
140
|
-
"selections":
|
|
150
|
+
"selections": v2 /*: any*/,
|
|
141
151
|
"storageKey": null
|
|
142
152
|
}],
|
|
143
153
|
"type": "FontStyle",
|
|
144
154
|
"abstractKey": null
|
|
145
155
|
}, {
|
|
146
156
|
"kind": "InlineFragment",
|
|
147
|
-
"selections":
|
|
157
|
+
"selections": v3 /*: any*/,
|
|
148
158
|
"type": "Bundle",
|
|
149
159
|
"abstractKey": null
|
|
160
|
+
}, {
|
|
161
|
+
"kind": "InlineFragment",
|
|
162
|
+
"selections": v3 /*: any*/,
|
|
163
|
+
"type": "CollectionBundle",
|
|
164
|
+
"abstractKey": null
|
|
150
165
|
}, {
|
|
151
166
|
"kind": "InlineFragment",
|
|
152
167
|
"selections": [v0 /*: any*/],
|
|
@@ -165,12 +180,12 @@ const node = function () {
|
|
|
165
180
|
}]
|
|
166
181
|
},
|
|
167
182
|
"params": {
|
|
168
|
-
"cacheID": "
|
|
183
|
+
"cacheID": "4e7fade413da4c2b17527d3297d2f358",
|
|
169
184
|
"id": null,
|
|
170
185
|
"metadata": {},
|
|
171
186
|
"name": "AddToCartBannerQuery",
|
|
172
187
|
"operationKind": "query",
|
|
173
|
-
"text": "query AddToCartBannerQuery {\n viewer {\n currentOrder {\n ...AddToCartBanner_order\n id\n }\n id\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n"
|
|
188
|
+
"text": "query AddToCartBannerQuery {\n viewer {\n currentOrder {\n ...AddToCartBanner_order\n id\n }\n id\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on CollectionBundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n"
|
|
174
189
|
}
|
|
175
190
|
};
|
|
176
191
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<3c933445c06d4a8d4652e8b758ea5f73>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,6 +10,15 @@ export type AddToCartBanner_item$data = {
|
|
|
10
10
|
readonly sku: {
|
|
11
11
|
readonly product: {
|
|
12
12
|
readonly __typename: "Bundle";
|
|
13
|
+
readonly fontCollection: {
|
|
14
|
+
readonly name: string;
|
|
15
|
+
};
|
|
16
|
+
readonly name: string;
|
|
17
|
+
} | {
|
|
18
|
+
readonly __typename: "CollectionBundle";
|
|
19
|
+
readonly fontCollection: {
|
|
20
|
+
readonly name: string;
|
|
21
|
+
};
|
|
13
22
|
readonly name: string;
|
|
14
23
|
} | {
|
|
15
24
|
readonly __typename: "FontCollection";
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<3c933445c06d4a8d4652e8b758ea5f73>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -22,7 +22,17 @@ const node = function () {
|
|
|
22
22
|
"name": "name",
|
|
23
23
|
"storageKey": null
|
|
24
24
|
},
|
|
25
|
-
v1 = [v0 /*: any*/]
|
|
25
|
+
v1 = [v0 /*: any*/],
|
|
26
|
+
v2 = [v0 /*: any*/, {
|
|
27
|
+
"alias": null,
|
|
28
|
+
"args": null,
|
|
29
|
+
"concreteType": "FontCollection",
|
|
30
|
+
"kind": "LinkedField",
|
|
31
|
+
"name": "fontCollection",
|
|
32
|
+
"plural": false,
|
|
33
|
+
"selections": v1 /*: any*/,
|
|
34
|
+
"storageKey": null
|
|
35
|
+
}];
|
|
26
36
|
return {
|
|
27
37
|
"argumentDefinitions": [],
|
|
28
38
|
"kind": "Fragment",
|
|
@@ -75,9 +85,14 @@ const node = function () {
|
|
|
75
85
|
"abstractKey": null
|
|
76
86
|
}, {
|
|
77
87
|
"kind": "InlineFragment",
|
|
78
|
-
"selections":
|
|
88
|
+
"selections": v2 /*: any*/,
|
|
79
89
|
"type": "Bundle",
|
|
80
90
|
"abstractKey": null
|
|
91
|
+
}, {
|
|
92
|
+
"kind": "InlineFragment",
|
|
93
|
+
"selections": v2 /*: any*/,
|
|
94
|
+
"type": "CollectionBundle",
|
|
95
|
+
"abstractKey": null
|
|
81
96
|
}],
|
|
82
97
|
"storageKey": null
|
|
83
98
|
}],
|
|
@@ -87,6 +102,6 @@ const node = function () {
|
|
|
87
102
|
"abstractKey": null
|
|
88
103
|
};
|
|
89
104
|
}();
|
|
90
|
-
node.hash = "
|
|
105
|
+
node.hash = "93905c08206c30255368dbb06f59ccec";
|
|
91
106
|
var _default = node;
|
|
92
107
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<71d537ea806e036df9d89dd79de6a6a3>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -11,6 +11,15 @@ export type AddToCartBanner_order$data = {
|
|
|
11
11
|
readonly sku: {
|
|
12
12
|
readonly product: {
|
|
13
13
|
readonly __typename: "Bundle";
|
|
14
|
+
readonly fontCollection: {
|
|
15
|
+
readonly name: string;
|
|
16
|
+
};
|
|
17
|
+
readonly name: string;
|
|
18
|
+
} | {
|
|
19
|
+
readonly __typename: "CollectionBundle";
|
|
20
|
+
readonly fontCollection: {
|
|
21
|
+
readonly name: string;
|
|
22
|
+
};
|
|
14
23
|
readonly name: string;
|
|
15
24
|
} | {
|
|
16
25
|
readonly __typename: "FontCollection";
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<71d537ea806e036df9d89dd79de6a6a3>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -22,7 +22,17 @@ const node = function () {
|
|
|
22
22
|
"name": "name",
|
|
23
23
|
"storageKey": null
|
|
24
24
|
},
|
|
25
|
-
v1 = [v0 /*: any*/]
|
|
25
|
+
v1 = [v0 /*: any*/],
|
|
26
|
+
v2 = [v0 /*: any*/, {
|
|
27
|
+
"alias": null,
|
|
28
|
+
"args": null,
|
|
29
|
+
"concreteType": "FontCollection",
|
|
30
|
+
"kind": "LinkedField",
|
|
31
|
+
"name": "fontCollection",
|
|
32
|
+
"plural": false,
|
|
33
|
+
"selections": v1 /*: any*/,
|
|
34
|
+
"storageKey": null
|
|
35
|
+
}];
|
|
26
36
|
return {
|
|
27
37
|
"argumentDefinitions": [],
|
|
28
38
|
"kind": "Fragment",
|
|
@@ -97,9 +107,14 @@ const node = function () {
|
|
|
97
107
|
"abstractKey": null
|
|
98
108
|
}, {
|
|
99
109
|
"kind": "InlineFragment",
|
|
100
|
-
"selections":
|
|
110
|
+
"selections": v2 /*: any*/,
|
|
101
111
|
"type": "Bundle",
|
|
102
112
|
"abstractKey": null
|
|
113
|
+
}, {
|
|
114
|
+
"kind": "InlineFragment",
|
|
115
|
+
"selections": v2 /*: any*/,
|
|
116
|
+
"type": "CollectionBundle",
|
|
117
|
+
"abstractKey": null
|
|
103
118
|
}],
|
|
104
119
|
"storageKey": null
|
|
105
120
|
}],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<9b8e86a8ba2c73d1472616197e58dace>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -16,6 +16,9 @@ export type CartItemProduct_product$data = {
|
|
|
16
16
|
readonly cssUrl: string | null;
|
|
17
17
|
} | null;
|
|
18
18
|
} | null;
|
|
19
|
+
readonly fontCollection?: {
|
|
20
|
+
readonly name: string;
|
|
21
|
+
};
|
|
19
22
|
readonly isVariableFont?: boolean;
|
|
20
23
|
readonly name?: string;
|
|
21
24
|
readonly totalStyles?: number | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<9b8e86a8ba2c73d1472616197e58dace>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -31,6 +31,16 @@ const node = function () {
|
|
|
31
31
|
},
|
|
32
32
|
v2 = [v0 /*: any*/],
|
|
33
33
|
v3 = {
|
|
34
|
+
"alias": null,
|
|
35
|
+
"args": null,
|
|
36
|
+
"concreteType": "FontCollection",
|
|
37
|
+
"kind": "LinkedField",
|
|
38
|
+
"name": "fontCollection",
|
|
39
|
+
"plural": false,
|
|
40
|
+
"selections": v2 /*: any*/,
|
|
41
|
+
"storageKey": null
|
|
42
|
+
},
|
|
43
|
+
v4 = {
|
|
34
44
|
"alias": null,
|
|
35
45
|
"args": null,
|
|
36
46
|
"kind": "ScalarField",
|
|
@@ -81,7 +91,7 @@ const node = function () {
|
|
|
81
91
|
"abstractKey": null
|
|
82
92
|
}, {
|
|
83
93
|
"kind": "InlineFragment",
|
|
84
|
-
"selections":
|
|
94
|
+
"selections": [v0 /*: any*/, v3 /*: any*/],
|
|
85
95
|
"type": "Bundle",
|
|
86
96
|
"abstractKey": null
|
|
87
97
|
}, {
|
|
@@ -92,7 +102,7 @@ const node = function () {
|
|
|
92
102
|
"kind": "ScalarField",
|
|
93
103
|
"name": "isVariableFont",
|
|
94
104
|
"storageKey": null
|
|
95
|
-
},
|
|
105
|
+
}, v4 /*: any*/, {
|
|
96
106
|
"alias": null,
|
|
97
107
|
"args": null,
|
|
98
108
|
"concreteType": "FontStyle",
|
|
@@ -115,7 +125,7 @@ const node = function () {
|
|
|
115
125
|
"abstractKey": null
|
|
116
126
|
}, {
|
|
117
127
|
"kind": "InlineFragment",
|
|
118
|
-
"selections": [v0 /*: any*/, v3 /*: any*/],
|
|
128
|
+
"selections": [v0 /*: any*/, v4 /*: any*/, v3 /*: any*/],
|
|
119
129
|
"type": "CollectionBundle",
|
|
120
130
|
"abstractKey": null
|
|
121
131
|
}],
|
|
@@ -123,6 +133,6 @@ const node = function () {
|
|
|
123
133
|
"abstractKey": "__isSkuProduct"
|
|
124
134
|
};
|
|
125
135
|
}();
|
|
126
|
-
node.hash = "
|
|
136
|
+
node.hash = "b28cd421e634ecb1162252d953233456";
|
|
127
137
|
var _default = node;
|
|
128
138
|
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<<88416daded0fea1fc57e1b31011fde51>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -172,6 +172,16 @@ const node = function () {
|
|
|
172
172
|
"kind": "ScalarField",
|
|
173
173
|
"name": "totalStyles",
|
|
174
174
|
"storageKey": null
|
|
175
|
+
},
|
|
176
|
+
v14 = {
|
|
177
|
+
"alias": null,
|
|
178
|
+
"args": null,
|
|
179
|
+
"concreteType": "FontCollection",
|
|
180
|
+
"kind": "LinkedField",
|
|
181
|
+
"name": "fontCollection",
|
|
182
|
+
"plural": false,
|
|
183
|
+
"selections": [v2 /*: any*/, v4 /*: any*/],
|
|
184
|
+
"storageKey": null
|
|
175
185
|
};
|
|
176
186
|
return {
|
|
177
187
|
"fragment": {
|
|
@@ -401,6 +411,18 @@ const node = function () {
|
|
|
401
411
|
"kind": "ScalarField",
|
|
402
412
|
"name": "taxName",
|
|
403
413
|
"storageKey": null
|
|
414
|
+
}, {
|
|
415
|
+
"alias": null,
|
|
416
|
+
"args": null,
|
|
417
|
+
"kind": "ScalarField",
|
|
418
|
+
"name": "taxNotApplicable",
|
|
419
|
+
"storageKey": null
|
|
420
|
+
}, {
|
|
421
|
+
"alias": null,
|
|
422
|
+
"args": null,
|
|
423
|
+
"kind": "ScalarField",
|
|
424
|
+
"name": "taxNotApplicableReason",
|
|
425
|
+
"storageKey": null
|
|
404
426
|
}, {
|
|
405
427
|
"alias": null,
|
|
406
428
|
"args": null,
|
|
@@ -555,7 +577,7 @@ const node = function () {
|
|
|
555
577
|
"plural": true,
|
|
556
578
|
"selections": [v11 /*: any*/, v2 /*: any*/, v4 /*: any*/],
|
|
557
579
|
"storageKey": null
|
|
558
|
-
}, v2 /*: any*/],
|
|
580
|
+
}, v2 /*: any*/, v14 /*: any*/],
|
|
559
581
|
"type": "Bundle",
|
|
560
582
|
"abstractKey": null
|
|
561
583
|
}, {
|
|
@@ -583,7 +605,7 @@ const node = function () {
|
|
|
583
605
|
"abstractKey": null
|
|
584
606
|
}, {
|
|
585
607
|
"kind": "InlineFragment",
|
|
586
|
-
"selections": [v2 /*: any*/, v13 /*: any*/],
|
|
608
|
+
"selections": [v2 /*: any*/, v13 /*: any*/, v14 /*: any*/],
|
|
587
609
|
"type": "CollectionBundle",
|
|
588
610
|
"abstractKey": null
|
|
589
611
|
}, {
|
|
@@ -705,12 +727,12 @@ const node = function () {
|
|
|
705
727
|
}]
|
|
706
728
|
},
|
|
707
729
|
"params": {
|
|
708
|
-
"cacheID": "
|
|
730
|
+
"cacheID": "997edb78782ffddb97ad83766fc8d462",
|
|
709
731
|
"id": null,
|
|
710
732
|
"metadata": {},
|
|
711
733
|
"name": "CartOrderCompleteOrderMutation",
|
|
712
734
|
"operationKind": "mutation",
|
|
713
|
-
"text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment 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 phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
735
|
+
"text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\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 CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
714
736
|
}
|
|
715
737
|
};
|
|
716
738
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<92c10669c5ceae7fc86496efb67bf200>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -158,6 +158,16 @@ const node = function () {
|
|
|
158
158
|
"kind": "ScalarField",
|
|
159
159
|
"name": "totalStyles",
|
|
160
160
|
"storageKey": null
|
|
161
|
+
},
|
|
162
|
+
v12 = {
|
|
163
|
+
"alias": null,
|
|
164
|
+
"args": null,
|
|
165
|
+
"concreteType": "FontCollection",
|
|
166
|
+
"kind": "LinkedField",
|
|
167
|
+
"name": "fontCollection",
|
|
168
|
+
"plural": false,
|
|
169
|
+
"selections": [v0 /*: any*/, v2 /*: any*/],
|
|
170
|
+
"storageKey": null
|
|
161
171
|
};
|
|
162
172
|
return {
|
|
163
173
|
"fragment": {
|
|
@@ -378,6 +388,18 @@ const node = function () {
|
|
|
378
388
|
"kind": "ScalarField",
|
|
379
389
|
"name": "taxName",
|
|
380
390
|
"storageKey": null
|
|
391
|
+
}, {
|
|
392
|
+
"alias": null,
|
|
393
|
+
"args": null,
|
|
394
|
+
"kind": "ScalarField",
|
|
395
|
+
"name": "taxNotApplicable",
|
|
396
|
+
"storageKey": null
|
|
397
|
+
}, {
|
|
398
|
+
"alias": null,
|
|
399
|
+
"args": null,
|
|
400
|
+
"kind": "ScalarField",
|
|
401
|
+
"name": "taxNotApplicableReason",
|
|
402
|
+
"storageKey": null
|
|
381
403
|
}, {
|
|
382
404
|
"alias": null,
|
|
383
405
|
"args": null,
|
|
@@ -532,7 +554,7 @@ const node = function () {
|
|
|
532
554
|
"plural": true,
|
|
533
555
|
"selections": [v9 /*: any*/, v0 /*: any*/, v2 /*: any*/],
|
|
534
556
|
"storageKey": null
|
|
535
|
-
}, v0 /*: any*/],
|
|
557
|
+
}, v0 /*: any*/, v12 /*: any*/],
|
|
536
558
|
"type": "Bundle",
|
|
537
559
|
"abstractKey": null
|
|
538
560
|
}, {
|
|
@@ -560,7 +582,7 @@ const node = function () {
|
|
|
560
582
|
"abstractKey": null
|
|
561
583
|
}, {
|
|
562
584
|
"kind": "InlineFragment",
|
|
563
|
-
"selections": [v0 /*: any*/, v11 /*: any*/],
|
|
585
|
+
"selections": [v0 /*: any*/, v11 /*: any*/, v12 /*: any*/],
|
|
564
586
|
"type": "CollectionBundle",
|
|
565
587
|
"abstractKey": null
|
|
566
588
|
}, {
|
|
@@ -682,12 +704,12 @@ const node = function () {
|
|
|
682
704
|
}]
|
|
683
705
|
},
|
|
684
706
|
"params": {
|
|
685
|
-
"cacheID": "
|
|
707
|
+
"cacheID": "da9d9d90cd20ae5c9e29ad8d34f7a8a8",
|
|
686
708
|
"id": null,
|
|
687
709
|
"metadata": {},
|
|
688
710
|
"name": "CartOrderRemoveDiscountMutation",
|
|
689
711
|
"operationKind": "mutation",
|
|
690
|
-
"text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment 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 phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
712
|
+
"text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\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 CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
691
713
|
}
|
|
692
714
|
};
|
|
693
715
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<1ad5cd0e096228924fda58b1a34c06ad>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -193,6 +193,16 @@ const node = function () {
|
|
|
193
193
|
"kind": "ScalarField",
|
|
194
194
|
"name": "totalStyles",
|
|
195
195
|
"storageKey": null
|
|
196
|
+
},
|
|
197
|
+
v15 = {
|
|
198
|
+
"alias": null,
|
|
199
|
+
"args": null,
|
|
200
|
+
"concreteType": "FontCollection",
|
|
201
|
+
"kind": "LinkedField",
|
|
202
|
+
"name": "fontCollection",
|
|
203
|
+
"plural": false,
|
|
204
|
+
"selections": [v3 /*: any*/, v5 /*: any*/],
|
|
205
|
+
"storageKey": null
|
|
196
206
|
};
|
|
197
207
|
return {
|
|
198
208
|
"fragment": {
|
|
@@ -413,6 +423,18 @@ const node = function () {
|
|
|
413
423
|
"kind": "ScalarField",
|
|
414
424
|
"name": "taxName",
|
|
415
425
|
"storageKey": null
|
|
426
|
+
}, {
|
|
427
|
+
"alias": null,
|
|
428
|
+
"args": null,
|
|
429
|
+
"kind": "ScalarField",
|
|
430
|
+
"name": "taxNotApplicable",
|
|
431
|
+
"storageKey": null
|
|
432
|
+
}, {
|
|
433
|
+
"alias": null,
|
|
434
|
+
"args": null,
|
|
435
|
+
"kind": "ScalarField",
|
|
436
|
+
"name": "taxNotApplicableReason",
|
|
437
|
+
"storageKey": null
|
|
416
438
|
}, {
|
|
417
439
|
"alias": null,
|
|
418
440
|
"args": null,
|
|
@@ -567,7 +589,7 @@ const node = function () {
|
|
|
567
589
|
"plural": true,
|
|
568
590
|
"selections": [v12 /*: any*/, v3 /*: any*/, v5 /*: any*/],
|
|
569
591
|
"storageKey": null
|
|
570
|
-
}, v3 /*: any*/],
|
|
592
|
+
}, v3 /*: any*/, v15 /*: any*/],
|
|
571
593
|
"type": "Bundle",
|
|
572
594
|
"abstractKey": null
|
|
573
595
|
}, {
|
|
@@ -595,7 +617,7 @@ const node = function () {
|
|
|
595
617
|
"abstractKey": null
|
|
596
618
|
}, {
|
|
597
619
|
"kind": "InlineFragment",
|
|
598
|
-
"selections": [v3 /*: any*/, v14 /*: any*/],
|
|
620
|
+
"selections": [v3 /*: any*/, v14 /*: any*/, v15 /*: any*/],
|
|
599
621
|
"type": "CollectionBundle",
|
|
600
622
|
"abstractKey": null
|
|
601
623
|
}, {
|
|
@@ -717,12 +739,12 @@ const node = function () {
|
|
|
717
739
|
}]
|
|
718
740
|
},
|
|
719
741
|
"params": {
|
|
720
|
-
"cacheID": "
|
|
742
|
+
"cacheID": "e19e991b87ffd4c9a7036c06f0113333",
|
|
721
743
|
"id": null,
|
|
722
744
|
"metadata": {},
|
|
723
745
|
"name": "CartOrderUpdateMutation",
|
|
724
746
|
"operationKind": "mutation",
|
|
725
|
-
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment 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 phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
747
|
+
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\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 CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
726
748
|
}
|
|
727
749
|
};
|
|
728
750
|
}();
|