fontdue-js 2.16.1 → 2.17.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 +7 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +25 -4
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +5 -1
- package/dist/__generated__/AddressFields_viewer.graphql.js +23 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +3 -2
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +10 -4
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +22 -4
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +43 -4
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +3 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +60 -53
- package/dist/__generated__/CartState_order.graphql.d.ts +2 -1
- package/dist/__generated__/CartState_order.graphql.js +8 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +5 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +10 -4
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +3 -3
- package/dist/__generated__/Checkout_identity.graphql.d.ts +2 -2
- package/dist/__generated__/Checkout_identity.graphql.js +3 -3
- package/dist/__generated__/Checkout_order.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_order.graphql.js +2 -2
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +43 -4
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.d.ts +4 -1
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.js +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +1 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +6 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +29 -2
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +5 -1
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +31 -15
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +10 -4
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +8 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +173 -126
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +8 -2
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +9 -3
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.js +98 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +1 -16
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +40 -104
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +24 -3
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +5 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +13 -3
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +50 -4
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +8 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +30 -14
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +8 -2
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +4 -1
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +17 -2
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +53 -37
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +53 -37
- package/dist/components/Cart/AddressFields.d.ts +3 -2
- package/dist/components/Cart/AddressFields.js +45 -47
- package/dist/components/Cart/CartState.js +1 -1
- package/dist/components/Cart/CartTotals.d.ts +5 -2
- package/dist/components/Cart/CartTotals.js +24 -10
- package/dist/components/Cart/Checkout.js +33 -6
- package/dist/components/Cart/types.d.ts +1 -1
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +21 -1
- package/dist/components/OrderVariableSelection/index.d.ts +1 -0
- package/dist/components/OrderVariableSelection/index.js +23 -10
- package/dist/components/StoreModal/StoreModalCart.js +9 -6
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +3 -1
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +9 -5
- package/dist/components/StoreModal/StoreModalStyleButton.js +1 -8
- package/dist/components/StripeProvider/index.js +5 -3
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +12 -3
- package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +60 -1
- package/dist/components/elements/StoreModalUnifiedCheckout.js +409 -201
- package/dist/fontdue.css +36 -10
- package/dist/reducer.d.ts +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +11 -2
- package/package.json +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<4bec284d3680ce844a50972b4940a1b9>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -15,6 +15,7 @@ export type StoreModalIndexItem_fontCollection$data = {
|
|
|
15
15
|
readonly family: {
|
|
16
16
|
readonly cssUrl: string | null;
|
|
17
17
|
} | null;
|
|
18
|
+
readonly supportedLanguages: ReadonlyArray<string> | null;
|
|
18
19
|
readonly " $fragmentSpreads": FragmentRefs<"FontStyle_fontStyle">;
|
|
19
20
|
} | null;
|
|
20
21
|
readonly id: string;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<4bec284d3680ce844a50972b4940a1b9>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -80,6 +80,12 @@ const node = function () {
|
|
|
80
80
|
"args": null,
|
|
81
81
|
"kind": "FragmentSpread",
|
|
82
82
|
"name": "FontStyle_fontStyle"
|
|
83
|
+
}, {
|
|
84
|
+
"alias": null,
|
|
85
|
+
"args": null,
|
|
86
|
+
"kind": "ScalarField",
|
|
87
|
+
"name": "supportedLanguages",
|
|
88
|
+
"storageKey": null
|
|
83
89
|
}, {
|
|
84
90
|
"alias": null,
|
|
85
91
|
"args": null,
|
|
@@ -102,6 +108,6 @@ const node = function () {
|
|
|
102
108
|
"abstractKey": null
|
|
103
109
|
};
|
|
104
110
|
}();
|
|
105
|
-
node.hash = "
|
|
111
|
+
node.hash = "c066b135c6b830ef95bfc0d307e46791";
|
|
106
112
|
var _default = node;
|
|
107
113
|
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<<7a3b9bc29e37995a040a4c2d49a03cec>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -177,6 +177,12 @@ const node = function () {
|
|
|
177
177
|
"name": "cssFamily",
|
|
178
178
|
"storageKey": null
|
|
179
179
|
}, v5 /*: any*/, {
|
|
180
|
+
"alias": null,
|
|
181
|
+
"args": null,
|
|
182
|
+
"kind": "ScalarField",
|
|
183
|
+
"name": "supportedLanguages",
|
|
184
|
+
"storageKey": null
|
|
185
|
+
}, {
|
|
180
186
|
"alias": null,
|
|
181
187
|
"args": null,
|
|
182
188
|
"concreteType": "FontCollection",
|
|
@@ -204,12 +210,12 @@ const node = function () {
|
|
|
204
210
|
}]
|
|
205
211
|
},
|
|
206
212
|
"params": {
|
|
207
|
-
"cacheID": "
|
|
213
|
+
"cacheID": "b91d76ee455913e4c42a94d476fae87b",
|
|
208
214
|
"id": null,
|
|
209
215
|
"metadata": {},
|
|
210
216
|
"name": "StoreModalIndexQuery",
|
|
211
217
|
"operationKind": "query",
|
|
212
|
-
"text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\n rootCollections: fontCollections(onlyRoots: true, first: 99, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n }\n }\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n family {\n cssUrl\n id\n }\n id\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
218
|
+
"text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\n rootCollections: fontCollections(onlyRoots: true, first: 99, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n }\n }\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n family {\n cssUrl\n id\n }\n id\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
213
219
|
}
|
|
214
220
|
};
|
|
215
221
|
}();
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<f5d24096c5c79c6a8c533aff25c52429>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type StoreModalOrderVariableSelection_order$data = {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly orderVariableSelections: ReadonlyArray<{
|
|
11
|
+
readonly countryCode: string | null;
|
|
12
|
+
readonly orderVariable: {
|
|
13
|
+
readonly description: string | null;
|
|
14
|
+
readonly id: string;
|
|
15
|
+
readonly name: string;
|
|
16
|
+
readonly variableType: string;
|
|
17
|
+
};
|
|
18
|
+
readonly orderVariableOption: {
|
|
19
|
+
readonly amount: string | null;
|
|
20
|
+
readonly id: string;
|
|
21
|
+
} | null;
|
|
22
|
+
}> | null;
|
|
23
|
+
readonly " $fragmentType": "StoreModalOrderVariableSelection_order";
|
|
24
|
+
};
|
|
25
|
+
export type StoreModalOrderVariableSelection_order$key = {
|
|
26
|
+
readonly " $data"?: StoreModalOrderVariableSelection_order$data;
|
|
27
|
+
readonly " $fragmentSpreads": FragmentRefs<"StoreModalOrderVariableSelection_order">;
|
|
28
|
+
};
|
|
29
|
+
declare const node: ReaderFragment;
|
|
30
|
+
export default node;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<f5d24096c5c79c6a8c533aff25c52429>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = function () {
|
|
18
|
+
var v0 = {
|
|
19
|
+
"alias": null,
|
|
20
|
+
"args": null,
|
|
21
|
+
"kind": "ScalarField",
|
|
22
|
+
"name": "id",
|
|
23
|
+
"storageKey": null
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
"argumentDefinitions": [],
|
|
27
|
+
"kind": "Fragment",
|
|
28
|
+
"metadata": null,
|
|
29
|
+
"name": "StoreModalOrderVariableSelection_order",
|
|
30
|
+
"selections": [v0 /*: any*/, {
|
|
31
|
+
"alias": null,
|
|
32
|
+
"args": null,
|
|
33
|
+
"concreteType": "OrderVariableSelection",
|
|
34
|
+
"kind": "LinkedField",
|
|
35
|
+
"name": "orderVariableSelections",
|
|
36
|
+
"plural": true,
|
|
37
|
+
"selections": [{
|
|
38
|
+
"alias": null,
|
|
39
|
+
"args": null,
|
|
40
|
+
"concreteType": "OrderVariable",
|
|
41
|
+
"kind": "LinkedField",
|
|
42
|
+
"name": "orderVariable",
|
|
43
|
+
"plural": false,
|
|
44
|
+
"selections": [v0 /*: any*/, {
|
|
45
|
+
"alias": null,
|
|
46
|
+
"args": null,
|
|
47
|
+
"kind": "ScalarField",
|
|
48
|
+
"name": "name",
|
|
49
|
+
"storageKey": null
|
|
50
|
+
}, {
|
|
51
|
+
"alias": null,
|
|
52
|
+
"args": null,
|
|
53
|
+
"kind": "ScalarField",
|
|
54
|
+
"name": "variableType",
|
|
55
|
+
"storageKey": null
|
|
56
|
+
}, {
|
|
57
|
+
"alias": null,
|
|
58
|
+
"args": [{
|
|
59
|
+
"kind": "Literal",
|
|
60
|
+
"name": "format",
|
|
61
|
+
"value": "HTML"
|
|
62
|
+
}],
|
|
63
|
+
"kind": "ScalarField",
|
|
64
|
+
"name": "description",
|
|
65
|
+
"storageKey": "description(format:\"HTML\")"
|
|
66
|
+
}],
|
|
67
|
+
"storageKey": null
|
|
68
|
+
}, {
|
|
69
|
+
"alias": null,
|
|
70
|
+
"args": null,
|
|
71
|
+
"concreteType": "OrderVariableOption",
|
|
72
|
+
"kind": "LinkedField",
|
|
73
|
+
"name": "orderVariableOption",
|
|
74
|
+
"plural": false,
|
|
75
|
+
"selections": [v0 /*: any*/, {
|
|
76
|
+
"alias": null,
|
|
77
|
+
"args": null,
|
|
78
|
+
"kind": "ScalarField",
|
|
79
|
+
"name": "amount",
|
|
80
|
+
"storageKey": null
|
|
81
|
+
}],
|
|
82
|
+
"storageKey": null
|
|
83
|
+
}, {
|
|
84
|
+
"alias": null,
|
|
85
|
+
"args": null,
|
|
86
|
+
"kind": "ScalarField",
|
|
87
|
+
"name": "countryCode",
|
|
88
|
+
"storageKey": null
|
|
89
|
+
}],
|
|
90
|
+
"storageKey": null
|
|
91
|
+
}],
|
|
92
|
+
"type": "Order",
|
|
93
|
+
"abstractKey": null
|
|
94
|
+
};
|
|
95
|
+
}();
|
|
96
|
+
node.hash = "262ac9d359f03f24ea222258e17945a8";
|
|
97
|
+
var _default = node;
|
|
98
|
+
exports.default = _default;
|
|
@@ -1,26 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<b6713bde59eea7f1a69b6cfdfa9ad431>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
6
6
|
import { ReaderFragment } from 'relay-runtime';
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type StoreModalOrderVariableSelection_viewer$data = {
|
|
9
|
-
readonly currentOrder: {
|
|
10
|
-
readonly id: string;
|
|
11
|
-
readonly orderVariableSelections: ReadonlyArray<{
|
|
12
|
-
readonly orderVariable: {
|
|
13
|
-
readonly description: string | null;
|
|
14
|
-
readonly id: string;
|
|
15
|
-
readonly name: string;
|
|
16
|
-
readonly variableType: string;
|
|
17
|
-
};
|
|
18
|
-
readonly orderVariableOption: {
|
|
19
|
-
readonly amount: string | null;
|
|
20
|
-
readonly id: string;
|
|
21
|
-
} | null;
|
|
22
|
-
}> | null;
|
|
23
|
-
} | null;
|
|
24
9
|
readonly orderVariables: ReadonlyArray<{
|
|
25
10
|
readonly id: string;
|
|
26
11
|
}> | 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<<b6713bde59eea7f1a69b6cfdfa9ad431>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -14,117 +14,53 @@ exports.default = void 0;
|
|
|
14
14
|
/* eslint-disable */
|
|
15
15
|
// @ts-nocheck
|
|
16
16
|
|
|
17
|
-
const node =
|
|
18
|
-
|
|
17
|
+
const node = {
|
|
18
|
+
"argumentDefinitions": [],
|
|
19
|
+
"kind": "Fragment",
|
|
20
|
+
"metadata": null,
|
|
21
|
+
"name": "StoreModalOrderVariableSelection_viewer",
|
|
22
|
+
"selections": [{
|
|
23
|
+
"args": null,
|
|
24
|
+
"kind": "FragmentSpread",
|
|
25
|
+
"name": "OrderVariableSelection_variables"
|
|
26
|
+
}, {
|
|
27
|
+
"alias": null,
|
|
28
|
+
"args": null,
|
|
29
|
+
"concreteType": "OrderVariable",
|
|
30
|
+
"kind": "LinkedField",
|
|
31
|
+
"name": "orderVariables",
|
|
32
|
+
"plural": true,
|
|
33
|
+
"selections": [{
|
|
19
34
|
"alias": null,
|
|
20
35
|
"args": null,
|
|
21
36
|
"kind": "ScalarField",
|
|
22
37
|
"name": "id",
|
|
23
38
|
"storageKey": null
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"metadata": null,
|
|
34
|
-
"name": "StoreModalOrderVariableSelection_viewer",
|
|
39
|
+
}],
|
|
40
|
+
"storageKey": null
|
|
41
|
+
}, {
|
|
42
|
+
"alias": null,
|
|
43
|
+
"args": null,
|
|
44
|
+
"concreteType": "Settings",
|
|
45
|
+
"kind": "LinkedField",
|
|
46
|
+
"name": "settings",
|
|
47
|
+
"plural": false,
|
|
35
48
|
"selections": [{
|
|
36
|
-
"args": null,
|
|
37
|
-
"kind": "FragmentSpread",
|
|
38
|
-
"name": "OrderVariableSelection_variables"
|
|
39
|
-
}, {
|
|
40
49
|
"alias": null,
|
|
41
|
-
"args":
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"plural": true,
|
|
46
|
-
"selections": [v0 /*: any*/],
|
|
47
|
-
"storageKey": null
|
|
48
|
-
}, {
|
|
49
|
-
"alias": null,
|
|
50
|
-
"args": null,
|
|
51
|
-
"concreteType": "Order",
|
|
52
|
-
"kind": "LinkedField",
|
|
53
|
-
"name": "currentOrder",
|
|
54
|
-
"plural": false,
|
|
55
|
-
"selections": [v0 /*: any*/, {
|
|
56
|
-
"alias": null,
|
|
57
|
-
"args": null,
|
|
58
|
-
"concreteType": "OrderVariableSelection",
|
|
59
|
-
"kind": "LinkedField",
|
|
60
|
-
"name": "orderVariableSelections",
|
|
61
|
-
"plural": true,
|
|
62
|
-
"selections": [{
|
|
63
|
-
"alias": null,
|
|
64
|
-
"args": null,
|
|
65
|
-
"concreteType": "OrderVariable",
|
|
66
|
-
"kind": "LinkedField",
|
|
67
|
-
"name": "orderVariable",
|
|
68
|
-
"plural": false,
|
|
69
|
-
"selections": [v0 /*: any*/, {
|
|
70
|
-
"alias": null,
|
|
71
|
-
"args": null,
|
|
72
|
-
"kind": "ScalarField",
|
|
73
|
-
"name": "name",
|
|
74
|
-
"storageKey": null
|
|
75
|
-
}, {
|
|
76
|
-
"alias": null,
|
|
77
|
-
"args": null,
|
|
78
|
-
"kind": "ScalarField",
|
|
79
|
-
"name": "variableType",
|
|
80
|
-
"storageKey": null
|
|
81
|
-
}, {
|
|
82
|
-
"alias": null,
|
|
83
|
-
"args": v1 /*: any*/,
|
|
84
|
-
"kind": "ScalarField",
|
|
85
|
-
"name": "description",
|
|
86
|
-
"storageKey": "description(format:\"HTML\")"
|
|
87
|
-
}],
|
|
88
|
-
"storageKey": null
|
|
89
|
-
}, {
|
|
90
|
-
"alias": null,
|
|
91
|
-
"args": null,
|
|
92
|
-
"concreteType": "OrderVariableOption",
|
|
93
|
-
"kind": "LinkedField",
|
|
94
|
-
"name": "orderVariableOption",
|
|
95
|
-
"plural": false,
|
|
96
|
-
"selections": [v0 /*: any*/, {
|
|
97
|
-
"alias": null,
|
|
98
|
-
"args": null,
|
|
99
|
-
"kind": "ScalarField",
|
|
100
|
-
"name": "amount",
|
|
101
|
-
"storageKey": null
|
|
102
|
-
}],
|
|
103
|
-
"storageKey": null
|
|
104
|
-
}],
|
|
105
|
-
"storageKey": null
|
|
50
|
+
"args": [{
|
|
51
|
+
"kind": "Literal",
|
|
52
|
+
"name": "format",
|
|
53
|
+
"value": "HTML"
|
|
106
54
|
}],
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
"args": null,
|
|
111
|
-
"concreteType": "Settings",
|
|
112
|
-
"kind": "LinkedField",
|
|
113
|
-
"name": "settings",
|
|
114
|
-
"plural": false,
|
|
115
|
-
"selections": [{
|
|
116
|
-
"alias": null,
|
|
117
|
-
"args": v1 /*: any*/,
|
|
118
|
-
"kind": "ScalarField",
|
|
119
|
-
"name": "storeModalSelectOrderVariablesLabel",
|
|
120
|
-
"storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
|
|
121
|
-
}],
|
|
122
|
-
"storageKey": null
|
|
55
|
+
"kind": "ScalarField",
|
|
56
|
+
"name": "storeModalSelectOrderVariablesLabel",
|
|
57
|
+
"storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
|
|
123
58
|
}],
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
59
|
+
"storageKey": null
|
|
60
|
+
}],
|
|
61
|
+
"type": "Viewer",
|
|
62
|
+
"abstractKey": null
|
|
63
|
+
};
|
|
64
|
+
node.hash = "b959e46df4274deb8a53ef227787c34a";
|
|
129
65
|
var _default = node;
|
|
130
66
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<eccfd99164a1e84613ad9576b433b990>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,6 +10,7 @@ export type LicenseOptionsSpec = {
|
|
|
10
10
|
licenseOptionIds?: ReadonlyArray<string> | null;
|
|
11
11
|
};
|
|
12
12
|
export type OrderVariableSelectionInput = {
|
|
13
|
+
countryCode?: string | null;
|
|
13
14
|
orderVariableId: string;
|
|
14
15
|
orderVariableOptionId?: string | null;
|
|
15
16
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<eccfd99164a1e84613ad9576b433b990>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -483,6 +483,27 @@ const node = function () {
|
|
|
483
483
|
"storageKey": null
|
|
484
484
|
}],
|
|
485
485
|
"storageKey": null
|
|
486
|
+
}, {
|
|
487
|
+
"alias": null,
|
|
488
|
+
"args": null,
|
|
489
|
+
"concreteType": "Country",
|
|
490
|
+
"kind": "LinkedField",
|
|
491
|
+
"name": "countries",
|
|
492
|
+
"plural": true,
|
|
493
|
+
"selections": [{
|
|
494
|
+
"alias": null,
|
|
495
|
+
"args": null,
|
|
496
|
+
"kind": "ScalarField",
|
|
497
|
+
"name": "code",
|
|
498
|
+
"storageKey": null
|
|
499
|
+
}, v11 /*: any*/],
|
|
500
|
+
"storageKey": null
|
|
501
|
+
}, {
|
|
502
|
+
"alias": null,
|
|
503
|
+
"args": null,
|
|
504
|
+
"kind": "ScalarField",
|
|
505
|
+
"name": "detectedCountry",
|
|
506
|
+
"storageKey": null
|
|
486
507
|
}, {
|
|
487
508
|
"alias": null,
|
|
488
509
|
"args": null,
|
|
@@ -573,12 +594,12 @@ const node = function () {
|
|
|
573
594
|
}]
|
|
574
595
|
},
|
|
575
596
|
"params": {
|
|
576
|
-
"cacheID": "
|
|
597
|
+
"cacheID": "748f76866af99e577d89e9fac39c4aa1",
|
|
577
598
|
"id": null,
|
|
578
599
|
"metadata": {},
|
|
579
600
|
"name": "StoreModalProductQuery",
|
|
580
601
|
"operationKind": "query",
|
|
581
|
-
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelectionRedux_viewer on Viewer {\n ...OrderVariableSelection_variables\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML)\n orderVariableOptions {\n id\n amount\n }\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n cssUrl\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
602
|
+
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelectionRedux_viewer on Viewer {\n ...OrderVariableSelection_variables\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n cssUrl\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
582
603
|
}
|
|
583
604
|
};
|
|
584
605
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<d0ae5575ca3499e5095893e52429842a>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,6 +10,7 @@ export type LicenseOptionsSpec = {
|
|
|
10
10
|
licenseOptionIds?: ReadonlyArray<string> | null;
|
|
11
11
|
};
|
|
12
12
|
export type OrderVariableSelectionInput = {
|
|
13
|
+
countryCode?: string | null;
|
|
13
14
|
orderVariableId: string;
|
|
14
15
|
orderVariableOptionId?: string | null;
|
|
15
16
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<bdbd57be989b0c0a5ac24293c9e1a97b>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -19,6 +19,7 @@ export type LicenseSelectionInput = {
|
|
|
19
19
|
variableText?: string | null;
|
|
20
20
|
};
|
|
21
21
|
export type OrderVariableSelectionInput = {
|
|
22
|
+
countryCode?: string | null;
|
|
22
23
|
orderVariableId: string;
|
|
23
24
|
orderVariableOptionId?: string | null;
|
|
24
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<aec55f866087d95e267738c72d5ee3a8>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,6 +10,7 @@ export type LicenseOptionsSpec = {
|
|
|
10
10
|
licenseOptionIds?: ReadonlyArray<string> | null;
|
|
11
11
|
};
|
|
12
12
|
export type OrderVariableSelectionInput = {
|
|
13
|
+
countryCode?: string | null;
|
|
13
14
|
orderVariableId: string;
|
|
14
15
|
orderVariableOptionId?: string | null;
|
|
15
16
|
};
|