@mercurjs/admin 2.2.0-rc.0 → 2.2.0-rc.1
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-QK73ARX4.js → add-campaign-promotions-RH5L6VMH.js} +7 -7
- package/dist/{adjust-inventory-X45NEQFK.js → adjust-inventory-P2M7KZ77.js} +10 -10
- package/dist/{api-key-management-create-LOD37GOQ.js → api-key-management-create-KDKSGJ4C.js} +3 -3
- package/dist/{api-key-management-detail-HKNZPPR2.js → api-key-management-detail-2RZ6NOYH.js} +13 -13
- package/dist/{api-key-management-edit-JP2GUMMJ.js → api-key-management-edit-NOGBLKBT.js} +3 -3
- package/dist/{api-key-management-list-5RXBJ24C.js → api-key-management-list-CGHUURWX.js} +8 -8
- package/dist/{api-key-management-sales-channels-4GLVMHU6.js → api-key-management-sales-channels-VJMUPYV3.js} +5 -5
- package/dist/{attribute-create-VGL7LGIH.js → attribute-create-KR4DSDH2.js} +15 -13
- package/dist/{attribute-detail-EKDAYT4B.js → attribute-detail-6FMX7IDW.js} +21 -20
- package/dist/{attribute-edit-OBNLNOJS.js → attribute-edit-WXO5FGR6.js} +2 -2
- package/dist/{attribute-edit-possible-value-QDFVWLA3.js → attribute-edit-possible-value-RO7BY3NC.js} +2 -2
- package/dist/{attribute-list-6A72PBIY.js → attribute-list-PJXWYS4C.js} +15 -15
- package/dist/{breadcrumb-IEEJTH47.js → breadcrumb-OBHTESQD.js} +1 -1
- package/dist/{campaign-budget-edit-NONE5NMV.js → campaign-budget-edit-QXAXRI6B.js} +1 -1
- package/dist/{campaign-configuration-JYSVIQFE.js → campaign-configuration-A3E6G2VQ.js} +1 -1
- package/dist/{campaign-create-6U2PONHA.js → campaign-create-TZH66JVU.js} +2 -2
- package/dist/{campaign-detail-RNB3FEJZ.js → campaign-detail-3PNOOUGP.js} +26 -22
- package/dist/{campaign-edit-MAS3DCFB.js → campaign-edit-6CIGS4ZU.js} +23 -7
- package/dist/{campaign-list-CDV4GWWD.js → campaign-list-TNJDWTM5.js} +6 -6
- package/dist/{categories-metadata-4LXL2PWA.js → categories-metadata-AIT33J5U.js} +10 -10
- package/dist/{category-create-AIS2MG7E.js → category-create-NTSIOKLK.js} +3 -3
- package/dist/{category-detail-557376TZ.js → category-detail-3WUCMDWO.js} +29 -25
- package/dist/{category-edit-LYR2IOTA.js → category-edit-4PGWERPJ.js} +26 -9
- package/dist/{category-icon-edit-W2TPCSDC.js → category-icon-edit-C2VAH5JA.js} +2 -2
- package/dist/{category-list-XKRI24VN.js → category-list-D4J4G6HW.js} +8 -8
- package/dist/{category-media-PC4V7YU4.js → category-media-E5UUDN3I.js} +2 -2
- package/dist/category-organize-T45BC4HL.js +129 -0
- package/dist/{category-products-44PCDDNN.js → category-products-TTQGSVUC.js} +18 -18
- package/dist/{chunk-LVRCEGL7.js → chunk-2KERYQNF.js} +52 -26
- package/dist/{chunk-KGA2XI6W.js → chunk-3F4Z4BNA.js} +33 -15
- package/dist/{chunk-3BTRS4AA.js → chunk-3FKB6UTO.js} +2 -2
- package/dist/{chunk-GCU4LHGY.js → chunk-3KS7PC2Z.js} +79 -33
- package/dist/{chunk-HI7NZVSJ.js → chunk-3LDOWS4A.js} +4 -3
- package/dist/{chunk-HT34QVZR.js → chunk-3LGGCLSO.js} +4 -3
- package/dist/{chunk-UZ452ISX.js → chunk-3WCK2FT4.js} +42 -27
- package/dist/{chunk-DPG4AWSG.js → chunk-4DJL3XN7.js} +25 -13
- package/dist/{chunk-PFBJWWUA.js → chunk-4QQ6BFWQ.js} +2 -2
- package/dist/{chunk-NOKCLBAL.js → chunk-4TNOZ4VH.js} +2 -1
- package/dist/{chunk-FICKHCWL.js → chunk-4TW5RTWO.js} +5 -3
- package/dist/{chunk-6DJQITWV.js → chunk-5CHUXS7G.js} +1 -1
- package/dist/{chunk-QDUZCJ7F.js → chunk-5EOYDQAS.js} +1 -1
- package/dist/{chunk-CNODWD3F.js → chunk-5NAX6LXB.js} +5 -4
- package/dist/{chunk-BFUHW56P.js → chunk-5NC3VFXY.js} +1 -1
- package/dist/{chunk-H7NIKMPE.js → chunk-5NSOIZFB.js} +3 -1
- package/dist/{chunk-RIO2IHPE.js → chunk-67KYEPSA.js} +1 -1
- package/dist/{chunk-EOSJHPHN.js → chunk-6DDS7IRR.js} +6 -5
- package/dist/{chunk-XW2BES72.js → chunk-6R767EBC.js} +8 -5
- package/dist/{chunk-EGHDC6K6.js → chunk-6S5RUSUU.js} +12 -11
- package/dist/{chunk-TDJSZ73V.js → chunk-6TMGHMZ2.js} +38 -10
- package/dist/{chunk-CW3HYGS5.js → chunk-7CQD5AQ6.js} +2 -6
- package/dist/{chunk-JSVYNNPF.js → chunk-7IGLZARZ.js} +2 -2
- package/dist/{chunk-PAYQJPGK.js → chunk-7PPT3477.js} +2 -2
- package/dist/{chunk-JLCA6PWC.js → chunk-AASCLZ5N.js} +1 -1
- package/dist/{chunk-RGS5ZOY7.js → chunk-AFYILTAC.js} +4 -3
- package/dist/chunk-APAT344J.js +144 -0
- package/dist/{chunk-4346EIRG.js → chunk-APMBU7ZV.js} +3 -3
- package/dist/{chunk-VGXJXU7X.js → chunk-AW5OKJQZ.js} +7 -6
- package/dist/{chunk-VY72NX26.js → chunk-BBD4WOUK.js} +5 -4
- package/dist/{chunk-JU2O2H7I.js → chunk-BHF4TD3T.js} +6 -6
- package/dist/{chunk-THPXRTE5.js → chunk-BHSY6RCN.js} +34 -13
- package/dist/{chunk-VYQ6ASFF.js → chunk-CWQKHTH6.js} +26 -10
- package/dist/{chunk-56UFDHNO.js → chunk-DJD3MWED.js} +1 -1
- package/dist/{chunk-EX4AGESR.js → chunk-DMZDXTS5.js} +95 -34
- package/dist/{chunk-OPSGADQI.js → chunk-DP6YFZHP.js} +1 -1
- package/dist/{chunk-HGTPUAHD.js → chunk-DUVYF37J.js} +1 -1
- package/dist/{chunk-BTJR5RSV.js → chunk-F57NIOVJ.js} +49 -20
- package/dist/{chunk-CHMIK6PK.js → chunk-F6DGTW4E.js} +3 -3
- package/dist/{chunk-BNFTJW4L.js → chunk-FVG5DTS6.js} +2 -2
- package/dist/{chunk-LSMTJU6Y.js → chunk-G2LHEJLS.js} +3 -3
- package/dist/{chunk-7O7LYBHL.js → chunk-G67PGZDM.js} +67 -25
- package/dist/{chunk-6ZVV2XHU.js → chunk-GRFWCCUW.js} +1 -1
- package/dist/{chunk-BLR3NTU6.js → chunk-GVPKRQWI.js} +4 -6
- package/dist/{chunk-BF7X4JQT.js → chunk-H3D6V3KM.js} +3 -2
- package/dist/{chunk-TZM63FZ4.js → chunk-HC7FWIMY.js} +7 -6
- package/dist/{chunk-W7CJSBDM.js → chunk-HYDXR5K4.js} +27 -15
- package/dist/{chunk-AMZ2QSSI.js → chunk-I5FOWDOM.js} +9 -6
- package/dist/{chunk-OYZIFLLC.js → chunk-I5HY5Q3K.js} +1 -1
- package/dist/{chunk-YMOP6JKN.js → chunk-IGTR66D2.js} +2 -2
- package/dist/{chunk-WKDHY2DJ.js → chunk-IJ2CSCLP.js} +5 -2
- package/dist/{chunk-NISAIYSW.js → chunk-JJOITP32.js} +11 -10
- package/dist/{chunk-25U23TXK.js → chunk-KT7CXVLT.js} +6 -5
- package/dist/{chunk-BVIIRGSW.js → chunk-KUBTN5TC.js} +4 -2
- package/dist/{chunk-DL7ENIQB.js → chunk-LEQINL55.js} +2 -1
- package/dist/{chunk-FMJBQE56.js → chunk-LPIPSLR7.js} +1 -1
- package/dist/{chunk-KFYTUQXT.js → chunk-LQQERWMM.js} +11 -10
- package/dist/{chunk-4C7L7TJT.js → chunk-LXNWSQOE.js} +3 -3
- package/dist/{chunk-VBKFXL2Q.js → chunk-MEDZM6N7.js} +26 -10
- package/dist/{chunk-ZKHF75MZ.js → chunk-MMKUMSZS.js} +1 -1
- package/dist/{chunk-GISFIAGQ.js → chunk-MPRW23TB.js} +47 -17
- package/dist/{chunk-GCEOEV6P.js → chunk-MTHPNKQ4.js} +4 -4
- package/dist/{chunk-ZU74CNL4.js → chunk-MUKW4VRI.js} +8 -7
- package/dist/{chunk-TH26CWVG.js → chunk-NLJ5F7FS.js} +1 -1
- package/dist/{chunk-6KWWJE5P.js → chunk-O7SDCQD6.js} +6 -6
- package/dist/{chunk-HQM7D57C.js → chunk-ODDJZVYL.js} +8 -6
- package/dist/{chunk-2FPQHWJZ.js → chunk-OG5AVHPY.js} +110 -28
- package/dist/{chunk-HRDVGFS7.js → chunk-OX6HZPVY.js} +21 -11
- package/dist/{chunk-5ACJR6WB.js → chunk-P2DFLKCN.js} +3 -3
- package/dist/{chunk-NWSKT55Z.js → chunk-P2JA3QTQ.js} +7 -6
- package/dist/{chunk-ZVPTNPLI.js → chunk-P3GGL5JL.js} +1 -1
- package/dist/{chunk-NZVS6B77.js → chunk-PDID73QY.js} +574 -536
- package/dist/{chunk-5Y2AIJ2T.js → chunk-PEUWV5YK.js} +2 -1
- package/dist/{chunk-K7H77TA5.js → chunk-PHWYJ26A.js} +1 -1
- package/dist/{chunk-W3P3RP5R.js → chunk-PPRIEP4H.js} +25 -11
- package/dist/{chunk-JEDX4KBB.js → chunk-Q5DRFJPI.js} +6 -5
- package/dist/{chunk-J3L2FUIA.js → chunk-QA7S7WVH.js} +54 -38
- package/dist/{chunk-Q6QXFLUY.js → chunk-QEX45BI3.js} +3 -1
- package/dist/{chunk-JZJT26E3.js → chunk-QVIX6O76.js} +1 -1
- package/dist/{chunk-F2SZ4LPF.js → chunk-R2LW5LGL.js} +40 -22
- package/dist/{chunk-DI2M3J5Q.js → chunk-RMB7MPIT.js} +1 -1
- package/dist/{chunk-2Z2M5K5A.js → chunk-RT2MBSJQ.js} +7 -6
- package/dist/{chunk-65YE4SVL.js → chunk-RYISNVIR.js} +27 -14
- package/dist/{chunk-BILFRATX.js → chunk-SAU35JEB.js} +1 -1
- package/dist/{chunk-PMVWIBTI.js → chunk-SLAWONP2.js} +52 -17
- package/dist/{chunk-ML7UVBKL.js → chunk-TIG77LHS.js} +1 -1
- package/dist/{chunk-YRINVEI3.js → chunk-TJJ7S3GL.js} +3 -2
- package/dist/{chunk-4BCUGMOR.js → chunk-UK5BVJI7.js} +1 -1
- package/dist/{chunk-MOG7LT73.js → chunk-UK5CZJ4A.js} +9 -7
- package/dist/{chunk-4BPQNCF5.js → chunk-UVH7PC5B.js} +6 -5
- package/dist/{chunk-HB3KRNZM.js → chunk-VH4W6LKI.js} +4 -3
- package/dist/{chunk-YRUCTB6M.js → chunk-VHOCBKSA.js} +3 -2
- package/dist/{chunk-IVBNI2QE.js → chunk-VQ6OPDS3.js} +85 -30
- package/dist/{chunk-LQSSUC7W.js → chunk-VX6OCQLN.js} +6 -5
- package/dist/{chunk-DSTHXHJ5.js → chunk-VYSB4CTB.js} +1356 -1356
- package/dist/{chunk-6BWJWA2F.js → chunk-WF2PHYTE.js} +6 -5
- package/dist/{chunk-GLZLBHFC.js → chunk-WX4ABVXL.js} +2 -2
- package/dist/{chunk-VPYI4X6C.js → chunk-X4SSIHH7.js} +35 -16
- package/dist/{chunk-VJ4LQXMA.js → chunk-XDMCPTDG.js} +96 -69
- package/dist/{chunk-KT4DGVRQ.js → chunk-XNUH2AOW.js} +8 -7
- package/dist/{chunk-OAN4CZKX.js → chunk-XWP4ZGKN.js} +6 -4
- package/dist/{chunk-32ZNZDFT.js → chunk-XXV6ZSWY.js} +4 -3
- package/dist/{chunk-GWSRWILC.js → chunk-YLQ63F5E.js} +6 -5
- package/dist/{chunk-MZOINNCV.js → chunk-YNR25MNM.js} +78 -56
- package/dist/{chunk-YHEH25IE.js → chunk-Z6CIQQUZ.js} +2 -1
- package/dist/{chunk-YNN2YNSE.js → chunk-ZAANJVLM.js} +1 -1
- package/dist/{chunk-MW47LDBT.js → chunk-ZOTBKQLG.js} +1 -1
- package/dist/{collection-add-products-JFUIZEZI.js → collection-add-products-TXJAEXUT.js} +18 -18
- package/dist/{collection-create-5IGFVQKE.js → collection-create-7ZQONUJL.js} +4 -3
- package/dist/{collection-detail-2WOLOVWF.js → collection-detail-FGXNWXAN.js} +28 -24
- package/dist/{collection-edit-UMZN5JZ6.js → collection-edit-ZFAECPWC.js} +33 -10
- package/dist/{collection-icon-edit-WCSKUDXE.js → collection-icon-edit-642AZRHR.js} +2 -2
- package/dist/{collection-list-B3Y2ALLZ.js → collection-list-ZLBRTQAC.js} +22 -22
- package/dist/{collection-media-YIV5BV3Y.js → collection-media-LMJFEFVY.js} +2 -2
- package/dist/{collection-metadata-SBK6SL4C.js → collection-metadata-AZRN32RU.js} +10 -10
- package/dist/{commission-rule-detail-ZQ3OHFA2.js → commission-rule-detail-FOLHANWL.js} +5 -5
- package/dist/{commissions-list-M5WLJD2P.js → commissions-list-SGVCP2O4.js} +9 -9
- package/dist/{customer-create-ZQ4RTXBA.js → customer-create-SC6LAEVJ.js} +1 -1
- package/dist/{customer-create-address-P2QYUZJ5.js → customer-create-address-VZMOF5AE.js} +9 -4
- package/dist/{customer-detail-ZGDPIWA4.js → customer-detail-3KIDRBLW.js} +26 -23
- package/dist/{customer-edit-D55FJLIN.js → customer-edit-RAWO66UL.js} +25 -7
- package/dist/{customer-edit-address-R5RXDUNZ.js → customer-edit-address-ZEVUPAYN.js} +15 -6
- package/dist/{customer-group-add-customers-O6A5ZFPM.js → customer-group-add-customers-LKFLDXVO.js} +5 -5
- package/dist/{customer-group-create-44R3DDOT.js → customer-group-create-3KAC3R3N.js} +1 -1
- package/dist/{customer-group-detail-FXUICFYC.js → customer-group-detail-KWHS7V6F.js} +28 -25
- package/dist/{customer-group-edit-NZ5SUPFQ.js → customer-group-edit-E7JX2L4J.js} +41 -20
- package/dist/{customer-group-list-R2DP2D42.js → customer-group-list-3FCJBXFY.js} +16 -16
- package/dist/{customer-group-metadata-JX7ZBXLJ.js → customer-group-metadata-3QRU7FIE.js} +10 -10
- package/dist/{customer-list-Z4DUQHCH.js → customer-list-JT6YE2IW.js} +7 -7
- package/dist/{customer-metadata-JT5GGCRV.js → customer-metadata-7DMBCQXW.js} +10 -10
- package/dist/{customers-add-customer-group-KX3XNNMU.js → customers-add-customer-group-IAGH6MJJ.js} +14 -14
- package/dist/{edit-inventory-item-73BY4I5T.js → edit-inventory-item-QPWV4MSP.js} +32 -17
- package/dist/{edit-inventory-item-attributes-ZMB343AB.js → edit-inventory-item-attributes-J7WHYKMK.js} +10 -10
- package/dist/{edit-reservation-BC5IOLK6.js → edit-reservation-PTUSCC6C.js} +26 -8
- package/dist/{edit-rules-4PPNBI7B.js → edit-rules-2WZOLTL7.js} +11 -11
- package/dist/extension-targets.d.ts +269 -0
- package/dist/extension-targets.js +1 -0
- package/dist/index.css +3 -3
- package/dist/index.d.ts +6 -2
- package/dist/index.js +280 -252
- package/dist/{inventory-create-XQKH3HZQ.js → inventory-create-RDVKGH2S.js} +11 -11
- package/dist/{inventory-detail-RZJNTJDF.js → inventory-detail-LHWQTJ7S.js} +27 -23
- package/dist/{inventory-list-SPSBDJXO.js → inventory-list-Q2CCGYI5.js} +6 -6
- package/dist/{inventory-metadata-W2E4KYG3.js → inventory-metadata-CQHLKX4T.js} +10 -10
- package/dist/{inventory-stock-D2BNT2UL.js → inventory-stock-3TR47RNA.js} +10 -10
- package/dist/{loader-HRFMJ5TM.js → loader-ZYV22XGC.js} +15 -11
- package/dist/{location-detail-CNETNX3M.js → location-detail-ZRLP4XVJ.js} +12 -12
- package/dist/{location-fulfillment-providers-XXZ7AIUF.js → location-fulfillment-providers-CL7PKPTT.js} +20 -20
- package/dist/{location-list-RHUT7IRA.js → location-list-HW5F37YZ.js} +12 -12
- package/dist/{location-sales-channels-ZQBQ3VDH.js → location-sales-channels-Z4E5VA7M.js} +4 -4
- package/dist/{location-service-zone-create-O6GYRZEE.js → location-service-zone-create-WZXZFMA2.js} +4 -4
- package/dist/{location-service-zone-manage-areas-DBP3P27I.js → location-service-zone-manage-areas-5SYZKBQK.js} +4 -4
- package/dist/{location-service-zone-shipping-option-create-3PQ2EYD7.js → location-service-zone-shipping-option-create-Z3S7EUYH.js} +10 -10
- package/dist/{login-OKBXMSKY.js → login-JNIVGP2G.js} +10 -10
- package/dist/{manage-locations-SUJNIWWF.js → manage-locations-NGNUXP3N.js} +1 -1
- package/dist/{marketplace-add-currencies-IPE5RJF6.js → marketplace-add-currencies-ZBLGQQCX.js} +3 -3
- package/dist/{marketplace-detail-IHGJXVZS.js → marketplace-detail-RZWOCVGF.js} +15 -15
- package/dist/{marketplace-metadata-STYABOTX.js → marketplace-metadata-74YUQ6UC.js} +10 -10
- package/dist/{offer-detail-page-2G5BUOIB.js → offer-detail-page-XS52BE5U.js} +71 -25
- package/dist/{offer-variant-detail-page-V6TKNYZL.js → offer-variant-detail-page-QQGOMRUY.js} +9 -8
- package/dist/{offers-2QQFKGAX.js → offers-UUFYROYV.js} +38 -23
- package/dist/{order-create-claim-Y7ESDXLI.js → order-create-claim-AG3GMAE2.js} +5 -5
- package/dist/{order-create-edit-6L5S7KQM.js → order-create-edit-N3TDQQIT.js} +8 -8
- package/dist/{order-create-exchange-WHO3K2MW.js → order-create-exchange-ZCQBC54O.js} +15 -15
- package/dist/{order-create-refund-4ZO73NWS.js → order-create-refund-HXFCDZV5.js} +10 -10
- package/dist/{order-create-return-R5WJBQ5W.js → order-create-return-VUHKWVQM.js} +5 -5
- package/dist/{order-detail-QUGH2GXH.js → order-detail-CTZELMAQ.js} +23 -19
- package/dist/{order-edit-billing-address-BEOKFNLZ.js → order-edit-billing-address-S4YOG2EE.js} +11 -11
- package/dist/{order-edit-email-GLAQZCIT.js → order-edit-email-VSAS3M2E.js} +10 -10
- package/dist/{order-edit-shipping-address-PF54SFAG.js → order-edit-shipping-address-FZMDRJU5.js} +10 -10
- package/dist/{order-list-GMUOLGZY.js → order-list-EFBU3W6N.js} +13 -13
- package/dist/{order-metadata-VQOA3DOL.js → order-metadata-FKM3ZDNM.js} +10 -10
- package/dist/{order-request-transfer-BLQQ66IF.js → order-request-transfer-BCE6ED5E.js} +10 -10
- package/dist/pages/index.d.ts +25 -25
- package/dist/pages/index.js +107 -107
- package/dist/{payout-detail-6U2ANWOH.js → payout-detail-LY7SRCKO.js} +1 -1
- package/dist/{payout-list-3GQJQSVU.js → payout-list-WE3H7FKO.js} +5 -5
- package/dist/{price-list-configuration-BLHIGDSV.js → price-list-configuration-4UNGTKCM.js} +9 -9
- package/dist/{price-list-create-HKN72A6Q.js → price-list-create-XGRFJ74B.js} +21 -21
- package/dist/{price-list-detail-6JAMNNJW.js → price-list-detail-AE6S3CEM.js} +29 -25
- package/dist/{price-list-edit-RZQMPHXU.js → price-list-edit-4JPSL2NL.js} +26 -10
- package/dist/{price-list-list-HLWCOORV.js → price-list-list-EM3TNZQG.js} +9 -9
- package/dist/{price-list-prices-add-ST6WNQNH.js → price-list-prices-add-DF6W4N6L.js} +19 -19
- package/dist/{price-list-prices-edit-ZQE3Z3NK.js → price-list-prices-edit-AXJJTMKL.js} +10 -10
- package/dist/{product-add-existing-attributes-J6MML6MT.js → product-add-existing-attributes-UVVJDOEN.js} +15 -15
- package/dist/{product-attributes-4EPKS6MP.js → product-attributes-PCZDEFHM.js} +1 -1
- package/dist/{product-bulk-edit-TRI2KKHW.js → product-bulk-edit-FGB4T2KQ.js} +1 -1
- package/dist/{product-create-B4DTC2OM.js → product-create-3PZNLIDT.js} +22 -16
- package/dist/{product-create-attribute-BP6NN4GO.js → product-create-attribute-6AJPI6IJ.js} +2 -2
- package/dist/{product-create-variant-VDQQNHAK.js → product-create-variant-2OCZA6GW.js} +4 -4
- package/dist/{product-detail-MFJ3AIU6.js → product-detail-IVRD2OHL.js} +26 -21
- package/dist/{product-edit-26AWYWUU.js → product-edit-KMK7CMLI.js} +6 -2
- package/dist/{product-edit-attribute-AXPTES26.js → product-edit-attribute-FCEYWZWL.js} +3 -3
- package/dist/{product-list-DMQSLXM4.js → product-list-IMKQUEIM.js} +30 -27
- package/dist/{product-media-XRBLOV7D.js → product-media-B5D2HUQF.js} +4 -4
- package/dist/{product-metadata-LOF6TSJQ.js → product-metadata-6EFF4IPX.js} +10 -10
- package/dist/{product-organization-ISVMEWQG.js → product-organization-5FUCDOGD.js} +4 -4
- package/dist/{product-sales-channels-C6UUHWGB.js → product-sales-channels-GUK6FTDA.js} +4 -4
- package/dist/{product-shipping-profile-VTYQ22E4.js → product-shipping-profile-UFIRKPTG.js} +1 -1
- package/dist/{product-tag-create-AHG3Y4GE.js → product-tag-create-PSY5Q437.js} +10 -10
- package/dist/{product-tag-detail-4FL4CU5S.js → product-tag-detail-L5RXBCPS.js} +24 -24
- package/dist/{product-tag-edit-ACHNVZZP.js → product-tag-edit-NVGUS3CY.js} +10 -10
- package/dist/{product-tag-list-YPTIDXPX.js → product-tag-list-UX2GZALX.js} +24 -24
- package/dist/{product-tag-metadata-BXC7GMBB.js → product-tag-metadata-T4ZYOIXY.js} +10 -10
- package/dist/{product-type-detail-RAYCHYAF.js → product-type-detail-LJWSJ6V5.js} +20 -20
- package/dist/{product-type-list-JN4SKTFE.js → product-type-list-AQ3GEAZX.js} +5 -5
- package/dist/{product-type-metadata-24JU4JNK.js → product-type-metadata-OJJYUALT.js} +10 -10
- package/dist/{product-variant-detail-7CFNAI3A.js → product-variant-detail-FZL5OZFE.js} +11 -11
- package/dist/{product-variant-edit-C4HXFQFW.js → product-variant-edit-LSSJW4DS.js} +12 -12
- package/dist/{product-variant-metadata-5PUBLPDN.js → product-variant-metadata-D5AUINFJ.js} +10 -10
- package/dist/{profile-detail-PABUO545.js → profile-detail-PFJX3LPX.js} +1 -1
- package/dist/{promotion-add-campaign-WK36UMSF.js → promotion-add-campaign-PYEBYRHK.js} +2 -2
- package/dist/{promotion-create-7VBA6JFM.js → promotion-create-OFLXF3RZ.js} +14 -14
- package/dist/{promotion-detail-KXXWEFHW.js → promotion-detail-N7JHJGSW.js} +25 -19
- package/dist/{promotion-edit-details-YM5JPGEC.js → promotion-edit-details-GXA4FDTK.js} +25 -8
- package/dist/{promotion-list-56ZDROMH.js → promotion-list-MIL2B752.js} +9 -9
- package/dist/{refund-reason-create-UA3XS6DP.js → refund-reason-create-HTTX2UGC.js} +10 -10
- package/dist/{refund-reason-edit-3TAGKV3U.js → refund-reason-edit-I7XXP4EP.js} +10 -10
- package/dist/{refund-reason-list-PBLA5HYO.js → refund-reason-list-YYCNRERE.js} +18 -18
- package/dist/{region-add-countries-UO5A42HM.js → region-add-countries-WIJCJPOX.js} +3 -3
- package/dist/{region-create-7NA6RKWS.js → region-create-B3I3W7QJ.js} +3 -3
- package/dist/{region-detail-636IAPYK.js → region-detail-3OFMBGML.js} +5 -5
- package/dist/{region-list-GIU6NFI4.js → region-list-DD5S5BD2.js} +5 -5
- package/dist/{region-metadata-NRV3L42D.js → region-metadata-RRUP56B2.js} +10 -10
- package/dist/{reservation-create-ANLVF7EC.js → reservation-create-3RVQVMRF.js} +2 -2
- package/dist/{reservation-detail-MAWHNY2H.js → reservation-detail-QOVPIIMC.js} +20 -16
- package/dist/{reservation-list-UWZRPRPH.js → reservation-list-EJPMH7UX.js} +7 -7
- package/dist/{reservation-metadata-ZFKKAOWG.js → reservation-metadata-OAEUUCRG.js} +10 -10
- package/dist/{reset-password-UDA5ZMTZ.js → reset-password-AZ2RPOG5.js} +1 -1
- package/dist/{return-reason-list-NPAAMB5H.js → return-reason-list-PFDQCDWA.js} +10 -10
- package/dist/{sales-channel-add-products-2BBIMN6N.js → sales-channel-add-products-FXWQ4LZ6.js} +18 -18
- package/dist/{sales-channel-create-OC2BB67N.js → sales-channel-create-77PRY5T6.js} +2 -2
- package/dist/{sales-channel-detail-D5R7HPC7.js → sales-channel-detail-HVPDMOUJ.js} +20 -20
- package/dist/{sales-channel-edit-V62TBRC4.js → sales-channel-edit-PBN2XYEI.js} +2 -2
- package/dist/{sales-channel-list-LVW7XE7K.js → sales-channel-list-WBG6DUZJ.js} +13 -13
- package/dist/{sales-channel-metadata-5W4OZZYI.js → sales-channel-metadata-RXT26TCT.js} +10 -10
- package/dist/{shipping-option-type-create-GHOCZT64.js → shipping-option-type-create-2EVIHSGN.js} +10 -10
- package/dist/{shipping-option-type-detail-W32EHTBS.js → shipping-option-type-detail-BKFYUX2T.js} +11 -11
- package/dist/{shipping-option-type-edit-KRIP6HTC.js → shipping-option-type-edit-LTH6PE7B.js} +10 -10
- package/dist/{shipping-option-type-list-4FML2ZX5.js → shipping-option-type-list-7F5R6ACH.js} +15 -15
- package/dist/{shipping-profile-detail-UFGQ3CCH.js → shipping-profile-detail-FOPCKNOZ.js} +1 -1
- package/dist/{shipping-profile-metadata-52ZW757T.js → shipping-profile-metadata-WRFZ55C3.js} +10 -10
- package/dist/{shipping-profiles-list-PZQVMKR4.js → shipping-profiles-list-KXXYHJIY.js} +5 -5
- package/dist/{store-address-edit-IJ2UW6WC.js → store-address-edit-M6A37RFY.js} +1 -1
- package/dist/{store-bulk-edit-OIYKZ6AZ.js → store-bulk-edit-SYHKAJ6D.js} +2 -2
- package/dist/{store-closure-edit-H3EKROXP.js → store-closure-edit-VE7D5F7I.js} +1 -1
- package/dist/{store-create-Y3BGG5P5.js → store-create-6OQW7F4U.js} +11 -11
- package/dist/{store-details-56IHJJQV.js → store-details-YV4U4GZK.js} +25 -42
- package/dist/{store-edit-HWOGEOCH.js → store-edit-33N7EQE2.js} +49 -15
- package/dist/{store-list-5DRW6QZF.js → store-list-VTV3TYJN.js} +22 -22
- package/dist/{store-member-invite-7ORIMT73.js → store-member-invite-T5GCT6HV.js} +2 -2
- package/dist/{store-payment-details-edit-ERRJDLBO.js → store-payment-details-edit-JUM745OG.js} +1 -1
- package/dist/{store-professional-details-edit-VD2J4VYV.js → store-professional-details-edit-NKBYKBCA.js} +1 -1
- package/dist/{tax-region-create-GGDCD2VU.js → tax-region-create-7FXHJKVB.js} +11 -11
- package/dist/{tax-region-detail-L7STT6C7.js → tax-region-detail-6AFMQQP7.js} +16 -16
- package/dist/{tax-region-edit-6JOV3POI.js → tax-region-edit-N64TGNAG.js} +10 -10
- package/dist/{tax-region-list-NIAT626R.js → tax-region-list-IBT5YP3U.js} +4 -4
- package/dist/{tax-region-metadata-4P667IOY.js → tax-region-metadata-MKXFQ5B7.js} +10 -10
- package/dist/{tax-region-province-detail-2GRPOSWS.js → tax-region-province-detail-CBCYMSGF.js} +15 -15
- package/dist/{tax-region-tax-override-create-R5GKEOK6.js → tax-region-tax-override-create-DFOUTYWV.js} +23 -23
- package/dist/{tax-region-tax-override-edit-MLJKNLAR.js → tax-region-tax-override-edit-PY7XG5KR.js} +23 -23
- package/dist/{user-detail-452E7GII.js → user-detail-4FDNMJ6W.js} +2 -2
- package/dist/{user-invite-FCWARLW5.js → user-invite-LSWNFFLT.js} +3 -3
- package/dist/{user-list-OU6WS25V.js → user-list-B66HEMCD.js} +5 -5
- package/dist/{user-metadata-CHHV7S3A.js → user-metadata-5UFWFXLX.js} +10 -10
- package/package.json +17 -12
- package/dist/category-organize-H4JYCHDA.js +0 -112
- package/dist/chunk-LFKTHNWI.js +0 -83
- package/dist/{chunk-7OKYEA6I.js → chunk-HC2TEEKQ.js} +3 -3
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
// src/pages/users/user-detail/user-detail.tsx
|
|
16
16
|
import { Children } from "react";
|
|
17
17
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
18
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
18
19
|
|
|
19
20
|
// src/pages/users/user-detail/components/user-general-section/user-general-section.tsx
|
|
20
21
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -108,7 +109,7 @@ var Root = ({ children }) => {
|
|
|
108
109
|
if (isError) {
|
|
109
110
|
throw error;
|
|
110
111
|
}
|
|
111
|
-
return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children: /* @__PURE__ */ jsx2(UserGeneralSection, { user }) });
|
|
112
|
+
return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children: /* @__PURE__ */ jsx2(WidgetZone, { id: "users.detail.main", data: user, children: /* @__PURE__ */ jsx2(UserGeneralSection, { user }) }) });
|
|
112
113
|
};
|
|
113
114
|
var UserDetailPage = Object.assign(Root, {
|
|
114
115
|
GeneralSection: UserGeneralSection
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
_DataTable,
|
|
9
9
|
useDataTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GRFWCCUW.js";
|
|
11
11
|
import {
|
|
12
12
|
NoRecords
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PPT3477.js";
|
|
14
14
|
import {
|
|
15
15
|
ActionMenu
|
|
16
16
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -211,6 +211,7 @@ var OfferPricingSection = ({ offer }) => {
|
|
|
211
211
|
// src/pages/offers/[id]/_components/offer-store-sidebar.tsx
|
|
212
212
|
import { TriangleRightMini } from "@medusajs/icons";
|
|
213
213
|
import { Avatar, Container as Container3, Heading as Heading3 } from "@medusajs/ui";
|
|
214
|
+
import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
|
|
214
215
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
215
216
|
import { Link } from "react-router-dom";
|
|
216
217
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -268,7 +269,8 @@ var OfferStoreSidebar = ({ seller }) => {
|
|
|
268
269
|
"data-testid": "offer-detail-store-link",
|
|
269
270
|
children: Inner
|
|
270
271
|
}
|
|
271
|
-
) })
|
|
272
|
+
) }),
|
|
273
|
+
/* @__PURE__ */ jsx3(DisplayExtensionZone, { model: "offer", zone: "store", data: seller })
|
|
272
274
|
] });
|
|
273
275
|
};
|
|
274
276
|
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
getFormattedAddress
|
|
9
9
|
} from "./chunk-W6Y3PPU5.js";
|
|
10
|
-
import {
|
|
11
|
-
PlaceholderCell
|
|
12
|
-
} from "./chunk-PHOCVOZ5.js";
|
|
13
10
|
import {
|
|
14
11
|
DataTable
|
|
15
12
|
} from "./chunk-C4XKPQ6T.js";
|
|
13
|
+
import {
|
|
14
|
+
PlaceholderCell
|
|
15
|
+
} from "./chunk-PHOCVOZ5.js";
|
|
16
16
|
import {
|
|
17
17
|
TwoColumnPage
|
|
18
18
|
} from "./chunk-E74OUNA3.js";
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
import { Children } from "react";
|
|
35
35
|
import { ShoppingBag, TruckFast } from "@medusajs/icons";
|
|
36
36
|
import { Container, Heading } from "@medusajs/ui";
|
|
37
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
37
38
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
38
39
|
|
|
39
40
|
// src/pages/locations/location-list/constants.ts
|
|
@@ -339,7 +340,7 @@ var LinksSection = () => {
|
|
|
339
340
|
};
|
|
340
341
|
var Root = ({ children }) => {
|
|
341
342
|
return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(TwoColumnPage, { showJSON: true, children }) : /* @__PURE__ */ jsxs2(TwoColumnPage, { showJSON: true, children: [
|
|
342
|
-
/* @__PURE__ */ jsx3(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx3(LocationListContent, {}) }),
|
|
343
|
+
/* @__PURE__ */ jsx3(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx3(WidgetZone, { id: "locations.list", children: /* @__PURE__ */ jsx3(LocationListContent, {}) }) }),
|
|
343
344
|
/* @__PURE__ */ jsx3(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx3(LinksSection, {}) })
|
|
344
345
|
] });
|
|
345
346
|
};
|
|
@@ -3,11 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-THHRRYRS.js";
|
|
4
4
|
|
|
5
5
|
// src/hooks/table/query/use-product-table-query.tsx
|
|
6
|
+
import { useExtension, withLinkFields } from "@mercurjs/dashboard-shared";
|
|
6
7
|
var DEFAULT_FIELDS = "id,title,handle,status,*collection,*categories,variants.id,thumbnail";
|
|
7
8
|
var useProductTableQuery = ({
|
|
8
9
|
prefix,
|
|
9
10
|
pageSize = 20
|
|
10
11
|
}) => {
|
|
12
|
+
const links = useExtension().getLinks("product");
|
|
11
13
|
const queryObject = useQueryParams(
|
|
12
14
|
[
|
|
13
15
|
"offset",
|
|
@@ -48,7 +50,7 @@ var useProductTableQuery = ({
|
|
|
48
50
|
type_id: type_id?.split(","),
|
|
49
51
|
status: status?.split(","),
|
|
50
52
|
q,
|
|
51
|
-
fields: DEFAULT_FIELDS
|
|
53
|
+
fields: withLinkFields(DEFAULT_FIELDS, links)
|
|
52
54
|
};
|
|
53
55
|
return {
|
|
54
56
|
searchParams,
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
useAttributeTableQuery
|
|
9
9
|
} from "./chunk-4YWKKCTT.js";
|
|
10
|
-
import {
|
|
11
|
-
_DataTable,
|
|
12
|
-
useDataTable
|
|
13
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
14
10
|
import {
|
|
15
11
|
SingleColumnPage
|
|
16
12
|
} from "./chunk-H6MYB7GB.js";
|
|
13
|
+
import {
|
|
14
|
+
_DataTable,
|
|
15
|
+
useDataTable
|
|
16
|
+
} from "./chunk-GRFWCCUW.js";
|
|
17
17
|
import {
|
|
18
18
|
productAttributesQueryKeys,
|
|
19
19
|
useDeleteProductAttribute,
|
|
@@ -45,6 +45,7 @@ var attributeListLoader = async (_args) => {
|
|
|
45
45
|
|
|
46
46
|
// src/pages/attributes/attribute-list/attribute-list.tsx
|
|
47
47
|
import { Children as Children3 } from "react";
|
|
48
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
48
49
|
|
|
49
50
|
// src/pages/attributes/attribute-list/components/attribute-list-view/attribute-list-view.tsx
|
|
50
51
|
import { Children as Children2 } from "react";
|
|
@@ -388,7 +389,7 @@ var AttributeListView = ({
|
|
|
388
389
|
// src/pages/attributes/attribute-list/attribute-list.tsx
|
|
389
390
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
390
391
|
var Root = ({ children }) => {
|
|
391
|
-
return /* @__PURE__ */ jsx5(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(AttributeListView, {}) });
|
|
392
|
+
return /* @__PURE__ */ jsx5(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx5(WidgetZone, { id: "attributes.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(AttributeListView, {}) }) });
|
|
392
393
|
};
|
|
393
394
|
var AttributeListPage = Object.assign(Root, {
|
|
394
395
|
Table: AttributeListView,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-E74OUNA3.js";
|
|
26
26
|
import {
|
|
27
27
|
NoRecords
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7PPT3477.js";
|
|
29
29
|
import {
|
|
30
30
|
useDeleteFulfillmentServiceZone,
|
|
31
31
|
useDeleteFulfillmentSet
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./chunk-BDGZ4EQO.js";
|
|
45
45
|
import {
|
|
46
46
|
useSalesChannels
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZOTBKQLG.js";
|
|
48
48
|
import {
|
|
49
49
|
TwoColumnPageSkeleton
|
|
50
50
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -651,6 +651,9 @@ function LocationsSalesChannelsSection({
|
|
|
651
651
|
}
|
|
652
652
|
var locations_sales_channels_section_default = LocationsSalesChannelsSection;
|
|
653
653
|
|
|
654
|
+
// src/pages/locations/location-detail/location-detail.tsx
|
|
655
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
656
|
+
|
|
654
657
|
// src/pages/locations/location-detail/components/location-fulfillment-providers-section/location-fulfillment-providers-section.tsx
|
|
655
658
|
import { HandTruck, PencilSquare as PencilSquare3 } from "@medusajs/icons";
|
|
656
659
|
import { Container as Container3, Heading as Heading3 } from "@medusajs/ui";
|
|
@@ -749,11 +752,11 @@ var Root = ({ children }) => {
|
|
|
749
752
|
hasOutlet: true,
|
|
750
753
|
"data-testid": "location-detail-page",
|
|
751
754
|
children: [
|
|
752
|
-
/* @__PURE__ */ jsx4(TwoColumnPage.Main, { "data-testid": "location-detail-main", children: /* @__PURE__ */ jsx4(LocationGeneralSection, { location }) }),
|
|
753
|
-
/* @__PURE__ */
|
|
755
|
+
/* @__PURE__ */ jsx4(TwoColumnPage.Main, { "data-testid": "location-detail-main", children: /* @__PURE__ */ jsx4(WidgetZone, { id: "locations.detail.main", data: location, children: /* @__PURE__ */ jsx4(LocationGeneralSection, { location }) }) }),
|
|
756
|
+
/* @__PURE__ */ jsx4(TwoColumnPage.Sidebar, { "data-testid": "location-detail-sidebar", children: /* @__PURE__ */ jsxs4(WidgetZone, { id: "locations.detail.side", data: location, children: [
|
|
754
757
|
/* @__PURE__ */ jsx4(locations_sales_channels_section_default, { location }),
|
|
755
758
|
/* @__PURE__ */ jsx4(location_fulfillment_providers_section_default, { location })
|
|
756
|
-
] })
|
|
759
|
+
] }) })
|
|
757
760
|
]
|
|
758
761
|
}
|
|
759
762
|
);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I5HY5Q3K.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-APMBU7ZV.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableQuery
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
_DataTable,
|
|
12
|
-
useDataTable
|
|
13
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
9
|
+
} from "./chunk-5NSOIZFB.js";
|
|
14
10
|
import {
|
|
15
11
|
SingleColumnPage
|
|
16
12
|
} from "./chunk-H6MYB7GB.js";
|
|
13
|
+
import {
|
|
14
|
+
_DataTable,
|
|
15
|
+
useDataTable
|
|
16
|
+
} from "./chunk-GRFWCCUW.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionMenu
|
|
19
19
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -21,17 +21,18 @@ import {
|
|
|
21
21
|
useDeleteSalesChannel,
|
|
22
22
|
useSalesChannel,
|
|
23
23
|
useSalesChannelRemoveProducts
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZOTBKQLG.js";
|
|
25
25
|
import {
|
|
26
26
|
SingleColumnPageSkeleton
|
|
27
27
|
} from "./chunk-INNFZYX2.js";
|
|
28
28
|
import {
|
|
29
29
|
useProducts
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MMKUMSZS.js";
|
|
31
31
|
|
|
32
32
|
// src/pages/sales-channels/sales-channel-detail/sales-channel-detail.tsx
|
|
33
33
|
import { Children } from "react";
|
|
34
34
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
35
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
35
36
|
|
|
36
37
|
// src/pages/sales-channels/sales-channel-detail/components/sales-channel-general-section/sales-channel-general-section.tsx
|
|
37
38
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -345,10 +346,10 @@ var Root = ({ children }) => {
|
|
|
345
346
|
if (isLoading || !sales_channel) {
|
|
346
347
|
return /* @__PURE__ */ jsx3(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
|
|
347
348
|
}
|
|
348
|
-
return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: sales_channel, children }) : /* @__PURE__ */
|
|
349
|
+
return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: sales_channel, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: sales_channel, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "sales-channels.detail.main", data: sales_channel, children: [
|
|
349
350
|
/* @__PURE__ */ jsx3(SalesChannelGeneralSection, { salesChannel: sales_channel }),
|
|
350
351
|
/* @__PURE__ */ jsx3(SalesChannelProductSection, { salesChannel: sales_channel })
|
|
351
|
-
] });
|
|
352
|
+
] }) });
|
|
352
353
|
};
|
|
353
354
|
var SalesChannelDetailPage = Object.assign(Root, {
|
|
354
355
|
GeneralSection: SalesChannelGeneralSection,
|
|
@@ -4,33 +4,35 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
PlaceholderCell
|
|
6
6
|
} from "./chunk-PHOCVOZ5.js";
|
|
7
|
-
import {
|
|
8
|
-
_DataTable,
|
|
9
|
-
useDataTable
|
|
10
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
11
7
|
import {
|
|
12
8
|
SingleColumnPage
|
|
13
9
|
} from "./chunk-H6MYB7GB.js";
|
|
14
10
|
import {
|
|
15
11
|
useQueryParams
|
|
16
12
|
} from "./chunk-THHRRYRS.js";
|
|
13
|
+
import {
|
|
14
|
+
_DataTable,
|
|
15
|
+
useDataTable
|
|
16
|
+
} from "./chunk-GRFWCCUW.js";
|
|
17
17
|
import {
|
|
18
18
|
useStockLocations
|
|
19
19
|
} from "./chunk-VXW3BCN2.js";
|
|
20
20
|
import {
|
|
21
21
|
useDeleteReservationItem,
|
|
22
22
|
useReservationItems
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WX4ABVXL.js";
|
|
24
24
|
import {
|
|
25
25
|
ActionMenu
|
|
26
26
|
} from "./chunk-BDGZ4EQO.js";
|
|
27
27
|
|
|
28
28
|
// src/pages/reservations/reservation-list/reservation-list.tsx
|
|
29
29
|
import { Children as Children2 } from "react";
|
|
30
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
30
31
|
|
|
31
32
|
// src/pages/reservations/reservation-list/components/reservation-list-table/reservation-list-table.tsx
|
|
32
33
|
import { Button, Container, Heading, Text } from "@medusajs/ui";
|
|
33
|
-
import {
|
|
34
|
+
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
35
|
+
import { Children, useMemo as useMemo2 } from "react";
|
|
34
36
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
35
37
|
import { Link } from "react-router-dom";
|
|
36
38
|
|
|
@@ -255,10 +257,15 @@ var ReservationListDataTable = () => {
|
|
|
255
257
|
pageSize: PAGE_SIZE
|
|
256
258
|
});
|
|
257
259
|
const { reservations, count, isPending, isError, error } = useReservationItems({
|
|
258
|
-
...searchParams
|
|
260
|
+
...searchParams,
|
|
261
|
+
...useLinkQuery("reservation")
|
|
259
262
|
});
|
|
260
|
-
const
|
|
261
|
-
const columns =
|
|
263
|
+
const baseFilters = useReservationTableFilters();
|
|
264
|
+
const { columns, filters: extFilters } = useColumns();
|
|
265
|
+
const filters = useMemo2(
|
|
266
|
+
() => [...baseFilters, ...extFilters],
|
|
267
|
+
[baseFilters, extFilters]
|
|
268
|
+
);
|
|
262
269
|
const { table } = useDataTable({
|
|
263
270
|
data: reservations || [],
|
|
264
271
|
columns,
|
|
@@ -286,6 +293,27 @@ var ReservationListDataTable = () => {
|
|
|
286
293
|
}
|
|
287
294
|
);
|
|
288
295
|
};
|
|
296
|
+
var useColumns = () => {
|
|
297
|
+
const base = useReservationTableColumns();
|
|
298
|
+
const actionsColumn = base.filter(
|
|
299
|
+
(c) => c.id === "actions"
|
|
300
|
+
);
|
|
301
|
+
const dataColumns = base.filter(
|
|
302
|
+
(c) => c.id !== "actions"
|
|
303
|
+
);
|
|
304
|
+
const { columns: extended, filters } = useExtendableTable({
|
|
305
|
+
model: "reservation",
|
|
306
|
+
columns: dataColumns
|
|
307
|
+
});
|
|
308
|
+
const columns = useMemo2(
|
|
309
|
+
() => [
|
|
310
|
+
...extended,
|
|
311
|
+
...actionsColumn
|
|
312
|
+
],
|
|
313
|
+
[extended, actionsColumn]
|
|
314
|
+
);
|
|
315
|
+
return { columns, filters };
|
|
316
|
+
};
|
|
289
317
|
var ReservationListTable = ({ children }) => {
|
|
290
318
|
return /* @__PURE__ */ jsx3(Container, { className: "divide-y p-0", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
291
319
|
/* @__PURE__ */ jsx3(ReservationListHeader, {}),
|
|
@@ -296,7 +324,7 @@ var ReservationListTable = ({ children }) => {
|
|
|
296
324
|
// src/pages/reservations/reservation-list/reservation-list.tsx
|
|
297
325
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
298
326
|
var Root = ({ children }) => {
|
|
299
|
-
return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ReservationListTable, {}) });
|
|
327
|
+
return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx4(WidgetZone, { id: "reservation.list", children: /* @__PURE__ */ jsx4(ReservationListTable, {}) }) });
|
|
300
328
|
};
|
|
301
329
|
var ReservationListPage = Object.assign(Root, {
|
|
302
330
|
Table: ReservationListTable,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductCategory
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QVIX6O76.js";
|
|
4
4
|
|
|
5
5
|
// src/pages/categories/common/hooks/use-delete-product-category-action.tsx
|
|
6
6
|
import { toast, usePrompt } from "@medusajs/ui";
|
|
@@ -25,11 +25,7 @@ var useDeleteProductCategoryAction = (category) => {
|
|
|
25
25
|
}
|
|
26
26
|
await mutateAsync(void 0, {
|
|
27
27
|
onSuccess: () => {
|
|
28
|
-
toast.success(
|
|
29
|
-
t("categories.delete.successToast", {
|
|
30
|
-
name: category.name
|
|
31
|
-
})
|
|
32
|
-
);
|
|
28
|
+
toast.success(t("categories.delete.successToast"));
|
|
33
29
|
navigate("/categories", {
|
|
34
30
|
replace: true
|
|
35
31
|
});
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-G5KNNOXX.js";
|
|
7
7
|
import {
|
|
8
8
|
useSellers
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SAU35JEB.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductCategories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QVIX6O76.js";
|
|
13
13
|
|
|
14
14
|
// src/pages/commissions/common/hooks/use-delete-commission-rule-action.tsx
|
|
15
15
|
import { toast, usePrompt } from "@medusajs/ui";
|
|
@@ -10,7 +10,7 @@ var NoResults = ({ title, message, className }) => {
|
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
className: clx(
|
|
13
|
-
"flex h-[400px]
|
|
13
|
+
"flex min-h-[400px] size-full items-center justify-center",
|
|
14
14
|
className
|
|
15
15
|
),
|
|
16
16
|
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-y-2", children: [
|
|
@@ -40,7 +40,7 @@ var NoRecords = ({
|
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
className: clx(
|
|
43
|
-
"flex h-[400px]
|
|
43
|
+
"flex min-h-[400px] size-full flex-col items-center justify-center gap-y-4",
|
|
44
44
|
className
|
|
45
45
|
),
|
|
46
46
|
children: [
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-FWJLS7XD.js";
|
|
14
14
|
import {
|
|
15
15
|
useCreateCampaign
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MTHPNKQ4.js";
|
|
17
17
|
|
|
18
18
|
// src/pages/campaigns/campaign-create/components/create-campaign-form/create-campaign-form.tsx
|
|
19
19
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -26,7 +26,7 @@ var customerGroupsQueryKeys = queryKeysFactory(
|
|
|
26
26
|
var useCustomerGroup = (id, query, options) => {
|
|
27
27
|
const { data, ...rest } = useQuery({
|
|
28
28
|
queryFn: () => sdk.admin.customerGroups.$id.query({ $id: id, ...query }),
|
|
29
|
-
queryKey: customerGroupsQueryKeys.detail(id),
|
|
29
|
+
queryKey: customerGroupsQueryKeys.detail(id, query),
|
|
30
30
|
...options
|
|
31
31
|
});
|
|
32
32
|
return { ...data, ...rest };
|
|
@@ -147,7 +147,7 @@ var customerAddressesQueryKeys = queryKeysFactory(
|
|
|
147
147
|
);
|
|
148
148
|
var useCustomer = (id, query, options) => {
|
|
149
149
|
const { data, ...rest } = useQuery2({
|
|
150
|
-
queryKey: customersQueryKeys.detail(id),
|
|
150
|
+
queryKey: customersQueryKeys.detail(id, query),
|
|
151
151
|
queryFn: () => sdk.admin.customers.$id.query({ $id: id, ...query }),
|
|
152
152
|
...options
|
|
153
153
|
});
|
|
@@ -271,13 +271,14 @@ var useCustomerAddress = (id, addressId, options) => {
|
|
|
271
271
|
$id: id,
|
|
272
272
|
$addressId: addressId
|
|
273
273
|
}),
|
|
274
|
-
queryKey: customerAddressesQueryKeys.detail(
|
|
274
|
+
queryKey: customerAddressesQueryKeys.detail(addressId),
|
|
275
275
|
...options
|
|
276
276
|
});
|
|
277
277
|
return { ...data, ...rest };
|
|
278
278
|
};
|
|
279
279
|
|
|
280
280
|
export {
|
|
281
|
+
customersQueryKeys,
|
|
281
282
|
useCustomer,
|
|
282
283
|
useCustomers,
|
|
283
284
|
useCreateCustomer,
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SectionRow
|
|
3
|
+
} from "./chunk-3XPXUIK3.js";
|
|
4
|
+
import {
|
|
5
|
+
ActionMenu
|
|
6
|
+
} from "./chunk-BDGZ4EQO.js";
|
|
7
|
+
|
|
8
|
+
// src/pages/inventory/inventory-detail/components/inventory-item-general-section.tsx
|
|
9
|
+
import { Container, Heading } from "@medusajs/ui";
|
|
10
|
+
import { PencilSquare } from "@medusajs/icons";
|
|
11
|
+
import { useTranslation } from "react-i18next";
|
|
12
|
+
import { DisplayExtensionZone, DisplayField } from "@mercurjs/dashboard-shared";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
var InventoryItemGeneralSection = ({
|
|
15
|
+
inventoryItem
|
|
16
|
+
}) => {
|
|
17
|
+
const { t } = useTranslation();
|
|
18
|
+
const getQuantityFormat = (quantity) => {
|
|
19
|
+
if (quantity !== void 0 && !isNaN(quantity)) {
|
|
20
|
+
return t("inventory.quantityAcrossLocations", {
|
|
21
|
+
quantity,
|
|
22
|
+
locations: inventoryItem.location_levels?.length
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return "-";
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": "inventory-item-general-section", children: [
|
|
28
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "inventory-item-general-header", children: [
|
|
29
|
+
/* @__PURE__ */ jsx(
|
|
30
|
+
DisplayField,
|
|
31
|
+
{
|
|
32
|
+
model: "inventory_item",
|
|
33
|
+
zone: "general",
|
|
34
|
+
id: "title",
|
|
35
|
+
data: inventoryItem,
|
|
36
|
+
children: /* @__PURE__ */ jsxs(Heading, { "data-testid": "inventory-item-general-title", children: [
|
|
37
|
+
inventoryItem.title ?? inventoryItem.sku,
|
|
38
|
+
" ",
|
|
39
|
+
t("fields.details")
|
|
40
|
+
] })
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ jsx(
|
|
44
|
+
ActionMenu,
|
|
45
|
+
{
|
|
46
|
+
groups: [
|
|
47
|
+
{
|
|
48
|
+
actions: [
|
|
49
|
+
{
|
|
50
|
+
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
51
|
+
label: t("actions.edit"),
|
|
52
|
+
to: "edit"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"data-testid": "inventory-item-general-action-menu"
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ jsx(
|
|
62
|
+
DisplayField,
|
|
63
|
+
{
|
|
64
|
+
model: "inventory_item",
|
|
65
|
+
zone: "general",
|
|
66
|
+
id: "sku",
|
|
67
|
+
data: inventoryItem,
|
|
68
|
+
children: /* @__PURE__ */ jsx(SectionRow, { title: t("fields.sku"), value: inventoryItem.sku ?? "-", "data-testid": "inventory-item-sku-row" })
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
/* @__PURE__ */ jsx(
|
|
72
|
+
DisplayField,
|
|
73
|
+
{
|
|
74
|
+
model: "inventory_item",
|
|
75
|
+
zone: "general",
|
|
76
|
+
id: "stocked_quantity",
|
|
77
|
+
data: inventoryItem,
|
|
78
|
+
children: /* @__PURE__ */ jsx(
|
|
79
|
+
SectionRow,
|
|
80
|
+
{
|
|
81
|
+
title: t("fields.inStock"),
|
|
82
|
+
value: getQuantityFormat(inventoryItem.stocked_quantity),
|
|
83
|
+
"data-testid": "inventory-item-in-stock-row"
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
/* @__PURE__ */ jsx(
|
|
89
|
+
DisplayField,
|
|
90
|
+
{
|
|
91
|
+
model: "inventory_item",
|
|
92
|
+
zone: "general",
|
|
93
|
+
id: "reserved_quantity",
|
|
94
|
+
data: inventoryItem,
|
|
95
|
+
children: /* @__PURE__ */ jsx(
|
|
96
|
+
SectionRow,
|
|
97
|
+
{
|
|
98
|
+
title: t("inventory.reserved"),
|
|
99
|
+
value: getQuantityFormat(inventoryItem.reserved_quantity),
|
|
100
|
+
"data-testid": "inventory-item-reserved-row"
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
/* @__PURE__ */ jsx(
|
|
106
|
+
DisplayField,
|
|
107
|
+
{
|
|
108
|
+
model: "inventory_item",
|
|
109
|
+
zone: "general",
|
|
110
|
+
id: "available_quantity",
|
|
111
|
+
data: inventoryItem,
|
|
112
|
+
children: /* @__PURE__ */ jsx(
|
|
113
|
+
SectionRow,
|
|
114
|
+
{
|
|
115
|
+
title: t("inventory.available"),
|
|
116
|
+
value: getQuantityFormat(
|
|
117
|
+
inventoryItem.stocked_quantity - inventoryItem.reserved_quantity
|
|
118
|
+
),
|
|
119
|
+
"data-testid": "inventory-item-available-row"
|
|
120
|
+
}
|
|
121
|
+
)
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
/* @__PURE__ */ jsx(
|
|
125
|
+
DisplayExtensionZone,
|
|
126
|
+
{
|
|
127
|
+
model: "inventory_item",
|
|
128
|
+
zone: "general",
|
|
129
|
+
data: inventoryItem,
|
|
130
|
+
builtInFieldIds: [
|
|
131
|
+
"title",
|
|
132
|
+
"sku",
|
|
133
|
+
"stocked_quantity",
|
|
134
|
+
"reserved_quantity",
|
|
135
|
+
"available_quantity"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
] });
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export {
|
|
143
|
+
InventoryItemGeneralSection
|
|
144
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_dist
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VYSB4CTB.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTags
|
|
6
6
|
} from "./chunk-ABS7HMLY.js";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-EWFOFSF7.js";
|
|
10
10
|
import {
|
|
11
11
|
useCollections
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FVG5DTS6.js";
|
|
13
13
|
import {
|
|
14
14
|
useProductCategories
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QVIX6O76.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./chunk-NBMM2TZK.js";
|