@medusajs/dashboard 2.10.4-snapshot-20250922195925 → 2.10.4-snapshot-20250925172615

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 (324) hide show
  1. package/dist/{add-campaign-promotions-PLZXWFNV.mjs → add-campaign-promotions-3BB3BLFD.mjs} +7 -6
  2. package/dist/{adjust-inventory-WBEBMJN7.mjs → adjust-inventory-OIJTAKHP.mjs} +1 -1
  3. package/dist/{api-key-management-create-VXPZX2Q5.mjs → api-key-management-create-XDQHUNWK.mjs} +3 -3
  4. package/dist/{api-key-management-detail-ZQFNZNWW.mjs → api-key-management-detail-MM673US3.mjs} +16 -15
  5. package/dist/{api-key-management-edit-7CGMSHAY.mjs → api-key-management-edit-2SUSKI7T.mjs} +3 -3
  6. package/dist/{api-key-management-list-5DI3L4DV.mjs → api-key-management-list-C2WM4PHC.mjs} +8 -7
  7. package/dist/{api-key-management-sales-channels-WL5L5XWM.mjs → api-key-management-sales-channels-MVHVMPF6.mjs} +6 -5
  8. package/dist/app.css +89 -34
  9. package/dist/app.js +5093 -4715
  10. package/dist/app.mjs +18 -16
  11. package/dist/{campaign-budget-edit-OXNTSPGE.mjs → campaign-budget-edit-UWGCET5Z.mjs} +1 -1
  12. package/dist/{campaign-configuration-Z5HA2DG3.mjs → campaign-configuration-WWCCFNYQ.mjs} +1 -1
  13. package/dist/{campaign-create-AVBNHFC2.mjs → campaign-create-CQ3XBHSY.mjs} +4 -3
  14. package/dist/{campaign-detail-VTCCVWKS.mjs → campaign-detail-G2VM7CRL.mjs} +23 -22
  15. package/dist/{campaign-edit-3TDW52BO.mjs → campaign-edit-R43GXNET.mjs} +1 -1
  16. package/dist/{campaign-list-G4MD3RPU.mjs → campaign-list-CDO5PRTL.mjs} +7 -6
  17. package/dist/{categories-metadata-FTFYPASQ.mjs → categories-metadata-M4PAATNV.mjs} +14 -13
  18. package/dist/{category-create-FOVB5MJ4.mjs → category-create-GMFWRFT7.mjs} +38 -16
  19. package/dist/{category-detail-QHU2CLYA.mjs → category-detail-MTLPW4MR.mjs} +20 -19
  20. package/dist/{category-edit-O4ZSANE5.mjs → category-edit-HCHER73V.mjs} +36 -16
  21. package/dist/{category-list-UI6W5KF5.mjs → category-list-IXW2NWWJ.mjs} +8 -7
  22. package/dist/{category-organize-BW3YOPUS.mjs → category-organize-LRQKM4LA.mjs} +2 -2
  23. package/dist/{category-products-YGTL7GXQ.mjs → category-products-DGWKONYE.mjs} +16 -15
  24. package/dist/{chunk-2HKRIUW4.mjs → chunk-2PGNKUXS.mjs} +1 -1
  25. package/dist/{chunk-X4X5KUGQ.mjs → chunk-4QUHWHBD.mjs} +3 -0
  26. package/dist/{chunk-R2NWOCML.mjs → chunk-5FAWKUSU.mjs} +8 -2
  27. package/dist/{chunk-YZJ3W776.mjs → chunk-5U3FFMC7.mjs} +6 -9
  28. package/dist/{chunk-UNM3LPTG.mjs → chunk-7GBCLBMX.mjs} +25 -12
  29. package/dist/{chunk-6V6KATTW.mjs → chunk-7JJTWGHU.mjs} +29 -18
  30. package/dist/{chunk-VE7JFMAN.mjs → chunk-A4GWVZB4.mjs} +3 -3
  31. package/dist/{chunk-2YP2ZNKR.mjs → chunk-AN5IILM2.mjs} +1 -1
  32. package/dist/{chunk-YWNHMIEQ.mjs → chunk-AXXGAOQL.mjs} +2 -2
  33. package/dist/{chunk-2PMSBTXI.mjs → chunk-CD7VQIPA.mjs} +11 -11
  34. package/dist/{chunk-WYDDFRYM.mjs → chunk-CGEJJR5K.mjs} +595 -686
  35. package/dist/{chunk-J5E7MQSS.mjs → chunk-CY33DS7K.mjs} +6 -0
  36. package/dist/{chunk-PPI7PTY6.mjs → chunk-DKOCYXB5.mjs} +10 -4
  37. package/dist/{chunk-ZCZL3STK.mjs → chunk-EA5GGT2Q.mjs} +1 -1
  38. package/dist/{chunk-BSBCIU6C.mjs → chunk-EILZIUOP.mjs} +1 -1
  39. package/dist/{chunk-7VJK6HNE.mjs → chunk-EYL2JACT.mjs} +4 -4
  40. package/dist/{chunk-BFNH5UWD.mjs → chunk-EYTETK3W.mjs} +1 -1
  41. package/dist/{chunk-74K7HGNI.mjs → chunk-FXG2Z3QT.mjs} +3 -2
  42. package/dist/{chunk-SMHXCFRS.mjs → chunk-G3VGLFVH.mjs} +54 -41
  43. package/dist/{chunk-2RQLKDBF.mjs → chunk-GIZFNLKK.mjs} +103 -96
  44. package/dist/{chunk-CU5EFQSB.mjs → chunk-HOERC634.mjs} +1 -1
  45. package/dist/{chunk-AOFGTNG6.mjs → chunk-HQKGZADC.mjs} +6 -1
  46. package/dist/{chunk-LBIOZZPA.mjs → chunk-HWKLNKOY.mjs} +1 -1
  47. package/dist/{chunk-YPDTZXV6.mjs → chunk-I2QEZTVU.mjs} +2 -2
  48. package/dist/{chunk-S2UEWRDA.mjs → chunk-IL5IMREK.mjs} +59 -49
  49. package/dist/{chunk-FTVAORQM.mjs → chunk-IP2QPPWC.mjs} +1 -1
  50. package/dist/{chunk-SCBXRJPV.mjs → chunk-IRO6DO7J.mjs} +1 -1
  51. package/dist/{chunk-YI4CZGTU.mjs → chunk-ITJEYJNB.mjs} +1 -1
  52. package/dist/{chunk-T7G2CURS.mjs → chunk-IVZ6BMDB.mjs} +1 -0
  53. package/dist/{chunk-BM5ZIV5V.mjs → chunk-IXMPYDY2.mjs} +1 -1
  54. package/dist/{chunk-XGJ5DXXG.mjs → chunk-K2HM7KXJ.mjs} +12 -12
  55. package/dist/{chunk-2LPGQWPV.mjs → chunk-KTL6E2WT.mjs} +1 -1
  56. package/dist/{chunk-OHSRRFGN.mjs → chunk-LKVQ5YC6.mjs} +1 -1
  57. package/dist/{chunk-QGCKTVQX.mjs → chunk-LMRZMI7O.mjs} +1 -1
  58. package/dist/{chunk-PHXKD2LR.mjs → chunk-MAKOUE5W.mjs} +1 -1
  59. package/dist/{chunk-Q5DI5VYN.mjs → chunk-MLNUGLGT.mjs} +1 -1
  60. package/dist/{chunk-5M5ZVAWU.mjs → chunk-MSOFJHH3.mjs} +2 -2
  61. package/dist/{chunk-5CE3JPWD.mjs → chunk-NFQXNOP7.mjs} +1 -1
  62. package/dist/{chunk-UWJBDOQD.mjs → chunk-NKVMOKZA.mjs} +41 -29
  63. package/dist/{chunk-NCR5UWRI.mjs → chunk-NY6I2FYO.mjs} +1 -1
  64. package/dist/{chunk-3NJTXRIY.mjs → chunk-OZPB6JBL.mjs} +5 -1
  65. package/dist/{chunk-FPJBF7VS.mjs → chunk-P2O6XTD4.mjs} +1 -1
  66. package/dist/{chunk-EFA7S5L3.mjs → chunk-PGTXMCSV.mjs} +1 -1
  67. package/dist/{chunk-D7H6ZNK4.mjs → chunk-PRLQLEEQ.mjs} +2 -0
  68. package/dist/{chunk-ZODJNBAV.mjs → chunk-R2G2B47Y.mjs} +1 -0
  69. package/dist/{chunk-HUX22ZHT.mjs → chunk-RF75BZNF.mjs} +3 -3
  70. package/dist/{chunk-4RG7UJCT.mjs → chunk-RGP3IXX4.mjs} +1 -1
  71. package/dist/chunk-S4DMV3ZT.mjs +35 -0
  72. package/dist/{chunk-5NQ3X2JI.mjs → chunk-SNDSWB6B.mjs} +1 -1
  73. package/dist/{chunk-EE7SOCEQ.mjs → chunk-SQFZWNYA.mjs} +4 -4
  74. package/dist/{chunk-O74UDEWT.mjs → chunk-TKZK3YPU.mjs} +1 -1
  75. package/dist/{chunk-KSRI5LOF.mjs → chunk-U25RCIX2.mjs} +2 -2
  76. package/dist/{chunk-XTNS2NRD.mjs → chunk-U4R5MBF2.mjs} +1 -1
  77. package/dist/{chunk-CK3VFTZM.mjs → chunk-UKX2FFFV.mjs} +2 -2
  78. package/dist/{chunk-JO6QASTJ.mjs → chunk-V6JXTITD.mjs} +1 -1
  79. package/dist/chunk-VLOA5XAC.mjs +113 -0
  80. package/dist/{chunk-4Q4LIFFO.mjs → chunk-XP3BY6G6.mjs} +1 -1
  81. package/dist/{chunk-6IZUCU7K.mjs → chunk-YSFTQA6Y.mjs} +2 -2
  82. package/dist/{chunk-XKXNQ2KV.mjs → chunk-ZCARHA6C.mjs} +1 -1
  83. package/dist/{chunk-RMEITCLS.mjs → chunk-ZSDEVTFT.mjs} +1 -1
  84. package/dist/{collection-add-products-OJ2EZLC7.mjs → collection-add-products-KEB3ESAK.mjs} +16 -15
  85. package/dist/{collection-create-75ZI5NDG.mjs → collection-create-PTOF33H2.mjs} +2 -2
  86. package/dist/{collection-detail-RMZK523E.mjs → collection-detail-V24IDEZQ.mjs} +18 -17
  87. package/dist/{collection-edit-RD6BDDDI.mjs → collection-edit-WM57WXJ2.mjs} +2 -2
  88. package/dist/{collection-list-BJ3VNZAA.mjs → collection-list-GD2IJYOP.mjs} +19 -18
  89. package/dist/{collection-metadata-R3DI65D3.mjs → collection-metadata-Z2JMXTHW.mjs} +14 -13
  90. package/dist/{customer-create-address-TPSDYZBN.mjs → customer-create-address-JOYBIPPN.mjs} +1 -1
  91. package/dist/{customer-detail-G7G6PYOO.mjs → customer-detail-E7LPLLML.mjs} +18 -17
  92. package/dist/{customer-group-add-customers-ULPWTALS.mjs → customer-group-add-customers-YF2T323Z.mjs} +3 -2
  93. package/dist/{customer-group-detail-XQ32DPQ3.mjs → customer-group-detail-5ZWHOJOD.mjs} +17 -16
  94. package/dist/{customer-group-list-CARES5CM.mjs → customer-group-list-N22GDJVL.mjs} +16 -15
  95. package/dist/{customer-group-metadata-UPAPULMF.mjs → customer-group-metadata-YQCOIVQG.mjs} +2 -1
  96. package/dist/{customer-list-SINCBCOZ.mjs → customer-list-5IWEXYSW.mjs} +5 -4
  97. package/dist/{customer-metadata-5NPUMPZ2.mjs → customer-metadata-JZEJBH4V.mjs} +2 -1
  98. package/dist/{customers-add-customer-group-NLPVKARS.mjs → customers-add-customer-group-LFEUVS5G.mjs} +15 -14
  99. package/dist/{edit-inventory-item-ZPE4MMC4.mjs → edit-inventory-item-UV2Z7SYL.mjs} +1 -1
  100. package/dist/{edit-inventory-item-attributes-KT7BSPZ7.mjs → edit-inventory-item-attributes-BRC3KBYT.mjs} +2 -2
  101. package/dist/{edit-reservation-EKH4RIAX.mjs → edit-reservation-NYGQBFBO.mjs} +7 -2
  102. package/dist/{edit-rules-JRLCVE26.mjs → edit-rules-BCGRJ4FJ.mjs} +15 -14
  103. package/dist/{inventory-create-ZC6HV2FY.mjs → inventory-create-OPYAZF3M.mjs} +20 -15
  104. package/dist/{inventory-detail-WVI4FTTH.mjs → inventory-detail-PAVP7J2W.mjs} +26 -19
  105. package/dist/{inventory-list-YMYF7QVP.mjs → inventory-list-J5VZGQ2M.mjs} +6 -5
  106. package/dist/{inventory-metadata-BLIJBNQS.mjs → inventory-metadata-PMQLZCHW.mjs} +14 -13
  107. package/dist/{inventory-stock-ZCTXWRK6.mjs → inventory-stock-7QXMAX45.mjs} +15 -14
  108. package/dist/{location-create-LUP363ZB.mjs → location-create-22H74MFP.mjs} +1 -1
  109. package/dist/{location-detail-GV3POY4C.mjs → location-detail-IXHZ7DZS.mjs} +15 -14
  110. package/dist/{location-edit-26K26G23.mjs → location-edit-X6JBEWIF.mjs} +2 -2
  111. package/dist/{location-fulfillment-providers-INUQXJYU.mjs → location-fulfillment-providers-3KPC4HQT.mjs} +17 -16
  112. package/dist/location-list-VNEYHAKV.mjs +323 -0
  113. package/dist/{location-sales-channels-2BOIPBBG.mjs → location-sales-channels-66ZE3ZMI.mjs} +5 -4
  114. package/dist/{location-service-zone-create-RPFLBVV4.mjs → location-service-zone-create-D5QSFS3M.mjs} +4 -3
  115. package/dist/{location-service-zone-manage-areas-VEUUGPKF.mjs → location-service-zone-manage-areas-HKCALG4Q.mjs} +4 -3
  116. package/dist/{location-service-zone-shipping-option-create-6KO3QDMQ.mjs → location-service-zone-shipping-option-create-PVQ66CXW.mjs} +24 -16
  117. package/dist/{location-service-zone-shipping-option-edit-TMXNX4VX.mjs → location-service-zone-shipping-option-edit-JYM6GHTA.mjs} +40 -28
  118. package/dist/{location-service-zone-shipping-option-pricing-U2SDK5DE.mjs → location-service-zone-shipping-option-pricing-FLB63UKY.mjs} +3 -2
  119. package/dist/{login-57FIKGXA.mjs → login-DVYOEF5F.mjs} +12 -12
  120. package/dist/manage-locations-RPHTPGRE.mjs +247 -0
  121. package/dist/{order-allocate-items-J3ZHGC22.mjs → order-allocate-items-2RYXQRVK.mjs} +26 -14
  122. package/dist/{order-create-claim-LXKBCAWN.mjs → order-create-claim-FK4LIPAE.mjs} +21 -19
  123. package/dist/{order-create-edit-264PTIEI.mjs → order-create-edit-VGIWYKBB.mjs} +19 -17
  124. package/dist/{order-create-exchange-ZMUVPYM3.mjs → order-create-exchange-BMRCMN5G.mjs} +21 -19
  125. package/dist/{order-create-fulfillment-LE6O3SA5.mjs → order-create-fulfillment-NLGPRK4J.mjs} +20 -13
  126. package/dist/{order-create-refund-B7BO2EJL.mjs → order-create-refund-TEMK6IEQ.mjs} +51 -15
  127. package/dist/{order-create-return-GVA6M2RY.mjs → order-create-return-6FHAU3OZ.mjs} +11 -9
  128. package/dist/{order-create-shipment-UOPCS5N7.mjs → order-create-shipment-WCEZXWM6.mjs} +14 -12
  129. package/dist/{order-detail-SG7AXBRS.mjs → order-detail-QABTBPGX.mjs} +50 -41
  130. package/dist/{order-edit-billing-address-RPPJ4Z36.mjs → order-edit-billing-address-MWF3L6GK.mjs} +13 -13
  131. package/dist/{order-edit-email-A7D5HTU6.mjs → order-edit-email-UDJOGYPP.mjs} +12 -12
  132. package/dist/{order-edit-shipping-address-LXKC5CJE.mjs → order-edit-shipping-address-O46U65WM.mjs} +13 -13
  133. package/dist/{order-list-ZCMNSZYB.mjs → order-list-VDUUHTSU.mjs} +11 -10
  134. package/dist/{order-metadata-KS47UOEE.mjs → order-metadata-SHCFZWCA.mjs} +14 -13
  135. package/dist/{order-receive-return-PDU2YVLT.mjs → order-receive-return-MC4DIRK3.mjs} +15 -14
  136. package/dist/{order-request-transfer-WMQKDLDF.mjs → order-request-transfer-MELQKMC4.mjs} +13 -13
  137. package/dist/{price-list-configuration-435QDWB2.mjs → price-list-configuration-VACKCKJF.mjs} +6 -5
  138. package/dist/{price-list-create-QZSB4W5Z.mjs → price-list-create-TZUDGP2J.mjs} +40 -25
  139. package/dist/{price-list-detail-2FMINPFT.mjs → price-list-detail-DX74DH6G.mjs} +19 -18
  140. package/dist/{price-list-edit-ZGBOZYSC.mjs → price-list-edit-G73ZIU2Y.mjs} +51 -31
  141. package/dist/{price-list-list-C6NEB2R4.mjs → price-list-list-QYZSJNF5.mjs} +8 -7
  142. package/dist/{price-list-prices-add-WYK2QBAI.mjs → price-list-prices-add-IHMS7HIH.mjs} +29 -21
  143. package/dist/{price-list-prices-edit-ENB4GJZT.mjs → price-list-prices-edit-R53ITSDD.mjs} +5 -4
  144. package/dist/{product-attributes-KDXI2RNP.mjs → product-attributes-AULEVQ5C.mjs} +20 -18
  145. package/dist/{product-create-TVYPK4VC.mjs → product-create-2RPJZR2Q.mjs} +28 -22
  146. package/dist/{product-create-option-3JR35UZ5.mjs → product-create-option-OW2LMVST.mjs} +1 -1
  147. package/dist/{product-create-variant-6YWLDA2X.mjs → product-create-variant-NKU6J7NG.mjs} +32 -19
  148. package/dist/{product-detail-RFKXMYE5.mjs → product-detail-NNTUGXU5.mjs} +22 -20
  149. package/dist/{product-edit-5FNY7HG4.mjs → product-edit-6WRMNGPM.mjs} +42 -29
  150. package/dist/{product-edit-option-VNDGZ37A.mjs → product-edit-option-OM56DLU6.mjs} +1 -1
  151. package/dist/{product-export-BEAUMFAZ.mjs → product-export-W6KP2RGO.mjs} +14 -14
  152. package/dist/{product-import-SOX4UJPM.mjs → product-import-P76MITMC.mjs} +15 -14
  153. package/dist/{product-list-ZVXATJRE.mjs → product-list-7H64APWI.mjs} +20 -19
  154. package/dist/{product-media-JPU23SPH.mjs → product-media-TRKQTA4G.mjs} +5 -5
  155. package/dist/{product-metadata-QRRCHZZB.mjs → product-metadata-2G6DWHWG.mjs} +14 -13
  156. package/dist/{product-organization-QTWB7VMB.mjs → product-organization-43YS5OUI.mjs} +21 -19
  157. package/dist/{product-prices-PCBMYYGV.mjs → product-prices-XLY5TUSJ.mjs} +3 -2
  158. package/dist/{product-sales-channels-UGPAXFAV.mjs → product-sales-channels-KSIHPDJG.mjs} +5 -4
  159. package/dist/{product-shipping-profile-Q6UX6ZNJ.mjs → product-shipping-profile-SFU2PVR4.mjs} +20 -18
  160. package/dist/{product-stock-TSAIHVY6.mjs → product-stock-GAWLELSE.mjs} +17 -15
  161. package/dist/{product-tag-create-5NZJS2D2.mjs → product-tag-create-FVU5JRL3.mjs} +12 -12
  162. package/dist/{product-tag-detail-3XHUROBO.mjs → product-tag-detail-VMVPWMZK.mjs} +22 -21
  163. package/dist/{product-tag-edit-YYOOHKGG.mjs → product-tag-edit-OWI3OFVF.mjs} +12 -12
  164. package/dist/{product-tag-list-5XTTMNOA.mjs → product-tag-list-YPIZII2D.mjs} +22 -21
  165. package/dist/{product-tag-metadata-YAD3MPWF.mjs → product-tag-metadata-B4YBSHOH.mjs} +14 -13
  166. package/dist/{product-type-detail-MNTAHQKJ.mjs → product-type-detail-243HFRBD.mjs} +18 -17
  167. package/dist/{product-type-list-6ZIWPIUH.mjs → product-type-list-MJLAGQYC.mjs} +5 -4
  168. package/dist/{product-type-metadata-HWR3WBGT.mjs → product-type-metadata-4YE4UEOF.mjs} +14 -13
  169. package/dist/{product-variant-detail-DKFAG3KO.mjs → product-variant-detail-LJE3IFNE.mjs} +17 -16
  170. package/dist/{product-variant-edit-EZENYVAN.mjs → product-variant-edit-IGJIWVQQ.mjs} +18 -14
  171. package/dist/{product-variant-manage-inventory-items-TM3VAHBJ.mjs → product-variant-manage-inventory-items-2M2KTPNK.mjs} +2 -2
  172. package/dist/{product-variant-metadata-S7QENSUG.mjs → product-variant-metadata-F6BGFMMS.mjs} +14 -13
  173. package/dist/{profile-detail-ROG22HHL.mjs → profile-detail-XYAQ2G36.mjs} +3 -2
  174. package/dist/{profile-edit-HSUQIQQH.mjs → profile-edit-7WD4FTRH.mjs} +31 -19
  175. package/dist/{promotion-add-campaign-7R26KU2U.mjs → promotion-add-campaign-YREHV6TQ.mjs} +9 -21
  176. package/dist/{promotion-create-O3KUSPIU.mjs → promotion-create-YGHBTAFC.mjs} +30 -18
  177. package/dist/{promotion-detail-5DU6ULJG.mjs → promotion-detail-BIC23HFR.mjs} +127 -77
  178. package/dist/{promotion-edit-details-HQLYX4X4.mjs → promotion-edit-details-A2UUSAZA.mjs} +10 -2
  179. package/dist/{promotion-list-Q2FOGORE.mjs → promotion-list-WDHOSD55.mjs} +9 -8
  180. package/dist/{refund-reason-create-NSZFGXWI.mjs → refund-reason-create-YCWLRRBW.mjs} +12 -12
  181. package/dist/{refund-reason-edit-RKUSPQCL.mjs → refund-reason-edit-E2HDAQZI.mjs} +1 -1
  182. package/dist/{refund-reason-list-2F5PFERT.mjs → refund-reason-list-7GANH7KL.mjs} +107 -134
  183. package/dist/{region-add-countries-Y4YAHDUZ.mjs → region-add-countries-6GSF4CKJ.mjs} +3 -2
  184. package/dist/{region-create-5Y3GIQBV.mjs → region-create-AFZTSM3N.mjs} +34 -18
  185. package/dist/{region-detail-CWRFM6P3.mjs → region-detail-PB7EUSTD.mjs} +5 -4
  186. package/dist/{region-edit-JWQWCLM3.mjs → region-edit-DSYIUI7W.mjs} +25 -9
  187. package/dist/{region-list-FQNI7F37.mjs → region-list-52LF5S4S.mjs} +5 -4
  188. package/dist/{region-metadata-G3JH5ZN6.mjs → region-metadata-L5K6YENH.mjs} +14 -13
  189. package/dist/{reservation-create-7RFXWDXB.mjs → reservation-create-FV7QXGL3.mjs} +3 -3
  190. package/dist/{reservation-detail-PJXS67UM.mjs → reservation-detail-USDAVGWH.mjs} +16 -15
  191. package/dist/{reservation-list-UOC7RNRZ.mjs → reservation-list-NOWJUMXV.mjs} +7 -6
  192. package/dist/{reservation-metadata-UCKQB66O.mjs → reservation-metadata-47C6RWYS.mjs} +14 -13
  193. package/dist/{reset-password-5KIEBJHN.mjs → reset-password-LCVV4NOA.mjs} +1 -1
  194. package/dist/{return-reason-list-OGFYWMC5.mjs → return-reason-list-FW7OYUOW.mjs} +7 -6
  195. package/dist/{sales-channel-add-products-CSMNFGHD.mjs → sales-channel-add-products-NGPN4IRB.mjs} +16 -15
  196. package/dist/{sales-channel-create-3MPOMVPD.mjs → sales-channel-create-NODWGJDD.mjs} +4 -2
  197. package/dist/{sales-channel-detail-ZSA3HNWW.mjs → sales-channel-detail-IWWRX2Y3.mjs} +18 -17
  198. package/dist/{sales-channel-edit-LSLAM7A4.mjs → sales-channel-edit-ALIRERVH.mjs} +4 -2
  199. package/dist/{sales-channel-list-X5ADP34V.mjs → sales-channel-list-LCPDOQK3.mjs} +16 -15
  200. package/dist/{sales-channel-metadata-ABWIDI3B.mjs → sales-channel-metadata-VZ4TINYG.mjs} +14 -13
  201. package/dist/{shipping-option-type-create-Q2X5OMJS.mjs → shipping-option-type-create-NOMFII5B.mjs} +12 -12
  202. package/dist/{shipping-option-type-detail-VT3Y5QQ4.mjs → shipping-option-type-detail-6XIJRVZ5.mjs} +16 -15
  203. package/dist/{shipping-option-type-edit-IA3EER2N.mjs → shipping-option-type-edit-PEDYL6JQ.mjs} +12 -12
  204. package/dist/{shipping-option-type-list-JZPKAL3H.mjs → shipping-option-type-list-GI5GBLIS.mjs} +18 -17
  205. package/dist/{shipping-profile-detail-FDUPDSH4.mjs → shipping-profile-detail-FS46IJZP.mjs} +3 -2
  206. package/dist/{shipping-profile-metadata-EYXBWBF2.mjs → shipping-profile-metadata-ZOR7MQFF.mjs} +14 -13
  207. package/dist/{shipping-profiles-list-ZHJEUIKJ.mjs → shipping-profiles-list-QFOG5IDH.mjs} +5 -4
  208. package/dist/{store-add-currencies-R26SVHT5.mjs → store-add-currencies-W4MWOALR.mjs} +5 -2
  209. package/dist/{store-detail-LI72QMUZ.mjs → store-detail-MZAKRCTC.mjs} +17 -16
  210. package/dist/{store-edit-EU55TNFU.mjs → store-edit-3DU5MC25.mjs} +24 -12
  211. package/dist/{store-metadata-ZITLAS5H.mjs → store-metadata-GO4TXB3W.mjs} +14 -13
  212. package/dist/{tax-region-create-IU2R5VIY.mjs → tax-region-create-KDCNQGPC.mjs} +15 -15
  213. package/dist/{tax-region-detail-6FHD35LB.mjs → tax-region-detail-O6U6ZVDB.mjs} +19 -18
  214. package/dist/{tax-region-edit-O2WJXYIE.mjs → tax-region-edit-T4B5DM55.mjs} +13 -13
  215. package/dist/{tax-region-list-NMM3LBPN.mjs → tax-region-list-SQQE2GUU.mjs} +6 -5
  216. package/dist/{tax-region-province-create-GIIU2G7K.mjs → tax-region-province-create-SBRFGWN3.mjs} +2 -2
  217. package/dist/{tax-region-province-detail-YDBU4CUU.mjs → tax-region-province-detail-XH45ZAOJ.mjs} +18 -17
  218. package/dist/{tax-region-tax-override-create-EF3LLZWM.mjs → tax-region-tax-override-create-MSL7HEM6.mjs} +25 -20
  219. package/dist/{tax-region-tax-override-edit-2DG3J6CO.mjs → tax-region-tax-override-edit-AO6CYS62.mjs} +25 -20
  220. package/dist/{tax-region-tax-rate-create-Z43M3JTQ.mjs → tax-region-tax-rate-create-JIV5FXUD.mjs} +1 -1
  221. package/dist/{tax-region-tax-rate-edit-RBF5D2MK.mjs → tax-region-tax-rate-edit-WU2ZQLZQ.mjs} +1 -1
  222. package/dist/{user-detail-VIVFFLOW.mjs → user-detail-ZFW3YF3M.mjs} +4 -3
  223. package/dist/{user-invite-W26LOOW7.mjs → user-invite-KUH4AI2L.mjs} +4 -3
  224. package/dist/{user-list-3YFYZFSK.mjs → user-list-G4H2RSDX.mjs} +4 -3
  225. package/dist/{user-metadata-QUIFIM5G.mjs → user-metadata-2CR2AK3U.mjs} +14 -13
  226. package/dist/{workflow-execution-detail-PVSQ2VGE.mjs → workflow-execution-detail-ZD7OVL4W.mjs} +18 -14
  227. package/dist/{workflow-execution-list-5J3DQQRD.mjs → workflow-execution-list-5WL4L464.mjs} +4 -3
  228. package/package.json +9 -9
  229. package/src/components/common/action-menu/action-menu.tsx +3 -1
  230. package/src/components/common/customer-info/customer-info.tsx +1 -1
  231. package/src/components/common/json-view-section/json-view-section.tsx +4 -1
  232. package/src/components/common/sidebar-link/sidebar-link.tsx +1 -1
  233. package/src/components/common/switch-box/switch-box.tsx +2 -0
  234. package/src/components/data-grid/components/data-grid-root.tsx +9 -3
  235. package/src/components/data-grid/components/data-grid-toggleable-number-cell.tsx +2 -1
  236. package/src/components/data-table/data-table.tsx +64 -46
  237. package/src/components/filtering/filter-group/filter-group.tsx +5 -1
  238. package/src/components/filtering/order-by/order-by.tsx +4 -1
  239. package/src/components/forms/address-form/address-form.tsx +7 -2
  240. package/src/components/forms/metadata-form/metadata-form.tsx +6 -3
  241. package/src/components/inputs/combobox/combobox.tsx +11 -11
  242. package/src/components/inputs/country-select/country-select.tsx +1 -1
  243. package/src/components/inputs/province-select/province-select.tsx +1 -1
  244. package/src/components/layout/main-layout/main-layout.tsx +7 -5
  245. package/src/components/layout/shell/shell.tsx +6 -6
  246. package/src/components/layout/user-menu/user-menu.tsx +12 -10
  247. package/src/components/search/search.tsx +5 -3
  248. package/src/components/table/data-table/data-table-order-by/data-table-order-by.tsx +4 -1
  249. package/src/components/table/data-table/data-table-root/data-table-root.tsx +3 -3
  250. package/src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx +1 -1
  251. package/src/hooks/api/campaigns.tsx +1 -0
  252. package/src/hooks/api/inventory.tsx +3 -0
  253. package/src/hooks/api/refund-reasons.tsx +7 -16
  254. package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +20 -16
  255. package/src/hooks/use-document-direction.tsx +54 -0
  256. package/src/i18n/translations/$schema.json +27 -2
  257. package/src/i18n/translations/en.json +10 -4
  258. package/src/providers/i18n-provider/i18n-provider.tsx +9 -4
  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 +4 -1
  261. package/src/routes/categories/category-create/components/create-category-form/create-category-details.tsx +12 -3
  262. package/src/routes/categories/category-create/components/create-category-form/create-category-form.tsx +4 -3
  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 +12 -3
  265. package/src/routes/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx +3 -1
  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 +7 -0
  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/location-search-input.tsx +34 -0
  270. package/src/routes/inventory/inventory-detail/components/manage-locations/components/manage-locations-form.tsx +127 -140
  271. package/src/routes/locations/location-edit/components/edit-location-form/edit-location-form.tsx +1 -1
  272. package/src/routes/locations/location-list/index.ts +0 -1
  273. package/src/routes/locations/location-list/location-list.tsx +52 -14
  274. package/src/routes/locations/location-list/use-location-list-table-columns.tsx +185 -0
  275. package/src/routes/locations/location-list/use-location-list-table-query.tsx +22 -0
  276. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +4 -1
  277. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +3 -1
  278. package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +7 -2
  279. package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +7 -2
  280. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +2 -1
  281. package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-create-form.tsx +2 -1
  282. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +2 -1
  283. package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +5 -1
  284. package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +42 -1
  285. package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +2 -1
  286. package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +2 -0
  287. package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +13 -5
  288. package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +2 -1
  289. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-create-form.tsx +3 -1
  290. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-details-form.tsx +8 -2
  291. package/src/routes/price-lists/price-list-edit/components/price-list-edit-form/edit-price-list-form.tsx +12 -3
  292. package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-form.tsx +10 -5
  293. package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +4 -0
  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 +3 -1
  296. package/src/routes/products/product-create-variant/components/create-product-variant-form/create-product-variant-form.tsx +10 -5
  297. package/src/routes/products/product-create-variant/components/create-product-variant-form/details-tab.tsx +6 -1
  298. package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +7 -2
  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 +2 -1
  301. package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +9 -3
  302. package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +4 -0
  303. package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +48 -49
  304. package/src/routes/promotions/promotion-add-campaign/promotion-add-campaign.tsx +4 -21
  305. package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +12 -3
  306. package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +6 -1
  307. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +85 -78
  308. package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +11 -2
  309. package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +11 -2
  310. package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +3 -1
  311. package/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/create-sales-channel-form.tsx +2 -0
  312. package/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/edit-sales-channel-form.tsx +2 -0
  313. package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +2 -0
  314. package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +7 -2
  315. package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +3 -1
  316. 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
  317. package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +3 -2
  318. package/dist/chunk-BKJC5BGQ.mjs +0 -53
  319. package/dist/location-list-BKK2PAKF.mjs +0 -297
  320. package/dist/manage-locations-3TBIUSHP.mjs +0 -236
  321. package/src/routes/locations/location-list/components/location-list-header/index.ts +0 -1
  322. package/src/routes/locations/location-list/components/location-list-header/location-list-header.tsx +0 -21
  323. package/src/routes/locations/location-list/loader.ts +0 -36
  324. package/src/routes/refund-reasons/common/hooks/use-delete-refund-reason-action.tsx +0 -34
@@ -2,6 +2,9 @@ import {
2
2
  currencies,
3
3
  getCurrencySymbol
4
4
  } from "./chunk-DK4WIVY6.mjs";
5
+ import {
6
+ useDocumentDirection
7
+ } from "./chunk-S4DMV3ZT.mjs";
5
8
  import {
6
9
  Form
7
10
  } from "./chunk-OBQI23QM.mjs";
@@ -27,6 +30,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
27
30
  var CreateCampaignFormFields = ({ form, fieldScope = "" }) => {
28
31
  const { t } = useTranslation();
29
32
  const { store } = useStore();
33
+ const direction = useDocumentDirection();
30
34
  const watchValueType = useWatch({
31
35
  control: form.control,
32
36
  name: `${fieldScope}budget.type`
@@ -172,6 +176,7 @@ var CreateCampaignFormFields = ({ form, fieldScope = "" }) => {
172
176
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
173
177
  RadioGroup,
174
178
  {
179
+ dir: direction,
175
180
  className: "flex gap-y-3",
176
181
  ...field,
177
182
  onValueChange: field.onChange,
@@ -219,6 +224,7 @@ var CreateCampaignFormFields = ({ form, fieldScope = "" }) => {
219
224
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
220
225
  Select,
221
226
  {
227
+ dir: direction,
222
228
  ...field,
223
229
  onValueChange: onChange,
224
230
  disabled: !!fieldScope.length,
@@ -8802,6 +8802,7 @@ var en_default = {
8802
8802
  noSearchResultsFor: "No search results for <0>'{{query}}'</0>",
8803
8803
  noRecordsTitle: "No records",
8804
8804
  noRecordsMessage: "There are no records to show",
8805
+ noRecordsMessageFiltered: "There are no records to show matching the filters",
8805
8806
  unsavedChangesTitle: "Are you sure you want to leave this form?",
8806
8807
  unsavedChangesDescription: "You have unsaved changes that will be lost if you exit this form.",
8807
8808
  includesTaxTooltip: "Prices in this column are tax inclusive.",
@@ -9581,6 +9582,7 @@ var en_default = {
9581
9582
  deleteWarning: "You are about to delete an inventory item. This action cannot be undone.",
9582
9583
  editItemDetails: "Edit item details",
9583
9584
  quantityAcrossLocations: "{{quantity}} across {{locations}} locations",
9585
+ levelDeleted: "Inventory level deleted successfully.",
9584
9586
  create: {
9585
9587
  title: "Create Inventory Item",
9586
9588
  details: "Details",
@@ -10284,7 +10286,10 @@ var en_default = {
10284
10286
  stockLocations: {
10285
10287
  domain: "Locations & Shipping",
10286
10288
  list: {
10287
- description: "Manage your store's stock locations and shipping options."
10289
+ description: "Manage your store's stock locations and shipping options.",
10290
+ noRecordsMessage: "No records",
10291
+ noRecordsMessageEmpty: "No locations found",
10292
+ noRecordsMessageFiltered: "No locations found matching the filters"
10288
10293
  },
10289
10294
  create: {
10290
10295
  header: "Create Stock Location",
@@ -10297,7 +10302,8 @@ var en_default = {
10297
10302
  successToast: "Location {{name}} was successfully updated."
10298
10303
  },
10299
10304
  delete: {
10300
- confirmation: 'You are about to delete the stock location "{{name}}". This action cannot be undone.'
10305
+ confirmation: 'You are about to delete the stock location "{{name}}". This action cannot be undone.',
10306
+ successToast: 'Location "{{name}}" was successfully deleted.'
10301
10307
  },
10302
10308
  fulfillmentProviders: {
10303
10309
  header: "Fulfillment Providers",
@@ -10979,7 +10985,7 @@ var en_default = {
10979
10985
  total_used: "Budget used",
10980
10986
  budget_limit: "Budget limit",
10981
10987
  campaign_id: {
10982
- hint: "Only campaigns with the same currency code as the promotion are shown in this list."
10988
+ hint: "Disabled campaigns have budget in a different currency than the promotion."
10983
10989
  }
10984
10990
  },
10985
10991
  budget: {
@@ -11492,7 +11498,7 @@ var en_default = {
11492
11498
  },
11493
11499
  refundReasons: {
11494
11500
  domain: "Refund Reasons",
11495
- subtitle: "Manage reasons for refunded items.",
11501
+ subtitle: "Manage reasons for issuing refunds.",
11496
11502
  calloutHint: "Manage the reasons to categorize refunds.",
11497
11503
  editReason: "Edit Refund Reason",
11498
11504
  create: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-KSRI5LOF.mjs";
3
+ } from "./chunk-U25RCIX2.mjs";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-FXYH54JP.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-KSRI5LOF.mjs";
3
+ } from "./chunk-U25RCIX2.mjs";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-FXYH54JP.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-YEDAFXMB.mjs";
4
4
  import {
5
5
  DataTableOrderBy
6
- } from "./chunk-AOFGTNG6.mjs";
6
+ } from "./chunk-HQKGZADC.mjs";
7
7
  import {
8
8
  NoRecords,
9
9
  NoResults
@@ -190,7 +190,7 @@ var DataTableRoot = ({
190
190
  Table.Cell,
191
191
  {
192
192
  className: clx({
193
- "!pl-0 !pr-0": shouldRenderAsLink,
193
+ "!ps-0 !pe-0": shouldRenderAsLink,
194
194
  "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-['']": isStickyCell,
195
195
  "bg-ui-bg-subtle group-hover/row:bg-ui-bg-subtle-hover": isOdd && isStickyCell,
196
196
  "left-[68px]": hasLeftOffset,
@@ -211,9 +211,9 @@ var DataTableRoot = ({
211
211
  "div",
212
212
  {
213
213
  className: clx(
214
- "flex size-full items-center pr-6",
214
+ "flex size-full items-center pe-6",
215
215
  {
216
- "pl-6": isTabableLink && !hasLeftOffset
216
+ "ps-6": isTabableLink && !hasLeftOffset
217
217
  }
218
218
  ),
219
219
  children: Inner
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-X4X5KUGQ.mjs";
3
+ } from "./chunk-4QUHWHBD.mjs";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-FXYH54JP.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  useCombinedRefs,
4
4
  useDataGridCell,
5
5
  useDataGridCellError
6
- } from "./chunk-UWJBDOQD.mjs";
6
+ } from "./chunk-NKVMOKZA.mjs";
7
7
  import {
8
8
  ConditionalTooltip
9
9
  } from "./chunk-OC7BQLYI.mjs";
@@ -93,9 +93,10 @@ var OuterComponent = ({
93
93
  children: /* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 left-4 z-[3] flex w-fit items-center justify-center", children: /* @__PURE__ */ jsx(
94
94
  Switch,
95
95
  {
96
+ dir: "ltr",
96
97
  ref: buttonRef,
97
98
  size: "small",
98
- className: "shrink-0",
99
+ className: "shrink-0 rtl:rotate-180",
99
100
  checked: localValue.checked,
100
101
  disabled: localValue.disabledToggle,
101
102
  onCheckedChange: handleCheckedChange
@@ -1,6 +1,12 @@
1
1
  import {
2
2
  CreateCampaignFormFields
3
- } from "./chunk-J5E7MQSS.mjs";
3
+ } from "./chunk-CY33DS7K.mjs";
4
+ import {
5
+ useComboboxData
6
+ } from "./chunk-HFB3OQXI.mjs";
7
+ import {
8
+ Combobox
9
+ } from "./chunk-CD7VQIPA.mjs";
4
10
  import {
5
11
  KeyboundForm
6
12
  } from "./chunk-6HTZNHPT.mjs";
@@ -8,19 +14,26 @@ import {
8
14
  RouteDrawer,
9
15
  useRouteModal
10
16
  } from "./chunk-4TC5YS65.mjs";
17
+ import {
18
+ useDocumentDirection
19
+ } from "./chunk-S4DMV3ZT.mjs";
11
20
  import {
12
21
  Form
13
22
  } from "./chunk-OBQI23QM.mjs";
14
23
  import {
24
+ useCampaign,
15
25
  useUpdatePromotion
16
- } from "./chunk-ZODJNBAV.mjs";
26
+ } from "./chunk-R2G2B47Y.mjs";
27
+ import {
28
+ sdk
29
+ } from "./chunk-DEQUVHHE.mjs";
17
30
 
18
31
  // src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx
19
32
  import { zodResolver } from "@hookform/resolvers/zod";
20
- import { Button, RadioGroup, Select, Text as Text2, toast } from "@medusajs/ui";
33
+ import { Button, RadioGroup, toast } from "@medusajs/ui";
21
34
  import { useEffect } from "react";
22
35
  import { useForm, useWatch } from "react-hook-form";
23
- import { Trans, useTranslation as useTranslation2 } from "react-i18next";
36
+ import { useTranslation as useTranslation2 } from "react-i18next";
24
37
  import * as zod from "zod";
25
38
 
26
39
  // src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/campaign-details.tsx
@@ -83,10 +96,11 @@ var EditPromotionSchema = zod.object({
83
96
  });
84
97
  var AddCampaignPromotionFields = ({
85
98
  form,
86
- campaigns,
87
- withNewCampaign = true
99
+ withNewCampaign = true,
100
+ promotionCurrencyCode
88
101
  }) => {
89
102
  const { t } = useTranslation2();
103
+ const direction = useDocumentDirection();
90
104
  const watchCampaignId = useWatch({
91
105
  control: form.control,
92
106
  name: "campaign_id"
@@ -95,7 +109,25 @@ var AddCampaignPromotionFields = ({
95
109
  control: form.control,
96
110
  name: "campaign_choice"
97
111
  });
98
- const selectedCampaign = campaigns.find((c) => c.id === watchCampaignId);
112
+ const campaignsCombobox = useComboboxData({
113
+ queryFn: (params) => sdk.admin.campaign.list({
114
+ ...params
115
+ }),
116
+ queryKey: ["campaigns"],
117
+ getOptions: (data) => data.campaigns.map((campaign) => ({
118
+ label: campaign.name.toUpperCase(),
119
+ value: campaign.id,
120
+ disabled: campaign.budget?.currency_code && campaign.budget?.currency_code?.toLowerCase() !== promotionCurrencyCode?.toLowerCase()
121
+ // also cannot add promotion which doesn't have currency defined to a campaign with a currency amount budget
122
+ }))
123
+ });
124
+ const { campaign: selectedCampaign } = useCampaign(
125
+ watchCampaignId,
126
+ void 0,
127
+ {
128
+ enabled: !!watchCampaignId
129
+ }
130
+ );
99
131
  return /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-y-8", children: [
100
132
  /* @__PURE__ */ jsx2(
101
133
  Form.Field,
@@ -108,6 +140,7 @@ var AddCampaignPromotionFields = ({
108
140
  /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsxs2(
109
141
  RadioGroup,
110
142
  {
143
+ dir: direction,
111
144
  className: "grid grid-cols-1 gap-3",
112
145
  ...field,
113
146
  value: field.value,
@@ -154,39 +187,20 @@ var AddCampaignPromotionFields = ({
154
187
  {
155
188
  control: form.control,
156
189
  name: "campaign_id",
157
- render: ({ field: { onChange, ref, ...field } }) => {
190
+ render: ({ field: { onChange, ...field } }) => {
158
191
  return /* @__PURE__ */ jsxs2(Form.Item, { children: [
159
- /* @__PURE__ */ jsx2(Form.Label, { children: t("promotions.form.campaign.existing.title") }),
160
- /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsxs2(Select, { onValueChange: onChange, ...field, children: [
161
- /* @__PURE__ */ jsx2(Select.Trigger, { ref, children: /* @__PURE__ */ jsx2(Select.Value, {}) }),
162
- /* @__PURE__ */ jsxs2(Select.Content, { children: [
163
- !campaigns.length && /* @__PURE__ */ jsxs2("div", { className: "flex h-[120px] flex-col items-center justify-center gap-2 p-2", children: [
164
- /* @__PURE__ */ jsx2("span", { className: "txt-small text-ui-fg-subtle font-medium", children: t(
165
- "promotions.form.campaign.existing.placeholder.title"
166
- ) }),
167
- /* @__PURE__ */ jsx2("span", { className: "txt-small text-ui-fg-muted", children: t(
168
- "promotions.form.campaign.existing.placeholder.desc"
169
- ) })
170
- ] }),
171
- campaigns.map((c) => /* @__PURE__ */ jsx2(Select.Item, { value: c.id, children: c.name?.toUpperCase() }, c.id))
172
- ] })
173
- ] }) }),
174
- /* @__PURE__ */ jsx2(
175
- Text2,
192
+ /* @__PURE__ */ jsx2(Form.Label, { tooltip: t("campaigns.fields.campaign_id.hint"), children: t("promotions.form.campaign.existing.title") }),
193
+ /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
194
+ Combobox,
176
195
  {
177
- size: "small",
178
- leading: "compact",
179
- className: "text-ui-fg-subtle",
180
- children: /* @__PURE__ */ jsx2(
181
- Trans,
182
- {
183
- t,
184
- i18nKey: "campaigns.fields.campaign_id.hint",
185
- components: [/* @__PURE__ */ jsx2("br", {}, "break")]
186
- }
187
- )
196
+ dir: direction,
197
+ options: campaignsCombobox.options,
198
+ searchValue: campaignsCombobox.searchValue,
199
+ onSearchValueChange: campaignsCombobox.onSearchValueChange,
200
+ onChange,
201
+ ...field
188
202
  }
189
- ),
203
+ ) }),
190
204
  /* @__PURE__ */ jsx2(Form.ErrorMessage, {})
191
205
  ] });
192
206
  }
@@ -197,8 +211,7 @@ var AddCampaignPromotionFields = ({
197
211
  ] });
198
212
  };
199
213
  var AddCampaignPromotionForm = ({
200
- promotion,
201
- campaigns
214
+ promotion
202
215
  }) => {
203
216
  const { t } = useTranslation2();
204
217
  const { handleSuccess } = useRouteModal();
@@ -249,8 +262,8 @@ var AddCampaignPromotionForm = ({
249
262
  AddCampaignPromotionFields,
250
263
  {
251
264
  form,
252
- campaigns,
253
- withNewCampaign: false
265
+ withNewCampaign: false,
266
+ promotionCurrencyCode: promotion.application_method?.currency_code
254
267
  }
255
268
  ) }),
256
269
  /* @__PURE__ */ jsx2(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-end gap-x-2", children: [
@@ -41,104 +41,111 @@ var JsonViewSection = ({ data }) => {
41
41
  children: /* @__PURE__ */ jsx(ArrowUpRightOnBox, {})
42
42
  }
43
43
  ) }),
44
- /* @__PURE__ */ jsxs(Drawer.Content, { className: "bg-ui-contrast-bg-base text-ui-code-fg-subtle !shadow-elevation-commandbar overflow-hidden border border-none max-md:inset-x-2 max-md:max-w-[calc(100%-16px)]", children: [
45
- /* @__PURE__ */ jsxs("div", { className: "bg-ui-code-bg-base flex items-center justify-between px-6 py-4", children: [
46
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-4", children: [
47
- /* @__PURE__ */ jsx(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { className: "text-ui-contrast-fg-primary", children: /* @__PURE__ */ jsx(
48
- Trans,
49
- {
50
- i18nKey: "json.drawer.header",
51
- count: numberOfKeys,
52
- components: [
53
- /* @__PURE__ */ jsx("span", { className: "text-ui-fg-subtle" }, "count-span")
54
- ]
55
- }
56
- ) }) }),
57
- /* @__PURE__ */ jsx(Drawer.Description, { className: "sr-only", children: t("json.drawer.description") })
58
- ] }),
59
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-2", children: [
60
- /* @__PURE__ */ jsx(Kbd, { className: "bg-ui-contrast-bg-subtle border-ui-contrast-border-base text-ui-contrast-fg-secondary", children: "esc" }),
61
- /* @__PURE__ */ jsx(Drawer.Close, { asChild: true, children: /* @__PURE__ */ jsx(
62
- IconButton,
63
- {
64
- size: "small",
65
- variant: "transparent",
66
- className: "text-ui-contrast-fg-secondary hover:text-ui-contrast-fg-primary hover:bg-ui-contrast-bg-base-hover active:bg-ui-contrast-bg-base-pressed focus-visible:bg-ui-contrast-bg-base-hover focus-visible:shadow-borders-interactive-with-active",
67
- children: /* @__PURE__ */ jsx(XMarkMini, {})
68
- }
69
- ) })
70
- ] })
71
- ] }),
72
- /* @__PURE__ */ jsx(Drawer.Body, { className: "flex flex-1 flex-col overflow-hidden px-[5px] py-0 pb-[5px]", children: /* @__PURE__ */ jsx("div", { className: "bg-ui-contrast-bg-subtle flex-1 overflow-auto rounded-b-[4px] rounded-t-lg p-3", children: /* @__PURE__ */ jsx(
73
- Suspense,
74
- {
75
- fallback: /* @__PURE__ */ jsx("div", { className: "flex size-full flex-col" }),
76
- children: /* @__PURE__ */ jsxs(
77
- Primitive,
44
+ /* @__PURE__ */ jsxs(
45
+ Drawer.Content,
46
+ {
47
+ dir: "ltr",
48
+ className: "bg-ui-contrast-bg-base text-ui-code-fg-subtle !shadow-elevation-commandbar overflow-hidden border border-none max-md:inset-x-2 max-md:max-w-[calc(100%-16px)]",
49
+ children: [
50
+ /* @__PURE__ */ jsxs("div", { className: "bg-ui-code-bg-base flex items-center justify-between px-6 py-4", children: [
51
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-4", children: [
52
+ /* @__PURE__ */ jsx(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { className: "text-ui-contrast-fg-primary", children: /* @__PURE__ */ jsx(
53
+ Trans,
54
+ {
55
+ i18nKey: "json.drawer.header",
56
+ count: numberOfKeys,
57
+ components: [
58
+ /* @__PURE__ */ jsx("span", { className: "text-ui-fg-subtle" }, "count-span")
59
+ ]
60
+ }
61
+ ) }) }),
62
+ /* @__PURE__ */ jsx(Drawer.Description, { className: "sr-only", children: t("json.drawer.description") })
63
+ ] }),
64
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-2", children: [
65
+ /* @__PURE__ */ jsx(Kbd, { className: "bg-ui-contrast-bg-subtle border-ui-contrast-border-base text-ui-contrast-fg-secondary", children: "esc" }),
66
+ /* @__PURE__ */ jsx(Drawer.Close, { asChild: true, children: /* @__PURE__ */ jsx(
67
+ IconButton,
68
+ {
69
+ size: "small",
70
+ variant: "transparent",
71
+ className: "text-ui-contrast-fg-secondary hover:text-ui-contrast-fg-primary hover:bg-ui-contrast-bg-base-hover active:bg-ui-contrast-bg-base-pressed focus-visible:bg-ui-contrast-bg-base-hover focus-visible:shadow-borders-interactive-with-active",
72
+ children: /* @__PURE__ */ jsx(XMarkMini, {})
73
+ }
74
+ ) })
75
+ ] })
76
+ ] }),
77
+ /* @__PURE__ */ jsx(Drawer.Body, { className: "flex flex-1 flex-col overflow-hidden px-[5px] py-0 pb-[5px]", children: /* @__PURE__ */ jsx("div", { className: "bg-ui-contrast-bg-subtle flex-1 overflow-auto rounded-b-[4px] rounded-t-lg p-3", children: /* @__PURE__ */ jsx(
78
+ Suspense,
78
79
  {
79
- value: data,
80
- displayDataTypes: false,
81
- style: {
82
- "--w-rjv-font-family": "Roboto Mono, monospace",
83
- "--w-rjv-line-color": "var(--contrast-border-base)",
84
- "--w-rjv-curlybraces-color": "var(--contrast-fg-secondary)",
85
- "--w-rjv-brackets-color": "var(--contrast-fg-secondary)",
86
- "--w-rjv-key-string": "var(--contrast-fg-primary)",
87
- "--w-rjv-info-color": "var(--contrast-fg-secondary)",
88
- "--w-rjv-type-string-color": "var(--tag-green-icon)",
89
- "--w-rjv-quotes-string-color": "var(--tag-green-icon)",
90
- "--w-rjv-type-boolean-color": "var(--tag-orange-icon)",
91
- "--w-rjv-type-int-color": "var(--tag-orange-icon)",
92
- "--w-rjv-type-float-color": "var(--tag-orange-icon)",
93
- "--w-rjv-type-bigint-color": "var(--tag-orange-icon)",
94
- "--w-rjv-key-number": "var(--contrast-fg-secondary)",
95
- "--w-rjv-arrow-color": "var(--contrast-fg-secondary)",
96
- "--w-rjv-copied-color": "var(--contrast-fg-secondary)",
97
- "--w-rjv-copied-success-color": "var(--contrast-fg-primary)",
98
- "--w-rjv-colon-color": "var(--contrast-fg-primary)",
99
- "--w-rjv-ellipsis-color": "var(--contrast-fg-secondary)"
100
- },
101
- collapsed: 1,
102
- children: [
103
- /* @__PURE__ */ jsx(Primitive.Quote, { render: () => /* @__PURE__ */ jsx("span", {}) }),
104
- /* @__PURE__ */ jsx(
105
- Primitive.Null,
106
- {
107
- render: () => /* @__PURE__ */ jsx("span", { className: "text-ui-tag-red-icon", children: "null" })
108
- }
109
- ),
110
- /* @__PURE__ */ jsx(
111
- Primitive.Undefined,
112
- {
113
- render: () => /* @__PURE__ */ jsx("span", { className: "text-ui-tag-blue-icon", children: "undefined" })
114
- }
115
- ),
116
- /* @__PURE__ */ jsx(
117
- Primitive.CountInfo,
118
- {
119
- render: (_props, { value }) => {
120
- return /* @__PURE__ */ jsx("span", { className: "text-ui-contrast-fg-secondary ml-2", children: t("general.items", {
121
- count: Object.keys(value).length
122
- }) });
123
- }
124
- }
125
- ),
126
- /* @__PURE__ */ jsx(Primitive.Arrow, { children: /* @__PURE__ */ jsx(TriangleDownMini, { className: "text-ui-contrast-fg-secondary -ml-[0.5px]" }) }),
127
- /* @__PURE__ */ jsx(Primitive.Colon, { children: /* @__PURE__ */ jsx("span", { className: "mr-1", children: ":" }) }),
128
- /* @__PURE__ */ jsx(
129
- Primitive.Copied,
130
- {
131
- render: ({ style }, { value }) => {
132
- return /* @__PURE__ */ jsx(Copied, { style, value });
133
- }
134
- }
135
- )
136
- ]
80
+ fallback: /* @__PURE__ */ jsx("div", { className: "flex size-full flex-col" }),
81
+ children: /* @__PURE__ */ jsxs(
82
+ Primitive,
83
+ {
84
+ value: data,
85
+ displayDataTypes: false,
86
+ style: {
87
+ "--w-rjv-font-family": "Roboto Mono, monospace",
88
+ "--w-rjv-line-color": "var(--contrast-border-base)",
89
+ "--w-rjv-curlybraces-color": "var(--contrast-fg-secondary)",
90
+ "--w-rjv-brackets-color": "var(--contrast-fg-secondary)",
91
+ "--w-rjv-key-string": "var(--contrast-fg-primary)",
92
+ "--w-rjv-info-color": "var(--contrast-fg-secondary)",
93
+ "--w-rjv-type-string-color": "var(--tag-green-icon)",
94
+ "--w-rjv-quotes-string-color": "var(--tag-green-icon)",
95
+ "--w-rjv-type-boolean-color": "var(--tag-orange-icon)",
96
+ "--w-rjv-type-int-color": "var(--tag-orange-icon)",
97
+ "--w-rjv-type-float-color": "var(--tag-orange-icon)",
98
+ "--w-rjv-type-bigint-color": "var(--tag-orange-icon)",
99
+ "--w-rjv-key-number": "var(--contrast-fg-secondary)",
100
+ "--w-rjv-arrow-color": "var(--contrast-fg-secondary)",
101
+ "--w-rjv-copied-color": "var(--contrast-fg-secondary)",
102
+ "--w-rjv-copied-success-color": "var(--contrast-fg-primary)",
103
+ "--w-rjv-colon-color": "var(--contrast-fg-primary)",
104
+ "--w-rjv-ellipsis-color": "var(--contrast-fg-secondary)"
105
+ },
106
+ collapsed: 1,
107
+ children: [
108
+ /* @__PURE__ */ jsx(Primitive.Quote, { render: () => /* @__PURE__ */ jsx("span", {}) }),
109
+ /* @__PURE__ */ jsx(
110
+ Primitive.Null,
111
+ {
112
+ render: () => /* @__PURE__ */ jsx("span", { className: "text-ui-tag-red-icon", children: "null" })
113
+ }
114
+ ),
115
+ /* @__PURE__ */ jsx(
116
+ Primitive.Undefined,
117
+ {
118
+ render: () => /* @__PURE__ */ jsx("span", { className: "text-ui-tag-blue-icon", children: "undefined" })
119
+ }
120
+ ),
121
+ /* @__PURE__ */ jsx(
122
+ Primitive.CountInfo,
123
+ {
124
+ render: (_props, { value }) => {
125
+ return /* @__PURE__ */ jsx("span", { className: "text-ui-contrast-fg-secondary ml-2", children: t("general.items", {
126
+ count: Object.keys(value).length
127
+ }) });
128
+ }
129
+ }
130
+ ),
131
+ /* @__PURE__ */ jsx(Primitive.Arrow, { children: /* @__PURE__ */ jsx(TriangleDownMini, { className: "text-ui-contrast-fg-secondary -ml-[0.5px]" }) }),
132
+ /* @__PURE__ */ jsx(Primitive.Colon, { children: /* @__PURE__ */ jsx("span", { className: "mr-1", children: ":" }) }),
133
+ /* @__PURE__ */ jsx(
134
+ Primitive.Copied,
135
+ {
136
+ render: ({ style }, { value }) => {
137
+ return /* @__PURE__ */ jsx(Copied, { style, value });
138
+ }
139
+ }
140
+ )
141
+ ]
142
+ }
143
+ )
137
144
  }
138
- )
139
- }
140
- ) }) })
141
- ] })
145
+ ) }) })
146
+ ]
147
+ }
148
+ )
142
149
  ] })
143
150
  ] });
144
151
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeleteShippingOptionType
3
- } from "./chunk-BSBCIU6C.mjs";
3
+ } from "./chunk-EILZIUOP.mjs";
4
4
 
5
5
  // src/routes/shipping-option-types/common/hooks/use-delete-shipping-option-type-action.tsx
6
6
  import { useNavigate } from "react-router-dom";
@@ -1,3 +1,7 @@
1
+ import {
2
+ useDocumentDirection
3
+ } from "./chunk-S4DMV3ZT.mjs";
4
+
1
5
  // src/components/table/data-table/data-table-order-by/data-table-order-by.tsx
2
6
  import { DescendingSorting } from "@medusajs/icons";
3
7
  import { DropdownMenu, IconButton } from "@medusajs/ui";
@@ -28,6 +32,7 @@ var DataTableOrderBy = ({
28
32
  const [state, setState] = useState(initState(searchParams, prefix));
29
33
  const param = prefix ? `${prefix}_order` : "order";
30
34
  const { t } = useTranslation();
35
+ const direction = useDocumentDirection();
31
36
  const handleDirChange = (dir) => {
32
37
  setState((prev) => ({
33
38
  ...prev,
@@ -62,7 +67,7 @@ var DataTableOrderBy = ({
62
67
  return prev;
63
68
  });
64
69
  };
65
- return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
70
+ return /* @__PURE__ */ jsxs(DropdownMenu, { dir: direction, children: [
66
71
  /* @__PURE__ */ jsx(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { size: "small", children: /* @__PURE__ */ jsx(DescendingSorting, {}) }) }),
67
72
  /* @__PURE__ */ jsxs(DropdownMenu.Content, { className: "z-[1]", align: "end", children: [
68
73
  /* @__PURE__ */ jsx(
@@ -27,7 +27,7 @@ var SidebarLink = ({
27
27
  }
28
28
  )
29
29
  ] }),
30
- /* @__PURE__ */ jsx("div", { className: "flex size-7 items-center justify-center", children: /* @__PURE__ */ jsx(TriangleRightMini, { className: "text-ui-fg-muted" }) })
30
+ /* @__PURE__ */ jsx("div", { className: "flex size-7 items-center justify-center", children: /* @__PURE__ */ jsx(TriangleRightMini, { className: "text-ui-fg-muted rtl:rotate-180" }) })
31
31
  ] }) }) }) });
32
32
  };
33
33
 
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useProductTags
3
- } from "./chunk-BSBCIU6C.mjs";
3
+ } from "./chunk-EILZIUOP.mjs";
4
4
  import {
5
5
  useProductTypes
6
6
  } from "./chunk-B4GODIOW.mjs";
7
7
  import {
8
8
  useSalesChannels
9
- } from "./chunk-4Q4LIFFO.mjs";
9
+ } from "./chunk-XP3BY6G6.mjs";
10
10
 
11
11
  // src/hooks/table/filters/use-product-table-filters.tsx
12
12
  import { useTranslation } from "react-i18next";