@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
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
useOfferTableCommands,
|
|
10
10
|
useOfferTableFilters,
|
|
11
11
|
useOfferTableQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ODDJZVYL.js";
|
|
13
13
|
import {
|
|
14
14
|
useOrderTableFilters
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UK5BVJI7.js";
|
|
16
16
|
import {
|
|
17
17
|
useOffers
|
|
18
18
|
} from "./chunk-IZDTQFCP.js";
|
|
19
19
|
import {
|
|
20
20
|
useMemberTableQuery
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IJ2CSCLP.js";
|
|
22
22
|
import {
|
|
23
23
|
useOrderTableQuery
|
|
24
24
|
} from "./chunk-QUHSHIAC.js";
|
|
@@ -34,20 +34,21 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
TwoColumnPage
|
|
36
36
|
} from "./chunk-E74OUNA3.js";
|
|
37
|
+
import {
|
|
38
|
+
require_dist
|
|
39
|
+
} from "./chunk-VYSB4CTB.js";
|
|
37
40
|
import {
|
|
38
41
|
_DataTable,
|
|
39
42
|
useDataTable
|
|
40
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-GRFWCCUW.js";
|
|
41
44
|
import {
|
|
42
45
|
NoRecords
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
require_dist
|
|
46
|
-
} from "./chunk-DSTHXHJ5.js";
|
|
46
|
+
} from "./chunk-7PPT3477.js";
|
|
47
47
|
import {
|
|
48
48
|
useOrders
|
|
49
49
|
} from "./chunk-WF3ZDT5Z.js";
|
|
50
50
|
import {
|
|
51
|
+
sellersQueryKeys,
|
|
51
52
|
useApproveSeller,
|
|
52
53
|
useDeleteSellerInvite,
|
|
53
54
|
useRemoveSellerMember,
|
|
@@ -56,27 +57,53 @@ import {
|
|
|
56
57
|
useSellerInvites,
|
|
57
58
|
useSellerMembers,
|
|
58
59
|
useSuspendSeller
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-SAU35JEB.js";
|
|
60
61
|
import {
|
|
61
62
|
ActionMenu
|
|
62
63
|
} from "./chunk-BDGZ4EQO.js";
|
|
63
64
|
import {
|
|
64
65
|
TwoColumnPageSkeleton
|
|
65
66
|
} from "./chunk-INNFZYX2.js";
|
|
67
|
+
import {
|
|
68
|
+
queryClient
|
|
69
|
+
} from "./chunk-RHKRREUU.js";
|
|
70
|
+
import {
|
|
71
|
+
sdk
|
|
72
|
+
} from "./chunk-LXZXXOJ3.js";
|
|
66
73
|
import {
|
|
67
74
|
__toESM
|
|
68
75
|
} from "./chunk-NBMM2TZK.js";
|
|
69
76
|
|
|
77
|
+
// src/pages/stores/store-details/loader.ts
|
|
78
|
+
import { getLinkQuery } from "@mercurjs/dashboard-shared";
|
|
79
|
+
var STORE_DETAIL_FIELDS = "+address.*,+payment_details.*,+professional_details.*";
|
|
80
|
+
var sellerDetailQuery = (id) => {
|
|
81
|
+
const query = getLinkQuery("seller", STORE_DETAIL_FIELDS);
|
|
82
|
+
return {
|
|
83
|
+
queryKey: sellersQueryKeys.detail(id, query),
|
|
84
|
+
queryFn: async () => sdk.admin.sellers.$id.query({ $id: id, ...query })
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
var storeDetailLoader = async ({ params }) => {
|
|
88
|
+
const id = params.id;
|
|
89
|
+
return queryClient.ensureQueryData({
|
|
90
|
+
...sellerDetailQuery(id),
|
|
91
|
+
staleTime: 9e4
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
|
|
70
95
|
// src/pages/stores/store-details/components/store-details.tsx
|
|
71
96
|
import { Children as Children3, useState as useState3 } from "react";
|
|
72
97
|
import { useParams } from "react-router-dom";
|
|
73
98
|
import { useTranslation as useTranslation12 } from "react-i18next";
|
|
99
|
+
import { WidgetZone, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
74
100
|
var import_types3 = __toESM(require_dist(), 1);
|
|
75
101
|
|
|
76
102
|
// src/pages/stores/store-details/components/store-general-section.tsx
|
|
77
103
|
import { Children as Children2 } from "react";
|
|
78
104
|
import { Badge, Container, Text } from "@medusajs/ui";
|
|
79
105
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
106
|
+
import { DisplayExtensionZone, DisplayField } from "@mercurjs/dashboard-shared";
|
|
80
107
|
|
|
81
108
|
// src/pages/stores/store-details/components/store-detail-header.tsx
|
|
82
109
|
import { Children } from "react";
|
|
@@ -215,33 +242,49 @@ var StoreGeneralSection = ({
|
|
|
215
242
|
}
|
|
216
243
|
) }) }),
|
|
217
244
|
/* @__PURE__ */ jsx2(StoreDetailHeader, { seller }),
|
|
218
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
245
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "seller", zone: "general", id: "description", data: seller, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
219
246
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.description") }),
|
|
220
247
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", children: seller.description || "-" })
|
|
221
|
-
] }),
|
|
222
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
248
|
+
] }) }),
|
|
249
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "seller", zone: "general", id: "handle", data: seller, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
223
250
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.handle") }),
|
|
224
251
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", children: seller.handle ? `/${seller.handle}` : "-" })
|
|
225
|
-
] }),
|
|
226
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
252
|
+
] }) }),
|
|
253
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "seller", zone: "general", id: "email", data: seller, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
227
254
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.email") }),
|
|
228
255
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", children: seller.email || "-" })
|
|
229
|
-
] }),
|
|
230
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
256
|
+
] }) }),
|
|
257
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "seller", zone: "general", id: "phone", data: seller, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
231
258
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.phone") }),
|
|
232
259
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", children: seller.phone || "-" })
|
|
233
|
-
] }),
|
|
234
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
260
|
+
] }) }),
|
|
261
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "seller", zone: "general", id: "website_url", data: seller, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
235
262
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.website") }),
|
|
236
263
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", children: seller.website_url || "-" })
|
|
237
|
-
] }),
|
|
238
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
264
|
+
] }) }),
|
|
265
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "seller", zone: "general", id: "currency_code", data: seller, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 px-6 py-4", children: [
|
|
239
266
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.currency") }),
|
|
240
267
|
/* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-2", children: [
|
|
241
268
|
/* @__PURE__ */ jsx2(Badge, { size: "2xsmall", children: seller.currency_code?.toUpperCase() }),
|
|
242
269
|
/* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", children: currencies[seller.currency_code?.toUpperCase()]?.name || "-" })
|
|
243
270
|
] })
|
|
244
|
-
] })
|
|
271
|
+
] }) }),
|
|
272
|
+
/* @__PURE__ */ jsx2(
|
|
273
|
+
DisplayExtensionZone,
|
|
274
|
+
{
|
|
275
|
+
model: "seller",
|
|
276
|
+
zone: "general",
|
|
277
|
+
data: seller,
|
|
278
|
+
builtInFieldIds: [
|
|
279
|
+
"description",
|
|
280
|
+
"handle",
|
|
281
|
+
"email",
|
|
282
|
+
"phone",
|
|
283
|
+
"website_url",
|
|
284
|
+
"currency_code"
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
)
|
|
245
288
|
] }) });
|
|
246
289
|
};
|
|
247
290
|
|
|
@@ -249,6 +292,7 @@ var StoreGeneralSection = ({
|
|
|
249
292
|
import { CreditCard, PencilSquare as PencilSquare2 } from "@medusajs/icons";
|
|
250
293
|
import { Container as Container2, Heading as Heading2, Text as Text2 } from "@medusajs/ui";
|
|
251
294
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
295
|
+
import { DisplayExtensionZone as DisplayExtensionZone2 } from "@mercurjs/dashboard-shared";
|
|
252
296
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
253
297
|
var StorePaymentDetailsSection = ({
|
|
254
298
|
seller
|
|
@@ -295,7 +339,8 @@ var StorePaymentDetailsSection = ({
|
|
|
295
339
|
] }) }) }) : /* @__PURE__ */ jsxs3("div", { className: "flex flex-col items-center gap-y-1 pb-6 pt-2", children: [
|
|
296
340
|
/* @__PURE__ */ jsx3(Text2, { size: "small", leading: "compact", weight: "plus", children: t("store.paymentDetails.empty.title") }),
|
|
297
341
|
/* @__PURE__ */ jsx3(Text2, { size: "small", className: "text-ui-fg-muted", children: t("store.paymentDetails.empty.message") })
|
|
298
|
-
] })
|
|
342
|
+
] }),
|
|
343
|
+
/* @__PURE__ */ jsx3(DisplayExtensionZone2, { model: "seller", zone: "payment-details", data: seller })
|
|
299
344
|
] });
|
|
300
345
|
};
|
|
301
346
|
|
|
@@ -303,6 +348,7 @@ var StorePaymentDetailsSection = ({
|
|
|
303
348
|
import { Buildings, PencilSquare as PencilSquare3 } from "@medusajs/icons";
|
|
304
349
|
import { Container as Container3, Heading as Heading3, Text as Text3 } from "@medusajs/ui";
|
|
305
350
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
351
|
+
import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
|
|
306
352
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
307
353
|
var StoreCompanyDetailsSection = ({
|
|
308
354
|
seller
|
|
@@ -347,7 +393,8 @@ var StoreCompanyDetailsSection = ({
|
|
|
347
393
|
] }) }) }) : /* @__PURE__ */ jsxs4("div", { className: "flex flex-col items-center gap-y-1 pb-6 pt-2", children: [
|
|
348
394
|
/* @__PURE__ */ jsx4(Text3, { size: "small", leading: "compact", weight: "plus", children: t("store.professionalDetails.empty.title") }),
|
|
349
395
|
/* @__PURE__ */ jsx4(Text3, { size: "small", className: "text-ui-fg-muted", children: t("store.professionalDetails.empty.message") })
|
|
350
|
-
] })
|
|
396
|
+
] }),
|
|
397
|
+
/* @__PURE__ */ jsx4(DisplayExtensionZone3, { model: "seller", zone: "company-details", data: seller })
|
|
351
398
|
] });
|
|
352
399
|
};
|
|
353
400
|
|
|
@@ -355,6 +402,7 @@ var StoreCompanyDetailsSection = ({
|
|
|
355
402
|
import { CalendarMini } from "@medusajs/icons";
|
|
356
403
|
import { Container as Container4, Heading as Heading4, Table } from "@medusajs/ui";
|
|
357
404
|
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
405
|
+
import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
|
|
358
406
|
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
359
407
|
var StoreConfigurationSection = ({
|
|
360
408
|
seller
|
|
@@ -381,7 +429,8 @@ var StoreConfigurationSection = ({
|
|
|
381
429
|
title: t("store.timeOff.empty.title"),
|
|
382
430
|
message: t("store.timeOff.empty.message")
|
|
383
431
|
}
|
|
384
|
-
)
|
|
432
|
+
),
|
|
433
|
+
/* @__PURE__ */ jsx5(DisplayExtensionZone4, { model: "seller", zone: "configuration", data: seller })
|
|
385
434
|
] });
|
|
386
435
|
};
|
|
387
436
|
|
|
@@ -389,6 +438,7 @@ var StoreConfigurationSection = ({
|
|
|
389
438
|
import { BuildingStorefront, PencilSquare as PencilSquare4 } from "@medusajs/icons";
|
|
390
439
|
import { Container as Container5, Heading as Heading5, Text as Text4 } from "@medusajs/ui";
|
|
391
440
|
import { useTranslation as useTranslation6 } from "react-i18next";
|
|
441
|
+
import { DisplayExtensionZone as DisplayExtensionZone5 } from "@mercurjs/dashboard-shared";
|
|
392
442
|
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
393
443
|
var StoreAddressSection = ({ seller }) => {
|
|
394
444
|
const { t } = useTranslation6();
|
|
@@ -440,7 +490,8 @@ var StoreAddressSection = ({ seller }) => {
|
|
|
440
490
|
] }) }) }) : /* @__PURE__ */ jsxs6("div", { className: "flex flex-col items-center gap-y-1 pb-6 pt-2", children: [
|
|
441
491
|
/* @__PURE__ */ jsx6(Text4, { size: "small", leading: "compact", weight: "plus", children: t("store.address.empty.title") }),
|
|
442
492
|
/* @__PURE__ */ jsx6(Text4, { size: "small", className: "text-ui-fg-muted", children: t("store.address.empty.message") })
|
|
443
|
-
] })
|
|
493
|
+
] }),
|
|
494
|
+
/* @__PURE__ */ jsx6(DisplayExtensionZone5, { model: "seller", zone: "address", data: seller })
|
|
444
495
|
] });
|
|
445
496
|
};
|
|
446
497
|
|
|
@@ -448,6 +499,7 @@ var StoreAddressSection = ({ seller }) => {
|
|
|
448
499
|
import { Button, Container as Container6, Heading as Heading6 } from "@medusajs/ui";
|
|
449
500
|
import { useTranslation as useTranslation8 } from "react-i18next";
|
|
450
501
|
import { Link } from "react-router-dom";
|
|
502
|
+
import { DisplayExtensionZone as DisplayExtensionZone6 } from "@mercurjs/dashboard-shared";
|
|
451
503
|
|
|
452
504
|
// src/pages/stores/store-details/components/store-members-section/store-members-data-table.tsx
|
|
453
505
|
import { useMemo } from "react";
|
|
@@ -737,7 +789,8 @@ var StoreMembersSection = ({ sellerId }) => {
|
|
|
737
789
|
/* @__PURE__ */ jsx8(Heading6, { level: "h2", children: t("users.domain") }),
|
|
738
790
|
/* @__PURE__ */ jsx8(Link, { to: "invite", children: /* @__PURE__ */ jsx8(Button, { size: "small", variant: "secondary", children: t("stores.members.addUser.action") }) })
|
|
739
791
|
] }),
|
|
740
|
-
/* @__PURE__ */ jsx8(StoreMembersDataTable, { sellerId })
|
|
792
|
+
/* @__PURE__ */ jsx8(StoreMembersDataTable, { sellerId }),
|
|
793
|
+
/* @__PURE__ */ jsx8(DisplayExtensionZone6, { model: "seller", zone: "members", data: sellerId })
|
|
741
794
|
] });
|
|
742
795
|
};
|
|
743
796
|
|
|
@@ -754,6 +807,7 @@ import {
|
|
|
754
807
|
toast as toast2
|
|
755
808
|
} from "@medusajs/ui";
|
|
756
809
|
import { useTranslation as useTranslation9 } from "react-i18next";
|
|
810
|
+
import { DisplayExtensionZone as DisplayExtensionZone7 } from "@mercurjs/dashboard-shared";
|
|
757
811
|
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
758
812
|
var StoreRequestSection = ({ seller }) => {
|
|
759
813
|
const { t } = useTranslation9();
|
|
@@ -824,7 +878,8 @@ var StoreRequestSection = ({ seller }) => {
|
|
|
824
878
|
}
|
|
825
879
|
}
|
|
826
880
|
)
|
|
827
|
-
] })
|
|
881
|
+
] }),
|
|
882
|
+
/* @__PURE__ */ jsx9(DisplayExtensionZone7, { model: "seller", zone: "requests", data: seller })
|
|
828
883
|
] });
|
|
829
884
|
};
|
|
830
885
|
var RequestActionPrompt = ({
|
|
@@ -897,6 +952,7 @@ import { ShoppingCart } from "@medusajs/icons";
|
|
|
897
952
|
import { Container as Container8, Heading as Heading8 } from "@medusajs/ui";
|
|
898
953
|
import { keepPreviousData as keepPreviousData2 } from "@tanstack/react-query";
|
|
899
954
|
import { useTranslation as useTranslation10 } from "react-i18next";
|
|
955
|
+
import { DisplayExtensionZone as DisplayExtensionZone8 } from "@mercurjs/dashboard-shared";
|
|
900
956
|
import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
901
957
|
var PAGE_SIZE2 = 10;
|
|
902
958
|
var PREFIX = "store-orders";
|
|
@@ -970,7 +1026,8 @@ var StoreOrdersSection = ({ sellerId }) => {
|
|
|
970
1026
|
icon: /* @__PURE__ */ jsx10(ShoppingCart, { className: "text-ui-fg-subtle" })
|
|
971
1027
|
}
|
|
972
1028
|
}
|
|
973
|
-
)
|
|
1029
|
+
),
|
|
1030
|
+
/* @__PURE__ */ jsx10(DisplayExtensionZone8, { model: "seller", zone: "orders", data: sellerId })
|
|
974
1031
|
] });
|
|
975
1032
|
};
|
|
976
1033
|
|
|
@@ -980,6 +1037,7 @@ import { Container as Container9, Heading as Heading9 } from "@medusajs/ui";
|
|
|
980
1037
|
import { keepPreviousData as keepPreviousData3 } from "@tanstack/react-query";
|
|
981
1038
|
import { useState as useState2 } from "react";
|
|
982
1039
|
import { useTranslation as useTranslation11 } from "react-i18next";
|
|
1040
|
+
import { DisplayExtensionZone as DisplayExtensionZone9 } from "@mercurjs/dashboard-shared";
|
|
983
1041
|
import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
984
1042
|
var PAGE_SIZE3 = 10;
|
|
985
1043
|
var PREFIX2 = "store-offers";
|
|
@@ -1052,7 +1110,8 @@ var StoreOffersSection = ({ sellerId }) => {
|
|
|
1052
1110
|
},
|
|
1053
1111
|
commands
|
|
1054
1112
|
}
|
|
1055
|
-
)
|
|
1113
|
+
),
|
|
1114
|
+
/* @__PURE__ */ jsx11(DisplayExtensionZone9, { model: "seller", zone: "offers", data: sellerId })
|
|
1056
1115
|
] });
|
|
1057
1116
|
};
|
|
1058
1117
|
|
|
@@ -1101,7 +1160,8 @@ var TabBar = ({
|
|
|
1101
1160
|
var Root = ({ children }) => {
|
|
1102
1161
|
const { id } = useParams();
|
|
1103
1162
|
const [activeTab, setActiveTab] = useState3("orders");
|
|
1104
|
-
const
|
|
1163
|
+
const query = useLinkQuery("seller", STORE_DETAIL_FIELDS);
|
|
1164
|
+
const { seller, isLoading, isError, error } = useSeller(id, query);
|
|
1105
1165
|
if (isLoading || !seller) {
|
|
1106
1166
|
return /* @__PURE__ */ jsx12(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 3 });
|
|
1107
1167
|
}
|
|
@@ -1112,7 +1172,7 @@ var Root = ({ children }) => {
|
|
|
1112
1172
|
return /* @__PURE__ */ jsx12(TwoColumnPage, { data: seller, hasOutlet: true, "data-testid": "store-detail-page", children });
|
|
1113
1173
|
}
|
|
1114
1174
|
return /* @__PURE__ */ jsxs12(TwoColumnPage, { data: seller, hasOutlet: true, "data-testid": "store-detail-page", children: [
|
|
1115
|
-
/* @__PURE__ */
|
|
1175
|
+
/* @__PURE__ */ jsx12(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs12(WidgetZone, { id: "stores.detail.main", data: seller, children: [
|
|
1116
1176
|
seller.status === import_types3.SellerStatus.PENDING_APPROVAL && !seller.approved_at && !seller.rejected_at && /* @__PURE__ */ jsx12(StoreRequestSection, { seller }),
|
|
1117
1177
|
/* @__PURE__ */ jsx12(StoreGeneralSection, { seller }),
|
|
1118
1178
|
/* @__PURE__ */ jsx12(TabBar, { activeTab, onTabChange: setActiveTab }),
|
|
@@ -1152,12 +1212,12 @@ var Root = ({ children }) => {
|
|
|
1152
1212
|
children: /* @__PURE__ */ jsx12(StoreConfigurationSection, { seller })
|
|
1153
1213
|
}
|
|
1154
1214
|
)
|
|
1155
|
-
] }),
|
|
1156
|
-
/* @__PURE__ */
|
|
1215
|
+
] }) }),
|
|
1216
|
+
/* @__PURE__ */ jsx12(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsxs12(WidgetZone, { id: "stores.detail.side", data: seller, children: [
|
|
1157
1217
|
/* @__PURE__ */ jsx12(StoreAddressSection, { seller }),
|
|
1158
1218
|
/* @__PURE__ */ jsx12(StoreCompanyDetailsSection, { seller }),
|
|
1159
1219
|
/* @__PURE__ */ jsx12(StorePaymentDetailsSection, { seller })
|
|
1160
|
-
] })
|
|
1220
|
+
] }) })
|
|
1161
1221
|
] });
|
|
1162
1222
|
};
|
|
1163
1223
|
var StoreDetailPage = Object.assign(Root, {
|
|
@@ -1176,5 +1236,6 @@ var StoreDetailPage = Object.assign(Root, {
|
|
|
1176
1236
|
});
|
|
1177
1237
|
|
|
1178
1238
|
export {
|
|
1239
|
+
storeDetailLoader,
|
|
1179
1240
|
StoreDetailPage
|
|
1180
1241
|
};
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4F5GP7J7.js";
|
|
4
4
|
import {
|
|
5
5
|
useDeletePriceListAction
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5EOYDQAS.js";
|
|
7
7
|
import {
|
|
8
8
|
getPriceListStatus
|
|
9
9
|
} from "./chunk-U5MJIHLY.js";
|
|
@@ -12,27 +12,27 @@ import {
|
|
|
12
12
|
} from "./chunk-RK5N3XIX.js";
|
|
13
13
|
import {
|
|
14
14
|
useProductTableColumns
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I5HY5Q3K.js";
|
|
16
16
|
import {
|
|
17
17
|
useProductTableFilters
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-APMBU7ZV.js";
|
|
19
19
|
import {
|
|
20
20
|
useProductTableQuery
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5NSOIZFB.js";
|
|
22
22
|
import {
|
|
23
23
|
TwoColumnPage
|
|
24
24
|
} from "./chunk-E74OUNA3.js";
|
|
25
25
|
import {
|
|
26
26
|
_DataTable,
|
|
27
27
|
useDataTable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GRFWCCUW.js";
|
|
29
29
|
import {
|
|
30
30
|
usePriceList,
|
|
31
31
|
usePriceListLinkProducts
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-G2LHEJLS.js";
|
|
33
33
|
import {
|
|
34
34
|
useCustomerGroups
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AFYILTAC.js";
|
|
36
36
|
import {
|
|
37
37
|
ActionMenu
|
|
38
38
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -42,16 +42,18 @@ import {
|
|
|
42
42
|
} from "./chunk-INNFZYX2.js";
|
|
43
43
|
import {
|
|
44
44
|
useProducts
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MMKUMSZS.js";
|
|
46
46
|
|
|
47
47
|
// src/pages/price-lists/price-list-detail/price-list-detail.tsx
|
|
48
48
|
import { Children } from "react";
|
|
49
49
|
import { useParams } from "react-router-dom";
|
|
50
|
+
import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
|
|
50
51
|
|
|
51
52
|
// src/pages/price-lists/price-list-detail/components/price-list-configuration-section/price-list-configuration-section.tsx
|
|
52
53
|
import { PencilSquare } from "@medusajs/icons";
|
|
53
54
|
import { Container, Heading } from "@medusajs/ui";
|
|
54
55
|
import { useTranslation } from "react-i18next";
|
|
56
|
+
import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
|
|
55
57
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
56
58
|
var PriceListConfigurationSection = ({
|
|
57
59
|
priceList
|
|
@@ -89,6 +91,14 @@ var PriceListConfigurationSection = ({
|
|
|
89
91
|
showTime: true,
|
|
90
92
|
"data-testid": "price-list-configuration-section-date-range"
|
|
91
93
|
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ jsx(
|
|
96
|
+
DisplayExtensionZone,
|
|
97
|
+
{
|
|
98
|
+
model: "price_list",
|
|
99
|
+
zone: "configuration",
|
|
100
|
+
data: priceList
|
|
101
|
+
}
|
|
92
102
|
)
|
|
93
103
|
] });
|
|
94
104
|
};
|
|
@@ -129,6 +139,7 @@ var CustomerGroupDisplay = ({
|
|
|
129
139
|
import { PencilSquare as PencilSquare2, Trash } from "@medusajs/icons";
|
|
130
140
|
import { Container as Container2, Heading as Heading2, StatusBadge, Text } from "@medusajs/ui";
|
|
131
141
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
142
|
+
import { DisplayExtensionZone as DisplayExtensionZone2, DisplayField } from "@mercurjs/dashboard-shared";
|
|
132
143
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
133
144
|
var PriceListGeneralSection = ({
|
|
134
145
|
priceList
|
|
@@ -138,11 +149,18 @@ var PriceListGeneralSection = ({
|
|
|
138
149
|
const { color, text } = getPriceListStatus(t, priceList);
|
|
139
150
|
const handleDelete = useDeletePriceListAction({ priceList });
|
|
140
151
|
const type = priceList.type === "sale" ? t("priceLists.fields.type.options.sale.label") : t("priceLists.fields.type.options.override.label");
|
|
152
|
+
const GENERAL_FIELD_IDS = [
|
|
153
|
+
"title",
|
|
154
|
+
"status",
|
|
155
|
+
"type",
|
|
156
|
+
"description",
|
|
157
|
+
"price_overrides"
|
|
158
|
+
];
|
|
141
159
|
return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "price-list-general-section-container", children: [
|
|
142
160
|
/* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "price-list-general-section-header", children: [
|
|
143
|
-
/* @__PURE__ */ jsx2(Heading2, { "data-testid": "price-list-general-section-title", children: priceList.title }),
|
|
161
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "title", data: priceList, children: /* @__PURE__ */ jsx2(Heading2, { "data-testid": "price-list-general-section-title", children: priceList.title }) }),
|
|
144
162
|
/* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-4", children: [
|
|
145
|
-
/* @__PURE__ */ jsx2(StatusBadge, { color, "data-testid": "price-list-general-section-status", children: text }),
|
|
163
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "status", data: priceList, children: /* @__PURE__ */ jsx2(StatusBadge, { color, "data-testid": "price-list-general-section-status", children: text }) }),
|
|
146
164
|
/* @__PURE__ */ jsx2(
|
|
147
165
|
ActionMenu,
|
|
148
166
|
{
|
|
@@ -171,18 +189,19 @@ var PriceListGeneralSection = ({
|
|
|
171
189
|
)
|
|
172
190
|
] })
|
|
173
191
|
] }),
|
|
174
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "price-list-general-section-type", children: [
|
|
192
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "type", data: priceList, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "price-list-general-section-type", children: [
|
|
175
193
|
/* @__PURE__ */ jsx2(Text, { leading: "compact", size: "small", weight: "plus", "data-testid": "price-list-general-section-type-label", children: t("fields.type") }),
|
|
176
194
|
/* @__PURE__ */ jsx2(Text, { size: "small", className: "text-pretty", "data-testid": "price-list-general-section-type-value", children: type })
|
|
177
|
-
] }),
|
|
178
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "price-list-general-section-description", children: [
|
|
195
|
+
] }) }),
|
|
196
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "description", data: priceList, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "price-list-general-section-description", children: [
|
|
179
197
|
/* @__PURE__ */ jsx2(Text, { leading: "compact", size: "small", weight: "plus", "data-testid": "price-list-general-section-description-label", children: t("fields.description") }),
|
|
180
198
|
/* @__PURE__ */ jsx2(Text, { size: "small", className: "text-pretty", "data-testid": "price-list-general-section-description-value", children: priceList.description })
|
|
181
|
-
] }),
|
|
182
|
-
/* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "price-list-general-section-price-overrides", children: [
|
|
199
|
+
] }) }),
|
|
200
|
+
/* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "price_overrides", data: priceList, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "price-list-general-section-price-overrides", children: [
|
|
183
201
|
/* @__PURE__ */ jsx2(Text, { leading: "compact", size: "small", weight: "plus", "data-testid": "price-list-general-section-price-overrides-label", children: t("priceLists.fields.priceOverrides.label") }),
|
|
184
202
|
/* @__PURE__ */ jsx2(Text, { size: "small", className: "text-pretty", "data-testid": "price-list-general-section-price-overrides-value", children: overrideCount || "-" })
|
|
185
|
-
] })
|
|
203
|
+
] }) }),
|
|
204
|
+
/* @__PURE__ */ jsx2(DisplayExtensionZone2, { model: "price_list", zone: "general", data: priceList, builtInFieldIds: GENERAL_FIELD_IDS })
|
|
186
205
|
] });
|
|
187
206
|
};
|
|
188
207
|
|
|
@@ -194,6 +213,7 @@ import { createColumnHelper } from "@tanstack/react-table";
|
|
|
194
213
|
import { useMemo, useState } from "react";
|
|
195
214
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
196
215
|
import { useNavigate } from "react-router-dom";
|
|
216
|
+
import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
|
|
197
217
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
198
218
|
var PAGE_SIZE = 10;
|
|
199
219
|
var PREFIX = "p";
|
|
@@ -333,6 +353,14 @@ var PriceListProductSection = ({
|
|
|
333
353
|
queryObject: raw,
|
|
334
354
|
"data-testid": "price-list-product-section-table"
|
|
335
355
|
}
|
|
356
|
+
),
|
|
357
|
+
/* @__PURE__ */ jsx3(
|
|
358
|
+
DisplayExtensionZone3,
|
|
359
|
+
{
|
|
360
|
+
model: "price_list",
|
|
361
|
+
zone: "products",
|
|
362
|
+
data: priceList
|
|
363
|
+
}
|
|
336
364
|
)
|
|
337
365
|
] });
|
|
338
366
|
};
|
|
@@ -442,7 +470,8 @@ var useColumns = (priceList) => {
|
|
|
442
470
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
443
471
|
var Root = ({ children }) => {
|
|
444
472
|
const { id } = useParams();
|
|
445
|
-
const
|
|
473
|
+
const linkQuery = useLinkQuery("price_list");
|
|
474
|
+
const { price_list, isLoading, isError, error } = usePriceList(id, linkQuery);
|
|
446
475
|
if (isLoading || !price_list) {
|
|
447
476
|
return /* @__PURE__ */ jsx4(TwoColumnPageSkeleton, { mainSections: 2, sidebarSections: 1, showJSON: true });
|
|
448
477
|
}
|
|
@@ -450,11 +479,11 @@ var Root = ({ children }) => {
|
|
|
450
479
|
throw error;
|
|
451
480
|
}
|
|
452
481
|
return Children.count(children) > 0 ? /* @__PURE__ */ jsx4(TwoColumnPage, { data: price_list, showJSON: true, "data-testid": "price-list-detail-page", children }) : /* @__PURE__ */ jsxs4(TwoColumnPage, { data: price_list, showJSON: true, "data-testid": "price-list-detail-page", children: [
|
|
453
|
-
/* @__PURE__ */
|
|
482
|
+
/* @__PURE__ */ jsx4(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs4(WidgetZone, { id: "price-lists.detail.main", data: price_list, children: [
|
|
454
483
|
/* @__PURE__ */ jsx4(PriceListGeneralSection, { priceList: price_list }),
|
|
455
484
|
/* @__PURE__ */ jsx4(PriceListProductSection, { priceList: price_list })
|
|
456
|
-
] }),
|
|
457
|
-
/* @__PURE__ */ jsx4(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx4(PriceListConfigurationSection, { priceList: price_list }) })
|
|
485
|
+
] }) }),
|
|
486
|
+
/* @__PURE__ */ jsx4(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "price-lists.detail.side", data: price_list, children: /* @__PURE__ */ jsx4(PriceListConfigurationSection, { priceList: price_list }) }) })
|
|
458
487
|
] });
|
|
459
488
|
};
|
|
460
489
|
var PriceListDetailPage = Object.assign(Root, {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-54EPH67T.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LPIPSLR7.js";
|
|
7
7
|
import {
|
|
8
8
|
useCustomerGroupTableQuery
|
|
9
9
|
} from "./chunk-3XOE4NV5.js";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
_DataTable,
|
|
16
16
|
useDataTable
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GRFWCCUW.js";
|
|
18
18
|
import {
|
|
19
19
|
useCustomerGroups
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AFYILTAC.js";
|
|
21
21
|
|
|
22
22
|
// src/pages/price-lists/common/components/price-list-customer-group-rule-form/price-list-customer-group-rule-form.tsx
|
|
23
23
|
import { Button, Checkbox } from "@medusajs/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
productsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MMKUMSZS.js";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -20,7 +20,7 @@ var COLLECTION_QUERY_KEY = "collections";
|
|
|
20
20
|
var collectionsQueryKeys = queryKeysFactory(COLLECTION_QUERY_KEY);
|
|
21
21
|
var useCollection = (id, query, options) => {
|
|
22
22
|
const { data, ...rest } = useQuery({
|
|
23
|
-
queryKey: collectionsQueryKeys.detail(id),
|
|
23
|
+
queryKey: collectionsQueryKeys.detail(id, query),
|
|
24
24
|
queryFn: () => sdk.admin.collections.$id.query({ $id: id, ...query }),
|
|
25
25
|
...options
|
|
26
26
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
customerGroupsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AFYILTAC.js";
|
|
4
4
|
import {
|
|
5
5
|
productsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MMKUMSZS.js";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -24,7 +24,7 @@ var priceListsQueryKeys = queryKeysFactory(PRICE_LISTS_QUERY_KEY);
|
|
|
24
24
|
var usePriceList = (id, query, options) => {
|
|
25
25
|
const { data, ...rest } = useQuery({
|
|
26
26
|
queryFn: () => sdk.admin.priceLists.$id.query({ $id: id, ...query }),
|
|
27
|
-
queryKey: priceListsQueryKeys.detail(id),
|
|
27
|
+
queryKey: priceListsQueryKeys.detail(id, query),
|
|
28
28
|
...options
|
|
29
29
|
});
|
|
30
30
|
return { ...data, ...rest };
|