@medusajs/dashboard 3.0.0-snapshot-20251212142124 → 3.0.0-snapshot-20251214110905

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 (248) hide show
  1. package/dist/{add-campaign-promotions-JQKPED4U.mjs → add-campaign-promotions-PHAHMGXP.mjs} +2 -2
  2. package/dist/{adjust-inventory-2MFA656V.mjs → adjust-inventory-I5VYMAI4.mjs} +2 -2
  3. package/dist/{api-key-management-create-ZUVF3SLR.mjs → api-key-management-create-CVRFY4PL.mjs} +2 -2
  4. package/dist/{api-key-management-detail-F7ZRCFPA.mjs → api-key-management-detail-HRVP6HRC.mjs} +3 -3
  5. package/dist/{api-key-management-edit-42HNUSXL.mjs → api-key-management-edit-JMU3WEPX.mjs} +2 -2
  6. package/dist/{api-key-management-sales-channels-7FVABESO.mjs → api-key-management-sales-channels-4OU5VGIG.mjs} +2 -2
  7. package/dist/app.css +45 -0
  8. package/dist/app.js +13473 -12039
  9. package/dist/app.mjs +4 -4
  10. package/dist/{campaign-budget-edit-6DMZGUCI.mjs → campaign-budget-edit-B5MSE26J.mjs} +2 -2
  11. package/dist/{campaign-configuration-UNFRB5HR.mjs → campaign-configuration-QOE3D2BE.mjs} +2 -2
  12. package/dist/{campaign-create-QXG7PD3S.mjs → campaign-create-FJOECKGT.mjs} +3 -3
  13. package/dist/{campaign-detail-6VNSVZHQ.mjs → campaign-detail-BDI3P2SF.mjs} +3 -3
  14. package/dist/{campaign-edit-HN4US7DV.mjs → campaign-edit-K2POQH7M.mjs} +2 -2
  15. package/dist/{categories-metadata-ORPB2LIW.mjs → categories-metadata-BARTITD5.mjs} +6 -6
  16. package/dist/{category-create-FFIBWXAH.mjs → category-create-L2KJCHPO.mjs} +2 -2
  17. package/dist/{category-detail-RICXPIVS.mjs → category-detail-CUMEBNXU.mjs} +22 -7
  18. package/dist/{category-edit-74MZ6TXN.mjs → category-edit-U6SLZSAX.mjs} +2 -2
  19. package/dist/{category-list-AH2EGTI7.mjs → category-list-W7JW4PWA.mjs} +16 -1
  20. package/dist/{category-organize-B6EFBFKB.mjs → category-organize-LLSVAO3U.mjs} +2 -2
  21. package/dist/{category-products-L4XIX3IQ.mjs → category-products-GYXTDDBQ.mjs} +8 -8
  22. package/dist/{chunk-XTQ7UFA3.mjs → chunk-2HDKZN4Q.mjs} +1 -1
  23. package/dist/chunk-35LSPN2U.mjs +66 -0
  24. package/dist/{chunk-PNPT4W2F.mjs → chunk-3BJLNORD.mjs} +1 -1
  25. package/dist/{chunk-4G2UHUXX.mjs → chunk-67KHYLIQ.mjs} +9 -9
  26. package/dist/{chunk-AMOGGDOW.mjs → chunk-AIZ6W4QI.mjs} +1 -1
  27. package/dist/{chunk-EQBVGH3N.mjs → chunk-B3AOQW2B.mjs} +1 -1
  28. package/dist/{chunk-UKECZ5PA.mjs → chunk-BBTE6VKD.mjs} +3 -3
  29. package/dist/{chunk-3YPRDSZ6.mjs → chunk-BZKI5J2M.mjs} +1 -1
  30. package/dist/{chunk-25UWYEJX.mjs → chunk-CQOOXWPZ.mjs} +1 -1
  31. package/dist/{chunk-42OOM4DJ.mjs → chunk-D6UW7URG.mjs} +23 -6
  32. package/dist/{chunk-LHNU4DYZ.mjs → chunk-DS5IRNJY.mjs} +2 -2
  33. package/dist/{chunk-4VNR7DND.mjs → chunk-F5NZDW7L.mjs} +2 -2
  34. package/dist/{chunk-JJGE3EV6.mjs → chunk-F63F3FIT.mjs} +2 -2
  35. package/dist/{chunk-W7SLPIO2.mjs → chunk-FEB3ZGTL.mjs} +214 -17
  36. package/dist/{chunk-4YAPXPLM.mjs → chunk-FPBKWWSI.mjs} +1 -1
  37. package/dist/{chunk-EXDBX4YX.mjs → chunk-GC3QXC6D.mjs} +3 -3
  38. package/dist/{chunk-JUVGXLY5.mjs → chunk-HKKZJTRO.mjs} +188 -13
  39. package/dist/{chunk-EQTBJSBZ.mjs → chunk-KIIT4BNH.mjs} +3 -0
  40. package/dist/{chunk-KF7ZWW4K.mjs → chunk-LCEKY54O.mjs} +2 -2
  41. package/dist/{chunk-D4J3CEWH.mjs → chunk-N3SAXQVR.mjs} +2 -2
  42. package/dist/{chunk-Q6MSICBU.mjs → chunk-O333RR6K.mjs} +1 -1
  43. package/dist/{chunk-YV4ANEZF.mjs → chunk-PXZEQZ6Q.mjs} +1 -1
  44. package/dist/{chunk-Q4E6LV6K.mjs → chunk-Q4AXBDFH.mjs} +269 -182
  45. package/dist/{chunk-CZFLKMYE.mjs → chunk-RMDYKRWW.mjs} +4 -4
  46. package/dist/{chunk-GN6OCHP4.mjs → chunk-RU4ZS47V.mjs} +11 -1
  47. package/dist/{chunk-UM4OIJZ3.mjs → chunk-S22SJRPO.mjs} +1 -1
  48. package/dist/{chunk-HWKLNKOY.mjs → chunk-U726TGCM.mjs} +1 -1
  49. package/dist/{chunk-XXBP2Z5M.mjs → chunk-WVA4O7QS.mjs} +1 -1
  50. package/dist/{chunk-L4NOVTH5.mjs → chunk-YIOBBZUB.mjs} +2 -2
  51. package/dist/{chunk-FIFVOKTK.mjs → chunk-Z6NHG5LQ.mjs} +1 -1
  52. package/dist/{collection-add-products-MO4FGYD5.mjs → collection-add-products-4WBPS6PY.mjs} +8 -8
  53. package/dist/{collection-create-DCRW344Z.mjs → collection-create-4JX4YE47.mjs} +2 -2
  54. package/dist/{collection-detail-ZCHVPXW5.mjs → collection-detail-HT4SSV32.mjs} +22 -7
  55. package/dist/{collection-edit-UNFEW6HT.mjs → collection-edit-MXL35GQQ.mjs} +2 -2
  56. package/dist/{collection-list-3UUFO7AP.mjs → collection-list-FYONEBDN.mjs} +29 -14
  57. package/dist/{collection-metadata-ZOYQDOOT.mjs → collection-metadata-YEZ2TBRX.mjs} +6 -6
  58. package/dist/{customer-create-XCLZENJS.mjs → customer-create-IA56MXE6.mjs} +2 -2
  59. package/dist/{customer-create-address-4HZUIAM7.mjs → customer-create-address-27M25HTO.mjs} +2 -2
  60. package/dist/{customer-detail-RMZTHQIQ.mjs → customer-detail-MB7CS7OG.mjs} +6 -6
  61. package/dist/{customer-edit-BW5GVTQI.mjs → customer-edit-XQ5NWIVX.mjs} +2 -2
  62. package/dist/{customer-group-add-customers-HUGHHMU6.mjs → customer-group-add-customers-DM4VLTNB.mjs} +5 -5
  63. package/dist/{customer-group-create-6YV7W6TI.mjs → customer-group-create-RY4FVEIW.mjs} +2 -2
  64. package/dist/{customer-group-detail-4S7WB3WV.mjs → customer-group-detail-U5UAP7QS.mjs} +6 -6
  65. package/dist/{customer-group-edit-7NXU34BQ.mjs → customer-group-edit-MQWARIQZ.mjs} +2 -2
  66. package/dist/{customer-group-list-JQX6PW6E.mjs → customer-group-list-KAS6JSCQ.mjs} +3 -3
  67. package/dist/{customer-group-metadata-WK2BGEGO.mjs → customer-group-metadata-JQJRLLXG.mjs} +3 -3
  68. package/dist/{customer-metadata-ZUWCUTM7.mjs → customer-metadata-HN2DYD5I.mjs} +3 -3
  69. package/dist/{customers-add-customer-group-JKTM33OU.mjs → customers-add-customer-group-UKLSPYEU.mjs} +8 -8
  70. package/dist/{edit-inventory-item-Y5W6VTHJ.mjs → edit-inventory-item-RATTNP2Y.mjs} +2 -2
  71. package/dist/{edit-inventory-item-attributes-NAAZDFEJ.mjs → edit-inventory-item-attributes-JHH5GSNL.mjs} +2 -2
  72. package/dist/{edit-reservation-2UD4RZJX.mjs → edit-reservation-UZCSNLHY.mjs} +2 -2
  73. package/dist/{edit-rules-AXG2NQNS.mjs → edit-rules-VMEHCXYQ.mjs} +5 -5
  74. package/dist/en.json +34 -0
  75. package/dist/{inventory-create-6SKU4TZL.mjs → inventory-create-KN72V2KK.mjs} +6 -6
  76. package/dist/{inventory-detail-LAYYI2QT.mjs → inventory-detail-7OHCFAJO.mjs} +3 -3
  77. package/dist/{inventory-metadata-Q6E6SZF3.mjs → inventory-metadata-I3IRRMLH.mjs} +6 -6
  78. package/dist/{inventory-stock-SNAWXRBE.mjs → inventory-stock-5IUICNEH.mjs} +7 -7
  79. package/dist/{invite-VKHAAF4Z.mjs → invite-FVE4ZBKB.mjs} +2 -2
  80. package/dist/{location-create-RPLEXUZR.mjs → location-create-WZ43K3W7.mjs} +2 -2
  81. package/dist/{location-detail-XXH22FLG.mjs → location-detail-3MSUGB4W.mjs} +8 -8
  82. package/dist/{location-edit-L4ISEQHX.mjs → location-edit-VCS7GVWQ.mjs} +2 -2
  83. package/dist/{location-fulfillment-providers-FSC27EK7.mjs → location-fulfillment-providers-ZVZMLCIC.mjs} +6 -6
  84. package/dist/{location-list-Z42ZYHUF.mjs → location-list-KVBA6J47.mjs} +2 -2
  85. package/dist/{location-sales-channels-YMABMECM.mjs → location-sales-channels-NKNM5TQK.mjs} +2 -2
  86. package/dist/{location-service-zone-create-NSMZCD5N.mjs → location-service-zone-create-3FWF3DG5.mjs} +3 -3
  87. package/dist/{location-service-zone-edit-6OUAFEZD.mjs → location-service-zone-edit-KHHMSPXD.mjs} +2 -2
  88. package/dist/{location-service-zone-manage-areas-SEC6LKCZ.mjs → location-service-zone-manage-areas-YFEAZUUN.mjs} +3 -3
  89. package/dist/{location-service-zone-shipping-option-create-GWNLLSM5.mjs → location-service-zone-shipping-option-create-CZWEHKVJ.mjs} +7 -7
  90. package/dist/{location-service-zone-shipping-option-edit-QS6HTWST.mjs → location-service-zone-shipping-option-edit-4CGPQ3VT.mjs} +5 -5
  91. package/dist/{location-service-zone-shipping-option-pricing-23QLNSBT.mjs → location-service-zone-shipping-option-pricing-Z5IFOLFJ.mjs} +4 -4
  92. package/dist/{login-MFUCIAT6.mjs → login-OCYZM7SI.mjs} +5 -5
  93. package/dist/{manage-locations-JD6FSBOT.mjs → manage-locations-MLNMPQ5I.mjs} +2 -2
  94. package/dist/{order-allocate-items-3DDI4V3W.mjs → order-allocate-items-VRPPVPP3.mjs} +3 -3
  95. package/dist/{order-create-claim-G7BDA7WR.mjs → order-create-claim-O3ZYTAIC.mjs} +7 -7
  96. package/dist/{order-create-edit-BXYPZRZV.mjs → order-create-edit-HUS7IRS3.mjs} +6 -6
  97. package/dist/{order-create-exchange-AGEXEKOF.mjs → order-create-exchange-TUP4NHHX.mjs} +13 -13
  98. package/dist/{order-create-fulfillment-GMLSBCEK.mjs → order-create-fulfillment-4BGDYHBB.mjs} +5 -5
  99. package/dist/{order-create-refund-BT33POIN.mjs → order-create-refund-FA5ERI7M.mjs} +5 -5
  100. package/dist/{order-create-return-QGXWSPMP.mjs → order-create-return-7GPHJ2WU.mjs} +4 -4
  101. package/dist/{order-create-shipment-ZVTOKNC4.mjs → order-create-shipment-27UBYPKT.mjs} +5 -5
  102. package/dist/{order-detail-MORQRSHL.mjs → order-detail-2J7KDTKG.mjs} +11 -11
  103. package/dist/{order-edit-billing-address-IUVC4GSZ.mjs → order-edit-billing-address-E7CD5FBQ.mjs} +5 -5
  104. package/dist/{order-edit-email-MKLJPREH.mjs → order-edit-email-ELRIQYVN.mjs} +5 -5
  105. package/dist/{order-edit-shipping-address-GFSRTDFG.mjs → order-edit-shipping-address-HVNAJUZI.mjs} +5 -5
  106. package/dist/order-export-TRMFVBFO.mjs +121 -0
  107. package/dist/{order-list-QOYJFYD5.mjs → order-list-Y4FET3XV.mjs} +38 -82
  108. package/dist/{order-metadata-BRSYOGKE.mjs → order-metadata-THARHEJC.mjs} +6 -6
  109. package/dist/{order-receive-return-NI345L43.mjs → order-receive-return-X5ASB7DL.mjs} +6 -6
  110. package/dist/{order-request-transfer-ZGGIUFRV.mjs → order-request-transfer-PKF4ULJY.mjs} +5 -5
  111. package/dist/{price-list-configuration-CWTP3Y5X.mjs → price-list-configuration-SZRY7CXO.mjs} +4 -4
  112. package/dist/{price-list-create-HDYM5ZGW.mjs → price-list-create-TYNSJDDM.mjs} +15 -15
  113. package/dist/{price-list-detail-GVGNB5AY.mjs → price-list-detail-ORYFRNB6.mjs} +6 -6
  114. package/dist/{price-list-edit-SW7YIR3Z.mjs → price-list-edit-I5QNCWJP.mjs} +2 -2
  115. package/dist/{price-list-prices-add-P4XHE3F4.mjs → price-list-prices-add-MWAUNUBF.mjs} +10 -10
  116. package/dist/{price-list-prices-edit-C6SX2TLJ.mjs → price-list-prices-edit-Z4YJ4YBY.mjs} +4 -4
  117. package/dist/{product-attributes-AXSXHPI5.mjs → product-attributes-5QW6ZEYB.mjs} +6 -6
  118. package/dist/{product-create-CAGTWFTS.mjs → product-create-YQ76CEF3.mjs} +7 -7
  119. package/dist/{product-create-option-GEGQNSMQ.mjs → product-create-option-UMZKRNTC.mjs} +2 -2
  120. package/dist/{product-create-variant-5DLZZQPL.mjs → product-create-variant-IASRY2JX.mjs} +6 -6
  121. package/dist/{product-detail-FSORFVRL.mjs → product-detail-NVLJQGGK.mjs} +51 -10
  122. package/dist/{product-edit-EYQIREZ6.mjs → product-edit-DP42G3EU.mjs} +6 -6
  123. package/dist/{product-edit-option-HBIOBQTS.mjs → product-edit-option-ZMTSLRG5.mjs} +2 -2
  124. package/dist/{product-export-4XRDDWZQ.mjs → product-export-OK5FCD42.mjs} +15 -15
  125. package/dist/{product-image-variants-edit-KCFCTXE2.mjs → product-image-variants-edit-VEWNL52X.mjs} +5 -5
  126. package/dist/{product-import-JTEXWYY7.mjs → product-import-LX625CIX.mjs} +5 -5
  127. package/dist/{product-list-T4OZG4OC.mjs → product-list-TXEPE6NL.mjs} +19 -7
  128. package/dist/{product-media-EGK66SRX.mjs → product-media-ULNJ7JJY.mjs} +2 -2
  129. package/dist/{product-metadata-5BLG4EIR.mjs → product-metadata-ZKKBE6GG.mjs} +6 -6
  130. package/dist/{product-organization-BEXN2KXC.mjs → product-organization-NMA2WJNT.mjs} +6 -6
  131. package/dist/{product-prices-WQDE4XYT.mjs → product-prices-5WCCQDS6.mjs} +3 -3
  132. package/dist/{product-sales-channels-ZICOOOKY.mjs → product-sales-channels-2PN4L7II.mjs} +2 -2
  133. package/dist/{product-shipping-profile-KIDRTPWA.mjs → product-shipping-profile-45XXB7FM.mjs} +2 -2
  134. package/dist/{product-stock-SSJVQPBZ.mjs → product-stock-KUHH6MFA.mjs} +7 -7
  135. package/dist/{product-tag-create-ZPYRJTC4.mjs → product-tag-create-7EVRE5BL.mjs} +5 -5
  136. package/dist/{product-tag-detail-VRGVJNDT.mjs → product-tag-detail-WULO55NT.mjs} +31 -16
  137. package/dist/{product-tag-edit-2KFYOID4.mjs → product-tag-edit-J4ODRLXN.mjs} +5 -5
  138. package/dist/{product-tag-list-WTX6GV7O.mjs → product-tag-list-V4CCQTL6.mjs} +31 -16
  139. package/dist/{product-tag-metadata-Y7YHTUKM.mjs → product-tag-metadata-KHDYQMSG.mjs} +6 -6
  140. package/dist/{product-type-create-HBDROTGB.mjs → product-type-create-KHSNCQCV.mjs} +2 -2
  141. package/dist/{product-type-detail-3ZLSMENL.mjs → product-type-detail-F35MUSLD.mjs} +22 -7
  142. package/dist/{product-type-edit-H3JCMVRV.mjs → product-type-edit-3LRBWZ3S.mjs} +2 -2
  143. package/dist/{product-type-list-QX7QC6RI.mjs → product-type-list-K2GULUPF.mjs} +19 -4
  144. package/dist/{product-type-metadata-GJACA4N6.mjs → product-type-metadata-CGXFFEJO.mjs} +6 -6
  145. package/dist/{product-variant-detail-L5G4CPVH.mjs → product-variant-detail-NT2MB3Z4.mjs} +19 -4
  146. package/dist/{product-variant-edit-YXALQPQT.mjs → product-variant-edit-KZ6D5CSA.mjs} +5 -5
  147. package/dist/{product-variant-manage-inventory-items-BLHCH6QD.mjs → product-variant-manage-inventory-items-OGM64KYP.mjs} +2 -2
  148. package/dist/{product-variant-media-KLSUISGH.mjs → product-variant-media-C3KCFODU.mjs} +2 -2
  149. package/dist/{product-variant-metadata-OQOE34VY.mjs → product-variant-metadata-I2PN64TH.mjs} +6 -6
  150. package/dist/{profile-edit-5EEKOEO5.mjs → profile-edit-YZCUGEXF.mjs} +2 -2
  151. package/dist/{promotion-add-campaign-JRTM7WBR.mjs → promotion-add-campaign-DO67QK6M.mjs} +3 -3
  152. package/dist/{promotion-create-OXNLKBL7.mjs → promotion-create-4KVSXYAI.mjs} +12 -12
  153. package/dist/{promotion-detail-N6VHHN3X.mjs → promotion-detail-NGNVELME.mjs} +3 -3
  154. package/dist/{promotion-edit-details-AREFQ6O5.mjs → promotion-edit-details-6BSOOWQN.mjs} +2 -2
  155. package/dist/{refund-reason-create-L36EUXXM.mjs → refund-reason-create-CTAPBK3X.mjs} +5 -5
  156. package/dist/{refund-reason-edit-364ALB4G.mjs → refund-reason-edit-B6HRNXGE.mjs} +5 -5
  157. package/dist/{refund-reason-list-ICO2GYRP.mjs → refund-reason-list-7OUHUORB.mjs} +4 -4
  158. package/dist/{region-add-countries-AFWXMQ6W.mjs → region-add-countries-7U4J5RW6.mjs} +2 -2
  159. package/dist/{region-create-YC4VZ4AS.mjs → region-create-IUGX33M5.mjs} +2 -2
  160. package/dist/{region-edit-5GO25GDF.mjs → region-edit-WAU347DP.mjs} +2 -2
  161. package/dist/{region-metadata-VNLW6NYZ.mjs → region-metadata-GRG3QSJY.mjs} +6 -6
  162. package/dist/{reservation-create-Z2SUMBGT.mjs → reservation-create-C6HTEF3R.mjs} +2 -2
  163. package/dist/{reservation-detail-YXIUIN5I.mjs → reservation-detail-KAI7N5UP.mjs} +3 -3
  164. package/dist/{reservation-metadata-7H7TYWZW.mjs → reservation-metadata-TWV7KLOB.mjs} +6 -6
  165. package/dist/{reset-password-5TAYQEUV.mjs → reset-password-Y5WVXV4Q.mjs} +2 -2
  166. package/dist/{return-reason-create-NXWDC6AC.mjs → return-reason-create-HM54WRJY.mjs} +2 -2
  167. package/dist/{return-reason-edit-M6IKNNKB.mjs → return-reason-edit-VSIRHVQ6.mjs} +2 -2
  168. package/dist/return-reason-list-IFFIDA5O.mjs +1 -1
  169. package/dist/{sales-channel-add-products-N7EPWF2N.mjs → sales-channel-add-products-CBECZU46.mjs} +8 -8
  170. package/dist/{sales-channel-create-E7BDTPWD.mjs → sales-channel-create-4XLJDVJO.mjs} +2 -2
  171. package/dist/{sales-channel-detail-DV6BKC5B.mjs → sales-channel-detail-NQSBPPIE.mjs} +6 -6
  172. package/dist/{sales-channel-edit-HMPA3Y3L.mjs → sales-channel-edit-UZGSXD5X.mjs} +2 -2
  173. package/dist/{sales-channel-list-33QC2ZXP.mjs → sales-channel-list-UYN2OCBR.mjs} +3 -3
  174. package/dist/{sales-channel-metadata-HYYQEVRZ.mjs → sales-channel-metadata-4XWXYN2E.mjs} +6 -6
  175. package/dist/{shipping-option-type-create-IXYDKBKG.mjs → shipping-option-type-create-U7PIKVMV.mjs} +5 -5
  176. package/dist/{shipping-option-type-detail-WMZ3DEY6.mjs → shipping-option-type-detail-QNZLQGI6.mjs} +4 -4
  177. package/dist/{shipping-option-type-edit-YYO3Q2QV.mjs → shipping-option-type-edit-BP6HLZ7B.mjs} +5 -5
  178. package/dist/{shipping-option-type-list-YAL6IQF2.mjs → shipping-option-type-list-L274RM6A.mjs} +4 -4
  179. package/dist/{shipping-profile-create-752TMBBE.mjs → shipping-profile-create-26R64I3Z.mjs} +2 -2
  180. package/dist/{shipping-profile-metadata-YBXPOVZF.mjs → shipping-profile-metadata-BZKPLXHO.mjs} +6 -6
  181. package/dist/{store-add-currencies-3VMLZ6KB.mjs → store-add-currencies-ZFS3WZHG.mjs} +2 -2
  182. package/dist/{store-add-locales-AYY44DB3.mjs → store-add-locales-EXR3NLOM.mjs} +4 -4
  183. package/dist/{store-detail-4YVABC3P.mjs → store-detail-T4YY5NHG.mjs} +3 -3
  184. package/dist/{store-edit-EPAHLLKP.mjs → store-edit-AB5CDUTK.mjs} +2 -2
  185. package/dist/{store-metadata-QQD2NP5U.mjs → store-metadata-FN3WZLXA.mjs} +6 -6
  186. package/dist/{tax-region-create-AFGAIC3C.mjs → tax-region-create-PWXTFE3Q.mjs} +5 -5
  187. package/dist/{tax-region-detail-LM7VIA2N.mjs → tax-region-detail-GJW63AMV.mjs} +22 -22
  188. package/dist/{tax-region-edit-ZLSY22NQ.mjs → tax-region-edit-WOUO7TPQ.mjs} +5 -5
  189. package/dist/{tax-region-list-BXZBUXRJ.mjs → tax-region-list-P4LDOPZD.mjs} +3 -3
  190. package/dist/{tax-region-province-create-5JP3PVID.mjs → tax-region-province-create-GKJ7WMRS.mjs} +2 -2
  191. package/dist/{tax-region-province-detail-ZF75A3Z2.mjs → tax-region-province-detail-FCHPIRXW.mjs} +21 -21
  192. package/dist/{tax-region-tax-override-create-JVMTMMWB.mjs → tax-region-tax-override-create-ZLWXRNLN.mjs} +16 -16
  193. package/dist/{tax-region-tax-override-edit-HS4BCVC7.mjs → tax-region-tax-override-edit-ZM2JUFNJ.mjs} +17 -17
  194. package/dist/{tax-region-tax-rate-create-O2SDSXCH.mjs → tax-region-tax-rate-create-MECFGVPL.mjs} +2 -2
  195. package/dist/{tax-region-tax-rate-edit-W62VEVKT.mjs → tax-region-tax-rate-edit-7DYSPYOD.mjs} +2 -2
  196. package/dist/translation-list-Y2GWTRGW.mjs +302 -0
  197. package/dist/translations-edit-PM4PSMRF.mjs +390 -0
  198. package/dist/{user-edit-LXQCTDGA.mjs → user-edit-ZBB4RMTP.mjs} +2 -2
  199. package/dist/{user-invite-2OKB7SCF.mjs → user-invite-XB635N26.mjs} +2 -2
  200. package/dist/{user-metadata-U3WGLABX.mjs → user-metadata-LNADHFTW.mjs} +6 -6
  201. package/dist/{workflow-execution-detail-L4IESFKA.mjs → workflow-execution-detail-POTSURJX.mjs} +4 -4
  202. package/package.json +9 -9
  203. package/src/components/common/icon-avatar/icon-avatar.tsx +4 -0
  204. package/src/components/data-grid/components/data-grid-textarea-modal-cell.tsx +233 -0
  205. package/src/components/data-grid/components/index.ts +1 -0
  206. package/src/components/data-grid/data-grid.tsx +2 -0
  207. package/src/components/layout/settings-layout/settings-layout.tsx +11 -1
  208. package/src/components/modals/route-focus-modal/route-focus-modal.tsx +8 -3
  209. package/src/components/modals/route-modal-form/route-modal-form.tsx +6 -1
  210. package/src/components/modals/route-modal-provider/route-provider.tsx +16 -4
  211. package/src/dashboard-app/routes/get-route.map.tsx +25 -0
  212. package/src/hooks/api/index.ts +1 -0
  213. package/src/hooks/api/orders.tsx +18 -1
  214. package/src/hooks/api/product-variants.tsx +7 -1
  215. package/src/hooks/api/translations.tsx +254 -0
  216. package/src/i18n/translations/$schema.json +104 -0
  217. package/src/i18n/translations/en.json +34 -0
  218. package/src/i18n/translations/es.json +22 -0
  219. package/src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx +16 -1
  220. package/src/routes/categories/category-list/components/category-list-table/category-list-table.tsx +16 -1
  221. package/src/routes/collections/collection-detail/components/collection-general-section/collection-general-section.tsx +16 -1
  222. package/src/routes/collections/collection-list/components/collection-list-table/collection-row-actions.tsx +16 -1
  223. package/src/routes/orders/order-export/components/export-filters.tsx +22 -0
  224. package/src/routes/orders/order-export/index.ts +1 -0
  225. package/src/routes/orders/order-export/order-export.tsx +66 -0
  226. package/src/routes/orders/order-list/components/order-list-table/configurable-order-list-table.tsx +14 -6
  227. package/src/routes/orders/order-list/components/order-list-table/order-list-table.tsx +8 -2
  228. package/src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx +16 -1
  229. package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx +16 -1
  230. package/src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx +16 -1
  231. package/src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx +16 -1
  232. package/src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx +16 -1
  233. package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +16 -1
  234. package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +32 -1
  235. package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +15 -1
  236. package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +68 -0
  237. package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +46 -0
  238. package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +67 -0
  239. package/src/routes/translations/translation-list/index.tsx +1 -0
  240. package/src/routes/translations/translation-list/translation-list.tsx +128 -0
  241. package/src/routes/translations/translations-edit/components/translations-edit-form/index.ts +1 -0
  242. package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +423 -0
  243. package/src/routes/translations/translations-edit/index.ts +1 -0
  244. package/src/routes/translations/translations-edit/translations-edit.tsx +67 -0
  245. package/src/routes/translations/translations-edit/utils/index.ts +1 -0
  246. package/src/routes/translations/translations-edit/utils/reference-label-map.ts +10 -0
  247. package/dist/{customer-list-ZXCGIXJC.mjs → customer-list-TG4D4QOT.mjs} +3 -3
  248. package/dist/{region-list-XQRIBDMF.mjs → region-list-JAQXIBYD.mjs} +3 -3
package/dist/app.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DashboardApp
3
- } from "./chunk-Q4E6LV6K.mjs";
3
+ } from "./chunk-Q4AXBDFH.mjs";
4
4
  import "./chunk-2SSUH2HJ.mjs";
5
5
  import "./chunk-ONB3JEHR.mjs";
6
6
  import "./chunk-YCDDT44O.mjs";
@@ -19,13 +19,13 @@ import "./chunk-OC7BQLYI.mjs";
19
19
  import "./chunk-S4DMV3ZT.mjs";
20
20
  import "./chunk-SUYYSKCB.mjs";
21
21
  import "./chunk-OBQI23QM.mjs";
22
- import "./chunk-JUVGXLY5.mjs";
22
+ import "./chunk-HKKZJTRO.mjs";
23
23
  import "./chunk-I4OBEAOJ.mjs";
24
24
  import "./chunk-HI6URQ7H.mjs";
25
25
  import "./chunk-6CLQKVAU.mjs";
26
+ import "./chunk-KI7TOXBR.mjs";
26
27
  import "./chunk-HKIF5HVL.mjs";
27
28
  import "./chunk-XIVBRONM.mjs";
28
- import "./chunk-KI7TOXBR.mjs";
29
29
  import "./chunk-WAXMT4IY.mjs";
30
30
  import "./chunk-DYDGGABK.mjs";
31
31
  import "./chunk-LGNTHZ5Y.mjs";
@@ -37,7 +37,7 @@ import "./chunk-NHDFPGQ3.mjs";
37
37
  import "./chunk-A63RZVX6.mjs";
38
38
  import "./chunk-HBXV7ENS.mjs";
39
39
  import "./chunk-CDORR33H.mjs";
40
- import "./chunk-GN6OCHP4.mjs";
40
+ import "./chunk-RU4ZS47V.mjs";
41
41
  import "./chunk-N4O5FAUC.mjs";
42
42
  import "./chunk-7AX6R6G6.mjs";
43
43
  import "./chunk-N3FCYZV6.mjs";
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-6HTZNHPT.mjs";
8
8
  import {
9
9
  RouteDrawer
10
- } from "./chunk-XXBP2Z5M.mjs";
10
+ } from "./chunk-WVA4O7QS.mjs";
11
11
  import {
12
12
  useRouteModal
13
- } from "./chunk-42OOM4DJ.mjs";
13
+ } from "./chunk-D6UW7URG.mjs";
14
14
  import {
15
15
  Form
16
16
  } from "./chunk-OBQI23QM.mjs";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-6HTZNHPT.mjs";
5
5
  import {
6
6
  RouteDrawer
7
- } from "./chunk-XXBP2Z5M.mjs";
7
+ } from "./chunk-WVA4O7QS.mjs";
8
8
  import {
9
9
  useRouteModal
10
- } from "./chunk-42OOM4DJ.mjs";
10
+ } from "./chunk-D6UW7URG.mjs";
11
11
  import {
12
12
  Form
13
13
  } from "./chunk-OBQI23QM.mjs";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CreateCampaignForm
3
- } from "./chunk-3YPRDSZ6.mjs";
3
+ } from "./chunk-BZKI5J2M.mjs";
4
4
  import "./chunk-F6ZOHZVB.mjs";
5
5
  import "./chunk-5LGRZSEH.mjs";
6
6
  import "./chunk-OFN7DIZA.mjs";
7
7
  import "./chunk-DK4WIVY6.mjs";
8
8
  import "./chunk-IUCDCPJU.mjs";
9
9
  import "./chunk-6HTZNHPT.mjs";
10
- import "./chunk-XXBP2Z5M.mjs";
10
+ import "./chunk-WVA4O7QS.mjs";
11
11
  import {
12
12
  RouteFocusModal
13
- } from "./chunk-42OOM4DJ.mjs";
13
+ } from "./chunk-D6UW7URG.mjs";
14
14
  import "./chunk-S4DMV3ZT.mjs";
15
15
  import "./chunk-OBQI23QM.mjs";
16
16
  import "./chunk-A63RZVX6.mjs";
@@ -42,13 +42,13 @@ import {
42
42
  import "./chunk-OC7BQLYI.mjs";
43
43
  import "./chunk-S4DMV3ZT.mjs";
44
44
  import "./chunk-SUYYSKCB.mjs";
45
- import "./chunk-JUVGXLY5.mjs";
45
+ import "./chunk-HKKZJTRO.mjs";
46
46
  import "./chunk-I4OBEAOJ.mjs";
47
47
  import "./chunk-HI6URQ7H.mjs";
48
48
  import "./chunk-6CLQKVAU.mjs";
49
+ import "./chunk-KI7TOXBR.mjs";
49
50
  import "./chunk-HKIF5HVL.mjs";
50
51
  import "./chunk-XIVBRONM.mjs";
51
- import "./chunk-KI7TOXBR.mjs";
52
52
  import "./chunk-WAXMT4IY.mjs";
53
53
  import "./chunk-DYDGGABK.mjs";
54
54
  import "./chunk-LGNTHZ5Y.mjs";
@@ -66,7 +66,7 @@ import {
66
66
  } from "./chunk-A63RZVX6.mjs";
67
67
  import "./chunk-HBXV7ENS.mjs";
68
68
  import "./chunk-CDORR33H.mjs";
69
- import "./chunk-GN6OCHP4.mjs";
69
+ import "./chunk-RU4ZS47V.mjs";
70
70
  import "./chunk-N4O5FAUC.mjs";
71
71
  import "./chunk-7AX6R6G6.mjs";
72
72
  import "./chunk-N3FCYZV6.mjs";
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-6HTZNHPT.mjs";
8
8
  import {
9
9
  RouteDrawer
10
- } from "./chunk-XXBP2Z5M.mjs";
10
+ } from "./chunk-WVA4O7QS.mjs";
11
11
  import {
12
12
  useRouteModal
13
- } from "./chunk-42OOM4DJ.mjs";
13
+ } from "./chunk-D6UW7URG.mjs";
14
14
  import {
15
15
  Form
16
16
  } from "./chunk-OBQI23QM.mjs";
@@ -1,24 +1,24 @@
1
1
  import "./chunk-XRTVFYCW.mjs";
2
2
  import {
3
3
  MetadataForm
4
- } from "./chunk-D4J3CEWH.mjs";
4
+ } from "./chunk-N3SAXQVR.mjs";
5
5
  import "./chunk-IUCDCPJU.mjs";
6
6
  import "./chunk-6HTZNHPT.mjs";
7
7
  import {
8
8
  RouteDrawer
9
- } from "./chunk-XXBP2Z5M.mjs";
10
- import "./chunk-42OOM4DJ.mjs";
9
+ } from "./chunk-WVA4O7QS.mjs";
10
+ import "./chunk-D6UW7URG.mjs";
11
11
  import "./chunk-LPEUYMRK.mjs";
12
12
  import "./chunk-OC7BQLYI.mjs";
13
13
  import "./chunk-S4DMV3ZT.mjs";
14
14
  import "./chunk-OBQI23QM.mjs";
15
- import "./chunk-JUVGXLY5.mjs";
15
+ import "./chunk-HKKZJTRO.mjs";
16
16
  import "./chunk-I4OBEAOJ.mjs";
17
17
  import "./chunk-HI6URQ7H.mjs";
18
18
  import "./chunk-6CLQKVAU.mjs";
19
+ import "./chunk-KI7TOXBR.mjs";
19
20
  import "./chunk-HKIF5HVL.mjs";
20
21
  import "./chunk-XIVBRONM.mjs";
21
- import "./chunk-KI7TOXBR.mjs";
22
22
  import "./chunk-WAXMT4IY.mjs";
23
23
  import "./chunk-DYDGGABK.mjs";
24
24
  import "./chunk-LGNTHZ5Y.mjs";
@@ -30,7 +30,7 @@ import "./chunk-NHDFPGQ3.mjs";
30
30
  import "./chunk-A63RZVX6.mjs";
31
31
  import "./chunk-HBXV7ENS.mjs";
32
32
  import "./chunk-CDORR33H.mjs";
33
- import "./chunk-GN6OCHP4.mjs";
33
+ import "./chunk-RU4ZS47V.mjs";
34
34
  import "./chunk-N4O5FAUC.mjs";
35
35
  import {
36
36
  useProductCategory,
@@ -15,11 +15,11 @@ import "./chunk-IUCDCPJU.mjs";
15
15
  import {
16
16
  KeyboundForm
17
17
  } from "./chunk-6HTZNHPT.mjs";
18
- import "./chunk-XXBP2Z5M.mjs";
18
+ import "./chunk-WVA4O7QS.mjs";
19
19
  import {
20
20
  RouteFocusModal,
21
21
  useRouteModal
22
- } from "./chunk-42OOM4DJ.mjs";
22
+ } from "./chunk-D6UW7URG.mjs";
23
23
  import {
24
24
  useDocumentDirection
25
25
  } from "./chunk-S4DMV3ZT.mjs";
@@ -24,12 +24,12 @@ import {
24
24
  } from "./chunk-YTN73JYH.mjs";
25
25
  import "./chunk-HQKGZADC.mjs";
26
26
  import "./chunk-EMIHDNB7.mjs";
27
+ import {
28
+ useProductTableFilters
29
+ } from "./chunk-2HDKZN4Q.mjs";
27
30
  import {
28
31
  useProductTableQuery
29
32
  } from "./chunk-R65S6ZZV.mjs";
30
- import {
31
- useProductTableFilters
32
- } from "./chunk-XTQ7UFA3.mjs";
33
33
  import "./chunk-GU5PJRPM.mjs";
34
34
  import {
35
35
  TwoColumnPage
@@ -37,6 +37,9 @@ import {
37
37
  import "./chunk-C76H5USB.mjs";
38
38
  import "./chunk-DZWH2RV6.mjs";
39
39
  import "./chunk-MNXC6Q4F.mjs";
40
+ import {
41
+ useFeatureFlag
42
+ } from "./chunk-G4BWCU5P.mjs";
40
43
  import {
41
44
  useExtension
42
45
  } from "./chunk-C5P5PL3E.mjs";
@@ -50,13 +53,13 @@ import {
50
53
  import "./chunk-OC7BQLYI.mjs";
51
54
  import "./chunk-S4DMV3ZT.mjs";
52
55
  import "./chunk-SUYYSKCB.mjs";
53
- import "./chunk-JUVGXLY5.mjs";
56
+ import "./chunk-HKKZJTRO.mjs";
54
57
  import "./chunk-I4OBEAOJ.mjs";
55
58
  import "./chunk-HI6URQ7H.mjs";
56
59
  import "./chunk-6CLQKVAU.mjs";
60
+ import "./chunk-KI7TOXBR.mjs";
57
61
  import "./chunk-HKIF5HVL.mjs";
58
62
  import "./chunk-XIVBRONM.mjs";
59
- import "./chunk-KI7TOXBR.mjs";
60
63
  import "./chunk-WAXMT4IY.mjs";
61
64
  import "./chunk-DYDGGABK.mjs";
62
65
  import "./chunk-LGNTHZ5Y.mjs";
@@ -68,7 +71,7 @@ import "./chunk-NHDFPGQ3.mjs";
68
71
  import "./chunk-A63RZVX6.mjs";
69
72
  import "./chunk-HBXV7ENS.mjs";
70
73
  import "./chunk-CDORR33H.mjs";
71
- import "./chunk-GN6OCHP4.mjs";
74
+ import "./chunk-RU4ZS47V.mjs";
72
75
  import "./chunk-N4O5FAUC.mjs";
73
76
  import {
74
77
  categoriesQueryKeys,
@@ -116,7 +119,7 @@ var CategoryDetailBreadcrumb = (props) => {
116
119
  import { useLoaderData, useParams } from "react-router-dom";
117
120
 
118
121
  // src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx
119
- import { PencilSquare, Trash } from "@medusajs/icons";
122
+ import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons";
120
123
  import { Container, Heading, StatusBadge, Text } from "@medusajs/ui";
121
124
  import { useTranslation } from "react-i18next";
122
125
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
@@ -124,6 +127,7 @@ var CategoryGeneralSection = ({
124
127
  category
125
128
  }) => {
126
129
  const { t } = useTranslation();
130
+ const isTranslationsEnabled = useFeatureFlag("translation");
127
131
  const activeProps = getIsActiveProps(category.is_active, t);
128
132
  const internalProps = getIsInternalProps(category.is_internal, t);
129
133
  const handleDelete = useDeleteProductCategoryAction(category);
@@ -148,6 +152,17 @@ var CategoryGeneralSection = ({
148
152
  }
149
153
  ]
150
154
  },
155
+ ...isTranslationsEnabled ? [
156
+ {
157
+ actions: [
158
+ {
159
+ label: t("translations.actions.manage"),
160
+ to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`,
161
+ icon: /* @__PURE__ */ jsx2(GlobeEurope, {})
162
+ }
163
+ ]
164
+ }
165
+ ] : [],
151
166
  {
152
167
  actions: [
153
168
  {
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-6HTZNHPT.mjs";
8
8
  import {
9
9
  RouteDrawer
10
- } from "./chunk-XXBP2Z5M.mjs";
10
+ } from "./chunk-WVA4O7QS.mjs";
11
11
  import {
12
12
  useRouteModal
13
- } from "./chunk-42OOM4DJ.mjs";
13
+ } from "./chunk-D6UW7URG.mjs";
14
14
  import {
15
15
  useDocumentDirection
16
16
  } from "./chunk-S4DMV3ZT.mjs";
@@ -29,6 +29,9 @@ import {
29
29
  useQueryParams
30
30
  } from "./chunk-C76H5USB.mjs";
31
31
  import "./chunk-DZWH2RV6.mjs";
32
+ import {
33
+ useFeatureFlag
34
+ } from "./chunk-G4BWCU5P.mjs";
32
35
  import {
33
36
  useExtension
34
37
  } from "./chunk-C5P5PL3E.mjs";
@@ -49,7 +52,7 @@ import "./chunk-NFEK63OE.mjs";
49
52
  import "./chunk-QZ7TP4HQ.mjs";
50
53
 
51
54
  // src/routes/categories/category-list/components/category-list-table/category-list-table.tsx
52
- import { PencilSquare, Trash } from "@medusajs/icons";
55
+ import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons";
53
56
  import { Button, Container, Heading, Text as Text2 } from "@medusajs/ui";
54
57
  import { keepPreviousData } from "@tanstack/react-query";
55
58
  import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
@@ -228,6 +231,7 @@ var CategoryRowActions = ({
228
231
  category
229
232
  }) => {
230
233
  const { t } = useTranslation2();
234
+ const isTranslationsEnabled = useFeatureFlag("translation");
231
235
  const handleDelete = useDeleteProductCategoryAction(category);
232
236
  return /* @__PURE__ */ jsx2(
233
237
  ActionMenu,
@@ -242,6 +246,17 @@ var CategoryRowActions = ({
242
246
  }
243
247
  ]
244
248
  },
249
+ ...isTranslationsEnabled ? [
250
+ {
251
+ actions: [
252
+ {
253
+ icon: /* @__PURE__ */ jsx2(GlobeEurope, {}),
254
+ label: t("translations.actions.manage"),
255
+ to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`
256
+ }
257
+ ]
258
+ }
259
+ ] : [],
245
260
  {
246
261
  actions: [
247
262
  {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  CategoryTree
3
3
  } from "./chunk-XDCNT5GQ.mjs";
4
- import "./chunk-XXBP2Z5M.mjs";
4
+ import "./chunk-WVA4O7QS.mjs";
5
5
  import {
6
6
  RouteFocusModal
7
- } from "./chunk-42OOM4DJ.mjs";
7
+ } from "./chunk-D6UW7URG.mjs";
8
8
  import "./chunk-OBQI23QM.mjs";
9
9
  import {
10
10
  categoriesQueryKeys,
@@ -12,12 +12,12 @@ import {
12
12
  } from "./chunk-YTN73JYH.mjs";
13
13
  import "./chunk-HQKGZADC.mjs";
14
14
  import "./chunk-EMIHDNB7.mjs";
15
+ import {
16
+ useProductTableFilters
17
+ } from "./chunk-2HDKZN4Q.mjs";
15
18
  import {
16
19
  useProductTableQuery
17
20
  } from "./chunk-R65S6ZZV.mjs";
18
- import {
19
- useProductTableFilters
20
- } from "./chunk-XTQ7UFA3.mjs";
21
21
  import "./chunk-GU5PJRPM.mjs";
22
22
  import "./chunk-C76H5USB.mjs";
23
23
  import "./chunk-DZWH2RV6.mjs";
@@ -25,23 +25,23 @@ import "./chunk-IUCDCPJU.mjs";
25
25
  import {
26
26
  KeyboundForm
27
27
  } from "./chunk-6HTZNHPT.mjs";
28
- import "./chunk-XXBP2Z5M.mjs";
28
+ import "./chunk-WVA4O7QS.mjs";
29
29
  import {
30
30
  RouteFocusModal,
31
31
  useRouteModal
32
- } from "./chunk-42OOM4DJ.mjs";
32
+ } from "./chunk-D6UW7URG.mjs";
33
33
  import "./chunk-MNXC6Q4F.mjs";
34
34
  import "./chunk-LPEUYMRK.mjs";
35
35
  import "./chunk-S4DMV3ZT.mjs";
36
36
  import "./chunk-SUYYSKCB.mjs";
37
37
  import "./chunk-OBQI23QM.mjs";
38
- import "./chunk-JUVGXLY5.mjs";
38
+ import "./chunk-HKKZJTRO.mjs";
39
39
  import "./chunk-I4OBEAOJ.mjs";
40
40
  import "./chunk-HI6URQ7H.mjs";
41
41
  import "./chunk-6CLQKVAU.mjs";
42
+ import "./chunk-KI7TOXBR.mjs";
42
43
  import "./chunk-HKIF5HVL.mjs";
43
44
  import "./chunk-XIVBRONM.mjs";
44
- import "./chunk-KI7TOXBR.mjs";
45
45
  import "./chunk-WAXMT4IY.mjs";
46
46
  import "./chunk-DYDGGABK.mjs";
47
47
  import "./chunk-LGNTHZ5Y.mjs";
@@ -53,7 +53,7 @@ import "./chunk-NHDFPGQ3.mjs";
53
53
  import "./chunk-A63RZVX6.mjs";
54
54
  import "./chunk-HBXV7ENS.mjs";
55
55
  import "./chunk-CDORR33H.mjs";
56
- import "./chunk-GN6OCHP4.mjs";
56
+ import "./chunk-RU4ZS47V.mjs";
57
57
  import "./chunk-N4O5FAUC.mjs";
58
58
  import {
59
59
  useProductCategory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useProductTags
3
- } from "./chunk-JUVGXLY5.mjs";
3
+ } from "./chunk-HKKZJTRO.mjs";
4
4
  import {
5
5
  useProductTypes
6
6
  } from "./chunk-HKIF5HVL.mjs";
@@ -0,0 +1,66 @@
1
+ import {
2
+ useSalesChannels
3
+ } from "./chunk-N3FCYZV6.mjs";
4
+ import {
5
+ useRegions
6
+ } from "./chunk-HP2JH45P.mjs";
7
+
8
+ // src/routes/orders/order-list/components/order-list-table/use-order-table-filters.tsx
9
+ import { useMemo } from "react";
10
+ import { useTranslation } from "react-i18next";
11
+ var useOrderTableFilters = () => {
12
+ const { t } = useTranslation();
13
+ const { regions } = useRegions({
14
+ limit: 1e3,
15
+ fields: "id,name"
16
+ });
17
+ const { sales_channels } = useSalesChannels({
18
+ limit: 1e3,
19
+ fields: "id,name"
20
+ });
21
+ return useMemo(() => {
22
+ const filters = [
23
+ {
24
+ key: "created_at",
25
+ label: t("fields.createdAt"),
26
+ type: "date"
27
+ },
28
+ {
29
+ key: "updated_at",
30
+ label: t("fields.updatedAt"),
31
+ type: "date"
32
+ }
33
+ ];
34
+ if (regions?.length) {
35
+ filters.push({
36
+ key: "region_id",
37
+ label: t("fields.region"),
38
+ type: "select",
39
+ multiple: true,
40
+ searchable: true,
41
+ options: regions.map((r) => ({
42
+ label: r.name,
43
+ value: r.id
44
+ }))
45
+ });
46
+ }
47
+ if (sales_channels?.length) {
48
+ filters.push({
49
+ key: "sales_channel_id",
50
+ label: t("fields.salesChannel"),
51
+ type: "select",
52
+ multiple: true,
53
+ searchable: true,
54
+ options: sales_channels.map((s) => ({
55
+ label: s.name,
56
+ value: s.id
57
+ }))
58
+ });
59
+ }
60
+ return filters;
61
+ }, [regions, sales_channels, t]);
62
+ };
63
+
64
+ export {
65
+ useOrderTableFilters
66
+ };
@@ -5,7 +5,7 @@ import {
5
5
  DataGrid,
6
6
  createDataGridHelper,
7
7
  createDataGridPriceColumns
8
- } from "./chunk-W7SLPIO2.mjs";
8
+ } from "./chunk-FEB3ZGTL.mjs";
9
9
  import {
10
10
  Thumbnail
11
11
  } from "./chunk-MNXC6Q4F.mjs";
@@ -17,6 +17,12 @@ import {
17
17
  _DataTable,
18
18
  useDataTable
19
19
  } from "./chunk-YTN73JYH.mjs";
20
+ import {
21
+ useShippingOptionTableFilters
22
+ } from "./chunk-3C6WQ7NH.mjs";
23
+ import {
24
+ useProductTypeTableFilters
25
+ } from "./chunk-CBSCX7RE.mjs";
20
26
  import {
21
27
  useShippingOptionTableQuery
22
28
  } from "./chunk-MFALVTRQ.mjs";
@@ -24,21 +30,15 @@ import {
24
30
  useProductTypeTableQuery
25
31
  } from "./chunk-TDK3JDOB.mjs";
26
32
  import {
27
- useShippingOptionTableFilters
28
- } from "./chunk-3C6WQ7NH.mjs";
29
- import {
30
- useProductTypeTableFilters
31
- } from "./chunk-CBSCX7RE.mjs";
33
+ useProductTableFilters
34
+ } from "./chunk-2HDKZN4Q.mjs";
32
35
  import {
33
36
  useProductTableQuery
34
37
  } from "./chunk-R65S6ZZV.mjs";
35
- import {
36
- useProductTableFilters
37
- } from "./chunk-XTQ7UFA3.mjs";
38
38
  import {
39
39
  StackedDrawer,
40
40
  StackedFocusModal
41
- } from "./chunk-XXBP2Z5M.mjs";
41
+ } from "./chunk-WVA4O7QS.mjs";
42
42
  import {
43
43
  useProductTypes
44
44
  } from "./chunk-HKIF5HVL.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeleteProductTag
3
- } from "./chunk-JUVGXLY5.mjs";
3
+ } from "./chunk-HKKZJTRO.mjs";
4
4
 
5
5
  // src/routes/product-tags/common/hooks/use-delete-product-tag-action.tsx
6
6
  import { toast, usePrompt } from "@medusajs/ui";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-GN6OCHP4.mjs";
3
+ } from "./chunk-RU4ZS47V.mjs";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-FXYH54JP.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  TargetItem,
4
4
  TaxRateRuleReferenceSchema,
5
5
  createTaxRulePayload
6
- } from "./chunk-4G2UHUXX.mjs";
6
+ } from "./chunk-67KHYLIQ.mjs";
7
7
  import {
8
8
  PercentageInput
9
9
  } from "./chunk-KEQOAJC2.mjs";
@@ -16,11 +16,11 @@ import {
16
16
  import {
17
17
  RouteDrawer,
18
18
  StackedDrawer
19
- } from "./chunk-XXBP2Z5M.mjs";
19
+ } from "./chunk-WVA4O7QS.mjs";
20
20
  import {
21
21
  useRouteModal,
22
22
  useStackedModal
23
- } from "./chunk-42OOM4DJ.mjs";
23
+ } from "./chunk-D6UW7URG.mjs";
24
24
  import {
25
25
  useDocumentDirection
26
26
  } from "./chunk-S4DMV3ZT.mjs";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  RouteFocusModal,
12
12
  useRouteModal
13
- } from "./chunk-42OOM4DJ.mjs";
13
+ } from "./chunk-D6UW7URG.mjs";
14
14
  import {
15
15
  useCreateCampaign
16
16
  } from "./chunk-A63RZVX6.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LocalizedTablePagination,
3
3
  TaxRegionCard
4
- } from "./chunk-UM4OIJZ3.mjs";
4
+ } from "./chunk-S22SJRPO.mjs";
5
5
  import {
6
6
  DataTableOrderBy
7
7
  } from "./chunk-HQKGZADC.mjs";
@@ -57,7 +57,9 @@ var RouteModalForm = ({
57
57
  formState: { isDirty }
58
58
  } = form;
59
59
  const blocker = useBlocker(({ currentLocation, nextLocation }) => {
60
- const { isSubmitSuccessful } = nextLocation.state || {};
60
+ const { isSubmitSuccessful: nextIsSuccessful } = nextLocation.state || {};
61
+ const { isSubmitSuccessful: currentIsSuccessful } = currentLocation.state || {};
62
+ const isSubmitSuccessful = nextIsSuccessful || currentIsSuccessful;
61
63
  if (isSubmitSuccessful) {
62
64
  onClose?.(true);
63
65
  return false;
@@ -101,20 +103,31 @@ var RouteModalForm = ({
101
103
 
102
104
  // src/components/modals/route-modal-provider/route-provider.tsx
103
105
  import { useCallback, useMemo as useMemo2, useState } from "react";
104
- import { useNavigate } from "react-router-dom";
106
+ import { useLocation as useLocation2, useNavigate } from "react-router-dom";
105
107
  import { jsx as jsx2 } from "react/jsx-runtime";
106
108
  var RouteModalProvider = ({
107
109
  prev,
108
110
  children
109
111
  }) => {
110
112
  const navigate = useNavigate();
113
+ const location = useLocation2();
111
114
  const [closeOnEscape, setCloseOnEscape] = useState(true);
112
115
  const handleSuccess = useCallback(
113
116
  (path) => {
114
117
  const to = path || prev;
115
- navigate(to, { replace: true, state: { isSubmitSuccessful: true } });
118
+ if (typeof to === "number") {
119
+ navigate(location.pathname + location.search, {
120
+ replace: true,
121
+ state: { ...location.state, isSubmitSuccessful: true }
122
+ });
123
+ setTimeout(() => {
124
+ navigate(to);
125
+ }, 0);
126
+ } else {
127
+ navigate(to, { replace: true, state: { isSubmitSuccessful: true } });
128
+ }
116
129
  },
117
- [navigate, prev]
130
+ [navigate, prev, location]
118
131
  );
119
132
  const value = useMemo2(
120
133
  () => ({
@@ -196,7 +209,7 @@ var Root = ({ prev = "..", children }) => {
196
209
  const navigate = useNavigate2();
197
210
  const [open, setOpen] = useState3(false);
198
211
  const [stackedModalOpen, onStackedModalOpen] = useState3(false);
199
- const to = useStateAwareTo(prev);
212
+ const to = typeof prev === "number" ? prev : useStateAwareTo(prev);
200
213
  useEffect(() => {
201
214
  setOpen(true);
202
215
  return () => {
@@ -207,7 +220,11 @@ var Root = ({ prev = "..", children }) => {
207
220
  const handleOpenChange = (open2) => {
208
221
  if (!open2) {
209
222
  document.body.style.pointerEvents = "auto";
210
- navigate(to, { replace: true });
223
+ if (typeof to === "number") {
224
+ navigate(to);
225
+ } else {
226
+ navigate(to, { replace: true });
227
+ }
211
228
  return;
212
229
  }
213
230
  setOpen(open2);
@@ -12,7 +12,7 @@ import {
12
12
  useCombinedRefs,
13
13
  useDataGridCell,
14
14
  useDataGridCellError
15
- } from "./chunk-W7SLPIO2.mjs";
15
+ } from "./chunk-FEB3ZGTL.mjs";
16
16
  import {
17
17
  currencies
18
18
  } from "./chunk-DK4WIVY6.mjs";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-6HTZNHPT.mjs";
25
25
  import {
26
26
  StackedFocusModal
27
- } from "./chunk-XXBP2Z5M.mjs";
27
+ } from "./chunk-WVA4O7QS.mjs";
28
28
  import {
29
29
  Form
30
30
  } from "./chunk-OBQI23QM.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  returnsQueryKeys
3
- } from "./chunk-EQBVGH3N.mjs";
3
+ } from "./chunk-B3AOQW2B.mjs";
4
4
  import {
5
5
  ordersQueryKeys
6
- } from "./chunk-GN6OCHP4.mjs";
6
+ } from "./chunk-RU4ZS47V.mjs";
7
7
  import {
8
8
  queryClient
9
9
  } from "./chunk-FXYH54JP.mjs";