@deenruv/react-ui-devkit 1.0.17-dev.4 → 1.0.17-dev.41
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/dist/DeenruvAdminPanelSettingsTypes.d.ts +52 -11
- package/dist/access.d.ts +15 -0
- package/dist/access.js +26 -0
- package/dist/access.js.map +1 -0
- package/dist/components/atoms/multiple-selector.js +7 -4
- package/dist/components/atoms/multiple-selector.js.map +1 -1
- package/dist/components/atoms/table.d.ts +1 -0
- package/dist/components/atoms/table.js +2 -2
- package/dist/components/atoms/table.js.map +1 -1
- package/dist/components/molecules/ListTable.d.ts +3 -2
- package/dist/components/molecules/ListTable.js +60 -38
- package/dist/components/molecules/ListTable.js.map +1 -1
- package/dist/components/molecules/ListTable.spec.d.ts +1 -0
- package/dist/components/molecules/ListTable.spec.js +138 -0
- package/dist/components/molecules/ListTable.spec.js.map +1 -0
- package/dist/components/templates/DetailList/DetailList.d.ts +2 -1
- package/dist/components/templates/DetailList/DetailList.js +112 -117
- package/dist/components/templates/DetailList/DetailList.js.map +1 -1
- package/dist/components/templates/DetailList/DetailListColumns/ActionsDropdown.js +2 -1
- package/dist/components/templates/DetailList/DetailListColumns/ActionsDropdown.js.map +1 -1
- package/dist/components/templates/DetailList/_components/TableLabel.d.ts +1 -1
- package/dist/components/templates/DetailList/_components/TableLabel.js +1 -1
- package/dist/components/templates/DetailList/_components/TableLabel.js.map +1 -1
- package/dist/components/templates/DetailList/_components/operators/RenderOperators.js.map +1 -1
- package/dist/components/templates/DetailList/tablePreferences.d.ts +2 -0
- package/dist/components/templates/DetailList/tablePreferences.js +6 -0
- package/dist/components/templates/DetailList/tablePreferences.js.map +1 -0
- package/dist/components/templates/DetailList/useDetailListHook/FiltersDialog.js.map +1 -1
- package/dist/components/templates/DetailList/useDetailListHook/buildSearchFilter.d.ts +9 -0
- package/dist/components/templates/DetailList/useDetailListHook/buildSearchFilter.js +37 -0
- package/dist/components/templates/DetailList/useDetailListHook/buildSearchFilter.js.map +1 -0
- package/dist/components/templates/DetailList/useDetailListHook/index.d.ts +3 -1
- package/dist/components/templates/DetailList/useDetailListHook/index.js +53 -36
- package/dist/components/templates/DetailList/useDetailListHook/index.js.map +1 -1
- package/dist/components/templates/DetailView/DetailView.d.ts +5 -4
- package/dist/components/templates/DetailView/DetailView.js +18 -10
- package/dist/components/templates/DetailView/DetailView.js.map +1 -1
- package/dist/components/templates/DetailView/useDetailView.d.ts +198 -187
- package/dist/components/templates/DetailView/useDetailView.js +13 -4
- package/dist/components/templates/DetailView/useDetailView.js.map +1 -1
- package/dist/hooks/useAssets.d.ts +8 -7
- package/dist/hooks/useAssets.js +59 -12
- package/dist/hooks/useAssets.js.map +1 -1
- package/dist/hooks/useLocalStorage.d.ts +1 -1
- package/dist/hooks/useLocalStorage.js +59 -18
- package/dist/hooks/useLocalStorage.js.map +1 -1
- package/dist/hooks/useTranslation.js +4 -3
- package/dist/hooks/useTranslation.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/utils.js +18 -15
- package/dist/lib/utils.js.map +1 -1
- package/dist/plugins/plugin-labels.spec.d.ts +1 -0
- package/dist/plugins/plugin-labels.spec.js +146 -0
- package/dist/plugins/plugin-labels.spec.js.map +1 -0
- package/dist/plugins/plugin-store.d.ts +11 -8
- package/dist/plugins/plugin-store.js +23 -6
- package/dist/plugins/plugin-store.js.map +1 -1
- package/dist/plugins/types.d.ts +26 -0
- package/dist/plugins/types.js +10 -0
- package/dist/plugins/types.js.map +1 -1
- package/dist/routes.d.ts +1 -0
- package/dist/routes.js +1 -0
- package/dist/routes.js.map +1 -1
- package/dist/selectors/ModifyOrderSelector.d.ts +14 -0
- package/dist/selectors/details/CollectionDetailSelector.d.ts +4 -0
- package/dist/selectors/details/CollectionDetailSelector.js +1 -0
- package/dist/selectors/details/CollectionDetailSelector.js.map +1 -1
- package/dist/selectors/details/OrderDetailSelector.d.ts +14 -0
- package/dist/selectors/details/OrderDetailSelector.js +4 -0
- package/dist/selectors/details/OrderDetailSelector.js.map +1 -1
- package/dist/state/order-refund.d.ts +117 -0
- package/dist/state/order-refund.js +156 -0
- package/dist/state/order-refund.js.map +1 -0
- package/dist/state/order.d.ts +13 -5
- package/dist/state/order.js +76 -26
- package/dist/state/order.js.map +1 -1
- package/dist/state/server.d.ts +7 -0
- package/dist/state/server.js +29 -1
- package/dist/state/server.js.map +1 -1
- package/dist/state/settings.d.ts +4 -4
- package/dist/state/settings.js +10 -13
- package/dist/state/settings.js.map +1 -1
- package/dist/state/settingsStorage.d.ts +4 -0
- package/dist/state/settingsStorage.js +108 -0
- package/dist/state/settingsStorage.js.map +1 -0
- package/dist/types/models.d.ts +1 -0
- package/dist/types/types.d.ts +25 -0
- package/dist/universal_components/AssetsModalInput.helpers.d.ts +31 -0
- package/dist/universal_components/AssetsModalInput.helpers.js +94 -0
- package/dist/universal_components/AssetsModalInput.helpers.js.map +1 -0
- package/dist/universal_components/AssetsModalInput.js +152 -85
- package/dist/universal_components/AssetsModalInput.js.map +1 -1
- package/dist/universal_components/RichTextEditor/EditorToolbar.d.ts +6 -2
- package/dist/universal_components/RichTextEditor/EditorToolbar.js +44 -41
- package/dist/universal_components/RichTextEditor/EditorToolbar.js.map +1 -1
- package/dist/universal_components/RichTextEditor/RichTextEditor.js +34 -7
- package/dist/universal_components/RichTextEditor/RichTextEditor.js.map +1 -1
- package/dist/utils/getMutation.js +8 -8
- package/dist/utils/getMutation.js.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/widgets/DashboardWidgets.js +5 -1
- package/dist/widgets/DashboardWidgets.js.map +1 -1
- package/dist/widgets/widgets-context.d.ts +2 -1
- package/dist/widgets/widgets-context.js +57 -16
- package/dist/widgets/widgets-context.js.map +1 -1
- package/dist/widgets/widgets-context.spec.d.ts +1 -0
- package/dist/widgets/widgets-context.spec.js +43 -0
- package/dist/widgets/widgets-context.spec.js.map +1 -0
- package/package.json +8 -6
|
@@ -2,19 +2,19 @@ import React from "react";
|
|
|
2
2
|
import { ModelTypes } from "@deenruv/admin-types";
|
|
3
3
|
import { type DetailKeys, type ExternalDetailLocationSelector } from "../../../types";
|
|
4
4
|
import type { PropsType, StoreContextType } from "./types";
|
|
5
|
-
export declare const DetailViewStoreContext: React.Context<StoreContextType<"orders-summary" | "
|
|
6
|
-
id:
|
|
7
|
-
code: string;
|
|
8
|
-
channels: {
|
|
9
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
10
|
-
code: string;
|
|
11
|
-
}[];
|
|
5
|
+
export declare const DetailViewStoreContext: React.Context<StoreContextType<"orders-summary" | "channels-detail-view" | "collections-detail-view" | "promotions-detail-view" | "customers-detail-view" | "orders-detail-view" | "roles-detail-view" | "countries-detail-view" | "admins-detail-view" | "facets-detail-view" | "products-detail-view" | "sellers-detail-view" | "zones-detail-view" | "globalSettings-detail-view" | "customerGroups-detail-view" | "paymentMethods-detail-view" | "shippingMethods-detail-view" | "stockLocations-detail-view" | "taxCategories-detail-view" | "taxRates-detail-view", {
|
|
6
|
+
id: string;
|
|
12
7
|
createdAt: string;
|
|
13
8
|
updatedAt: string;
|
|
9
|
+
code: string;
|
|
14
10
|
description: string;
|
|
15
11
|
permissions: import("@deenruv/admin-types").Permission[];
|
|
12
|
+
channels: {
|
|
13
|
+
id: string;
|
|
14
|
+
code: string;
|
|
15
|
+
}[];
|
|
16
16
|
} | {
|
|
17
|
-
id:
|
|
17
|
+
id: string;
|
|
18
18
|
createdAt: string;
|
|
19
19
|
updatedAt: string;
|
|
20
20
|
firstName: string;
|
|
@@ -22,134 +22,133 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
22
22
|
emailAddress: string;
|
|
23
23
|
user: {
|
|
24
24
|
roles: {
|
|
25
|
-
id:
|
|
26
|
-
code: string;
|
|
27
|
-
channels: {
|
|
28
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
29
|
-
code: string;
|
|
30
|
-
}[];
|
|
25
|
+
id: string;
|
|
31
26
|
createdAt: string;
|
|
32
27
|
updatedAt: string;
|
|
28
|
+
code: string;
|
|
33
29
|
description: string;
|
|
34
30
|
permissions: import("@deenruv/admin-types").Permission[];
|
|
31
|
+
channels: {
|
|
32
|
+
id: string;
|
|
33
|
+
code: string;
|
|
34
|
+
}[];
|
|
35
35
|
}[];
|
|
36
36
|
};
|
|
37
37
|
} | {
|
|
38
|
-
id:
|
|
39
|
-
code: string;
|
|
38
|
+
id: string;
|
|
40
39
|
createdAt: string;
|
|
41
40
|
updatedAt: string;
|
|
41
|
+
code: string;
|
|
42
42
|
token: string;
|
|
43
|
+
defaultLanguageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
44
|
+
availableLanguageCodes?: import("@deenruv/admin-types").LanguageCode[] | null | undefined;
|
|
43
45
|
defaultTaxZone?: {
|
|
44
|
-
id:
|
|
46
|
+
id: string;
|
|
45
47
|
name: string;
|
|
46
48
|
} | undefined;
|
|
47
49
|
defaultShippingZone?: {
|
|
48
|
-
id:
|
|
50
|
+
id: string;
|
|
49
51
|
name: string;
|
|
50
52
|
} | undefined;
|
|
51
|
-
defaultLanguageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
52
|
-
availableLanguageCodes?: import("@deenruv/admin-types").LanguageCode[] | null | undefined;
|
|
53
53
|
defaultCurrencyCode: import("@deenruv/admin-types").GraphQLTypes["CurrencyCode"];
|
|
54
54
|
availableCurrencyCodes: import("@deenruv/admin-types").CurrencyCode[];
|
|
55
55
|
pricesIncludeTax: boolean;
|
|
56
56
|
seller?: {
|
|
57
|
-
id:
|
|
57
|
+
id: string;
|
|
58
58
|
name: string;
|
|
59
59
|
} | undefined;
|
|
60
60
|
} | {
|
|
61
|
-
id:
|
|
61
|
+
id: string;
|
|
62
62
|
createdAt: string;
|
|
63
63
|
updatedAt: string;
|
|
64
64
|
name: string;
|
|
65
65
|
members: (({
|
|
66
66
|
[x: string]: unknown;
|
|
67
67
|
} & {
|
|
68
|
-
id:
|
|
69
|
-
code: string;
|
|
68
|
+
id: string;
|
|
70
69
|
createdAt: string;
|
|
71
70
|
updatedAt: string;
|
|
71
|
+
code: string;
|
|
72
72
|
name: string;
|
|
73
73
|
enabled: boolean;
|
|
74
74
|
}) | ({
|
|
75
75
|
[x: string]: unknown;
|
|
76
76
|
} & {
|
|
77
|
-
id:
|
|
78
|
-
code: string;
|
|
77
|
+
id: string;
|
|
79
78
|
createdAt: string;
|
|
80
79
|
updatedAt: string;
|
|
80
|
+
code: string;
|
|
81
81
|
name: string;
|
|
82
82
|
enabled: boolean;
|
|
83
83
|
}))[];
|
|
84
84
|
} | {
|
|
85
|
-
id:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
preview: string;
|
|
90
|
-
}[];
|
|
85
|
+
id: string;
|
|
86
|
+
createdAt: string;
|
|
87
|
+
updatedAt: string;
|
|
88
|
+
description: string;
|
|
91
89
|
channels: {
|
|
92
|
-
id:
|
|
90
|
+
id: string;
|
|
93
91
|
code: string;
|
|
94
92
|
}[];
|
|
95
|
-
|
|
93
|
+
name: string;
|
|
94
|
+
enabled: boolean;
|
|
95
|
+
translations: {
|
|
96
|
+
id: string;
|
|
97
|
+
description: string;
|
|
96
98
|
name: string;
|
|
99
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
97
100
|
slug: string;
|
|
98
|
-
parent?: {
|
|
99
|
-
slug: string;
|
|
100
|
-
} | undefined;
|
|
101
101
|
}[];
|
|
102
|
-
createdAt: string;
|
|
103
|
-
updatedAt: string;
|
|
104
|
-
name: string;
|
|
105
102
|
slug: string;
|
|
106
|
-
description: string;
|
|
107
103
|
featuredAsset?: {
|
|
108
|
-
id:
|
|
109
|
-
source: string;
|
|
104
|
+
id: string;
|
|
110
105
|
preview: string;
|
|
106
|
+
source: string;
|
|
111
107
|
} | undefined;
|
|
112
|
-
|
|
113
|
-
id:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
slug: string;
|
|
117
|
-
description: string;
|
|
108
|
+
assets: {
|
|
109
|
+
id: string;
|
|
110
|
+
preview: string;
|
|
111
|
+
source: string;
|
|
118
112
|
}[];
|
|
119
|
-
enabled: boolean;
|
|
120
113
|
optionGroups: {
|
|
121
|
-
id:
|
|
114
|
+
id: string;
|
|
122
115
|
code: string;
|
|
123
116
|
name: string;
|
|
124
117
|
}[];
|
|
125
118
|
facetValues: {
|
|
126
|
-
id:
|
|
119
|
+
id: string;
|
|
127
120
|
name: string;
|
|
128
121
|
translations: {
|
|
129
|
-
id:
|
|
130
|
-
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
122
|
+
id: string;
|
|
131
123
|
name: string;
|
|
124
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
132
125
|
}[];
|
|
133
126
|
facet: {
|
|
134
|
-
id:
|
|
127
|
+
id: string;
|
|
135
128
|
name: string;
|
|
136
129
|
translations: {
|
|
137
|
-
id:
|
|
138
|
-
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
130
|
+
id: string;
|
|
139
131
|
name: string;
|
|
132
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
140
133
|
}[];
|
|
141
134
|
};
|
|
142
135
|
}[];
|
|
136
|
+
collections: {
|
|
137
|
+
name: string;
|
|
138
|
+
parent?: {
|
|
139
|
+
slug: string;
|
|
140
|
+
} | undefined;
|
|
141
|
+
slug: string;
|
|
142
|
+
}[];
|
|
143
143
|
} | {
|
|
144
|
-
id:
|
|
144
|
+
id: string;
|
|
145
145
|
createdAt: string;
|
|
146
146
|
updatedAt: string;
|
|
147
147
|
trackInventory: boolean;
|
|
148
148
|
outOfStockThreshold: number;
|
|
149
149
|
availableLanguages: import("@deenruv/admin-types").LanguageCode[];
|
|
150
150
|
} | {
|
|
151
|
-
id:
|
|
152
|
-
title?: string | undefined | null | undefined;
|
|
151
|
+
id: string;
|
|
153
152
|
createdAt: string;
|
|
154
153
|
updatedAt: string;
|
|
155
154
|
firstName: string;
|
|
@@ -158,13 +157,14 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
158
157
|
user?: {
|
|
159
158
|
verified: boolean;
|
|
160
159
|
} | undefined;
|
|
160
|
+
phoneNumber?: string | undefined | null | undefined;
|
|
161
161
|
groups: {
|
|
162
|
-
id:
|
|
162
|
+
id: string;
|
|
163
163
|
name: string;
|
|
164
164
|
}[];
|
|
165
|
-
|
|
165
|
+
title?: string | undefined | null | undefined;
|
|
166
166
|
addresses?: {
|
|
167
|
-
id:
|
|
167
|
+
id: string;
|
|
168
168
|
phoneNumber?: string | undefined | null | undefined;
|
|
169
169
|
fullName?: string | undefined | null | undefined;
|
|
170
170
|
company?: string | undefined | null | undefined;
|
|
@@ -180,17 +180,17 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
180
180
|
defaultBillingAddress?: boolean | undefined | null | undefined;
|
|
181
181
|
}[] | undefined;
|
|
182
182
|
} | {
|
|
183
|
-
id:
|
|
183
|
+
id: string;
|
|
184
184
|
createdAt: string;
|
|
185
185
|
updatedAt: string;
|
|
186
|
-
name: string;
|
|
187
186
|
description: string;
|
|
187
|
+
name: string;
|
|
188
|
+
enabled: boolean;
|
|
188
189
|
translations: {
|
|
189
|
-
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
190
|
-
name: string;
|
|
191
190
|
description: string;
|
|
191
|
+
name: string;
|
|
192
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
192
193
|
}[];
|
|
193
|
-
enabled: boolean;
|
|
194
194
|
startsAt?: string | null | undefined;
|
|
195
195
|
endsAt?: string | null | undefined;
|
|
196
196
|
couponCode?: string | undefined | null | undefined;
|
|
@@ -211,50 +211,61 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
211
211
|
}[];
|
|
212
212
|
}[];
|
|
213
213
|
} | {
|
|
214
|
-
id:
|
|
214
|
+
id: string;
|
|
215
215
|
createdAt: string;
|
|
216
216
|
updatedAt: string;
|
|
217
|
-
name: string;
|
|
218
217
|
description: string;
|
|
218
|
+
name: string;
|
|
219
219
|
} | {
|
|
220
|
-
id:
|
|
220
|
+
id: string;
|
|
221
221
|
createdAt: string;
|
|
222
222
|
updatedAt: string;
|
|
223
223
|
name: string;
|
|
224
224
|
isDefault: boolean;
|
|
225
225
|
} | {
|
|
226
|
-
id:
|
|
226
|
+
id: string;
|
|
227
227
|
createdAt: string;
|
|
228
228
|
updatedAt: string;
|
|
229
229
|
name: string;
|
|
230
230
|
} | {
|
|
231
|
-
id:
|
|
232
|
-
children?: {
|
|
233
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
234
|
-
name: string;
|
|
235
|
-
slug: string;
|
|
236
|
-
featuredAsset?: {
|
|
237
|
-
preview: string;
|
|
238
|
-
} | undefined;
|
|
239
|
-
}[] | undefined;
|
|
240
|
-
assets: {
|
|
241
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
242
|
-
}[];
|
|
243
|
-
isPrivate: boolean;
|
|
244
|
-
inheritFilters: boolean;
|
|
231
|
+
id: string;
|
|
245
232
|
createdAt: string;
|
|
246
233
|
updatedAt: string;
|
|
234
|
+
description: string;
|
|
247
235
|
name: string;
|
|
236
|
+
translations: {
|
|
237
|
+
id: string;
|
|
238
|
+
description: string;
|
|
239
|
+
name: string;
|
|
240
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
241
|
+
slug: string;
|
|
242
|
+
}[];
|
|
243
|
+
parent?: {
|
|
244
|
+
name: string;
|
|
245
|
+
slug: string;
|
|
246
|
+
} | undefined;
|
|
248
247
|
slug: string;
|
|
249
|
-
description: string;
|
|
250
248
|
featuredAsset?: {
|
|
251
|
-
id:
|
|
249
|
+
id: string;
|
|
252
250
|
preview: string;
|
|
253
251
|
} | undefined;
|
|
254
|
-
|
|
252
|
+
assets: {
|
|
253
|
+
id: string;
|
|
254
|
+
}[];
|
|
255
|
+
isPrivate: boolean;
|
|
256
|
+
inheritFilters: boolean;
|
|
257
|
+
breadcrumbs: {
|
|
258
|
+
id: string;
|
|
259
|
+
slug: string;
|
|
260
|
+
}[];
|
|
261
|
+
children?: {
|
|
262
|
+
id: string;
|
|
255
263
|
name: string;
|
|
256
264
|
slug: string;
|
|
257
|
-
|
|
265
|
+
featuredAsset?: {
|
|
266
|
+
preview: string;
|
|
267
|
+
} | undefined;
|
|
268
|
+
}[] | undefined;
|
|
258
269
|
filters: {
|
|
259
270
|
code: string;
|
|
260
271
|
args: {
|
|
@@ -262,25 +273,13 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
262
273
|
value: string;
|
|
263
274
|
}[];
|
|
264
275
|
}[];
|
|
265
|
-
translations: {
|
|
266
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
267
|
-
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
268
|
-
name: string;
|
|
269
|
-
slug: string;
|
|
270
|
-
description: string;
|
|
271
|
-
}[];
|
|
272
276
|
} | {
|
|
273
|
-
id:
|
|
274
|
-
code: string;
|
|
277
|
+
id: string;
|
|
275
278
|
createdAt: string;
|
|
276
279
|
updatedAt: string;
|
|
277
|
-
|
|
280
|
+
code: string;
|
|
278
281
|
description: string;
|
|
279
|
-
|
|
280
|
-
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
281
|
-
name: string;
|
|
282
|
-
description: string;
|
|
283
|
-
}[];
|
|
282
|
+
name: string;
|
|
284
283
|
checker: {
|
|
285
284
|
code: string;
|
|
286
285
|
args: {
|
|
@@ -288,6 +287,11 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
288
287
|
value: string;
|
|
289
288
|
}[];
|
|
290
289
|
};
|
|
290
|
+
translations: {
|
|
291
|
+
description: string;
|
|
292
|
+
name: string;
|
|
293
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
294
|
+
}[];
|
|
291
295
|
fulfillmentHandlerCode: string;
|
|
292
296
|
calculator: {
|
|
293
297
|
code: string;
|
|
@@ -297,16 +301,11 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
297
301
|
}[];
|
|
298
302
|
};
|
|
299
303
|
} | {
|
|
300
|
-
id:
|
|
301
|
-
code: string;
|
|
304
|
+
id: string;
|
|
302
305
|
createdAt: string;
|
|
303
306
|
updatedAt: string;
|
|
307
|
+
code: string;
|
|
304
308
|
name: string;
|
|
305
|
-
translations: {
|
|
306
|
-
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
307
|
-
name: string;
|
|
308
|
-
description: string;
|
|
309
|
-
}[];
|
|
310
309
|
enabled: boolean;
|
|
311
310
|
checker?: {
|
|
312
311
|
code: string;
|
|
@@ -322,86 +321,93 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
322
321
|
value: string;
|
|
323
322
|
}[];
|
|
324
323
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
values: {
|
|
328
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
329
|
-
code: string;
|
|
330
|
-
createdAt: string;
|
|
331
|
-
updatedAt: string;
|
|
324
|
+
translations: {
|
|
325
|
+
description: string;
|
|
332
326
|
name: string;
|
|
327
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
333
328
|
}[];
|
|
334
|
-
|
|
335
|
-
|
|
329
|
+
} | {
|
|
330
|
+
id: string;
|
|
336
331
|
createdAt: string;
|
|
337
332
|
updatedAt: string;
|
|
338
|
-
|
|
333
|
+
code: string;
|
|
339
334
|
name: string;
|
|
340
335
|
translations: {
|
|
336
|
+
name: string;
|
|
341
337
|
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
338
|
+
}[];
|
|
339
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
340
|
+
isPrivate: boolean;
|
|
341
|
+
values: {
|
|
342
|
+
id: string;
|
|
343
|
+
createdAt: string;
|
|
344
|
+
updatedAt: string;
|
|
345
|
+
code: string;
|
|
342
346
|
name: string;
|
|
343
347
|
}[];
|
|
344
348
|
} | {
|
|
345
|
-
id:
|
|
346
|
-
code: string;
|
|
349
|
+
id: string;
|
|
347
350
|
createdAt: string;
|
|
348
351
|
updatedAt: string;
|
|
352
|
+
code: string;
|
|
349
353
|
name: string;
|
|
354
|
+
enabled: boolean;
|
|
350
355
|
translations: {
|
|
351
|
-
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
352
356
|
name: string;
|
|
357
|
+
languageCode: import("@deenruv/admin-types").GraphQLTypes["LanguageCode"];
|
|
353
358
|
}[];
|
|
354
|
-
enabled: boolean;
|
|
355
359
|
} | {
|
|
356
|
-
id:
|
|
360
|
+
id: string;
|
|
357
361
|
createdAt: string;
|
|
358
362
|
updatedAt: string;
|
|
359
363
|
name: string;
|
|
360
364
|
} | {
|
|
361
|
-
id:
|
|
365
|
+
id: string;
|
|
362
366
|
createdAt: string;
|
|
363
367
|
updatedAt: string;
|
|
364
368
|
name: string;
|
|
365
|
-
value: number;
|
|
366
369
|
enabled: boolean;
|
|
370
|
+
value: number;
|
|
367
371
|
category: {
|
|
368
|
-
id:
|
|
372
|
+
id: string;
|
|
369
373
|
name: string;
|
|
370
374
|
};
|
|
371
375
|
zone: {
|
|
372
|
-
id:
|
|
376
|
+
id: string;
|
|
373
377
|
name: string;
|
|
374
378
|
};
|
|
375
379
|
customerGroup?: {
|
|
376
|
-
id:
|
|
380
|
+
id: string;
|
|
377
381
|
name: string;
|
|
378
382
|
} | undefined;
|
|
379
383
|
} | {
|
|
380
|
-
id:
|
|
381
|
-
code: string;
|
|
382
|
-
promotions: {
|
|
383
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
384
|
-
name: string;
|
|
385
|
-
couponCode?: string | undefined | null | undefined;
|
|
386
|
-
}[];
|
|
384
|
+
id: string;
|
|
387
385
|
createdAt: string;
|
|
388
386
|
updatedAt: string;
|
|
387
|
+
code: string;
|
|
389
388
|
currencyCode: import("@deenruv/admin-types").GraphQLTypes["CurrencyCode"];
|
|
390
389
|
nextStates: string[];
|
|
390
|
+
state: string;
|
|
391
|
+
discounts: {
|
|
392
|
+
description: string;
|
|
393
|
+
type: import("@deenruv/admin-types").GraphQLTypes["AdjustmentType"];
|
|
394
|
+
amount: number;
|
|
395
|
+
adjustmentSource: string;
|
|
396
|
+
amountWithTax: number;
|
|
397
|
+
}[];
|
|
391
398
|
modifications: {
|
|
392
|
-
id:
|
|
399
|
+
id: string;
|
|
393
400
|
note: string;
|
|
394
401
|
}[];
|
|
395
|
-
state: string;
|
|
396
402
|
customer?: {
|
|
397
|
-
id:
|
|
398
|
-
title?: string | undefined | null | undefined;
|
|
403
|
+
id: string;
|
|
399
404
|
firstName: string;
|
|
400
405
|
lastName: string;
|
|
401
406
|
emailAddress: string;
|
|
402
407
|
phoneNumber?: string | undefined | null | undefined;
|
|
408
|
+
title?: string | undefined | null | undefined;
|
|
403
409
|
addresses?: {
|
|
404
|
-
id:
|
|
410
|
+
id: string;
|
|
405
411
|
phoneNumber?: string | undefined | null | undefined;
|
|
406
412
|
fullName?: string | undefined | null | undefined;
|
|
407
413
|
company?: string | undefined | null | undefined;
|
|
@@ -443,42 +449,49 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
443
449
|
countryCode?: string | undefined | null | undefined;
|
|
444
450
|
} | undefined;
|
|
445
451
|
lines: {
|
|
446
|
-
id:
|
|
452
|
+
id: string;
|
|
453
|
+
featuredAsset?: {
|
|
454
|
+
id: string;
|
|
455
|
+
preview: string;
|
|
456
|
+
} | undefined;
|
|
457
|
+
quantity: number;
|
|
458
|
+
linePriceWithTax: number;
|
|
459
|
+
unitPriceWithTax: number;
|
|
460
|
+
discountedLinePriceWithTax: number;
|
|
447
461
|
productVariant: {
|
|
448
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
449
|
-
name: string;
|
|
450
|
-
featuredAsset?: {
|
|
451
|
-
id: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
452
|
-
preview: string;
|
|
453
|
-
} | undefined;
|
|
454
|
-
currencyCode: import("@deenruv/admin-types").GraphQLTypes["CurrencyCode"];
|
|
455
|
-
stockLevels: {
|
|
456
|
-
stockOnHand: number;
|
|
457
|
-
}[];
|
|
458
462
|
product: {
|
|
459
|
-
id:
|
|
463
|
+
id: string;
|
|
460
464
|
name: string;
|
|
461
465
|
slug: string;
|
|
462
466
|
featuredAsset?: {
|
|
463
|
-
id:
|
|
467
|
+
id: string;
|
|
464
468
|
preview: string;
|
|
465
469
|
} | undefined;
|
|
466
470
|
};
|
|
467
|
-
|
|
471
|
+
id: string;
|
|
472
|
+
currencyCode: import("@deenruv/admin-types").GraphQLTypes["CurrencyCode"];
|
|
473
|
+
name: string;
|
|
474
|
+
featuredAsset?: {
|
|
475
|
+
id: string;
|
|
476
|
+
preview: string;
|
|
477
|
+
} | undefined;
|
|
478
|
+
stockLevels: {
|
|
479
|
+
stockOnHand: number;
|
|
480
|
+
}[];
|
|
481
|
+
productId: string;
|
|
468
482
|
sku: string;
|
|
469
483
|
price: number;
|
|
470
484
|
priceWithTax: number;
|
|
471
485
|
};
|
|
472
486
|
unitPrice: number;
|
|
473
|
-
unitPriceWithTax: number;
|
|
474
487
|
discountedUnitPrice: number;
|
|
475
488
|
discountedUnitPriceWithTax: number;
|
|
476
|
-
|
|
489
|
+
proratedUnitPrice: number;
|
|
490
|
+
proratedUnitPriceWithTax: number;
|
|
491
|
+
orderPlacedQuantity: number;
|
|
477
492
|
taxRate: number;
|
|
478
493
|
linePrice: number;
|
|
479
|
-
linePriceWithTax: number;
|
|
480
494
|
discountedLinePrice: number;
|
|
481
|
-
discountedLinePriceWithTax: number;
|
|
482
495
|
}[];
|
|
483
496
|
surcharges: {
|
|
484
497
|
createdAt: string;
|
|
@@ -488,66 +501,64 @@ export declare const DetailViewStoreContext: React.Context<StoreContextType<"ord
|
|
|
488
501
|
priceWithTax: number;
|
|
489
502
|
taxRate: number;
|
|
490
503
|
}[];
|
|
491
|
-
discounts: {
|
|
492
|
-
description: string;
|
|
493
|
-
type: import("@deenruv/admin-types").GraphQLTypes["AdjustmentType"];
|
|
494
|
-
amount: number;
|
|
495
|
-
adjustmentSource: string;
|
|
496
|
-
amountWithTax: number;
|
|
497
|
-
}[];
|
|
498
504
|
couponCodes: string[];
|
|
499
505
|
excludedPromotionIds?: string[] | null | undefined;
|
|
506
|
+
promotions: {
|
|
507
|
+
id: string;
|
|
508
|
+
name: string;
|
|
509
|
+
couponCode?: string | undefined | null | undefined;
|
|
510
|
+
}[];
|
|
500
511
|
payments?: {
|
|
501
|
-
id:
|
|
502
|
-
metadata?: any;
|
|
512
|
+
id: string;
|
|
503
513
|
createdAt: string;
|
|
504
|
-
state: string;
|
|
505
514
|
method: string;
|
|
506
515
|
amount: number;
|
|
516
|
+
state: string;
|
|
507
517
|
transactionId?: string | undefined | null | undefined;
|
|
508
518
|
errorMessage?: string | undefined | null | undefined;
|
|
509
519
|
refunds: {
|
|
510
|
-
id:
|
|
520
|
+
id: string;
|
|
511
521
|
state: string;
|
|
522
|
+
transactionId?: string | undefined | null | undefined;
|
|
512
523
|
lines: {
|
|
513
524
|
quantity: number;
|
|
514
|
-
orderLineId:
|
|
525
|
+
orderLineId: string;
|
|
515
526
|
}[];
|
|
516
527
|
total: number;
|
|
517
|
-
transactionId?: string | undefined | null | undefined;
|
|
518
528
|
}[];
|
|
529
|
+
metadata?: any;
|
|
519
530
|
}[] | undefined;
|
|
520
531
|
fulfillments?: {
|
|
521
|
-
id:
|
|
522
|
-
summary: {
|
|
523
|
-
quantity: number;
|
|
524
|
-
orderLineId: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
525
|
-
fulfillmentId: import("@deenruv/admin-types").GraphQLTypes["ID"];
|
|
526
|
-
}[];
|
|
532
|
+
id: string;
|
|
527
533
|
createdAt: string;
|
|
528
534
|
updatedAt: string;
|
|
529
535
|
nextStates: string[];
|
|
536
|
+
method: string;
|
|
530
537
|
state: string;
|
|
531
538
|
lines: {
|
|
532
539
|
quantity: number;
|
|
533
|
-
orderLineId:
|
|
540
|
+
orderLineId: string;
|
|
541
|
+
}[];
|
|
542
|
+
summary: {
|
|
543
|
+
quantity: number;
|
|
544
|
+
orderLineId: string;
|
|
545
|
+
fulfillmentId: string;
|
|
534
546
|
}[];
|
|
535
|
-
method: string;
|
|
536
547
|
trackingCode?: string | undefined | null | undefined;
|
|
537
548
|
}[] | undefined;
|
|
538
549
|
subTotalWithTax: number;
|
|
539
550
|
shippingLines: {
|
|
540
|
-
id:
|
|
551
|
+
id: string;
|
|
541
552
|
price: number;
|
|
542
553
|
priceWithTax: number;
|
|
543
|
-
discountedPrice: number;
|
|
544
|
-
discountedPriceWithTax: number;
|
|
545
554
|
shippingMethod: {
|
|
546
|
-
id:
|
|
555
|
+
id: string;
|
|
547
556
|
code: string;
|
|
548
557
|
name: string;
|
|
549
558
|
fulfillmentHandlerCode: string;
|
|
550
559
|
};
|
|
560
|
+
discountedPrice: number;
|
|
561
|
+
discountedPriceWithTax: number;
|
|
551
562
|
}[];
|
|
552
563
|
shipping: number;
|
|
553
564
|
total: number;
|