@medusajs/dashboard 2.10.4-snapshot-20250922090257 → 2.10.4-snapshot-20250922195925
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-FE4BXGVN.mjs → add-campaign-promotions-PLZXWFNV.mjs} +3 -3
- package/dist/{api-key-management-detail-SAVBCKX7.mjs → api-key-management-detail-ZQFNZNWW.mjs} +2 -1
- package/dist/app.js +2278 -1562
- package/dist/app.mjs +4 -3
- package/dist/{campaign-detail-KTOLZNTA.mjs → campaign-detail-VTCCVWKS.mjs} +5 -4
- package/dist/{categories-metadata-GXWJ3HOG.mjs → categories-metadata-FTFYPASQ.mjs} +2 -1
- package/dist/{category-detail-ENUI5EFL.mjs → category-detail-QHU2CLYA.mjs} +3 -2
- package/dist/{category-products-ZG5QDWSW.mjs → category-products-YGTL7GXQ.mjs} +3 -2
- package/dist/{chunk-S45XMWVD.mjs → chunk-5CE3JPWD.mjs} +1 -1
- package/dist/{chunk-JHXKKOHO.mjs → chunk-6V6KATTW.mjs} +33 -10
- package/dist/{chunk-5WKYR6PY.mjs → chunk-BM5ZIV5V.mjs} +1 -1
- package/dist/{chunk-OGHQ6VJI.mjs → chunk-BSBCIU6C.mjs} +0 -5
- package/dist/{chunk-NRBOPOMS.mjs → chunk-CU5EFQSB.mjs} +1 -1
- package/dist/{chunk-KMUDF36P.mjs → chunk-FTVAORQM.mjs} +1 -1
- package/dist/{chunk-GB7CZNXI.mjs → chunk-JO6QASTJ.mjs} +1 -1
- package/dist/{chunk-OKMF4YI7.mjs → chunk-K3OMOMRB.mjs} +25 -0
- package/dist/{chunk-LAWIWR7K.mjs → chunk-PHXKD2LR.mjs} +1 -1
- package/dist/{chunk-JELVERJM.mjs → chunk-PPI7PTY6.mjs} +31 -0
- package/dist/{chunk-6AGMMT5H.mjs → chunk-VE7JFMAN.mjs} +2 -2
- package/dist/{chunk-IRJKUFJU.mjs → chunk-WYDDFRYM.mjs} +130 -98
- package/dist/{chunk-7YZF3THS.mjs → chunk-XTNS2NRD.mjs} +1 -1
- package/dist/{chunk-Y4YXZY7R.mjs → chunk-YPDTZXV6.mjs} +1 -1
- package/dist/chunk-YZJ3W776.mjs +87 -0
- package/dist/{collection-add-products-2ISNNIHD.mjs → collection-add-products-OJ2EZLC7.mjs} +3 -2
- package/dist/{collection-detail-OSX6NHNQ.mjs → collection-detail-RMZK523E.mjs} +3 -2
- package/dist/{collection-list-MPIYSHQJ.mjs → collection-list-BJ3VNZAA.mjs} +4 -3
- package/dist/{collection-metadata-EOFYXEQI.mjs → collection-metadata-R3DI65D3.mjs} +2 -1
- package/dist/{customer-detail-FCNRRZSW.mjs → customer-detail-G7G6PYOO.mjs} +2 -1
- package/dist/{customer-group-detail-QI3QLJJL.mjs → customer-group-detail-XQ32DPQ3.mjs} +2 -1
- package/dist/{customer-group-list-GPIKR66X.mjs → customer-group-list-CARES5CM.mjs} +2 -1
- package/dist/{customers-add-customer-group-5TFTVDB6.mjs → customers-add-customer-group-NLPVKARS.mjs} +2 -1
- package/dist/{edit-rules-63NG4QVR.mjs → edit-rules-JRLCVE26.mjs} +2 -1
- package/dist/{inventory-create-RIVJFJJQ.mjs → inventory-create-ZC6HV2FY.mjs} +2 -1
- package/dist/{inventory-detail-5433AAQ2.mjs → inventory-detail-WVI4FTTH.mjs} +2 -1
- package/dist/{inventory-metadata-FH4CHJBA.mjs → inventory-metadata-BLIJBNQS.mjs} +2 -1
- package/dist/{inventory-stock-D6E4LQRK.mjs → inventory-stock-ZCTXWRK6.mjs} +2 -1
- package/dist/{location-detail-Z6ZDX6RY.mjs → location-detail-GV3POY4C.mjs} +2 -1
- package/dist/{location-fulfillment-providers-45VXZMZI.mjs → location-fulfillment-providers-INUQXJYU.mjs} +3 -2
- package/dist/{location-service-zone-shipping-option-create-NO3665DC.mjs → location-service-zone-shipping-option-create-6KO3QDMQ.mjs} +2 -1
- package/dist/{login-DSPNELTI.mjs → login-57FIKGXA.mjs} +2 -1
- package/dist/{order-create-claim-V63BWLB5.mjs → order-create-claim-LXKBCAWN.mjs} +2 -1
- package/dist/{order-create-edit-NPF4UZ4D.mjs → order-create-edit-264PTIEI.mjs} +2 -1
- package/dist/{order-create-exchange-RHIPPSKU.mjs → order-create-exchange-ZMUVPYM3.mjs} +2 -1
- package/dist/{order-create-fulfillment-4SSUHQ75.mjs → order-create-fulfillment-LE6O3SA5.mjs} +2 -1
- package/dist/{order-create-refund-QVQC5ZP5.mjs → order-create-refund-B7BO2EJL.mjs} +2 -1
- package/dist/{order-create-shipment-TJAARKWA.mjs → order-create-shipment-UOPCS5N7.mjs} +2 -1
- package/dist/{order-detail-2MIN6B2I.mjs → order-detail-SG7AXBRS.mjs} +2 -1
- package/dist/{order-edit-billing-address-QP2I5F3E.mjs → order-edit-billing-address-RPPJ4Z36.mjs} +2 -1
- package/dist/{order-edit-email-7WT7XTHB.mjs → order-edit-email-A7D5HTU6.mjs} +2 -1
- package/dist/{order-edit-shipping-address-3QFMQP4I.mjs → order-edit-shipping-address-LXKC5CJE.mjs} +2 -1
- package/dist/{order-list-7S3N6H5A.mjs → order-list-ZCMNSZYB.mjs} +1 -1
- package/dist/{order-metadata-YJS26DHK.mjs → order-metadata-KS47UOEE.mjs} +2 -1
- package/dist/{order-receive-return-PZMMMUB2.mjs → order-receive-return-PDU2YVLT.mjs} +2 -1
- package/dist/{order-request-transfer-QBIZD36E.mjs → order-request-transfer-WMQKDLDF.mjs} +2 -1
- package/dist/{price-list-create-RXDH5CXF.mjs → price-list-create-QZSB4W5Z.mjs} +3 -2
- package/dist/{price-list-detail-PKIKOJ4H.mjs → price-list-detail-2FMINPFT.mjs} +3 -2
- package/dist/{price-list-prices-add-2CDPUSYA.mjs → price-list-prices-add-WYK2QBAI.mjs} +3 -2
- package/dist/{product-attributes-LVV3K24U.mjs → product-attributes-KDXI2RNP.mjs} +5 -4
- package/dist/{product-create-HQORHMCM.mjs → product-create-TVYPK4VC.mjs} +5 -4
- package/dist/{product-create-variant-KJKQ6ROY.mjs → product-create-variant-6YWLDA2X.mjs} +2 -1
- package/dist/{product-detail-UROTMCRL.mjs → product-detail-RFKXMYE5.mjs} +5 -4
- package/dist/{product-edit-4EVIUVKV.mjs → product-edit-5FNY7HG4.mjs} +5 -4
- package/dist/{product-export-XERWEI5H.mjs → product-export-BEAUMFAZ.mjs} +3 -2
- package/dist/{product-import-AGFJMSVK.mjs → product-import-SOX4UJPM.mjs} +2 -1
- package/dist/{product-list-3B742YCJ.mjs → product-list-ZVXATJRE.mjs} +4 -3
- package/dist/{product-media-APQKPFTT.mjs → product-media-JPU23SPH.mjs} +2 -2
- package/dist/{product-metadata-NZ3HKO67.mjs → product-metadata-QRRCHZZB.mjs} +2 -1
- package/dist/{product-organization-YQUIMUYX.mjs → product-organization-QTWB7VMB.mjs} +5 -4
- package/dist/{product-shipping-profile-FRIMAOZQ.mjs → product-shipping-profile-Q6UX6ZNJ.mjs} +5 -4
- package/dist/{product-stock-SUVEQZML.mjs → product-stock-TSAIHVY6.mjs} +2 -1
- package/dist/{product-tag-create-T6HVAQKN.mjs → product-tag-create-5NZJS2D2.mjs} +2 -1
- package/dist/{product-tag-detail-HOWUZC3P.mjs → product-tag-detail-3XHUROBO.mjs} +6 -5
- package/dist/{product-tag-edit-WWQDNDRC.mjs → product-tag-edit-YYOOHKGG.mjs} +2 -1
- package/dist/{product-tag-list-FAKSLONF.mjs → product-tag-list-5XTTMNOA.mjs} +6 -5
- package/dist/{product-tag-metadata-6B56VEZU.mjs → product-tag-metadata-YAD3MPWF.mjs} +2 -1
- package/dist/{product-type-detail-KN64HYUV.mjs → product-type-detail-MNTAHQKJ.mjs} +3 -2
- package/dist/{product-type-metadata-F3FTI6OG.mjs → product-type-metadata-HWR3WBGT.mjs} +2 -1
- package/dist/{product-variant-detail-OUHBUY4J.mjs → product-variant-detail-DKFAG3KO.mjs} +2 -1
- package/dist/{product-variant-edit-NBYHDUJ5.mjs → product-variant-edit-EZENYVAN.mjs} +2 -1
- package/dist/{product-variant-metadata-XDVLJYGQ.mjs → product-variant-metadata-S7QENSUG.mjs} +2 -1
- package/dist/{promotion-create-UUOG52D5.mjs → promotion-create-O3KUSPIU.mjs} +2 -1
- package/dist/{promotion-detail-6ZD7Z6BF.mjs → promotion-detail-5DU6ULJG.mjs} +4 -3
- package/dist/{promotion-list-GI64LDWI.mjs → promotion-list-Q2FOGORE.mjs} +3 -3
- package/dist/refund-reason-create-NSZFGXWI.mjs +158 -0
- package/dist/refund-reason-edit-RKUSPQCL.mjs +144 -0
- package/dist/refund-reason-list-2F5PFERT.mjs +273 -0
- package/dist/{region-metadata-IQVB4ERU.mjs → region-metadata-G3JH5ZN6.mjs} +2 -1
- package/dist/{reservation-detail-RTGHD35L.mjs → reservation-detail-PJXS67UM.mjs} +2 -1
- package/dist/{reservation-metadata-WKJXBRLQ.mjs → reservation-metadata-UCKQB66O.mjs} +2 -1
- package/dist/{reset-password-SXA6YKTJ.mjs → reset-password-5KIEBJHN.mjs} +1 -1
- package/dist/{return-reason-list-MOP7YWMZ.mjs → return-reason-list-OGFYWMC5.mjs} +2 -2
- package/dist/{sales-channel-add-products-OKVZJ6FI.mjs → sales-channel-add-products-CSMNFGHD.mjs} +3 -2
- package/dist/{sales-channel-detail-WESBK6Q7.mjs → sales-channel-detail-ZSA3HNWW.mjs} +3 -2
- package/dist/{sales-channel-list-ADIJMXNV.mjs → sales-channel-list-X5ADP34V.mjs} +2 -1
- package/dist/{sales-channel-metadata-2OQAHYB4.mjs → sales-channel-metadata-ABWIDI3B.mjs} +2 -1
- package/dist/{shipping-option-type-create-3CGPGDYJ.mjs → shipping-option-type-create-Q2X5OMJS.mjs} +2 -1
- package/dist/{shipping-option-type-detail-S23H2OGW.mjs → shipping-option-type-detail-VT3Y5QQ4.mjs} +3 -2
- package/dist/{shipping-option-type-edit-IHE7XM6M.mjs → shipping-option-type-edit-IA3EER2N.mjs} +2 -1
- package/dist/{shipping-option-type-list-47GRJ6EC.mjs → shipping-option-type-list-JZPKAL3H.mjs} +3 -2
- package/dist/{shipping-profile-metadata-OXWOXAAR.mjs → shipping-profile-metadata-EYXBWBF2.mjs} +2 -1
- package/dist/{store-detail-4K7TW2TP.mjs → store-detail-LI72QMUZ.mjs} +2 -1
- package/dist/{store-metadata-JP2CI7EF.mjs → store-metadata-ZITLAS5H.mjs} +2 -1
- package/dist/{tax-region-create-W3K5IFD3.mjs → tax-region-create-IU2R5VIY.mjs} +3 -2
- package/dist/{tax-region-detail-V2F2DONN.mjs → tax-region-detail-6FHD35LB.mjs} +2 -1
- package/dist/{tax-region-edit-CJPMYTBF.mjs → tax-region-edit-O2WJXYIE.mjs} +2 -1
- package/dist/{tax-region-province-detail-4PUQ5ADW.mjs → tax-region-province-detail-YDBU4CUU.mjs} +2 -1
- package/dist/{tax-region-tax-override-create-3SCIOK4P.mjs → tax-region-tax-override-create-EF3LLZWM.mjs} +6 -5
- package/dist/{tax-region-tax-override-edit-P3QJKET3.mjs → tax-region-tax-override-edit-2DG3J6CO.mjs} +6 -5
- package/dist/{user-metadata-ZURLDLGC.mjs → user-metadata-QUIFIM5G.mjs} +2 -1
- package/dist/{workflow-execution-detail-4R6AFFHV.mjs → workflow-execution-detail-PVSQ2VGE.mjs} +2 -1
- package/package.json +9 -9
- package/src/components/layout/settings-layout/settings-layout.tsx +4 -0
- package/src/dashboard-app/routes/get-route.map.tsx +36 -0
- package/src/hooks/api/refund-reasons.tsx +113 -9
- package/src/hooks/table/columns/index.ts +1 -0
- package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +28 -0
- package/src/hooks/table/query/index.ts +1 -0
- package/src/hooks/table/query/use-refund-reason-table-query.tsx +32 -0
- package/src/hooks/table/use-table-configuration.tsx +1 -1
- package/src/i18n/translations/$schema.json +181 -65
- package/src/i18n/translations/en.json +31 -0
- package/src/routes/refund-reasons/common/hooks/use-delete-refund-reason-action.tsx +34 -0
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +131 -0
- package/src/routes/refund-reasons/refund-reason-create/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +10 -0
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +119 -0
- package/src/routes/refund-reasons/refund-reason-edit/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +33 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +131 -0
- package/src/routes/refund-reasons/refund-reason-list/index.ts +2 -0
- package/src/routes/refund-reasons/refund-reason-list/loader.ts +16 -0
- package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +21 -0
@@ -0,0 +1,158 @@
|
|
1
|
+
import "./chunk-IUCDCPJU.mjs";
|
2
|
+
import {
|
3
|
+
KeyboundForm
|
4
|
+
} from "./chunk-6HTZNHPT.mjs";
|
5
|
+
import {
|
6
|
+
RouteFocusModal,
|
7
|
+
useRouteModal
|
8
|
+
} from "./chunk-4TC5YS65.mjs";
|
9
|
+
import {
|
10
|
+
Form
|
11
|
+
} from "./chunk-OBQI23QM.mjs";
|
12
|
+
import "./chunk-BSBCIU6C.mjs";
|
13
|
+
import "./chunk-KOSCMAIC.mjs";
|
14
|
+
import {
|
15
|
+
useCreateRefundReason
|
16
|
+
} from "./chunk-YZJ3W776.mjs";
|
17
|
+
import "./chunk-X6DSNTTX.mjs";
|
18
|
+
import "./chunk-I6E6CALJ.mjs";
|
19
|
+
import "./chunk-4RG7UJCT.mjs";
|
20
|
+
import "./chunk-QTCZFYFH.mjs";
|
21
|
+
import "./chunk-B4GODIOW.mjs";
|
22
|
+
import "./chunk-ENV6YVOM.mjs";
|
23
|
+
import "./chunk-PIR2H25N.mjs";
|
24
|
+
import "./chunk-RLY2SL5E.mjs";
|
25
|
+
import "./chunk-C5LYZZZ5.mjs";
|
26
|
+
import "./chunk-2ZKVRTBW.mjs";
|
27
|
+
import "./chunk-ZCZL3STK.mjs";
|
28
|
+
import "./chunk-OHSRRFGN.mjs";
|
29
|
+
import "./chunk-F6PXCY3N.mjs";
|
30
|
+
import "./chunk-NCR5UWRI.mjs";
|
31
|
+
import "./chunk-ZODJNBAV.mjs";
|
32
|
+
import "./chunk-GRT22PE5.mjs";
|
33
|
+
import "./chunk-32IQRUVY.mjs";
|
34
|
+
import "./chunk-KSRI5LOF.mjs";
|
35
|
+
import "./chunk-YI4CZGTU.mjs";
|
36
|
+
import "./chunk-BFNH5UWD.mjs";
|
37
|
+
import "./chunk-KX4P5L3R.mjs";
|
38
|
+
import "./chunk-4Q4LIFFO.mjs";
|
39
|
+
import "./chunk-V2LANK5S.mjs";
|
40
|
+
import "./chunk-QZ6PT4QV.mjs";
|
41
|
+
import "./chunk-QL4XKIVL.mjs";
|
42
|
+
import "./chunk-X4X5KUGQ.mjs";
|
43
|
+
import "./chunk-FXYH54JP.mjs";
|
44
|
+
import "./chunk-774WSTCC.mjs";
|
45
|
+
import "./chunk-DEQUVHHE.mjs";
|
46
|
+
import "./chunk-RPUOO7AV.mjs";
|
47
|
+
|
48
|
+
// src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx
|
49
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
50
|
+
import { Button, Heading, Input, Text, Textarea, toast } from "@medusajs/ui";
|
51
|
+
import { useForm } from "react-hook-form";
|
52
|
+
import { useTranslation } from "react-i18next";
|
53
|
+
import { z } from "zod";
|
54
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
55
|
+
var RefundReasonCreateSchema = z.object({
|
56
|
+
label: z.string().min(1),
|
57
|
+
description: z.string().optional()
|
58
|
+
});
|
59
|
+
var RefundReasonCreateForm = () => {
|
60
|
+
const { t } = useTranslation();
|
61
|
+
const { handleSuccess } = useRouteModal();
|
62
|
+
const form = useForm({
|
63
|
+
defaultValues: {
|
64
|
+
label: "",
|
65
|
+
description: ""
|
66
|
+
},
|
67
|
+
resolver: zodResolver(RefundReasonCreateSchema)
|
68
|
+
});
|
69
|
+
const { mutateAsync, isPending } = useCreateRefundReason();
|
70
|
+
const handleSubmit = form.handleSubmit(async (data) => {
|
71
|
+
await mutateAsync(data, {
|
72
|
+
onSuccess: ({ refund_reason }) => {
|
73
|
+
toast.success(
|
74
|
+
t("refundReasons.create.successToast", {
|
75
|
+
label: refund_reason.label
|
76
|
+
})
|
77
|
+
);
|
78
|
+
handleSuccess(`../`);
|
79
|
+
},
|
80
|
+
onError: (error) => {
|
81
|
+
toast.error(error.message);
|
82
|
+
}
|
83
|
+
});
|
84
|
+
});
|
85
|
+
return /* @__PURE__ */ jsx(RouteFocusModal.Form, { form, children: /* @__PURE__ */ jsxs(
|
86
|
+
KeyboundForm,
|
87
|
+
{
|
88
|
+
className: "flex size-full flex-col overflow-hidden",
|
89
|
+
onSubmit: handleSubmit,
|
90
|
+
children: [
|
91
|
+
/* @__PURE__ */ jsx(RouteFocusModal.Header, {}),
|
92
|
+
/* @__PURE__ */ jsx(RouteFocusModal.Body, { className: "flex flex-1 justify-center overflow-auto px-6 py-16", children: /* @__PURE__ */ jsxs("div", { className: "flex w-full max-w-[720px] flex-col gap-y-8", children: [
|
93
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-1", children: [
|
94
|
+
/* @__PURE__ */ jsx(RouteFocusModal.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { children: t("refundReasons.create.header") }) }),
|
95
|
+
/* @__PURE__ */ jsx(RouteFocusModal.Description, { asChild: true, children: /* @__PURE__ */ jsx(Text, { size: "small", className: "text-ui-fg-subtle", children: t("refundReasons.create.subtitle") }) })
|
96
|
+
] }),
|
97
|
+
/* @__PURE__ */ jsx("div", { className: "grid gap-4 md:grid-cols-2", children: /* @__PURE__ */ jsx(
|
98
|
+
Form.Field,
|
99
|
+
{
|
100
|
+
control: form.control,
|
101
|
+
name: "label",
|
102
|
+
render: ({ field }) => {
|
103
|
+
return /* @__PURE__ */ jsxs(Form.Item, { children: [
|
104
|
+
/* @__PURE__ */ jsx(Form.Label, { children: t("refundReasons.fields.label.label") }),
|
105
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
106
|
+
Input,
|
107
|
+
{
|
108
|
+
...field,
|
109
|
+
placeholder: t(
|
110
|
+
"refundReasons.fields.label.placeholder"
|
111
|
+
)
|
112
|
+
}
|
113
|
+
) }),
|
114
|
+
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
115
|
+
] });
|
116
|
+
}
|
117
|
+
}
|
118
|
+
) }),
|
119
|
+
/* @__PURE__ */ jsx(
|
120
|
+
Form.Field,
|
121
|
+
{
|
122
|
+
control: form.control,
|
123
|
+
name: "description",
|
124
|
+
render: ({ field }) => {
|
125
|
+
return /* @__PURE__ */ jsxs(Form.Item, { children: [
|
126
|
+
/* @__PURE__ */ jsx(Form.Label, { optional: true, children: t("refundReasons.fields.description.label") }),
|
127
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
128
|
+
Textarea,
|
129
|
+
{
|
130
|
+
...field,
|
131
|
+
placeholder: t(
|
132
|
+
"refundReasons.fields.description.placeholder"
|
133
|
+
)
|
134
|
+
}
|
135
|
+
) }),
|
136
|
+
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
137
|
+
] });
|
138
|
+
}
|
139
|
+
}
|
140
|
+
)
|
141
|
+
] }) }),
|
142
|
+
/* @__PURE__ */ jsx(RouteFocusModal.Footer, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
143
|
+
/* @__PURE__ */ jsx(RouteFocusModal.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", type: "button", children: t("actions.cancel") }) }),
|
144
|
+
/* @__PURE__ */ jsx(Button, { size: "small", type: "submit", isLoading: isPending, children: t("actions.save") })
|
145
|
+
] }) })
|
146
|
+
]
|
147
|
+
}
|
148
|
+
) });
|
149
|
+
};
|
150
|
+
|
151
|
+
// src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx
|
152
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
153
|
+
var RefundReasonCreate = () => {
|
154
|
+
return /* @__PURE__ */ jsx2(RouteFocusModal, { children: /* @__PURE__ */ jsx2(RefundReasonCreateForm, {}) });
|
155
|
+
};
|
156
|
+
export {
|
157
|
+
RefundReasonCreate as Component
|
158
|
+
};
|
@@ -0,0 +1,144 @@
|
|
1
|
+
import "./chunk-IUCDCPJU.mjs";
|
2
|
+
import {
|
3
|
+
KeyboundForm
|
4
|
+
} from "./chunk-6HTZNHPT.mjs";
|
5
|
+
import {
|
6
|
+
RouteDrawer,
|
7
|
+
useRouteModal
|
8
|
+
} from "./chunk-4TC5YS65.mjs";
|
9
|
+
import {
|
10
|
+
Form
|
11
|
+
} from "./chunk-OBQI23QM.mjs";
|
12
|
+
import {
|
13
|
+
useRefundReason,
|
14
|
+
useUpdateRefundReason
|
15
|
+
} from "./chunk-YZJ3W776.mjs";
|
16
|
+
import "./chunk-FXYH54JP.mjs";
|
17
|
+
import "./chunk-774WSTCC.mjs";
|
18
|
+
import "./chunk-DEQUVHHE.mjs";
|
19
|
+
import "./chunk-RPUOO7AV.mjs";
|
20
|
+
|
21
|
+
// src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx
|
22
|
+
import { Heading } from "@medusajs/ui";
|
23
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
24
|
+
import { useParams } from "react-router-dom";
|
25
|
+
|
26
|
+
// src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx
|
27
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
28
|
+
import { Button, Input, Textarea, toast } from "@medusajs/ui";
|
29
|
+
import { useForm } from "react-hook-form";
|
30
|
+
import { useTranslation } from "react-i18next";
|
31
|
+
import { z } from "zod";
|
32
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
33
|
+
var RefundReasonEditSchema = z.object({
|
34
|
+
label: z.string().min(1),
|
35
|
+
description: z.string().optional()
|
36
|
+
});
|
37
|
+
var RefundReasonEditForm = ({
|
38
|
+
refundReason
|
39
|
+
}) => {
|
40
|
+
const { t } = useTranslation();
|
41
|
+
const { handleSuccess } = useRouteModal();
|
42
|
+
const form = useForm({
|
43
|
+
defaultValues: {
|
44
|
+
label: refundReason.label,
|
45
|
+
description: refundReason.description ?? void 0
|
46
|
+
},
|
47
|
+
resolver: zodResolver(RefundReasonEditSchema)
|
48
|
+
});
|
49
|
+
const { mutateAsync, isPending } = useUpdateRefundReason(refundReason.id);
|
50
|
+
const handleSubmit = form.handleSubmit(async (data) => {
|
51
|
+
await mutateAsync(data, {
|
52
|
+
onSuccess: ({ refund_reason }) => {
|
53
|
+
toast.success(
|
54
|
+
t("refundReasons.edit.successToast", {
|
55
|
+
label: refund_reason.label
|
56
|
+
})
|
57
|
+
);
|
58
|
+
handleSuccess();
|
59
|
+
},
|
60
|
+
onError: (error) => {
|
61
|
+
toast.error(error.message);
|
62
|
+
}
|
63
|
+
});
|
64
|
+
});
|
65
|
+
return /* @__PURE__ */ jsx(RouteDrawer.Form, { form, children: /* @__PURE__ */ jsxs(
|
66
|
+
KeyboundForm,
|
67
|
+
{
|
68
|
+
className: "flex size-full flex-col overflow-hidden",
|
69
|
+
onSubmit: handleSubmit,
|
70
|
+
children: [
|
71
|
+
/* @__PURE__ */ jsxs(RouteDrawer.Body, { className: "flex flex-1 flex-col gap-y-4 overflow-auto", children: [
|
72
|
+
/* @__PURE__ */ jsx(
|
73
|
+
Form.Field,
|
74
|
+
{
|
75
|
+
control: form.control,
|
76
|
+
name: "label",
|
77
|
+
render: ({ field }) => {
|
78
|
+
return /* @__PURE__ */ jsxs(Form.Item, { children: [
|
79
|
+
/* @__PURE__ */ jsx(Form.Label, { children: t("refundReasons.fields.label.label") }),
|
80
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
81
|
+
Input,
|
82
|
+
{
|
83
|
+
...field,
|
84
|
+
placeholder: t("refundReasons.fields.label.placeholder")
|
85
|
+
}
|
86
|
+
) }),
|
87
|
+
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
88
|
+
] });
|
89
|
+
}
|
90
|
+
}
|
91
|
+
),
|
92
|
+
/* @__PURE__ */ jsx(
|
93
|
+
Form.Field,
|
94
|
+
{
|
95
|
+
control: form.control,
|
96
|
+
name: "description",
|
97
|
+
render: ({ field }) => {
|
98
|
+
return /* @__PURE__ */ jsxs(Form.Item, { children: [
|
99
|
+
/* @__PURE__ */ jsx(Form.Label, { optional: true, children: t("refundReasons.fields.description.label") }),
|
100
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
101
|
+
Textarea,
|
102
|
+
{
|
103
|
+
...field,
|
104
|
+
placeholder: t(
|
105
|
+
"refundReasons.fields.description.placeholder"
|
106
|
+
)
|
107
|
+
}
|
108
|
+
) }),
|
109
|
+
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
110
|
+
] });
|
111
|
+
}
|
112
|
+
}
|
113
|
+
)
|
114
|
+
] }),
|
115
|
+
/* @__PURE__ */ jsx(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2", children: [
|
116
|
+
/* @__PURE__ */ jsx(RouteDrawer.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "small", type: "button", children: t("actions.cancel") }) }),
|
117
|
+
/* @__PURE__ */ jsx(Button, { size: "small", type: "submit", isLoading: isPending, children: t("actions.save") })
|
118
|
+
] }) })
|
119
|
+
]
|
120
|
+
}
|
121
|
+
) });
|
122
|
+
};
|
123
|
+
|
124
|
+
// src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx
|
125
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
126
|
+
var RefundReasonEdit = () => {
|
127
|
+
const { id } = useParams();
|
128
|
+
const { t } = useTranslation2();
|
129
|
+
const { refund_reason, isPending, isError, error } = useRefundReason(id);
|
130
|
+
const ready = !isPending && !!refund_reason;
|
131
|
+
if (isError) {
|
132
|
+
throw error;
|
133
|
+
}
|
134
|
+
return /* @__PURE__ */ jsxs2(RouteDrawer, { children: [
|
135
|
+
/* @__PURE__ */ jsxs2(RouteDrawer.Header, { children: [
|
136
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading, { children: t("refundReasons.edit.header") }) }),
|
137
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Description, { className: "sr-only", children: t("refundReasons.edit.subtitle") })
|
138
|
+
] }),
|
139
|
+
ready && /* @__PURE__ */ jsx2(RefundReasonEditForm, { refundReason: refund_reason })
|
140
|
+
] });
|
141
|
+
};
|
142
|
+
export {
|
143
|
+
RefundReasonEdit as Component
|
144
|
+
};
|
@@ -0,0 +1,273 @@
|
|
1
|
+
import {
|
2
|
+
useRefundReasonTableColumns
|
3
|
+
} from "./chunk-6V6KATTW.mjs";
|
4
|
+
import "./chunk-GLVCH422.mjs";
|
5
|
+
import "./chunk-QMRGIWOP.mjs";
|
6
|
+
import "./chunk-2WZUO66T.mjs";
|
7
|
+
import "./chunk-I3VB6NM2.mjs";
|
8
|
+
import "./chunk-ZJRFL6ZN.mjs";
|
9
|
+
import {
|
10
|
+
useRefundReasonTableQuery
|
11
|
+
} from "./chunk-K3OMOMRB.mjs";
|
12
|
+
import "./chunk-I5HYE2RW.mjs";
|
13
|
+
import "./chunk-RIV7FKGN.mjs";
|
14
|
+
import "./chunk-TDK3JDOB.mjs";
|
15
|
+
import "./chunk-FHSC5X62.mjs";
|
16
|
+
import "./chunk-XR4GEMGR.mjs";
|
17
|
+
import "./chunk-WRSGHGAT.mjs";
|
18
|
+
import "./chunk-MOSRJHJ3.mjs";
|
19
|
+
import "./chunk-T7G2CURS.mjs";
|
20
|
+
import "./chunk-OMC5JCQH.mjs";
|
21
|
+
import "./chunk-QXXHLVRQ.mjs";
|
22
|
+
import "./chunk-XMAWMECC.mjs";
|
23
|
+
import "./chunk-IR5DHEKS.mjs";
|
24
|
+
import "./chunk-7DXVXBSA.mjs";
|
25
|
+
import "./chunk-MSDRGCRR.mjs";
|
26
|
+
import "./chunk-BW322BVH.mjs";
|
27
|
+
import "./chunk-PCFUZKDS.mjs";
|
28
|
+
import "./chunk-3I6G3NRU.mjs";
|
29
|
+
import "./chunk-SJ3E4T6B.mjs";
|
30
|
+
import "./chunk-INE2QCSC.mjs";
|
31
|
+
import "./chunk-XLDQPLK4.mjs";
|
32
|
+
import "./chunk-IQBAUTU5.mjs";
|
33
|
+
import "./chunk-X6BAAGCL.mjs";
|
34
|
+
import "./chunk-ADOCJB6L.mjs";
|
35
|
+
import "./chunk-LQTHYS2Z.mjs";
|
36
|
+
import "./chunk-P3UUX2T6.mjs";
|
37
|
+
import {
|
38
|
+
_DataTable,
|
39
|
+
useDataTable
|
40
|
+
} from "./chunk-7VJK6HNE.mjs";
|
41
|
+
import "./chunk-YEDAFXMB.mjs";
|
42
|
+
import "./chunk-AOFGTNG6.mjs";
|
43
|
+
import "./chunk-EMIHDNB7.mjs";
|
44
|
+
import "./chunk-DK4WIVY6.mjs";
|
45
|
+
import "./chunk-Z26G6WFJ.mjs";
|
46
|
+
import "./chunk-M3VFKDXJ.mjs";
|
47
|
+
import {
|
48
|
+
SingleColumnPage
|
49
|
+
} from "./chunk-2RQLKDBF.mjs";
|
50
|
+
import "./chunk-C76H5USB.mjs";
|
51
|
+
import "./chunk-PFKKVLZX.mjs";
|
52
|
+
import "./chunk-MNXC6Q4F.mjs";
|
53
|
+
import {
|
54
|
+
useExtension
|
55
|
+
} from "./chunk-C5P5PL3E.mjs";
|
56
|
+
import "./chunk-DG7J63J2.mjs";
|
57
|
+
import "./chunk-LPEUYMRK.mjs";
|
58
|
+
import {
|
59
|
+
ActionMenu
|
60
|
+
} from "./chunk-3NJTXRIY.mjs";
|
61
|
+
import "./chunk-OC7BQLYI.mjs";
|
62
|
+
import "./chunk-67ORSRVT.mjs";
|
63
|
+
import "./chunk-BSBCIU6C.mjs";
|
64
|
+
import "./chunk-KOSCMAIC.mjs";
|
65
|
+
import {
|
66
|
+
refundReasonsQueryKeys,
|
67
|
+
useDeleteRefundReason,
|
68
|
+
useRefundReasons
|
69
|
+
} from "./chunk-YZJ3W776.mjs";
|
70
|
+
import "./chunk-X6DSNTTX.mjs";
|
71
|
+
import "./chunk-I6E6CALJ.mjs";
|
72
|
+
import "./chunk-4RG7UJCT.mjs";
|
73
|
+
import "./chunk-QTCZFYFH.mjs";
|
74
|
+
import "./chunk-B4GODIOW.mjs";
|
75
|
+
import "./chunk-ENV6YVOM.mjs";
|
76
|
+
import "./chunk-PIR2H25N.mjs";
|
77
|
+
import "./chunk-RLY2SL5E.mjs";
|
78
|
+
import "./chunk-C5LYZZZ5.mjs";
|
79
|
+
import "./chunk-2ZKVRTBW.mjs";
|
80
|
+
import "./chunk-ZCZL3STK.mjs";
|
81
|
+
import "./chunk-OHSRRFGN.mjs";
|
82
|
+
import "./chunk-F6PXCY3N.mjs";
|
83
|
+
import "./chunk-NCR5UWRI.mjs";
|
84
|
+
import "./chunk-ZODJNBAV.mjs";
|
85
|
+
import "./chunk-GRT22PE5.mjs";
|
86
|
+
import "./chunk-32IQRUVY.mjs";
|
87
|
+
import "./chunk-KSRI5LOF.mjs";
|
88
|
+
import "./chunk-YI4CZGTU.mjs";
|
89
|
+
import "./chunk-BFNH5UWD.mjs";
|
90
|
+
import "./chunk-KX4P5L3R.mjs";
|
91
|
+
import "./chunk-4Q4LIFFO.mjs";
|
92
|
+
import "./chunk-V2LANK5S.mjs";
|
93
|
+
import "./chunk-QZ6PT4QV.mjs";
|
94
|
+
import "./chunk-QL4XKIVL.mjs";
|
95
|
+
import "./chunk-X4X5KUGQ.mjs";
|
96
|
+
import {
|
97
|
+
queryClient
|
98
|
+
} from "./chunk-FXYH54JP.mjs";
|
99
|
+
import "./chunk-774WSTCC.mjs";
|
100
|
+
import {
|
101
|
+
sdk
|
102
|
+
} from "./chunk-DEQUVHHE.mjs";
|
103
|
+
import "./chunk-RPUOO7AV.mjs";
|
104
|
+
|
105
|
+
// src/routes/refund-reasons/refund-reason-list/loader.ts
|
106
|
+
var refundReasonListQuery = () => ({
|
107
|
+
queryKey: refundReasonsQueryKeys.list(),
|
108
|
+
queryFn: async () => sdk.admin.refundReason.list()
|
109
|
+
});
|
110
|
+
var refundReasonListLoader = async () => {
|
111
|
+
const query = refundReasonListQuery();
|
112
|
+
return queryClient.getQueryData(query.queryKey) ?? await queryClient.fetchQuery(query);
|
113
|
+
};
|
114
|
+
|
115
|
+
// src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx
|
116
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
117
|
+
import { Button, Container, Heading, Text } from "@medusajs/ui";
|
118
|
+
import { keepPreviousData } from "@tanstack/react-query";
|
119
|
+
import { createColumnHelper } from "@tanstack/react-table";
|
120
|
+
import { useMemo } from "react";
|
121
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
122
|
+
import { Link } from "react-router-dom";
|
123
|
+
|
124
|
+
// src/routes/refund-reasons/common/hooks/use-delete-refund-reason-action.tsx
|
125
|
+
import { toast, usePrompt } from "@medusajs/ui";
|
126
|
+
import { useTranslation } from "react-i18next";
|
127
|
+
var useDeleteRefundReasonAction = (id, label) => {
|
128
|
+
const { t } = useTranslation();
|
129
|
+
const prompt = usePrompt();
|
130
|
+
const { mutateAsync } = useDeleteRefundReason(id);
|
131
|
+
return async () => {
|
132
|
+
const result = await prompt({
|
133
|
+
title: t("general.areYouSure"),
|
134
|
+
description: t("refundReasons.delete.confirmation", {
|
135
|
+
label
|
136
|
+
}),
|
137
|
+
confirmText: t("actions.delete"),
|
138
|
+
cancelText: t("actions.cancel")
|
139
|
+
});
|
140
|
+
if (!result) {
|
141
|
+
return;
|
142
|
+
}
|
143
|
+
await mutateAsync(void 0, {
|
144
|
+
onSuccess: () => {
|
145
|
+
toast.success(t("refundReasons.delete.successToast"));
|
146
|
+
},
|
147
|
+
onError: (error) => {
|
148
|
+
toast.error(error.message);
|
149
|
+
}
|
150
|
+
});
|
151
|
+
};
|
152
|
+
};
|
153
|
+
|
154
|
+
// src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx
|
155
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
156
|
+
var PAGE_SIZE = 20;
|
157
|
+
var RefundReasonListTable = () => {
|
158
|
+
const { t } = useTranslation2();
|
159
|
+
const { searchParams, raw } = useRefundReasonTableQuery({
|
160
|
+
pageSize: PAGE_SIZE
|
161
|
+
});
|
162
|
+
const { refund_reasons, count, isPending, isError, error } = useRefundReasons(
|
163
|
+
searchParams,
|
164
|
+
{
|
165
|
+
placeholderData: keepPreviousData
|
166
|
+
}
|
167
|
+
);
|
168
|
+
const columns = useColumns();
|
169
|
+
const { table } = useDataTable({
|
170
|
+
data: refund_reasons,
|
171
|
+
columns,
|
172
|
+
count,
|
173
|
+
getRowId: (row) => row.id,
|
174
|
+
pageSize: PAGE_SIZE
|
175
|
+
});
|
176
|
+
if (isError) {
|
177
|
+
throw error;
|
178
|
+
}
|
179
|
+
return /* @__PURE__ */ jsxs(Container, { className: "divide-y px-0 py-0", children: [
|
180
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
181
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
182
|
+
/* @__PURE__ */ jsx(Heading, { children: t("refundReasons.domain") }),
|
183
|
+
/* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle", size: "small", children: t("refundReasons.subtitle") })
|
184
|
+
] }),
|
185
|
+
/* @__PURE__ */ jsx(Button, { variant: "secondary", size: "small", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) })
|
186
|
+
] }),
|
187
|
+
/* @__PURE__ */ jsx(
|
188
|
+
_DataTable,
|
189
|
+
{
|
190
|
+
table,
|
191
|
+
queryObject: raw,
|
192
|
+
count,
|
193
|
+
isLoading: isPending,
|
194
|
+
columns,
|
195
|
+
pageSize: PAGE_SIZE,
|
196
|
+
noHeader: true,
|
197
|
+
pagination: true,
|
198
|
+
search: true
|
199
|
+
}
|
200
|
+
)
|
201
|
+
] });
|
202
|
+
};
|
203
|
+
var RefundReasonRowActions = ({
|
204
|
+
refundReason
|
205
|
+
}) => {
|
206
|
+
const { t } = useTranslation2();
|
207
|
+
const handleDelete = useDeleteRefundReasonAction(
|
208
|
+
refundReason.id,
|
209
|
+
refundReason.label
|
210
|
+
);
|
211
|
+
return /* @__PURE__ */ jsx(
|
212
|
+
ActionMenu,
|
213
|
+
{
|
214
|
+
groups: [
|
215
|
+
{
|
216
|
+
actions: [
|
217
|
+
{
|
218
|
+
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
219
|
+
label: t("actions.edit"),
|
220
|
+
to: `${refundReason.id}/edit`
|
221
|
+
}
|
222
|
+
]
|
223
|
+
},
|
224
|
+
{
|
225
|
+
actions: [
|
226
|
+
{
|
227
|
+
icon: /* @__PURE__ */ jsx(Trash, {}),
|
228
|
+
label: t("actions.delete"),
|
229
|
+
onClick: handleDelete
|
230
|
+
}
|
231
|
+
]
|
232
|
+
}
|
233
|
+
]
|
234
|
+
}
|
235
|
+
);
|
236
|
+
};
|
237
|
+
var columnHelper = createColumnHelper();
|
238
|
+
var useColumns = () => {
|
239
|
+
const base = useRefundReasonTableColumns();
|
240
|
+
return useMemo(
|
241
|
+
() => [
|
242
|
+
...base,
|
243
|
+
columnHelper.display({
|
244
|
+
id: "actions",
|
245
|
+
cell: ({ row }) => /* @__PURE__ */ jsx(RefundReasonRowActions, { refundReason: row.original })
|
246
|
+
})
|
247
|
+
],
|
248
|
+
[base]
|
249
|
+
);
|
250
|
+
};
|
251
|
+
|
252
|
+
// src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx
|
253
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
254
|
+
var RefundReasonList = () => {
|
255
|
+
const { getWidgets } = useExtension();
|
256
|
+
return /* @__PURE__ */ jsx2(
|
257
|
+
SingleColumnPage,
|
258
|
+
{
|
259
|
+
showMetadata: false,
|
260
|
+
showJSON: false,
|
261
|
+
hasOutlet: true,
|
262
|
+
widgets: {
|
263
|
+
after: getWidgets("refund_reason.list.after"),
|
264
|
+
before: getWidgets("refund_reason.list.before")
|
265
|
+
},
|
266
|
+
children: /* @__PURE__ */ jsx2(RefundReasonListTable, {})
|
267
|
+
}
|
268
|
+
);
|
269
|
+
};
|
270
|
+
export {
|
271
|
+
RefundReasonList as Component,
|
272
|
+
refundReasonListLoader as loader
|
273
|
+
};
|
@@ -10,8 +10,9 @@ import {
|
|
10
10
|
import "./chunk-LPEUYMRK.mjs";
|
11
11
|
import "./chunk-OC7BQLYI.mjs";
|
12
12
|
import "./chunk-OBQI23QM.mjs";
|
13
|
-
import "./chunk-
|
13
|
+
import "./chunk-BSBCIU6C.mjs";
|
14
14
|
import "./chunk-KOSCMAIC.mjs";
|
15
|
+
import "./chunk-YZJ3W776.mjs";
|
15
16
|
import "./chunk-X6DSNTTX.mjs";
|
16
17
|
import "./chunk-I6E6CALJ.mjs";
|
17
18
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -18,8 +18,9 @@ import {
|
|
18
18
|
ActionMenu
|
19
19
|
} from "./chunk-3NJTXRIY.mjs";
|
20
20
|
import "./chunk-OC7BQLYI.mjs";
|
21
|
-
import "./chunk-
|
21
|
+
import "./chunk-BSBCIU6C.mjs";
|
22
22
|
import "./chunk-KOSCMAIC.mjs";
|
23
|
+
import "./chunk-YZJ3W776.mjs";
|
23
24
|
import "./chunk-X6DSNTTX.mjs";
|
24
25
|
import "./chunk-I6E6CALJ.mjs";
|
25
26
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -10,8 +10,9 @@ import {
|
|
10
10
|
import "./chunk-LPEUYMRK.mjs";
|
11
11
|
import "./chunk-OC7BQLYI.mjs";
|
12
12
|
import "./chunk-OBQI23QM.mjs";
|
13
|
-
import "./chunk-
|
13
|
+
import "./chunk-BSBCIU6C.mjs";
|
14
14
|
import "./chunk-KOSCMAIC.mjs";
|
15
|
+
import "./chunk-YZJ3W776.mjs";
|
15
16
|
import "./chunk-X6DSNTTX.mjs";
|
16
17
|
import "./chunk-I6E6CALJ.mjs";
|
17
18
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
useReturnReasonTableColumns
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-6V6KATTW.mjs";
|
4
4
|
import "./chunk-GLVCH422.mjs";
|
5
5
|
import "./chunk-QMRGIWOP.mjs";
|
6
6
|
import "./chunk-2WZUO66T.mjs";
|
@@ -8,7 +8,7 @@ import "./chunk-I3VB6NM2.mjs";
|
|
8
8
|
import "./chunk-ZJRFL6ZN.mjs";
|
9
9
|
import {
|
10
10
|
useReturnReasonTableQuery
|
11
|
-
} from "./chunk-
|
11
|
+
} from "./chunk-K3OMOMRB.mjs";
|
12
12
|
import "./chunk-I5HYE2RW.mjs";
|
13
13
|
import "./chunk-RIV7FKGN.mjs";
|
14
14
|
import "./chunk-TDK3JDOB.mjs";
|
package/dist/{sales-channel-add-products-OKVZJ6FI.mjs → sales-channel-add-products-CSMNFGHD.mjs}
RENAMED
@@ -18,7 +18,7 @@ import "./chunk-AOFGTNG6.mjs";
|
|
18
18
|
import "./chunk-EMIHDNB7.mjs";
|
19
19
|
import {
|
20
20
|
useProductTableFilters
|
21
|
-
} from "./chunk-
|
21
|
+
} from "./chunk-YPDTZXV6.mjs";
|
22
22
|
import "./chunk-Z26G6WFJ.mjs";
|
23
23
|
import "./chunk-M3VFKDXJ.mjs";
|
24
24
|
import "./chunk-C76H5USB.mjs";
|
@@ -35,8 +35,9 @@ import "./chunk-MNXC6Q4F.mjs";
|
|
35
35
|
import "./chunk-LPEUYMRK.mjs";
|
36
36
|
import "./chunk-67ORSRVT.mjs";
|
37
37
|
import "./chunk-OBQI23QM.mjs";
|
38
|
-
import "./chunk-
|
38
|
+
import "./chunk-BSBCIU6C.mjs";
|
39
39
|
import "./chunk-KOSCMAIC.mjs";
|
40
|
+
import "./chunk-YZJ3W776.mjs";
|
40
41
|
import "./chunk-X6DSNTTX.mjs";
|
41
42
|
import "./chunk-I6E6CALJ.mjs";
|
42
43
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -18,7 +18,7 @@ import "./chunk-AOFGTNG6.mjs";
|
|
18
18
|
import "./chunk-EMIHDNB7.mjs";
|
19
19
|
import {
|
20
20
|
useProductTableFilters
|
21
|
-
} from "./chunk-
|
21
|
+
} from "./chunk-YPDTZXV6.mjs";
|
22
22
|
import "./chunk-Z26G6WFJ.mjs";
|
23
23
|
import "./chunk-M3VFKDXJ.mjs";
|
24
24
|
import {
|
@@ -38,8 +38,9 @@ import {
|
|
38
38
|
} from "./chunk-3NJTXRIY.mjs";
|
39
39
|
import "./chunk-OC7BQLYI.mjs";
|
40
40
|
import "./chunk-67ORSRVT.mjs";
|
41
|
-
import "./chunk-
|
41
|
+
import "./chunk-BSBCIU6C.mjs";
|
42
42
|
import "./chunk-KOSCMAIC.mjs";
|
43
|
+
import "./chunk-YZJ3W776.mjs";
|
43
44
|
import "./chunk-X6DSNTTX.mjs";
|
44
45
|
import "./chunk-I6E6CALJ.mjs";
|
45
46
|
import "./chunk-4RG7UJCT.mjs";
|