@mercurjs/admin 2.2.0-canary.13 → 2.2.0-canary.14
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/{api-key-management-detail-NBNHERF6.js → api-key-management-detail-V22TYNOF.js} +2 -2
- package/dist/{api-key-management-sales-channels-TK6XEGF3.js → api-key-management-sales-channels-SKKS5BCC.js} +1 -1
- package/dist/{chunk-LYZT5REU.js → chunk-C4XKPQ6T.js} +14 -1
- package/dist/{chunk-TZDRRTAX.js → chunk-CIKXWLWE.js} +1 -1
- package/dist/{chunk-FDD7TANX.js → chunk-HQWN3A5L.js} +1 -1
- package/dist/{chunk-DRJAKRTI.js → chunk-ISS4LS3E.js} +1 -1
- package/dist/{chunk-H4EHUOWL.js → chunk-KK67WP4G.js} +2 -3
- package/dist/{chunk-F52JLHE3.js → chunk-KWFKMS4M.js} +1 -1
- package/dist/{chunk-UCX2T4BQ.js → chunk-ZXBCWDVM.js} +1 -1
- package/dist/index.js +14 -14
- package/dist/{location-list-I2UMU25V.js → location-list-KQQRH4MT.js} +2 -2
- package/dist/{location-sales-channels-GKIWX6B2.js → location-sales-channels-DRIS6AUX.js} +1 -1
- package/dist/pages/index.js +7 -7
- package/dist/{product-add-existing-attributes-GGRRNFDK.js → product-add-existing-attributes-KOPVWK5Q.js} +1 -1
- package/dist/{product-create-UR5OFGUY.js → product-create-KTIQ3UAQ.js} +2 -2
- package/dist/{product-detail-5IEJPONZ.js → product-detail-UB3EZRDE.js} +2 -2
- package/dist/{product-sales-channels-WKQSYOEX.js → product-sales-channels-2J5Q65JS.js} +1 -1
- package/dist/{refund-reason-list-YLH4LD4S.js → refund-reason-list-3BTQCIYE.js} +2 -2
- package/dist/{sales-channel-list-3GCESYAM.js → sales-channel-list-E647FXSZ.js} +2 -2
- package/package.json +1 -1
package/dist/{api-key-management-detail-NBNHERF6.js → api-key-management-detail-V22TYNOF.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiKeyManagementDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZXBCWDVM.js";
|
|
4
4
|
import "./chunk-XFR5JLNF.js";
|
|
5
5
|
import "./chunk-C4JUURO5.js";
|
|
6
6
|
import "./chunk-CKNQJPAG.js";
|
|
@@ -10,7 +10,7 @@ import "./chunk-E74OUNA3.js";
|
|
|
10
10
|
import "./chunk-H6MYB7GB.js";
|
|
11
11
|
import "./chunk-UZWFZMOX.js";
|
|
12
12
|
import "./chunk-XQNVC4Q7.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-C4XKPQ6T.js";
|
|
14
14
|
import "./chunk-THHRRYRS.js";
|
|
15
15
|
import "./chunk-LJDGVBOQ.js";
|
|
16
16
|
import "./chunk-OH4AABUT.js";
|
|
@@ -212,13 +212,14 @@ var DataTable = ({
|
|
|
212
212
|
} : void 0
|
|
213
213
|
});
|
|
214
214
|
const shouldRenderHeading = heading || subHeading;
|
|
215
|
+
const hasToolbarHeader = Boolean(shouldRenderHeading) || Boolean(actionMenu) || Boolean(actions && actions.length > 0) || Boolean(action);
|
|
215
216
|
return /* @__PURE__ */ jsxs(
|
|
216
217
|
UiDataTable,
|
|
217
218
|
{
|
|
218
219
|
instance,
|
|
219
220
|
className: layout === "fill" ? "h-full [&_tr]:last-of-type:!border-b" : void 0,
|
|
220
221
|
children: [
|
|
221
|
-
/* @__PURE__ */ jsx(
|
|
222
|
+
hasToolbarHeader ? /* @__PURE__ */ jsx(
|
|
222
223
|
UiDataTable.Toolbar,
|
|
223
224
|
{
|
|
224
225
|
className: "flex flex-col items-start justify-between gap-2 md:flex-row md:items-center",
|
|
@@ -244,6 +245,18 @@ var DataTable = ({
|
|
|
244
245
|
] })
|
|
245
246
|
] })
|
|
246
247
|
}
|
|
248
|
+
) : /* @__PURE__ */ jsxs(
|
|
249
|
+
UiDataTable.FilterBar,
|
|
250
|
+
{
|
|
251
|
+
alwaysShow: true,
|
|
252
|
+
clearAllFiltersLabel: toolbarTranslations.clearAll,
|
|
253
|
+
sortingTooltip: toolbarTranslations.sort,
|
|
254
|
+
columnsTooltip: toolbarTranslations.columns,
|
|
255
|
+
children: [
|
|
256
|
+
enableSearch && /* @__PURE__ */ jsx(UiDataTable.Search, { placeholder: t("filters.searchLabel") }),
|
|
257
|
+
filterBarContent
|
|
258
|
+
]
|
|
259
|
+
}
|
|
247
260
|
),
|
|
248
261
|
/* @__PURE__ */ jsx(UiDataTable.Table, { emptyState }),
|
|
249
262
|
enablePagination && /* @__PURE__ */ jsx(UiDataTable.Pagination, { translations: paginationTranslations }),
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-WIYFXWRI.js";
|
|
17
17
|
import {
|
|
18
18
|
DataTable
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-C4XKPQ6T.js";
|
|
20
20
|
import {
|
|
21
21
|
useQueryParams
|
|
22
22
|
} from "./chunk-THHRRYRS.js";
|
|
@@ -1519,7 +1519,7 @@ var ProductVariantSection = ({
|
|
|
1519
1519
|
if (isError) {
|
|
1520
1520
|
throw error;
|
|
1521
1521
|
}
|
|
1522
|
-
return /* @__PURE__ */ jsxs8(Container7, { className: "
|
|
1522
|
+
return /* @__PURE__ */ jsxs8(Container7, { className: "p-0", "data-testid": "product-variant-section", children: [
|
|
1523
1523
|
/* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
1524
1524
|
/* @__PURE__ */ jsx8(Heading7, { level: "h2", children: t("products.variants.header") }),
|
|
1525
1525
|
/* @__PURE__ */ jsx8(
|
|
@@ -1544,7 +1544,6 @@ var ProductVariantSection = ({
|
|
|
1544
1544
|
rowHref: (row) => `/products/${product.id}/variants/${row.id}`,
|
|
1545
1545
|
pageSize: PAGE_SIZE,
|
|
1546
1546
|
isLoading: isPending,
|
|
1547
|
-
compact: true,
|
|
1548
1547
|
emptyState: {
|
|
1549
1548
|
empty: {
|
|
1550
1549
|
heading: t("products.variants.empty.heading"),
|
package/dist/index.js
CHANGED
|
@@ -3475,7 +3475,7 @@ function getRouteMap({
|
|
|
3475
3475
|
children: [
|
|
3476
3476
|
{
|
|
3477
3477
|
path: "create",
|
|
3478
|
-
lazy: () => import("./product-create-
|
|
3478
|
+
lazy: () => import("./product-create-KTIQ3UAQ.js")
|
|
3479
3479
|
},
|
|
3480
3480
|
{
|
|
3481
3481
|
path: "bulk-edit",
|
|
@@ -3487,7 +3487,7 @@ function getRouteMap({
|
|
|
3487
3487
|
path: ":id",
|
|
3488
3488
|
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3489
3489
|
lazy: async () => {
|
|
3490
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
3490
|
+
const { Breadcrumb, loader } = await import("./product-detail-UB3EZRDE.js");
|
|
3491
3491
|
return {
|
|
3492
3492
|
Component: Outlet4,
|
|
3493
3493
|
loader,
|
|
@@ -3499,7 +3499,7 @@ function getRouteMap({
|
|
|
3499
3499
|
children: [
|
|
3500
3500
|
{
|
|
3501
3501
|
path: "",
|
|
3502
|
-
lazy: () => import("./product-detail-
|
|
3502
|
+
lazy: () => import("./product-detail-UB3EZRDE.js"),
|
|
3503
3503
|
children: [
|
|
3504
3504
|
{
|
|
3505
3505
|
path: "edit",
|
|
@@ -3511,7 +3511,7 @@ function getRouteMap({
|
|
|
3511
3511
|
},
|
|
3512
3512
|
{
|
|
3513
3513
|
path: "sales-channels",
|
|
3514
|
-
lazy: () => import("./product-sales-channels-
|
|
3514
|
+
lazy: () => import("./product-sales-channels-2J5Q65JS.js")
|
|
3515
3515
|
},
|
|
3516
3516
|
{
|
|
3517
3517
|
path: "attributes",
|
|
@@ -3523,7 +3523,7 @@ function getRouteMap({
|
|
|
3523
3523
|
},
|
|
3524
3524
|
{
|
|
3525
3525
|
path: "attributes/add",
|
|
3526
|
-
lazy: () => import("./product-add-existing-attributes-
|
|
3526
|
+
lazy: () => import("./product-add-existing-attributes-KOPVWK5Q.js")
|
|
3527
3527
|
},
|
|
3528
3528
|
{
|
|
3529
3529
|
path: "attributes/:attribute_id/edit",
|
|
@@ -4512,7 +4512,7 @@ function getRouteMap({
|
|
|
4512
4512
|
children: [
|
|
4513
4513
|
{
|
|
4514
4514
|
path: "",
|
|
4515
|
-
lazy: () => import("./sales-channel-list-
|
|
4515
|
+
lazy: () => import("./sales-channel-list-E647FXSZ.js"),
|
|
4516
4516
|
children: [
|
|
4517
4517
|
{
|
|
4518
4518
|
path: "create",
|
|
@@ -4565,7 +4565,7 @@ function getRouteMap({
|
|
|
4565
4565
|
children: [
|
|
4566
4566
|
{
|
|
4567
4567
|
path: "",
|
|
4568
|
-
lazy: () => import("./location-list-
|
|
4568
|
+
lazy: () => import("./location-list-KQQRH4MT.js")
|
|
4569
4569
|
},
|
|
4570
4570
|
{
|
|
4571
4571
|
path: "create",
|
|
@@ -4683,7 +4683,7 @@ function getRouteMap({
|
|
|
4683
4683
|
},
|
|
4684
4684
|
{
|
|
4685
4685
|
path: "sales-channels",
|
|
4686
|
-
lazy: () => import("./location-sales-channels-
|
|
4686
|
+
lazy: () => import("./location-sales-channels-DRIS6AUX.js")
|
|
4687
4687
|
},
|
|
4688
4688
|
{
|
|
4689
4689
|
path: "fulfillment-providers",
|
|
@@ -4920,7 +4920,7 @@ function getRouteMap({
|
|
|
4920
4920
|
{
|
|
4921
4921
|
path: ":id",
|
|
4922
4922
|
lazy: async () => {
|
|
4923
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4923
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-V22TYNOF.js");
|
|
4924
4924
|
return {
|
|
4925
4925
|
Component: Outlet4,
|
|
4926
4926
|
loader,
|
|
@@ -4932,7 +4932,7 @@ function getRouteMap({
|
|
|
4932
4932
|
children: [
|
|
4933
4933
|
{
|
|
4934
4934
|
path: "",
|
|
4935
|
-
lazy: () => import("./api-key-management-detail-
|
|
4935
|
+
lazy: () => import("./api-key-management-detail-V22TYNOF.js"),
|
|
4936
4936
|
children: [
|
|
4937
4937
|
{
|
|
4938
4938
|
path: "edit",
|
|
@@ -4940,7 +4940,7 @@ function getRouteMap({
|
|
|
4940
4940
|
},
|
|
4941
4941
|
{
|
|
4942
4942
|
path: "sales-channels",
|
|
4943
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
4943
|
+
lazy: () => import("./api-key-management-sales-channels-SKKS5BCC.js")
|
|
4944
4944
|
}
|
|
4945
4945
|
]
|
|
4946
4946
|
}
|
|
@@ -4974,7 +4974,7 @@ function getRouteMap({
|
|
|
4974
4974
|
{
|
|
4975
4975
|
path: ":id",
|
|
4976
4976
|
lazy: async () => {
|
|
4977
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4977
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-V22TYNOF.js");
|
|
4978
4978
|
return {
|
|
4979
4979
|
Component: Outlet4,
|
|
4980
4980
|
loader,
|
|
@@ -4986,7 +4986,7 @@ function getRouteMap({
|
|
|
4986
4986
|
children: [
|
|
4987
4987
|
{
|
|
4988
4988
|
path: "",
|
|
4989
|
-
lazy: () => import("./api-key-management-detail-
|
|
4989
|
+
lazy: () => import("./api-key-management-detail-V22TYNOF.js"),
|
|
4990
4990
|
children: [
|
|
4991
4991
|
{
|
|
4992
4992
|
path: "edit",
|
|
@@ -5140,7 +5140,7 @@ function getRouteMap({
|
|
|
5140
5140
|
children: [
|
|
5141
5141
|
{
|
|
5142
5142
|
path: "",
|
|
5143
|
-
lazy: () => import("./refund-reason-list-
|
|
5143
|
+
lazy: () => import("./refund-reason-list-3BTQCIYE.js"),
|
|
5144
5144
|
children: [
|
|
5145
5145
|
{
|
|
5146
5146
|
path: "create",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ISS4LS3E.js";
|
|
4
4
|
import "./chunk-U2EI2ZLM.js";
|
|
5
5
|
import "./chunk-4F5GP7J7.js";
|
|
6
6
|
import "./chunk-LXSBG6LK.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-JRTZWK77.js";
|
|
|
9
9
|
import "./chunk-PHOCVOZ5.js";
|
|
10
10
|
import "./chunk-E74OUNA3.js";
|
|
11
11
|
import "./chunk-H6MYB7GB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-C4XKPQ6T.js";
|
|
13
13
|
import "./chunk-THHRRYRS.js";
|
|
14
14
|
import "./chunk-LJDGVBOQ.js";
|
|
15
15
|
import "./chunk-OH4AABUT.js";
|
package/dist/pages/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RefundReasonList
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CIKXWLWE.js";
|
|
4
4
|
import {
|
|
5
5
|
TaxRegionProvinceDetailPage
|
|
6
6
|
} from "../chunk-WTK4MLMF.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "../chunk-623TMW36.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyManagementDetailPage
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ZXBCWDVM.js";
|
|
13
13
|
import {
|
|
14
14
|
TaxRegionListPage
|
|
15
15
|
} from "../chunk-XJ3WC4G7.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "../chunk-VY7PT4SI.js";
|
|
56
56
|
import {
|
|
57
57
|
LocationListPage
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-ISS4LS3E.js";
|
|
59
59
|
import {
|
|
60
60
|
ShippingProfileListPage
|
|
61
61
|
} from "../chunk-CVFVEDMV.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "../chunk-GP4J42UD.js";
|
|
72
72
|
import {
|
|
73
73
|
SalesChannelListPage
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-HQWN3A5L.js";
|
|
75
75
|
import {
|
|
76
76
|
SalesChannelDetailPage
|
|
77
77
|
} from "../chunk-7KZ5X5SU.js";
|
|
@@ -293,7 +293,7 @@ import "../chunk-KAZ5BYTQ.js";
|
|
|
293
293
|
import "../chunk-634XVU3D.js";
|
|
294
294
|
import {
|
|
295
295
|
ProductCreatePage
|
|
296
|
-
} from "../chunk-
|
|
296
|
+
} from "../chunk-KWFKMS4M.js";
|
|
297
297
|
import "../chunk-IIFQ7KYL.js";
|
|
298
298
|
import "../chunk-26UTIAAZ.js";
|
|
299
299
|
import {
|
|
@@ -322,7 +322,7 @@ import "../chunk-FWJLS7XD.js";
|
|
|
322
322
|
import "../chunk-3QSRE5LS.js";
|
|
323
323
|
import {
|
|
324
324
|
ProductDetailPage
|
|
325
|
-
} from "../chunk-
|
|
325
|
+
} from "../chunk-KK67WP4G.js";
|
|
326
326
|
import "../chunk-FI474ADU.js";
|
|
327
327
|
import "../chunk-3XPXUIK3.js";
|
|
328
328
|
import "../chunk-54RTJBYO.js";
|
|
@@ -335,7 +335,7 @@ import "../chunk-WIYFXWRI.js";
|
|
|
335
335
|
import "../chunk-H6MYB7GB.js";
|
|
336
336
|
import "../chunk-UZWFZMOX.js";
|
|
337
337
|
import "../chunk-XQNVC4Q7.js";
|
|
338
|
-
import "../chunk-
|
|
338
|
+
import "../chunk-C4XKPQ6T.js";
|
|
339
339
|
import "../chunk-THHRRYRS.js";
|
|
340
340
|
import "../chunk-UCYSCKZV.js";
|
|
341
341
|
import "../chunk-LJDGVBOQ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProductCreate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KWFKMS4M.js";
|
|
4
4
|
import "./chunk-IIFQ7KYL.js";
|
|
5
5
|
import "./chunk-26UTIAAZ.js";
|
|
6
6
|
import "./chunk-EBYWGIOR.js";
|
|
@@ -24,7 +24,7 @@ import "./chunk-TKGWSUEI.js";
|
|
|
24
24
|
import "./chunk-U2ZFCAPX.js";
|
|
25
25
|
import "./chunk-FWJLS7XD.js";
|
|
26
26
|
import "./chunk-3QSRE5LS.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-C4XKPQ6T.js";
|
|
28
28
|
import "./chunk-THHRRYRS.js";
|
|
29
29
|
import "./chunk-UCYSCKZV.js";
|
|
30
30
|
import "./chunk-LJDGVBOQ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProductDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KK67WP4G.js";
|
|
4
4
|
import "./chunk-FI474ADU.js";
|
|
5
5
|
import "./chunk-3XPXUIK3.js";
|
|
6
6
|
import "./chunk-54RTJBYO.js";
|
|
@@ -12,7 +12,7 @@ import "./chunk-WIYFXWRI.js";
|
|
|
12
12
|
import "./chunk-H6MYB7GB.js";
|
|
13
13
|
import "./chunk-UZWFZMOX.js";
|
|
14
14
|
import "./chunk-XQNVC4Q7.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-C4XKPQ6T.js";
|
|
16
16
|
import "./chunk-THHRRYRS.js";
|
|
17
17
|
import "./chunk-UCYSCKZV.js";
|
|
18
18
|
import "./chunk-LJDGVBOQ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RefundReasonList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CIKXWLWE.js";
|
|
4
4
|
import "./chunk-5A4JNOK3.js";
|
|
5
5
|
import "./chunk-O5VKW5FL.js";
|
|
6
6
|
import "./chunk-LQAAVRET.js";
|
|
@@ -43,7 +43,7 @@ import "./chunk-WIYFXWRI.js";
|
|
|
43
43
|
import "./chunk-H6MYB7GB.js";
|
|
44
44
|
import "./chunk-UZWFZMOX.js";
|
|
45
45
|
import "./chunk-XQNVC4Q7.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-C4XKPQ6T.js";
|
|
47
47
|
import "./chunk-THHRRYRS.js";
|
|
48
48
|
import "./chunk-UCYSCKZV.js";
|
|
49
49
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SalesChannelListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQWN3A5L.js";
|
|
4
4
|
import "./chunk-CKNQJPAG.js";
|
|
5
5
|
import "./chunk-MDABSESI.js";
|
|
6
6
|
import "./chunk-54RTJBYO.js";
|
|
@@ -8,7 +8,7 @@ import "./chunk-E74OUNA3.js";
|
|
|
8
8
|
import "./chunk-H6MYB7GB.js";
|
|
9
9
|
import "./chunk-UZWFZMOX.js";
|
|
10
10
|
import "./chunk-XQNVC4Q7.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-C4XKPQ6T.js";
|
|
12
12
|
import "./chunk-THHRRYRS.js";
|
|
13
13
|
import "./chunk-LJDGVBOQ.js";
|
|
14
14
|
import "./chunk-OH4AABUT.js";
|