@mercurjs/admin 2.2.0-canary.37 → 2.2.0-canary.38
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-26SSHLLG.js → add-campaign-promotions-FWYK3JCR.js} +4 -4
- package/dist/{api-key-management-list-RLATJRDL.js → api-key-management-list-SXHZJUJB.js} +2 -2
- package/dist/{attribute-detail-G6APXXFT.js → attribute-detail-7EBAQ26V.js} +1 -1
- package/dist/{attribute-list-42GDF2PV.js → attribute-list-G73VHMFA.js} +2 -2
- package/dist/{campaign-detail-VMJQISAE.js → campaign-detail-I6KGCHUL.js} +5 -5
- package/dist/{campaign-list-W2YZAPUI.js → campaign-list-FFGRXEVJ.js} +2 -2
- package/dist/{category-detail-I3EEPAQR.js → category-detail-ZEOXQF7F.js} +2 -2
- package/dist/{category-list-QLHQST3D.js → category-list-7ILXI55P.js} +2 -2
- package/dist/{category-products-XGLUDL73.js → category-products-UFKHB7YL.js} +1 -1
- package/dist/{chunk-QM343PBJ.js → chunk-23OLYWMR.js} +1 -1
- package/dist/{chunk-E6VCLJNF.js → chunk-2DSCC2VR.js} +1 -1
- package/dist/{chunk-CMZ4KATG.js → chunk-2S2SBRZP.js} +3 -3
- package/dist/{chunk-L4KT5CLI.js → chunk-2YAVXVET.js} +1 -1
- package/dist/{chunk-PPMWEQP3.js → chunk-3OD3YOA3.js} +71 -34
- package/dist/{chunk-XQCG2ORD.js → chunk-45O5MFCT.js} +1 -1
- package/dist/{chunk-C4N5EJAD.js → chunk-4BCUGMOR.js} +0 -13
- package/dist/{chunk-BWRQJXHB.js → chunk-5DQED4UT.js} +1 -1
- package/dist/{chunk-U725ING6.js → chunk-5NC6SI6J.js} +1 -1
- package/dist/{chunk-SWQC5UPD.js → chunk-6FNIEKSN.js} +4 -4
- package/dist/{chunk-MKNQ6BT6.js → chunk-72SDBLWQ.js} +1 -1
- package/dist/{chunk-57MFJ2HE.js → chunk-74WEDBZ7.js} +1 -1
- package/dist/{chunk-57GNGL6K.js → chunk-7RWFRMQG.js} +1 -1
- package/dist/{chunk-FU3QYH6H.js → chunk-CB7DBYH4.js} +1 -13
- package/dist/{chunk-6YEU2ZAD.js → chunk-CE2WRTS7.js} +1 -1
- package/dist/{chunk-ZDEIYWCK.js → chunk-CIKPTKSX.js} +1 -1
- package/dist/{chunk-RLGMY7JJ.js → chunk-CY263OE4.js} +1 -1
- package/dist/{chunk-KUKBV4XN.js → chunk-CYACZXMQ.js} +1 -1
- package/dist/{chunk-YAJDG3W7.js → chunk-DI2KBXVH.js} +1 -1
- package/dist/{chunk-YLQCULOV.js → chunk-DISTPZNS.js} +1 -1
- package/dist/{chunk-V7YJ53P5.js → chunk-EJYLSQVT.js} +1 -1
- package/dist/{chunk-2MRYNLVT.js → chunk-F6NPDZHW.js} +1 -1
- package/dist/{chunk-N5H2J6HE.js → chunk-FBDAKD4B.js} +1 -1
- package/dist/{chunk-POMQZ6PN.js → chunk-GUDWUAMT.js} +1 -1
- package/dist/{chunk-SJHBNENS.js → chunk-HSL5IICN.js} +15 -6
- package/dist/{chunk-MHCIHDGF.js → chunk-HWWET5ZP.js} +1 -1
- package/dist/{chunk-5YWQDIVG.js → chunk-I3ARNGRC.js} +1 -1
- package/dist/{chunk-EMW5WXXR.js → chunk-IQDZZ5EQ.js} +1 -1
- package/dist/{chunk-HMKXCYCJ.js → chunk-IRX6RBTE.js} +7 -2
- package/dist/{chunk-YRGPQ2C4.js → chunk-JUMT5GX7.js} +1 -1
- package/dist/{chunk-4OCWOY2F.js → chunk-JXSXBSV6.js} +8 -8
- package/dist/{chunk-AQIW7R4Y.js → chunk-KC4J2WOM.js} +1 -1
- package/dist/{chunk-HBT7GVJD.js → chunk-KRECA22N.js} +56 -48
- package/dist/{chunk-GX7YQ6GM.js → chunk-LRJNSCMR.js} +1 -1
- package/dist/{chunk-U5MDOZS7.js → chunk-MANRAV52.js} +1 -1
- package/dist/{chunk-4NE4EIHO.js → chunk-MYJJMHR5.js} +1 -1
- package/dist/{chunk-OTXOV6YU.js → chunk-NEGOGYEO.js} +1 -1
- package/dist/{chunk-MIKJRLQI.js → chunk-NKV5XPNS.js} +1 -1
- package/dist/{chunk-ENSI7NL7.js → chunk-O5MW4WPZ.js} +1 -1
- package/dist/{chunk-RZ43M34Q.js → chunk-PNZI5C5A.js} +2 -2
- package/dist/{chunk-4X4MNAXL.js → chunk-PWLDTJJX.js} +1 -1
- package/dist/{chunk-XEB5I2KE.js → chunk-Q4R2O7XF.js} +2 -2
- package/dist/{chunk-E32O3DUM.js → chunk-QAWWIM4I.js} +2 -2
- package/dist/{chunk-AHUVAYZD.js → chunk-QH34LF36.js} +1 -1
- package/dist/{chunk-GML7DINQ.js → chunk-RDUSAVT3.js} +1 -1
- package/dist/{chunk-LRKN7IQH.js → chunk-RNDDYLHV.js} +1 -1
- package/dist/{chunk-EA3XMVOS.js → chunk-S22SK4KO.js} +1 -1
- package/dist/{chunk-NXMD36QG.js → chunk-SIOKPEVN.js} +1 -1
- package/dist/{chunk-QEXIOKNZ.js → chunk-SLKOHWKT.js} +1 -1
- package/dist/{chunk-AIEPAHO5.js → chunk-TAM24IMD.js} +1 -1
- package/dist/{chunk-6YEVK7JJ.js → chunk-VPPUFVFJ.js} +9 -16
- package/dist/{chunk-GCYUOP4W.js → chunk-VSKHV5QF.js} +1 -1
- package/dist/{chunk-DUVTXDNA.js → chunk-XFKDDRB6.js} +1 -1
- package/dist/{chunk-3UJQT6UR.js → chunk-Y5JQAKX7.js} +5 -6
- package/dist/{chunk-X3TWPSUM.js → chunk-Y62TJJ3P.js} +1 -1
- package/dist/{chunk-CDVQK7JZ.js → chunk-YNK25LVO.js} +1 -1
- package/dist/{chunk-PAUULPNC.js → chunk-ZHT3Y47H.js} +2 -2
- package/dist/{chunk-C6AU3U22.js → chunk-ZPEMWHUW.js} +1 -1
- package/dist/{collection-add-products-2G37ZL2J.js → collection-add-products-MJYMPNLP.js} +1 -1
- package/dist/{collection-detail-AB6HGJDM.js → collection-detail-C4ZCH55B.js} +2 -2
- package/dist/{collection-list-UHFUKA5U.js → collection-list-4UX2LLQV.js} +3 -3
- package/dist/{commissions-list-KQ2TUJAW.js → commissions-list-MZY7KOP5.js} +2 -2
- package/dist/{customer-detail-ZYJDB47Y.js → customer-detail-FRGVVWTZ.js} +3 -3
- package/dist/{customer-group-add-customers-GSEUGBTJ.js → customer-group-add-customers-QBRVKXGO.js} +1 -1
- package/dist/{customer-group-detail-5VSUJTR3.js → customer-group-detail-KIC2TWZ3.js} +2 -2
- package/dist/{customer-group-list-BRQRKORR.js → customer-group-list-BRH6SWRD.js} +2 -2
- package/dist/{customer-list-6PRFTWMO.js → customer-list-276YPXTE.js} +2 -2
- package/dist/{customers-add-customer-group-56GS7TR7.js → customers-add-customer-group-C4Y6P45C.js} +1 -1
- package/dist/index.css +5184 -3
- package/dist/index.d.ts +7 -1
- package/dist/index.js +100 -100
- package/dist/{inventory-create-WJ3CCFTD.js → inventory-create-M3YBQVNG.js} +2 -2
- package/dist/{inventory-detail-QY56I2KX.js → inventory-detail-6PAVKSOK.js} +2 -2
- package/dist/{inventory-list-AB4OHYMU.js → inventory-list-U4W4AP4E.js} +2 -2
- package/dist/{inventory-stock-F2BKMXY3.js → inventory-stock-XQWWFVQ3.js} +1 -1
- package/dist/{location-fulfillment-providers-VVJGPYJI.js → location-fulfillment-providers-Z3PR4MQI.js} +2 -2
- package/dist/{location-service-zone-create-WPSYG3NX.js → location-service-zone-create-U77V3ROT.js} +2 -2
- package/dist/{location-service-zone-manage-areas-ZH2ICSC7.js → location-service-zone-manage-areas-FUUAAIDJ.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-OLABLTSL.js → location-service-zone-shipping-option-create-NFKZT2HM.js} +3 -3
- package/dist/{location-service-zone-shipping-option-pricing-TARZ34TW.js → location-service-zone-shipping-option-pricing-UZ577SNK.js} +2 -2
- package/dist/{marketplace-add-currencies-FPDYEYCL.js → marketplace-add-currencies-KDNMN57C.js} +1 -1
- package/dist/{marketplace-detail-7WGPHRQM.js → marketplace-detail-X5AQWO7P.js} +2 -2
- package/dist/{offer-detail-page-3RAFKFK4.js → offer-detail-page-4GNU35AH.js} +2 -2
- package/dist/{offer-variant-detail-page-5FS6D46I.js → offer-variant-detail-page-FFPV7N7Y.js} +2 -2
- package/dist/{offers-T4ARWA47.js → offers-3HP7SICL.js} +1 -1
- package/dist/{order-create-claim-GOP565XH.js → order-create-claim-MEXSDGHW.js} +1 -1
- package/dist/{order-create-edit-DK4QG2CR.js → order-create-edit-M2F6CG3M.js} +1 -1
- package/dist/{order-create-exchange-ZHJ3T5QJ.js → order-create-exchange-HTWFKJOM.js} +1 -1
- package/dist/{order-create-return-63X5PUTT.js → order-create-return-DDOYLDT7.js} +1 -1
- package/dist/{order-detail-6UAWPZI2.js → order-detail-QYZGM7OO.js} +2 -2
- package/dist/{order-edit-billing-address-IU6W76P3.js → order-edit-billing-address-JHJ7PCPC.js} +1 -1
- package/dist/{order-list-FFPY5OGR.js → order-list-5PVFAFJT.js} +3 -3
- package/dist/pages/index.js +55 -55
- package/dist/{payout-list-A2KQTZMZ.js → payout-list-SOWVPSFQ.js} +2 -2
- package/dist/{price-list-configuration-2NFE4MNW.js → price-list-configuration-BIHWXMYS.js} +2 -2
- package/dist/{price-list-create-UMA2NB3L.js → price-list-create-XV6OY4A2.js} +5 -5
- package/dist/{price-list-detail-7ANY3XOC.js → price-list-detail-IUZU5OA7.js} +2 -2
- package/dist/{price-list-list-6II3XYUA.js → price-list-list-A42VGE3L.js} +2 -2
- package/dist/{price-list-prices-add-XLFLGFVG.js → price-list-prices-add-KUBO4DCC.js} +4 -4
- package/dist/{price-list-prices-edit-MT6BFF3M.js → price-list-prices-edit-PJ4CPB5I.js} +2 -2
- package/dist/{product-bulk-edit-3AJGOE6E.js → product-bulk-edit-TRI2KKHW.js} +1 -1
- package/dist/{product-create-2SELD5CI.js → product-create-EGL6UJKX.js} +4 -4
- package/dist/{product-detail-O7MVTHSN.js → product-detail-SNS2DQ6Q.js} +2 -2
- package/dist/{product-list-SIQDX4AT.js → product-list-LGS3O2OJ.js} +2 -2
- package/dist/{product-media-S6L3IHUO.js → product-media-JKUDYI32.js} +2 -2
- package/dist/{product-organization-BYPV5QSZ.js → product-organization-AIM3LNQ6.js} +1 -1
- package/dist/{product-tag-detail-SVDEVPMA.js → product-tag-detail-MI7B2MPH.js} +3 -3
- package/dist/{product-tag-list-4ECQFBOA.js → product-tag-list-7CE4KJ3G.js} +3 -3
- package/dist/{product-type-detail-WSHUE56F.js → product-type-detail-O2WGGFRT.js} +2 -2
- package/dist/{product-type-list-EP2YCYLK.js → product-type-list-XTVTT7ZA.js} +2 -2
- package/dist/{promotion-detail-25JCCLU2.js → promotion-detail-WFB2ZFPH.js} +3 -3
- package/dist/{promotion-list-RXLVU4G2.js → promotion-list-VLCRCI2K.js} +5 -5
- package/dist/{region-add-countries-NFJYG4JA.js → region-add-countries-IIHNNE76.js} +1 -1
- package/dist/{region-create-RW42MXKY.js → region-create-PHZNUCJR.js} +1 -1
- package/dist/{region-detail-S7GNXX5B.js → region-detail-AECQQ62I.js} +2 -2
- package/dist/{region-list-ZP7QIWQ3.js → region-list-IBQW5J3R.js} +2 -2
- package/dist/{reservation-list-UGXB2P7K.js → reservation-list-IUYMT4U6.js} +2 -2
- package/dist/{reset-password-GBVMOKXP.js → reset-password-OL6EA5F2.js} +1 -1
- package/dist/{return-reason-list-AW6MMUKD.js → return-reason-list-FRHFRNKK.js} +2 -2
- package/dist/{sales-channel-add-products-LRANEISZ.js → sales-channel-add-products-ZZPVF5CH.js} +1 -1
- package/dist/{sales-channel-detail-5XXO3BXP.js → sales-channel-detail-DNZXUBSN.js} +2 -2
- package/dist/{shipping-option-type-list-UCTCZPAM.js → shipping-option-type-list-AW2ZA4V5.js} +2 -2
- package/dist/{shipping-profiles-list-CBTZYI33.js → shipping-profiles-list-4VHKTKIL.js} +2 -2
- package/dist/{store-bulk-edit-I6QHGMEC.js → store-bulk-edit-SZ3UEDWJ.js} +1 -1
- package/dist/{store-details-XNBFIWDL.js → store-details-4XVEWNIX.js} +3 -3
- package/dist/{store-edit-BBOEDZNV.js → store-edit-KJTO3ZUP.js} +2 -2
- package/dist/{store-list-RVZG3UD3.js → store-list-LSADPRI2.js} +3 -3
- package/dist/{tax-region-create-7432IFN5.js → tax-region-create-MPKY5KXL.js} +1 -1
- package/dist/{tax-region-tax-override-create-WRUNCP67.js → tax-region-tax-override-create-X3WQVHYV.js} +3 -3
- package/dist/{tax-region-tax-override-edit-EOIDY4LX.js → tax-region-tax-override-edit-SYK2O5BK.js} +3 -3
- package/dist/{user-invite-WIHSREOW.js → user-invite-UN6NCCII.js} +1 -1
- package/dist/{user-list-3C6GRWMJ.js → user-list-27ZKEJXN.js} +2 -2
- package/package.json +9 -6
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SIOKPEVN.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
7
|
} from "./chunk-S2WEYEQR.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ZPEMWHUW.js";
|
|
9
9
|
import "./chunk-JHIMVLB2.js";
|
|
10
10
|
import "./chunk-FMFVTERD.js";
|
|
11
11
|
import "./chunk-DB6ANJBO.js";
|
|
12
12
|
import "./chunk-PHOCVOZ5.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VPPUFVFJ.js";
|
|
14
14
|
import "./chunk-TKGWSUEI.js";
|
|
15
15
|
import {
|
|
16
16
|
KeyboundForm
|
|
@@ -24,7 +24,7 @@ import "./chunk-FQERBIVS.js";
|
|
|
24
24
|
import {
|
|
25
25
|
_DataTable,
|
|
26
26
|
useDataTable
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HSL5IICN.js";
|
|
28
28
|
import "./chunk-YN3FGNJM.js";
|
|
29
29
|
import "./chunk-ZAOEFQ6K.js";
|
|
30
30
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiKeyManagementListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QH34LF36.js";
|
|
4
4
|
import "./chunk-XFR5JLNF.js";
|
|
5
5
|
import "./chunk-25LYVP3C.js";
|
|
6
6
|
import "./chunk-JHIMVLB2.js";
|
|
@@ -8,7 +8,7 @@ import "./chunk-DB6ANJBO.js";
|
|
|
8
8
|
import "./chunk-PHOCVOZ5.js";
|
|
9
9
|
import "./chunk-E74OUNA3.js";
|
|
10
10
|
import "./chunk-FQERBIVS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HSL5IICN.js";
|
|
12
12
|
import "./chunk-YN3FGNJM.js";
|
|
13
13
|
import "./chunk-ZAOEFQ6K.js";
|
|
14
14
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AttributeListPage,
|
|
3
3
|
attributeListLoader
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2DSCC2VR.js";
|
|
5
5
|
import "./chunk-JHIMVLB2.js";
|
|
6
6
|
import "./chunk-PHOCVOZ5.js";
|
|
7
7
|
import "./chunk-RT6L7JXU.js";
|
|
8
8
|
import "./chunk-4YWKKCTT.js";
|
|
9
9
|
import "./chunk-E74OUNA3.js";
|
|
10
10
|
import "./chunk-FQERBIVS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HSL5IICN.js";
|
|
12
12
|
import "./chunk-YN3FGNJM.js";
|
|
13
13
|
import "./chunk-ZAOEFQ6K.js";
|
|
14
14
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CAMPAIGN_DETAIL_FIELDS,
|
|
3
3
|
CampaignDetailPage
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ZHT3Y47H.js";
|
|
5
|
+
import "./chunk-SIOKPEVN.js";
|
|
6
6
|
import "./chunk-S2WEYEQR.js";
|
|
7
7
|
import "./chunk-RK5N3XIX.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ZPEMWHUW.js";
|
|
9
9
|
import "./chunk-JHIMVLB2.js";
|
|
10
10
|
import "./chunk-FMFVTERD.js";
|
|
11
11
|
import "./chunk-DB6ANJBO.js";
|
|
12
12
|
import "./chunk-PHOCVOZ5.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VPPUFVFJ.js";
|
|
14
14
|
import "./chunk-IQPN4PZJ.js";
|
|
15
15
|
import "./chunk-E74OUNA3.js";
|
|
16
16
|
import "./chunk-FQERBIVS.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-HSL5IICN.js";
|
|
18
18
|
import "./chunk-YN3FGNJM.js";
|
|
19
19
|
import "./chunk-ZAOEFQ6K.js";
|
|
20
20
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CampaignListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O5MW4WPZ.js";
|
|
4
4
|
import "./chunk-HINXQTCW.js";
|
|
5
5
|
import "./chunk-DY3XQPHC.js";
|
|
6
6
|
import "./chunk-25LYVP3C.js";
|
|
@@ -8,7 +8,7 @@ import "./chunk-JHIMVLB2.js";
|
|
|
8
8
|
import "./chunk-PHOCVOZ5.js";
|
|
9
9
|
import "./chunk-E74OUNA3.js";
|
|
10
10
|
import "./chunk-FQERBIVS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HSL5IICN.js";
|
|
12
12
|
import "./chunk-YN3FGNJM.js";
|
|
13
13
|
import "./chunk-ZAOEFQ6K.js";
|
|
14
14
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LRJNSCMR.js";
|
|
4
4
|
import "./chunk-7AV5EJJ5.js";
|
|
5
5
|
import "./chunk-CW3HYGS5.js";
|
|
6
6
|
import "./chunk-Y456KVIN.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-VSLHL2AZ.js";
|
|
|
16
16
|
import "./chunk-E74OUNA3.js";
|
|
17
17
|
import "./chunk-WIYFXWRI.js";
|
|
18
18
|
import "./chunk-FQERBIVS.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-HSL5IICN.js";
|
|
20
20
|
import "./chunk-YN3FGNJM.js";
|
|
21
21
|
import "./chunk-ZAOEFQ6K.js";
|
|
22
22
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUDWUAMT.js";
|
|
4
4
|
import "./chunk-CW3HYGS5.js";
|
|
5
5
|
import "./chunk-JHIMVLB2.js";
|
|
6
6
|
import "./chunk-Y456KVIN.js";
|
|
@@ -11,7 +11,7 @@ import "./chunk-VSLHL2AZ.js";
|
|
|
11
11
|
import "./chunk-E74OUNA3.js";
|
|
12
12
|
import "./chunk-WIYFXWRI.js";
|
|
13
13
|
import "./chunk-FQERBIVS.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-HSL5IICN.js";
|
|
15
15
|
import "./chunk-YN3FGNJM.js";
|
|
16
16
|
import "./chunk-ZAOEFQ6K.js";
|
|
17
17
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
PriceListCreateProductsSchema,
|
|
3
3
|
usePriceListCurrencyData,
|
|
4
4
|
usePriceListGridColumns
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NEGOGYEO.js";
|
|
6
6
|
import {
|
|
7
7
|
exctractPricesFromProducts,
|
|
8
8
|
isProductRow
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-FREUYHMS.js";
|
|
24
24
|
import {
|
|
25
25
|
DataGrid
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JXSXBSV6.js";
|
|
27
27
|
import {
|
|
28
28
|
RouteFocusModal,
|
|
29
29
|
useRouteModal
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
_DataTable,
|
|
33
33
|
useDataTable
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HSL5IICN.js";
|
|
35
35
|
import {
|
|
36
36
|
useBatchPriceListPrices,
|
|
37
37
|
usePriceList
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useOrderGroupTableFilters
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CB7DBYH4.js";
|
|
4
4
|
import {
|
|
5
5
|
useOrderTableQuery
|
|
6
6
|
} from "./chunk-QUHSHIAC.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
_DataTable,
|
|
26
26
|
useDataTable
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HSL5IICN.js";
|
|
28
28
|
import {
|
|
29
29
|
SingleColumnPage
|
|
30
30
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -67,12 +67,12 @@ var OrderListHeader = ({
|
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
// src/pages/orders/order-list/components/order-list-table/order-list-data-table.tsx
|
|
70
|
-
import { IconButton, clx } from "@medusajs/ui";
|
|
70
|
+
import { IconButton as IconButton2, clx } from "@medusajs/ui";
|
|
71
71
|
import { TriangleRightMini } from "@medusajs/icons";
|
|
72
72
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
73
73
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
74
74
|
import { useMemo } from "react";
|
|
75
|
-
import { useTranslation as
|
|
75
|
+
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
76
76
|
|
|
77
77
|
// src/pages/orders/order-list/const.ts
|
|
78
78
|
var DEFAULT_PROPERTIES = [
|
|
@@ -103,8 +103,38 @@ var DEFAULT_FIELDS = `${DEFAULT_PROPERTIES.join(
|
|
|
103
103
|
","
|
|
104
104
|
)},${DEFAULT_RELATIONS.join(",")}`;
|
|
105
105
|
|
|
106
|
+
// src/pages/orders/order-list/components/order-list-table/order-expand-collapse-button.tsx
|
|
107
|
+
import { ArrowsPointingOut, ArrowsReduceDiagonal } from "@medusajs/icons";
|
|
108
|
+
import { IconButton, Tooltip } from "@medusajs/ui";
|
|
109
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
110
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
111
|
+
var OrderExpandCollapseButton = ({
|
|
112
|
+
table
|
|
113
|
+
}) => {
|
|
114
|
+
const { t } = useTranslation2();
|
|
115
|
+
const allExpanded = table.getIsAllRowsExpanded();
|
|
116
|
+
return /* @__PURE__ */ jsx2(
|
|
117
|
+
Tooltip,
|
|
118
|
+
{
|
|
119
|
+
content: t(
|
|
120
|
+
allExpanded ? "orders.list.collapseAll" : "orders.list.expandAll"
|
|
121
|
+
),
|
|
122
|
+
children: /* @__PURE__ */ jsx2(
|
|
123
|
+
IconButton,
|
|
124
|
+
{
|
|
125
|
+
size: "small",
|
|
126
|
+
type: "button",
|
|
127
|
+
onClick: () => table.toggleAllRowsExpanded(),
|
|
128
|
+
"data-testid": "orders-expand-collapse-all",
|
|
129
|
+
children: allExpanded ? /* @__PURE__ */ jsx2(ArrowsReduceDiagonal, {}) : /* @__PURE__ */ jsx2(ArrowsPointingOut, {})
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
};
|
|
135
|
+
|
|
106
136
|
// src/pages/orders/order-list/components/order-list-table/order-list-data-table.tsx
|
|
107
|
-
import { jsx as
|
|
137
|
+
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
108
138
|
var PAGE_SIZE = 20;
|
|
109
139
|
function transformOrderGroups(orderGroups, t) {
|
|
110
140
|
return orderGroups.map((group) => {
|
|
@@ -149,7 +179,7 @@ function transformOrderGroups(orderGroups, t) {
|
|
|
149
179
|
});
|
|
150
180
|
}
|
|
151
181
|
var OrderListDataTable = () => {
|
|
152
|
-
const { t } =
|
|
182
|
+
const { t } = useTranslation3();
|
|
153
183
|
const { searchParams, raw } = useOrderTableQuery({
|
|
154
184
|
pageSize: PAGE_SIZE
|
|
155
185
|
});
|
|
@@ -181,13 +211,18 @@ var OrderListDataTable = () => {
|
|
|
181
211
|
if (isError) {
|
|
182
212
|
throw error;
|
|
183
213
|
}
|
|
184
|
-
return /* @__PURE__ */
|
|
214
|
+
return /* @__PURE__ */ jsx3(
|
|
185
215
|
_DataTable,
|
|
186
216
|
{
|
|
187
217
|
columns,
|
|
188
218
|
table,
|
|
189
219
|
pagination: true,
|
|
190
220
|
navigateTo: (row) => row.original._type === "order" ? `/orders/${row.original.id}` : "",
|
|
221
|
+
onRowClick: (row) => {
|
|
222
|
+
if (row.getCanExpand()) {
|
|
223
|
+
row.toggleExpanded();
|
|
224
|
+
}
|
|
225
|
+
},
|
|
191
226
|
count,
|
|
192
227
|
search: true,
|
|
193
228
|
filters,
|
|
@@ -198,6 +233,8 @@ var OrderListDataTable = () => {
|
|
|
198
233
|
{ key: "created_at", label: t("fields.createdAt") },
|
|
199
234
|
{ key: "updated_at", label: t("fields.updatedAt") }
|
|
200
235
|
],
|
|
236
|
+
defaultOrder: "-display_id",
|
|
237
|
+
toolbarActions: /* @__PURE__ */ jsx3(OrderExpandCollapseButton, { table }),
|
|
201
238
|
queryObject: raw,
|
|
202
239
|
noRecords: {
|
|
203
240
|
message: t("orders.list.noRecordsMessage")
|
|
@@ -207,19 +244,19 @@ var OrderListDataTable = () => {
|
|
|
207
244
|
};
|
|
208
245
|
var columnHelper = createColumnHelper();
|
|
209
246
|
var useColumns = () => {
|
|
210
|
-
const { t } =
|
|
247
|
+
const { t } = useTranslation3();
|
|
211
248
|
return useMemo(
|
|
212
249
|
() => [
|
|
213
250
|
columnHelper.accessor("display_id", {
|
|
214
|
-
header: () => /* @__PURE__ */
|
|
251
|
+
header: () => /* @__PURE__ */ jsx3(TextHeader, { text: t("orders.fields.groupId") }),
|
|
215
252
|
cell: ({ row, getValue }) => {
|
|
216
253
|
if (row.original._type === "order") {
|
|
217
254
|
return null;
|
|
218
255
|
}
|
|
219
256
|
const expandHandler = row.getToggleExpandedHandler();
|
|
220
257
|
return /* @__PURE__ */ jsxs("div", { className: "flex size-full items-center gap-x-2 overflow-hidden", children: [
|
|
221
|
-
/* @__PURE__ */
|
|
222
|
-
|
|
258
|
+
/* @__PURE__ */ jsx3("div", { className: "flex size-7 items-center justify-center", children: row.getCanExpand() ? /* @__PURE__ */ jsx3(
|
|
259
|
+
IconButton2,
|
|
223
260
|
{
|
|
224
261
|
type: "button",
|
|
225
262
|
onClick: (e) => {
|
|
@@ -230,7 +267,7 @@ var useColumns = () => {
|
|
|
230
267
|
size: "small",
|
|
231
268
|
variant: "transparent",
|
|
232
269
|
className: "text-ui-fg-subtle",
|
|
233
|
-
children: /* @__PURE__ */
|
|
270
|
+
children: /* @__PURE__ */ jsx3(
|
|
234
271
|
TriangleRightMini,
|
|
235
272
|
{
|
|
236
273
|
className: clx({
|
|
@@ -240,59 +277,59 @@ var useColumns = () => {
|
|
|
240
277
|
)
|
|
241
278
|
}
|
|
242
279
|
) : null }),
|
|
243
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ jsx3("span", { className: "truncate", children: getValue() })
|
|
244
281
|
] });
|
|
245
282
|
}
|
|
246
283
|
}),
|
|
247
284
|
columnHelper.accessor("order_ids", {
|
|
248
|
-
header: () => /* @__PURE__ */
|
|
285
|
+
header: () => /* @__PURE__ */ jsx3(TextHeader, { text: t("orders.fields.orderIds") }),
|
|
249
286
|
cell: ({ row, getValue }) => {
|
|
250
287
|
if (row.original._type === "group") {
|
|
251
|
-
return /* @__PURE__ */
|
|
288
|
+
return /* @__PURE__ */ jsx3(TextCell, { text: getValue() });
|
|
252
289
|
}
|
|
253
|
-
return /* @__PURE__ */
|
|
290
|
+
return /* @__PURE__ */ jsx3(TextCell, { text: row.original.display_id });
|
|
254
291
|
}
|
|
255
292
|
}),
|
|
256
293
|
columnHelper.accessor("vendor", {
|
|
257
|
-
header: () => /* @__PURE__ */
|
|
258
|
-
cell: ({ getValue }) => /* @__PURE__ */
|
|
294
|
+
header: () => /* @__PURE__ */ jsx3(TextHeader, { text: t("orders.fields.vendor") }),
|
|
295
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx3(TextCell, { text: getValue() })
|
|
259
296
|
}),
|
|
260
297
|
columnHelper.accessor("created_at", {
|
|
261
|
-
header: () => /* @__PURE__ */
|
|
262
|
-
cell: ({ getValue }) => /* @__PURE__ */
|
|
298
|
+
header: () => /* @__PURE__ */ jsx3(DateHeader, {}),
|
|
299
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx3(DateCell, { date: getValue() })
|
|
263
300
|
}),
|
|
264
301
|
columnHelper.accessor("customer_name", {
|
|
265
|
-
header: () => /* @__PURE__ */
|
|
266
|
-
cell: ({ getValue }) => /* @__PURE__ */
|
|
302
|
+
header: () => /* @__PURE__ */ jsx3(TextHeader, { text: t("fields.customer") }),
|
|
303
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx3(TextCell, { text: getValue() })
|
|
267
304
|
}),
|
|
268
305
|
columnHelper.accessor("payment_status", {
|
|
269
|
-
header: () => /* @__PURE__ */
|
|
306
|
+
header: () => /* @__PURE__ */ jsx3(PaymentStatusHeader, {}),
|
|
270
307
|
cell: ({ row, getValue }) => {
|
|
271
308
|
if (row.original._type === "group") {
|
|
272
309
|
return null;
|
|
273
310
|
}
|
|
274
311
|
const status = getValue();
|
|
275
312
|
if (!status) return "-";
|
|
276
|
-
return /* @__PURE__ */
|
|
313
|
+
return /* @__PURE__ */ jsx3(PaymentStatusCell, { status });
|
|
277
314
|
}
|
|
278
315
|
}),
|
|
279
316
|
columnHelper.accessor("fulfillment_status", {
|
|
280
|
-
header: () => /* @__PURE__ */
|
|
317
|
+
header: () => /* @__PURE__ */ jsx3(FulfillmentStatusHeader, {}),
|
|
281
318
|
cell: ({ row, getValue }) => {
|
|
282
319
|
if (row.original._type === "group") {
|
|
283
320
|
return null;
|
|
284
321
|
}
|
|
285
322
|
const status = getValue();
|
|
286
323
|
if (!status) return "-";
|
|
287
|
-
return /* @__PURE__ */
|
|
324
|
+
return /* @__PURE__ */ jsx3(FulfillmentStatusCell, { status });
|
|
288
325
|
}
|
|
289
326
|
}),
|
|
290
327
|
columnHelper.accessor("total", {
|
|
291
|
-
header: () => /* @__PURE__ */
|
|
328
|
+
header: () => /* @__PURE__ */ jsx3(TextHeader, { text: t("fields.total") }),
|
|
292
329
|
cell: ({ row, getValue }) => {
|
|
293
330
|
const total = getValue();
|
|
294
331
|
if (total == null) return "-";
|
|
295
|
-
return /* @__PURE__ */
|
|
332
|
+
return /* @__PURE__ */ jsx3(
|
|
296
333
|
TextCell,
|
|
297
334
|
{
|
|
298
335
|
text: getStylizedAmount(total, row.original.currency_code)
|
|
@@ -306,18 +343,18 @@ var useColumns = () => {
|
|
|
306
343
|
};
|
|
307
344
|
|
|
308
345
|
// src/pages/orders/order-list/components/order-list-table/order-list-table.tsx
|
|
309
|
-
import { Fragment, jsx as
|
|
346
|
+
import { Fragment, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
310
347
|
var OrderListTable = ({ children }) => {
|
|
311
|
-
return /* @__PURE__ */
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
348
|
+
return /* @__PURE__ */ jsx4(Container, { className: "divide-y p-0", "data-testid": "orders-container", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
349
|
+
/* @__PURE__ */ jsx4(OrderListHeader, {}),
|
|
350
|
+
/* @__PURE__ */ jsx4(OrderListDataTable, {})
|
|
314
351
|
] }) });
|
|
315
352
|
};
|
|
316
353
|
|
|
317
354
|
// src/pages/orders/order-list/order-list.tsx
|
|
318
|
-
import { jsx as
|
|
355
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
319
356
|
var Root = ({ children }) => {
|
|
320
|
-
return /* @__PURE__ */
|
|
357
|
+
return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: false, "data-testid": "orders-list-page", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(OrderListTable, {}) });
|
|
321
358
|
};
|
|
322
359
|
var OrderListPage = Object.assign(Root, {
|
|
323
360
|
Table: OrderListTable,
|
|
@@ -46,19 +46,6 @@ var useOrderTableFilters = () => {
|
|
|
46
46
|
};
|
|
47
47
|
filters = [...filters, salesChannelFilter];
|
|
48
48
|
}
|
|
49
|
-
const requestFilter = {
|
|
50
|
-
key: "request",
|
|
51
|
-
label: t("orders.filters.request.label"),
|
|
52
|
-
type: "select",
|
|
53
|
-
multiple: true,
|
|
54
|
-
options: [
|
|
55
|
-
{ label: t("orders.filters.request.edit"), value: "edit" },
|
|
56
|
-
{ label: t("orders.filters.request.return"), value: "return" },
|
|
57
|
-
{ label: t("orders.filters.request.exchange"), value: "exchange" },
|
|
58
|
-
{ label: t("orders.filters.request.claim"), value: "claim" }
|
|
59
|
-
]
|
|
60
|
-
};
|
|
61
|
-
filters = [...filters, requestFilter];
|
|
62
49
|
const dateFilters = [
|
|
63
50
|
{ label: "Created At", key: "created_at" },
|
|
64
51
|
{ label: "Updated At", key: "updated_at" }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PriceListCustomerGroupRuleForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TAM24IMD.js";
|
|
4
4
|
import {
|
|
5
5
|
PriceListCreateProductsSchema,
|
|
6
6
|
PriceListRulesSchema,
|
|
7
7
|
usePriceListCurrencyData,
|
|
8
8
|
usePriceListGridColumns
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NEGOGYEO.js";
|
|
10
10
|
import {
|
|
11
11
|
exctractPricesFromProducts,
|
|
12
12
|
isProductRow
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-FREUYHMS.js";
|
|
28
28
|
import {
|
|
29
29
|
DataGrid
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JXSXBSV6.js";
|
|
31
31
|
import {
|
|
32
32
|
RouteFocusModal,
|
|
33
33
|
StackedFocusModal,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
_DataTable,
|
|
42
42
|
useDataTable
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HSL5IICN.js";
|
|
44
44
|
import {
|
|
45
45
|
useCreatePriceList
|
|
46
46
|
} from "./chunk-LSMTJU6Y.js";
|
|
@@ -43,7 +43,7 @@ var useOrderGroupTableFilters = () => {
|
|
|
43
43
|
if (sellers?.length) {
|
|
44
44
|
filters.push({
|
|
45
45
|
key: "seller_id",
|
|
46
|
-
label: "
|
|
46
|
+
label: t("fields.store"),
|
|
47
47
|
type: "select",
|
|
48
48
|
multiple: true,
|
|
49
49
|
searchable: true,
|
|
@@ -78,18 +78,6 @@ var useOrderGroupTableFilters = () => {
|
|
|
78
78
|
{ label: "Requires action", value: "requires_action" }
|
|
79
79
|
]
|
|
80
80
|
});
|
|
81
|
-
filters.push({
|
|
82
|
-
key: "request",
|
|
83
|
-
label: t("orders.filters.request.label"),
|
|
84
|
-
type: "select",
|
|
85
|
-
multiple: true,
|
|
86
|
-
options: [
|
|
87
|
-
{ label: t("orders.filters.request.edit"), value: "edit" },
|
|
88
|
-
{ label: t("orders.filters.request.return"), value: "return" },
|
|
89
|
-
{ label: t("orders.filters.request.exchange"), value: "exchange" },
|
|
90
|
-
{ label: t("orders.filters.request.claim"), value: "claim" }
|
|
91
|
-
]
|
|
92
|
-
});
|
|
93
81
|
filters.push(
|
|
94
82
|
{
|
|
95
83
|
key: "created_at",
|