@medusajs/dashboard 2.10.4-preview-20250927210155 → 2.10.4-snapshot-20250918173105
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-3BB3BLFD.mjs → add-campaign-promotions-FE4BXGVN.mjs} +6 -7
- package/dist/{adjust-inventory-OIJTAKHP.mjs → adjust-inventory-WBEBMJN7.mjs} +1 -1
- package/dist/{api-key-management-create-XDQHUNWK.mjs → api-key-management-create-VXPZX2Q5.mjs} +3 -3
- package/dist/{api-key-management-detail-ZQLQKGYF.mjs → api-key-management-detail-SAVBCKX7.mjs} +14 -15
- package/dist/{api-key-management-edit-2SUSKI7T.mjs → api-key-management-edit-7CGMSHAY.mjs} +3 -3
- package/dist/{api-key-management-list-C2WM4PHC.mjs → api-key-management-list-5DI3L4DV.mjs} +7 -8
- package/dist/{api-key-management-sales-channels-MVHVMPF6.mjs → api-key-management-sales-channels-WL5L5XWM.mjs} +5 -6
- package/dist/app.css +34 -89
- package/dist/app.js +5633 -6732
- package/dist/app.mjs +15 -17
- package/dist/{campaign-budget-edit-UWGCET5Z.mjs → campaign-budget-edit-OXNTSPGE.mjs} +1 -1
- package/dist/{campaign-configuration-WWCCFNYQ.mjs → campaign-configuration-Z5HA2DG3.mjs} +1 -1
- package/dist/{campaign-create-CQ3XBHSY.mjs → campaign-create-AVBNHFC2.mjs} +3 -4
- package/dist/{campaign-detail-LASOFZ2O.mjs → campaign-detail-KTOLZNTA.mjs} +21 -22
- package/dist/{campaign-edit-R43GXNET.mjs → campaign-edit-3TDW52BO.mjs} +1 -1
- package/dist/{campaign-list-CDO5PRTL.mjs → campaign-list-G4MD3RPU.mjs} +6 -7
- package/dist/{categories-metadata-HUIY6V4F.mjs → categories-metadata-GXWJ3HOG.mjs} +12 -13
- package/dist/{category-create-GMFWRFT7.mjs → category-create-FOVB5MJ4.mjs} +16 -38
- package/dist/{category-detail-ZJJBYVFX.mjs → category-detail-ENUI5EFL.mjs} +18 -19
- package/dist/{category-edit-HCHER73V.mjs → category-edit-O4ZSANE5.mjs} +16 -36
- package/dist/{category-list-IXW2NWWJ.mjs → category-list-UI6W5KF5.mjs} +7 -8
- package/dist/{category-organize-LRQKM4LA.mjs → category-organize-BW3YOPUS.mjs} +2 -2
- package/dist/{category-products-7N4TITQ4.mjs → category-products-ZG5QDWSW.mjs} +14 -15
- package/dist/{chunk-2PGNKUXS.mjs → chunk-2HKRIUW4.mjs} +1 -1
- package/dist/{chunk-KTL6E2WT.mjs → chunk-2LPGQWPV.mjs} +1 -1
- package/dist/{chunk-OFN7DIZA.mjs → chunk-2PMSBTXI.mjs} +13 -17
- package/dist/{chunk-GIZFNLKK.mjs → chunk-2RQLKDBF.mjs} +96 -103
- package/dist/{chunk-AN5IILM2.mjs → chunk-2YP2ZNKR.mjs} +1 -1
- package/dist/{chunk-OZPB6JBL.mjs → chunk-3NJTXRIY.mjs} +1 -5
- package/dist/{chunk-XP3BY6G6.mjs → chunk-4Q4LIFFO.mjs} +1 -1
- package/dist/{chunk-RGP3IXX4.mjs → chunk-4RG7UJCT.mjs} +1 -1
- package/dist/{chunk-MSOFJHH3.mjs → chunk-5M5ZVAWU.mjs} +2 -2
- package/dist/{chunk-SNDSWB6B.mjs → chunk-5NQ3X2JI.mjs} +1 -1
- package/dist/{chunk-CXTAH75K.mjs → chunk-5WKYR6PY.mjs} +1 -1
- package/dist/{chunk-XR7I5HGZ.mjs → chunk-6AGMMT5H.mjs} +4 -4
- package/dist/{chunk-YSFTQA6Y.mjs → chunk-6IZUCU7K.mjs} +2 -2
- package/dist/{chunk-FXG2Z3QT.mjs → chunk-74K7HGNI.mjs} +2 -3
- package/dist/{chunk-EYL2JACT.mjs → chunk-7VJK6HNE.mjs} +4 -4
- package/dist/{chunk-U4R5MBF2.mjs → chunk-7YZF3THS.mjs} +1 -1
- package/dist/{chunk-HQKGZADC.mjs → chunk-AOFGTNG6.mjs} +1 -6
- package/dist/{chunk-EYTETK3W.mjs → chunk-BFNH5UWD.mjs} +1 -1
- package/dist/chunk-BKJC5BGQ.mjs +53 -0
- package/dist/{chunk-UKX2FFFV.mjs → chunk-CK3VFTZM.mjs} +2 -2
- package/dist/{chunk-PRLQLEEQ.mjs → chunk-D7H6ZNK4.mjs} +0 -2
- package/dist/{chunk-SQFZWNYA.mjs → chunk-EE7SOCEQ.mjs} +4 -4
- package/dist/{chunk-PGTXMCSV.mjs → chunk-EFA7S5L3.mjs} +1 -1
- package/dist/{chunk-P2O6XTD4.mjs → chunk-FPJBF7VS.mjs} +1 -1
- package/dist/{chunk-V6JXTITD.mjs → chunk-GB7CZNXI.mjs} +2 -2
- package/dist/{chunk-RF75BZNF.mjs → chunk-HUX22ZHT.mjs} +3 -3
- package/dist/{chunk-7DFTLGA5.mjs → chunk-IRJKUFJU.mjs} +682 -623
- package/dist/{chunk-CY33DS7K.mjs → chunk-J5E7MQSS.mjs} +0 -6
- package/dist/{chunk-DKOCYXB5.mjs → chunk-JELVERJM.mjs} +3 -40
- package/dist/{chunk-7JJTWGHU.mjs → chunk-JHXKKOHO.mjs} +15 -49
- package/dist/{chunk-IP2QPPWC.mjs → chunk-KMUDF36P.mjs} +1 -1
- package/dist/{chunk-U25RCIX2.mjs → chunk-KSRI5LOF.mjs} +2 -2
- package/dist/{chunk-QPLPGRYF.mjs → chunk-LAWIWR7K.mjs} +1 -1
- package/dist/{chunk-HWKLNKOY.mjs → chunk-LBIOZZPA.mjs} +1 -1
- package/dist/{chunk-NY6I2FYO.mjs → chunk-NCR5UWRI.mjs} +1 -1
- package/dist/{chunk-VWQYN2RW.mjs → chunk-NRBOPOMS.mjs} +1 -1
- package/dist/{chunk-TKZK3YPU.mjs → chunk-O74UDEWT.mjs} +1 -1
- package/dist/{chunk-PAG2HG6I.mjs → chunk-OGHQ6VJI.mjs} +5 -44
- package/dist/{chunk-LKVQ5YC6.mjs → chunk-OHSRRFGN.mjs} +1 -1
- package/dist/{chunk-K3OMOMRB.mjs → chunk-OKMF4YI7.mjs} +0 -25
- package/dist/{chunk-MLNUGLGT.mjs → chunk-Q5DI5VYN.mjs} +1 -1
- package/dist/{chunk-LMRZMI7O.mjs → chunk-QGCKTVQX.mjs} +1 -1
- package/dist/{chunk-VI7MI3US.mjs → chunk-R2NWOCML.mjs} +2 -8
- package/dist/{chunk-ZSDEVTFT.mjs → chunk-RMEITCLS.mjs} +1 -1
- package/dist/{chunk-IL5IMREK.mjs → chunk-S2UEWRDA.mjs} +49 -59
- package/dist/{chunk-NFQXNOP7.mjs → chunk-S45XMWVD.mjs} +1 -1
- package/dist/{chunk-IRO6DO7J.mjs → chunk-SCBXRJPV.mjs} +1 -1
- package/dist/{chunk-RBDAWRFF.mjs → chunk-SMHXCFRS.mjs} +41 -54
- package/dist/{chunk-IVZ6BMDB.mjs → chunk-T7G2CURS.mjs} +0 -1
- package/dist/{chunk-7GBCLBMX.mjs → chunk-UNM3LPTG.mjs} +12 -25
- package/dist/{chunk-NKVMOKZA.mjs → chunk-UWJBDOQD.mjs} +29 -41
- package/dist/{chunk-4QUHWHBD.mjs → chunk-X4X5KUGQ.mjs} +0 -3
- package/dist/{chunk-K2HM7KXJ.mjs → chunk-XGJ5DXXG.mjs} +12 -12
- package/dist/{chunk-ZCARHA6C.mjs → chunk-XKXNQ2KV.mjs} +1 -1
- package/dist/{chunk-5WMJLYEP.mjs → chunk-Y4YXZY7R.mjs} +2 -2
- package/dist/{chunk-ITJEYJNB.mjs → chunk-YI4CZGTU.mjs} +1 -1
- package/dist/{chunk-AXXGAOQL.mjs → chunk-YWNHMIEQ.mjs} +2 -2
- package/dist/chunk-ZCZL3STK.mjs +64 -0
- package/dist/{chunk-R2G2B47Y.mjs → chunk-ZODJNBAV.mjs} +0 -1
- package/dist/{collection-add-products-WKMNYPLS.mjs → collection-add-products-2ISNNIHD.mjs} +14 -15
- package/dist/{collection-create-PTOF33H2.mjs → collection-create-75ZI5NDG.mjs} +2 -2
- package/dist/{collection-detail-NONKXELG.mjs → collection-detail-OSX6NHNQ.mjs} +16 -17
- package/dist/{collection-edit-WM57WXJ2.mjs → collection-edit-RD6BDDDI.mjs} +2 -2
- package/dist/{collection-list-3ZHLS2LP.mjs → collection-list-MPIYSHQJ.mjs} +18 -19
- package/dist/{collection-metadata-J6P3K7U6.mjs → collection-metadata-EOFYXEQI.mjs} +12 -13
- package/dist/{customer-create-address-JOYBIPPN.mjs → customer-create-address-TPSDYZBN.mjs} +1 -1
- package/dist/{customer-detail-5Y7ICDMA.mjs → customer-detail-FCNRRZSW.mjs} +16 -17
- package/dist/{customer-group-add-customers-YF2T323Z.mjs → customer-group-add-customers-ULPWTALS.mjs} +2 -3
- package/dist/{customer-group-detail-PXP73BFA.mjs → customer-group-detail-QI3QLJJL.mjs} +15 -16
- package/dist/{customer-group-list-3DB643XQ.mjs → customer-group-list-GPIKR66X.mjs} +14 -15
- package/dist/{customer-group-metadata-YQCOIVQG.mjs → customer-group-metadata-UPAPULMF.mjs} +1 -2
- package/dist/{customer-list-5IWEXYSW.mjs → customer-list-SINCBCOZ.mjs} +4 -5
- package/dist/{customer-metadata-JZEJBH4V.mjs → customer-metadata-5NPUMPZ2.mjs} +1 -2
- package/dist/{customers-add-customer-group-BVUVU46N.mjs → customers-add-customer-group-5TFTVDB6.mjs} +13 -14
- package/dist/{edit-inventory-item-UV2Z7SYL.mjs → edit-inventory-item-ZPE4MMC4.mjs} +1 -1
- package/dist/{edit-inventory-item-attributes-BRC3KBYT.mjs → edit-inventory-item-attributes-KT7BSPZ7.mjs} +2 -2
- package/dist/{edit-reservation-NYGQBFBO.mjs → edit-reservation-EKH4RIAX.mjs} +2 -7
- package/dist/{edit-rules-3MSTPCE5.mjs → edit-rules-63NG4QVR.mjs} +13 -14
- package/dist/{inventory-create-NEYX7PZJ.mjs → inventory-create-RIVJFJJQ.mjs} +14 -19
- package/dist/{inventory-detail-66HDQL3W.mjs → inventory-detail-5433AAQ2.mjs} +18 -25
- package/dist/{inventory-list-J5VZGQ2M.mjs → inventory-list-YMYF7QVP.mjs} +5 -6
- package/dist/{inventory-metadata-OSTUWM23.mjs → inventory-metadata-FH4CHJBA.mjs} +12 -13
- package/dist/{inventory-stock-XY2OCAY3.mjs → inventory-stock-D6E4LQRK.mjs} +13 -14
- package/dist/{location-create-22H74MFP.mjs → location-create-LUP363ZB.mjs} +1 -1
- package/dist/{location-detail-UZHD3IKW.mjs → location-detail-Z6ZDX6RY.mjs} +13 -14
- package/dist/{location-edit-X6JBEWIF.mjs → location-edit-26K26G23.mjs} +2 -2
- package/dist/{location-fulfillment-providers-D4RMKQXU.mjs → location-fulfillment-providers-45VXZMZI.mjs} +15 -16
- package/dist/location-list-BKK2PAKF.mjs +297 -0
- package/dist/{location-sales-channels-66ZE3ZMI.mjs → location-sales-channels-2BOIPBBG.mjs} +4 -5
- package/dist/{location-service-zone-create-D5QSFS3M.mjs → location-service-zone-create-RPFLBVV4.mjs} +3 -4
- package/dist/{location-service-zone-manage-areas-HKCALG4Q.mjs → location-service-zone-manage-areas-VEUUGPKF.mjs} +3 -4
- package/dist/{location-service-zone-shipping-option-create-OASLL2K7.mjs → location-service-zone-shipping-option-create-NO3665DC.mjs} +15 -23
- package/dist/{location-service-zone-shipping-option-edit-DOCLZOO7.mjs → location-service-zone-shipping-option-edit-TMXNX4VX.mjs} +28 -40
- package/dist/{location-service-zone-shipping-option-pricing-FLB63UKY.mjs → location-service-zone-shipping-option-pricing-U2SDK5DE.mjs} +2 -3
- package/dist/{login-LQRL2ZDY.mjs → login-DSPNELTI.mjs} +11 -11
- package/dist/manage-locations-3TBIUSHP.mjs +236 -0
- package/dist/{order-allocate-items-2RYXQRVK.mjs → order-allocate-items-J3ZHGC22.mjs} +14 -26
- package/dist/{order-create-claim-7UF734QH.mjs → order-create-claim-V63BWLB5.mjs} +18 -20
- package/dist/{order-create-edit-MZHUVTGE.mjs → order-create-edit-NPF4UZ4D.mjs} +16 -18
- package/dist/{order-create-exchange-2UGEF65S.mjs → order-create-exchange-RHIPPSKU.mjs} +18 -20
- package/dist/{order-create-fulfillment-HGJ2YPUB.mjs → order-create-fulfillment-4SSUHQ75.mjs} +12 -19
- package/dist/{order-create-refund-CJDKVBSE.mjs → order-create-refund-QVQC5ZP5.mjs} +17 -52
- package/dist/{order-create-return-5IPRHHLJ.mjs → order-create-return-GVA6M2RY.mjs} +9 -11
- package/dist/{order-create-shipment-3FDVQ6WT.mjs → order-create-shipment-TJAARKWA.mjs} +11 -13
- package/dist/{order-detail-SEPCRJW5.mjs → order-detail-2MIN6B2I.mjs} +42 -50
- package/dist/{order-edit-billing-address-J75NQFRY.mjs → order-edit-billing-address-QP2I5F3E.mjs} +12 -12
- package/dist/{order-edit-email-ABFQKE6A.mjs → order-edit-email-7WT7XTHB.mjs} +11 -11
- package/dist/{order-edit-shipping-address-OXW7TAJD.mjs → order-edit-shipping-address-3QFMQP4I.mjs} +12 -12
- package/dist/{order-list-VDUUHTSU.mjs → order-list-7S3N6H5A.mjs} +10 -11
- package/dist/{order-metadata-5NF3ICQL.mjs → order-metadata-YJS26DHK.mjs} +12 -13
- package/dist/{order-receive-return-IM65P7XQ.mjs → order-receive-return-PZMMMUB2.mjs} +13 -14
- package/dist/{order-request-transfer-LZ25KEDA.mjs → order-request-transfer-QBIZD36E.mjs} +12 -12
- package/dist/{price-list-configuration-VACKCKJF.mjs → price-list-configuration-435QDWB2.mjs} +5 -6
- package/dist/{price-list-create-EC5VGCMW.mjs → price-list-create-RXDH5CXF.mjs} +24 -39
- package/dist/{price-list-detail-CRTJA5O4.mjs → price-list-detail-PKIKOJ4H.mjs} +17 -18
- package/dist/{price-list-edit-G73ZIU2Y.mjs → price-list-edit-ZGBOZYSC.mjs} +31 -51
- package/dist/{price-list-list-QYZSJNF5.mjs → price-list-list-C6NEB2R4.mjs} +7 -8
- package/dist/{price-list-prices-add-HYCM4QDY.mjs → price-list-prices-add-2CDPUSYA.mjs} +20 -28
- package/dist/{price-list-prices-edit-R53ITSDD.mjs → price-list-prices-edit-ENB4GJZT.mjs} +4 -5
- package/dist/{product-attributes-WVQRK3GQ.mjs → product-attributes-LVV3K24U.mjs} +17 -19
- package/dist/{product-create-PWSPOVUS.mjs → product-create-HQORHMCM.mjs} +21 -27
- package/dist/{product-create-option-OW2LMVST.mjs → product-create-option-3JR35UZ5.mjs} +1 -1
- package/dist/{product-create-variant-V2QGXFEF.mjs → product-create-variant-KJKQ6ROY.mjs} +18 -31
- package/dist/{product-detail-EBPCCBI4.mjs → product-detail-UROTMCRL.mjs} +19 -21
- package/dist/{product-edit-5E6D43KE.mjs → product-edit-4EVIUVKV.mjs} +28 -41
- package/dist/{product-edit-option-OM56DLU6.mjs → product-edit-option-VNDGZ37A.mjs} +1 -1
- package/dist/{product-export-VFC3I5DK.mjs → product-export-XERWEI5H.mjs} +13 -13
- package/dist/{product-import-V7EZJ2TU.mjs → product-import-AGFJMSVK.mjs} +13 -14
- package/dist/{product-list-FFZO57JG.mjs → product-list-3B742YCJ.mjs} +18 -19
- package/dist/{product-media-TRKQTA4G.mjs → product-media-APQKPFTT.mjs} +5 -5
- package/dist/{product-metadata-VYQ65KYI.mjs → product-metadata-NZ3HKO67.mjs} +12 -13
- package/dist/{product-organization-OCVSTKEK.mjs → product-organization-YQUIMUYX.mjs} +18 -20
- package/dist/{product-prices-XLY5TUSJ.mjs → product-prices-PCBMYYGV.mjs} +2 -3
- package/dist/{product-sales-channels-KSIHPDJG.mjs → product-sales-channels-UGPAXFAV.mjs} +4 -5
- package/dist/{product-shipping-profile-SG6NDHF4.mjs → product-shipping-profile-FRIMAOZQ.mjs} +17 -19
- package/dist/{product-stock-LJRYRSKN.mjs → product-stock-SUVEQZML.mjs} +14 -16
- package/dist/{product-tag-create-EB5CVUOP.mjs → product-tag-create-T6HVAQKN.mjs} +11 -11
- package/dist/{product-tag-detail-V5CZY4R4.mjs → product-tag-detail-HOWUZC3P.mjs} +21 -22
- package/dist/{product-tag-edit-YATSW5OK.mjs → product-tag-edit-WWQDNDRC.mjs} +11 -11
- package/dist/{product-tag-list-2LFGEFGL.mjs → product-tag-list-FAKSLONF.mjs} +21 -22
- package/dist/{product-tag-metadata-R5P5FWAZ.mjs → product-tag-metadata-6B56VEZU.mjs} +12 -13
- package/dist/{product-type-detail-BZNI5GJ5.mjs → product-type-detail-KN64HYUV.mjs} +16 -17
- package/dist/{product-type-list-MJLAGQYC.mjs → product-type-list-6ZIWPIUH.mjs} +4 -5
- package/dist/{product-type-metadata-SUQHWLWA.mjs → product-type-metadata-F3FTI6OG.mjs} +12 -13
- package/dist/{product-variant-detail-W2JHQQQJ.mjs → product-variant-detail-OUHBUY4J.mjs} +15 -16
- package/dist/{product-variant-edit-DSY77FF4.mjs → product-variant-edit-NBYHDUJ5.mjs} +13 -17
- package/dist/{product-variant-manage-inventory-items-JH65NAD4.mjs → product-variant-manage-inventory-items-TM3VAHBJ.mjs} +2 -2
- package/dist/{product-variant-metadata-HE3MRTJB.mjs → product-variant-metadata-XDVLJYGQ.mjs} +12 -13
- package/dist/{profile-detail-XYAQ2G36.mjs → profile-detail-ROG22HHL.mjs} +2 -3
- package/dist/{profile-edit-7WD4FTRH.mjs → profile-edit-HSUQIQQH.mjs} +19 -31
- package/dist/{promotion-add-campaign-YOUUM6RB.mjs → promotion-add-campaign-7R26KU2U.mjs} +21 -9
- package/dist/{promotion-create-NBFV4XQV.mjs → promotion-create-UUOG52D5.mjs} +17 -29
- package/dist/{promotion-detail-247QD6DA.mjs → promotion-detail-6ZD7Z6BF.mjs} +76 -126
- package/dist/{promotion-edit-details-A2UUSAZA.mjs → promotion-edit-details-HQLYX4X4.mjs} +2 -10
- package/dist/{promotion-list-WDHOSD55.mjs → promotion-list-GI64LDWI.mjs} +8 -9
- package/dist/{region-add-countries-6GSF4CKJ.mjs → region-add-countries-Y4YAHDUZ.mjs} +2 -3
- package/dist/{region-create-AV2NJNNJ.mjs → region-create-5Y3GIQBV.mjs} +39 -49
- package/dist/{region-detail-PB7EUSTD.mjs → region-detail-CWRFM6P3.mjs} +4 -5
- package/dist/region-edit-JWQWCLM3.mjs +285 -0
- package/dist/{region-list-52LF5S4S.mjs → region-list-FQNI7F37.mjs} +4 -5
- package/dist/{region-metadata-3JIGHAUI.mjs → region-metadata-IQVB4ERU.mjs} +12 -13
- package/dist/{reservation-create-FKBCGQA7.mjs → reservation-create-7RFXWDXB.mjs} +3 -3
- package/dist/{reservation-detail-FENCNQDA.mjs → reservation-detail-RTGHD35L.mjs} +14 -15
- package/dist/{reservation-list-NOWJUMXV.mjs → reservation-list-UOC7RNRZ.mjs} +6 -7
- package/dist/{reservation-metadata-DQ3A7MHU.mjs → reservation-metadata-WKJXBRLQ.mjs} +12 -13
- package/dist/{reset-password-LCVV4NOA.mjs → reset-password-SXA6YKTJ.mjs} +1 -1
- package/dist/{return-reason-list-FW7OYUOW.mjs → return-reason-list-MOP7YWMZ.mjs} +7 -8
- package/dist/{sales-channel-add-products-G4EUOCWY.mjs → sales-channel-add-products-OKVZJ6FI.mjs} +14 -15
- package/dist/{sales-channel-create-NODWGJDD.mjs → sales-channel-create-3MPOMVPD.mjs} +2 -4
- package/dist/{sales-channel-detail-NT7PEVVH.mjs → sales-channel-detail-WESBK6Q7.mjs} +16 -17
- package/dist/{sales-channel-edit-ALIRERVH.mjs → sales-channel-edit-LSLAM7A4.mjs} +2 -4
- package/dist/{sales-channel-list-REV2RETE.mjs → sales-channel-list-ADIJMXNV.mjs} +14 -15
- package/dist/{sales-channel-metadata-O5O6ADG5.mjs → sales-channel-metadata-2OQAHYB4.mjs} +12 -13
- package/dist/{shipping-option-type-create-7FSJNHHA.mjs → shipping-option-type-create-3CGPGDYJ.mjs} +11 -11
- package/dist/{shipping-option-type-detail-6UQST7RY.mjs → shipping-option-type-detail-S23H2OGW.mjs} +14 -15
- package/dist/{shipping-option-type-edit-B475WRRR.mjs → shipping-option-type-edit-IHE7XM6M.mjs} +11 -11
- package/dist/{shipping-option-type-list-DTETSFSA.mjs → shipping-option-type-list-47GRJ6EC.mjs} +16 -17
- package/dist/{shipping-profile-detail-FS46IJZP.mjs → shipping-profile-detail-FDUPDSH4.mjs} +2 -3
- package/dist/{shipping-profile-metadata-PRINFNSY.mjs → shipping-profile-metadata-OXWOXAAR.mjs} +12 -13
- package/dist/{shipping-profiles-list-QFOG5IDH.mjs → shipping-profiles-list-ZHJEUIKJ.mjs} +4 -5
- package/dist/{store-add-currencies-W4MWOALR.mjs → store-add-currencies-R26SVHT5.mjs} +2 -5
- package/dist/{store-detail-QKF2TVNW.mjs → store-detail-4K7TW2TP.mjs} +15 -16
- package/dist/{store-edit-ZPGTNZGL.mjs → store-edit-EU55TNFU.mjs} +12 -24
- package/dist/{store-metadata-M6GIKI5P.mjs → store-metadata-JP2CI7EF.mjs} +12 -13
- package/dist/{tax-region-create-4DTM3RTZ.mjs → tax-region-create-W3K5IFD3.mjs} +14 -14
- package/dist/{tax-region-detail-SLCI3JYL.mjs → tax-region-detail-V2F2DONN.mjs} +17 -18
- package/dist/{tax-region-edit-CJ63JXFQ.mjs → tax-region-edit-CJPMYTBF.mjs} +12 -12
- package/dist/{tax-region-list-SQQE2GUU.mjs → tax-region-list-NMM3LBPN.mjs} +5 -6
- package/dist/{tax-region-province-create-SBRFGWN3.mjs → tax-region-province-create-GIIU2G7K.mjs} +2 -2
- package/dist/{tax-region-province-detail-BGL2USQF.mjs → tax-region-province-detail-4PUQ5ADW.mjs} +16 -17
- package/dist/{tax-region-tax-override-create-L4WOTSBO.mjs → tax-region-tax-override-create-3SCIOK4P.mjs} +20 -25
- package/dist/{tax-region-tax-override-edit-2JAVNE37.mjs → tax-region-tax-override-edit-P3QJKET3.mjs} +20 -25
- package/dist/{tax-region-tax-rate-create-JIV5FXUD.mjs → tax-region-tax-rate-create-Z43M3JTQ.mjs} +1 -1
- package/dist/{tax-region-tax-rate-edit-WU2ZQLZQ.mjs → tax-region-tax-rate-edit-RBF5D2MK.mjs} +1 -1
- package/dist/{user-detail-ZFW3YF3M.mjs → user-detail-VIVFFLOW.mjs} +3 -4
- package/dist/{user-invite-KUH4AI2L.mjs → user-invite-W26LOOW7.mjs} +3 -4
- package/dist/{user-list-G4H2RSDX.mjs → user-list-3YFYZFSK.mjs} +3 -4
- package/dist/{user-metadata-DFTGB46F.mjs → user-metadata-ZURLDLGC.mjs} +12 -13
- package/dist/{workflow-execution-detail-YNT2RKIP.mjs → workflow-execution-detail-4R6AFFHV.mjs} +13 -17
- package/dist/{workflow-execution-list-5WL4L464.mjs → workflow-execution-list-5J3DQQRD.mjs} +3 -4
- package/package.json +9 -9
- package/src/components/common/action-menu/action-menu.tsx +1 -3
- package/src/components/common/customer-info/customer-info.tsx +1 -1
- package/src/components/common/json-view-section/json-view-section.tsx +1 -4
- package/src/components/common/sidebar-link/sidebar-link.tsx +1 -1
- package/src/components/common/switch-box/switch-box.tsx +0 -2
- package/src/components/data-grid/components/data-grid-root.tsx +3 -9
- package/src/components/data-grid/components/data-grid-toggleable-number-cell.tsx +1 -2
- package/src/components/data-table/data-table.tsx +46 -64
- package/src/components/filtering/filter-group/filter-group.tsx +1 -5
- package/src/components/filtering/order-by/order-by.tsx +1 -4
- package/src/components/forms/address-form/address-form.tsx +2 -7
- package/src/components/forms/metadata-form/metadata-form.tsx +3 -6
- package/src/components/inputs/combobox/combobox.tsx +13 -20
- package/src/components/inputs/country-select/country-select.tsx +1 -1
- package/src/components/inputs/province-select/province-select.tsx +1 -1
- package/src/components/layout/main-layout/main-layout.tsx +5 -7
- package/src/components/layout/settings-layout/settings-layout.tsx +0 -4
- package/src/components/layout/shell/shell.tsx +6 -6
- package/src/components/layout/user-menu/user-menu.tsx +10 -12
- package/src/components/search/search.tsx +3 -5
- package/src/components/table/data-table/data-table-order-by/data-table-order-by.tsx +1 -4
- package/src/components/table/data-table/data-table-root/data-table-root.tsx +3 -3
- package/src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx +1 -1
- package/src/dashboard-app/routes/get-route.map.tsx +0 -36
- package/src/hooks/api/campaigns.tsx +0 -1
- package/src/hooks/api/inventory.tsx +0 -3
- package/src/hooks/api/payments.tsx +1 -6
- package/src/hooks/api/refund-reasons.tsx +10 -105
- package/src/hooks/table/columns/index.ts +0 -1
- package/src/hooks/table/query/index.ts +0 -1
- package/src/hooks/table/use-table-configuration.tsx +1 -1
- package/src/i18n/translations/$schema.json +67 -208
- package/src/i18n/translations/en.json +3 -40
- package/src/providers/i18n-provider/i18n-provider.tsx +4 -9
- package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +3 -3
- package/src/routes/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx +1 -4
- package/src/routes/categories/category-create/components/create-category-form/create-category-details.tsx +3 -12
- package/src/routes/categories/category-create/components/create-category-form/create-category-form.tsx +3 -4
- package/src/routes/categories/category-detail/components/category-organize-section/category-organize-section.tsx +1 -1
- package/src/routes/categories/category-edit/components/edit-category-form/edit-category-form.tsx +3 -12
- package/src/routes/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx +1 -3
- package/src/routes/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx +1 -1
- package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +0 -7
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-item.tsx +2 -2
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/manage-locations-form.tsx +140 -127
- package/src/routes/locations/location-edit/components/edit-location-form/edit-location-form.tsx +1 -1
- package/src/routes/locations/location-list/components/location-list-header/index.ts +1 -0
- package/src/routes/locations/location-list/components/location-list-header/location-list-header.tsx +21 -0
- package/src/routes/locations/location-list/index.ts +1 -0
- package/src/routes/locations/location-list/loader.ts +36 -0
- package/src/routes/locations/location-list/location-list.tsx +14 -52
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +1 -4
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +1 -3
- package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +2 -7
- package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +2 -7
- package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +1 -2
- package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-create-form.tsx +1 -2
- package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +1 -2
- package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +1 -5
- package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +1 -42
- package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +1 -2
- package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +0 -2
- package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +5 -13
- package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +1 -2
- package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-create-form.tsx +1 -3
- package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-details-form.tsx +2 -8
- package/src/routes/price-lists/price-list-edit/components/price-list-edit-form/edit-price-list-form.tsx +3 -12
- package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-form.tsx +5 -10
- package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +0 -4
- package/src/routes/products/common/components/category-combobox/category-combobox.tsx +11 -11
- package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +1 -3
- package/src/routes/products/product-create-variant/components/create-product-variant-form/create-product-variant-form.tsx +5 -10
- package/src/routes/products/product-create-variant/components/create-product-variant-form/details-tab.tsx +1 -6
- package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +2 -7
- package/src/routes/products/product-media/components/product-media-gallery/product-media-gallery.tsx +2 -2
- package/src/routes/products/product-stock/hooks/use-product-stock-columns.tsx +1 -2
- package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +3 -9
- package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +0 -4
- package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +49 -48
- package/src/routes/promotions/promotion-add-campaign/promotion-add-campaign.tsx +21 -4
- package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +3 -12
- package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +1 -6
- package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +12 -29
- package/src/routes/regions/region-create/region-create.tsx +10 -1
- package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +10 -32
- package/src/routes/regions/region-edit/region-edit.tsx +5 -0
- package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +1 -3
- package/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/create-sales-channel-form.tsx +0 -2
- package/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/edit-sales-channel-form.tsx +0 -2
- package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +0 -2
- package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +2 -7
- package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +1 -3
- package/src/routes/tax-regions/tax-region-tax-override-edit/components/tax-region-tax-override-edit-form/tax-region-tax-override-edit-form.tsx +1 -3
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +2 -3
- package/dist/chunk-5U3FFMC7.mjs +0 -84
- package/dist/chunk-S4DMV3ZT.mjs +0 -35
- package/dist/chunk-VLOA5XAC.mjs +0 -113
- package/dist/location-list-VNEYHAKV.mjs +0 -323
- package/dist/manage-locations-RPHTPGRE.mjs +0 -247
- package/dist/refund-reason-create-45ZZOX7F.mjs +0 -157
- package/dist/refund-reason-edit-E2HDAQZI.mjs +0 -144
- package/dist/refund-reason-list-WI7NHRDS.mjs +0 -245
- package/dist/region-edit-X7CSUICV.mjs +0 -308
- package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +0 -32
- package/src/hooks/table/query/use-refund-reason-table-query.tsx +0 -32
- package/src/hooks/use-document-direction.tsx +0 -54
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-search-input.tsx +0 -34
- package/src/routes/locations/location-list/use-location-list-table-columns.tsx +0 -185
- package/src/routes/locations/location-list/use-location-list-table-query.tsx +0 -22
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +0 -131
- package/src/routes/refund-reasons/refund-reason-create/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +0 -10
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +0 -119
- package/src/routes/refund-reasons/refund-reason-edit/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +0 -33
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +0 -1
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +0 -138
- package/src/routes/refund-reasons/refund-reason-list/index.ts +0 -2
- package/src/routes/refund-reasons/refund-reason-list/loader.ts +0 -16
- package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +0 -21
@@ -2,9 +2,6 @@ import {
|
|
2
2
|
currencies,
|
3
3
|
getCurrencySymbol
|
4
4
|
} from "./chunk-DK4WIVY6.mjs";
|
5
|
-
import {
|
6
|
-
useDocumentDirection
|
7
|
-
} from "./chunk-S4DMV3ZT.mjs";
|
8
5
|
import {
|
9
6
|
Form
|
10
7
|
} from "./chunk-OBQI23QM.mjs";
|
@@ -30,7 +27,6 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
27
|
var CreateCampaignFormFields = ({ form, fieldScope = "" }) => {
|
31
28
|
const { t } = useTranslation();
|
32
29
|
const { store } = useStore();
|
33
|
-
const direction = useDocumentDirection();
|
34
30
|
const watchValueType = useWatch({
|
35
31
|
control: form.control,
|
36
32
|
name: `${fieldScope}budget.type`
|
@@ -176,7 +172,6 @@ var CreateCampaignFormFields = ({ form, fieldScope = "" }) => {
|
|
176
172
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
177
173
|
RadioGroup,
|
178
174
|
{
|
179
|
-
dir: direction,
|
180
175
|
className: "flex gap-y-3",
|
181
176
|
...field,
|
182
177
|
onValueChange: field.onChange,
|
@@ -224,7 +219,6 @@ var CreateCampaignFormFields = ({ form, fieldScope = "" }) => {
|
|
224
219
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
225
220
|
Select,
|
226
221
|
{
|
227
|
-
dir: direction,
|
228
222
|
...field,
|
229
223
|
onValueChange: onChange,
|
230
224
|
disabled: !!fieldScope.length,
|
@@ -8802,7 +8802,6 @@ var en_default = {
|
|
8802
8802
|
noSearchResultsFor: "No search results for <0>'{{query}}'</0>",
|
8803
8803
|
noRecordsTitle: "No records",
|
8804
8804
|
noRecordsMessage: "There are no records to show",
|
8805
|
-
noRecordsMessageFiltered: "There are no records to show matching the filters",
|
8806
8805
|
unsavedChangesTitle: "Are you sure you want to leave this form?",
|
8807
8806
|
unsavedChangesDescription: "You have unsaved changes that will be lost if you exit this form.",
|
8808
8807
|
includesTaxTooltip: "Prices in this column are tax inclusive.",
|
@@ -9582,7 +9581,6 @@ var en_default = {
|
|
9582
9581
|
deleteWarning: "You are about to delete an inventory item. This action cannot be undone.",
|
9583
9582
|
editItemDetails: "Edit item details",
|
9584
9583
|
quantityAcrossLocations: "{{quantity}} across {{locations}} locations",
|
9585
|
-
levelDeleted: "Inventory level deleted successfully.",
|
9586
9584
|
create: {
|
9587
9585
|
title: "Create Inventory Item",
|
9588
9586
|
details: "Details",
|
@@ -10286,10 +10284,7 @@ var en_default = {
|
|
10286
10284
|
stockLocations: {
|
10287
10285
|
domain: "Locations & Shipping",
|
10288
10286
|
list: {
|
10289
|
-
description: "Manage your store's stock locations and shipping options."
|
10290
|
-
noRecordsMessage: "No records",
|
10291
|
-
noRecordsMessageEmpty: "No locations found",
|
10292
|
-
noRecordsMessageFiltered: "No locations found matching the filters"
|
10287
|
+
description: "Manage your store's stock locations and shipping options."
|
10293
10288
|
},
|
10294
10289
|
create: {
|
10295
10290
|
header: "Create Stock Location",
|
@@ -10302,8 +10297,7 @@ var en_default = {
|
|
10302
10297
|
successToast: "Location {{name}} was successfully updated."
|
10303
10298
|
},
|
10304
10299
|
delete: {
|
10305
|
-
confirmation: 'You are about to delete the stock location "{{name}}". This action cannot be undone.'
|
10306
|
-
successToast: 'Location "{{name}}" was successfully deleted.'
|
10300
|
+
confirmation: 'You are about to delete the stock location "{{name}}". This action cannot be undone.'
|
10307
10301
|
},
|
10308
10302
|
fulfillmentProviders: {
|
10309
10303
|
header: "Fulfillment Providers",
|
@@ -10985,7 +10979,7 @@ var en_default = {
|
|
10985
10979
|
total_used: "Budget used",
|
10986
10980
|
budget_limit: "Budget limit",
|
10987
10981
|
campaign_id: {
|
10988
|
-
hint: "
|
10982
|
+
hint: "Only campaigns with the same currency code as the promotion are shown in this list."
|
10989
10983
|
}
|
10990
10984
|
},
|
10991
10985
|
budget: {
|
@@ -11496,37 +11490,6 @@ var en_default = {
|
|
11496
11490
|
}
|
11497
11491
|
}
|
11498
11492
|
},
|
11499
|
-
refundReasons: {
|
11500
|
-
domain: "Refund Reasons",
|
11501
|
-
subtitle: "Manage reasons for issuing refunds.",
|
11502
|
-
calloutHint: "Manage the reasons to categorize refunds.",
|
11503
|
-
editReason: "Edit Refund Reason",
|
11504
|
-
create: {
|
11505
|
-
header: "Add Refund Reason",
|
11506
|
-
subtitle: "Specify the most common reasons for refunds.",
|
11507
|
-
hint: "Create a new refund reason to categorize refunds.",
|
11508
|
-
successToast: "Refund reason {{label}} was successfully created."
|
11509
|
-
},
|
11510
|
-
edit: {
|
11511
|
-
header: "Edit Refund Reason",
|
11512
|
-
subtitle: "Edit the value of the refund reason.",
|
11513
|
-
successToast: "Refund reason {{label}} was successfully updated."
|
11514
|
-
},
|
11515
|
-
delete: {
|
11516
|
-
confirmation: 'You are about to delete the refund reason "{{label}}". This action cannot be undone.',
|
11517
|
-
successToast: "Refund reason was successfully deleted."
|
11518
|
-
},
|
11519
|
-
fields: {
|
11520
|
-
label: {
|
11521
|
-
label: "Label",
|
11522
|
-
placeholder: "Gesture of goodwill"
|
11523
|
-
},
|
11524
|
-
description: {
|
11525
|
-
label: "Description",
|
11526
|
-
placeholder: "Customer had a bad shopping experience"
|
11527
|
-
}
|
11528
|
-
}
|
11529
|
-
},
|
11530
11493
|
login: {
|
11531
11494
|
forgotPassword: "Forgot password? - <0>Reset</0>",
|
11532
11495
|
title: "Welcome to Medusa",
|
@@ -1,6 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
DescriptionCell
|
3
|
-
} from "./chunk-IVZ6BMDB.mjs";
|
4
1
|
import {
|
5
2
|
TextCell
|
6
3
|
} from "./chunk-MSDRGCRR.mjs";
|
@@ -39,54 +36,24 @@ var useProductTagTableColumns = () => {
|
|
39
36
|
);
|
40
37
|
};
|
41
38
|
|
42
|
-
// src/hooks/table/columns/use-refund-reason-table-columns.tsx
|
43
|
-
import { useMemo as useMemo2 } from "react";
|
44
|
-
import { useTranslation as useTranslation2 } from "react-i18next";
|
45
|
-
import { createDataTableColumnHelper } from "@medusajs/ui";
|
46
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
47
|
-
var columnHelper2 = createDataTableColumnHelper();
|
48
|
-
var useRefundReasonTableColumns = () => {
|
49
|
-
const { t } = useTranslation2();
|
50
|
-
return useMemo2(
|
51
|
-
() => [
|
52
|
-
columnHelper2.accessor("label", {
|
53
|
-
header: () => t("fields.label"),
|
54
|
-
enableSorting: true,
|
55
|
-
sortLabel: t("fields.label"),
|
56
|
-
sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
|
57
|
-
sortDescLabel: t("filters.sorting.alphabeticallyDesc")
|
58
|
-
}),
|
59
|
-
columnHelper2.accessor("description", {
|
60
|
-
header: () => t("fields.description"),
|
61
|
-
cell: ({ getValue }) => /* @__PURE__ */ jsx2(DescriptionCell, { description: getValue() }),
|
62
|
-
enableSorting: true,
|
63
|
-
sortLabel: t("fields.description"),
|
64
|
-
sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
|
65
|
-
sortDescLabel: t("filters.sorting.alphabeticallyDesc")
|
66
|
-
})
|
67
|
-
],
|
68
|
-
[t]
|
69
|
-
);
|
70
|
-
};
|
71
|
-
|
72
39
|
// src/hooks/table/columns/use-return-reason-table-columns.tsx
|
73
40
|
import { Badge } from "@medusajs/ui";
|
74
41
|
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
75
|
-
import { useMemo as
|
76
|
-
import { jsx as
|
77
|
-
var
|
42
|
+
import { useMemo as useMemo2 } from "react";
|
43
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
44
|
+
var columnHelper2 = createColumnHelper2();
|
78
45
|
var useReturnReasonTableColumns = () => {
|
79
|
-
return
|
46
|
+
return useMemo2(
|
80
47
|
() => [
|
81
|
-
|
82
|
-
cell: ({ getValue }) => /* @__PURE__ */
|
48
|
+
columnHelper2.accessor("value", {
|
49
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx2(Badge, { size: "2xsmall", children: getValue() })
|
83
50
|
}),
|
84
|
-
|
51
|
+
columnHelper2.accessor("label", {
|
85
52
|
cell: ({ row }) => {
|
86
53
|
const { label, description } = row.original;
|
87
|
-
return /* @__PURE__ */
|
88
|
-
/* @__PURE__ */
|
89
|
-
/* @__PURE__ */
|
54
|
+
return /* @__PURE__ */ jsx2("div", { className: " py-4", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full w-full flex-col justify-center", children: [
|
55
|
+
/* @__PURE__ */ jsx2("span", { className: "truncate font-medium", children: label }),
|
56
|
+
/* @__PURE__ */ jsx2("span", { className: "truncate", children: description ? description : "-" })
|
90
57
|
] }) });
|
91
58
|
}
|
92
59
|
})
|
@@ -97,19 +64,18 @@ var useReturnReasonTableColumns = () => {
|
|
97
64
|
|
98
65
|
// src/hooks/table/columns/use-tax-rates-table-columns.tsx
|
99
66
|
import { createColumnHelper as createColumnHelper3 } from "@tanstack/react-table";
|
100
|
-
import { useMemo as
|
101
|
-
import { useTranslation as
|
67
|
+
import { useMemo as useMemo3 } from "react";
|
68
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
102
69
|
|
103
70
|
// src/components/table/table-cells/taxes/type-cell/type-cell.tsx
|
104
71
|
import { Badge as Badge2 } from "@medusajs/ui";
|
105
|
-
import { jsx as
|
72
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
106
73
|
|
107
74
|
// src/hooks/table/columns/use-tax-rates-table-columns.tsx
|
108
|
-
import { jsx as
|
109
|
-
var
|
75
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
76
|
+
var columnHelper3 = createColumnHelper3();
|
110
77
|
|
111
78
|
export {
|
112
79
|
useProductTagTableColumns,
|
113
|
-
useRefundReasonTableColumns,
|
114
80
|
useReturnReasonTableColumns
|
115
81
|
};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
reservationItemsQueryKeys
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-YI4CZGTU.mjs";
|
4
4
|
import {
|
5
5
|
inventoryItemsQueryKeys
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-X4X5KUGQ.mjs";
|
7
7
|
import {
|
8
8
|
queryClient
|
9
9
|
} from "./chunk-FXYH54JP.mjs";
|
@@ -27,7 +27,7 @@ var SidebarLink = ({
|
|
27
27
|
}
|
28
28
|
)
|
29
29
|
] }),
|
30
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-7 items-center justify-center", children: /* @__PURE__ */ jsx(TriangleRightMini, { className: "text-ui-fg-muted
|
30
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-7 items-center justify-center", children: /* @__PURE__ */ jsx(TriangleRightMini, { className: "text-ui-fg-muted" }) })
|
31
31
|
] }) }) }) });
|
32
32
|
};
|
33
33
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
ordersQueryKeys
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-KSRI5LOF.mjs";
|
4
4
|
import {
|
5
5
|
queryClient
|
6
6
|
} from "./chunk-FXYH54JP.mjs";
|
@@ -216,54 +216,15 @@ var useMarkPaymentCollectionAsPaid = (orderId, paymentCollectionId, options) =>
|
|
216
216
|
});
|
217
217
|
};
|
218
218
|
|
219
|
-
// src/hooks/api/
|
220
|
-
import {
|
221
|
-
|
222
|
-
|
223
|
-
} from "@tanstack/react-query";
|
224
|
-
var PAYMENT_QUERY_KEY = "payment";
|
225
|
-
var paymentQueryKeys = queryKeysFactory(PAYMENT_QUERY_KEY);
|
226
|
-
var PAYMENT_PROVIDERS_QUERY_KEY = "payment_providers";
|
227
|
-
var paymentProvidersQueryKeys = queryKeysFactory(
|
228
|
-
PAYMENT_PROVIDERS_QUERY_KEY
|
229
|
-
);
|
230
|
-
var useCapturePayment = (orderId, paymentId, options) => {
|
231
|
-
return useMutation5({
|
232
|
-
mutationFn: (payload) => sdk.admin.payment.capture(paymentId, payload),
|
233
|
-
onSuccess: (data, variables, context) => {
|
234
|
-
queryClient.invalidateQueries({
|
235
|
-
queryKey: ordersQueryKeys.details()
|
236
|
-
});
|
237
|
-
queryClient.invalidateQueries({
|
238
|
-
queryKey: ordersQueryKeys.preview(orderId)
|
239
|
-
});
|
240
|
-
options?.onSuccess?.(data, variables, context);
|
241
|
-
},
|
242
|
-
...options
|
243
|
-
});
|
244
|
-
};
|
245
|
-
var useRefundPayment = (orderId, paymentId, options) => {
|
246
|
-
return useMutation5({
|
247
|
-
mutationFn: (payload) => sdk.admin.payment.refund(paymentId, payload),
|
248
|
-
onSuccess: (data, variables, context) => {
|
249
|
-
queryClient.invalidateQueries({
|
250
|
-
queryKey: ordersQueryKeys.details()
|
251
|
-
});
|
252
|
-
queryClient.invalidateQueries({
|
253
|
-
queryKey: ordersQueryKeys.preview(orderId)
|
254
|
-
});
|
255
|
-
options?.onSuccess?.(data, variables, context);
|
256
|
-
},
|
257
|
-
...options
|
258
|
-
});
|
259
|
-
};
|
219
|
+
// src/hooks/api/refund-reasons.tsx
|
220
|
+
import { useQuery as useQuery6 } from "@tanstack/react-query";
|
221
|
+
var REFUND_REASON_QUERY_KEY = "refund-reason";
|
222
|
+
var refundReasonQueryKeys = queryKeysFactory(REFUND_REASON_QUERY_KEY);
|
260
223
|
|
261
224
|
export {
|
262
225
|
notificationQueryKeys,
|
263
226
|
useNotifications,
|
264
227
|
useMarkPaymentCollectionAsPaid,
|
265
|
-
useCapturePayment,
|
266
|
-
useRefundPayment,
|
267
228
|
usePlugins,
|
268
229
|
productVariantQueryKeys,
|
269
230
|
useVariants,
|
@@ -83,30 +83,6 @@ var useProductTagTableQuery = ({
|
|
83
83
|
};
|
84
84
|
};
|
85
85
|
|
86
|
-
// src/hooks/table/query/use-refund-reason-table-query.tsx
|
87
|
-
var useRefundReasonTableQuery = ({
|
88
|
-
prefix,
|
89
|
-
pageSize = 20
|
90
|
-
}) => {
|
91
|
-
const queryObject = useQueryParams(
|
92
|
-
["offset", "q", "order", "created_at", "updated_at"],
|
93
|
-
prefix
|
94
|
-
);
|
95
|
-
const { offset, q, order, created_at, updated_at } = queryObject;
|
96
|
-
const searchParams = {
|
97
|
-
limit: pageSize,
|
98
|
-
offset: offset ? Number(offset) : 0,
|
99
|
-
order,
|
100
|
-
created_at: created_at ? JSON.parse(created_at) : void 0,
|
101
|
-
updated_at: updated_at ? JSON.parse(updated_at) : void 0,
|
102
|
-
q
|
103
|
-
};
|
104
|
-
return {
|
105
|
-
searchParams,
|
106
|
-
raw: queryObject
|
107
|
-
};
|
108
|
-
};
|
109
|
-
|
110
86
|
// src/hooks/table/query/use-return-reason-table-query.tsx
|
111
87
|
var useReturnReasonTableQuery = ({
|
112
88
|
prefix,
|
@@ -184,7 +160,6 @@ export {
|
|
184
160
|
useCollectionTableColumns,
|
185
161
|
useCollectionTableQuery,
|
186
162
|
useProductTagTableQuery,
|
187
|
-
useRefundReasonTableQuery,
|
188
163
|
useReturnReasonTableQuery,
|
189
164
|
useShippingOptionTableQuery
|
190
165
|
};
|
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
} from "./chunk-LFLGEXIG.mjs";
|
4
4
|
import {
|
5
5
|
ActionMenu
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-3NJTXRIY.mjs";
|
7
7
|
|
8
8
|
// src/routes/inventory/inventory-detail/components/inventory-item-general-section.tsx
|
9
9
|
import { Container, Heading } from "@medusajs/ui";
|
@@ -3,17 +3,14 @@ import {
|
|
3
3
|
} from "./chunk-HFB3OQXI.mjs";
|
4
4
|
import {
|
5
5
|
Combobox
|
6
|
-
} from "./chunk-
|
7
|
-
import {
|
8
|
-
useDocumentDirection
|
9
|
-
} from "./chunk-S4DMV3ZT.mjs";
|
6
|
+
} from "./chunk-2PMSBTXI.mjs";
|
10
7
|
import {
|
11
8
|
Form
|
12
9
|
} from "./chunk-OBQI23QM.mjs";
|
13
10
|
import {
|
14
11
|
usePromotionRuleAttributes,
|
15
12
|
usePromotionRules
|
16
|
-
} from "./chunk-
|
13
|
+
} from "./chunk-ZODJNBAV.mjs";
|
17
14
|
import {
|
18
15
|
useStore
|
19
16
|
} from "./chunk-V2LANK5S.mjs";
|
@@ -189,7 +186,6 @@ var RulesFormField = ({
|
|
189
186
|
}) => {
|
190
187
|
const initialRulesSet = useRef(false);
|
191
188
|
const { t } = useTranslation2();
|
192
|
-
const direction = useDocumentDirection();
|
193
189
|
const formData = form.getValues();
|
194
190
|
const { attributes } = usePromotionRuleAttributes(
|
195
191
|
ruleType,
|
@@ -312,7 +308,6 @@ var RulesFormField = ({
|
|
312
308
|
/* @__PURE__ */ jsx2(Form.Control, { children: !disabled ? /* @__PURE__ */ jsxs2(
|
313
309
|
Select,
|
314
310
|
{
|
315
|
-
dir: direction,
|
316
311
|
...fieldProps,
|
317
312
|
onValueChange,
|
318
313
|
disabled: fieldRule.required,
|
@@ -376,7 +371,6 @@ var RulesFormField = ({
|
|
376
371
|
/* @__PURE__ */ jsx2(Form.Control, { children: !disabled ? /* @__PURE__ */ jsxs2(
|
377
372
|
Select,
|
378
373
|
{
|
379
|
-
dir: direction,
|
380
374
|
...fieldProps,
|
381
375
|
disabled: !fieldRule.attribute,
|
382
376
|
onValueChange: onChange,
|
@@ -11,9 +11,6 @@ import {
|
|
11
11
|
import {
|
12
12
|
ConditionalTooltip
|
13
13
|
} from "./chunk-OC7BQLYI.mjs";
|
14
|
-
import {
|
15
|
-
useDocumentDirection
|
16
|
-
} from "./chunk-S4DMV3ZT.mjs";
|
17
14
|
import {
|
18
15
|
Form
|
19
16
|
} from "./chunk-OBQI23QM.mjs";
|
@@ -68,7 +65,6 @@ var InnerForm = ({
|
|
68
65
|
}) => {
|
69
66
|
const { t } = useTranslation();
|
70
67
|
const { handleSuccess } = useRouteModal();
|
71
|
-
const direction = useDocumentDirection();
|
72
68
|
const hasUneditableRows = getHasUneditableRows(metadata);
|
73
69
|
const form = useForm({
|
74
70
|
defaultValues: {
|
@@ -188,64 +184,58 @@ var InnerForm = ({
|
|
188
184
|
]
|
189
185
|
}
|
190
186
|
),
|
191
|
-
/* @__PURE__ */ jsxs(
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
DropdownMenu.Trigger,
|
187
|
+
/* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
188
|
+
/* @__PURE__ */ jsx(
|
189
|
+
DropdownMenu.Trigger,
|
190
|
+
{
|
191
|
+
className: clx(
|
192
|
+
"invisible absolute inset-y-0 -right-2.5 my-auto group-hover/table:visible data-[state='open']:visible",
|
198
193
|
{
|
199
|
-
|
200
|
-
"invisible absolute inset-y-0 -end-2.5 my-auto group-hover/table:visible data-[state='open']:visible",
|
201
|
-
{
|
202
|
-
hidden: isDisabled
|
203
|
-
}
|
204
|
-
),
|
205
|
-
disabled: isDisabled,
|
206
|
-
asChild: true,
|
207
|
-
children: /* @__PURE__ */ jsx(IconButton, { size: "2xsmall", children: /* @__PURE__ */ jsx(EllipsisVertical, {}) })
|
194
|
+
hidden: isDisabled
|
208
195
|
}
|
209
196
|
),
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
197
|
+
disabled: isDisabled,
|
198
|
+
asChild: true,
|
199
|
+
children: /* @__PURE__ */ jsx(IconButton, { size: "2xsmall", children: /* @__PURE__ */ jsx(EllipsisVertical, {}) })
|
200
|
+
}
|
201
|
+
),
|
202
|
+
/* @__PURE__ */ jsxs(DropdownMenu.Content, { children: [
|
203
|
+
/* @__PURE__ */ jsxs(
|
204
|
+
DropdownMenu.Item,
|
205
|
+
{
|
206
|
+
className: "gap-x-2",
|
207
|
+
onClick: () => insertRow(index, "above"),
|
208
|
+
children: [
|
209
|
+
/* @__PURE__ */ jsx(ArrowUpMini, { className: "text-ui-fg-subtle" }),
|
210
|
+
t("metadata.edit.actions.insertRowAbove")
|
211
|
+
]
|
212
|
+
}
|
213
|
+
),
|
214
|
+
/* @__PURE__ */ jsxs(
|
215
|
+
DropdownMenu.Item,
|
216
|
+
{
|
217
|
+
className: "gap-x-2",
|
218
|
+
onClick: () => insertRow(index, "below"),
|
219
|
+
children: [
|
220
|
+
/* @__PURE__ */ jsx(ArrowDownMini, { className: "text-ui-fg-subtle" }),
|
221
|
+
t("metadata.edit.actions.insertRowBelow")
|
222
|
+
]
|
223
|
+
}
|
224
|
+
),
|
225
|
+
/* @__PURE__ */ jsx(DropdownMenu.Separator, {}),
|
226
|
+
/* @__PURE__ */ jsxs(
|
227
|
+
DropdownMenu.Item,
|
228
|
+
{
|
229
|
+
className: "gap-x-2",
|
230
|
+
onClick: () => deleteRow(index),
|
231
|
+
children: [
|
232
|
+
/* @__PURE__ */ jsx(Trash, { className: "text-ui-fg-subtle" }),
|
233
|
+
t("metadata.edit.actions.deleteRow")
|
234
|
+
]
|
235
|
+
}
|
236
|
+
)
|
237
|
+
] })
|
238
|
+
] })
|
249
239
|
] })
|
250
240
|
},
|
251
241
|
field.id
|
@@ -23,7 +23,7 @@ var CountrySelect = forwardRef(
|
|
23
23
|
TrianglesMini,
|
24
24
|
{
|
25
25
|
className: clx(
|
26
|
-
"text-ui-fg-muted transition-fg pointer-events-none absolute
|
26
|
+
"text-ui-fg-muted transition-fg pointer-events-none absolute right-2 top-1/2 -translate-y-1/2",
|
27
27
|
{
|
28
28
|
"text-ui-fg-disabled": disabled
|
29
29
|
}
|