@medusajs/dashboard 2.10.4-preview-20250928000328 → 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.
Files changed (346) hide show
  1. package/dist/{add-campaign-promotions-3BB3BLFD.mjs → add-campaign-promotions-FE4BXGVN.mjs} +6 -7
  2. package/dist/{adjust-inventory-OIJTAKHP.mjs → adjust-inventory-WBEBMJN7.mjs} +1 -1
  3. package/dist/{api-key-management-create-XDQHUNWK.mjs → api-key-management-create-VXPZX2Q5.mjs} +3 -3
  4. package/dist/{api-key-management-detail-ZQLQKGYF.mjs → api-key-management-detail-SAVBCKX7.mjs} +14 -15
  5. package/dist/{api-key-management-edit-2SUSKI7T.mjs → api-key-management-edit-7CGMSHAY.mjs} +3 -3
  6. package/dist/{api-key-management-list-C2WM4PHC.mjs → api-key-management-list-5DI3L4DV.mjs} +7 -8
  7. package/dist/{api-key-management-sales-channels-MVHVMPF6.mjs → api-key-management-sales-channels-WL5L5XWM.mjs} +5 -6
  8. package/dist/app.css +34 -89
  9. package/dist/app.js +5633 -6732
  10. package/dist/app.mjs +15 -17
  11. package/dist/{campaign-budget-edit-UWGCET5Z.mjs → campaign-budget-edit-OXNTSPGE.mjs} +1 -1
  12. package/dist/{campaign-configuration-WWCCFNYQ.mjs → campaign-configuration-Z5HA2DG3.mjs} +1 -1
  13. package/dist/{campaign-create-CQ3XBHSY.mjs → campaign-create-AVBNHFC2.mjs} +3 -4
  14. package/dist/{campaign-detail-LASOFZ2O.mjs → campaign-detail-KTOLZNTA.mjs} +21 -22
  15. package/dist/{campaign-edit-R43GXNET.mjs → campaign-edit-3TDW52BO.mjs} +1 -1
  16. package/dist/{campaign-list-CDO5PRTL.mjs → campaign-list-G4MD3RPU.mjs} +6 -7
  17. package/dist/{categories-metadata-HUIY6V4F.mjs → categories-metadata-GXWJ3HOG.mjs} +12 -13
  18. package/dist/{category-create-GMFWRFT7.mjs → category-create-FOVB5MJ4.mjs} +16 -38
  19. package/dist/{category-detail-ZJJBYVFX.mjs → category-detail-ENUI5EFL.mjs} +18 -19
  20. package/dist/{category-edit-HCHER73V.mjs → category-edit-O4ZSANE5.mjs} +16 -36
  21. package/dist/{category-list-IXW2NWWJ.mjs → category-list-UI6W5KF5.mjs} +7 -8
  22. package/dist/{category-organize-LRQKM4LA.mjs → category-organize-BW3YOPUS.mjs} +2 -2
  23. package/dist/{category-products-7N4TITQ4.mjs → category-products-ZG5QDWSW.mjs} +14 -15
  24. package/dist/{chunk-2PGNKUXS.mjs → chunk-2HKRIUW4.mjs} +1 -1
  25. package/dist/{chunk-KTL6E2WT.mjs → chunk-2LPGQWPV.mjs} +1 -1
  26. package/dist/{chunk-OFN7DIZA.mjs → chunk-2PMSBTXI.mjs} +13 -17
  27. package/dist/{chunk-GIZFNLKK.mjs → chunk-2RQLKDBF.mjs} +96 -103
  28. package/dist/{chunk-AN5IILM2.mjs → chunk-2YP2ZNKR.mjs} +1 -1
  29. package/dist/{chunk-OZPB6JBL.mjs → chunk-3NJTXRIY.mjs} +1 -5
  30. package/dist/{chunk-XP3BY6G6.mjs → chunk-4Q4LIFFO.mjs} +1 -1
  31. package/dist/{chunk-RGP3IXX4.mjs → chunk-4RG7UJCT.mjs} +1 -1
  32. package/dist/{chunk-MSOFJHH3.mjs → chunk-5M5ZVAWU.mjs} +2 -2
  33. package/dist/{chunk-SNDSWB6B.mjs → chunk-5NQ3X2JI.mjs} +1 -1
  34. package/dist/{chunk-CXTAH75K.mjs → chunk-5WKYR6PY.mjs} +1 -1
  35. package/dist/{chunk-XR7I5HGZ.mjs → chunk-6AGMMT5H.mjs} +4 -4
  36. package/dist/{chunk-YSFTQA6Y.mjs → chunk-6IZUCU7K.mjs} +2 -2
  37. package/dist/{chunk-FXG2Z3QT.mjs → chunk-74K7HGNI.mjs} +2 -3
  38. package/dist/{chunk-EYL2JACT.mjs → chunk-7VJK6HNE.mjs} +4 -4
  39. package/dist/{chunk-U4R5MBF2.mjs → chunk-7YZF3THS.mjs} +1 -1
  40. package/dist/{chunk-HQKGZADC.mjs → chunk-AOFGTNG6.mjs} +1 -6
  41. package/dist/{chunk-EYTETK3W.mjs → chunk-BFNH5UWD.mjs} +1 -1
  42. package/dist/chunk-BKJC5BGQ.mjs +53 -0
  43. package/dist/{chunk-UKX2FFFV.mjs → chunk-CK3VFTZM.mjs} +2 -2
  44. package/dist/{chunk-PRLQLEEQ.mjs → chunk-D7H6ZNK4.mjs} +0 -2
  45. package/dist/{chunk-SQFZWNYA.mjs → chunk-EE7SOCEQ.mjs} +4 -4
  46. package/dist/{chunk-PGTXMCSV.mjs → chunk-EFA7S5L3.mjs} +1 -1
  47. package/dist/{chunk-P2O6XTD4.mjs → chunk-FPJBF7VS.mjs} +1 -1
  48. package/dist/{chunk-V6JXTITD.mjs → chunk-GB7CZNXI.mjs} +2 -2
  49. package/dist/{chunk-RF75BZNF.mjs → chunk-HUX22ZHT.mjs} +3 -3
  50. package/dist/{chunk-7DFTLGA5.mjs → chunk-IRJKUFJU.mjs} +682 -623
  51. package/dist/{chunk-CY33DS7K.mjs → chunk-J5E7MQSS.mjs} +0 -6
  52. package/dist/{chunk-DKOCYXB5.mjs → chunk-JELVERJM.mjs} +3 -40
  53. package/dist/{chunk-7JJTWGHU.mjs → chunk-JHXKKOHO.mjs} +15 -49
  54. package/dist/{chunk-IP2QPPWC.mjs → chunk-KMUDF36P.mjs} +1 -1
  55. package/dist/{chunk-U25RCIX2.mjs → chunk-KSRI5LOF.mjs} +2 -2
  56. package/dist/{chunk-QPLPGRYF.mjs → chunk-LAWIWR7K.mjs} +1 -1
  57. package/dist/{chunk-HWKLNKOY.mjs → chunk-LBIOZZPA.mjs} +1 -1
  58. package/dist/{chunk-NY6I2FYO.mjs → chunk-NCR5UWRI.mjs} +1 -1
  59. package/dist/{chunk-VWQYN2RW.mjs → chunk-NRBOPOMS.mjs} +1 -1
  60. package/dist/{chunk-TKZK3YPU.mjs → chunk-O74UDEWT.mjs} +1 -1
  61. package/dist/{chunk-PAG2HG6I.mjs → chunk-OGHQ6VJI.mjs} +5 -44
  62. package/dist/{chunk-LKVQ5YC6.mjs → chunk-OHSRRFGN.mjs} +1 -1
  63. package/dist/{chunk-K3OMOMRB.mjs → chunk-OKMF4YI7.mjs} +0 -25
  64. package/dist/{chunk-MLNUGLGT.mjs → chunk-Q5DI5VYN.mjs} +1 -1
  65. package/dist/{chunk-LMRZMI7O.mjs → chunk-QGCKTVQX.mjs} +1 -1
  66. package/dist/{chunk-VI7MI3US.mjs → chunk-R2NWOCML.mjs} +2 -8
  67. package/dist/{chunk-ZSDEVTFT.mjs → chunk-RMEITCLS.mjs} +1 -1
  68. package/dist/{chunk-IL5IMREK.mjs → chunk-S2UEWRDA.mjs} +49 -59
  69. package/dist/{chunk-NFQXNOP7.mjs → chunk-S45XMWVD.mjs} +1 -1
  70. package/dist/{chunk-IRO6DO7J.mjs → chunk-SCBXRJPV.mjs} +1 -1
  71. package/dist/{chunk-RBDAWRFF.mjs → chunk-SMHXCFRS.mjs} +41 -54
  72. package/dist/{chunk-IVZ6BMDB.mjs → chunk-T7G2CURS.mjs} +0 -1
  73. package/dist/{chunk-7GBCLBMX.mjs → chunk-UNM3LPTG.mjs} +12 -25
  74. package/dist/{chunk-NKVMOKZA.mjs → chunk-UWJBDOQD.mjs} +29 -41
  75. package/dist/{chunk-4QUHWHBD.mjs → chunk-X4X5KUGQ.mjs} +0 -3
  76. package/dist/{chunk-K2HM7KXJ.mjs → chunk-XGJ5DXXG.mjs} +12 -12
  77. package/dist/{chunk-ZCARHA6C.mjs → chunk-XKXNQ2KV.mjs} +1 -1
  78. package/dist/{chunk-5WMJLYEP.mjs → chunk-Y4YXZY7R.mjs} +2 -2
  79. package/dist/{chunk-ITJEYJNB.mjs → chunk-YI4CZGTU.mjs} +1 -1
  80. package/dist/{chunk-AXXGAOQL.mjs → chunk-YWNHMIEQ.mjs} +2 -2
  81. package/dist/chunk-ZCZL3STK.mjs +64 -0
  82. package/dist/{chunk-R2G2B47Y.mjs → chunk-ZODJNBAV.mjs} +0 -1
  83. package/dist/{collection-add-products-WKMNYPLS.mjs → collection-add-products-2ISNNIHD.mjs} +14 -15
  84. package/dist/{collection-create-PTOF33H2.mjs → collection-create-75ZI5NDG.mjs} +2 -2
  85. package/dist/{collection-detail-NONKXELG.mjs → collection-detail-OSX6NHNQ.mjs} +16 -17
  86. package/dist/{collection-edit-WM57WXJ2.mjs → collection-edit-RD6BDDDI.mjs} +2 -2
  87. package/dist/{collection-list-3ZHLS2LP.mjs → collection-list-MPIYSHQJ.mjs} +18 -19
  88. package/dist/{collection-metadata-J6P3K7U6.mjs → collection-metadata-EOFYXEQI.mjs} +12 -13
  89. package/dist/{customer-create-address-JOYBIPPN.mjs → customer-create-address-TPSDYZBN.mjs} +1 -1
  90. package/dist/{customer-detail-5Y7ICDMA.mjs → customer-detail-FCNRRZSW.mjs} +16 -17
  91. package/dist/{customer-group-add-customers-YF2T323Z.mjs → customer-group-add-customers-ULPWTALS.mjs} +2 -3
  92. package/dist/{customer-group-detail-PXP73BFA.mjs → customer-group-detail-QI3QLJJL.mjs} +15 -16
  93. package/dist/{customer-group-list-3DB643XQ.mjs → customer-group-list-GPIKR66X.mjs} +14 -15
  94. package/dist/{customer-group-metadata-YQCOIVQG.mjs → customer-group-metadata-UPAPULMF.mjs} +1 -2
  95. package/dist/{customer-list-5IWEXYSW.mjs → customer-list-SINCBCOZ.mjs} +4 -5
  96. package/dist/{customer-metadata-JZEJBH4V.mjs → customer-metadata-5NPUMPZ2.mjs} +1 -2
  97. package/dist/{customers-add-customer-group-BVUVU46N.mjs → customers-add-customer-group-5TFTVDB6.mjs} +13 -14
  98. package/dist/{edit-inventory-item-UV2Z7SYL.mjs → edit-inventory-item-ZPE4MMC4.mjs} +1 -1
  99. package/dist/{edit-inventory-item-attributes-BRC3KBYT.mjs → edit-inventory-item-attributes-KT7BSPZ7.mjs} +2 -2
  100. package/dist/{edit-reservation-NYGQBFBO.mjs → edit-reservation-EKH4RIAX.mjs} +2 -7
  101. package/dist/{edit-rules-3MSTPCE5.mjs → edit-rules-63NG4QVR.mjs} +13 -14
  102. package/dist/{inventory-create-NEYX7PZJ.mjs → inventory-create-RIVJFJJQ.mjs} +14 -19
  103. package/dist/{inventory-detail-66HDQL3W.mjs → inventory-detail-5433AAQ2.mjs} +18 -25
  104. package/dist/{inventory-list-J5VZGQ2M.mjs → inventory-list-YMYF7QVP.mjs} +5 -6
  105. package/dist/{inventory-metadata-OSTUWM23.mjs → inventory-metadata-FH4CHJBA.mjs} +12 -13
  106. package/dist/{inventory-stock-XY2OCAY3.mjs → inventory-stock-D6E4LQRK.mjs} +13 -14
  107. package/dist/{location-create-22H74MFP.mjs → location-create-LUP363ZB.mjs} +1 -1
  108. package/dist/{location-detail-UZHD3IKW.mjs → location-detail-Z6ZDX6RY.mjs} +13 -14
  109. package/dist/{location-edit-X6JBEWIF.mjs → location-edit-26K26G23.mjs} +2 -2
  110. package/dist/{location-fulfillment-providers-D4RMKQXU.mjs → location-fulfillment-providers-45VXZMZI.mjs} +15 -16
  111. package/dist/location-list-BKK2PAKF.mjs +297 -0
  112. package/dist/{location-sales-channels-66ZE3ZMI.mjs → location-sales-channels-2BOIPBBG.mjs} +4 -5
  113. package/dist/{location-service-zone-create-D5QSFS3M.mjs → location-service-zone-create-RPFLBVV4.mjs} +3 -4
  114. package/dist/{location-service-zone-manage-areas-HKCALG4Q.mjs → location-service-zone-manage-areas-VEUUGPKF.mjs} +3 -4
  115. package/dist/{location-service-zone-shipping-option-create-OASLL2K7.mjs → location-service-zone-shipping-option-create-NO3665DC.mjs} +15 -23
  116. package/dist/{location-service-zone-shipping-option-edit-DOCLZOO7.mjs → location-service-zone-shipping-option-edit-TMXNX4VX.mjs} +28 -40
  117. package/dist/{location-service-zone-shipping-option-pricing-FLB63UKY.mjs → location-service-zone-shipping-option-pricing-U2SDK5DE.mjs} +2 -3
  118. package/dist/{login-LQRL2ZDY.mjs → login-DSPNELTI.mjs} +11 -11
  119. package/dist/manage-locations-3TBIUSHP.mjs +236 -0
  120. package/dist/{order-allocate-items-2RYXQRVK.mjs → order-allocate-items-J3ZHGC22.mjs} +14 -26
  121. package/dist/{order-create-claim-7UF734QH.mjs → order-create-claim-V63BWLB5.mjs} +18 -20
  122. package/dist/{order-create-edit-MZHUVTGE.mjs → order-create-edit-NPF4UZ4D.mjs} +16 -18
  123. package/dist/{order-create-exchange-2UGEF65S.mjs → order-create-exchange-RHIPPSKU.mjs} +18 -20
  124. package/dist/{order-create-fulfillment-HGJ2YPUB.mjs → order-create-fulfillment-4SSUHQ75.mjs} +12 -19
  125. package/dist/{order-create-refund-CJDKVBSE.mjs → order-create-refund-QVQC5ZP5.mjs} +17 -52
  126. package/dist/{order-create-return-5IPRHHLJ.mjs → order-create-return-GVA6M2RY.mjs} +9 -11
  127. package/dist/{order-create-shipment-3FDVQ6WT.mjs → order-create-shipment-TJAARKWA.mjs} +11 -13
  128. package/dist/{order-detail-SEPCRJW5.mjs → order-detail-2MIN6B2I.mjs} +42 -50
  129. package/dist/{order-edit-billing-address-J75NQFRY.mjs → order-edit-billing-address-QP2I5F3E.mjs} +12 -12
  130. package/dist/{order-edit-email-ABFQKE6A.mjs → order-edit-email-7WT7XTHB.mjs} +11 -11
  131. package/dist/{order-edit-shipping-address-OXW7TAJD.mjs → order-edit-shipping-address-3QFMQP4I.mjs} +12 -12
  132. package/dist/{order-list-VDUUHTSU.mjs → order-list-7S3N6H5A.mjs} +10 -11
  133. package/dist/{order-metadata-5NF3ICQL.mjs → order-metadata-YJS26DHK.mjs} +12 -13
  134. package/dist/{order-receive-return-IM65P7XQ.mjs → order-receive-return-PZMMMUB2.mjs} +13 -14
  135. package/dist/{order-request-transfer-LZ25KEDA.mjs → order-request-transfer-QBIZD36E.mjs} +12 -12
  136. package/dist/{price-list-configuration-VACKCKJF.mjs → price-list-configuration-435QDWB2.mjs} +5 -6
  137. package/dist/{price-list-create-EC5VGCMW.mjs → price-list-create-RXDH5CXF.mjs} +24 -39
  138. package/dist/{price-list-detail-CRTJA5O4.mjs → price-list-detail-PKIKOJ4H.mjs} +17 -18
  139. package/dist/{price-list-edit-G73ZIU2Y.mjs → price-list-edit-ZGBOZYSC.mjs} +31 -51
  140. package/dist/{price-list-list-QYZSJNF5.mjs → price-list-list-C6NEB2R4.mjs} +7 -8
  141. package/dist/{price-list-prices-add-HYCM4QDY.mjs → price-list-prices-add-2CDPUSYA.mjs} +20 -28
  142. package/dist/{price-list-prices-edit-R53ITSDD.mjs → price-list-prices-edit-ENB4GJZT.mjs} +4 -5
  143. package/dist/{product-attributes-WVQRK3GQ.mjs → product-attributes-LVV3K24U.mjs} +17 -19
  144. package/dist/{product-create-PWSPOVUS.mjs → product-create-HQORHMCM.mjs} +21 -27
  145. package/dist/{product-create-option-OW2LMVST.mjs → product-create-option-3JR35UZ5.mjs} +1 -1
  146. package/dist/{product-create-variant-V2QGXFEF.mjs → product-create-variant-KJKQ6ROY.mjs} +18 -31
  147. package/dist/{product-detail-EBPCCBI4.mjs → product-detail-UROTMCRL.mjs} +19 -21
  148. package/dist/{product-edit-5E6D43KE.mjs → product-edit-4EVIUVKV.mjs} +28 -41
  149. package/dist/{product-edit-option-OM56DLU6.mjs → product-edit-option-VNDGZ37A.mjs} +1 -1
  150. package/dist/{product-export-VFC3I5DK.mjs → product-export-XERWEI5H.mjs} +13 -13
  151. package/dist/{product-import-V7EZJ2TU.mjs → product-import-AGFJMSVK.mjs} +13 -14
  152. package/dist/{product-list-FFZO57JG.mjs → product-list-3B742YCJ.mjs} +18 -19
  153. package/dist/{product-media-TRKQTA4G.mjs → product-media-APQKPFTT.mjs} +5 -5
  154. package/dist/{product-metadata-VYQ65KYI.mjs → product-metadata-NZ3HKO67.mjs} +12 -13
  155. package/dist/{product-organization-OCVSTKEK.mjs → product-organization-YQUIMUYX.mjs} +18 -20
  156. package/dist/{product-prices-XLY5TUSJ.mjs → product-prices-PCBMYYGV.mjs} +2 -3
  157. package/dist/{product-sales-channels-KSIHPDJG.mjs → product-sales-channels-UGPAXFAV.mjs} +4 -5
  158. package/dist/{product-shipping-profile-SG6NDHF4.mjs → product-shipping-profile-FRIMAOZQ.mjs} +17 -19
  159. package/dist/{product-stock-LJRYRSKN.mjs → product-stock-SUVEQZML.mjs} +14 -16
  160. package/dist/{product-tag-create-EB5CVUOP.mjs → product-tag-create-T6HVAQKN.mjs} +11 -11
  161. package/dist/{product-tag-detail-V5CZY4R4.mjs → product-tag-detail-HOWUZC3P.mjs} +21 -22
  162. package/dist/{product-tag-edit-YATSW5OK.mjs → product-tag-edit-WWQDNDRC.mjs} +11 -11
  163. package/dist/{product-tag-list-2LFGEFGL.mjs → product-tag-list-FAKSLONF.mjs} +21 -22
  164. package/dist/{product-tag-metadata-R5P5FWAZ.mjs → product-tag-metadata-6B56VEZU.mjs} +12 -13
  165. package/dist/{product-type-detail-BZNI5GJ5.mjs → product-type-detail-KN64HYUV.mjs} +16 -17
  166. package/dist/{product-type-list-MJLAGQYC.mjs → product-type-list-6ZIWPIUH.mjs} +4 -5
  167. package/dist/{product-type-metadata-SUQHWLWA.mjs → product-type-metadata-F3FTI6OG.mjs} +12 -13
  168. package/dist/{product-variant-detail-W2JHQQQJ.mjs → product-variant-detail-OUHBUY4J.mjs} +15 -16
  169. package/dist/{product-variant-edit-DSY77FF4.mjs → product-variant-edit-NBYHDUJ5.mjs} +13 -17
  170. package/dist/{product-variant-manage-inventory-items-JH65NAD4.mjs → product-variant-manage-inventory-items-TM3VAHBJ.mjs} +2 -2
  171. package/dist/{product-variant-metadata-HE3MRTJB.mjs → product-variant-metadata-XDVLJYGQ.mjs} +12 -13
  172. package/dist/{profile-detail-XYAQ2G36.mjs → profile-detail-ROG22HHL.mjs} +2 -3
  173. package/dist/{profile-edit-7WD4FTRH.mjs → profile-edit-HSUQIQQH.mjs} +19 -31
  174. package/dist/{promotion-add-campaign-YOUUM6RB.mjs → promotion-add-campaign-7R26KU2U.mjs} +21 -9
  175. package/dist/{promotion-create-NBFV4XQV.mjs → promotion-create-UUOG52D5.mjs} +17 -29
  176. package/dist/{promotion-detail-247QD6DA.mjs → promotion-detail-6ZD7Z6BF.mjs} +76 -126
  177. package/dist/{promotion-edit-details-A2UUSAZA.mjs → promotion-edit-details-HQLYX4X4.mjs} +2 -10
  178. package/dist/{promotion-list-WDHOSD55.mjs → promotion-list-GI64LDWI.mjs} +8 -9
  179. package/dist/{region-add-countries-6GSF4CKJ.mjs → region-add-countries-Y4YAHDUZ.mjs} +2 -3
  180. package/dist/{region-create-AV2NJNNJ.mjs → region-create-5Y3GIQBV.mjs} +39 -49
  181. package/dist/{region-detail-PB7EUSTD.mjs → region-detail-CWRFM6P3.mjs} +4 -5
  182. package/dist/region-edit-JWQWCLM3.mjs +285 -0
  183. package/dist/{region-list-52LF5S4S.mjs → region-list-FQNI7F37.mjs} +4 -5
  184. package/dist/{region-metadata-3JIGHAUI.mjs → region-metadata-IQVB4ERU.mjs} +12 -13
  185. package/dist/{reservation-create-FKBCGQA7.mjs → reservation-create-7RFXWDXB.mjs} +3 -3
  186. package/dist/{reservation-detail-FENCNQDA.mjs → reservation-detail-RTGHD35L.mjs} +14 -15
  187. package/dist/{reservation-list-NOWJUMXV.mjs → reservation-list-UOC7RNRZ.mjs} +6 -7
  188. package/dist/{reservation-metadata-DQ3A7MHU.mjs → reservation-metadata-WKJXBRLQ.mjs} +12 -13
  189. package/dist/{reset-password-LCVV4NOA.mjs → reset-password-SXA6YKTJ.mjs} +1 -1
  190. package/dist/{return-reason-list-FW7OYUOW.mjs → return-reason-list-MOP7YWMZ.mjs} +7 -8
  191. package/dist/{sales-channel-add-products-G4EUOCWY.mjs → sales-channel-add-products-OKVZJ6FI.mjs} +14 -15
  192. package/dist/{sales-channel-create-NODWGJDD.mjs → sales-channel-create-3MPOMVPD.mjs} +2 -4
  193. package/dist/{sales-channel-detail-NT7PEVVH.mjs → sales-channel-detail-WESBK6Q7.mjs} +16 -17
  194. package/dist/{sales-channel-edit-ALIRERVH.mjs → sales-channel-edit-LSLAM7A4.mjs} +2 -4
  195. package/dist/{sales-channel-list-REV2RETE.mjs → sales-channel-list-ADIJMXNV.mjs} +14 -15
  196. package/dist/{sales-channel-metadata-O5O6ADG5.mjs → sales-channel-metadata-2OQAHYB4.mjs} +12 -13
  197. package/dist/{shipping-option-type-create-7FSJNHHA.mjs → shipping-option-type-create-3CGPGDYJ.mjs} +11 -11
  198. package/dist/{shipping-option-type-detail-6UQST7RY.mjs → shipping-option-type-detail-S23H2OGW.mjs} +14 -15
  199. package/dist/{shipping-option-type-edit-B475WRRR.mjs → shipping-option-type-edit-IHE7XM6M.mjs} +11 -11
  200. package/dist/{shipping-option-type-list-DTETSFSA.mjs → shipping-option-type-list-47GRJ6EC.mjs} +16 -17
  201. package/dist/{shipping-profile-detail-FS46IJZP.mjs → shipping-profile-detail-FDUPDSH4.mjs} +2 -3
  202. package/dist/{shipping-profile-metadata-PRINFNSY.mjs → shipping-profile-metadata-OXWOXAAR.mjs} +12 -13
  203. package/dist/{shipping-profiles-list-QFOG5IDH.mjs → shipping-profiles-list-ZHJEUIKJ.mjs} +4 -5
  204. package/dist/{store-add-currencies-W4MWOALR.mjs → store-add-currencies-R26SVHT5.mjs} +2 -5
  205. package/dist/{store-detail-QKF2TVNW.mjs → store-detail-4K7TW2TP.mjs} +15 -16
  206. package/dist/{store-edit-ZPGTNZGL.mjs → store-edit-EU55TNFU.mjs} +12 -24
  207. package/dist/{store-metadata-M6GIKI5P.mjs → store-metadata-JP2CI7EF.mjs} +12 -13
  208. package/dist/{tax-region-create-4DTM3RTZ.mjs → tax-region-create-W3K5IFD3.mjs} +14 -14
  209. package/dist/{tax-region-detail-SLCI3JYL.mjs → tax-region-detail-V2F2DONN.mjs} +17 -18
  210. package/dist/{tax-region-edit-CJ63JXFQ.mjs → tax-region-edit-CJPMYTBF.mjs} +12 -12
  211. package/dist/{tax-region-list-SQQE2GUU.mjs → tax-region-list-NMM3LBPN.mjs} +5 -6
  212. package/dist/{tax-region-province-create-SBRFGWN3.mjs → tax-region-province-create-GIIU2G7K.mjs} +2 -2
  213. package/dist/{tax-region-province-detail-BGL2USQF.mjs → tax-region-province-detail-4PUQ5ADW.mjs} +16 -17
  214. package/dist/{tax-region-tax-override-create-L4WOTSBO.mjs → tax-region-tax-override-create-3SCIOK4P.mjs} +20 -25
  215. package/dist/{tax-region-tax-override-edit-2JAVNE37.mjs → tax-region-tax-override-edit-P3QJKET3.mjs} +20 -25
  216. package/dist/{tax-region-tax-rate-create-JIV5FXUD.mjs → tax-region-tax-rate-create-Z43M3JTQ.mjs} +1 -1
  217. package/dist/{tax-region-tax-rate-edit-WU2ZQLZQ.mjs → tax-region-tax-rate-edit-RBF5D2MK.mjs} +1 -1
  218. package/dist/{user-detail-ZFW3YF3M.mjs → user-detail-VIVFFLOW.mjs} +3 -4
  219. package/dist/{user-invite-KUH4AI2L.mjs → user-invite-W26LOOW7.mjs} +3 -4
  220. package/dist/{user-list-G4H2RSDX.mjs → user-list-3YFYZFSK.mjs} +3 -4
  221. package/dist/{user-metadata-DFTGB46F.mjs → user-metadata-ZURLDLGC.mjs} +12 -13
  222. package/dist/{workflow-execution-detail-YNT2RKIP.mjs → workflow-execution-detail-4R6AFFHV.mjs} +13 -17
  223. package/dist/{workflow-execution-list-5WL4L464.mjs → workflow-execution-list-5J3DQQRD.mjs} +3 -4
  224. package/package.json +9 -9
  225. package/src/components/common/action-menu/action-menu.tsx +1 -3
  226. package/src/components/common/customer-info/customer-info.tsx +1 -1
  227. package/src/components/common/json-view-section/json-view-section.tsx +1 -4
  228. package/src/components/common/sidebar-link/sidebar-link.tsx +1 -1
  229. package/src/components/common/switch-box/switch-box.tsx +0 -2
  230. package/src/components/data-grid/components/data-grid-root.tsx +3 -9
  231. package/src/components/data-grid/components/data-grid-toggleable-number-cell.tsx +1 -2
  232. package/src/components/data-table/data-table.tsx +46 -64
  233. package/src/components/filtering/filter-group/filter-group.tsx +1 -5
  234. package/src/components/filtering/order-by/order-by.tsx +1 -4
  235. package/src/components/forms/address-form/address-form.tsx +2 -7
  236. package/src/components/forms/metadata-form/metadata-form.tsx +3 -6
  237. package/src/components/inputs/combobox/combobox.tsx +13 -20
  238. package/src/components/inputs/country-select/country-select.tsx +1 -1
  239. package/src/components/inputs/province-select/province-select.tsx +1 -1
  240. package/src/components/layout/main-layout/main-layout.tsx +5 -7
  241. package/src/components/layout/settings-layout/settings-layout.tsx +0 -4
  242. package/src/components/layout/shell/shell.tsx +6 -6
  243. package/src/components/layout/user-menu/user-menu.tsx +10 -12
  244. package/src/components/search/search.tsx +3 -5
  245. package/src/components/table/data-table/data-table-order-by/data-table-order-by.tsx +1 -4
  246. package/src/components/table/data-table/data-table-root/data-table-root.tsx +3 -3
  247. package/src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx +1 -1
  248. package/src/dashboard-app/routes/get-route.map.tsx +0 -36
  249. package/src/hooks/api/campaigns.tsx +0 -1
  250. package/src/hooks/api/inventory.tsx +0 -3
  251. package/src/hooks/api/payments.tsx +1 -6
  252. package/src/hooks/api/refund-reasons.tsx +10 -105
  253. package/src/hooks/table/columns/index.ts +0 -1
  254. package/src/hooks/table/query/index.ts +0 -1
  255. package/src/hooks/table/use-table-configuration.tsx +1 -1
  256. package/src/i18n/translations/$schema.json +67 -208
  257. package/src/i18n/translations/en.json +3 -40
  258. package/src/providers/i18n-provider/i18n-provider.tsx +4 -9
  259. package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +3 -3
  260. package/src/routes/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx +1 -4
  261. package/src/routes/categories/category-create/components/create-category-form/create-category-details.tsx +3 -12
  262. package/src/routes/categories/category-create/components/create-category-form/create-category-form.tsx +3 -4
  263. package/src/routes/categories/category-detail/components/category-organize-section/category-organize-section.tsx +1 -1
  264. package/src/routes/categories/category-edit/components/edit-category-form/edit-category-form.tsx +3 -12
  265. package/src/routes/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx +1 -3
  266. package/src/routes/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx +1 -1
  267. package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +0 -7
  268. package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-item.tsx +2 -2
  269. package/src/routes/inventory/inventory-detail/components/manage-locations/components/manage-locations-form.tsx +140 -127
  270. package/src/routes/locations/location-edit/components/edit-location-form/edit-location-form.tsx +1 -1
  271. package/src/routes/locations/location-list/components/location-list-header/index.ts +1 -0
  272. package/src/routes/locations/location-list/components/location-list-header/location-list-header.tsx +21 -0
  273. package/src/routes/locations/location-list/index.ts +1 -0
  274. package/src/routes/locations/location-list/loader.ts +36 -0
  275. package/src/routes/locations/location-list/location-list.tsx +14 -52
  276. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +1 -4
  277. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +1 -3
  278. package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +2 -7
  279. package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +2 -7
  280. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +1 -2
  281. package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-create-form.tsx +1 -2
  282. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +1 -2
  283. package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +1 -5
  284. package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +1 -42
  285. package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +1 -2
  286. package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +0 -2
  287. package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +5 -13
  288. package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +1 -2
  289. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-create-form.tsx +1 -3
  290. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-details-form.tsx +2 -8
  291. package/src/routes/price-lists/price-list-edit/components/price-list-edit-form/edit-price-list-form.tsx +3 -12
  292. package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-form.tsx +5 -10
  293. package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +0 -4
  294. package/src/routes/products/common/components/category-combobox/category-combobox.tsx +11 -11
  295. package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +1 -3
  296. package/src/routes/products/product-create-variant/components/create-product-variant-form/create-product-variant-form.tsx +5 -10
  297. package/src/routes/products/product-create-variant/components/create-product-variant-form/details-tab.tsx +1 -6
  298. package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +2 -7
  299. package/src/routes/products/product-media/components/product-media-gallery/product-media-gallery.tsx +2 -2
  300. package/src/routes/products/product-stock/hooks/use-product-stock-columns.tsx +1 -2
  301. package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +3 -9
  302. package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +0 -4
  303. package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +49 -48
  304. package/src/routes/promotions/promotion-add-campaign/promotion-add-campaign.tsx +21 -4
  305. package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +3 -12
  306. package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +1 -6
  307. package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +12 -29
  308. package/src/routes/regions/region-create/region-create.tsx +10 -1
  309. package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +10 -32
  310. package/src/routes/regions/region-edit/region-edit.tsx +5 -0
  311. package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +1 -3
  312. package/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/create-sales-channel-form.tsx +0 -2
  313. package/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/edit-sales-channel-form.tsx +0 -2
  314. package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +0 -2
  315. package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +2 -7
  316. package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +1 -3
  317. 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
  318. package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +2 -3
  319. package/dist/chunk-5U3FFMC7.mjs +0 -84
  320. package/dist/chunk-S4DMV3ZT.mjs +0 -35
  321. package/dist/chunk-VLOA5XAC.mjs +0 -113
  322. package/dist/location-list-VNEYHAKV.mjs +0 -323
  323. package/dist/manage-locations-RPHTPGRE.mjs +0 -247
  324. package/dist/refund-reason-create-45ZZOX7F.mjs +0 -157
  325. package/dist/refund-reason-edit-E2HDAQZI.mjs +0 -144
  326. package/dist/refund-reason-list-WI7NHRDS.mjs +0 -245
  327. package/dist/region-edit-X7CSUICV.mjs +0 -308
  328. package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +0 -32
  329. package/src/hooks/table/query/use-refund-reason-table-query.tsx +0 -32
  330. package/src/hooks/use-document-direction.tsx +0 -54
  331. package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-search-input.tsx +0 -34
  332. package/src/routes/locations/location-list/use-location-list-table-columns.tsx +0 -185
  333. package/src/routes/locations/location-list/use-location-list-table-query.tsx +0 -22
  334. package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +0 -1
  335. package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +0 -131
  336. package/src/routes/refund-reasons/refund-reason-create/index.ts +0 -1
  337. package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +0 -10
  338. package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +0 -1
  339. package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +0 -119
  340. package/src/routes/refund-reasons/refund-reason-edit/index.ts +0 -1
  341. package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +0 -33
  342. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +0 -1
  343. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +0 -138
  344. package/src/routes/refund-reasons/refund-reason-list/index.ts +0 -2
  345. package/src/routes/refund-reasons/refund-reason-list/loader.ts +0 -16
  346. package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +0 -21
@@ -58,7 +58,6 @@ interface ComboboxProps<T extends Value = Value>
58
58
  onCreateOption?: (value: string) => void
59
59
  noResultsPlaceholder?: ReactNode
60
60
  allowClear?: boolean
61
- forceHideInput?: boolean // always hide input -> used for singe value select that don't have query/filter
62
61
  }
63
62
 
64
63
  const ComboboxImpl = <T extends Value = string>(
@@ -75,7 +74,6 @@ const ComboboxImpl = <T extends Value = string>(
75
74
  onCreateOption,
76
75
  noResultsPlaceholder,
77
76
  allowClear,
78
- forceHideInput,
79
77
  ...inputProps
80
78
  }: ComboboxProps<T>,
81
79
  ref: ForwardedRef<HTMLInputElement>
@@ -154,15 +152,10 @@ const ComboboxImpl = <T extends Value = string>(
154
152
  return []
155
153
  }
156
154
 
157
- // do not use `matcher` if the input is hidden
158
- if (forceHideInput) {
159
- return options
160
- }
161
-
162
155
  return matchSorter(options, defferedSearchValue, {
163
156
  keys: ["label"],
164
157
  })
165
- }, [options, defferedSearchValue, isSearchControlled, forceHideInput])
158
+ }, [options, defferedSearchValue, isSearchControlled])
166
159
 
167
160
  const observer = useRef(
168
161
  new IntersectionObserver(
@@ -204,7 +197,7 @@ const ComboboxImpl = <T extends Value = string>(
204
197
  const showTag = hasValue && isArrayValue
205
198
  const showSelected = showTag && !searchValue && !open
206
199
 
207
- const hideInput = forceHideInput || (!isArrayValue && hasValue && !open)
200
+ const hideInput = !isArrayValue && hasValue && !open
208
201
  const selectedLabel = options.find((o) => o.value === selectedValues)?.label
209
202
 
210
203
  const hidePlaceholder = showSelected || open
@@ -258,7 +251,7 @@ const ComboboxImpl = <T extends Value = string>(
258
251
  e.preventDefault()
259
252
  handleValueChange(isArrayValue ? ([] as unknown as T) : undefined)
260
253
  }}
261
- className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute start-0.5 top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border py-[3px] pe-1 ps-1.5 outline-none"
254
+ className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute left-0.5 top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border py-[3px] pl-1.5 pr-1 outline-none"
262
255
  >
263
256
  <span className="tabular-nums">{selectedValues.length}</span>
264
257
  <XMarkMini className="text-ui-fg-muted" />
@@ -270,8 +263,8 @@ const ComboboxImpl = <T extends Value = string>(
270
263
  className={clx(
271
264
  "pointer-events-none absolute inset-y-0 flex size-full items-center",
272
265
  {
273
- "start-[calc(var(--tag-width)+8px)]": showTag,
274
- "start-2": !showTag,
266
+ "left-[calc(var(--tag-width)+8px)]": showTag,
267
+ "left-2": !showTag,
275
268
  }
276
269
  )}
277
270
  >
@@ -285,8 +278,8 @@ const ComboboxImpl = <T extends Value = string>(
285
278
  className={clx(
286
279
  "pointer-events-none absolute inset-y-0 flex size-full items-center overflow-hidden",
287
280
  {
288
- "start-[calc(var(--tag-width)+8px)]": showTag,
289
- "start-2": !showTag,
281
+ "left-[calc(var(--tag-width)+8px)]": showTag,
282
+ "left-2": !showTag,
290
283
  }
291
284
  )}
292
285
  >
@@ -300,12 +293,12 @@ const ComboboxImpl = <T extends Value = string>(
300
293
  ref={comboboxRef}
301
294
  onFocus={() => setOpen(true)}
302
295
  className={clx(
303
- "txt-compact-small text-ui-fg-base !placeholder:text-ui-fg-muted transition-fg size-full cursor-pointer bg-transparent pe-8 ps-2 outline-none focus:cursor-text",
296
+ "txt-compact-small text-ui-fg-base !placeholder:text-ui-fg-muted transition-fg size-full cursor-pointer bg-transparent pl-2 pr-8 outline-none focus:cursor-text",
304
297
  "hover:bg-ui-bg-field-hover",
305
298
  {
306
299
  "opacity-0": hideInput,
307
- "ps-2": !showTag,
308
- "ps-[calc(var(--tag-width)+8px)]": showTag,
300
+ "pl-2": !showTag,
301
+ "pl-[calc(var(--tag-width)+8px)]": showTag,
309
302
  }
310
303
  )}
311
304
  placeholder={hidePlaceholder ? undefined : placeholder}
@@ -319,7 +312,7 @@ const ComboboxImpl = <T extends Value = string>(
319
312
  e.preventDefault()
320
313
  handleValueChange(undefined)
321
314
  }}
322
- className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute end-[28px] top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border px-1.5 py-[2px] outline-none"
315
+ className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute right-[28px] top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border px-1.5 py-[2px] outline-none"
323
316
  >
324
317
  <XMarkMini className="text-ui-fg-muted" />
325
318
  </button>
@@ -330,7 +323,7 @@ const ComboboxImpl = <T extends Value = string>(
330
323
  <button
331
324
  {...props}
332
325
  type="button"
333
- className="text-ui-fg-muted transition-fg hover:bg-ui-bg-field-hover absolute end-0 flex size-8 items-center justify-center rounded-r outline-none"
326
+ className="text-ui-fg-muted transition-fg hover:bg-ui-bg-field-hover absolute right-0 flex size-8 items-center justify-center rounded-r outline-none"
334
327
  >
335
328
  <TrianglesMini />
336
329
  </button>
@@ -348,7 +341,7 @@ const ComboboxImpl = <T extends Value = string>(
348
341
  "max-h-[200px] overflow-y-auto",
349
342
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
350
343
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
351
- "data-[side=bottom]:slide-in-from-top-2 data-[side=start]:slide-in-from-end-2 data-[side=end]:slide-in-from-start-2 data-[side=top]:slide-in-from-bottom-2"
344
+ "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
352
345
  )}
353
346
  style={{
354
347
  pointerEvents: open ? "auto" : "none",
@@ -33,7 +33,7 @@ export const CountrySelect = forwardRef<
33
33
  <div className="relative">
34
34
  <TrianglesMini
35
35
  className={clx(
36
- "text-ui-fg-muted transition-fg pointer-events-none absolute end-2 top-1/2 -translate-y-1/2",
36
+ "text-ui-fg-muted transition-fg pointer-events-none absolute right-2 top-1/2 -translate-y-1/2",
37
37
  {
38
38
  "text-ui-fg-disabled": disabled,
39
39
  }
@@ -76,7 +76,7 @@ export const ProvinceSelect = forwardRef<
76
76
  <div className="relative">
77
77
  <TrianglesMini
78
78
  className={clx(
79
- "text-ui-fg-muted transition-fg pointer-events-none absolute end-2 top-1/2 -translate-y-1/2",
79
+ "text-ui-fg-muted transition-fg pointer-events-none absolute right-2 top-1/2 -translate-y-1/2",
80
80
  {
81
81
  "text-ui-fg-disabled": disabled,
82
82
  }
@@ -29,7 +29,6 @@ import { queryClient } from "../../../lib/query-client"
29
29
  import { useExtension } from "../../../providers/extension-provider"
30
30
  import { useSearch } from "../../../providers/search-provider"
31
31
  import { UserMenu } from "../user-menu"
32
- import { useDocumentDirection } from "../../../hooks/use-document-direction"
33
32
 
34
33
  export const MainLayout = () => {
35
34
  return (
@@ -95,7 +94,7 @@ const Logout = () => {
95
94
  const Header = () => {
96
95
  const { t } = useTranslation()
97
96
  const { store, isPending, isError, error } = useStore()
98
- const direction = useDocumentDirection()
97
+
99
98
  const name = store?.name
100
99
  const fallback = store?.name?.slice(0, 1).toUpperCase()
101
100
 
@@ -107,12 +106,11 @@ const Header = () => {
107
106
 
108
107
  return (
109
108
  <div className="w-full p-3">
110
- <DropdownMenu
111
- dir={direction}>
109
+ <DropdownMenu>
112
110
  <DropdownMenu.Trigger
113
111
  disabled={!isLoaded}
114
112
  className={clx(
115
- "bg-ui-bg-subtle transition-fg grid w-full grid-cols-[24px_1fr_15px] items-center gap-x-3 rounded-md p-0.5 pe-2 outline-none",
113
+ "bg-ui-bg-subtle transition-fg grid w-full grid-cols-[24px_1fr_15px] items-center gap-x-3 rounded-md p-0.5 pr-2 outline-none",
116
114
  "hover:bg-ui-bg-subtle-hover",
117
115
  "data-[state=open]:bg-ui-bg-subtle-hover",
118
116
  "focus-visible:shadow-borders-focus"
@@ -123,7 +121,7 @@ const Header = () => {
123
121
  ) : (
124
122
  <Skeleton className="h-6 w-6 rounded-md" />
125
123
  )}
126
- <div className="block overflow-hidden text-start">
124
+ <div className="block overflow-hidden text-left">
127
125
  {name ? (
128
126
  <Text
129
127
  size="small"
@@ -269,7 +267,7 @@ const Searchbar = () => {
269
267
  )}
270
268
  >
271
269
  <MagnifyingGlass />
272
- <div className="flex-1 text-start">
270
+ <div className="flex-1 text-left">
273
271
  <Text size="small" leading="compact" weight="plus">
274
272
  {t("app.search.label")}
275
273
  </Text>
@@ -43,10 +43,6 @@ const useSettingRoutes = (): INavItem[] => {
43
43
  label: t("returnReasons.domain"),
44
44
  to: "/settings/return-reasons",
45
45
  },
46
- {
47
- label: t("refundReasons.domain"),
48
- to: "/settings/refund-reasons",
49
- },
50
46
  {
51
47
  label: t("salesChannels.domain"),
52
48
  to: "/settings/sales-channels",
@@ -156,7 +156,7 @@ const Breadcrumbs = () => {
156
156
  )}
157
157
  {!isLast && (
158
158
  <span className="mx-2">
159
- <TriangleRightMini className="rtl:rotate-180" />
159
+ <TriangleRightMini />
160
160
  </span>
161
161
  )}
162
162
  </li>
@@ -177,7 +177,7 @@ const ToggleSidebar = () => {
177
177
  onClick={() => toggle("desktop")}
178
178
  size="small"
179
179
  >
180
- <SidebarLeft className="text-ui-fg-muted rtl:rotate-180" />
180
+ <SidebarLeft className="text-ui-fg-muted" />
181
181
  </IconButton>
182
182
  <IconButton
183
183
  className="hidden max-lg:flex"
@@ -185,7 +185,7 @@ const ToggleSidebar = () => {
185
185
  onClick={() => toggle("mobile")}
186
186
  size="small"
187
187
  >
188
- <SidebarLeft className="text-ui-fg-muted rtl:rotate-180" />
188
+ <SidebarLeft className="text-ui-fg-muted" />
189
189
  </IconButton>
190
190
  </div>
191
191
  )
@@ -210,7 +210,7 @@ const DesktopSidebarContainer = ({ children }: PropsWithChildren) => {
210
210
 
211
211
  return (
212
212
  <div
213
- className={clx("hidden h-screen w-[220px] border-e", {
213
+ className={clx("hidden h-screen w-[220px] border-r", {
214
214
  "lg:flex": desktop,
215
215
  })}
216
216
  >
@@ -234,8 +234,8 @@ const MobileSidebarContainer = ({ children }: PropsWithChildren) => {
234
234
  />
235
235
  <RadixDialog.Content
236
236
  className={clx(
237
- "bg-ui-bg-subtle shadow-elevation-modal fixed inset-y-2 start-2 flex w-full max-w-[304px] flex-col overflow-hidden rounded-lg border-r",
238
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-start-1/2 data-[state=open]:slide-in-from-start-1/2 duration-200"
237
+ "bg-ui-bg-subtle shadow-elevation-modal fixed inset-y-2 left-2 flex w-full max-w-[304px] flex-col overflow-hidden rounded-lg border-r",
238
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-left-1/2 data-[state=open]:slide-in-from-left-1/2 duration-200"
239
239
  )}
240
240
  >
241
241
  <div className="p-3">
@@ -29,12 +29,10 @@ import { useLogout, useMe } from "../../../hooks/api"
29
29
  import { queryClient } from "../../../lib/query-client"
30
30
  import { useGlobalShortcuts } from "../../../providers/keybind-provider/hooks"
31
31
  import { useTheme } from "../../../providers/theme-provider"
32
- import { useDocumentDirection } from "../../../hooks/use-document-direction"
33
32
 
34
33
  export const UserMenu = () => {
35
34
  const { t } = useTranslation()
36
35
  const location = useLocation()
37
- const direction = useDocumentDirection()
38
36
 
39
37
  const [openMenu, setOpenMenu] = useState(false)
40
38
  const [openModal, setOpenModal] = useState(false)
@@ -46,33 +44,33 @@ export const UserMenu = () => {
46
44
 
47
45
  return (
48
46
  <div>
49
- <DropdownMenu dir={direction} open={openMenu} onOpenChange={setOpenMenu}>
47
+ <DropdownMenu open={openMenu} onOpenChange={setOpenMenu}>
50
48
  <UserBadge />
51
49
  <DropdownMenu.Content className="min-w-[var(--radix-dropdown-menu-trigger-width)] max-w-[var(--radix-dropdown-menu-trigger-width)]">
52
50
  <UserItem />
53
51
  <DropdownMenu.Separator />
54
52
  <DropdownMenu.Item asChild>
55
53
  <Link to="/settings/profile" state={{ from: location.pathname }}>
56
- <UserIcon className="text-ui-fg-subtle me-2" />
54
+ <UserIcon className="text-ui-fg-subtle mr-2" />
57
55
  {t("app.menus.user.profileSettings")}
58
56
  </Link>
59
57
  </DropdownMenu.Item>
60
58
  <DropdownMenu.Separator />
61
59
  <DropdownMenu.Item asChild>
62
60
  <Link to="https://docs.medusajs.com" target="_blank">
63
- <BookOpen className="text-ui-fg-subtle me-2" />
61
+ <BookOpen className="text-ui-fg-subtle mr-2" />
64
62
  {t("app.menus.user.documentation")}
65
63
  </Link>
66
64
  </DropdownMenu.Item>
67
65
  <DropdownMenu.Item asChild>
68
66
  <Link to="https://medusajs.com/changelog/" target="_blank">
69
- <TimelineVertical className="text-ui-fg-subtle me-2" />
67
+ <TimelineVertical className="text-ui-fg-subtle mr-2" />
70
68
  {t("app.menus.user.changelog")}
71
69
  </Link>
72
70
  </DropdownMenu.Item>
73
71
  <DropdownMenu.Separator />
74
72
  <DropdownMenu.Item onClick={toggleModal}>
75
- <Keyboard className="text-ui-fg-subtle me-2" />
73
+ <Keyboard className="text-ui-fg-subtle mr-2" />
76
74
  {t("app.menus.user.shortcuts")}
77
75
  </DropdownMenu.Item>
78
76
  <ThemeToggle />
@@ -95,7 +93,7 @@ const UserBadge = () => {
95
93
 
96
94
  if (isPending) {
97
95
  return (
98
- <button className="shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 ps-1 pe-2.5">
96
+ <button className="shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 pl-1 pr-2.5">
99
97
  <Skeleton className="h-5 w-5 rounded-full" />
100
98
  <Skeleton className="h-[9px] w-[70px]" />
101
99
  </button>
@@ -111,7 +109,7 @@ const UserBadge = () => {
111
109
  <DropdownMenu.Trigger
112
110
  disabled={!user}
113
111
  className={clx(
114
- "bg-ui-bg-subtle grid w-full cursor-pointer grid-cols-[24px_1fr_15px] items-center gap-2 rounded-md py-1 ps-0.5 pe-2 outline-none",
112
+ "bg-ui-bg-subtle grid w-full cursor-pointer grid-cols-[24px_1fr_15px] items-center gap-2 rounded-md py-1 pl-0.5 pr-2 outline-none",
115
113
  "hover:bg-ui-bg-subtle-hover",
116
114
  "data-[state=open]:bg-ui-bg-subtle-hover",
117
115
  "focus-visible:shadow-borders-focus"
@@ -150,9 +148,9 @@ const ThemeToggle = () => {
150
148
 
151
149
  return (
152
150
  <DropdownMenu.SubMenu>
153
- <DropdownMenu.SubMenuTrigger dir="ltr" className="rounded-md rtl:rotate-180">
154
- <CircleHalfSolid className="text-ui-fg-subtle me-2" />
155
- <span className="rtl:rotate-180">{t("app.menus.user.theme.label")}</span>
151
+ <DropdownMenu.SubMenuTrigger className="rounded-md">
152
+ <CircleHalfSolid className="text-ui-fg-subtle mr-2" />
153
+ {t("app.menus.user.theme.label")}
156
154
  </DropdownMenu.SubMenuTrigger>
157
155
  <DropdownMenu.SubMenuContent>
158
156
  <DropdownMenu.RadioGroup value={theme}>
@@ -44,7 +44,6 @@ import {
44
44
  } from "./constants"
45
45
  import { SearchArea } from "./types"
46
46
  import { useSearchResults } from "./use-search-results"
47
- import { useDocumentDirection } from "../../hooks/use-document-direction"
48
47
 
49
48
  export const Search = () => {
50
49
  const [area, setArea] = useState<SearchArea>("all")
@@ -55,7 +54,6 @@ export const Search = () => {
55
54
  const { t } = useTranslation()
56
55
  const navigate = useNavigate()
57
56
 
58
-
59
57
  const inputRef = useRef<HTMLInputElement>(null)
60
58
  const listRef = useRef<HTMLDivElement>(null)
61
59
 
@@ -369,7 +367,7 @@ const CommandInput = forwardRef<
369
367
  ) => {
370
368
  const { t } = useTranslation()
371
369
  const innerRef = useRef<HTMLInputElement>(null)
372
- const direction = useDocumentDirection()
370
+
373
371
  useImperativeHandle<HTMLInputElement | null, HTMLInputElement | null>(
374
372
  ref,
375
373
  () => innerRef.current
@@ -378,7 +376,7 @@ const CommandInput = forwardRef<
378
376
  return (
379
377
  <div className="flex flex-col border-b">
380
378
  <div className="px-4 pt-4">
381
- <DropdownMenu dir={direction}>
379
+ <DropdownMenu>
382
380
  <DropdownMenu.Trigger asChild>
383
381
  <Badge
384
382
  size="2xsmall"
@@ -434,7 +432,7 @@ const CommandInput = forwardRef<
434
432
  )}
435
433
  {...props}
436
434
  />
437
- <div className="absolute end-4 top-1/2 flex -translate-y-1/2 items-center justify-end gap-x-2">
435
+ <div className="absolute right-4 top-1/2 flex -translate-y-1/2 items-center justify-end gap-x-2">
438
436
  {isFetching && (
439
437
  <Spinner className="text-ui-fg-muted animate-spin" />
440
438
  )}
@@ -4,8 +4,6 @@ import { useState } from "react"
4
4
  import { useTranslation } from "react-i18next"
5
5
  import { useSearchParams } from "react-router-dom"
6
6
 
7
- import { useDocumentDirection } from "../../../../hooks/use-document-direction"
8
-
9
7
  export type DataTableOrderByKey<TData> = {
10
8
  key: keyof TData
11
9
  label: string
@@ -56,7 +54,6 @@ export const DataTableOrderBy = <TData,>({
56
54
  }>(initState(searchParams, prefix))
57
55
  const param = prefix ? `${prefix}_order` : "order"
58
56
  const { t } = useTranslation()
59
- const direction = useDocumentDirection()
60
57
 
61
58
  const handleDirChange = (dir: string) => {
62
59
  setState((prev) => ({
@@ -100,7 +97,7 @@ export const DataTableOrderBy = <TData,>({
100
97
  }
101
98
 
102
99
  return (
103
- <DropdownMenu dir={direction}>
100
+ <DropdownMenu>
104
101
  <DropdownMenu.Trigger asChild>
105
102
  <IconButton size="small">
106
103
  <DescendingSorting />
@@ -262,7 +262,7 @@ export const DataTableRoot = <TData,>({
262
262
  <Table.Cell
263
263
  key={cell.id}
264
264
  className={clx({
265
- "!ps-0 !pe-0": shouldRenderAsLink,
265
+ "!pl-0 !pr-0": shouldRenderAsLink,
266
266
  "bg-ui-bg-base group-data-[selected=true]/row:bg-ui-bg-highlight group-data-[selected=true]/row:group-hover/row:bg-ui-bg-highlight-hover group-hover/row:bg-ui-bg-base-hover transition-fg group-has-[[data-row-link]:focus-visible]:bg-ui-bg-base-hover sticky left-0 after:absolute after:inset-y-0 after:right-0 after:h-full after:w-px after:bg-transparent after:content-['']":
267
267
  isStickyCell,
268
268
  "bg-ui-bg-subtle group-hover/row:bg-ui-bg-subtle-hover":
@@ -288,9 +288,9 @@ export const DataTableRoot = <TData,>({
288
288
  >
289
289
  <div
290
290
  className={clx(
291
- "flex size-full items-center pe-6",
291
+ "flex size-full items-center pr-6",
292
292
  {
293
- "ps-6": isTabableLink && !hasLeftOffset,
293
+ "pl-6": isTabableLink && !hasLeftOffset,
294
294
  }
295
295
  )}
296
296
  >
@@ -102,7 +102,7 @@ const FormExtensionFieldComponent = ({
102
102
  return <Input {...field} placeholder={placeholder} type="number" />
103
103
  }
104
104
  case "boolean": {
105
- return <Switch className="rtl:rotate-180" dir="ltr" {...field} />
105
+ return <Switch {...field} />
106
106
  }
107
107
  default: {
108
108
  return (
@@ -1780,42 +1780,6 @@ export function getRouteMap({
1780
1780
  },
1781
1781
  ],
1782
1782
  },
1783
- {
1784
- path: "refund-reasons",
1785
- element: <Outlet />,
1786
- handle: {
1787
- breadcrumb: () => t("refundReasons.domain"),
1788
- },
1789
- children: [
1790
- {
1791
- path: "",
1792
- lazy: () =>
1793
- import("../../routes/refund-reasons/refund-reason-list"),
1794
- children: [
1795
- {
1796
- path: "create",
1797
- lazy: () =>
1798
- import(
1799
- "../../routes/refund-reasons/refund-reason-create"
1800
- ),
1801
- },
1802
-
1803
- {
1804
- path: ":id",
1805
- children: [
1806
- {
1807
- path: "edit",
1808
- lazy: () =>
1809
- import(
1810
- "../../routes/refund-reasons/refund-reason-edit"
1811
- ),
1812
- },
1813
- ],
1814
- },
1815
- ],
1816
- },
1817
- ],
1818
- },
1819
1783
  ...(settingsRoutes?.[0]?.children || []),
1820
1784
  ],
1821
1785
  },
@@ -130,7 +130,6 @@ export const useAddOrRemoveCampaignPromotions = (
130
130
  onSuccess: (data, variables, context) => {
131
131
  queryClient.invalidateQueries({ queryKey: campaignsQueryKeys.details() })
132
132
  queryClient.invalidateQueries({ queryKey: promotionsQueryKeys.lists() })
133
- queryClient.invalidateQueries({ queryKey: promotionsQueryKeys.details() })
134
133
  options?.onSuccess?.(data, variables, context)
135
134
  },
136
135
  ...options,
@@ -241,9 +241,6 @@ export const useBatchInventoryItemLocationLevels = (
241
241
  queryClient.invalidateQueries({
242
242
  queryKey: inventoryItemLevelsQueryKeys.detail(inventoryItemId),
243
243
  })
244
- queryClient.invalidateQueries({
245
- queryKey: inventoryItemLevelsQueryKeys.list({ inventoryItemId }),
246
- })
247
244
  options?.onSuccess?.(data, variables, context)
248
245
  },
249
246
  ...options,
@@ -15,11 +15,6 @@ import { FetchError } from "@medusajs/js-sdk"
15
15
  const PAYMENT_QUERY_KEY = "payment" as const
16
16
  export const paymentQueryKeys = queryKeysFactory(PAYMENT_QUERY_KEY)
17
17
 
18
- const PAYMENT_PROVIDERS_QUERY_KEY = "payment_providers" as const
19
- export const paymentProvidersQueryKeys = queryKeysFactory(
20
- PAYMENT_PROVIDERS_QUERY_KEY
21
- )
22
-
23
18
  export const usePaymentProviders = (
24
19
  query?: HttpTypes.AdminGetPaymentProvidersParams,
25
20
  options?: Omit<
@@ -34,7 +29,7 @@ export const usePaymentProviders = (
34
29
  ) => {
35
30
  const { data, ...rest } = useQuery({
36
31
  queryFn: async () => sdk.admin.payment.listPaymentProviders(query),
37
- queryKey: paymentProvidersQueryKeys.list(query),
32
+ queryKey: [],
38
33
  ...options,
39
34
  })
40
35
 
@@ -1,124 +1,29 @@
1
1
  import { HttpTypes } from "@medusajs/types"
2
- import {
3
- useMutation,
4
- UseMutationOptions,
5
- useQuery,
6
- UseQueryOptions,
7
- } from "@tanstack/react-query"
8
-
9
- import { FetchError } from "@medusajs/js-sdk"
2
+ import { QueryKey, useQuery, UseQueryOptions } from "@tanstack/react-query"
10
3
  import { sdk } from "../../lib/client"
11
- import { queryClient } from "../../lib/query-client"
12
4
  import { queryKeysFactory } from "../../lib/query-key-factory"
5
+ import { FetchError } from "@medusajs/js-sdk"
13
6
 
14
- const REFUND_REASONS_QUERY_KEY = "refund_reasons" as const
15
- export const refundReasonsQueryKeys = queryKeysFactory(REFUND_REASONS_QUERY_KEY)
7
+ const REFUND_REASON_QUERY_KEY = "refund-reason" as const
8
+ export const refundReasonQueryKeys = queryKeysFactory(REFUND_REASON_QUERY_KEY)
16
9
 
17
10
  export const useRefundReasons = (
18
- query?: HttpTypes.AdminRefundReasonListParams,
11
+ query?: HttpTypes.RefundReasonFilters,
19
12
  options?: Omit<
20
13
  UseQueryOptions<
21
- HttpTypes.AdminRefundReasonListResponse,
14
+ HttpTypes.RefundReasonsResponse,
22
15
  FetchError,
23
- HttpTypes.AdminRefundReasonListResponse
16
+ HttpTypes.RefundReasonsResponse,
17
+ QueryKey
24
18
  >,
25
- "queryFn" | "queryKey"
19
+ "queryKey" | "queryFn"
26
20
  >
27
21
  ) => {
28
22
  const { data, ...rest } = useQuery({
29
23
  queryFn: () => sdk.admin.refundReason.list(query),
30
- queryKey: refundReasonsQueryKeys.list(query),
24
+ queryKey: [],
31
25
  ...options,
32
26
  })
33
27
 
34
28
  return { ...data, ...rest }
35
29
  }
36
-
37
- export const useRefundReason = (
38
- id: string,
39
- query?: HttpTypes.AdminRefundReasonParams,
40
- options?: Omit<
41
- UseQueryOptions<
42
- HttpTypes.AdminRefundReasonResponse,
43
- FetchError,
44
- HttpTypes.AdminRefundReasonResponse
45
- >,
46
- "queryFn" | "queryKey"
47
- >
48
- ) => {
49
- const { data, ...rest } = useQuery({
50
- queryFn: () => sdk.admin.refundReason.retrieve(id, query),
51
- queryKey: refundReasonsQueryKeys.detail(id),
52
- ...options,
53
- })
54
-
55
- return { ...data, ...rest }
56
- }
57
-
58
- export const useCreateRefundReason = (
59
- query?: HttpTypes.AdminRefundReasonParams,
60
- options?: UseMutationOptions<
61
- HttpTypes.RefundReasonResponse,
62
- FetchError,
63
- HttpTypes.AdminCreateRefundReason
64
- >
65
- ) => {
66
- return useMutation({
67
- mutationFn: async (data) => sdk.admin.refundReason.create(data, query),
68
- onSuccess: (data, variables, context) => {
69
- queryClient.invalidateQueries({
70
- queryKey: refundReasonsQueryKeys.lists(),
71
- })
72
-
73
- options?.onSuccess?.(data, variables, context)
74
- },
75
- ...options,
76
- })
77
- }
78
-
79
- export const useUpdateRefundReason = (
80
- id: string,
81
- options?: UseMutationOptions<
82
- HttpTypes.AdminRefundReasonResponse,
83
- FetchError,
84
- HttpTypes.AdminUpdateRefundReason
85
- >
86
- ) => {
87
- return useMutation({
88
- mutationFn: async (data) => sdk.admin.refundReason.update(id, data),
89
- onSuccess: (data, variables, context) => {
90
- queryClient.invalidateQueries({
91
- queryKey: refundReasonsQueryKeys.lists(),
92
- })
93
- queryClient.invalidateQueries({
94
- queryKey: refundReasonsQueryKeys.detail(data.refund_reason.id),
95
- })
96
-
97
- options?.onSuccess?.(data, variables, context)
98
- },
99
- ...options,
100
- })
101
- }
102
-
103
- export const useDeleteRefundReasonLazy = (
104
- options?: UseMutationOptions<
105
- HttpTypes.AdminRefundReasonDeleteResponse,
106
- FetchError,
107
- string
108
- >
109
- ) => {
110
- return useMutation({
111
- mutationFn: (id: string) => sdk.admin.refundReason.delete(id),
112
- onSuccess: (data, variables, context) => {
113
- queryClient.invalidateQueries({
114
- queryKey: refundReasonsQueryKeys.lists(),
115
- })
116
- queryClient.invalidateQueries({
117
- queryKey: refundReasonsQueryKeys.details(),
118
- })
119
-
120
- options?.onSuccess?.(data, variables, context)
121
- },
122
- ...options,
123
- })
124
- }
@@ -6,7 +6,6 @@ export * from "./use-order-table-columns"
6
6
  export * from "./use-product-table-columns"
7
7
  export * from "./use-product-tag-table-columns"
8
8
  export * from "./use-product-type-table-columns"
9
- export * from "./use-refund-reason-table-columns"
10
9
  export * from "./use-region-table-columns"
11
10
  export * from "./use-return-reason-table-columns"
12
11
  export * from "./use-tax-rates-table-columns"