@medusajs/dashboard 2.10.4-snapshot-20250922195925 → 2.10.4-snapshot-20250923121159
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-PLZXWFNV.mjs → add-campaign-promotions-JOVLXLS4.mjs} +3 -3
- package/dist/{api-key-management-detail-ZQFNZNWW.mjs → api-key-management-detail-I7T67TXF.mjs} +2 -3
- package/dist/{api-key-management-sales-channels-WL5L5XWM.mjs → api-key-management-sales-channels-6GN6RVZ2.mjs} +1 -1
- package/dist/app.css +0 -3
- package/dist/app.js +3320 -4024
- package/dist/app.mjs +3 -4
- package/dist/{campaign-detail-VTCCVWKS.mjs → campaign-detail-NRZHGINV.mjs} +4 -5
- package/dist/{categories-metadata-FTFYPASQ.mjs → categories-metadata-GXWJ3HOG.mjs} +1 -2
- package/dist/{category-detail-QHU2CLYA.mjs → category-detail-ENUI5EFL.mjs} +2 -3
- package/dist/{category-products-YGTL7GXQ.mjs → category-products-ZG5QDWSW.mjs} +2 -3
- package/dist/{chunk-JO6QASTJ.mjs → chunk-37UXEJF2.mjs} +1 -1
- package/dist/{chunk-BM5ZIV5V.mjs → chunk-5WKYR6PY.mjs} +1 -1
- package/dist/{chunk-VE7JFMAN.mjs → chunk-6AGMMT5H.mjs} +2 -2
- package/dist/{chunk-XTNS2NRD.mjs → chunk-BHZAQZYP.mjs} +1 -1
- package/dist/{chunk-6V6KATTW.mjs → chunk-JHXKKOHO.mjs} +10 -33
- package/dist/{chunk-FTVAORQM.mjs → chunk-JIQQKKLO.mjs} +1 -1
- package/dist/{chunk-5CE3JPWD.mjs → chunk-JMQ6V54O.mjs} +1 -1
- package/dist/{chunk-CU5EFQSB.mjs → chunk-NRBOPOMS.mjs} +1 -1
- package/dist/{chunk-BSBCIU6C.mjs → chunk-OGHQ6VJI.mjs} +5 -0
- package/dist/{chunk-K3OMOMRB.mjs → chunk-OKMF4YI7.mjs} +0 -25
- package/dist/{chunk-PHXKD2LR.mjs → chunk-OLUNPPBR.mjs} +1 -1
- package/dist/{chunk-WYDDFRYM.mjs → chunk-RVOPC44F.mjs} +103 -135
- package/dist/{chunk-YPDTZXV6.mjs → chunk-Y4YXZY7R.mjs} +1 -1
- package/dist/{chunk-UNM3LPTG.mjs → chunk-YM4QJC6Y.mjs} +24 -11
- package/dist/{chunk-PPI7PTY6.mjs → chunk-ZJA7VBUR.mjs} +6 -33
- package/dist/{collection-add-products-OJ2EZLC7.mjs → collection-add-products-2ISNNIHD.mjs} +2 -3
- package/dist/{collection-detail-RMZK523E.mjs → collection-detail-OSX6NHNQ.mjs} +2 -3
- package/dist/{collection-list-BJ3VNZAA.mjs → collection-list-MPIYSHQJ.mjs} +3 -4
- package/dist/{collection-metadata-R3DI65D3.mjs → collection-metadata-EOFYXEQI.mjs} +1 -2
- package/dist/{customer-detail-G7G6PYOO.mjs → customer-detail-FCNRRZSW.mjs} +1 -2
- package/dist/{customer-group-detail-XQ32DPQ3.mjs → customer-group-detail-QI3QLJJL.mjs} +1 -2
- package/dist/{customer-group-list-CARES5CM.mjs → customer-group-list-D26UKQMR.mjs} +2 -3
- package/dist/{customers-add-customer-group-NLPVKARS.mjs → customers-add-customer-group-5TFTVDB6.mjs} +1 -2
- package/dist/{edit-rules-JRLCVE26.mjs → edit-rules-63NG4QVR.mjs} +1 -2
- package/dist/{inventory-create-ZC6HV2FY.mjs → inventory-create-RIVJFJJQ.mjs} +1 -2
- package/dist/{inventory-detail-WVI4FTTH.mjs → inventory-detail-QHL7TJFZ.mjs} +2 -3
- package/dist/{inventory-metadata-BLIJBNQS.mjs → inventory-metadata-FH4CHJBA.mjs} +1 -2
- package/dist/{inventory-stock-ZCTXWRK6.mjs → inventory-stock-D6E4LQRK.mjs} +1 -2
- package/dist/{location-detail-GV3POY4C.mjs → location-detail-Z6ZDX6RY.mjs} +1 -2
- package/dist/{location-fulfillment-providers-INUQXJYU.mjs → location-fulfillment-providers-45VXZMZI.mjs} +2 -3
- package/dist/location-list-62KBWY4T.mjs +316 -0
- package/dist/{location-sales-channels-2BOIPBBG.mjs → location-sales-channels-O5XLIPAR.mjs} +1 -1
- package/dist/{location-service-zone-shipping-option-create-6KO3QDMQ.mjs → location-service-zone-shipping-option-create-NO3665DC.mjs} +1 -2
- package/dist/{login-57FIKGXA.mjs → login-DSPNELTI.mjs} +1 -2
- package/dist/{order-create-claim-LXKBCAWN.mjs → order-create-claim-V63BWLB5.mjs} +1 -2
- package/dist/{order-create-edit-264PTIEI.mjs → order-create-edit-NPF4UZ4D.mjs} +1 -2
- package/dist/{order-create-exchange-ZMUVPYM3.mjs → order-create-exchange-RHIPPSKU.mjs} +1 -2
- package/dist/{order-create-fulfillment-LE6O3SA5.mjs → order-create-fulfillment-4SSUHQ75.mjs} +1 -2
- package/dist/{order-create-refund-B7BO2EJL.mjs → order-create-refund-QVQC5ZP5.mjs} +1 -2
- package/dist/{order-create-shipment-UOPCS5N7.mjs → order-create-shipment-TJAARKWA.mjs} +1 -2
- package/dist/{order-detail-SG7AXBRS.mjs → order-detail-2MIN6B2I.mjs} +1 -2
- package/dist/{order-edit-billing-address-RPPJ4Z36.mjs → order-edit-billing-address-QP2I5F3E.mjs} +1 -2
- package/dist/{order-edit-email-A7D5HTU6.mjs → order-edit-email-7WT7XTHB.mjs} +1 -2
- package/dist/{order-edit-shipping-address-LXKC5CJE.mjs → order-edit-shipping-address-3QFMQP4I.mjs} +1 -2
- package/dist/{order-list-ZCMNSZYB.mjs → order-list-73DBATIK.mjs} +2 -2
- package/dist/{order-metadata-KS47UOEE.mjs → order-metadata-YJS26DHK.mjs} +1 -2
- package/dist/{order-receive-return-PDU2YVLT.mjs → order-receive-return-PZMMMUB2.mjs} +1 -2
- package/dist/{order-request-transfer-WMQKDLDF.mjs → order-request-transfer-QBIZD36E.mjs} +1 -2
- package/dist/{price-list-create-QZSB4W5Z.mjs → price-list-create-RXDH5CXF.mjs} +2 -3
- package/dist/{price-list-detail-2FMINPFT.mjs → price-list-detail-PKIKOJ4H.mjs} +2 -3
- package/dist/{price-list-prices-add-WYK2QBAI.mjs → price-list-prices-add-2CDPUSYA.mjs} +2 -3
- package/dist/{product-attributes-KDXI2RNP.mjs → product-attributes-FQDJCNUB.mjs} +4 -5
- package/dist/{product-create-TVYPK4VC.mjs → product-create-W37RQLON.mjs} +5 -6
- package/dist/{product-create-variant-6YWLDA2X.mjs → product-create-variant-KJKQ6ROY.mjs} +1 -2
- package/dist/{product-detail-RFKXMYE5.mjs → product-detail-TANIKAEK.mjs} +5 -6
- package/dist/{product-edit-5FNY7HG4.mjs → product-edit-DO76GHBI.mjs} +4 -5
- package/dist/{product-export-BEAUMFAZ.mjs → product-export-XERWEI5H.mjs} +2 -3
- package/dist/{product-import-SOX4UJPM.mjs → product-import-AGFJMSVK.mjs} +1 -2
- package/dist/{product-list-ZVXATJRE.mjs → product-list-KJ3HXPLB.mjs} +4 -5
- package/dist/{product-media-JPU23SPH.mjs → product-media-VG4YM2W6.mjs} +2 -2
- package/dist/{product-metadata-QRRCHZZB.mjs → product-metadata-NZ3HKO67.mjs} +1 -2
- package/dist/{product-organization-QTWB7VMB.mjs → product-organization-OOVUGXNP.mjs} +4 -5
- package/dist/{product-sales-channels-UGPAXFAV.mjs → product-sales-channels-QEJRSCAU.mjs} +1 -1
- package/dist/{product-shipping-profile-Q6UX6ZNJ.mjs → product-shipping-profile-FFMKOF6B.mjs} +4 -5
- package/dist/{product-stock-TSAIHVY6.mjs → product-stock-SUVEQZML.mjs} +1 -2
- package/dist/{product-tag-create-5NZJS2D2.mjs → product-tag-create-T6HVAQKN.mjs} +1 -2
- package/dist/{product-tag-detail-3XHUROBO.mjs → product-tag-detail-HOWUZC3P.mjs} +5 -6
- package/dist/{product-tag-edit-YYOOHKGG.mjs → product-tag-edit-WWQDNDRC.mjs} +1 -2
- package/dist/{product-tag-list-5XTTMNOA.mjs → product-tag-list-FAKSLONF.mjs} +5 -6
- package/dist/{product-tag-metadata-YAD3MPWF.mjs → product-tag-metadata-6B56VEZU.mjs} +1 -2
- package/dist/{product-type-detail-MNTAHQKJ.mjs → product-type-detail-KN64HYUV.mjs} +2 -3
- package/dist/{product-type-metadata-HWR3WBGT.mjs → product-type-metadata-F3FTI6OG.mjs} +1 -2
- package/dist/{product-variant-detail-DKFAG3KO.mjs → product-variant-detail-OUHBUY4J.mjs} +1 -2
- package/dist/{product-variant-edit-EZENYVAN.mjs → product-variant-edit-NBYHDUJ5.mjs} +1 -2
- package/dist/{product-variant-metadata-S7QENSUG.mjs → product-variant-metadata-XDVLJYGQ.mjs} +1 -2
- package/dist/{promotion-create-O3KUSPIU.mjs → promotion-create-UUOG52D5.mjs} +1 -2
- package/dist/{promotion-detail-5DU6ULJG.mjs → promotion-detail-GONXLJZ2.mjs} +113 -65
- package/dist/{promotion-list-Q2FOGORE.mjs → promotion-list-NNEMVJ6I.mjs} +3 -3
- package/dist/{region-metadata-G3JH5ZN6.mjs → region-metadata-IQVB4ERU.mjs} +1 -2
- package/dist/{reservation-detail-PJXS67UM.mjs → reservation-detail-RTGHD35L.mjs} +1 -2
- package/dist/{reservation-metadata-UCKQB66O.mjs → reservation-metadata-WKJXBRLQ.mjs} +1 -2
- package/dist/{reset-password-5KIEBJHN.mjs → reset-password-ANJHGYUE.mjs} +1 -1
- package/dist/{return-reason-list-OGFYWMC5.mjs → return-reason-list-MOP7YWMZ.mjs} +2 -2
- package/dist/{sales-channel-add-products-CSMNFGHD.mjs → sales-channel-add-products-OKVZJ6FI.mjs} +2 -3
- package/dist/{sales-channel-detail-ZSA3HNWW.mjs → sales-channel-detail-WESBK6Q7.mjs} +2 -3
- package/dist/{sales-channel-list-X5ADP34V.mjs → sales-channel-list-LKVHXUXW.mjs} +2 -3
- package/dist/{sales-channel-metadata-ABWIDI3B.mjs → sales-channel-metadata-2OQAHYB4.mjs} +1 -2
- package/dist/{shipping-option-type-create-Q2X5OMJS.mjs → shipping-option-type-create-3CGPGDYJ.mjs} +1 -2
- package/dist/{shipping-option-type-detail-VT3Y5QQ4.mjs → shipping-option-type-detail-S23H2OGW.mjs} +2 -3
- package/dist/{shipping-option-type-edit-IA3EER2N.mjs → shipping-option-type-edit-IHE7XM6M.mjs} +1 -2
- package/dist/{shipping-option-type-list-JZPKAL3H.mjs → shipping-option-type-list-47GRJ6EC.mjs} +2 -3
- package/dist/{shipping-profile-metadata-EYXBWBF2.mjs → shipping-profile-metadata-OXWOXAAR.mjs} +1 -2
- package/dist/{store-detail-LI72QMUZ.mjs → store-detail-4K7TW2TP.mjs} +1 -2
- package/dist/{store-metadata-ZITLAS5H.mjs → store-metadata-JP2CI7EF.mjs} +1 -2
- package/dist/{tax-region-create-IU2R5VIY.mjs → tax-region-create-IWM4755I.mjs} +2 -3
- package/dist/{tax-region-detail-6FHD35LB.mjs → tax-region-detail-V2F2DONN.mjs} +1 -2
- package/dist/{tax-region-edit-O2WJXYIE.mjs → tax-region-edit-CJPMYTBF.mjs} +1 -2
- package/dist/{tax-region-province-detail-YDBU4CUU.mjs → tax-region-province-detail-4PUQ5ADW.mjs} +1 -2
- package/dist/{tax-region-tax-override-create-EF3LLZWM.mjs → tax-region-tax-override-create-3SCIOK4P.mjs} +5 -6
- package/dist/{tax-region-tax-override-edit-2DG3J6CO.mjs → tax-region-tax-override-edit-P3QJKET3.mjs} +5 -6
- package/dist/{user-list-3YFYZFSK.mjs → user-list-MKJLB5CQ.mjs} +1 -1
- package/dist/{user-metadata-QUIFIM5G.mjs → user-metadata-ZURLDLGC.mjs} +1 -2
- package/dist/{workflow-execution-detail-PVSQ2VGE.mjs → workflow-execution-detail-4R6AFFHV.mjs} +1 -2
- package/package.json +9 -9
- package/src/components/data-table/data-table.tsx +64 -46
- package/src/components/layout/settings-layout/settings-layout.tsx +0 -4
- package/src/dashboard-app/routes/get-route.map.tsx +0 -36
- package/src/hooks/api/refund-reasons.tsx +9 -113
- package/src/hooks/table/columns/index.ts +0 -1
- package/src/hooks/table/query/index.ts +0 -1
- package/src/i18n/translations/$schema.json +19 -112
- package/src/i18n/translations/en.json +6 -33
- package/src/routes/locations/location-list/index.ts +0 -1
- package/src/routes/locations/location-list/location-list.tsx +51 -19
- package/src/routes/locations/location-list/use-location-list-table-columns.tsx +185 -0
- package/src/routes/locations/location-list/use-location-list-table-query.tsx +22 -0
- package/dist/chunk-BKJC5BGQ.mjs +0 -53
- package/dist/chunk-YZJ3W776.mjs +0 -87
- package/dist/location-list-BKK2PAKF.mjs +0 -297
- package/dist/refund-reason-create-NSZFGXWI.mjs +0 -158
- package/dist/refund-reason-edit-RKUSPQCL.mjs +0 -144
- package/dist/refund-reason-list-2F5PFERT.mjs +0 -273
- package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +0 -28
- package/src/hooks/table/query/use-refund-reason-table-query.tsx +0 -32
- package/src/routes/locations/location-list/components/location-list-header/index.ts +0 -1
- package/src/routes/locations/location-list/components/location-list-header/location-list-header.tsx +0 -21
- package/src/routes/locations/location-list/loader.ts +0 -36
- package/src/routes/refund-reasons/common/hooks/use-delete-refund-reason-action.tsx +0 -34
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +0 -131
- package/src/routes/refund-reasons/refund-reason-create/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +0 -10
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +0 -119
- package/src/routes/refund-reasons/refund-reason-edit/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +0 -33
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +0 -131
- package/src/routes/refund-reasons/refund-reason-list/index.ts +0 -2
- package/src/routes/refund-reasons/refund-reason-list/loader.ts +0 -16
- package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +0 -21
package/dist/app.mjs
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
DashboardApp
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-RVOPC44F.mjs";
|
4
4
|
import "./chunk-NQIC7ZFS.mjs";
|
5
5
|
import "./chunk-ONB3JEHR.mjs";
|
6
6
|
import "./chunk-4GQOUCX6.mjs";
|
7
7
|
import "./chunk-2VTICXJR.mjs";
|
8
8
|
import "./chunk-D3YQN7HV.mjs";
|
9
|
-
import "./chunk-
|
9
|
+
import "./chunk-ZJA7VBUR.mjs";
|
10
10
|
import "./chunk-MNXC6Q4F.mjs";
|
11
11
|
import "./chunk-C5P5PL3E.mjs";
|
12
12
|
import "./chunk-DG7J63J2.mjs";
|
@@ -17,9 +17,8 @@ import "./chunk-3NJTXRIY.mjs";
|
|
17
17
|
import "./chunk-OC7BQLYI.mjs";
|
18
18
|
import "./chunk-67ORSRVT.mjs";
|
19
19
|
import "./chunk-OBQI23QM.mjs";
|
20
|
-
import "./chunk-
|
20
|
+
import "./chunk-OGHQ6VJI.mjs";
|
21
21
|
import "./chunk-KOSCMAIC.mjs";
|
22
|
-
import "./chunk-YZJ3W776.mjs";
|
23
22
|
import "./chunk-X6DSNTTX.mjs";
|
24
23
|
import "./chunk-I6E6CALJ.mjs";
|
25
24
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -4,8 +4,8 @@ import {
|
|
4
4
|
import {
|
5
5
|
usePromotionTableColumns,
|
6
6
|
usePromotionTableQuery
|
7
|
-
} from "./chunk-
|
8
|
-
import "./chunk-
|
7
|
+
} from "./chunk-BHZAQZYP.mjs";
|
8
|
+
import "./chunk-JIQQKKLO.mjs";
|
9
9
|
import "./chunk-MSDRGCRR.mjs";
|
10
10
|
import "./chunk-ADOCJB6L.mjs";
|
11
11
|
import "./chunk-LQTHYS2Z.mjs";
|
@@ -31,7 +31,7 @@ import {
|
|
31
31
|
import "./chunk-C76H5USB.mjs";
|
32
32
|
import "./chunk-PFKKVLZX.mjs";
|
33
33
|
import "./chunk-4GQOUCX6.mjs";
|
34
|
-
import "./chunk-
|
34
|
+
import "./chunk-ZJA7VBUR.mjs";
|
35
35
|
import {
|
36
36
|
useExtension
|
37
37
|
} from "./chunk-C5P5PL3E.mjs";
|
@@ -43,9 +43,8 @@ import {
|
|
43
43
|
} from "./chunk-3NJTXRIY.mjs";
|
44
44
|
import "./chunk-OC7BQLYI.mjs";
|
45
45
|
import "./chunk-67ORSRVT.mjs";
|
46
|
-
import "./chunk-
|
46
|
+
import "./chunk-OGHQ6VJI.mjs";
|
47
47
|
import "./chunk-KOSCMAIC.mjs";
|
48
|
-
import "./chunk-YZJ3W776.mjs";
|
49
48
|
import "./chunk-X6DSNTTX.mjs";
|
50
49
|
import "./chunk-I6E6CALJ.mjs";
|
51
50
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -10,9 +10,8 @@ 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-OGHQ6VJI.mjs";
|
14
14
|
import "./chunk-KOSCMAIC.mjs";
|
15
|
-
import "./chunk-YZJ3W776.mjs";
|
16
15
|
import "./chunk-X6DSNTTX.mjs";
|
17
16
|
import "./chunk-I6E6CALJ.mjs";
|
18
17
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -30,7 +30,7 @@ import "./chunk-AOFGTNG6.mjs";
|
|
30
30
|
import "./chunk-EMIHDNB7.mjs";
|
31
31
|
import {
|
32
32
|
useProductTableFilters
|
33
|
-
} from "./chunk-
|
33
|
+
} from "./chunk-Y4YXZY7R.mjs";
|
34
34
|
import "./chunk-Z26G6WFJ.mjs";
|
35
35
|
import "./chunk-M3VFKDXJ.mjs";
|
36
36
|
import {
|
@@ -51,9 +51,8 @@ import {
|
|
51
51
|
} from "./chunk-3NJTXRIY.mjs";
|
52
52
|
import "./chunk-OC7BQLYI.mjs";
|
53
53
|
import "./chunk-67ORSRVT.mjs";
|
54
|
-
import "./chunk-
|
54
|
+
import "./chunk-OGHQ6VJI.mjs";
|
55
55
|
import "./chunk-KOSCMAIC.mjs";
|
56
|
-
import "./chunk-YZJ3W776.mjs";
|
57
56
|
import "./chunk-X6DSNTTX.mjs";
|
58
57
|
import "./chunk-I6E6CALJ.mjs";
|
59
58
|
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-Y4YXZY7R.mjs";
|
22
22
|
import "./chunk-Z26G6WFJ.mjs";
|
23
23
|
import "./chunk-M3VFKDXJ.mjs";
|
24
24
|
import "./chunk-C76H5USB.mjs";
|
@@ -35,9 +35,8 @@ 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-OGHQ6VJI.mjs";
|
39
39
|
import "./chunk-KOSCMAIC.mjs";
|
40
|
-
import "./chunk-YZJ3W776.mjs";
|
41
40
|
import "./chunk-X6DSNTTX.mjs";
|
42
41
|
import "./chunk-I6E6CALJ.mjs";
|
43
42
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -6,7 +6,7 @@ import {
|
|
6
6
|
} from "./chunk-GLVCH422.mjs";
|
7
7
|
import {
|
8
8
|
useShippingOptionTableQuery
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-OKMF4YI7.mjs";
|
10
10
|
import {
|
11
11
|
useProductTypeTableQuery
|
12
12
|
} from "./chunk-TDK3JDOB.mjs";
|
@@ -37,7 +37,7 @@ import {
|
|
37
37
|
} from "./chunk-CBSCX7RE.mjs";
|
38
38
|
import {
|
39
39
|
useProductTableFilters
|
40
|
-
} from "./chunk-
|
40
|
+
} from "./chunk-Y4YXZY7R.mjs";
|
41
41
|
import {
|
42
42
|
StackedDrawer,
|
43
43
|
StackedFocusModal
|
@@ -36,14 +36,18 @@ var useProductTagTableColumns = () => {
|
|
36
36
|
);
|
37
37
|
};
|
38
38
|
|
39
|
-
// src/hooks/table/columns/use-
|
39
|
+
// src/hooks/table/columns/use-return-reason-table-columns.tsx
|
40
|
+
import { Badge } from "@medusajs/ui";
|
40
41
|
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
41
42
|
import { useMemo as useMemo2 } from "react";
|
42
43
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
43
44
|
var columnHelper2 = createColumnHelper2();
|
44
|
-
var
|
45
|
+
var useReturnReasonTableColumns = () => {
|
45
46
|
return useMemo2(
|
46
47
|
() => [
|
48
|
+
columnHelper2.accessor("value", {
|
49
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx2(Badge, { size: "2xsmall", children: getValue() })
|
50
|
+
}),
|
47
51
|
columnHelper2.accessor("label", {
|
48
52
|
cell: ({ row }) => {
|
49
53
|
const { label, description } = row.original;
|
@@ -58,47 +62,20 @@ var useRefundReasonTableColumns = () => {
|
|
58
62
|
);
|
59
63
|
};
|
60
64
|
|
61
|
-
// src/hooks/table/columns/use-
|
62
|
-
import { Badge } from "@medusajs/ui";
|
65
|
+
// src/hooks/table/columns/use-tax-rates-table-columns.tsx
|
63
66
|
import { createColumnHelper as createColumnHelper3 } from "@tanstack/react-table";
|
64
67
|
import { useMemo as useMemo3 } from "react";
|
65
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
66
|
-
var columnHelper3 = createColumnHelper3();
|
67
|
-
var useReturnReasonTableColumns = () => {
|
68
|
-
return useMemo3(
|
69
|
-
() => [
|
70
|
-
columnHelper3.accessor("value", {
|
71
|
-
cell: ({ getValue }) => /* @__PURE__ */ jsx3(Badge, { size: "2xsmall", children: getValue() })
|
72
|
-
}),
|
73
|
-
columnHelper3.accessor("label", {
|
74
|
-
cell: ({ row }) => {
|
75
|
-
const { label, description } = row.original;
|
76
|
-
return /* @__PURE__ */ jsx3("div", { className: " py-4", children: /* @__PURE__ */ jsxs2("div", { className: "flex h-full w-full flex-col justify-center", children: [
|
77
|
-
/* @__PURE__ */ jsx3("span", { className: "truncate font-medium", children: label }),
|
78
|
-
/* @__PURE__ */ jsx3("span", { className: "truncate", children: description ? description : "-" })
|
79
|
-
] }) });
|
80
|
-
}
|
81
|
-
})
|
82
|
-
],
|
83
|
-
[]
|
84
|
-
);
|
85
|
-
};
|
86
|
-
|
87
|
-
// src/hooks/table/columns/use-tax-rates-table-columns.tsx
|
88
|
-
import { createColumnHelper as createColumnHelper4 } from "@tanstack/react-table";
|
89
|
-
import { useMemo as useMemo4 } from "react";
|
90
68
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
91
69
|
|
92
70
|
// src/components/table/table-cells/taxes/type-cell/type-cell.tsx
|
93
71
|
import { Badge as Badge2 } from "@medusajs/ui";
|
94
|
-
import { jsx as
|
72
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
95
73
|
|
96
74
|
// src/hooks/table/columns/use-tax-rates-table-columns.tsx
|
97
|
-
import { jsx as
|
98
|
-
var
|
75
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
76
|
+
var columnHelper3 = createColumnHelper3();
|
99
77
|
|
100
78
|
export {
|
101
79
|
useProductTagTableColumns,
|
102
|
-
useRefundReasonTableColumns,
|
103
80
|
useReturnReasonTableColumns
|
104
81
|
};
|
@@ -216,6 +216,11 @@ var useMarkPaymentCollectionAsPaid = (orderId, paymentCollectionId, options) =>
|
|
216
216
|
});
|
217
217
|
};
|
218
218
|
|
219
|
+
// src/hooks/api/refund-reasons.tsx
|
220
|
+
import { useQuery as useQuery6 } from "@tanstack/react-query";
|
221
|
+
var REFUND_REASON_QUERY_KEY = "refund-reason";
|
222
|
+
var refundReasonQueryKeys = queryKeysFactory(REFUND_REASON_QUERY_KEY);
|
223
|
+
|
219
224
|
export {
|
220
225
|
notificationQueryKeys,
|
221
226
|
useNotifications,
|
@@ -83,30 +83,6 @@ var useProductTagTableQuery = ({
|
|
83
83
|
};
|
84
84
|
};
|
85
85
|
|
86
|
-
// src/hooks/table/query/use-refund-reason-table-query.tsx
|
87
|
-
var useRefundReasonTableQuery = ({
|
88
|
-
prefix,
|
89
|
-
pageSize = 20
|
90
|
-
}) => {
|
91
|
-
const queryObject = useQueryParams(
|
92
|
-
["offset", "q", "order", "created_at", "updated_at"],
|
93
|
-
prefix
|
94
|
-
);
|
95
|
-
const { offset, q, order, created_at, updated_at } = queryObject;
|
96
|
-
const searchParams = {
|
97
|
-
limit: pageSize,
|
98
|
-
offset: offset ? Number(offset) : 0,
|
99
|
-
order,
|
100
|
-
created_at: created_at ? JSON.parse(created_at) : void 0,
|
101
|
-
updated_at: updated_at ? JSON.parse(updated_at) : void 0,
|
102
|
-
q
|
103
|
-
};
|
104
|
-
return {
|
105
|
-
searchParams,
|
106
|
-
raw: queryObject
|
107
|
-
};
|
108
|
-
};
|
109
|
-
|
110
86
|
// src/hooks/table/query/use-return-reason-table-query.tsx
|
111
87
|
var useReturnReasonTableQuery = ({
|
112
88
|
prefix,
|
@@ -184,7 +160,6 @@ export {
|
|
184
160
|
useCollectionTableColumns,
|
185
161
|
useCollectionTableQuery,
|
186
162
|
useProductTagTableQuery,
|
187
|
-
useRefundReasonTableQuery,
|
188
163
|
useReturnReasonTableQuery,
|
189
164
|
useShippingOptionTableQuery
|
190
165
|
};
|