@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
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// src/pages/profile/profile-detail/profile-detail.tsx
|
|
18
18
|
import { Children } from "react";
|
|
19
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
19
20
|
|
|
20
21
|
// src/pages/profile/profile-detail/components/profile-general-section/profile-general-section.tsx
|
|
21
22
|
import { PencilSquare } from "@medusajs/icons";
|
|
@@ -74,7 +75,7 @@ var Root = ({ children }) => {
|
|
|
74
75
|
if (isError) {
|
|
75
76
|
throw error;
|
|
76
77
|
}
|
|
77
|
-
return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children: /* @__PURE__ */ jsx2(ProfileGeneralSection, { user }) });
|
|
78
|
+
return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children: /* @__PURE__ */ jsx2(WidgetZone, { id: "profile.detail.main", data: user, children: /* @__PURE__ */ jsx2(ProfileGeneralSection, { user }) }) });
|
|
78
79
|
};
|
|
79
80
|
var ProfileDetailPage = Object.assign(Root, {
|
|
80
81
|
GeneralSection: ProfileGeneralSection
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductCategoryAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7CQD5AQ6.js";
|
|
4
4
|
import {
|
|
5
5
|
TextCell,
|
|
6
6
|
TextHeader
|
|
@@ -19,25 +19,26 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
Thumbnail
|
|
21
21
|
} from "./chunk-WIYFXWRI.js";
|
|
22
|
-
import {
|
|
23
|
-
_DataTable,
|
|
24
|
-
useDataTable
|
|
25
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
26
22
|
import {
|
|
27
23
|
SingleColumnPage
|
|
28
24
|
} from "./chunk-H6MYB7GB.js";
|
|
29
25
|
import {
|
|
30
26
|
useQueryParams
|
|
31
27
|
} from "./chunk-THHRRYRS.js";
|
|
28
|
+
import {
|
|
29
|
+
_DataTable,
|
|
30
|
+
useDataTable
|
|
31
|
+
} from "./chunk-GRFWCCUW.js";
|
|
32
32
|
import {
|
|
33
33
|
ActionMenu
|
|
34
34
|
} from "./chunk-BDGZ4EQO.js";
|
|
35
35
|
import {
|
|
36
36
|
useProductCategories
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QVIX6O76.js";
|
|
38
38
|
|
|
39
39
|
// src/pages/categories/category-list/category-list.tsx
|
|
40
40
|
import { Children as Children3 } from "react";
|
|
41
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
41
42
|
|
|
42
43
|
// src/pages/categories/category-list/components/category-list-table/category-list-table.tsx
|
|
43
44
|
import { Children as Children2 } from "react";
|
|
@@ -76,6 +77,7 @@ var CategoryListHeader = ({
|
|
|
76
77
|
|
|
77
78
|
// src/pages/categories/category-list/components/category-list-table/category-list-data-table.tsx
|
|
78
79
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
80
|
+
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
79
81
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
80
82
|
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
|
81
83
|
import { useMemo as useMemo2 } from "react";
|
|
@@ -194,14 +196,22 @@ var PAGE_SIZE = 20;
|
|
|
194
196
|
var CategoryListDataTable = () => {
|
|
195
197
|
const { raw, searchParams } = useCategoryTableQuery({ pageSize: PAGE_SIZE });
|
|
196
198
|
const imageFields = "media_images.id,media_images.url,media_images.type,media_images.is_thumbnail,media_images.is_banner";
|
|
199
|
+
const ancestorsLinkQuery = useLinkQuery(
|
|
200
|
+
"category",
|
|
201
|
+
`id,name,handle,is_active,is_internal,parent_category,${imageFields}`
|
|
202
|
+
);
|
|
203
|
+
const descendantsLinkQuery = useLinkQuery(
|
|
204
|
+
"category",
|
|
205
|
+
`id,name,category_children,handle,is_internal,is_active,${imageFields}`
|
|
206
|
+
);
|
|
197
207
|
const query = raw.q ? {
|
|
198
208
|
include_ancestors_tree: true,
|
|
199
|
-
|
|
209
|
+
...ancestorsLinkQuery,
|
|
200
210
|
...searchParams
|
|
201
211
|
} : {
|
|
202
212
|
include_descendants_tree: true,
|
|
203
213
|
parent_category_id: "null",
|
|
204
|
-
|
|
214
|
+
...descendantsLinkQuery,
|
|
205
215
|
...searchParams
|
|
206
216
|
};
|
|
207
217
|
const { product_categories, count, isLoading, isError, error } = useProductCategories(
|
|
@@ -274,9 +284,13 @@ var CategoryRowActions = ({
|
|
|
274
284
|
var columnHelper2 = createColumnHelper2();
|
|
275
285
|
var useColumns = () => {
|
|
276
286
|
const base = useCategoryTableColumns();
|
|
287
|
+
const { columns: extended } = useExtendableTable({
|
|
288
|
+
model: "category",
|
|
289
|
+
columns: base
|
|
290
|
+
});
|
|
277
291
|
return useMemo2(
|
|
278
292
|
() => [
|
|
279
|
-
...
|
|
293
|
+
...extended,
|
|
280
294
|
columnHelper2.display({
|
|
281
295
|
id: "actions",
|
|
282
296
|
cell: ({ row }) => {
|
|
@@ -284,7 +298,7 @@ var useColumns = () => {
|
|
|
284
298
|
}
|
|
285
299
|
})
|
|
286
300
|
],
|
|
287
|
-
[
|
|
301
|
+
[extended]
|
|
288
302
|
);
|
|
289
303
|
};
|
|
290
304
|
|
|
@@ -300,7 +314,7 @@ var CategoryListTable = ({ children }) => {
|
|
|
300
314
|
// src/pages/categories/category-list/category-list.tsx
|
|
301
315
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
302
316
|
var Root = ({ children }) => {
|
|
303
|
-
return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(CategoryListTable, {}) });
|
|
317
|
+
return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx5(WidgetZone, { id: "categories.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(CategoryListTable, {}) }) });
|
|
304
318
|
};
|
|
305
319
|
var CategoryListPage = Object.assign(Root, {
|
|
306
320
|
Table: CategoryListTable,
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
TextCell
|
|
12
12
|
} from "./chunk-JHIMVLB2.js";
|
|
13
|
-
import {
|
|
14
|
-
_DataTable,
|
|
15
|
-
useDataTable
|
|
16
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
17
13
|
import {
|
|
18
14
|
SingleColumnPage
|
|
19
15
|
} from "./chunk-H6MYB7GB.js";
|
|
20
16
|
import {
|
|
21
17
|
useQueryParams
|
|
22
18
|
} from "./chunk-THHRRYRS.js";
|
|
19
|
+
import {
|
|
20
|
+
_DataTable,
|
|
21
|
+
useDataTable
|
|
22
|
+
} from "./chunk-GRFWCCUW.js";
|
|
23
23
|
import {
|
|
24
24
|
useShippingOptionTypes
|
|
25
25
|
} from "./chunk-ABS7HMLY.js";
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
|
|
30
30
|
// src/pages/shipping-option-types/shipping-option-type-list/shipping-option-type-list.tsx
|
|
31
31
|
import { Children as Children3 } from "react";
|
|
32
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
32
33
|
|
|
33
34
|
// src/pages/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-view/shipping-option-type-list-view.tsx
|
|
34
35
|
import { Children as Children2 } from "react";
|
|
@@ -281,7 +282,7 @@ var ShippingOptionTypeListView = ({
|
|
|
281
282
|
// src/pages/shipping-option-types/shipping-option-type-list/shipping-option-type-list.tsx
|
|
282
283
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
283
284
|
var Root = ({ children }) => {
|
|
284
|
-
return /* @__PURE__ */ jsx6(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingOptionTypeListView, {}) });
|
|
285
|
+
return /* @__PURE__ */ jsx6(SingleColumnPage, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "shipping-option-types.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingOptionTypeListView, {}) }) });
|
|
285
286
|
};
|
|
286
287
|
var ShippingOptionTypeListPage = Object.assign(Root, {
|
|
287
288
|
Table: ShippingOptionTypeListView,
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
} from "./chunk-KOURHC2N.js";
|
|
4
4
|
import {
|
|
5
5
|
useSellersTableQuery
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IJ2CSCLP.js";
|
|
7
7
|
import {
|
|
8
8
|
DateCell
|
|
9
9
|
} from "./chunk-25LYVP3C.js";
|
|
10
10
|
import {
|
|
11
11
|
StatusCell
|
|
12
12
|
} from "./chunk-DB6ANJBO.js";
|
|
13
|
-
import {
|
|
14
|
-
_DataTable,
|
|
15
|
-
useDataTable
|
|
16
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
17
13
|
import {
|
|
18
14
|
SingleColumnPage
|
|
19
15
|
} from "./chunk-H6MYB7GB.js";
|
|
20
16
|
import {
|
|
21
17
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VYSB4CTB.js";
|
|
19
|
+
import {
|
|
20
|
+
_DataTable,
|
|
21
|
+
useDataTable
|
|
22
|
+
} from "./chunk-GRFWCCUW.js";
|
|
23
23
|
import {
|
|
24
24
|
useSellers
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SAU35JEB.js";
|
|
26
26
|
import {
|
|
27
27
|
ActionMenu
|
|
28
28
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
|
|
33
33
|
// src/pages/stores/store-list/store-list.tsx
|
|
34
34
|
import { Children as Children3 } from "react";
|
|
35
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
35
36
|
|
|
36
37
|
// src/pages/stores/store-list/components/store-list-table/store-list-table.tsx
|
|
37
38
|
import { Children as Children2 } from "react";
|
|
@@ -69,7 +70,10 @@ import { useNavigate } from "react-router-dom";
|
|
|
69
70
|
import { Checkbox } from "@medusajs/ui";
|
|
70
71
|
import { PencilSquare } from "@medusajs/icons";
|
|
71
72
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
72
|
-
import {
|
|
73
|
+
import {
|
|
74
|
+
createColumnHelper as createColumnHelper2
|
|
75
|
+
} from "@tanstack/react-table";
|
|
76
|
+
import { useExtendableTable } from "@mercurjs/dashboard-shared";
|
|
73
77
|
|
|
74
78
|
// src/hooks/table/columns/use-seller-table-columns.tsx
|
|
75
79
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
@@ -155,8 +159,12 @@ var StoreListDataTable = () => {
|
|
|
155
159
|
placeholderData: keepPreviousData
|
|
156
160
|
}
|
|
157
161
|
);
|
|
158
|
-
const columns = useColumns();
|
|
159
|
-
const
|
|
162
|
+
const { columns, filters: extFilters } = useColumns();
|
|
163
|
+
const baseFilters = useSellerTableFilters();
|
|
164
|
+
const filters = useMemo2(
|
|
165
|
+
() => [...baseFilters, ...extFilters],
|
|
166
|
+
[baseFilters, extFilters]
|
|
167
|
+
);
|
|
160
168
|
const { table } = useDataTable({
|
|
161
169
|
data: sellers ?? [],
|
|
162
170
|
columns,
|
|
@@ -224,40 +232,48 @@ var StoreActions = ({ seller }) => {
|
|
|
224
232
|
};
|
|
225
233
|
var useColumns = () => {
|
|
226
234
|
const base = useSellersTableColumns();
|
|
227
|
-
|
|
228
|
-
() =>
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
const selectColumn = useMemo2(
|
|
236
|
+
() => columnHelper2.display({
|
|
237
|
+
id: "select",
|
|
238
|
+
header: ({ table }) => {
|
|
239
|
+
return /* @__PURE__ */ jsx4(
|
|
240
|
+
Checkbox,
|
|
241
|
+
{
|
|
242
|
+
checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
|
|
243
|
+
onCheckedChange: (value) => table.toggleAllPageRowsSelected(!!value)
|
|
244
|
+
}
|
|
245
|
+
);
|
|
246
|
+
},
|
|
247
|
+
cell: ({ row }) => {
|
|
248
|
+
return /* @__PURE__ */ jsx4(
|
|
249
|
+
Checkbox,
|
|
250
|
+
{
|
|
251
|
+
checked: row.getIsSelected(),
|
|
252
|
+
onCheckedChange: (value) => row.toggleSelected(!!value),
|
|
253
|
+
onClick: (e) => {
|
|
254
|
+
e.stopPropagation();
|
|
237
255
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
}),
|
|
253
|
-
...base,
|
|
256
|
+
}
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
}),
|
|
260
|
+
[]
|
|
261
|
+
);
|
|
262
|
+
const { columns: extended, filters } = useExtendableTable({
|
|
263
|
+
model: "seller",
|
|
264
|
+
columns: [selectColumn, ...base]
|
|
265
|
+
});
|
|
266
|
+
const columns = useMemo2(
|
|
267
|
+
() => [
|
|
268
|
+
...extended,
|
|
254
269
|
columnHelper2.display({
|
|
255
270
|
id: "actions",
|
|
256
271
|
cell: ({ row }) => /* @__PURE__ */ jsx4(StoreActions, { seller: row.original })
|
|
257
272
|
})
|
|
258
273
|
],
|
|
259
|
-
[
|
|
274
|
+
[extended]
|
|
260
275
|
);
|
|
276
|
+
return { columns, filters };
|
|
261
277
|
};
|
|
262
278
|
|
|
263
279
|
// src/pages/stores/store-list/components/store-list-table/store-list-table.tsx
|
|
@@ -272,7 +288,7 @@ var StoreListTable = ({ children }) => {
|
|
|
272
288
|
// src/pages/stores/store-list/store-list.tsx
|
|
273
289
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
274
290
|
var Root = ({ children }) => {
|
|
275
|
-
return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(StoreListTable, {}) });
|
|
291
|
+
return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx6(WidgetZone, { id: "stores.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(StoreListTable, {}) }) });
|
|
276
292
|
};
|
|
277
293
|
var StoreListPage = Object.assign(Root, {
|
|
278
294
|
Table: StoreListTable,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
inventoryItemsQueryKeys,
|
|
36
36
|
useCreateInventoryItem
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MMKUMSZS.js";
|
|
38
38
|
import {
|
|
39
39
|
queryClient
|
|
40
40
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -397,6 +397,8 @@ function InventoryCreateForm({
|
|
|
397
397
|
return /* @__PURE__ */ jsx3(
|
|
398
398
|
TabbedForm,
|
|
399
399
|
{
|
|
400
|
+
model: "inventory_item",
|
|
401
|
+
zone: "create",
|
|
400
402
|
form,
|
|
401
403
|
onSubmit: handleSubmit,
|
|
402
404
|
isLoading,
|
|
@@ -8917,7 +8917,7 @@ var en_default = {
|
|
|
8917
8917
|
},
|
|
8918
8918
|
actions: {
|
|
8919
8919
|
save: "Save",
|
|
8920
|
-
saveAsDraft: "Save
|
|
8920
|
+
saveAsDraft: "Save draft",
|
|
8921
8921
|
copy: "Copy",
|
|
8922
8922
|
copied: "Copied",
|
|
8923
8923
|
duplicate: "Duplicate",
|
|
@@ -9436,21 +9436,21 @@ var en_default = {
|
|
|
9436
9436
|
},
|
|
9437
9437
|
confirmPrompt: {
|
|
9438
9438
|
title: "Confirm request",
|
|
9439
|
-
description: "You are about to confirm this product request. Once confirmed,
|
|
9440
|
-
noteLabel: "
|
|
9439
|
+
description: "You are about to confirm this product update request. Once confirmed, any offers created for this product will appear on the storefront. Only offers with stock levels and prices set will be visible.",
|
|
9440
|
+
noteLabel: "Note for store",
|
|
9441
9441
|
notePlaceholder: "Specify changes you made or additional requests"
|
|
9442
9442
|
},
|
|
9443
9443
|
requestUpdatePrompt: {
|
|
9444
9444
|
title: "Request update",
|
|
9445
|
-
description: "Request update to this product before publishing. Add
|
|
9446
|
-
noteLabel: "
|
|
9445
|
+
description: "Request update to this product before publishing. Add note to explain what needs to be updated.",
|
|
9446
|
+
noteLabel: "Note for store",
|
|
9447
9447
|
notePlaceholder: "Describe what needs to be updated (e.g., missing images, incorrect price, incomplete description)",
|
|
9448
9448
|
send: "Send"
|
|
9449
9449
|
},
|
|
9450
9450
|
rejectPrompt: {
|
|
9451
9451
|
title: "Reject request",
|
|
9452
9452
|
description: "You are about to reject this product request.",
|
|
9453
|
-
noteLabel: "
|
|
9453
|
+
noteLabel: "Note for store",
|
|
9454
9454
|
notePlaceholder: "Explain why you reject the request",
|
|
9455
9455
|
confirm: "Reject"
|
|
9456
9456
|
},
|
|
@@ -9470,16 +9470,16 @@ var en_default = {
|
|
|
9470
9470
|
reject: "Reject"
|
|
9471
9471
|
},
|
|
9472
9472
|
confirmPrompt: {
|
|
9473
|
-
title: "Confirm
|
|
9474
|
-
description: "You are about to confirm this product update request. Once confirmed, the
|
|
9475
|
-
noteLabel: "
|
|
9476
|
-
notePlaceholder: "
|
|
9473
|
+
title: "Confirm request",
|
|
9474
|
+
description: "You are about to confirm this product update request. Once confirmed, the product will be updated on the storefront.",
|
|
9475
|
+
noteLabel: "Note for store",
|
|
9476
|
+
notePlaceholder: "Specify changes you made or additional requests"
|
|
9477
9477
|
},
|
|
9478
9478
|
rejectPrompt: {
|
|
9479
|
-
title: "Reject
|
|
9480
|
-
description: "You are about to reject this product
|
|
9481
|
-
noteLabel: "
|
|
9482
|
-
notePlaceholder: "Explain why you reject the
|
|
9479
|
+
title: "Reject request",
|
|
9480
|
+
description: "You are about to reject this product request.",
|
|
9481
|
+
noteLabel: "Note for store",
|
|
9482
|
+
notePlaceholder: "Explain why you reject the request or suggest changes",
|
|
9483
9483
|
confirm: "Reject"
|
|
9484
9484
|
},
|
|
9485
9485
|
toast: {
|
|
@@ -9692,8 +9692,16 @@ var en_default = {
|
|
|
9692
9692
|
subtitle: "Organize products into collections.",
|
|
9693
9693
|
createCollection: "Create Collection",
|
|
9694
9694
|
createCollectionHint: "Create a new collection to organize your products.",
|
|
9695
|
-
createSuccess: "Collection
|
|
9695
|
+
createSuccess: "Collection was successfully created.",
|
|
9696
|
+
deleteSuccess: "Collection was successfully deleted.",
|
|
9697
|
+
updateSuccess: "Collection was successfully updated.",
|
|
9698
|
+
validation: {
|
|
9699
|
+
titleRequired: "Please enter a title"
|
|
9700
|
+
},
|
|
9696
9701
|
editCollection: "Edit Collection",
|
|
9702
|
+
validation: {
|
|
9703
|
+
titleRequired: "Please enter a title"
|
|
9704
|
+
},
|
|
9697
9705
|
handleTooltip: "The handle is used to reference the collection in your storefront. If not specified, the handle will be generated from the collection title.",
|
|
9698
9706
|
deleteWarning: "You are about to delete the collection {{title}}. This action cannot be undone.",
|
|
9699
9707
|
removeSingleProductWarning: "You are about to remove the product {{title}} from the collection. This action cannot be undone.",
|
|
@@ -9701,6 +9709,7 @@ var en_default = {
|
|
|
9701
9709
|
removeProductsWarning_other: "You are about to remove {{count}} products from the collection. This action cannot be undone.",
|
|
9702
9710
|
products: {
|
|
9703
9711
|
list: {
|
|
9712
|
+
noRecordsTitle: "No products yet",
|
|
9704
9713
|
noRecordsMessage: "There are no products in the collection."
|
|
9705
9714
|
},
|
|
9706
9715
|
add: {
|
|
@@ -9778,7 +9787,7 @@ var en_default = {
|
|
|
9778
9787
|
details: "Details",
|
|
9779
9788
|
organize: "Organize Ranking"
|
|
9780
9789
|
},
|
|
9781
|
-
successToast: "Category
|
|
9790
|
+
successToast: "Category was successfully created."
|
|
9782
9791
|
},
|
|
9783
9792
|
edit: {
|
|
9784
9793
|
header: "Edit Category",
|
|
@@ -9787,19 +9796,19 @@ var en_default = {
|
|
|
9787
9796
|
},
|
|
9788
9797
|
delete: {
|
|
9789
9798
|
confirmation: "You are about to delete the category {{name}}. This action cannot be undone.",
|
|
9790
|
-
successToast: "Category
|
|
9799
|
+
successToast: "Category was successfully deleted."
|
|
9791
9800
|
},
|
|
9792
9801
|
products: {
|
|
9793
9802
|
add: {
|
|
9794
9803
|
disabledTooltip: "The product is already in this category.",
|
|
9795
|
-
successToast_one: "
|
|
9796
|
-
successToast_other: "
|
|
9804
|
+
successToast_one: "Product was successfully added to the category.",
|
|
9805
|
+
successToast_other: "Products were successfully added to the category."
|
|
9797
9806
|
},
|
|
9798
9807
|
remove: {
|
|
9799
9808
|
confirmation_one: "You are about to remove {{count}} product from the category. This action cannot be undone.",
|
|
9800
9809
|
confirmation_other: "You are about to remove {{count}} products from the category. This action cannot be undone.",
|
|
9801
|
-
successToast_one: "
|
|
9802
|
-
successToast_other: "
|
|
9810
|
+
successToast_one: "Product was successfully removed from the category.",
|
|
9811
|
+
successToast_other: "Products were successfully removed from the category."
|
|
9803
9812
|
},
|
|
9804
9813
|
list: {
|
|
9805
9814
|
noRecordsTitle: "No products yet",
|
|
@@ -9808,7 +9817,8 @@ var en_default = {
|
|
|
9808
9817
|
},
|
|
9809
9818
|
organize: {
|
|
9810
9819
|
header: "Organize",
|
|
9811
|
-
action: "Edit ranking"
|
|
9820
|
+
action: "Edit ranking",
|
|
9821
|
+
successToast: "Ranking was successfully updated."
|
|
9812
9822
|
},
|
|
9813
9823
|
media: {
|
|
9814
9824
|
label: "Media",
|
|
@@ -10050,6 +10060,14 @@ var en_default = {
|
|
|
10050
10060
|
header: "Edit Address",
|
|
10051
10061
|
hint: "Edit the customer's address.",
|
|
10052
10062
|
successToast: "Address was successfully updated."
|
|
10063
|
+
},
|
|
10064
|
+
delete: {
|
|
10065
|
+
successToast: "Address was successfully deleted."
|
|
10066
|
+
},
|
|
10067
|
+
validation: {
|
|
10068
|
+
addressNameRequired: "Please enter an address name",
|
|
10069
|
+
addressRequired: "Please enter an address",
|
|
10070
|
+
countryRequired: "Please select a country"
|
|
10053
10071
|
}
|
|
10054
10072
|
}
|
|
10055
10073
|
},
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-KOURHC2N.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTagTableQuery
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
_DataTable,
|
|
15
|
-
useDataTable
|
|
16
|
-
} from "./chunk-6ZVV2XHU.js";
|
|
12
|
+
} from "./chunk-IJ2CSCLP.js";
|
|
17
13
|
import {
|
|
18
14
|
SingleColumnPage
|
|
19
15
|
} from "./chunk-H6MYB7GB.js";
|
|
16
|
+
import {
|
|
17
|
+
_DataTable,
|
|
18
|
+
useDataTable
|
|
19
|
+
} from "./chunk-GRFWCCUW.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTags
|
|
22
22
|
} from "./chunk-ABS7HMLY.js";
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
|
|
27
27
|
// src/pages/product-tags/product-tag-list/product-tag-list.tsx
|
|
28
28
|
import { Children as Children3 } from "react";
|
|
29
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
29
30
|
|
|
30
31
|
// src/pages/product-tags/product-tag-list/components/product-tag-list-view/product-tag-list-view.tsx
|
|
31
32
|
import { Children as Children2 } from "react";
|
|
@@ -189,7 +190,7 @@ var ProductTagListView = ({
|
|
|
189
190
|
// src/pages/product-tags/product-tag-list/product-tag-list.tsx
|
|
190
191
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
191
192
|
var Root = ({ children }) => {
|
|
192
|
-
return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductTagListView, {}) });
|
|
193
|
+
return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx4(WidgetZone, { id: "product-tags.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductTagListView, {}) }) });
|
|
193
194
|
};
|
|
194
195
|
var ProductTagListPage = Object.assign(Root, {
|
|
195
196
|
Table: ProductTagListView,
|
|
@@ -3,32 +3,34 @@ import {
|
|
|
3
3
|
} from "./chunk-QG6PLWNH.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DUVYF37J.js";
|
|
7
7
|
import {
|
|
8
8
|
useCustomerTableQuery
|
|
9
9
|
} from "./chunk-GRH7C3QN.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
|
useCustomers
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AFYILTAC.js";
|
|
20
20
|
import {
|
|
21
21
|
ActionMenu
|
|
22
22
|
} from "./chunk-BDGZ4EQO.js";
|
|
23
23
|
|
|
24
24
|
// src/pages/customers/customer-list/customer-list.tsx
|
|
25
25
|
import { Children as Children2 } from "react";
|
|
26
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
26
27
|
|
|
27
28
|
// src/pages/customers/customer-list/components/customer-list-table/customer-list-table.tsx
|
|
28
29
|
import { PencilSquare } from "@medusajs/icons";
|
|
29
30
|
import { Button, Container, Heading } from "@medusajs/ui";
|
|
30
31
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
31
32
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
33
|
+
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
32
34
|
import { useMemo, Children } from "react";
|
|
33
35
|
import { useTranslation } from "react-i18next";
|
|
34
36
|
import { Link } from "react-router-dom";
|
|
@@ -61,16 +63,22 @@ var CustomerListHeader = ({ children }) => {
|
|
|
61
63
|
var CustomerListDataTable = () => {
|
|
62
64
|
const { t } = useTranslation();
|
|
63
65
|
const { searchParams, raw } = useCustomerTableQuery({ pageSize: PAGE_SIZE });
|
|
66
|
+
const linkQuery = useLinkQuery("customer");
|
|
64
67
|
const { customers, count, isLoading, isError, error } = useCustomers(
|
|
65
68
|
{
|
|
66
|
-
...searchParams
|
|
69
|
+
...searchParams,
|
|
70
|
+
...linkQuery
|
|
67
71
|
},
|
|
68
72
|
{
|
|
69
73
|
placeholderData: keepPreviousData
|
|
70
74
|
}
|
|
71
75
|
);
|
|
72
|
-
const
|
|
73
|
-
const columns = useColumns();
|
|
76
|
+
const baseFilters = useCustomerTableFilters();
|
|
77
|
+
const { columns, filters: extFilters } = useColumns();
|
|
78
|
+
const filters = useMemo(
|
|
79
|
+
() => [...baseFilters, ...extFilters],
|
|
80
|
+
[baseFilters, extFilters]
|
|
81
|
+
);
|
|
74
82
|
const { table } = useDataTable({
|
|
75
83
|
data: customers ?? [],
|
|
76
84
|
columns,
|
|
@@ -139,23 +147,28 @@ var CustomerActions = ({
|
|
|
139
147
|
};
|
|
140
148
|
var columnHelper = createColumnHelper();
|
|
141
149
|
var useColumns = () => {
|
|
142
|
-
const
|
|
143
|
-
|
|
150
|
+
const base = useCustomerTableColumns();
|
|
151
|
+
const { columns: extended, filters } = useExtendableTable({
|
|
152
|
+
model: "customer",
|
|
153
|
+
columns: base
|
|
154
|
+
});
|
|
155
|
+
const columns = useMemo(
|
|
144
156
|
() => [
|
|
145
|
-
...
|
|
157
|
+
...extended,
|
|
146
158
|
columnHelper.display({
|
|
147
159
|
id: "actions",
|
|
148
160
|
cell: ({ row }) => /* @__PURE__ */ jsx(CustomerActions, { customer: row.original })
|
|
149
161
|
})
|
|
150
162
|
],
|
|
151
|
-
[
|
|
163
|
+
[extended]
|
|
152
164
|
);
|
|
165
|
+
return { columns, filters };
|
|
153
166
|
};
|
|
154
167
|
|
|
155
168
|
// src/pages/customers/customer-list/customer-list.tsx
|
|
156
169
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
157
170
|
var Root = ({ children }) => {
|
|
158
|
-
return /* @__PURE__ */ jsx2(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx2(CustomerListTable, {}) });
|
|
171
|
+
return /* @__PURE__ */ jsx2(SingleColumnPage, { children: /* @__PURE__ */ jsx2(WidgetZone, { id: "customers.list", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx2(CustomerListTable, {}) }) });
|
|
159
172
|
};
|
|
160
173
|
var CustomerListPage = Object.assign(Root, {
|
|
161
174
|
Table: CustomerListTable,
|
|
@@ -22,7 +22,7 @@ var sellerInvitesQueryKeys = queryKeysFactory(SELLER_INVITES_QUERY_KEY);
|
|
|
22
22
|
var useSeller = (id, query, options) => {
|
|
23
23
|
const { data, ...rest } = useQuery({
|
|
24
24
|
queryFn: () => sdk.admin.sellers.$id.query({ $id: id, ...query }),
|
|
25
|
-
queryKey: sellersQueryKeys.detail(id),
|
|
25
|
+
queryKey: sellersQueryKeys.detail(id, query),
|
|
26
26
|
...options
|
|
27
27
|
});
|
|
28
28
|
return { ...data, ...rest };
|