@mercurjs/admin 2.4.2-canary.0 → 2.4.2-canary.2
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/{add-campaign-promotions-I2RE2TFI.js → add-campaign-promotions-RK4N7E4J.js} +3 -3
- package/dist/{campaign-detail-CQLFD5TR.js → campaign-detail-SIUHKEBE.js} +4 -4
- package/dist/category-detail-XYXPRDG6.js +1 -1
- package/dist/{chunk-AHXURBQK.js → chunk-6FWR6IXZ.js} +1 -1
- package/dist/{chunk-FKQAVXJB.js → chunk-7XATJLO3.js} +1 -1
- package/dist/{chunk-RJ62M6VM.js → chunk-B7MV2IBN.js} +1 -1
- package/dist/{chunk-GTWQFFLT.js → chunk-BHAZEG34.js} +1 -1
- package/dist/{chunk-2JJKODRU.js → chunk-JQKWHQYV.js} +1 -1
- package/dist/{chunk-2LSMPTXI.js → chunk-MZMJTKII.js} +1 -1
- package/dist/{chunk-VOIYFZUD.js → chunk-O65UQTKL.js} +1 -1
- package/dist/{chunk-Z5JATDR6.js → chunk-POICNIRJ.js} +1 -1
- package/dist/{chunk-LHSJXV22.js → chunk-QBKQ5PAI.js} +11 -6
- package/dist/{chunk-65UMNTRR.js → chunk-VGIRBDBL.js} +1 -1
- package/dist/{chunk-4HKO3FVW.js → chunk-VGWI5VD4.js} +4 -4
- package/dist/collection-detail-SA3GXCYV.js +1 -1
- package/dist/extension-targets.d.ts +3 -3
- package/dist/{home-ZMWPB7Z4.js → home-4ZLUQ2LL.js} +1 -1
- package/dist/index.js +27 -27
- package/dist/{inventory-list-DPV4VMBB.js → inventory-list-SUFVDLEJ.js} +1 -1
- package/dist/{inventory-stock-2KPY45VX.js → inventory-stock-LTLXVUHQ.js} +118 -30
- package/dist/offer-condition-list-F2UTHYW5.js +1 -1
- package/dist/{order-create-edit-ZOXREL6X.js → order-create-edit-AC2YWTP7.js} +84 -56
- package/dist/{order-edit-billing-address-L7OB7DT4.js → order-edit-billing-address-SM2VDTND.js} +1 -1
- package/dist/pages/index.js +10 -10
- package/dist/{product-create-W3RUAYN2.js → product-create-CEUBLSNB.js} +3 -3
- package/dist/product-list-UTRXPARK.js +1 -1
- package/dist/{product-media-W3QHRCXX.js → product-media-DB74GMWE.js} +2 -2
- package/dist/{product-organization-BPTXZPF2.js → product-organization-J4WAKRIN.js} +1 -1
- package/dist/{product-inbox-BBAXGADC.js → product-requests-SV5NHQ4L.js} +49 -49
- package/dist/product-tag-detail-PWYCRCC3.js +1 -1
- package/dist/product-tag-list-LNKN323U.js +1 -1
- package/dist/product-type-detail-7P2M7JIS.js +1 -1
- package/dist/{promotion-detail-QYNXRGMO.js → promotion-detail-FNO3QDGZ.js} +3 -3
- package/dist/{promotion-list-DTEMWIUT.js → promotion-list-JNUPZ3PP.js} +4 -4
- package/dist/refund-reason-list-YJN3YBCX.js +1 -1
- package/dist/{reset-password-CRA4KXXZ.js → reset-password-ITQ3O4O7.js} +1 -1
- package/dist/return-reason-list-2GUYWZLY.js +1 -1
- package/dist/sales-channel-detail-WUA6WCD3.js +1 -1
- package/dist/{settings-SQMRZHLN.js → settings-2XM6WY63.js} +2 -2
- package/dist/store-details-CTXOMJ4F.js +1 -1
- package/dist/{store-edit-6G62NLNK.js → store-edit-LELCWFLY.js} +2 -2
- package/dist/{tax-region-create-27DNVEWH.js → tax-region-create-7NCIY2IB.js} +1 -1
- package/dist/tax-region-tax-override-create-MGQYCSLB.js +1 -1
- package/dist/tax-region-tax-override-edit-PWH2ZJVM.js +1 -1
- package/package.json +6 -6
- package/dist/{category-products-AE44IYFB.js → category-products-YTOLFNN3.js} +1 -1
- package/dist/{collection-add-products-YGSJTBLG.js → collection-add-products-X5ALICTT.js} +1 -1
- package/dist/{sales-channel-add-products-XSGA433D.js → sales-channel-add-products-EIVCMYH6.js} +1 -1
|
@@ -54,16 +54,16 @@ import {
|
|
|
54
54
|
} from "./chunk-PFJ2C667.js";
|
|
55
55
|
import "./chunk-NBMM2TZK.js";
|
|
56
56
|
|
|
57
|
-
// src/pages/products/product-
|
|
57
|
+
// src/pages/products/product-requests/product-requests.tsx
|
|
58
58
|
import { Children as Children2 } from "react";
|
|
59
59
|
import { Navigate } from "react-router-dom";
|
|
60
60
|
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
61
61
|
|
|
62
|
-
// src/pages/products/product-
|
|
62
|
+
// src/pages/products/product-requests/components/product-requests-table/product-requests-table.tsx
|
|
63
63
|
import { Container } from "@medusajs/ui";
|
|
64
64
|
import { Children } from "react";
|
|
65
65
|
|
|
66
|
-
// src/pages/products/product-
|
|
66
|
+
// src/pages/products/product-requests/components/product-requests-table/product-requests-data-table.tsx
|
|
67
67
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
68
68
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
69
69
|
|
|
@@ -80,28 +80,28 @@ var useProductChanges = (query, options) => {
|
|
|
80
80
|
return { ...data, ...rest };
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
// src/pages/products/product-
|
|
83
|
+
// src/pages/products/product-requests/components/product-requests-table/use-product-requests-table-columns.tsx
|
|
84
84
|
import { Text } from "@medusajs/ui";
|
|
85
85
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
86
86
|
import { useMemo } from "react";
|
|
87
87
|
import { useTranslation } from "react-i18next";
|
|
88
88
|
|
|
89
|
-
// src/pages/products/common/
|
|
90
|
-
var
|
|
89
|
+
// src/pages/products/common/requests.ts
|
|
90
|
+
var REQUEST_TYPES = [
|
|
91
91
|
"new_product",
|
|
92
92
|
"update",
|
|
93
93
|
"delete"
|
|
94
94
|
];
|
|
95
|
-
var
|
|
95
|
+
var REQUEST_TYPE_COLORS = {
|
|
96
96
|
new_product: "blue",
|
|
97
97
|
update: "orange",
|
|
98
98
|
delete: "red"
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
// src/pages/products/product-
|
|
101
|
+
// src/pages/products/product-requests/components/product-requests-table/use-product-requests-table-columns.tsx
|
|
102
102
|
import { jsx } from "react/jsx-runtime";
|
|
103
103
|
var columnHelper = createColumnHelper();
|
|
104
|
-
var
|
|
104
|
+
var useProductRequestsTableColumns = () => {
|
|
105
105
|
const { t } = useTranslation();
|
|
106
106
|
return useMemo(
|
|
107
107
|
() => [
|
|
@@ -119,23 +119,23 @@ var useProductInboxTableColumns = () => {
|
|
|
119
119
|
)
|
|
120
120
|
}),
|
|
121
121
|
columnHelper.accessor("seller_name", {
|
|
122
|
-
header: t("products.
|
|
122
|
+
header: t("products.requests.fields.store"),
|
|
123
123
|
cell: ({ getValue }) => /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", className: "truncate", children: getValue() })
|
|
124
124
|
}),
|
|
125
125
|
columnHelper.accessor("type", {
|
|
126
|
-
header: t("products.
|
|
127
|
-
cell: ({ getValue }) => /* @__PURE__ */ jsx(StatusCell, { color:
|
|
126
|
+
header: t("products.requests.fields.type"),
|
|
127
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx(StatusCell, { color: REQUEST_TYPE_COLORS[getValue()], children: t(`products.requests.types.${getValue()}`) })
|
|
128
128
|
}),
|
|
129
129
|
columnHelper.accessor("product_status", {
|
|
130
130
|
header: () => /* @__PURE__ */ jsx(ProductStatusHeader, {}),
|
|
131
131
|
cell: ({ getValue }) => /* @__PURE__ */ jsx(ProductStatusCell, { status: getValue() })
|
|
132
132
|
}),
|
|
133
133
|
columnHelper.accessor("action_count", {
|
|
134
|
-
header: t("products.
|
|
135
|
-
cell: ({ getValue }) => /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: t("products.
|
|
134
|
+
header: t("products.requests.fields.changes"),
|
|
135
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: t("products.requests.changeCount", { count: getValue() }) })
|
|
136
136
|
}),
|
|
137
137
|
columnHelper.accessor("created_at", {
|
|
138
|
-
header: t("products.
|
|
138
|
+
header: t("products.requests.fields.submitted"),
|
|
139
139
|
cell: ({ getValue }) => /* @__PURE__ */ jsx(DateCell, { date: getValue() })
|
|
140
140
|
}),
|
|
141
141
|
columnHelper.accessor("updated_at", {
|
|
@@ -147,10 +147,10 @@ var useProductInboxTableColumns = () => {
|
|
|
147
147
|
);
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
// src/pages/products/product-
|
|
150
|
+
// src/pages/products/product-requests/components/product-requests-table/use-product-requests-table-filters.tsx
|
|
151
151
|
import { usePermissions } from "@mercurjs/dashboard-shared";
|
|
152
152
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
153
|
-
var
|
|
153
|
+
var useProductRequestsTableFilters = () => {
|
|
154
154
|
const { t } = useTranslation2();
|
|
155
155
|
const { can } = usePermissions();
|
|
156
156
|
const { sellers } = useSellers({ limit: 1e3 }, { enabled: can("sellers") });
|
|
@@ -158,10 +158,10 @@ var useProductInboxTableFilters = () => {
|
|
|
158
158
|
{
|
|
159
159
|
type: "select",
|
|
160
160
|
key: "type",
|
|
161
|
-
label: t("products.
|
|
161
|
+
label: t("products.requests.fields.type"),
|
|
162
162
|
multiple: true,
|
|
163
|
-
options:
|
|
164
|
-
label: t(`products.
|
|
163
|
+
options: REQUEST_TYPES.map((type) => ({
|
|
164
|
+
label: t(`products.requests.types.${type}`),
|
|
165
165
|
value: type
|
|
166
166
|
}))
|
|
167
167
|
}
|
|
@@ -170,7 +170,7 @@ var useProductInboxTableFilters = () => {
|
|
|
170
170
|
filters.push({
|
|
171
171
|
type: "select",
|
|
172
172
|
key: "seller_id",
|
|
173
|
-
label: t("products.
|
|
173
|
+
label: t("products.requests.fields.store"),
|
|
174
174
|
multiple: true,
|
|
175
175
|
searchable: true,
|
|
176
176
|
options: sellers.map((s) => ({
|
|
@@ -186,8 +186,8 @@ var useProductInboxTableFilters = () => {
|
|
|
186
186
|
return filters;
|
|
187
187
|
};
|
|
188
188
|
|
|
189
|
-
// src/pages/products/product-
|
|
190
|
-
var
|
|
189
|
+
// src/pages/products/product-requests/components/product-requests-table/use-product-requests-table-query.tsx
|
|
190
|
+
var useProductRequestsTableQuery = ({
|
|
191
191
|
pageSize = 20,
|
|
192
192
|
prefix
|
|
193
193
|
}) => {
|
|
@@ -209,17 +209,17 @@ var useProductInboxTableQuery = ({
|
|
|
209
209
|
return { searchParams, raw };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
// src/pages/products/product-
|
|
212
|
+
// src/pages/products/product-requests/components/product-requests-table/product-requests-data-table.tsx
|
|
213
213
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
214
214
|
var PAGE_SIZE = 20;
|
|
215
|
-
var
|
|
215
|
+
var ProductRequestsDataTable = () => {
|
|
216
216
|
const { t } = useTranslation3();
|
|
217
|
-
const { raw, searchParams } =
|
|
217
|
+
const { raw, searchParams } = useProductRequestsTableQuery({
|
|
218
218
|
pageSize: PAGE_SIZE
|
|
219
219
|
});
|
|
220
220
|
const { product_changes, count, isLoading, isError, error } = useProductChanges(searchParams, { placeholderData: keepPreviousData });
|
|
221
|
-
const columns =
|
|
222
|
-
const filters =
|
|
221
|
+
const columns = useProductRequestsTableColumns();
|
|
222
|
+
const filters = useProductRequestsTableFilters();
|
|
223
223
|
const { table } = useDataTable({
|
|
224
224
|
data: product_changes ?? [],
|
|
225
225
|
columns,
|
|
@@ -244,42 +244,42 @@ var ProductInboxDataTable = () => {
|
|
|
244
244
|
filters,
|
|
245
245
|
queryObject: raw,
|
|
246
246
|
orderBy: [
|
|
247
|
-
{ key: "created_at", label: t("products.
|
|
247
|
+
{ key: "created_at", label: t("products.requests.fields.submitted") },
|
|
248
248
|
{ key: "updated_at", label: t("fields.updatedAt") },
|
|
249
249
|
{ key: "product_title", label: t("fields.product") },
|
|
250
|
-
{ key: "seller_name", label: t("products.
|
|
250
|
+
{ key: "seller_name", label: t("products.requests.fields.store") }
|
|
251
251
|
],
|
|
252
252
|
defaultOrder: "-created_at",
|
|
253
253
|
navigateTo: (row) => `/products/${row.original.product_id}`,
|
|
254
254
|
noRecords: {
|
|
255
|
-
title: t("products.
|
|
256
|
-
message: t("products.
|
|
255
|
+
title: t("products.requests.empty.heading"),
|
|
256
|
+
message: t("products.requests.empty.description")
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
);
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
// src/pages/products/product-
|
|
262
|
+
// src/pages/products/product-requests/components/product-requests-table/product-requests-header.tsx
|
|
263
263
|
import { Heading, Text as Text2 } from "@medusajs/ui";
|
|
264
264
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
265
265
|
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
266
|
-
var
|
|
266
|
+
var ProductRequestsTitle = () => {
|
|
267
267
|
const { t } = useTranslation4();
|
|
268
268
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
269
|
-
/* @__PURE__ */ jsx3(Heading, { "data-testid": "product-
|
|
270
|
-
/* @__PURE__ */ jsx3(Text2, { className: "text-ui-fg-subtle", size: "small", children: t("products.
|
|
269
|
+
/* @__PURE__ */ jsx3(Heading, { "data-testid": "product-requests-heading", children: t("products.requests.domain") }),
|
|
270
|
+
/* @__PURE__ */ jsx3(Text2, { className: "text-ui-fg-subtle", size: "small", children: t("products.requests.subtitle") })
|
|
271
271
|
] });
|
|
272
272
|
};
|
|
273
|
-
var
|
|
273
|
+
var ProductRequestsHeader = () => /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx3(ProductRequestsTitle, {}) });
|
|
274
274
|
|
|
275
|
-
// src/pages/products/product-
|
|
275
|
+
// src/pages/products/product-requests/components/product-requests-table/product-requests-table.tsx
|
|
276
276
|
import { Fragment, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
277
|
-
var
|
|
278
|
-
/* @__PURE__ */ jsx4(
|
|
279
|
-
/* @__PURE__ */ jsx4(
|
|
277
|
+
var ProductRequestsTable = ({ children }) => /* @__PURE__ */ jsx4(Container, { className: "divide-y p-0", "data-testid": "product-requests-table", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
278
|
+
/* @__PURE__ */ jsx4(ProductRequestsHeader, {}),
|
|
279
|
+
/* @__PURE__ */ jsx4(ProductRequestsDataTable, {})
|
|
280
280
|
] }) });
|
|
281
281
|
|
|
282
|
-
// src/pages/products/product-
|
|
282
|
+
// src/pages/products/product-requests/product-requests.tsx
|
|
283
283
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
284
284
|
var Root = ({ children }) => {
|
|
285
285
|
const { isLoading } = useFeatureFlagContext();
|
|
@@ -290,16 +290,16 @@ var Root = ({ children }) => {
|
|
|
290
290
|
if (!enabled) {
|
|
291
291
|
return /* @__PURE__ */ jsx5(Navigate, { to: "/products", replace: true });
|
|
292
292
|
}
|
|
293
|
-
return /* @__PURE__ */ jsx5(SingleColumnPage, { children: /* @__PURE__ */ jsx5(WidgetZone, { id: "products.
|
|
293
|
+
return /* @__PURE__ */ jsx5(SingleColumnPage, { children: /* @__PURE__ */ jsx5(WidgetZone, { id: "products.requests", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx5(ProductRequestsTable, {}) }) });
|
|
294
294
|
};
|
|
295
|
-
var
|
|
296
|
-
Table:
|
|
297
|
-
Header:
|
|
298
|
-
HeaderTitle:
|
|
299
|
-
DataTable:
|
|
295
|
+
var ProductRequestsPage = Object.assign(Root, {
|
|
296
|
+
Table: ProductRequestsTable,
|
|
297
|
+
Header: ProductRequestsHeader,
|
|
298
|
+
HeaderTitle: ProductRequestsTitle,
|
|
299
|
+
DataTable: ProductRequestsDataTable
|
|
300
300
|
});
|
|
301
301
|
var Component = Root;
|
|
302
302
|
export {
|
|
303
303
|
Component,
|
|
304
|
-
|
|
304
|
+
ProductRequestsPage
|
|
305
305
|
};
|
|
@@ -44,9 +44,9 @@ import "./chunk-MDABSESI.js";
|
|
|
44
44
|
import "./chunk-JRTZWK77.js";
|
|
45
45
|
import "./chunk-F3XPA5ID.js";
|
|
46
46
|
import "./chunk-QNH2UAGS.js";
|
|
47
|
-
import "./chunk-XSACPXD4.js";
|
|
48
47
|
import "./chunk-7F6ILJAJ.js";
|
|
49
48
|
import "./chunk-S4IDR46L.js";
|
|
49
|
+
import "./chunk-XSACPXD4.js";
|
|
50
50
|
import "./chunk-N72547NA.js";
|
|
51
51
|
import "./chunk-SANVDYAL.js";
|
|
52
52
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -44,9 +44,9 @@ import "./chunk-MDABSESI.js";
|
|
|
44
44
|
import "./chunk-JRTZWK77.js";
|
|
45
45
|
import "./chunk-F3XPA5ID.js";
|
|
46
46
|
import "./chunk-QNH2UAGS.js";
|
|
47
|
-
import "./chunk-XSACPXD4.js";
|
|
48
47
|
import "./chunk-7F6ILJAJ.js";
|
|
49
48
|
import "./chunk-S4IDR46L.js";
|
|
49
|
+
import "./chunk-XSACPXD4.js";
|
|
50
50
|
import "./chunk-N72547NA.js";
|
|
51
51
|
import "./chunk-SANVDYAL.js";
|
|
52
52
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
} from "./chunk-3XE5GSUK.js";
|
|
4
4
|
import "./chunk-SWLW2RIE.js";
|
|
5
5
|
import "./chunk-QNH2UAGS.js";
|
|
6
|
-
import "./chunk-XSACPXD4.js";
|
|
7
6
|
import "./chunk-7F6ILJAJ.js";
|
|
8
7
|
import "./chunk-S4IDR46L.js";
|
|
8
|
+
import "./chunk-XSACPXD4.js";
|
|
9
9
|
import "./chunk-N72547NA.js";
|
|
10
10
|
import "./chunk-SANVDYAL.js";
|
|
11
11
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PromotionDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JQKWHQYV.js";
|
|
4
4
|
import "./chunk-QLOJNFUE.js";
|
|
5
5
|
import "./chunk-O7324VFF.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-BHAZEG34.js";
|
|
7
7
|
import {
|
|
8
8
|
PROMOTION_DETAIL_BASE_FIELDS,
|
|
9
9
|
promotionLoader
|
|
@@ -13,7 +13,7 @@ import "./chunk-XSX255FK.js";
|
|
|
13
13
|
import "./chunk-FMFVTERD.js";
|
|
14
14
|
import "./chunk-E74OUNA3.js";
|
|
15
15
|
import "./chunk-H6MYB7GB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-QBKQ5PAI.js";
|
|
17
17
|
import "./chunk-3UOYBH5O.js";
|
|
18
18
|
import "./chunk-NA2GDOU7.js";
|
|
19
19
|
import "./chunk-J4EI5GOR.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PromotionListPage
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-O65UQTKL.js";
|
|
4
|
+
import "./chunk-POICNIRJ.js";
|
|
5
5
|
import "./chunk-ZREELPMV.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-BHAZEG34.js";
|
|
7
7
|
import "./chunk-JHIMVLB2.js";
|
|
8
8
|
import "./chunk-MDABSESI.js";
|
|
9
9
|
import "./chunk-FMFVTERD.js";
|
|
10
10
|
import "./chunk-PHOCVOZ5.js";
|
|
11
11
|
import "./chunk-E74OUNA3.js";
|
|
12
12
|
import "./chunk-H6MYB7GB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QBKQ5PAI.js";
|
|
14
14
|
import "./chunk-3UOYBH5O.js";
|
|
15
15
|
import {
|
|
16
16
|
promotionsQueryKeys
|
|
@@ -36,8 +36,8 @@ import "./chunk-MU7RXGLY.js";
|
|
|
36
36
|
import "./chunk-JRTZWK77.js";
|
|
37
37
|
import "./chunk-F3XPA5ID.js";
|
|
38
38
|
import "./chunk-QNH2UAGS.js";
|
|
39
|
-
import "./chunk-XSACPXD4.js";
|
|
40
39
|
import "./chunk-S4IDR46L.js";
|
|
40
|
+
import "./chunk-XSACPXD4.js";
|
|
41
41
|
import "./chunk-N72547NA.js";
|
|
42
42
|
import "./chunk-SANVDYAL.js";
|
|
43
43
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -38,8 +38,8 @@ import "./chunk-MDABSESI.js";
|
|
|
38
38
|
import "./chunk-JRTZWK77.js";
|
|
39
39
|
import "./chunk-F3XPA5ID.js";
|
|
40
40
|
import "./chunk-QNH2UAGS.js";
|
|
41
|
-
import "./chunk-XSACPXD4.js";
|
|
42
41
|
import "./chunk-S4IDR46L.js";
|
|
42
|
+
import "./chunk-XSACPXD4.js";
|
|
43
43
|
import "./chunk-N72547NA.js";
|
|
44
44
|
import "./chunk-SANVDYAL.js";
|
|
45
45
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
SalesChannelDetailPage
|
|
3
3
|
} from "./chunk-4I65EBC3.js";
|
|
4
4
|
import "./chunk-QNH2UAGS.js";
|
|
5
|
-
import "./chunk-XSACPXD4.js";
|
|
6
5
|
import "./chunk-7F6ILJAJ.js";
|
|
7
6
|
import "./chunk-S4IDR46L.js";
|
|
7
|
+
import "./chunk-XSACPXD4.js";
|
|
8
8
|
import "./chunk-N72547NA.js";
|
|
9
9
|
import "./chunk-SANVDYAL.js";
|
|
10
10
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -32,8 +32,8 @@ import "./chunk-PXYDR7WQ.js";
|
|
|
32
32
|
import "./chunk-JHIMVLB2.js";
|
|
33
33
|
import "./chunk-MDABSESI.js";
|
|
34
34
|
import "./chunk-F3XPA5ID.js";
|
|
35
|
-
import "./chunk-XSACPXD4.js";
|
|
36
35
|
import "./chunk-S4IDR46L.js";
|
|
36
|
+
import "./chunk-XSACPXD4.js";
|
|
37
37
|
import "./chunk-N72547NA.js";
|
|
38
38
|
import "./chunk-SANVDYAL.js";
|
|
39
39
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-HJ56YXBU.js";
|
|
4
4
|
import {
|
|
5
5
|
MediaSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7XATJLO3.js";
|
|
7
7
|
import "./chunk-AJLGY3LQ.js";
|
|
8
8
|
import "./chunk-SMQT3ZNO.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-QBKQ5PAI.js";
|
|
10
10
|
import {
|
|
11
11
|
FileUpload
|
|
12
12
|
} from "./chunk-VSLHL2AZ.js";
|
|
@@ -51,9 +51,9 @@ import "./chunk-MDABSESI.js";
|
|
|
51
51
|
import "./chunk-JRTZWK77.js";
|
|
52
52
|
import "./chunk-F3XPA5ID.js";
|
|
53
53
|
import "./chunk-QNH2UAGS.js";
|
|
54
|
-
import "./chunk-XSACPXD4.js";
|
|
55
54
|
import "./chunk-7F6ILJAJ.js";
|
|
56
55
|
import "./chunk-S4IDR46L.js";
|
|
56
|
+
import "./chunk-XSACPXD4.js";
|
|
57
57
|
import "./chunk-N72547NA.js";
|
|
58
58
|
import "./chunk-SANVDYAL.js";
|
|
59
59
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -51,9 +51,9 @@ import "./chunk-MDABSESI.js";
|
|
|
51
51
|
import "./chunk-JRTZWK77.js";
|
|
52
52
|
import "./chunk-F3XPA5ID.js";
|
|
53
53
|
import "./chunk-QNH2UAGS.js";
|
|
54
|
-
import "./chunk-XSACPXD4.js";
|
|
55
54
|
import "./chunk-7F6ILJAJ.js";
|
|
56
55
|
import "./chunk-S4IDR46L.js";
|
|
56
|
+
import "./chunk-XSACPXD4.js";
|
|
57
57
|
import "./chunk-N72547NA.js";
|
|
58
58
|
import "./chunk-SANVDYAL.js";
|
|
59
59
|
import "./chunk-DB6ANJBO.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercurjs/admin",
|
|
3
|
-
"version": "2.4.2-canary.
|
|
3
|
+
"version": "2.4.2-canary.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mercurjs/mercur",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"lint": "oxlint --max-warnings 0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@mercurjs/dashboard-shared": "2.4.2-canary.
|
|
38
|
-
"@mercurjs/client": "2.4.2-canary.
|
|
37
|
+
"@mercurjs/dashboard-shared": "2.4.2-canary.2",
|
|
38
|
+
"@mercurjs/client": "2.4.2-canary.2",
|
|
39
39
|
"@ariakit/react": "^0.4.15",
|
|
40
40
|
"@babel/runtime": "^8.0.0",
|
|
41
41
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"tsup": "^8.0.2",
|
|
89
89
|
"typescript": "5.9.3",
|
|
90
90
|
"@medusajs/types": "2.22.3",
|
|
91
|
-
"@mercurjs/core": "2.4.2-canary.
|
|
92
|
-
"@mercurjs/dashboard-sdk": "2.4.2-canary.
|
|
93
|
-
"@mercurjs/types": "2.4.2-canary.
|
|
91
|
+
"@mercurjs/core": "2.4.2-canary.2",
|
|
92
|
+
"@mercurjs/dashboard-sdk": "2.4.2-canary.2",
|
|
93
|
+
"@mercurjs/types": "2.4.2-canary.2",
|
|
94
94
|
"react-router-dom": "7.18.1"
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
3
|
} from "./chunk-QNH2UAGS.js";
|
|
4
|
-
import "./chunk-XSACPXD4.js";
|
|
5
4
|
import {
|
|
6
5
|
useProductTableFilters
|
|
7
6
|
} from "./chunk-7F6ILJAJ.js";
|
|
8
7
|
import {
|
|
9
8
|
useProductTableQuery
|
|
10
9
|
} from "./chunk-S4IDR46L.js";
|
|
10
|
+
import "./chunk-XSACPXD4.js";
|
|
11
11
|
import "./chunk-N72547NA.js";
|
|
12
12
|
import "./chunk-SANVDYAL.js";
|
|
13
13
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
3
|
} from "./chunk-QNH2UAGS.js";
|
|
4
|
-
import "./chunk-XSACPXD4.js";
|
|
5
4
|
import {
|
|
6
5
|
useProductTableFilters
|
|
7
6
|
} from "./chunk-7F6ILJAJ.js";
|
|
8
7
|
import {
|
|
9
8
|
useProductTableQuery
|
|
10
9
|
} from "./chunk-S4IDR46L.js";
|
|
10
|
+
import "./chunk-XSACPXD4.js";
|
|
11
11
|
import "./chunk-N72547NA.js";
|
|
12
12
|
import "./chunk-SANVDYAL.js";
|
|
13
13
|
import "./chunk-DB6ANJBO.js";
|
package/dist/{sales-channel-add-products-XSGA433D.js → sales-channel-add-products-EIVCMYH6.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
3
|
} from "./chunk-QNH2UAGS.js";
|
|
4
|
-
import "./chunk-XSACPXD4.js";
|
|
5
4
|
import {
|
|
6
5
|
useProductTableFilters
|
|
7
6
|
} from "./chunk-7F6ILJAJ.js";
|
|
8
7
|
import {
|
|
9
8
|
useProductTableQuery
|
|
10
9
|
} from "./chunk-S4IDR46L.js";
|
|
10
|
+
import "./chunk-XSACPXD4.js";
|
|
11
11
|
import "./chunk-N72547NA.js";
|
|
12
12
|
import "./chunk-SANVDYAL.js";
|
|
13
13
|
import "./chunk-DB6ANJBO.js";
|