@mercurjs/vendor 2.3.2-canary.1 → 2.3.2-canary.3
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]-4VX7CTRZ.js → [id]-3RA6ZIRC.js} +2 -1
- package/dist/{[id]-HDVONF6C.js → [id]-4XDMVCJV.js} +5 -1
- package/dist/{[id]-QGZ26C6D.js → [id]-EJMM3KYO.js} +2 -1
- package/dist/{[id]-RAJUZUNH.js → [id]-FFMEP35K.js} +1 -1
- package/dist/{[id]-J7JU4NHO.js → [id]-FJGQEQUJ.js} +7 -2
- package/dist/{[id]-6FEVCKQU.js → [id]-GTZJPQTI.js} +7 -1
- package/dist/{[id]-VECAKEQ3.js → [id]-IA4BUZQV.js} +3 -1
- package/dist/{[id]-HAJ3735Z.js → [id]-MXOPY6G5.js} +9 -4
- package/dist/{[id]-Y4HRAAV2.js → [id]-R67KMXFA.js} +7 -3
- package/dist/{[id]-5FP6JZM3.js → [id]-SIY5USJF.js} +4 -4
- package/dist/{[id]-JXASIBQM.js → [id]-VJQTBSXS.js} +3 -1
- package/dist/{[id]-C7IFTDTJ.js → [id]-VQ4CWKQS.js} +2 -1
- package/dist/{[id]-S4XLEA36.js → [id]-ZJWTSRKB.js} +2 -1
- package/dist/{[location_id]-OXNC5E4F.js → [location_id]-LVDP4IEU.js} +7 -1
- package/dist/{[province_id]-VWN4OOGM.js → [province_id]-HO33KA4A.js} +3 -3
- package/dist/{add-LH5PQF7R.js → add-2ODITOAL.js} +2 -2
- package/dist/{add-Y66CX5EI.js → add-7S4M2PHD.js} +2 -2
- package/dist/{add-promotions-DOJS6CEE.js → add-promotions-QTNNFJBY.js} +3 -3
- package/dist/{campaigns-LIPKZKI7.js → campaigns-F5XONWHD.js} +2 -2
- package/dist/{chunk-XWDESNAO.js → chunk-2EKWWAVT.js} +1 -1
- package/dist/{chunk-X4G64W5Q.js → chunk-3SB6USNR.js} +6 -3
- package/dist/{chunk-K2DXXPNA.js → chunk-BPLFO6FP.js} +5 -2
- package/dist/{chunk-43AYUDTL.js → chunk-BY6UE2E6.js} +5 -2
- package/dist/{chunk-BDGZ4EQO.js → chunk-CWCR5ZLS.js} +26 -5
- package/dist/{chunk-RBWIHKUF.js → chunk-CXAOQF6T.js} +1 -1
- package/dist/{chunk-IV57G2CB.js → chunk-DIIC7A2J.js} +1 -1
- package/dist/{chunk-FPBXQIFJ.js → chunk-DJVF754Q.js} +3 -1
- package/dist/{chunk-4L7NRBQ7.js → chunk-FDOJFORY.js} +1 -1
- package/dist/{chunk-2UJ7T3TA.js → chunk-GGTWSLOP.js} +4 -3
- package/dist/{chunk-T37GBZ4L.js → chunk-GW7F5VY6.js} +1 -1
- package/dist/{chunk-SCJBJQCL.js → chunk-K3QSFT3Y.js} +6 -2
- package/dist/{chunk-XHWBTV72.js → chunk-KZT5KNCW.js} +1 -1
- package/dist/{chunk-C5HAUJN3.js → chunk-MGU666OW.js} +1 -1
- package/dist/{chunk-EWJTXSKI.js → chunk-O6URKGV5.js} +95 -0
- package/dist/{chunk-TII3PB6X.js → chunk-OKJAQM7X.js} +3 -1
- package/dist/{chunk-X44P463Q.js → chunk-PXCTLUC4.js} +5 -2
- package/dist/{chunk-IMIPUUZG.js → chunk-QWMMXTJS.js} +5 -2
- package/dist/{chunk-PEXMLTJX.js → chunk-R53PVMSJ.js} +2 -1
- package/dist/{chunk-GYLRZXWS.js → chunk-U24WZUI6.js} +4 -2
- package/dist/{chunk-3JWHERV7.js → chunk-W6JA4VGA.js} +5 -2
- package/dist/{chunk-ZSDHFX2Q.js → chunk-XAJCJEE7.js} +4 -2
- package/dist/{chunk-AQT2G6K2.js → chunk-YERPSW4L.js} +1 -1
- package/dist/{create-A6KZEZMH.js → create-DPBYLG6E.js} +1 -1
- package/dist/{create-NCVZ2JM7.js → create-HBAU3ASL.js} +2 -2
- package/dist/{create-RVZ5RLHX.js → create-NJXDBVXF.js} +5 -5
- package/dist/{create-ZVGYET6W.js → create-PVDPEIQA.js} +1 -1
- package/dist/{create-BTODQ4T4.js → create-SK7Z6MMJ.js} +1 -1
- package/dist/{customer-group-detail-QCPC2YWK.js → customer-group-detail-ORI5NZ2R.js} +2 -2
- package/dist/{customer-groups-6WGUNFHG.js → customer-groups-RN24OFMH.js} +6 -3
- package/dist/{edit-F34KMSTW.js → edit-MZKTHXEK.js} +2 -2
- package/dist/{edit-DRT6VOAA.js → edit-OFYBI6WM.js} +1 -1
- package/dist/index.css +3 -0
- package/dist/index.js +1162 -1033
- package/dist/{inventory-CMIRAJJY.js → inventory-BEJYYVQP.js} +2 -2
- package/dist/{locations-BN2BTULF.js → locations-V4K3ZW3T.js} +2 -2
- package/dist/{media-WVRRRAFL.js → media-46GUVY75.js} +3 -3
- package/dist/{offer-detail-page-AJG6TMJC.js → offer-detail-page-2MRU2HNQ.js} +5 -2
- package/dist/{offer-variant-detail-page-CEOS2MVM.js → offer-variant-detail-page-SOONG4U7.js} +4 -1
- package/dist/{offers-63CGN6AI.js → offers-4VCSQL3K.js} +3 -3
- package/dist/pages/index.js +17 -17
- package/dist/{price-lists-U5ASDHMI.js → price-lists-U4IR3425.js} +2 -2
- package/dist/{product-types-CMI33S32.js → product-types-SS7BPBQH.js} +2 -2
- package/dist/{product-variant-detail-D73ILATK.js → product-variant-detail-XIFGH55M.js} +4 -1
- package/dist/{products-ZZUYHZXZ.js → products-7KCMWKIU.js} +6 -6
- package/dist/{profile-EU46MXFW.js → profile-2M4KL5JF.js} +1 -1
- package/dist/{promotions-ALWQ7J7A.js → promotions-V5T5EY7U.js} +5 -5
- package/dist/{register-RCIO7QRB.js → register-T2YUB5NP.js} +1 -1
- package/dist/{reservations-C326XEVA.js → reservations-C7ZC7XPK.js} +5 -2
- package/dist/{reset-password-ASLKY3GK.js → reset-password-U335V424.js} +1 -1
- package/dist/{return-reasons-OJG5J6H2.js → return-reasons-EQULPT57.js} +5 -2
- package/dist/{sales-channels-LWEVGTY6.js → sales-channels-6MGHGQFY.js} +2 -2
- package/dist/{sales-channels-RJLPZDOZ.js → sales-channels-ZXJKYWQW.js} +2 -2
- package/dist/{settings-KDM7NZLY.js → settings-HUMLDZ2O.js} +4 -4
- package/dist/{shipping-profiles-647FLCNK.js → shipping-profiles-BHEAMDEX.js} +2 -2
- package/dist/{store-V3TTFWYV.js → store-6UZNHYJZ.js} +6 -2
- package/dist/{tax-regions-MKEWVKZ7.js → tax-regions-X3QJ7SHM.js} +3 -3
- package/dist/{team-WKBFUAGW.js → team-ZPOPUKOW.js} +1 -1
- package/package.json +9 -8
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
useOfferTableColumns,
|
|
16
16
|
useOfferTableFilters,
|
|
17
17
|
useOfferTableQuery
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XAJCJEE7.js";
|
|
19
19
|
import "./chunk-5ZHZVKNQ.js";
|
|
20
20
|
import "./chunk-VKOE5J66.js";
|
|
21
21
|
import "./chunk-JHIMVLB2.js";
|
|
@@ -54,7 +54,7 @@ import "./chunk-LRD242C7.js";
|
|
|
54
54
|
import "./chunk-JEHVUKYB.js";
|
|
55
55
|
import "./chunk-WIYFXWRI.js";
|
|
56
56
|
import "./chunk-INNFZYX2.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-CWCR5ZLS.js";
|
|
58
58
|
import "./chunk-LAVHRER2.js";
|
|
59
59
|
import "./chunk-QHQWEERJ.js";
|
|
60
60
|
import "./chunk-Y7QKP6QU.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProductCreate,
|
|
3
3
|
ProductCreatePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GGTWSLOP.js";
|
|
5
5
|
import "./chunk-LEWA4BPH.js";
|
|
6
6
|
import "./chunk-QSOQS4EE.js";
|
|
7
7
|
import "./chunk-HJ56YXBU.js";
|
|
@@ -9,13 +9,13 @@ import "./chunk-IQPN4PZJ.js";
|
|
|
9
9
|
import "./chunk-YVCBMOJG.js";
|
|
10
10
|
import "./chunk-BTQN4KKH.js";
|
|
11
11
|
import "./chunk-OVPAOBZB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-MGU666OW.js";
|
|
13
13
|
import {
|
|
14
14
|
EditProductMediaSchema,
|
|
15
15
|
MediaSchema,
|
|
16
16
|
PRODUCT_CREATE_FORM_DEFAULTS,
|
|
17
17
|
ProductCreateSchema
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GW7F5VY6.js";
|
|
19
19
|
import "./chunk-AJLGY3LQ.js";
|
|
20
20
|
import "./chunk-SMQT3ZNO.js";
|
|
21
21
|
import "./chunk-KDE4HKH2.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-4OQLPIUZ.js";
|
|
|
23
23
|
import "./chunk-NWU7EGGF.js";
|
|
24
24
|
import "./chunk-VAFGNDAP.js";
|
|
25
25
|
import "./chunk-WJ5EU3KW.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-O6URKGV5.js";
|
|
27
27
|
import "./chunk-TKGWSUEI.js";
|
|
28
28
|
import "./chunk-SITRHMZZ.js";
|
|
29
29
|
import "./chunk-GDWBOQI5.js";
|
|
@@ -38,7 +38,7 @@ import "./chunk-LRD242C7.js";
|
|
|
38
38
|
import "./chunk-JEHVUKYB.js";
|
|
39
39
|
import "./chunk-WIYFXWRI.js";
|
|
40
40
|
import "./chunk-INNFZYX2.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-CWCR5ZLS.js";
|
|
42
42
|
import "./chunk-LAVHRER2.js";
|
|
43
43
|
import "./chunk-QHQWEERJ.js";
|
|
44
44
|
import "./chunk-Y7QKP6QU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CustomerGroupDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DJVF754Q.js";
|
|
4
4
|
import {
|
|
5
5
|
CustomerGroupDetailBreadcrumb
|
|
6
6
|
} from "./chunk-TDL742KZ.js";
|
|
@@ -22,7 +22,7 @@ import "./chunk-3EF54XFY.js";
|
|
|
22
22
|
import "./chunk-THHRRYRS.js";
|
|
23
23
|
import "./chunk-LRD242C7.js";
|
|
24
24
|
import "./chunk-INNFZYX2.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-CWCR5ZLS.js";
|
|
26
26
|
import "./chunk-LAVHRER2.js";
|
|
27
27
|
import "./chunk-QHQWEERJ.js";
|
|
28
28
|
import "./chunk-Y7QKP6QU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CustomerGroupDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DJVF754Q.js";
|
|
4
4
|
import "./chunk-SPFLYPY6.js";
|
|
5
5
|
import "./chunk-GJM5XI3E.js";
|
|
6
6
|
import "./chunk-GRH7C3QN.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import "./chunk-INNFZYX2.js";
|
|
33
33
|
import {
|
|
34
34
|
ActionMenu
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CWCR5ZLS.js";
|
|
36
36
|
import "./chunk-LAVHRER2.js";
|
|
37
37
|
import "./chunk-QHQWEERJ.js";
|
|
38
38
|
import "./chunk-Y7QKP6QU.js";
|
|
@@ -58,6 +58,7 @@ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
|
58
58
|
import { Children, useCallback, useMemo } from "react";
|
|
59
59
|
import { useTranslation } from "react-i18next";
|
|
60
60
|
import { Link, Outlet } from "react-router-dom";
|
|
61
|
+
import { PermissionGuard } from "@mercurjs/dashboard-shared";
|
|
61
62
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
62
63
|
var PAGE_SIZE = 20;
|
|
63
64
|
var CustomerGroupListTitle = () => {
|
|
@@ -66,7 +67,7 @@ var CustomerGroupListTitle = () => {
|
|
|
66
67
|
};
|
|
67
68
|
var CustomerGroupListCreateButton = () => {
|
|
68
69
|
const { t } = useTranslation();
|
|
69
|
-
return /* @__PURE__ */ jsx(Link, { to: "/customer-groups/create", "data-testid": "customer-group-list-create-link", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", "data-testid": "customer-group-list-create-button", children: t("actions.create") }) });
|
|
70
|
+
return /* @__PURE__ */ jsx(PermissionGuard, { resource: "customer_group", operation: "create", children: /* @__PURE__ */ jsx(Link, { to: "/customer-groups/create", "data-testid": "customer-group-list-create-link", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", "data-testid": "customer-group-list-create-button", children: t("actions.create") }) }) });
|
|
70
71
|
};
|
|
71
72
|
var CustomerGroupListActions = ({
|
|
72
73
|
children
|
|
@@ -214,6 +215,7 @@ var CustomerGroupActions = ({
|
|
|
214
215
|
actions: [
|
|
215
216
|
{
|
|
216
217
|
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
218
|
+
permission: "customer_group:update",
|
|
217
219
|
label: t("actions.edit"),
|
|
218
220
|
to: `/customer-groups/${group.id}/edit`
|
|
219
221
|
}
|
|
@@ -223,6 +225,7 @@ var CustomerGroupActions = ({
|
|
|
223
225
|
actions: [
|
|
224
226
|
{
|
|
225
227
|
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
228
|
+
permission: "customer_group:delete",
|
|
226
229
|
label: t("actions.delete"),
|
|
227
230
|
onClick: handleDelete
|
|
228
231
|
}
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
FileUpload,
|
|
9
9
|
MediaSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GW7F5VY6.js";
|
|
11
11
|
import "./chunk-AJLGY3LQ.js";
|
|
12
12
|
import "./chunk-SMQT3ZNO.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-O6URKGV5.js";
|
|
14
14
|
import "./chunk-TKGWSUEI.js";
|
|
15
15
|
import {
|
|
16
16
|
KeyboundForm
|