@mercurjs/vendor 2.2.0-canary.22 → 2.2.0-canary.24
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/{[id]-MXNIHS2A.js → [id]-35EHXGJK.js} +1 -1
- package/dist/{[id]-3JICOSAI.js → [id]-5PXEWKER.js} +2 -2
- package/dist/{[id]-NXWDM34U.js → [id]-PGKXY75Z.js} +2 -2
- package/dist/{[id]-E7DYRMMO.js → [id]-YJIKYRC4.js} +2 -2
- package/dist/{add-2OW5QLU2.js → add-EE67SXQJ.js} +1 -1
- package/dist/{categories-3P2DRH5V.js → categories-JM5HQP3Q.js} +1 -1
- package/dist/{chunk-HZCSJLGH.js → chunk-OCKJNR4P.js} +1 -1
- package/dist/{chunk-4EQIJMQT.js → chunk-QPZDRSZB.js} +1 -1
- package/dist/{chunk-AKKIZD2P.js → chunk-UUDRVBJX.js} +1 -1
- package/dist/{chunk-II3ACSV2.js → chunk-YNGA3GRX.js} +1 -1
- package/dist/{collections-C5XCGVCG.js → collections-66Q55JUI.js} +2 -2
- package/dist/{create-22MSY7W6.js → create-IGK3RHU7.js} +2 -2
- package/dist/{edit-CSOADLGQ.js → edit-FPTAY3EX.js} +2 -2
- package/dist/index.js +18 -18
- package/dist/pages/index.js +3 -3
- package/dist/{product-tags-4FHA7A6P.js → product-tags-3XMULQGD.js} +1 -1
- package/dist/{return-reasons-IXSWNVGX.js → return-reasons-IHEACVG3.js} +1 -1
- package/dist/{settings-KRUN36KA.js → settings-CGD3WPJK.js} +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import "./chunk-N335VHD3.js";
|
|
|
5
5
|
import "./chunk-EBZ5VZEO.js";
|
|
6
6
|
import "./chunk-4F5GP7J7.js";
|
|
7
7
|
import "./chunk-7TIZP4YG.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-YNGA3GRX.js";
|
|
9
9
|
import "./chunk-BI2AYXZQ.js";
|
|
10
10
|
import "./chunk-MG4GKUJW.js";
|
|
11
11
|
import "./chunk-AYVH6Q5O.js";
|
|
@@ -120,7 +120,7 @@ var CollectionIconSection = ({
|
|
|
120
120
|
collection
|
|
121
121
|
}) => {
|
|
122
122
|
const { t } = useTranslation2();
|
|
123
|
-
const icon = getCollectionIcon(collection.
|
|
123
|
+
const icon = getCollectionIcon(collection.media_images);
|
|
124
124
|
return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "collection-icon-section", children: [
|
|
125
125
|
/* @__PURE__ */ jsx2("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx2(Heading2, { children: t("collections.icon.label") }) }),
|
|
126
126
|
/* @__PURE__ */ jsx2("div", { className: "px-6 py-4", children: icon ? /* @__PURE__ */ jsx2("div", { className: "bg-ui-bg-base shadow-elevation-card-rest relative aspect-square w-24 overflow-hidden rounded-[8px]", children: /* @__PURE__ */ jsx2(
|
|
@@ -156,7 +156,7 @@ var CollectionMediaSection = ({
|
|
|
156
156
|
collection
|
|
157
157
|
}) => {
|
|
158
158
|
const { t } = useTranslation3();
|
|
159
|
-
const gallery = getCollectionGallery(collection.
|
|
159
|
+
const gallery = getCollectionGallery(collection.media_images);
|
|
160
160
|
return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "collection-media-section", children: [
|
|
161
161
|
/* @__PURE__ */ jsx3("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx3(Heading3, { children: t("collections.media.label") }) }),
|
|
162
162
|
/* @__PURE__ */ jsx3("div", { className: "px-6 py-4", children: gallery.length > 0 ? /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[repeat(auto-fill,minmax(96px,1fr))] gap-4", children: gallery.map((image) => /* @__PURE__ */ jsxs3(
|
|
@@ -260,8 +260,8 @@ var CustomerGroupSection = ({
|
|
|
260
260
|
});
|
|
261
261
|
const flatCustomerGroups = customer.groups ?? [];
|
|
262
262
|
const groupIds = useMemo(
|
|
263
|
-
() =>
|
|
264
|
-
[
|
|
263
|
+
() => (customer.groups ?? []).map((g) => g.id),
|
|
264
|
+
[customer.groups]
|
|
265
265
|
);
|
|
266
266
|
const {
|
|
267
267
|
customer_groups: customerGroups = [],
|
|
@@ -124,7 +124,7 @@ var CategoryIconSection = ({
|
|
|
124
124
|
category
|
|
125
125
|
}) => {
|
|
126
126
|
const { t } = useTranslation2();
|
|
127
|
-
const icon = getCategoryIcon(category.
|
|
127
|
+
const icon = getCategoryIcon(category.media_images);
|
|
128
128
|
return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "category-icon-section", children: [
|
|
129
129
|
/* @__PURE__ */ jsx2("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx2(Heading2, { children: t("categories.icon.label") }) }),
|
|
130
130
|
/* @__PURE__ */ jsx2("div", { className: "px-6 py-4", children: icon ? /* @__PURE__ */ jsx2("div", { className: "bg-ui-bg-base shadow-elevation-card-rest relative aspect-square w-24 overflow-hidden rounded-[8px]", children: /* @__PURE__ */ jsx2(
|
|
@@ -160,7 +160,7 @@ var CategoryMediaSection = ({
|
|
|
160
160
|
category
|
|
161
161
|
}) => {
|
|
162
162
|
const { t } = useTranslation3();
|
|
163
|
-
const gallery = getCategoryGallery(category.
|
|
163
|
+
const gallery = getCategoryGallery(category.media_images);
|
|
164
164
|
return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "category-media-section", children: [
|
|
165
165
|
/* @__PURE__ */ jsx3("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx3(Heading3, { children: t("categories.media.label") }) }),
|
|
166
166
|
/* @__PURE__ */ jsx3("div", { className: "px-6 py-4", children: gallery.length > 0 ? /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[repeat(auto-fill,minmax(96px,1fr))] gap-4", children: gallery.map((image) => /* @__PURE__ */ jsxs3(
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-XRNDVICA.js";
|
|
13
13
|
import "./chunk-6IJMSVC6.js";
|
|
14
14
|
import "./chunk-7TIZP4YG.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-YNGA3GRX.js";
|
|
16
16
|
import "./chunk-BI2AYXZQ.js";
|
|
17
17
|
import "./chunk-MG4GKUJW.js";
|
|
18
18
|
import "./chunk-AYVH6Q5O.js";
|
|
@@ -99,7 +99,7 @@ var useCategoryTableColumns = () => {
|
|
|
99
99
|
)) });
|
|
100
100
|
}
|
|
101
101
|
const gallery = getCategoryGallery(
|
|
102
|
-
row.original.
|
|
102
|
+
row.original.media_images
|
|
103
103
|
);
|
|
104
104
|
const thumbnailSrc = gallery.find((image) => image.is_thumbnail)?.url ?? gallery[0]?.url ?? null;
|
|
105
105
|
return /* @__PURE__ */ jsxs2("div", { className: "flex size-full items-center gap-x-3 overflow-hidden", children: [
|
|
@@ -22,7 +22,7 @@ var useCollectionTableColumns = () => {
|
|
|
22
22
|
header: t("fields.title"),
|
|
23
23
|
cell: ({ getValue, row }) => {
|
|
24
24
|
const gallery = getCollectionGallery(
|
|
25
|
-
row.original.
|
|
25
|
+
row.original.media_images
|
|
26
26
|
);
|
|
27
27
|
const thumbnailSrc = gallery.find((image) => image.is_thumbnail)?.url ?? gallery[0]?.url ?? null;
|
|
28
28
|
return /* @__PURE__ */ jsxs("div", { className: "flex size-full items-center gap-x-3 overflow-hidden", children: [
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
TargetItem,
|
|
4
4
|
TaxRateRuleReferenceSchema,
|
|
5
5
|
createTaxRulePayload
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OCKJNR4P.js";
|
|
7
7
|
import "./chunk-Q4UVXS46.js";
|
|
8
8
|
import {
|
|
9
9
|
PercentageInput
|
|
@@ -12,7 +12,7 @@ import "./chunk-N335VHD3.js";
|
|
|
12
12
|
import "./chunk-EBZ5VZEO.js";
|
|
13
13
|
import "./chunk-4F5GP7J7.js";
|
|
14
14
|
import "./chunk-7TIZP4YG.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-YNGA3GRX.js";
|
|
16
16
|
import "./chunk-BI2AYXZQ.js";
|
|
17
17
|
import "./chunk-MG4GKUJW.js";
|
|
18
18
|
import "./chunk-AYVH6Q5O.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
TargetItem,
|
|
4
4
|
TaxRateRuleReferenceSchema,
|
|
5
5
|
createTaxRulePayload
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OCKJNR4P.js";
|
|
7
7
|
import "./chunk-Q4UVXS46.js";
|
|
8
8
|
import {
|
|
9
9
|
PercentageInput
|
|
@@ -12,7 +12,7 @@ import "./chunk-N335VHD3.js";
|
|
|
12
12
|
import "./chunk-EBZ5VZEO.js";
|
|
13
13
|
import "./chunk-4F5GP7J7.js";
|
|
14
14
|
import "./chunk-7TIZP4YG.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-YNGA3GRX.js";
|
|
16
16
|
import "./chunk-BI2AYXZQ.js";
|
|
17
17
|
import "./chunk-MG4GKUJW.js";
|
|
18
18
|
import "./chunk-AYVH6Q5O.js";
|
package/dist/index.js
CHANGED
|
@@ -3122,7 +3122,7 @@ function getRouteMap({
|
|
|
3122
3122
|
{
|
|
3123
3123
|
path: "",
|
|
3124
3124
|
lazy: async () => {
|
|
3125
|
-
const { CategoryListPage } = await import("./categories-
|
|
3125
|
+
const { CategoryListPage } = await import("./categories-JM5HQP3Q.js");
|
|
3126
3126
|
return {
|
|
3127
3127
|
Component: CategoryListPage
|
|
3128
3128
|
};
|
|
@@ -3137,7 +3137,7 @@ function getRouteMap({
|
|
|
3137
3137
|
{
|
|
3138
3138
|
path: ":id",
|
|
3139
3139
|
lazy: async () => {
|
|
3140
|
-
const { loader } = await import("./[id]-
|
|
3140
|
+
const { loader } = await import("./[id]-YJIKYRC4.js");
|
|
3141
3141
|
const { Breadcrumb } = await import("./breadcrumb-2AYN2SV7.js");
|
|
3142
3142
|
return {
|
|
3143
3143
|
Component: Outlet4,
|
|
@@ -3151,7 +3151,7 @@ function getRouteMap({
|
|
|
3151
3151
|
{
|
|
3152
3152
|
path: "",
|
|
3153
3153
|
lazy: async () => {
|
|
3154
|
-
const { CategoryDetailPage } = await import("./[id]-
|
|
3154
|
+
const { CategoryDetailPage } = await import("./[id]-YJIKYRC4.js");
|
|
3155
3155
|
return {
|
|
3156
3156
|
Component: CategoryDetailPage
|
|
3157
3157
|
};
|
|
@@ -3184,7 +3184,7 @@ function getRouteMap({
|
|
|
3184
3184
|
{
|
|
3185
3185
|
path: "",
|
|
3186
3186
|
lazy: async () => {
|
|
3187
|
-
const { CollectionListPage } = await import("./collections-
|
|
3187
|
+
const { CollectionListPage } = await import("./collections-66Q55JUI.js");
|
|
3188
3188
|
return {
|
|
3189
3189
|
Component: CollectionListPage
|
|
3190
3190
|
};
|
|
@@ -3193,7 +3193,7 @@ function getRouteMap({
|
|
|
3193
3193
|
{
|
|
3194
3194
|
path: ":id",
|
|
3195
3195
|
lazy: async () => {
|
|
3196
|
-
const { loader } = await import("./[id]-
|
|
3196
|
+
const { loader } = await import("./[id]-5PXEWKER.js");
|
|
3197
3197
|
const { Breadcrumb } = await import("./breadcrumb-XPQETVMM.js");
|
|
3198
3198
|
return {
|
|
3199
3199
|
Component: Outlet4,
|
|
@@ -3207,7 +3207,7 @@ function getRouteMap({
|
|
|
3207
3207
|
{
|
|
3208
3208
|
path: "",
|
|
3209
3209
|
lazy: async () => {
|
|
3210
|
-
const { CollectionDetailPage } = await import("./[id]-
|
|
3210
|
+
const { CollectionDetailPage } = await import("./[id]-5PXEWKER.js");
|
|
3211
3211
|
return {
|
|
3212
3212
|
Component: CollectionDetailPage
|
|
3213
3213
|
};
|
|
@@ -3245,7 +3245,7 @@ function getRouteMap({
|
|
|
3245
3245
|
{
|
|
3246
3246
|
path: ":id",
|
|
3247
3247
|
lazy: async () => {
|
|
3248
|
-
const { loader } = await import("./[id]-
|
|
3248
|
+
const { loader } = await import("./[id]-PGKXY75Z.js");
|
|
3249
3249
|
const { Breadcrumb } = await import("./breadcrumb-LBO2I4OJ.js");
|
|
3250
3250
|
return {
|
|
3251
3251
|
Component: Outlet4,
|
|
@@ -3259,7 +3259,7 @@ function getRouteMap({
|
|
|
3259
3259
|
{
|
|
3260
3260
|
path: "",
|
|
3261
3261
|
lazy: async () => {
|
|
3262
|
-
const { CustomerDetailPage } = await import("./[id]-
|
|
3262
|
+
const { CustomerDetailPage } = await import("./[id]-PGKXY75Z.js");
|
|
3263
3263
|
return {
|
|
3264
3264
|
Component: CustomerDetailPage
|
|
3265
3265
|
};
|
|
@@ -3685,7 +3685,7 @@ function getRouteMap({
|
|
|
3685
3685
|
},
|
|
3686
3686
|
{
|
|
3687
3687
|
path: "products/add",
|
|
3688
|
-
lazy: () => import("./add-
|
|
3688
|
+
lazy: () => import("./add-EE67SXQJ.js")
|
|
3689
3689
|
},
|
|
3690
3690
|
{
|
|
3691
3691
|
path: "products/edit",
|
|
@@ -3753,7 +3753,7 @@ function getRouteMap({
|
|
|
3753
3753
|
{
|
|
3754
3754
|
index: true,
|
|
3755
3755
|
errorElement: /* @__PURE__ */ jsx15(ErrorBoundary, {}),
|
|
3756
|
-
lazy: () => import("./settings-
|
|
3756
|
+
lazy: () => import("./settings-CGD3WPJK.js")
|
|
3757
3757
|
},
|
|
3758
3758
|
// PROFILE
|
|
3759
3759
|
{
|
|
@@ -3998,11 +3998,11 @@ function getRouteMap({
|
|
|
3998
3998
|
},
|
|
3999
3999
|
{
|
|
4000
4000
|
path: "tax-overrides/create",
|
|
4001
|
-
lazy: () => import("./create-
|
|
4001
|
+
lazy: () => import("./create-IGK3RHU7.js")
|
|
4002
4002
|
},
|
|
4003
4003
|
{
|
|
4004
4004
|
path: "tax-overrides/:tax_rate_id/edit",
|
|
4005
|
-
lazy: () => import("./edit-
|
|
4005
|
+
lazy: () => import("./edit-FPTAY3EX.js")
|
|
4006
4006
|
},
|
|
4007
4007
|
{
|
|
4008
4008
|
path: "provinces/create",
|
|
@@ -4031,11 +4031,11 @@ function getRouteMap({
|
|
|
4031
4031
|
},
|
|
4032
4032
|
{
|
|
4033
4033
|
path: "tax-overrides/create",
|
|
4034
|
-
lazy: () => import("./create-
|
|
4034
|
+
lazy: () => import("./create-IGK3RHU7.js")
|
|
4035
4035
|
},
|
|
4036
4036
|
{
|
|
4037
4037
|
path: "tax-overrides/:tax_rate_id/edit",
|
|
4038
|
-
lazy: () => import("./edit-
|
|
4038
|
+
lazy: () => import("./edit-FPTAY3EX.js")
|
|
4039
4039
|
}
|
|
4040
4040
|
]
|
|
4041
4041
|
}
|
|
@@ -4053,14 +4053,14 @@ function getRouteMap({
|
|
|
4053
4053
|
{
|
|
4054
4054
|
path: "",
|
|
4055
4055
|
lazy: async () => {
|
|
4056
|
-
const { ProductTagListPage } = await import("./product-tags-
|
|
4056
|
+
const { ProductTagListPage } = await import("./product-tags-3XMULQGD.js");
|
|
4057
4057
|
return { Component: ProductTagListPage };
|
|
4058
4058
|
}
|
|
4059
4059
|
},
|
|
4060
4060
|
{
|
|
4061
4061
|
path: ":id",
|
|
4062
4062
|
lazy: async () => {
|
|
4063
|
-
const { loader } = await import("./[id]-
|
|
4063
|
+
const { loader } = await import("./[id]-35EHXGJK.js");
|
|
4064
4064
|
const { ProductTagDetailBreadcrumb: Breadcrumb } = await import("./breadcrumb-4XSHX5RV.js");
|
|
4065
4065
|
return {
|
|
4066
4066
|
Component: Outlet4,
|
|
@@ -4074,7 +4074,7 @@ function getRouteMap({
|
|
|
4074
4074
|
{
|
|
4075
4075
|
path: "",
|
|
4076
4076
|
lazy: async () => {
|
|
4077
|
-
const { ProductTagDetailPage } = await import("./[id]-
|
|
4077
|
+
const { ProductTagDetailPage } = await import("./[id]-35EHXGJK.js");
|
|
4078
4078
|
return { Component: ProductTagDetailPage };
|
|
4079
4079
|
},
|
|
4080
4080
|
children: [
|
|
@@ -4175,7 +4175,7 @@ function getRouteMap({
|
|
|
4175
4175
|
children: [
|
|
4176
4176
|
{
|
|
4177
4177
|
path: "",
|
|
4178
|
-
lazy: () => import("./return-reasons-
|
|
4178
|
+
lazy: () => import("./return-reasons-IHEACVG3.js"),
|
|
4179
4179
|
children: [
|
|
4180
4180
|
{
|
|
4181
4181
|
path: "create",
|
package/dist/pages/index.js
CHANGED
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
import "../chunk-XQUF3WIS.js";
|
|
49
49
|
import {
|
|
50
50
|
CollectionListPage
|
|
51
|
-
} from "../chunk-
|
|
52
|
-
import "../chunk-
|
|
51
|
+
} from "../chunk-QPZDRSZB.js";
|
|
52
|
+
import "../chunk-YNGA3GRX.js";
|
|
53
53
|
import "../chunk-BI2AYXZQ.js";
|
|
54
54
|
import "../chunk-MG4GKUJW.js";
|
|
55
55
|
import "../chunk-AYVH6Q5O.js";
|
|
@@ -69,7 +69,7 @@ import "../chunk-27WLUOI2.js";
|
|
|
69
69
|
import "../chunk-N3T24SEK.js";
|
|
70
70
|
import {
|
|
71
71
|
CategoryListPage
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-UUDRVBJX.js";
|
|
73
73
|
import "../chunk-JHIMVLB2.js";
|
|
74
74
|
import "../chunk-7AV5EJJ5.js";
|
|
75
75
|
import "../chunk-LYYM7H7H.js";
|
|
@@ -5,7 +5,7 @@ import "./chunk-N335VHD3.js";
|
|
|
5
5
|
import "./chunk-EBZ5VZEO.js";
|
|
6
6
|
import "./chunk-4F5GP7J7.js";
|
|
7
7
|
import "./chunk-7TIZP4YG.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-YNGA3GRX.js";
|
|
9
9
|
import "./chunk-BI2AYXZQ.js";
|
|
10
10
|
import "./chunk-MG4GKUJW.js";
|
|
11
11
|
import "./chunk-AYVH6Q5O.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-N335VHD3.js";
|
|
|
19
19
|
import "./chunk-EBZ5VZEO.js";
|
|
20
20
|
import "./chunk-4F5GP7J7.js";
|
|
21
21
|
import "./chunk-7TIZP4YG.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-YNGA3GRX.js";
|
|
23
23
|
import "./chunk-BI2AYXZQ.js";
|
|
24
24
|
import "./chunk-MG4GKUJW.js";
|
|
25
25
|
import "./chunk-AYVH6Q5O.js";
|