@medusajs/dashboard 2.10.4-preview-20250923150206 → 2.10.4-preview-20250923180156
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-FE4BXGVN.mjs → add-campaign-promotions-BWIP24MA.mjs} +6 -5
- package/dist/{api-key-management-detail-SAVBCKX7.mjs → api-key-management-detail-WGWZQCFC.mjs} +6 -4
- package/dist/{api-key-management-list-5DI3L4DV.mjs → api-key-management-list-QAMBWB7T.mjs} +5 -4
- package/dist/{api-key-management-sales-channels-WL5L5XWM.mjs → api-key-management-sales-channels-H5TVIHTV.mjs} +3 -2
- package/dist/app.css +89 -31
- package/dist/app.js +4681 -3651
- package/dist/app.mjs +7 -5
- package/dist/{campaign-create-AVBNHFC2.mjs → campaign-create-GRKYQY5D.mjs} +3 -2
- package/dist/{campaign-detail-KTOLZNTA.mjs → campaign-detail-EJD7LQCW.mjs} +13 -11
- package/dist/{campaign-list-G4MD3RPU.mjs → campaign-list-IDPRC2MD.mjs} +6 -5
- package/dist/{categories-metadata-GXWJ3HOG.mjs → categories-metadata-JFNWZA5D.mjs} +4 -2
- package/dist/{category-create-FOVB5MJ4.mjs → category-create-DJHTY4QX.mjs} +36 -14
- package/dist/{category-detail-ENUI5EFL.mjs → category-detail-CL3XCV7E.mjs} +9 -7
- package/dist/{category-edit-O4ZSANE5.mjs → category-edit-JQQX7IZZ.mjs} +34 -14
- package/dist/{category-list-UI6W5KF5.mjs → category-list-FOCNQKPH.mjs} +5 -4
- package/dist/{category-products-ZG5QDWSW.mjs → category-products-UZEG63WY.mjs} +6 -4
- package/dist/{chunk-KMUDF36P.mjs → chunk-2252SSK6.mjs} +1 -1
- package/dist/{chunk-SMHXCFRS.mjs → chunk-4CGHNQP2.mjs} +28 -15
- package/dist/chunk-5U3FFMC7.mjs +84 -0
- package/dist/{chunk-JO6QASTJ.mjs → chunk-6RWF7BPW.mjs} +1 -1
- package/dist/{chunk-JHXKKOHO.mjs → chunk-7JJTWGHU.mjs} +49 -15
- package/dist/{chunk-5WKYR6PY.mjs → chunk-BM5ZIV5V.mjs} +1 -1
- package/dist/{chunk-OGHQ6VJI.mjs → chunk-BSBCIU6C.mjs} +0 -5
- package/dist/{chunk-IINWRJA6.mjs → chunk-CAZKNJTG.mjs} +316 -266
- package/dist/{chunk-2PMSBTXI.mjs → chunk-CD7VQIPA.mjs} +11 -11
- package/dist/{chunk-NRBOPOMS.mjs → chunk-CU5EFQSB.mjs} +1 -1
- package/dist/{chunk-J5E7MQSS.mjs → chunk-CY33DS7K.mjs} +6 -0
- package/dist/{chunk-7VJK6HNE.mjs → chunk-EYL2JACT.mjs} +4 -4
- package/dist/{chunk-R2NWOCML.mjs → chunk-FUQ27NT5.mjs} +7 -1
- package/dist/{chunk-74K7HGNI.mjs → chunk-FXG2Z3QT.mjs} +3 -2
- package/dist/{chunk-2RQLKDBF.mjs → chunk-GIZFNLKK.mjs} +103 -96
- package/dist/{chunk-AOFGTNG6.mjs → chunk-HQKGZADC.mjs} +6 -1
- package/dist/{chunk-LBIOZZPA.mjs → chunk-HWKLNKOY.mjs} +1 -1
- package/dist/{chunk-S2UEWRDA.mjs → chunk-IL5IMREK.mjs} +59 -49
- package/dist/{chunk-SCBXRJPV.mjs → chunk-IRO6DO7J.mjs} +1 -1
- package/dist/{chunk-T7G2CURS.mjs → chunk-IVZ6BMDB.mjs} +1 -0
- package/dist/{chunk-XGJ5DXXG.mjs → chunk-IYDBZI47.mjs} +11 -11
- package/dist/{chunk-OKMF4YI7.mjs → chunk-K3OMOMRB.mjs} +25 -0
- package/dist/{chunk-2LPGQWPV.mjs → chunk-KTL6E2WT.mjs} +1 -1
- package/dist/{chunk-YWNHMIEQ.mjs → chunk-LJDVFJK7.mjs} +1 -1
- package/dist/{chunk-Q5DI5VYN.mjs → chunk-MLNUGLGT.mjs} +1 -1
- package/dist/{chunk-UWJBDOQD.mjs → chunk-NKVMOKZA.mjs} +41 -29
- package/dist/{chunk-UNM3LPTG.mjs → chunk-OQPVQGSH.mjs} +1 -1
- package/dist/{chunk-3NJTXRIY.mjs → chunk-OZPB6JBL.mjs} +5 -1
- package/dist/{chunk-FPJBF7VS.mjs → chunk-P2O6XTD4.mjs} +1 -1
- package/dist/{chunk-EFA7S5L3.mjs → chunk-PGTXMCSV.mjs} +1 -1
- package/dist/{chunk-D7H6ZNK4.mjs → chunk-PRLQLEEQ.mjs} +2 -0
- package/dist/{chunk-6AGMMT5H.mjs → chunk-RFP4O5GO.mjs} +3 -3
- package/dist/chunk-S4DMV3ZT.mjs +35 -0
- package/dist/{chunk-5NQ3X2JI.mjs → chunk-SNDSWB6B.mjs} +1 -1
- package/dist/{chunk-O74UDEWT.mjs → chunk-TKZK3YPU.mjs} +1 -1
- package/dist/{chunk-EE7SOCEQ.mjs → chunk-TOS3CYMH.mjs} +3 -3
- package/dist/{chunk-CGK6IVLN.mjs → chunk-U2FXUMKA.mjs} +1 -1
- package/dist/{chunk-CK3VFTZM.mjs → chunk-UKX2FFFV.mjs} +2 -2
- package/dist/{chunk-7YZF3THS.mjs → chunk-V53HAFWH.mjs} +1 -1
- package/dist/{chunk-S45XMWVD.mjs → chunk-WP5CXGGO.mjs} +1 -1
- package/dist/{chunk-Y4YXZY7R.mjs → chunk-YPDTZXV6.mjs} +1 -1
- package/dist/{chunk-JELVERJM.mjs → chunk-YPSSUJUZ.mjs} +32 -0
- package/dist/{chunk-XKXNQ2KV.mjs → chunk-ZCARHA6C.mjs} +1 -1
- package/dist/{collection-add-products-2ISNNIHD.mjs → collection-add-products-QTFBLLND.mjs} +6 -4
- package/dist/{collection-detail-OSX6NHNQ.mjs → collection-detail-ZEAUSZBJ.mjs} +8 -6
- package/dist/{collection-list-MPIYSHQJ.mjs → collection-list-V27JHDAD.mjs} +9 -7
- package/dist/{collection-metadata-EOFYXEQI.mjs → collection-metadata-JAEMZMU6.mjs} +4 -2
- package/dist/{customer-create-address-TPSDYZBN.mjs → customer-create-address-JOYBIPPN.mjs} +1 -1
- package/dist/{customer-detail-FCNRRZSW.mjs → customer-detail-YBOM6KGC.mjs} +7 -5
- package/dist/{customer-group-add-customers-ULPWTALS.mjs → customer-group-add-customers-YF2T323Z.mjs} +3 -2
- package/dist/{customer-group-detail-QI3QLJJL.mjs → customer-group-detail-72VFORGF.mjs} +7 -5
- package/dist/{customer-group-list-GPIKR66X.mjs → customer-group-list-UTC5ZCJZ.mjs} +6 -4
- package/dist/{customer-group-metadata-UPAPULMF.mjs → customer-group-metadata-YQCOIVQG.mjs} +2 -1
- package/dist/{customer-list-SINCBCOZ.mjs → customer-list-5IWEXYSW.mjs} +5 -4
- package/dist/{customer-metadata-5NPUMPZ2.mjs → customer-metadata-JZEJBH4V.mjs} +2 -1
- package/dist/{customers-add-customer-group-5TFTVDB6.mjs → customers-add-customer-group-ZUCFXW2U.mjs} +5 -3
- package/dist/{edit-inventory-item-attributes-KT7BSPZ7.mjs → edit-inventory-item-attributes-BMPRVCPN.mjs} +1 -1
- package/dist/{edit-reservation-EKH4RIAX.mjs → edit-reservation-QQTYP22N.mjs} +5 -0
- package/dist/{edit-rules-63NG4QVR.mjs → edit-rules-RY7JMYLR.mjs} +5 -3
- package/dist/{inventory-create-RIVJFJJQ.mjs → inventory-create-F5PSTEN2.mjs} +10 -4
- package/dist/{inventory-detail-5433AAQ2.mjs → inventory-detail-BO5E7KXO.mjs} +10 -8
- package/dist/{inventory-list-YMYF7QVP.mjs → inventory-list-HUYCKI2I.mjs} +5 -4
- package/dist/{inventory-metadata-FH4CHJBA.mjs → inventory-metadata-QGPVSAUI.mjs} +4 -2
- package/dist/{inventory-stock-D6E4LQRK.mjs → inventory-stock-VQNXCIOA.mjs} +5 -3
- package/dist/{location-create-LUP363ZB.mjs → location-create-22H74MFP.mjs} +1 -1
- package/dist/{location-detail-Z6ZDX6RY.mjs → location-detail-M4CYDTSY.mjs} +5 -3
- package/dist/{location-edit-26K26G23.mjs → location-edit-RNGPJ26L.mjs} +1 -1
- package/dist/{location-fulfillment-providers-45VXZMZI.mjs → location-fulfillment-providers-XVEQZCUD.mjs} +6 -4
- package/dist/{location-list-BKK2PAKF.mjs → location-list-NKIOBHG4.mjs} +4 -3
- package/dist/{location-sales-channels-2BOIPBBG.mjs → location-sales-channels-NSXV65ZM.mjs} +3 -2
- package/dist/{location-service-zone-create-RPFLBVV4.mjs → location-service-zone-create-D5QSFS3M.mjs} +4 -3
- package/dist/{location-service-zone-manage-areas-VEUUGPKF.mjs → location-service-zone-manage-areas-HKCALG4Q.mjs} +4 -3
- package/dist/{location-service-zone-shipping-option-create-NO3665DC.mjs → location-service-zone-shipping-option-create-I3HAEEFA.mjs} +14 -5
- package/dist/{location-service-zone-shipping-option-edit-TMXNX4VX.mjs → location-service-zone-shipping-option-edit-JYM6GHTA.mjs} +40 -28
- package/dist/{location-service-zone-shipping-option-pricing-U2SDK5DE.mjs → location-service-zone-shipping-option-pricing-FLB63UKY.mjs} +3 -2
- package/dist/{login-DSPNELTI.mjs → login-QOENXTB7.mjs} +2 -1
- package/dist/{order-allocate-items-J3ZHGC22.mjs → order-allocate-items-NO5SVLS6.mjs} +23 -11
- package/dist/{order-create-claim-V63BWLB5.mjs → order-create-claim-MOBLO4YM.mjs} +9 -6
- package/dist/{order-create-edit-NPF4UZ4D.mjs → order-create-edit-C75GUZJE.mjs} +8 -5
- package/dist/{order-create-exchange-RHIPPSKU.mjs → order-create-exchange-RCUALEXO.mjs} +9 -6
- package/dist/{order-create-fulfillment-4SSUHQ75.mjs → order-create-fulfillment-EZTEZ4CF.mjs} +10 -2
- package/dist/{order-create-refund-QVQC5ZP5.mjs → order-create-refund-4FAIESAN.mjs} +7 -1
- package/dist/{order-create-return-GVA6M2RY.mjs → order-create-return-AV4BEJDN.mjs} +7 -5
- package/dist/{order-create-shipment-TJAARKWA.mjs → order-create-shipment-PTUJKVWK.mjs} +4 -1
- package/dist/{order-detail-2MIN6B2I.mjs → order-detail-6XQLJ5TU.mjs} +5 -3
- package/dist/{order-edit-billing-address-QP2I5F3E.mjs → order-edit-billing-address-46CFUZGL.mjs} +3 -2
- package/dist/{order-edit-email-7WT7XTHB.mjs → order-edit-email-FOK5GQW2.mjs} +2 -1
- package/dist/{order-edit-shipping-address-3QFMQP4I.mjs → order-edit-shipping-address-WFN2SVKM.mjs} +3 -2
- package/dist/{order-list-ZCMNSZYB.mjs → order-list-OTPVQKU6.mjs} +7 -6
- package/dist/{order-metadata-YJS26DHK.mjs → order-metadata-COJNFRPZ.mjs} +4 -2
- package/dist/{order-receive-return-PZMMMUB2.mjs → order-receive-return-P4OPVOPM.mjs} +4 -2
- package/dist/{order-request-transfer-QBIZD36E.mjs → order-request-transfer-HRPCEL5L.mjs} +3 -2
- package/dist/{price-list-configuration-435QDWB2.mjs → price-list-configuration-HF3DARKG.mjs} +4 -3
- package/dist/{price-list-create-RXDH5CXF.mjs → price-list-create-FJ2FM6GL.mjs} +30 -14
- package/dist/{price-list-detail-PKIKOJ4H.mjs → price-list-detail-VNZ3Q426.mjs} +8 -6
- package/dist/{price-list-edit-ZGBOZYSC.mjs → price-list-edit-COHKW6UK.mjs} +49 -29
- package/dist/{price-list-list-C6NEB2R4.mjs → price-list-list-55WD2WAY.mjs} +5 -4
- package/dist/{price-list-prices-add-2CDPUSYA.mjs → price-list-prices-add-FMZKGOHD.mjs} +19 -10
- package/dist/{price-list-prices-edit-ENB4GJZT.mjs → price-list-prices-edit-SUZNOKK2.mjs} +3 -2
- package/dist/{product-attributes-ZZPEBDCK.mjs → product-attributes-5PLACMXK.mjs} +9 -7
- package/dist/{product-create-FCDCIDCH.mjs → product-create-6FMLIS5X.mjs} +17 -11
- package/dist/{product-create-variant-KJKQ6ROY.mjs → product-create-variant-KGBSFIKQ.mjs} +22 -8
- package/dist/{product-detail-2ZUONC23.mjs → product-detail-2BJJMCCO.mjs} +11 -9
- package/dist/{product-edit-G3Z6FCN6.mjs → product-edit-N5P7RVNS.mjs} +31 -18
- package/dist/{product-export-XERWEI5H.mjs → product-export-XA5POQKT.mjs} +3 -2
- package/dist/{product-import-AGFJMSVK.mjs → product-import-DYTT4YDA.mjs} +5 -3
- package/dist/{product-list-WGX66SGI.mjs → product-list-EUQX3NBE.mjs} +10 -8
- package/dist/{product-media-APQKPFTT.mjs → product-media-XJGAON6B.mjs} +4 -4
- package/dist/{product-metadata-NZ3HKO67.mjs → product-metadata-44VYAXZD.mjs} +4 -2
- package/dist/{product-organization-BYT4TKMZ.mjs → product-organization-FB6BVKKL.mjs} +10 -8
- package/dist/{product-prices-PCBMYYGV.mjs → product-prices-4ZV5EXX5.mjs} +2 -1
- package/dist/{product-sales-channels-UGPAXFAV.mjs → product-sales-channels-QBQDLU7Z.mjs} +3 -2
- package/dist/{product-shipping-profile-YDN4X6S2.mjs → product-shipping-profile-UZQSV54B.mjs} +9 -7
- package/dist/{product-stock-SUVEQZML.mjs → product-stock-PX5NAHH6.mjs} +7 -4
- package/dist/{product-tag-create-T6HVAQKN.mjs → product-tag-create-R4YSSXD6.mjs} +2 -1
- package/dist/{product-tag-detail-HOWUZC3P.mjs → product-tag-detail-XJEGQD7U.mjs} +12 -10
- package/dist/{product-tag-edit-WWQDNDRC.mjs → product-tag-edit-7JXF42HY.mjs} +2 -1
- package/dist/{product-tag-list-FAKSLONF.mjs → product-tag-list-GTUMQQ6V.mjs} +12 -10
- package/dist/{product-tag-metadata-6B56VEZU.mjs → product-tag-metadata-5QV3HMXJ.mjs} +4 -2
- package/dist/{product-type-detail-KN64HYUV.mjs → product-type-detail-CN74BB3Y.mjs} +8 -6
- package/dist/{product-type-list-6ZIWPIUH.mjs → product-type-list-MJLAGQYC.mjs} +5 -4
- package/dist/{product-type-metadata-F3FTI6OG.mjs → product-type-metadata-JPFREADV.mjs} +4 -2
- package/dist/{product-variant-detail-OUHBUY4J.mjs → product-variant-detail-BSLEUW5J.mjs} +7 -5
- package/dist/{product-variant-edit-NBYHDUJ5.mjs → product-variant-edit-VOW5633S.mjs} +8 -3
- package/dist/{product-variant-manage-inventory-items-TM3VAHBJ.mjs → product-variant-manage-inventory-items-LGRRKHT2.mjs} +1 -1
- package/dist/{product-variant-metadata-XDVLJYGQ.mjs → product-variant-metadata-KDSV47PE.mjs} +4 -2
- package/dist/{profile-detail-ROG22HHL.mjs → profile-detail-XYAQ2G36.mjs} +3 -2
- package/dist/{profile-edit-HSUQIQQH.mjs → profile-edit-7WD4FTRH.mjs} +31 -19
- package/dist/{promotion-add-campaign-7R26KU2U.mjs → promotion-add-campaign-JXBRCUXL.mjs} +3 -2
- package/dist/{promotion-create-UUOG52D5.mjs → promotion-create-YPX2R3ZB.mjs} +20 -7
- package/dist/{promotion-detail-6ZD7Z6BF.mjs → promotion-detail-VB5GZDCC.mjs} +7 -5
- package/dist/{promotion-edit-details-HQLYX4X4.mjs → promotion-edit-details-I5DYHQUM.mjs} +9 -1
- package/dist/{promotion-list-GI64LDWI.mjs → promotion-list-NAUTWXNU.mjs} +8 -7
- package/dist/refund-reason-create-CYHPXX2O.mjs +158 -0
- package/dist/refund-reason-edit-E2HDAQZI.mjs +144 -0
- package/dist/refund-reason-list-VBHGRLJJ.mjs +241 -0
- package/dist/{region-add-countries-Y4YAHDUZ.mjs → region-add-countries-6GSF4CKJ.mjs} +3 -2
- package/dist/{region-create-5Y3GIQBV.mjs → region-create-4C42KVB4.mjs} +30 -14
- package/dist/{region-detail-CWRFM6P3.mjs → region-detail-PB7EUSTD.mjs} +5 -4
- package/dist/{region-edit-JWQWCLM3.mjs → region-edit-CLE5VVRP.mjs} +21 -5
- package/dist/{region-list-FQNI7F37.mjs → region-list-52LF5S4S.mjs} +5 -4
- package/dist/{region-metadata-IQVB4ERU.mjs → region-metadata-NXD563F4.mjs} +4 -2
- package/dist/{reservation-create-7RFXWDXB.mjs → reservation-create-CBWJLYHP.mjs} +1 -1
- package/dist/{reservation-detail-RTGHD35L.mjs → reservation-detail-64MMXK7D.mjs} +6 -4
- package/dist/{reservation-list-UOC7RNRZ.mjs → reservation-list-YNG7YKG2.mjs} +5 -4
- package/dist/{reservation-metadata-WKJXBRLQ.mjs → reservation-metadata-4GZCEGM7.mjs} +4 -2
- package/dist/{reset-password-SXA6YKTJ.mjs → reset-password-ZCKXQZNQ.mjs} +1 -1
- package/dist/{return-reason-list-MOP7YWMZ.mjs → return-reason-list-FW7OYUOW.mjs} +8 -7
- package/dist/{sales-channel-add-products-OKVZJ6FI.mjs → sales-channel-add-products-EAWW7ADY.mjs} +6 -4
- package/dist/{sales-channel-create-3MPOMVPD.mjs → sales-channel-create-VW2UPYSI.mjs} +2 -0
- package/dist/{sales-channel-detail-WESBK6Q7.mjs → sales-channel-detail-3F3HFTD2.mjs} +8 -6
- package/dist/{sales-channel-edit-LSLAM7A4.mjs → sales-channel-edit-OA6QPIHW.mjs} +2 -0
- package/dist/{sales-channel-list-ADIJMXNV.mjs → sales-channel-list-R4HT6A7P.mjs} +6 -4
- package/dist/{sales-channel-metadata-2OQAHYB4.mjs → sales-channel-metadata-LAHTTRLQ.mjs} +4 -2
- package/dist/{shipping-option-type-create-3CGPGDYJ.mjs → shipping-option-type-create-IPKK5MRS.mjs} +2 -1
- package/dist/{shipping-option-type-detail-S23H2OGW.mjs → shipping-option-type-detail-NEQ4RA5F.mjs} +6 -4
- package/dist/{shipping-option-type-edit-IHE7XM6M.mjs → shipping-option-type-edit-CC64TWSB.mjs} +2 -1
- package/dist/{shipping-option-type-list-47GRJ6EC.mjs → shipping-option-type-list-3GTGTBK7.mjs} +8 -6
- package/dist/{shipping-profile-detail-FDUPDSH4.mjs → shipping-profile-detail-FS46IJZP.mjs} +3 -2
- package/dist/{shipping-profile-metadata-OXWOXAAR.mjs → shipping-profile-metadata-EPVLPEEM.mjs} +4 -2
- package/dist/{shipping-profiles-list-ZHJEUIKJ.mjs → shipping-profiles-list-QFOG5IDH.mjs} +5 -4
- package/dist/{store-add-currencies-R26SVHT5.mjs → store-add-currencies-W4MWOALR.mjs} +5 -2
- package/dist/{store-detail-4K7TW2TP.mjs → store-detail-PUOKMK4K.mjs} +7 -5
- package/dist/{store-edit-EU55TNFU.mjs → store-edit-3DU5MC25.mjs} +24 -12
- package/dist/{store-metadata-JP2CI7EF.mjs → store-metadata-JYIVRRLW.mjs} +4 -2
- package/dist/{tax-region-create-W3K5IFD3.mjs → tax-region-create-2GDG36NQ.mjs} +5 -4
- package/dist/{tax-region-detail-V2F2DONN.mjs → tax-region-detail-MQKBEBOZ.mjs} +9 -7
- package/dist/{tax-region-edit-CJPMYTBF.mjs → tax-region-edit-2H5ACSFG.mjs} +3 -2
- package/dist/{tax-region-list-NMM3LBPN.mjs → tax-region-list-SQQE2GUU.mjs} +6 -5
- package/dist/{tax-region-province-create-GIIU2G7K.mjs → tax-region-province-create-SBRFGWN3.mjs} +2 -2
- package/dist/{tax-region-province-detail-4PUQ5ADW.mjs → tax-region-province-detail-HNK2ZJWL.mjs} +8 -6
- package/dist/{tax-region-tax-override-create-3SCIOK4P.mjs → tax-region-tax-override-create-XZJ3EIFJ.mjs} +15 -9
- package/dist/{tax-region-tax-override-edit-P3QJKET3.mjs → tax-region-tax-override-edit-QHQHFI2Y.mjs} +15 -9
- package/dist/{tax-region-tax-rate-create-Z43M3JTQ.mjs → tax-region-tax-rate-create-JIV5FXUD.mjs} +1 -1
- package/dist/{tax-region-tax-rate-edit-RBF5D2MK.mjs → tax-region-tax-rate-edit-WU2ZQLZQ.mjs} +1 -1
- package/dist/{user-detail-VIVFFLOW.mjs → user-detail-ZIWKV6QD.mjs} +3 -2
- package/dist/{user-invite-W26LOOW7.mjs → user-invite-KUH4AI2L.mjs} +4 -3
- package/dist/{user-list-3YFYZFSK.mjs → user-list-TPBPZ7KJ.mjs} +4 -3
- package/dist/{user-metadata-ZURLDLGC.mjs → user-metadata-F6KRFYDW.mjs} +4 -2
- package/dist/{workflow-execution-detail-4R6AFFHV.mjs → workflow-execution-detail-JRJZATNU.mjs} +8 -3
- package/dist/{workflow-execution-list-5J3DQQRD.mjs → workflow-execution-list-5WL4L464.mjs} +4 -3
- package/package.json +9 -9
- package/src/components/common/action-menu/action-menu.tsx +3 -1
- package/src/components/common/json-view-section/json-view-section.tsx +4 -1
- package/src/components/common/sidebar-link/sidebar-link.tsx +1 -1
- package/src/components/common/switch-box/switch-box.tsx +2 -0
- package/src/components/data-grid/components/data-grid-root.tsx +9 -3
- package/src/components/data-grid/components/data-grid-toggleable-number-cell.tsx +2 -1
- package/src/components/filtering/filter-group/filter-group.tsx +5 -1
- package/src/components/filtering/order-by/order-by.tsx +4 -1
- package/src/components/forms/address-form/address-form.tsx +7 -2
- package/src/components/forms/metadata-form/metadata-form.tsx +6 -3
- package/src/components/inputs/combobox/combobox.tsx +11 -11
- 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 +7 -5
- package/src/components/layout/settings-layout/settings-layout.tsx +4 -0
- package/src/components/layout/shell/shell.tsx +6 -6
- package/src/components/layout/user-menu/user-menu.tsx +12 -10
- package/src/components/search/search.tsx +5 -3
- package/src/components/table/data-table/data-table-order-by/data-table-order-by.tsx +4 -1
- 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 +36 -0
- package/src/hooks/api/refund-reasons.tsx +105 -10
- package/src/hooks/table/columns/index.ts +1 -0
- package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +32 -0
- package/src/hooks/table/query/index.ts +1 -0
- package/src/hooks/table/query/use-refund-reason-table-query.tsx +32 -0
- package/src/hooks/use-document-direction.tsx +54 -0
- package/src/i18n/translations/$schema.json +185 -65
- package/src/i18n/translations/en.json +32 -0
- package/src/providers/i18n-provider/i18n-provider.tsx +9 -4
- 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 +4 -1
- package/src/routes/categories/category-create/components/create-category-form/create-category-details.tsx +12 -3
- package/src/routes/categories/category-create/components/create-category-form/create-category-form.tsx +4 -3
- 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 +12 -3
- package/src/routes/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx +3 -1
- package/src/routes/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx +1 -1
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +4 -1
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +3 -1
- package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +7 -2
- package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +7 -2
- package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +2 -1
- package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-create-form.tsx +2 -1
- package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +2 -1
- package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +5 -1
- package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +3 -0
- package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +2 -1
- package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +2 -0
- package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +2 -1
- package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-create-form.tsx +3 -1
- package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-details-form.tsx +8 -2
- package/src/routes/price-lists/price-list-edit/components/price-list-edit-form/edit-price-list-form.tsx +12 -3
- package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-form.tsx +10 -5
- package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +4 -0
- 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 +3 -1
- package/src/routes/products/product-create-variant/components/create-product-variant-form/create-product-variant-form.tsx +10 -5
- package/src/routes/products/product-create-variant/components/create-product-variant-form/details-tab.tsx +6 -1
- package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +7 -2
- 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 +2 -1
- package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +9 -3
- package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +4 -0
- package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +8 -2
- package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +12 -3
- package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +6 -1
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +131 -0
- package/src/routes/refund-reasons/refund-reason-create/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +10 -0
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +119 -0
- package/src/routes/refund-reasons/refund-reason-edit/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +33 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +130 -0
- package/src/routes/refund-reasons/refund-reason-list/index.ts +2 -0
- package/src/routes/refund-reasons/refund-reason-list/loader.ts +16 -0
- package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +21 -0
- package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +11 -2
- package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +11 -2
- package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +3 -1
- package/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/create-sales-channel-form.tsx +2 -0
- package/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/edit-sales-channel-form.tsx +2 -0
- package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +2 -0
- package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +7 -2
- package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +3 -1
- package/src/routes/tax-regions/tax-region-tax-override-edit/components/tax-region-tax-override-edit-form/tax-region-tax-override-edit-form.tsx +3 -1
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +3 -2
package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx
CHANGED
@@ -37,6 +37,7 @@ import { formatProvider } from "../../../../../lib/format-provider"
|
|
37
37
|
import { useCountries } from "../../../common/hooks/use-countries"
|
38
38
|
import { useCountryTableColumns } from "../../../common/hooks/use-country-table-columns"
|
39
39
|
import { useCountryTableQuery } from "../../../common/hooks/use-country-table-query"
|
40
|
+
import { useDocumentDirection } from "../../../../../hooks/use-document-direction"
|
40
41
|
|
41
42
|
type CreateRegionFormProps = {
|
42
43
|
currencies: CurrencyInfo[]
|
@@ -64,7 +65,7 @@ export const CreateRegionForm = ({
|
|
64
65
|
const { setIsOpen } = useStackedModal()
|
65
66
|
const [rowSelection, setRowSelection] = useState<RowSelectionState>({})
|
66
67
|
const { handleSuccess } = useRouteModal()
|
67
|
-
|
68
|
+
const direction = useDocumentDirection()
|
68
69
|
const form = useForm<zod.infer<typeof CreateRegionSchema>>({
|
69
70
|
defaultValues: {
|
70
71
|
name: "",
|
@@ -226,7 +227,11 @@ export const CreateRegionForm = ({
|
|
226
227
|
<Form.Item>
|
227
228
|
<Form.Label>{t("fields.currency")}</Form.Label>
|
228
229
|
<Form.Control>
|
229
|
-
<Select
|
230
|
+
<Select
|
231
|
+
dir={direction}
|
232
|
+
{...field}
|
233
|
+
onValueChange={onChange}
|
234
|
+
>
|
230
235
|
<Select.Trigger ref={ref}>
|
231
236
|
<Select.Value />
|
232
237
|
</Select.Trigger>
|
@@ -260,6 +265,8 @@ export const CreateRegionForm = ({
|
|
260
265
|
<Form.Label>{t("fields.automaticTaxes")}</Form.Label>
|
261
266
|
<Form.Control>
|
262
267
|
<Switch
|
268
|
+
dir="ltr"
|
269
|
+
className="rtl:rotate-180"
|
263
270
|
{...field}
|
264
271
|
checked={value}
|
265
272
|
onCheckedChange={onChange}
|
@@ -287,6 +294,8 @@ export const CreateRegionForm = ({
|
|
287
294
|
</Form.Label>
|
288
295
|
<Form.Control>
|
289
296
|
<Switch
|
297
|
+
className="rtl:rotate-180"
|
298
|
+
dir="ltr"
|
290
299
|
{...field}
|
291
300
|
checked={value}
|
292
301
|
onCheckedChange={onChange}
|
@@ -14,6 +14,7 @@ import { KeyboundForm } from "../../../../../components/utilities/keybound-form/
|
|
14
14
|
import { useUpdateRegion } from "../../../../../hooks/api/regions.tsx"
|
15
15
|
import { CurrencyInfo } from "../../../../../lib/data/currencies.ts"
|
16
16
|
import { formatProvider } from "../../../../../lib/format-provider.ts"
|
17
|
+
import { useDocumentDirection } from "../../../../../hooks/use-document-direction"
|
17
18
|
|
18
19
|
type EditRegionFormProps = {
|
19
20
|
region: HttpTypes.AdminRegion
|
@@ -42,7 +43,7 @@ export const EditRegionForm = ({
|
|
42
43
|
(preference) =>
|
43
44
|
preference.attribute === "region_id" && preference.value === region.id
|
44
45
|
)
|
45
|
-
|
46
|
+
const direction = useDocumentDirection()
|
46
47
|
const form = useForm<zod.infer<typeof EditRegionSchema>>({
|
47
48
|
defaultValues: {
|
48
49
|
name: region.name,
|
@@ -106,7 +107,11 @@ export const EditRegionForm = ({
|
|
106
107
|
<Form.Item>
|
107
108
|
<Form.Label>{t("fields.currency")}</Form.Label>
|
108
109
|
<Form.Control>
|
109
|
-
<Select
|
110
|
+
<Select
|
111
|
+
dir={direction}
|
112
|
+
onValueChange={onChange}
|
113
|
+
{...field}
|
114
|
+
>
|
110
115
|
<Select.Trigger ref={ref}>
|
111
116
|
<Select.Value />
|
112
117
|
</Select.Trigger>
|
@@ -137,6 +142,8 @@ export const EditRegionForm = ({
|
|
137
142
|
<Form.Label>{t("fields.automaticTaxes")}</Form.Label>
|
138
143
|
<Form.Control>
|
139
144
|
<Switch
|
145
|
+
dir="ltr"
|
146
|
+
className="rtl:rotate-180"
|
140
147
|
{...field}
|
141
148
|
checked={value}
|
142
149
|
onCheckedChange={onChange}
|
@@ -164,6 +171,8 @@ export const EditRegionForm = ({
|
|
164
171
|
</Form.Label>
|
165
172
|
<Form.Control>
|
166
173
|
<Switch
|
174
|
+
dir="ltr"
|
175
|
+
className="rtl:rotate-180"
|
167
176
|
{...field}
|
168
177
|
checked={value}
|
169
178
|
onCheckedChange={onChange}
|
@@ -10,6 +10,7 @@ import { z } from "zod"
|
|
10
10
|
import { Form } from "../../../../../../components/common/form"
|
11
11
|
import { KeyboundForm } from "../../../../../../components/utilities/keybound-form"
|
12
12
|
import { useUpdateReservationItem } from "../../../../../../hooks/api/reservations"
|
13
|
+
import { useDocumentDirection } from "../../../../../../hooks/use-document-direction"
|
13
14
|
|
14
15
|
type EditReservationFormProps = {
|
15
16
|
reservation: HttpTypes.AdminReservationResponse["reservation"]
|
@@ -59,7 +60,7 @@ export const EditReservationForm = ({
|
|
59
60
|
}: EditReservationFormProps) => {
|
60
61
|
const { t } = useTranslation()
|
61
62
|
const { handleSuccess } = useRouteModal()
|
62
|
-
|
63
|
+
const direction = useDocumentDirection()
|
63
64
|
const form = useForm<zod.infer<typeof EditReservationSchema>>({
|
64
65
|
defaultValues: getDefaultValues(reservation),
|
65
66
|
resolver: zodResolver(EditReservationSchema),
|
@@ -102,6 +103,7 @@ export const EditReservationForm = ({
|
|
102
103
|
<Form.Label>{t("inventory.reservation.location")}</Form.Label>
|
103
104
|
<Form.Control>
|
104
105
|
<Select
|
106
|
+
dir={direction}
|
105
107
|
value={value}
|
106
108
|
onValueChange={(v) => {
|
107
109
|
onChange(v)
|
@@ -12,6 +12,7 @@ import { KeyboundForm } from "../../../../../components/utilities/keybound-form"
|
|
12
12
|
import { useUpdateStore } from "../../../../../hooks/api/store"
|
13
13
|
import { useComboboxData } from "../../../../../hooks/use-combobox-data"
|
14
14
|
import { sdk } from "../../../../../lib/client"
|
15
|
+
import { useDocumentDirection } from "../../../../../hooks/use-document-direction"
|
15
16
|
|
16
17
|
type EditStoreFormProps = {
|
17
18
|
store: HttpTypes.AdminStore
|
@@ -28,7 +29,7 @@ const EditStoreSchema = z.object({
|
|
28
29
|
export const EditStoreForm = ({ store }: EditStoreFormProps) => {
|
29
30
|
const { t } = useTranslation()
|
30
31
|
const { handleSuccess } = useRouteModal()
|
31
|
-
|
32
|
+
const direction = useDocumentDirection()
|
32
33
|
const form = useForm<z.infer<typeof EditStoreSchema>>({
|
33
34
|
defaultValues: {
|
34
35
|
name: store.name,
|
@@ -118,7 +119,11 @@ export const EditStoreForm = ({ store }: EditStoreFormProps) => {
|
|
118
119
|
<Form.Item>
|
119
120
|
<Form.Label>{t("store.defaultCurrency")}</Form.Label>
|
120
121
|
<Form.Control>
|
121
|
-
<Select
|
122
|
+
<Select
|
123
|
+
dir={direction}
|
124
|
+
{...field}
|
125
|
+
onValueChange={onChange}
|
126
|
+
>
|
122
127
|
<Select.Trigger ref={field.ref}>
|
123
128
|
<Select.Value />
|
124
129
|
</Select.Trigger>
|
@@ -36,6 +36,7 @@ import {
|
|
36
36
|
TaxRateRuleReferenceSchema,
|
37
37
|
} from "../../../common/schemas"
|
38
38
|
import { createTaxRulePayload } from "../../../common/utils"
|
39
|
+
import { useDocumentDirection } from "../../../../../hooks/use-document-direction"
|
39
40
|
|
40
41
|
const TaxRegionCreateTaxOverrideSchema = z.object({
|
41
42
|
name: z.string().min(1),
|
@@ -77,7 +78,7 @@ export const TaxRegionCreateTaxOverrideForm = ({
|
|
77
78
|
const { t } = useTranslation()
|
78
79
|
const { handleSuccess } = useRouteModal()
|
79
80
|
const { setIsOpen } = useStackedModal()
|
80
|
-
|
81
|
+
const direction = useDocumentDirection()
|
81
82
|
const form = useForm<z.infer<typeof TaxRegionCreateTaxOverrideSchema>>({
|
82
83
|
defaultValues: {
|
83
84
|
name: "",
|
@@ -547,6 +548,7 @@ export const TaxRegionCreateTaxOverrideForm = ({
|
|
547
548
|
<div className="text-ui-fg-subtle grid gap-1.5 px-1.5 md:grid-cols-2">
|
548
549
|
{isLast ? (
|
549
550
|
<Select
|
551
|
+
dir={direction}
|
550
552
|
value={type}
|
551
553
|
onValueChange={handleChangeType}
|
552
554
|
>
|
@@ -37,6 +37,7 @@ import {
|
|
37
37
|
} from "../../../common/schemas"
|
38
38
|
import { createTaxRulePayload } from "../../../common/utils"
|
39
39
|
import { InitialRuleValues } from "../../types"
|
40
|
+
import { useDocumentDirection } from "../../../../../hooks/use-document-direction"
|
40
41
|
|
41
42
|
export const DISPLAY_OVERRIDE_ITEMS_LIMIT = 10
|
42
43
|
|
@@ -81,7 +82,7 @@ export const TaxRegionTaxOverrideEditForm = ({
|
|
81
82
|
const { t } = useTranslation()
|
82
83
|
const { handleSuccess } = useRouteModal()
|
83
84
|
const { setIsOpen } = useStackedModal()
|
84
|
-
|
85
|
+
const direction = useDocumentDirection()
|
85
86
|
const form = useForm<z.infer<typeof TaxRegionTaxRateEditSchema>>({
|
86
87
|
defaultValues: {
|
87
88
|
name: taxRate.name,
|
@@ -514,6 +515,7 @@ export const TaxRegionTaxOverrideEditForm = ({
|
|
514
515
|
<div className="text-ui-fg-subtle grid gap-1.5 px-1.5 md:grid-cols-2">
|
515
516
|
{isLast ? (
|
516
517
|
<Select
|
518
|
+
dir={direction}
|
517
519
|
value={type}
|
518
520
|
onValueChange={handleChangeType}
|
519
521
|
>
|
@@ -18,6 +18,7 @@ import {
|
|
18
18
|
STEP_OK_STATES,
|
19
19
|
STEP_SKIPPED_STATES,
|
20
20
|
} from "../../../constants"
|
21
|
+
import { useDocumentDirection } from "../../../../../hooks/use-document-direction"
|
21
22
|
|
22
23
|
type WorkflowExecutionTimelineSectionProps = {
|
23
24
|
execution: HttpTypes.AdminWorkflowExecutionResponse["workflow_execution"]
|
@@ -87,7 +88,7 @@ const Canvas = ({
|
|
87
88
|
}) => {
|
88
89
|
const [zoom, setZoom] = useState<number>(1)
|
89
90
|
const [isDragging, setIsDragging] = useState(false)
|
90
|
-
|
91
|
+
const direction = useDocumentDirection()
|
91
92
|
const scale = useMotionValue(defaultState.scale)
|
92
93
|
const x = useMotionValue(defaultState.x)
|
93
94
|
const y = useMotionValue(defaultState.y)
|
@@ -217,7 +218,7 @@ const Canvas = ({
|
|
217
218
|
<PlusMini />
|
218
219
|
</button>
|
219
220
|
<div>
|
220
|
-
<DropdownMenu>
|
221
|
+
<DropdownMenu dir={direction}>
|
221
222
|
<DropdownMenu.Trigger className="disabled:text-ui-fg-disabled transition-fg hover:bg-ui-bg-base-hover active:bg-ui-bg-base-pressed focus-visible:bg-ui-bg-base-pressed flex w-[50px] items-center justify-center border-r p-1 outline-none">
|
222
223
|
<Text
|
223
224
|
as="span"
|