@medusajs/dashboard 3.0.0-snapshot-20250410112222 → 3.0.0-snapshot-20251104011621

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 (663) hide show
  1. package/dist/{add-campaign-promotions-ZVOK5XD2.mjs → add-campaign-promotions-ZUJD7HBF.mjs} +14 -14
  2. package/dist/{adjust-inventory-WYNH75F7.mjs → adjust-inventory-7EWRE2HD.mjs} +3 -3
  3. package/dist/{api-key-management-create-HWBQGG6O.mjs → api-key-management-create-SPLD3JMO.mjs} +5 -5
  4. package/dist/{api-key-management-detail-QVWVJ5X6.mjs → api-key-management-detail-MFQTHUN6.mjs} +26 -22
  5. package/dist/{api-key-management-edit-UX47FHWV.mjs → api-key-management-edit-2VPL7PHB.mjs} +5 -5
  6. package/dist/{api-key-management-list-XQ5M7CMJ.mjs → api-key-management-list-22GXXJUC.mjs} +17 -18
  7. package/dist/{api-key-management-sales-channels-PILAZSU6.mjs → api-key-management-sales-channels-MV6FMA4C.mjs} +15 -11
  8. package/dist/app.css +347 -334
  9. package/dist/app.js +79816 -56782
  10. package/dist/app.mjs +28 -23
  11. package/dist/{campaign-budget-edit-57NSOYJ3.mjs → campaign-budget-edit-V2VMINUO.mjs} +4 -4
  12. package/dist/{campaign-configuration-QV3OHWBZ.mjs → campaign-configuration-PP4A5ADV.mjs} +3 -3
  13. package/dist/{campaign-create-NYJ4HILG.mjs → campaign-create-GD2D45NX.mjs} +8 -6
  14. package/dist/{campaign-detail-ITINMJJH.mjs → campaign-detail-IKHUALTL.mjs} +50 -44
  15. package/dist/{campaign-edit-3D5WFWCT.mjs → campaign-edit-O3LKMLXK.mjs} +3 -3
  16. package/dist/{campaign-list-SXMDW6B6.mjs → campaign-list-3452F4Y6.mjs} +17 -18
  17. package/dist/{categories-metadata-TE7B2OJY.mjs → categories-metadata-2HM7G27P.mjs} +18 -17
  18. package/dist/{category-create-NVRG7B6E.mjs → category-create-BC2VUVKO.mjs} +41 -20
  19. package/dist/{category-detail-WTSUKIXM.mjs → category-detail-D4PYJJGJ.mjs} +35 -35
  20. package/dist/{category-edit-JBZQKNL7.mjs → category-edit-U5Y5KJ2Y.mjs} +38 -18
  21. package/dist/{category-list-OWRWVUVN.mjs → category-list-MLLB5U6K.mjs} +13 -14
  22. package/dist/{category-organize-HUXXVJAB.mjs → category-organize-4NXFDN2I.mjs} +5 -6
  23. package/dist/{category-products-CRKFES6N.mjs → category-products-K5INZSSV.mjs} +35 -35
  24. package/dist/{chunk-JDZPSIIG.mjs → chunk-2D44OO7A.mjs} +1 -1
  25. package/dist/{chunk-FVK4ZYYM.mjs → chunk-2O43G3RH.mjs} +1 -1
  26. package/dist/{chunk-KERJR2T2.mjs → chunk-2WZUO66T.mjs} +1 -1
  27. package/dist/{chunk-GW6TVOAA.mjs → chunk-3C6WQ7NH.mjs} +21 -1
  28. package/dist/{chunk-ICR3D7SB.mjs → chunk-3DO2JGVG.mjs} +1 -1
  29. package/dist/{chunk-NOZD6HRU.mjs → chunk-3EGEJ6Q2.mjs} +3 -2
  30. package/dist/chunk-3I6G3NRU.mjs +44 -0
  31. package/dist/{chunk-LQFD6I7N.mjs → chunk-3JJBLFYN.mjs} +1 -1
  32. package/dist/{chunk-YIZSVS2R.mjs → chunk-3TZOFKX2.mjs} +23 -3
  33. package/dist/{chunk-6I62UDJA.mjs → chunk-4BGVSXZZ.mjs} +43 -22
  34. package/dist/{chunk-3WXBLS2P.mjs → chunk-4FM6S5CX.mjs} +2 -1
  35. package/dist/chunk-4XSXVVYD.mjs +18 -0
  36. package/dist/{chunk-6UX3SSRT.mjs → chunk-67ORSRVT.mjs} +36 -1
  37. package/dist/chunk-6CPMXY5N.mjs +18 -0
  38. package/dist/{chunk-2WQFRVK5.mjs → chunk-6IXLTZ2H.mjs} +5 -2
  39. package/dist/{chunk-AL4WDQTN.mjs → chunk-6VRDTPH2.mjs} +60 -50
  40. package/dist/{chunk-FVC7M755.mjs → chunk-6XWHQ6ON.mjs} +1 -1
  41. package/dist/{chunk-NGEWNLV7.mjs → chunk-7DWBXEH3.mjs} +72 -20
  42. package/dist/{chunk-ZCO6EK4W.mjs → chunk-AERWK3TJ.mjs} +13 -10
  43. package/dist/{chunk-TDDYKNA2.mjs → chunk-AHQI2S2Z.mjs} +66 -5
  44. package/dist/{chunk-HUGE7T5V.mjs → chunk-ALKTJGWS.mjs} +2 -2
  45. package/dist/chunk-AMRS4CSX.mjs +9 -0
  46. package/dist/{chunk-OIAPXGI2.mjs → chunk-B6ZOPCPA.mjs} +1 -1
  47. package/dist/chunk-BW322BVH.mjs +52 -0
  48. package/dist/chunk-BW4QA6B6.mjs +49 -0
  49. package/dist/{chunk-AQS3BSDG.mjs → chunk-CBYAN3G4.mjs} +4 -3
  50. package/dist/{chunk-CF64SRBE.mjs → chunk-CIY65KNH.mjs} +1 -1
  51. package/dist/{chunk-VDBOSWVE.mjs → chunk-DG7J63J2.mjs} +7 -7
  52. package/dist/{chunk-MWVM4TYO.mjs → chunk-DK4WIVY6.mjs} +18 -0
  53. package/dist/{chunk-THZJC662.mjs → chunk-EHAU7SOS.mjs} +10 -1
  54. package/dist/{chunk-DXOEDXLQ.mjs → chunk-ELPHCFRW.mjs} +13 -8
  55. package/dist/{chunk-TP7N4YBP.mjs → chunk-EQKJ5FSL.mjs} +1 -1
  56. package/dist/{chunk-7I5DQGWY.mjs → chunk-F7LJJHQT.mjs} +11 -1
  57. package/dist/{chunk-EUTK2A3J.mjs → chunk-FA2DYBNX.mjs} +1 -1
  58. package/dist/{chunk-CIE5NZAY.mjs → chunk-FKIOYL3D.mjs} +81 -13
  59. package/dist/{chunk-2RQLKDBF.mjs → chunk-GIZFNLKK.mjs} +103 -96
  60. package/dist/{chunk-ETF2DN4M.mjs → chunk-GLVCH422.mjs} +3 -3
  61. package/dist/chunk-GRNWRTT3.mjs +822 -0
  62. package/dist/{chunk-AOFGTNG6.mjs → chunk-HQKGZADC.mjs} +6 -1
  63. package/dist/{chunk-LBIOZZPA.mjs → chunk-HWKLNKOY.mjs} +1 -1
  64. package/dist/{chunk-LDJKJLBJ.mjs → chunk-I6E6CALJ.mjs} +14 -0
  65. package/dist/{chunk-7MM5L2ZM.mjs → chunk-IKXQEHLS.mjs} +1 -1
  66. package/dist/{chunk-NNBHHXXN.mjs → chunk-INE2QCSC.mjs} +1 -1
  67. package/dist/{chunk-7ITM2TNQ.mjs → chunk-IVZ6BMDB.mjs} +4 -3
  68. package/dist/{chunk-XMAWMECC.mjs → chunk-IW4TACOD.mjs} +1 -1
  69. package/dist/{chunk-3OHH43G6.mjs → chunk-IXZVR3HG.mjs} +1 -1
  70. package/dist/chunk-KEQOAJC2.mjs +108 -0
  71. package/dist/chunk-KX4P5L3R.mjs +127 -0
  72. package/dist/chunk-KXRW6JRE.mjs +354 -0
  73. package/dist/{chunk-W7KW2VOI.mjs → chunk-LEKWKUIS.mjs} +3 -3
  74. package/dist/{chunk-LTC6LGS4.mjs → chunk-LOAL44PP.mjs} +1 -1
  75. package/dist/chunk-MFALVTRQ.mjs +181 -0
  76. package/dist/{chunk-Q5DI5VYN.mjs → chunk-MLNUGLGT.mjs} +1 -1
  77. package/dist/{chunk-ZJ3OFMHB.mjs → chunk-MQALAB34.mjs} +1 -1
  78. package/dist/{chunk-F6IJV2I2.mjs → chunk-N4N4KGET.mjs} +1 -1
  79. package/dist/{chunk-RZD5DU5K.mjs → chunk-NDXL7ZT5.mjs} +13 -13
  80. package/dist/{chunk-BC3M3N6P.mjs → chunk-NQIC7ZFS.mjs} +2 -2
  81. package/dist/{chunk-GZBFGV7Y.mjs → chunk-OFN7DIZA.mjs} +18 -14
  82. package/dist/{chunk-PNU5HPGY.mjs → chunk-OGAZYXOV.mjs} +1 -1
  83. package/dist/{chunk-XNVMTSI7.mjs → chunk-ORMX5RJQ.mjs} +3 -3
  84. package/dist/{chunk-3NJTXRIY.mjs → chunk-OZPB6JBL.mjs} +5 -1
  85. package/dist/{chunk-FP5F2XCU.mjs → chunk-P777A4W3.mjs} +5 -5
  86. package/dist/{chunk-PWBTCXBJ.mjs → chunk-PFKKVLZX.mjs} +1 -1
  87. package/dist/{chunk-O6K7WXYN.mjs → chunk-PJ5EUKOB.mjs} +92 -43
  88. package/dist/chunk-PMA2D6IL.mjs +49 -0
  89. package/dist/{chunk-D7H6ZNK4.mjs → chunk-PRLQLEEQ.mjs} +2 -0
  90. package/dist/{chunk-5ZEHQCGN.mjs → chunk-PYIPIUAY.mjs} +55526 -34216
  91. package/dist/chunk-Q33G337Z.mjs +98 -0
  92. package/dist/{chunk-DGRTPKQC.mjs → chunk-QMRGIWOP.mjs} +1 -1
  93. package/dist/{chunk-RSYDZHZN.mjs → chunk-QXXHLVRQ.mjs} +44 -72
  94. package/dist/chunk-QZ7TP4HQ.mjs +7 -0
  95. package/dist/{chunk-G2H6MAK7.mjs → chunk-R2G2B47Y.mjs} +15 -5
  96. package/dist/chunk-R2QF6AQX.mjs +41 -0
  97. package/dist/chunk-RM6NY572.mjs +48 -0
  98. package/dist/{chunk-CVCFQMSO.mjs → chunk-S34JJVBQ.mjs} +58 -17
  99. package/dist/chunk-S4DMV3ZT.mjs +35 -0
  100. package/dist/{chunk-43EZDQEG.mjs → chunk-SC6BSTC7.mjs} +2 -2
  101. package/dist/{chunk-LU7VJVTE.mjs → chunk-SJ3E4T6B.mjs} +1 -1
  102. package/dist/{chunk-X2Y4KNQI.mjs → chunk-SNDSWB6B.mjs} +21 -9
  103. package/dist/{chunk-2MPQMCLO.mjs → chunk-TUCPFNIY.mjs} +57 -13
  104. package/dist/chunk-UC26CCHZ.mjs +45 -0
  105. package/dist/{chunk-SKR2YX52.mjs → chunk-UKX2FFFV.mjs} +2 -2
  106. package/dist/{chunk-6LA2RGO4.mjs → chunk-ULQ3V4CC.mjs} +2 -2
  107. package/dist/{chunk-UCMPRD5U.mjs → chunk-VAIHVNV6.mjs} +1 -1
  108. package/dist/chunk-VLOA5XAC.mjs +113 -0
  109. package/dist/{chunk-E46GSGZ5.mjs → chunk-VWXNC2B5.mjs} +5 -5
  110. package/dist/chunk-W77EPLUD.mjs +1141 -0
  111. package/dist/{chunk-OV5NMSY6.mjs → chunk-WATKBUHQ.mjs} +1 -1
  112. package/dist/{chunk-GE4APTT2.mjs → chunk-WEMXXZMY.mjs} +47 -36
  113. package/dist/chunk-WMOGMKQN.mjs +0 -0
  114. package/dist/{chunk-DRAV7IQC.mjs → chunk-WT5BXCPV.mjs} +76 -44
  115. package/dist/{chunk-RWU2ZKWZ.mjs → chunk-WTK7SR6S.mjs} +37 -3
  116. package/dist/{chunk-PDWBYQOW.mjs → chunk-X6BAAGCL.mjs} +1 -1
  117. package/dist/{chunk-UAZEQNCO.mjs → chunk-X6DSNTTX.mjs} +1 -1
  118. package/dist/{chunk-4UY4U2B5.mjs → chunk-XDCNT5GQ.mjs} +4 -6
  119. package/dist/{chunk-G3QXMPRB.mjs → chunk-XLDQPLK4.mjs} +8 -41
  120. package/dist/chunk-XWO5BP42.mjs +37 -0
  121. package/dist/{chunk-C2ZUHW3Z.mjs → chunk-XXROCJ7D.mjs} +191 -309
  122. package/dist/{chunk-YS65UGPC.mjs → chunk-XYHXWLTJ.mjs} +1 -1
  123. package/dist/{chunk-3XEXC5WH.mjs → chunk-Y2XQE25L.mjs} +2 -2
  124. package/dist/{tax-region-tax-override-edit-2T7PD6N3.mjs → chunk-YL4UEHO3.mjs} +52 -236
  125. package/dist/{chunk-XKXNQ2KV.mjs → chunk-ZCARHA6C.mjs} +1 -1
  126. package/dist/{chunk-PBEBKGPJ.mjs → chunk-ZUUKLYH4.mjs} +1 -1
  127. package/dist/{collection-add-products-XERJQKAX.mjs → collection-add-products-TWIDVZMU.mjs} +34 -34
  128. package/dist/collection-create-CUZFWEOB.mjs +132 -0
  129. package/dist/{collection-detail-XRN3Y3YT.mjs → collection-detail-B33WPVIW.mjs} +30 -30
  130. package/dist/{collection-edit-D7OGD4MC.mjs → collection-edit-22I7EEJG.mjs} +4 -4
  131. package/dist/{collection-list-G5PTIE4I.mjs → collection-list-DAW7WOX5.mjs} +41 -41
  132. package/dist/{collection-metadata-244B7424.mjs → collection-metadata-ZUFYY4OU.mjs} +18 -17
  133. package/dist/{customer-create-TKKVS4LF.mjs → customer-create-WCBUYT44.mjs} +2 -2
  134. package/dist/{customer-create-address-P4YQFUI5.mjs → customer-create-address-VWVIJDMK.mjs} +5 -4
  135. package/dist/{customer-detail-EW4Y5ZHT.mjs → customer-detail-ATJGSJTH.mjs} +38 -38
  136. package/dist/{customer-edit-I4K3LK66.mjs → customer-edit-FMK2AWZ5.mjs} +2 -2
  137. package/dist/{customer-group-add-customers-UJJ77G7K.mjs → customer-group-add-customers-57THRZ6D.mjs} +30 -31
  138. package/dist/{customer-group-create-5EILGGLH.mjs → customer-group-create-Y5O2CJOI.mjs} +2 -2
  139. package/dist/{customer-group-detail-WZFJPKZE.mjs → customer-group-detail-OVZIWNPP.mjs} +29 -30
  140. package/dist/{customer-group-edit-NBVNSBMX.mjs → customer-group-edit-SMVW7PHM.mjs} +2 -2
  141. package/dist/{customer-group-list-ZYLGQKOU.mjs → customer-group-list-SADXXHAE.mjs} +25 -21
  142. package/dist/{customer-group-metadata-IRTI56TA.mjs → customer-group-metadata-XJIMV7QU.mjs} +4 -3
  143. package/dist/{customer-list-3LZRV3ZM.mjs → customer-list-TE7VNBX6.mjs} +15 -16
  144. package/dist/{customer-metadata-TPIFKFIQ.mjs → customer-metadata-E32DPXXE.mjs} +4 -3
  145. package/dist/{customers-add-customer-group-F473JGOA.mjs → customers-add-customer-group-XNPZ47LK.mjs} +26 -27
  146. package/dist/{edit-inventory-item-KQUKSOGO.mjs → edit-inventory-item-5RPZHCM7.mjs} +3 -3
  147. package/dist/{edit-inventory-item-attributes-I55BRBWC.mjs → edit-inventory-item-attributes-R73ZTBYG.mjs} +6 -5
  148. package/dist/{edit-reservation-GEJHV6OI.mjs → edit-reservation-WMLAFMYU.mjs} +9 -4
  149. package/dist/{edit-rules-7MMNZKEQ.mjs → edit-rules-KV43O773.mjs} +44 -9
  150. package/dist/en.json +3219 -0
  151. package/dist/{home-KSB2J7CS.mjs → home-KFQGXKRT.mjs} +1 -1
  152. package/dist/index.d.ts +8 -3
  153. package/dist/{inventory-create-NZ67QMNB.mjs → inventory-create-NW5WSPBV.mjs} +27 -21
  154. package/dist/{inventory-detail-UBCCADB3.mjs → inventory-detail-I2CNJC6Y.mjs} +188 -191
  155. package/dist/{inventory-list-XIL665KR.mjs → inventory-list-I7IXI4KC.mjs} +11 -12
  156. package/dist/{inventory-metadata-AG5IVFBR.mjs → inventory-metadata-7XR4ON7G.mjs} +18 -17
  157. package/dist/{inventory-stock-XZWLARFE.mjs → inventory-stock-VTIDGTOY.mjs} +20 -19
  158. package/dist/{invite-3KXZ7ZZI.mjs → invite-U4I4IUOM.mjs} +1 -1
  159. package/dist/{location-create-G3CYBYOF.mjs → location-create-GZCUNYDT.mjs} +5 -4
  160. package/dist/{location-detail-GHY3DXRP.mjs → location-detail-WZM4EXFM.mjs} +24 -23
  161. package/dist/{location-edit-IMBG32Z4.mjs → location-edit-VNEMLWGR.mjs} +5 -5
  162. package/dist/{location-fulfillment-providers-ELVN5G5W.mjs → location-fulfillment-providers-F7MMM5KC.mjs} +26 -27
  163. package/dist/location-list-W6EHBBE5.mjs +323 -0
  164. package/dist/{location-sales-channels-JODORWDG.mjs → location-sales-channels-J3V26P3Q.mjs} +15 -11
  165. package/dist/{location-service-zone-create-6DZFP7Y7.mjs → location-service-zone-create-27MNMKPQ.mjs} +10 -11
  166. package/dist/{location-service-zone-edit-W3G7XOC7.mjs → location-service-zone-edit-LCBBZ2OA.mjs} +2 -2
  167. package/dist/{location-service-zone-manage-areas-EJIOVS3U.mjs → location-service-zone-manage-areas-U3EPNWSI.mjs} +10 -11
  168. package/dist/{location-service-zone-shipping-option-create-7KOH5VVW.mjs → location-service-zone-shipping-option-create-F3EQW67U.mjs} +65 -30
  169. package/dist/location-service-zone-shipping-option-edit-27MYKN7R.mjs +356 -0
  170. package/dist/{location-service-zone-shipping-option-pricing-SKUSE5YE.mjs → location-service-zone-shipping-option-pricing-GJIO4RRM.mjs} +7 -6
  171. package/dist/{login-OYY6LIPR.mjs → login-VZALGB6R.mjs} +15 -15
  172. package/dist/manage-locations-ZRCDYW5V.mjs +247 -0
  173. package/dist/{no-match-YRNHGOT3.mjs → no-match-7QRDCDCD.mjs} +1 -1
  174. package/dist/{order-allocate-items-TMQ5M7TG.mjs → order-allocate-items-MZ7Y4FU4.mjs} +53 -25
  175. package/dist/{order-create-claim-JRJNBW7N.mjs → order-create-claim-VFFKHCI6.mjs} +93 -62
  176. package/dist/{order-create-edit-IYZYZOJU.mjs → order-create-edit-7TFUOMST.mjs} +35 -35
  177. package/dist/{order-create-exchange-SWV6T3C2.mjs → order-create-exchange-CXQ5ZM3Q.mjs} +81 -64
  178. package/dist/{order-create-fulfillment-62OZHL3L.mjs → order-create-fulfillment-VTICR6OE.mjs} +111 -56
  179. package/dist/order-create-refund-RWDVIXPV.mjs +686 -0
  180. package/dist/{order-create-return-CDCLNOCB.mjs → order-create-return-AYWH3WMR.mjs} +36 -30
  181. package/dist/{order-create-shipment-REC24C7Y.mjs → order-create-shipment-2KNYEHSU.mjs} +118 -41
  182. package/dist/{order-detail-RP63TRG6.mjs → order-detail-IFXJNVTV.mjs} +895 -391
  183. package/dist/{order-edit-billing-address-XDNORAHG.mjs → order-edit-billing-address-T6BIIRAX.mjs} +20 -19
  184. package/dist/{order-edit-email-V4DC4GJV.mjs → order-edit-email-SLUOGWRO.mjs} +17 -17
  185. package/dist/{order-edit-shipping-address-NWT5LDKC.mjs → order-edit-shipping-address-YUES5K5Q.mjs} +20 -19
  186. package/dist/order-list-4N3OV2PU.mjs +283 -0
  187. package/dist/{order-metadata-4YNV2NWH.mjs → order-metadata-HS33MC6S.mjs} +18 -17
  188. package/dist/{order-receive-return-AXAZNUIB.mjs → order-receive-return-E6BGSZVL.mjs} +21 -20
  189. package/dist/{order-request-transfer-OZNQQL3N.mjs → order-request-transfer-7IIDQ37I.mjs} +19 -19
  190. package/dist/{price-list-configuration-QDADAJXD.mjs → price-list-configuration-4XY4JW4I.mjs} +13 -14
  191. package/dist/{price-list-create-7HYQ5R7R.mjs → price-list-create-VFQVCUWV.mjs} +58 -44
  192. package/dist/{price-list-detail-DWUY4NRM.mjs → price-list-detail-32UKOWNW.mjs} +33 -33
  193. package/dist/{price-list-edit-TMZCXEFR.mjs → price-list-edit-GXDLVOU4.mjs} +53 -33
  194. package/dist/{price-list-list-C53HAXU7.mjs → price-list-list-TKXSU27S.mjs} +13 -14
  195. package/dist/{price-list-prices-add-PGOF7G5W.mjs → price-list-prices-add-AY75YZ7D.mjs} +44 -36
  196. package/dist/{price-list-prices-edit-JUS5FBBN.mjs → price-list-prices-edit-J7HCNDTO.mjs} +8 -7
  197. package/dist/{product-attributes-GKM272E2.mjs → product-attributes-3GCAY7KW.mjs} +37 -29
  198. package/dist/{product-create-6IIIZWTB.mjs → product-create-4TD7FQC7.mjs} +205 -179
  199. package/dist/{product-create-option-E2GRTBWP.mjs → product-create-option-D2636LJL.mjs} +3 -3
  200. package/dist/{product-create-variant-3B32EC76.mjs → product-create-variant-ZWY57BX7.mjs} +38 -25
  201. package/dist/{product-detail-KCPBP53S.mjs → product-detail-J7T7MNUY.mjs} +74 -64
  202. package/dist/{product-edit-PBISK6ZJ.mjs → product-edit-MJ7VAIVY.mjs} +50 -36
  203. package/dist/{product-edit-option-RHMF3YKT.mjs → product-edit-option-DYAFZIT2.mjs} +3 -3
  204. package/dist/{product-export-KJXAVIZ3.mjs → product-export-X64NQWTS.mjs} +47 -37
  205. package/dist/product-image-variants-edit-J6A5G4AC.mjs +327 -0
  206. package/dist/{product-import-JCEJKM3F.mjs → product-import-HDNC36SM.mjs} +25 -25
  207. package/dist/product-list-E7HS4SBG.mjs +445 -0
  208. package/dist/{product-media-34NDO6DC.mjs → product-media-Z3NNTB7H.mjs} +10 -11
  209. package/dist/{product-metadata-PQQ7XV63.mjs → product-metadata-LMDEXR3V.mjs} +18 -17
  210. package/dist/{product-organization-QZ5AXVG5.mjs → product-organization-263TICCI.mjs} +30 -27
  211. package/dist/{product-prices-BBTCM3XR.mjs → product-prices-MCZYVPQW.mjs} +6 -5
  212. package/dist/{product-sales-channels-5L64AKRQ.mjs → product-sales-channels-RHZQXWAY.mjs} +14 -10
  213. package/dist/{product-shipping-profile-Z2MVNVBT.mjs → product-shipping-profile-GVTR3MHD.mjs} +29 -26
  214. package/dist/{product-stock-TZS75EG7.mjs → product-stock-O2BH5R45.mjs} +22 -20
  215. package/dist/{product-tag-create-LE4MZ5BW.mjs → product-tag-create-GOJTE5XA.mjs} +16 -16
  216. package/dist/{product-tag-detail-LQFUS6IU.mjs → product-tag-detail-CK5F4DU3.mjs} +56 -54
  217. package/dist/{product-tag-edit-E6WEFNFQ.mjs → product-tag-edit-IT4GHLSO.mjs} +16 -16
  218. package/dist/{product-tag-list-DASW6YQO.mjs → product-tag-list-VNROS2W3.mjs} +55 -54
  219. package/dist/product-tag-metadata-QV2BOGP2.mjs +70 -0
  220. package/dist/{product-type-create-GU5IYXQB.mjs → product-type-create-AHVZETDR.mjs} +2 -2
  221. package/dist/{product-type-detail-VLOGXH6T.mjs → product-type-detail-7K5RLART.mjs} +30 -30
  222. package/dist/{product-type-edit-S53VUBU3.mjs → product-type-edit-2RGFBZPK.mjs} +2 -2
  223. package/dist/{product-type-list-A36X6L73.mjs → product-type-list-2ZQ2NE3R.mjs} +15 -16
  224. package/dist/product-type-metadata-5TDBJGNQ.mjs +70 -0
  225. package/dist/{product-variant-detail-HKNUYNS5.mjs → product-variant-detail-3SO2MX22.mjs} +111 -53
  226. package/dist/{product-variant-edit-G6AM27AT.mjs → product-variant-edit-DW27AYBX.mjs} +24 -19
  227. package/dist/product-variant-manage-inventory-items-T5OB3YX3.mjs +341 -0
  228. package/dist/product-variant-media-PHRCKUDK.mjs +374 -0
  229. package/dist/{product-variant-metadata-2V27ZMDS.mjs → product-variant-metadata-4KJE6B2R.mjs} +18 -17
  230. package/dist/{profile-detail-4HQ3RK2U.mjs → profile-detail-UTJBWZSA.mjs} +5 -4
  231. package/dist/{profile-edit-VZPQ4NSH.mjs → profile-edit-OOYMTKX6.mjs} +34 -22
  232. package/dist/{promotion-add-campaign-4VNRQF52.mjs → promotion-add-campaign-XJB2ZKZ3.mjs} +12 -24
  233. package/dist/{promotion-create-PLDWDZMZ.mjs → promotion-create-F27AOTVZ.mjs} +258 -93
  234. package/dist/{promotion-detail-DKYNPGDK.mjs → promotion-detail-ZDINJASC.mjs} +146 -87
  235. package/dist/promotion-edit-details-JMZ77QJ4.mjs +496 -0
  236. package/dist/{promotion-list-AGVOXS5Q.mjs → promotion-list-MN6YJCYA.mjs} +15 -16
  237. package/dist/refund-reason-create-5ATQ2IPU.mjs +192 -0
  238. package/dist/refund-reason-edit-F7AMOTG3.mjs +192 -0
  239. package/dist/refund-reason-list-SFTHVSPC.mjs +244 -0
  240. package/dist/{region-add-countries-DGMSV27N.mjs → region-add-countries-KGFPZSRE.mjs} +15 -15
  241. package/dist/{region-create-NQLVPGUT.mjs → region-create-YJJRTAYO.mjs} +62 -53
  242. package/dist/{region-detail-BBK4KAZ5.mjs → region-detail-ERE4ZF2I.mjs} +10 -11
  243. package/dist/region-edit-QCN7SMR5.mjs +308 -0
  244. package/dist/{region-list-F7I4UPZS.mjs → region-list-W55C3CTH.mjs} +15 -16
  245. package/dist/{region-metadata-4S6FEUXA.mjs → region-metadata-CRAHVHOC.mjs} +18 -17
  246. package/dist/{reservation-create-INUIVD55.mjs → reservation-create-YZMZ6HSS.mjs} +5 -5
  247. package/dist/{reservation-detail-QKUCAH7D.mjs → reservation-detail-6MCBQZAE.mjs} +19 -18
  248. package/dist/{reservation-list-NAYFTRNY.mjs → reservation-list-IEUC3KXK.mjs} +15 -15
  249. package/dist/{reservation-metadata-5ZABNMJP.mjs → reservation-metadata-IQNJPNAX.mjs} +18 -17
  250. package/dist/{reset-password-HHFO6CDI.mjs → reset-password-CUEG23GU.mjs} +3 -2
  251. package/dist/{return-reason-create-YANSYS43.mjs → return-reason-create-45IARQ5L.mjs} +2 -2
  252. package/dist/{return-reason-edit-4FSM4H3M.mjs → return-reason-edit-5FIOEJ5Y.mjs} +2 -2
  253. package/dist/{return-reason-list-YQP7NEIY.mjs → return-reason-list-CBOVMQZF.mjs} +37 -36
  254. package/dist/{sales-channel-add-products-ACYP5CUR.mjs → sales-channel-add-products-7RKUDBXN.mjs} +29 -29
  255. package/dist/{sales-channel-create-HVZPII6E.mjs → sales-channel-create-7ISLGNGC.mjs} +6 -4
  256. package/dist/{sales-channel-detail-UFL3EW5W.mjs → sales-channel-detail-TKVVIAS5.mjs} +30 -30
  257. package/dist/{sales-channel-edit-BK7O3ZFI.mjs → sales-channel-edit-2PEHGAWF.mjs} +6 -4
  258. package/dist/{sales-channel-list-2EDYVY5Y.mjs → sales-channel-list-SI7JVBOI.mjs} +25 -22
  259. package/dist/{sales-channel-metadata-UH4QYASI.mjs → sales-channel-metadata-ZOCPAIGM.mjs} +18 -17
  260. package/dist/{settings-FQUPXMWF.mjs → settings-FKUZ6EYT.mjs} +1 -1
  261. package/dist/shipping-option-type-create-YR2QV2OG.mjs +195 -0
  262. package/dist/shipping-option-type-detail-TYHGCV2X.mjs +178 -0
  263. package/dist/shipping-option-type-edit-6KL3MHVT.mjs +193 -0
  264. package/dist/shipping-option-type-list-YPCCUVFZ.mjs +277 -0
  265. package/dist/{shipping-profile-create-PBDONCGJ.mjs → shipping-profile-create-372EMPUI.mjs} +2 -2
  266. package/dist/{shipping-profile-detail-EORJZ7NX.mjs → shipping-profile-detail-MRXUOUXK.mjs} +4 -3
  267. package/dist/{shipping-profile-metadata-UB73OBPJ.mjs → shipping-profile-metadata-A33XKBQN.mjs} +18 -17
  268. package/dist/{shipping-profiles-list-EFGYH4OS.mjs → shipping-profiles-list-KYYSHLSZ.mjs} +9 -10
  269. package/dist/{store-add-currencies-2OBWTWKT.mjs → store-add-currencies-SNSW7A6O.mjs} +11 -10
  270. package/dist/{store-detail-U5HON77R.mjs → store-detail-3ZV7FCPV.mjs} +24 -25
  271. package/dist/{store-edit-JNSWFWIG.mjs → store-edit-FNKVB3UA.mjs} +29 -17
  272. package/dist/{store-metadata-GLAZZPP6.mjs → store-metadata-LMRFCZ3J.mjs} +18 -17
  273. package/dist/{tax-region-create-EW5USMNY.mjs → tax-region-create-5Y6EA7XE.mjs} +103 -36
  274. package/dist/{tax-region-detail-MVSV7BWW.mjs → tax-region-detail-TTYUBJ3V.mjs} +107 -40
  275. package/dist/tax-region-edit-IKEWHRUK.mjs +163 -0
  276. package/dist/{tax-region-list-FNVPRMTQ.mjs → tax-region-list-HQMSVGDD.mjs} +12 -11
  277. package/dist/{tax-region-province-create-LQ5SPSXW.mjs → tax-region-province-create-6GZCPPGW.mjs} +35 -53
  278. package/dist/{tax-region-province-detail-4G2WUUBB.mjs → tax-region-province-detail-YCY56CRL.mjs} +81 -28
  279. package/dist/{tax-region-tax-override-create-EXGXVKBR.mjs → tax-region-tax-override-create-R3PNDP43.mjs} +90 -61
  280. package/dist/tax-region-tax-override-edit-QLD7MIQY.mjs +270 -0
  281. package/dist/{tax-region-tax-rate-create-7GNLSDJ2.mjs → tax-region-tax-rate-create-TJLSRCEC.mjs} +7 -6
  282. package/dist/{tax-region-tax-rate-edit-6U2BQMIE.mjs → tax-region-tax-rate-edit-DEKCUURK.mjs} +7 -6
  283. package/dist/{user-detail-X2Z2IYNI.mjs → user-detail-DFZPKHG2.mjs} +5 -4
  284. package/dist/{user-edit-HFSJM4QT.mjs → user-edit-NFRTYOKO.mjs} +2 -2
  285. package/dist/{user-invite-3V3ZTOJS.mjs → user-invite-FQNKJKMD.mjs} +14 -20
  286. package/dist/{user-list-35TJ53CP.mjs → user-list-6EVTLPJE.mjs} +15 -10
  287. package/dist/{user-metadata-GJ6PIXLU.mjs → user-metadata-BQKW4WAU.mjs} +18 -17
  288. package/dist/{workflow-execution-detail-D26MDYFC.mjs → workflow-execution-detail-D5QUZFTV.mjs} +21 -17
  289. package/dist/{workflow-execution-list-FKIKX7HK.mjs → workflow-execution-list-JOVBPL45.mjs} +8 -9
  290. package/package.json +25 -32
  291. package/src/app.tsx +2 -0
  292. package/src/components/common/action-menu/action-menu.tsx +3 -1
  293. package/src/components/common/customer-info/customer-info.tsx +1 -1
  294. package/src/components/common/infinite-list/infinite-list.tsx +8 -2
  295. package/src/components/common/json-view-section/json-view-section.tsx +4 -1
  296. package/src/components/common/sidebar-link/sidebar-link.tsx +1 -1
  297. package/src/components/common/switch-box/switch-box.tsx +2 -0
  298. package/src/components/data-grid/components/data-grid-root.tsx +9 -3
  299. package/src/components/data-grid/components/data-grid-toggleable-number-cell.tsx +2 -1
  300. package/src/components/data-grid/hooks/use-data-grid-form-handlers.tsx +6 -5
  301. package/src/components/data-table/data-table.tsx +171 -56
  302. package/src/components/filtering/filter-group/filter-group.tsx +5 -1
  303. package/src/components/filtering/order-by/order-by.tsx +4 -1
  304. package/src/components/filtering/query/query.tsx +1 -1
  305. package/src/components/forms/address-form/address-form.tsx +7 -2
  306. package/src/components/forms/metadata-form/metadata-form.tsx +6 -3
  307. package/src/components/inputs/combobox/combobox.tsx +21 -14
  308. package/src/components/inputs/country-select/country-select.tsx +37 -62
  309. package/src/components/inputs/percentage-input/percentage-input.tsx +67 -37
  310. package/src/components/inputs/province-select/province-select.tsx +42 -62
  311. package/src/components/layout/main-layout/main-layout.tsx +7 -5
  312. package/src/components/layout/settings-layout/settings-layout.tsx +4 -0
  313. package/src/components/layout/shell/shell.tsx +6 -6
  314. package/src/components/layout/user-menu/user-menu.tsx +12 -10
  315. package/src/components/modals/hooks/use-state-aware-to.tsx +10 -4
  316. package/src/components/modals/route-modal-form/route-modal-form.tsx +6 -6
  317. package/src/components/search/search.tsx +5 -3
  318. package/src/components/search/use-search-results.tsx +1 -1
  319. package/src/components/table/configurable-data-table/configurable-data-table.tsx +240 -0
  320. package/src/components/table/configurable-data-table/index.ts +3 -0
  321. package/src/components/table/configurable-data-table/save-view-dropdown.tsx +87 -0
  322. package/src/components/table/data-table/data-table-filter/date-filter.tsx +22 -4
  323. package/src/components/table/data-table/data-table-filter/number-filter.tsx +1 -1
  324. package/src/components/table/data-table/data-table-filter/string-filter.tsx +1 -1
  325. package/src/components/table/data-table/data-table-order-by/data-table-order-by.tsx +4 -1
  326. package/src/components/table/data-table/data-table-root/data-table-root.tsx +3 -3
  327. package/src/components/table/data-table/data-table-search/data-table-search.tsx +1 -1
  328. package/src/components/table/save-view-dialog/index.ts +1 -0
  329. package/src/components/table/save-view-dialog/save-view-dialog.tsx +163 -0
  330. package/src/components/table/save-view-dropdown/index.ts +1 -0
  331. package/src/components/table/save-view-dropdown/save-view-dropdown.tsx +88 -0
  332. package/src/components/table/view-selector/index.ts +2 -0
  333. package/src/components/table/view-selector/view-pills.tsx +265 -0
  334. package/src/components/table/view-selector/view-selector.tsx +253 -0
  335. package/src/components/utilities/i18n/i18n.tsx +9 -1
  336. package/src/dashboard-app/dashboard-app.tsx +22 -0
  337. package/src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx +1 -1
  338. package/src/dashboard-app/routes/get-route.map.tsx +124 -1
  339. package/src/dashboard-app/types.ts +7 -0
  340. package/src/hooks/api/campaigns.tsx +1 -0
  341. package/src/hooks/api/feature-flags.tsx +22 -0
  342. package/src/hooks/api/index.ts +3 -0
  343. package/src/hooks/api/inventory.tsx +7 -1
  344. package/src/hooks/api/orders.tsx +61 -1
  345. package/src/hooks/api/payments.tsx +6 -1
  346. package/src/hooks/api/plugins.tsx +28 -0
  347. package/src/hooks/api/products.tsx +55 -1
  348. package/src/hooks/api/promotions.tsx +17 -3
  349. package/src/hooks/api/refund-reasons.tsx +105 -10
  350. package/src/hooks/api/shipping-option-types.tsx +128 -0
  351. package/src/hooks/api/tax-regions.tsx +24 -0
  352. package/src/hooks/api/views.tsx +244 -0
  353. package/src/hooks/table/columns/index.ts +1 -0
  354. package/src/hooks/table/columns/use-column-state.ts +209 -0
  355. package/src/hooks/table/columns/use-configurable-table-columns.tsx +109 -0
  356. package/src/hooks/table/columns/use-order-data-table-columns.tsx +234 -0
  357. package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +39 -0
  358. package/src/hooks/table/columns/use-shipping-option-table-columns.tsx +89 -0
  359. package/src/hooks/table/columns/use-shipping-option-type-table-columns.tsx +44 -0
  360. package/src/hooks/table/filters/use-product-table-filters.tsx +3 -0
  361. package/src/hooks/table/filters/use-shipping-option-table-filters.tsx +10 -19
  362. package/src/hooks/table/filters/use-shipping-option-type-table-filters.tsx +5 -0
  363. package/src/hooks/table/query/index.ts +1 -0
  364. package/src/hooks/table/query/use-order-table-query.tsx +1 -1
  365. package/src/hooks/table/query/use-product-variant-table-query.tsx +32 -0
  366. package/src/hooks/table/query/use-promotion-table-query.tsx +3 -2
  367. package/src/hooks/table/query/use-refund-reason-table-query.tsx +32 -0
  368. package/src/hooks/table/query/use-shipping-option-table-query.tsx +16 -4
  369. package/src/hooks/table/query/use-shipping-option-type-table-query.tsx +32 -0
  370. package/src/hooks/table/use-table-configuration.tsx +287 -0
  371. package/src/hooks/use-combobox-data.tsx +27 -3
  372. package/src/hooks/use-debounced-search.tsx +1 -1
  373. package/src/hooks/use-document-direction.tsx +54 -0
  374. package/src/hooks/use-view-configurations.tsx +102 -0
  375. package/src/i18n/config.ts +2 -5
  376. package/src/i18n/languages.ts +35 -0
  377. package/src/i18n/translations/$schema.json +818 -33
  378. package/src/i18n/translations/ar.json +8 -4
  379. package/src/i18n/translations/bg.json +8 -4
  380. package/src/i18n/translations/bs.json +3016 -0
  381. package/src/i18n/translations/cs.json +136 -14
  382. package/src/i18n/translations/de.json +42 -38
  383. package/src/i18n/translations/el.json +8 -4
  384. package/src/i18n/translations/en.json +239 -25
  385. package/src/i18n/translations/es.json +344 -28
  386. package/src/i18n/translations/fa.json +8 -4
  387. package/src/i18n/translations/fr.json +8 -4
  388. package/src/i18n/translations/he.json +3017 -0
  389. package/src/i18n/translations/hu.json +3005 -0
  390. package/src/i18n/translations/id.json +3020 -0
  391. package/src/i18n/translations/index.ts +20 -1
  392. package/src/i18n/translations/it.json +8 -4
  393. package/src/i18n/translations/ja.json +8 -4
  394. package/src/i18n/translations/ko.json +234 -212
  395. package/src/i18n/translations/lt.json +8 -4
  396. package/src/i18n/translations/mk.json +8 -4
  397. package/src/i18n/translations/mn.json +8 -4
  398. package/src/i18n/translations/nl.json +3005 -0
  399. package/src/i18n/translations/pl.json +149 -30
  400. package/src/i18n/translations/ptBR.json +8 -4
  401. package/src/i18n/translations/ro.json +8 -4
  402. package/src/i18n/translations/ru.json +8 -4
  403. package/src/i18n/translations/th.json +8 -4
  404. package/src/i18n/translations/tr.json +8 -4
  405. package/src/i18n/translations/uk.json +8 -4
  406. package/src/i18n/translations/vi.json +56 -8
  407. package/src/i18n/translations/zhCN.json +106 -17
  408. package/src/lib/common.ts +13 -0
  409. package/src/lib/credit-line.ts +8 -0
  410. package/src/lib/data/countries.ts +7 -7
  411. package/src/lib/data/country-states.ts +9 -0
  412. package/src/lib/data/currencies.ts +18 -0
  413. package/src/lib/format-currency.ts +1 -1
  414. package/src/lib/number-helper.ts +19 -0
  415. package/src/lib/orders.ts +23 -0
  416. package/src/lib/percentage-helpers.ts +1 -0
  417. package/src/lib/plugins.ts +7 -0
  418. package/src/lib/promotions.ts +3 -1
  419. package/src/lib/shipping-options.ts +43 -0
  420. package/src/lib/table/cell-renderers.tsx +313 -0
  421. package/src/lib/table/entity-adapters.tsx +138 -0
  422. package/src/lib/table/entity-defaults.ts +73 -0
  423. package/src/lib/table/field-utils.ts +75 -0
  424. package/src/lib/table/table-adapters.ts +94 -0
  425. package/src/lib/table-display-utils.tsx +372 -0
  426. package/src/module.d.ts +6 -0
  427. package/src/providers/feature-flag-provider/index.tsx +46 -0
  428. package/src/providers/i18n-provider/i18n-provider.tsx +9 -4
  429. package/src/providers/keybind-provider/hooks.tsx +1 -1
  430. package/src/providers/providers.tsx +6 -4
  431. package/src/routes/api-key-management/api-key-management-detail/components/api-key-sales-channel-section/api-key-sales-channel-section.tsx +1 -0
  432. package/src/routes/api-key-management/api-key-management-list/components/api-key-management-list-table/api-key-management-list-table.tsx +1 -1
  433. package/src/routes/campaigns/campaign-create/components/create-campaign-form/create-campaign-form.tsx +8 -2
  434. package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +20 -9
  435. package/src/routes/campaigns/campaign-detail/components/campaign-spend/campaign-spend.tsx +6 -4
  436. package/src/routes/campaigns/campaign-list/components/campaign-list-table.tsx +1 -1
  437. package/src/routes/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx +61 -6
  438. package/src/routes/campaigns/common/constants.ts +1 -0
  439. package/src/routes/categories/category-create/components/create-category-form/create-category-details.tsx +12 -3
  440. package/src/routes/categories/category-create/components/create-category-form/create-category-form.tsx +4 -3
  441. package/src/routes/categories/category-detail/components/category-organize-section/category-organize-section.tsx +1 -1
  442. package/src/routes/categories/category-edit/components/edit-category-form/edit-category-form.tsx +12 -3
  443. package/src/routes/categories/category-products/components/edit-category-products-form/edit-category-products-form.tsx +10 -8
  444. package/src/routes/collections/collection-add-products/components/add-products-to-collection-form/add-products-to-collection-form.tsx +10 -8
  445. package/src/routes/collections/collection-create/components/create-collection-form/create-collection-form.tsx +22 -19
  446. package/src/routes/customer-groups/customer-group-add-customers/components/add-customers-form/add-customers-form.tsx +16 -14
  447. package/src/routes/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx +3 -1
  448. package/src/routes/inventory/inventory-detail/components/inventory-item-location-levels.tsx +1 -1
  449. package/src/routes/inventory/inventory-detail/components/inventory-item-reservations.tsx +1 -1
  450. package/src/routes/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx +1 -1
  451. package/src/routes/inventory/inventory-detail/components/location-levels-table/location-list-table.tsx +12 -18
  452. package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +79 -6
  453. package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-query.tsx +9 -21
  454. package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-item.tsx +2 -2
  455. package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-search-input.tsx +34 -0
  456. package/src/routes/inventory/inventory-detail/components/manage-locations/components/manage-locations-form.tsx +127 -140
  457. package/src/routes/locations/common/components/conditional-price-form/conditional-price-form.tsx +1 -1
  458. package/src/routes/locations/location-edit/components/edit-location-form/edit-location-form.tsx +2 -3
  459. package/src/routes/locations/location-list/index.ts +0 -1
  460. package/src/routes/locations/location-list/location-list.tsx +61 -15
  461. package/src/routes/locations/location-list/use-location-list-table-columns.tsx +185 -0
  462. package/src/routes/locations/location-list/use-location-list-table-query.tsx +22 -0
  463. package/src/routes/locations/location-sales-channels/components/edit-sales-channels-form/edit-sales-channels-form.tsx +1 -1
  464. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +40 -5
  465. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +4 -7
  466. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/schema.ts +1 -0
  467. package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +84 -4
  468. package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +28 -11
  469. package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-item.tsx +2 -2
  470. package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/utils.ts +28 -0
  471. package/src/routes/orders/order-balance-settlement/components/order-balance-settlement-form/index.ts +1 -0
  472. package/src/routes/orders/order-balance-settlement/components/order-balance-settlement-form/order-balance-settlement-form.tsx +396 -0
  473. package/src/routes/orders/order-balance-settlement/index.ts +1 -0
  474. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +49 -18
  475. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-outbound-item.tsx +1 -1
  476. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-outbound-section.tsx +7 -10
  477. package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-create-form.tsx +2 -1
  478. package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-item.tsx +1 -1
  479. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +38 -16
  480. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-outbound-item.tsx +1 -1
  481. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-outbound-section.tsx +7 -10
  482. package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +32 -30
  483. package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-item.tsx +71 -16
  484. package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +122 -79
  485. package/src/routes/orders/order-create-refund/order-create-refund.tsx +7 -14
  486. package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +16 -9
  487. package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +108 -44
  488. package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +20 -12
  489. package/src/routes/orders/order-detail/components/order-fulfillment-section/order-fulfillment-section.tsx +30 -13
  490. package/src/routes/orders/order-detail/components/order-payment-section/order-payment-section.tsx +104 -16
  491. package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +270 -116
  492. package/src/routes/orders/order-detail/constants.ts +11 -1
  493. package/src/routes/orders/order-detail/order-detail.tsx +4 -2
  494. package/src/routes/orders/order-list/components/order-list-table/components/save-view-dropdown.tsx +81 -0
  495. package/src/routes/orders/order-list/components/order-list-table/configurable-order-list-table.tsx +16 -0
  496. package/src/routes/orders/order-list/components/order-list-table/constants.ts +14 -0
  497. package/src/routes/orders/order-list/components/order-list-table/hooks/use-order-data-table-columns.tsx +153 -0
  498. package/src/routes/orders/order-list/components/order-list-table/order-list-table.tsx +10 -1
  499. package/src/routes/orders/order-list/components/order-list-table/order-table-adapter.tsx +68 -0
  500. package/src/routes/orders/order-list/components/order-list-table/use-order-table-filters.tsx +62 -0
  501. package/src/routes/orders/order-list/const.ts +2 -2
  502. package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +2 -1
  503. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-create-form.tsx +3 -1
  504. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-details-form.tsx +8 -2
  505. package/src/routes/price-lists/price-list-detail/components/price-list-product-section/price-list-product-section.tsx +1 -1
  506. package/src/routes/price-lists/price-list-edit/components/price-list-edit-form/edit-price-list-form.tsx +12 -3
  507. package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-form.tsx +10 -5
  508. package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-product-ids-form.tsx +1 -0
  509. package/src/routes/product-tags/product-tag-detail/product-tag-detail.tsx +1 -0
  510. package/src/routes/product-tags/product-tag-metadata/index.ts +1 -0
  511. package/src/routes/product-tags/product-tag-metadata/product-tag-metadata.tsx +26 -0
  512. package/src/routes/product-types/product-type-metadata/index.ts +1 -0
  513. package/src/routes/product-types/product-type-metadata/product-type-metadata.tsx +26 -0
  514. package/src/routes/product-variants/product-variant-detail/components/variant-media-section/index.ts +1 -0
  515. package/src/routes/product-variants/product-variant-detail/components/variant-media-section/variant-media-section.tsx +77 -0
  516. package/src/routes/product-variants/product-variant-detail/constants.ts +1 -1
  517. package/src/routes/product-variants/product-variant-detail/product-variant-detail.tsx +2 -0
  518. package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +4 -0
  519. package/src/routes/product-variants/product-variant-manage-inventory-items/components/manage-variant-inventory-items-form/manage-variant-inventory-items-form.tsx +183 -115
  520. package/src/routes/product-variants/product-variant-media/components/edit-product-variant-media-form/edit-product-variant-media-form.tsx +434 -0
  521. package/src/routes/product-variants/product-variant-media/components/edit-product-variant-media-form/index.ts +1 -0
  522. package/src/routes/product-variants/product-variant-media/index.ts +1 -0
  523. package/src/routes/product-variants/product-variant-media/product-variant-media.tsx +38 -0
  524. package/src/routes/products/common/components/category-combobox/category-combobox.tsx +11 -11
  525. package/src/routes/products/product-attributes/components/product-attributes-form/product-attributes-form.tsx +8 -4
  526. package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-general-section/product-create-general-section.tsx +4 -4
  527. package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/product-create-details-variant-section.tsx +23 -30
  528. package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +3 -1
  529. package/src/routes/products/product-create/components/product-create-inventory-kit-form/components/product-create-inventory-kit-section/product-create-inventory-kit-section.tsx +148 -109
  530. package/src/routes/products/product-create/components/product-create-organize-form/components/product-create-sales-channel-stacked-modal/product-create-sales-channel-drawer.tsx +1 -1
  531. package/src/routes/products/product-create-variant/components/create-product-variant-form/create-product-variant-form.tsx +10 -5
  532. package/src/routes/products/product-create-variant/components/create-product-variant-form/details-tab.tsx +6 -1
  533. package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +6 -1
  534. package/src/routes/products/product-detail/components/product-media-section/product-media-section.tsx +15 -3
  535. package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +21 -28
  536. package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +7 -2
  537. package/src/routes/products/product-export/product-export.tsx +15 -15
  538. package/src/routes/products/product-image-variants-edit/components/variants-table-form/index.ts +1 -0
  539. package/src/routes/products/product-image-variants-edit/components/variants-table-form/variants-table-form.tsx +264 -0
  540. package/src/routes/products/product-image-variants-edit/index.ts +1 -0
  541. package/src/routes/products/product-image-variants-edit/product-image-variants-edit.tsx +61 -0
  542. package/src/routes/products/product-import/helpers/import-template.ts +6 -7
  543. package/src/routes/products/product-list/components/product-list-table/configurable-product-list-table.tsx +26 -0
  544. package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +10 -2
  545. package/src/routes/products/product-list/components/product-list-table/product-table-adapter.tsx +51 -0
  546. package/src/routes/products/product-list/components/product-list-table/use-product-table-filters.tsx +104 -0
  547. package/src/routes/products/product-media/components/edit-product-media-form/edit-product-media-form.tsx +1 -0
  548. package/src/routes/products/product-media/components/product-media-gallery/product-media-gallery.tsx +3 -3
  549. package/src/routes/products/product-stock/hooks/use-product-stock-columns.tsx +2 -1
  550. package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +9 -3
  551. package/src/routes/promotions/common/edit-rules/components/edit-rules-form/edit-rules-form.tsx +8 -1
  552. package/src/routes/promotions/common/edit-rules/components/edit-rules-form/form-schema.ts +3 -0
  553. package/src/routes/promotions/common/edit-rules/components/rule-value-form-field/rule-value-form-field.tsx +36 -5
  554. package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +59 -8
  555. package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +48 -49
  556. package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/campaign-details.tsx +29 -2
  557. package/src/routes/promotions/promotion-add-campaign/promotion-add-campaign.tsx +4 -21
  558. package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +195 -80
  559. package/src/routes/promotions/promotion-create/components/create-promotion-form/form-schema.ts +5 -3
  560. package/src/routes/promotions/promotion-create/components/create-promotion-form/templates.ts +56 -5
  561. package/src/routes/promotions/promotion-detail/components/promotion-conditions-section/promotion-conditions-section.tsx +9 -3
  562. package/src/routes/promotions/promotion-detail/components/promotion-general-section/promotion-general-section.tsx +16 -0
  563. package/src/routes/promotions/promotion-detail/promotion-detail.tsx +4 -0
  564. package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +242 -122
  565. package/src/routes/promotions/promotion-list/components/promotion-list-table/promotion-list-table.tsx +1 -1
  566. package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +1 -0
  567. package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +177 -0
  568. package/src/routes/refund-reasons/refund-reason-create/index.ts +1 -0
  569. package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +10 -0
  570. package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +1 -0
  571. package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +141 -0
  572. package/src/routes/refund-reasons/refund-reason-edit/index.ts +1 -0
  573. package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +33 -0
  574. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +1 -0
  575. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +138 -0
  576. package/src/routes/refund-reasons/refund-reason-list/index.ts +2 -0
  577. package/src/routes/refund-reasons/refund-reason-list/loader.ts +16 -0
  578. package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +21 -0
  579. package/src/routes/regions/region-add-countries/components/add-countries-form/add-countries-form.tsx +12 -12
  580. package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +40 -24
  581. package/src/routes/regions/region-create/region-create.tsx +1 -10
  582. package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +33 -11
  583. package/src/routes/regions/region-edit/region-edit.tsx +0 -5
  584. package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +3 -1
  585. package/src/routes/reservations/reservation-list/components/reservation-list-table/use-reservation-table-query.tsx +2 -1
  586. package/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/create-sales-channel-form.tsx +2 -0
  587. package/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/edit-sales-channel-form.tsx +2 -0
  588. package/src/routes/shipping-option-types/common/hooks/use-delete-shipping-option-type-action.tsx +43 -0
  589. package/src/routes/shipping-option-types/shipping-option-type-create/components/create-shipping-option-type-form/create-shipping-option-type-form.tsx +168 -0
  590. package/src/routes/shipping-option-types/shipping-option-type-create/components/create-shipping-option-type-form/index.ts +1 -0
  591. package/src/routes/shipping-option-types/shipping-option-type-create/index.ts +1 -0
  592. package/src/routes/shipping-option-types/shipping-option-type-create/shipping-option-type-create.tsx +10 -0
  593. package/src/routes/shipping-option-types/shipping-option-type-detail/breadcrumb.tsx +24 -0
  594. package/src/routes/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/index.ts +1 -0
  595. package/src/routes/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx +66 -0
  596. package/src/routes/shipping-option-types/shipping-option-type-detail/index.ts +3 -0
  597. package/src/routes/shipping-option-types/shipping-option-type-detail/loader.ts +19 -0
  598. package/src/routes/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx +46 -0
  599. package/src/routes/shipping-option-types/shipping-option-type-edit/components/edit-shipping-option-type-form/edit-shipping-option-type-form.tsx +145 -0
  600. package/src/routes/shipping-option-types/shipping-option-type-edit/components/edit-shipping-option-type-form/index.ts +1 -0
  601. package/src/routes/shipping-option-types/shipping-option-type-edit/index.ts +1 -0
  602. package/src/routes/shipping-option-types/shipping-option-type-edit/shipping-option-type-edit.tsx +31 -0
  603. package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/index.ts +1 -0
  604. package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-list-table.tsx +99 -0
  605. package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-table-row-actions.tsx +44 -0
  606. package/src/routes/shipping-option-types/shipping-option-type-list/index.ts +1 -0
  607. package/src/routes/shipping-option-types/shipping-option-type-list/shipping-option-type-list.tsx +18 -0
  608. package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +2 -0
  609. package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +9 -4
  610. package/src/routes/tax-regions/common/components/target-form/target-form.tsx +157 -6
  611. package/src/routes/tax-regions/common/components/target-item/target-item.tsx +15 -2
  612. package/src/routes/tax-regions/common/components/tax-override-card/tax-override-card.tsx +33 -13
  613. package/src/routes/tax-regions/common/components/tax-region-card/tax-region-card.tsx +23 -5
  614. package/src/routes/tax-regions/common/constants.ts +1 -0
  615. package/src/routes/tax-regions/tax-region-create/components/tax-region-create-form/tax-region-create-form.tsx +70 -10
  616. package/src/routes/tax-regions/tax-region-detail/tax-region-detail.tsx +4 -2
  617. package/src/routes/tax-regions/tax-region-detail/tax-region-provider-section/index.ts +1 -0
  618. package/src/routes/tax-regions/tax-region-detail/tax-region-provider-section/tax-region-provider-section.tsx +28 -0
  619. package/src/routes/tax-regions/tax-region-edit/components/tax-region-edit/index.ts +1 -0
  620. package/src/routes/tax-regions/tax-region-edit/components/tax-region-edit/tax-region-edit-form.tsx +109 -0
  621. package/src/routes/tax-regions/tax-region-edit/index.ts +1 -0
  622. package/src/routes/tax-regions/tax-region-edit/tax-region-edit.tsx +33 -0
  623. package/src/routes/tax-regions/tax-region-province-create/components/tax-region-province-create-form/tax-region-province-create-form.tsx +2 -1
  624. package/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-detail-section/tax-region-detail-section.tsx +1 -0
  625. package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +29 -2
  626. package/src/routes/tax-regions/tax-region-tax-override-edit/components/tax-region-tax-override-edit-form/tax-region-tax-override-edit-form.tsx +59 -14
  627. package/src/routes/tax-regions/tax-region-tax-override-edit/tax-region-tax-override-edit.tsx +95 -51
  628. package/src/routes/tax-regions/tax-region-tax-override-edit/types.ts +4 -3
  629. package/src/routes/tax-regions/tax-region-tax-rate-create/components/tax-region-tax-rate-create-form/tax-region-tax-rate-create-form.tsx +1 -0
  630. package/src/routes/tax-regions/tax-region-tax-rate-edit/components/tax-region-tax-rate-edit-form/tax-region-tax-rate-edit-form.tsx +1 -0
  631. package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +3 -2
  632. package/src/utils/column-utils.ts +71 -0
  633. package/dist/chunk-4GJJIXM6.mjs +0 -64
  634. package/dist/chunk-ACBS6KFT.mjs +0 -51
  635. package/dist/chunk-BKJC5BGQ.mjs +0 -53
  636. package/dist/chunk-CLRTJ6DI.mjs +0 -164
  637. package/dist/chunk-DDV2HJEV.mjs +0 -318
  638. package/dist/chunk-DFA6WGYO.mjs +0 -115
  639. package/dist/chunk-GH77ZQI2.mjs +0 -36
  640. package/dist/chunk-I5HYE2RW.mjs +0 -31
  641. package/dist/chunk-K7S5TX6I.mjs +0 -142
  642. package/dist/chunk-M3VFKDXJ.mjs +0 -62
  643. package/dist/chunk-MW4K5NNY.mjs +0 -69
  644. package/dist/chunk-OPZDUI6B.mjs +0 -5241
  645. package/dist/chunk-R2O6QX4D.mjs +0 -16
  646. package/dist/chunk-TD3LLNM6.mjs +0 -383
  647. package/dist/chunk-V3MOBCDF.mjs +0 -10
  648. package/dist/chunk-YEDAFXMB.mjs +0 -57
  649. package/dist/chunk-YRY2CZ6I.mjs +0 -73
  650. package/dist/collection-create-PXO6DJS3.mjs +0 -124
  651. package/dist/location-list-5UJ6CSA7.mjs +0 -286
  652. package/dist/location-service-zone-shipping-option-edit-ODUEKZON.mjs +0 -277
  653. package/dist/manage-locations-E7YAZVH2.mjs +0 -236
  654. package/dist/order-create-refund-FXUURAS7.mjs +0 -298
  655. package/dist/order-list-D4WMVRA2.mjs +0 -146
  656. package/dist/product-list-BGBZJ5WX.mjs +0 -262
  657. package/dist/product-variant-manage-inventory-items-BKFYUODS.mjs +0 -306
  658. package/dist/promotion-edit-details-D6M646E6.mjs +0 -377
  659. package/dist/region-edit-PXIMLBFB.mjs +0 -285
  660. package/src/routes/inventory/inventory-detail/components/location-levels-table/location-actions.tsx +0 -62
  661. package/src/routes/locations/location-list/components/location-list-header/index.ts +0 -1
  662. package/src/routes/locations/location-list/components/location-list-header/location-list-header.tsx +0 -21
  663. package/src/routes/locations/location-list/loader.ts +0 -36
@@ -1,9 +1,6 @@
1
- import {
2
- LinkButton
3
- } from "./chunk-6WKBBTKM.mjs";
4
1
  import {
5
2
  useDeleteProductCategoryAction
6
- } from "./chunk-TP7N4YBP.mjs";
3
+ } from "./chunk-EQKJ5FSL.mjs";
7
4
  import {
8
5
  getCategoryChildren,
9
6
  getCategoryPath,
@@ -11,32 +8,34 @@ import {
11
8
  getIsInternalProps
12
9
  } from "./chunk-54IEHX46.mjs";
13
10
  import {
14
- useProductTableColumns
15
- } from "./chunk-G3QXMPRB.mjs";
11
+ LinkButton
12
+ } from "./chunk-6WKBBTKM.mjs";
16
13
  import {
17
- useProductTableQuery
18
- } from "./chunk-PCFUZKDS.mjs";
14
+ useProductTableColumns
15
+ } from "./chunk-BW322BVH.mjs";
16
+ import "./chunk-XLDQPLK4.mjs";
19
17
  import "./chunk-IQBAUTU5.mjs";
20
18
  import "./chunk-ADOCJB6L.mjs";
21
- import "./chunk-LQTHYS2Z.mjs";
22
19
  import "./chunk-P3UUX2T6.mjs";
20
+ import "./chunk-LQTHYS2Z.mjs";
23
21
  import {
24
22
  _DataTable,
25
23
  useDataTable
26
- } from "./chunk-O6K7WXYN.mjs";
27
- import "./chunk-YEDAFXMB.mjs";
28
- import "./chunk-AOFGTNG6.mjs";
24
+ } from "./chunk-PJ5EUKOB.mjs";
25
+ import "./chunk-HQKGZADC.mjs";
29
26
  import "./chunk-EMIHDNB7.mjs";
27
+ import {
28
+ useProductTableQuery
29
+ } from "./chunk-PCFUZKDS.mjs";
30
30
  import {
31
31
  useProductTableFilters
32
- } from "./chunk-2WQFRVK5.mjs";
33
- import "./chunk-CIE5NZAY.mjs";
34
- import "./chunk-M3VFKDXJ.mjs";
32
+ } from "./chunk-6IXLTZ2H.mjs";
33
+ import "./chunk-FKIOYL3D.mjs";
35
34
  import {
36
35
  TwoColumnPage
37
- } from "./chunk-2RQLKDBF.mjs";
36
+ } from "./chunk-GIZFNLKK.mjs";
38
37
  import "./chunk-C76H5USB.mjs";
39
- import "./chunk-PWBTCXBJ.mjs";
38
+ import "./chunk-PFKKVLZX.mjs";
40
39
  import "./chunk-MNXC6Q4F.mjs";
41
40
  import {
42
41
  useExtension
@@ -47,42 +46,43 @@ import {
47
46
  } from "./chunk-LPEUYMRK.mjs";
48
47
  import {
49
48
  ActionMenu
50
- } from "./chunk-3NJTXRIY.mjs";
49
+ } from "./chunk-OZPB6JBL.mjs";
51
50
  import "./chunk-OC7BQLYI.mjs";
52
- import "./chunk-6UX3SSRT.mjs";
53
- import "./chunk-CLRTJ6DI.mjs";
51
+ import "./chunk-S4DMV3ZT.mjs";
52
+ import "./chunk-67ORSRVT.mjs";
53
+ import "./chunk-KXRW6JRE.mjs";
54
54
  import "./chunk-KOSCMAIC.mjs";
55
- import "./chunk-UAZEQNCO.mjs";
56
- import "./chunk-LDJKJLBJ.mjs";
55
+ import "./chunk-X6DSNTTX.mjs";
56
+ import "./chunk-I6E6CALJ.mjs";
57
57
  import "./chunk-B4GODIOW.mjs";
58
- import "./chunk-F6IJV2I2.mjs";
58
+ import "./chunk-N4N4KGET.mjs";
59
59
  import "./chunk-QTCZFYFH.mjs";
60
60
  import "./chunk-ENV6YVOM.mjs";
61
61
  import "./chunk-PIR2H25N.mjs";
62
- import "./chunk-RLY2SL5E.mjs";
63
62
  import "./chunk-C5LYZZZ5.mjs";
63
+ import "./chunk-RLY2SL5E.mjs";
64
64
  import "./chunk-2ZKVRTBW.mjs";
65
- import "./chunk-4GJJIXM6.mjs";
66
- import "./chunk-YS65UGPC.mjs";
65
+ import "./chunk-XYHXWLTJ.mjs";
67
66
  import "./chunk-F6PXCY3N.mjs";
68
- import "./chunk-3OHH43G6.mjs";
69
- import "./chunk-G2H6MAK7.mjs";
67
+ import "./chunk-IXZVR3HG.mjs";
68
+ import "./chunk-R2G2B47Y.mjs";
70
69
  import "./chunk-GRT22PE5.mjs";
71
70
  import "./chunk-32IQRUVY.mjs";
72
- import "./chunk-RWU2ZKWZ.mjs";
73
- import "./chunk-FVC7M755.mjs";
71
+ import "./chunk-WTK7SR6S.mjs";
72
+ import "./chunk-6XWHQ6ON.mjs";
74
73
  import {
75
74
  categoriesQueryKeys,
76
75
  useProductCategory,
77
76
  useUpdateProductCategoryProducts
78
- } from "./chunk-ZJ3OFMHB.mjs";
79
- import "./chunk-PNU5HPGY.mjs";
77
+ } from "./chunk-MQALAB34.mjs";
78
+ import "./chunk-OGAZYXOV.mjs";
79
+ import "./chunk-KX4P5L3R.mjs";
80
80
  import "./chunk-V2LANK5S.mjs";
81
81
  import "./chunk-QZ6PT4QV.mjs";
82
82
  import "./chunk-QL4XKIVL.mjs";
83
83
  import {
84
84
  useProducts
85
- } from "./chunk-6I62UDJA.mjs";
85
+ } from "./chunk-4BGVSXZZ.mjs";
86
86
  import {
87
87
  queryClient
88
88
  } from "./chunk-FXYH54JP.mjs";
@@ -90,7 +90,7 @@ import "./chunk-774WSTCC.mjs";
90
90
  import {
91
91
  sdk
92
92
  } from "./chunk-DEQUVHHE.mjs";
93
- import "./chunk-GH77ZQI2.mjs";
93
+ import "./chunk-QZ7TP4HQ.mjs";
94
94
 
95
95
  // src/routes/categories/category-detail/breadcrumb.tsx
96
96
  import { jsx } from "react/jsx-runtime";
@@ -258,7 +258,7 @@ var PathDisplay = ({
258
258
  children: /* @__PURE__ */ jsx3(Text2, { size: "xsmall", leading: "compact", weight: "plus", children: "..." })
259
259
  }
260
260
  ) }),
261
- /* @__PURE__ */ jsx3("div", { className: "flex size-[15px] shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx3(TriangleRightMini, {}) }),
261
+ /* @__PURE__ */ jsx3("div", { className: "flex size-[15px] shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx3(TriangleRightMini, { className: "rtl:rotate-180" }) }),
262
262
  /* @__PURE__ */ jsx3(
263
263
  Text2,
264
264
  {
@@ -8,19 +8,22 @@ import {
8
8
  import {
9
9
  RouteDrawer,
10
10
  useRouteModal
11
- } from "./chunk-ZCO6EK4W.mjs";
11
+ } from "./chunk-AERWK3TJ.mjs";
12
+ import {
13
+ useDocumentDirection
14
+ } from "./chunk-S4DMV3ZT.mjs";
12
15
  import {
13
16
  Form
14
17
  } from "./chunk-OBQI23QM.mjs";
15
18
  import {
16
19
  useProductCategory,
17
20
  useUpdateProductCategory
18
- } from "./chunk-ZJ3OFMHB.mjs";
19
- import "./chunk-6I62UDJA.mjs";
21
+ } from "./chunk-MQALAB34.mjs";
22
+ import "./chunk-4BGVSXZZ.mjs";
20
23
  import "./chunk-FXYH54JP.mjs";
21
24
  import "./chunk-774WSTCC.mjs";
22
25
  import "./chunk-DEQUVHHE.mjs";
23
- import "./chunk-GH77ZQI2.mjs";
26
+ import "./chunk-QZ7TP4HQ.mjs";
24
27
 
25
28
  // src/routes/categories/category-edit/category-edit.tsx
26
29
  import { Heading } from "@medusajs/ui";
@@ -44,6 +47,7 @@ var EditCategorySchema = z.object({
44
47
  var EditCategoryForm = ({ category }) => {
45
48
  const { t } = useTranslation();
46
49
  const { handleSuccess } = useRouteModal();
50
+ const direction = useDocumentDirection();
47
51
  const form = useForm({
48
52
  defaultValues: {
49
53
  name: category.name,
@@ -135,13 +139,21 @@ var EditCategoryForm = ({ category }) => {
135
139
  render: ({ field: { ref, onChange, ...field } }) => {
136
140
  return /* @__PURE__ */ jsxs(Form.Item, { children: [
137
141
  /* @__PURE__ */ jsx(Form.Label, { children: t("categories.fields.status.label") }),
138
- /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(Select, { ...field, onValueChange: onChange, children: [
139
- /* @__PURE__ */ jsx(Select.Trigger, { ref, children: /* @__PURE__ */ jsx(Select.Value, {}) }),
140
- /* @__PURE__ */ jsxs(Select.Content, { children: [
141
- /* @__PURE__ */ jsx(Select.Item, { value: "active", children: t("categories.fields.status.active") }),
142
- /* @__PURE__ */ jsx(Select.Item, { value: "inactive", children: t("categories.fields.status.inactive") })
143
- ] })
144
- ] }) }),
142
+ /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
143
+ Select,
144
+ {
145
+ dir: direction,
146
+ ...field,
147
+ onValueChange: onChange,
148
+ children: [
149
+ /* @__PURE__ */ jsx(Select.Trigger, { ref, children: /* @__PURE__ */ jsx(Select.Value, {}) }),
150
+ /* @__PURE__ */ jsxs(Select.Content, { children: [
151
+ /* @__PURE__ */ jsx(Select.Item, { value: "active", children: t("categories.fields.status.active") }),
152
+ /* @__PURE__ */ jsx(Select.Item, { value: "inactive", children: t("categories.fields.status.inactive") })
153
+ ] })
154
+ ]
155
+ }
156
+ ) }),
145
157
  /* @__PURE__ */ jsx(Form.ErrorMessage, {})
146
158
  ] });
147
159
  }
@@ -155,13 +167,21 @@ var EditCategoryForm = ({ category }) => {
155
167
  render: ({ field: { ref, onChange, ...field } }) => {
156
168
  return /* @__PURE__ */ jsxs(Form.Item, { children: [
157
169
  /* @__PURE__ */ jsx(Form.Label, { children: t("categories.fields.visibility.label") }),
158
- /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(Select, { ...field, onValueChange: onChange, children: [
159
- /* @__PURE__ */ jsx(Select.Trigger, { ref, children: /* @__PURE__ */ jsx(Select.Value, {}) }),
160
- /* @__PURE__ */ jsxs(Select.Content, { children: [
161
- /* @__PURE__ */ jsx(Select.Item, { value: "public", children: t("categories.fields.visibility.public") }),
162
- /* @__PURE__ */ jsx(Select.Item, { value: "internal", children: t("categories.fields.visibility.internal") })
163
- ] })
164
- ] }) }),
170
+ /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
171
+ Select,
172
+ {
173
+ dir: direction,
174
+ ...field,
175
+ onValueChange: onChange,
176
+ children: [
177
+ /* @__PURE__ */ jsx(Select.Trigger, { ref, children: /* @__PURE__ */ jsx(Select.Value, {}) }),
178
+ /* @__PURE__ */ jsxs(Select.Content, { children: [
179
+ /* @__PURE__ */ jsx(Select.Item, { value: "public", children: t("categories.fields.visibility.public") }),
180
+ /* @__PURE__ */ jsx(Select.Item, { value: "internal", children: t("categories.fields.visibility.internal") })
181
+ ] })
182
+ ]
183
+ }
184
+ ) }),
165
185
  /* @__PURE__ */ jsx(Form.ErrorMessage, {})
166
186
  ] });
167
187
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-MSDRGCRR.mjs";
5
5
  import {
6
6
  useDeleteProductCategoryAction
7
- } from "./chunk-TP7N4YBP.mjs";
7
+ } from "./chunk-EQKJ5FSL.mjs";
8
8
  import {
9
9
  getCategoryPath,
10
10
  getIsActiveProps,
@@ -13,41 +13,40 @@ import {
13
13
  import {
14
14
  StatusCell
15
15
  } from "./chunk-ADOCJB6L.mjs";
16
- import "./chunk-LQTHYS2Z.mjs";
17
16
  import "./chunk-P3UUX2T6.mjs";
17
+ import "./chunk-LQTHYS2Z.mjs";
18
18
  import {
19
19
  _DataTable,
20
20
  useDataTable
21
- } from "./chunk-O6K7WXYN.mjs";
22
- import "./chunk-YEDAFXMB.mjs";
23
- import "./chunk-AOFGTNG6.mjs";
21
+ } from "./chunk-PJ5EUKOB.mjs";
22
+ import "./chunk-HQKGZADC.mjs";
24
23
  import "./chunk-EMIHDNB7.mjs";
25
- import "./chunk-CIE5NZAY.mjs";
26
- import "./chunk-M3VFKDXJ.mjs";
24
+ import "./chunk-FKIOYL3D.mjs";
27
25
  import {
28
26
  SingleColumnPage
29
- } from "./chunk-2RQLKDBF.mjs";
27
+ } from "./chunk-GIZFNLKK.mjs";
30
28
  import {
31
29
  useQueryParams
32
30
  } from "./chunk-C76H5USB.mjs";
33
- import "./chunk-PWBTCXBJ.mjs";
31
+ import "./chunk-PFKKVLZX.mjs";
34
32
  import {
35
33
  useExtension
36
34
  } from "./chunk-C5P5PL3E.mjs";
37
35
  import "./chunk-LPEUYMRK.mjs";
38
36
  import {
39
37
  ActionMenu
40
- } from "./chunk-3NJTXRIY.mjs";
38
+ } from "./chunk-OZPB6JBL.mjs";
41
39
  import "./chunk-OC7BQLYI.mjs";
42
- import "./chunk-6UX3SSRT.mjs";
40
+ import "./chunk-S4DMV3ZT.mjs";
41
+ import "./chunk-67ORSRVT.mjs";
43
42
  import {
44
43
  useProductCategories
45
- } from "./chunk-ZJ3OFMHB.mjs";
46
- import "./chunk-6I62UDJA.mjs";
44
+ } from "./chunk-MQALAB34.mjs";
45
+ import "./chunk-4BGVSXZZ.mjs";
47
46
  import "./chunk-FXYH54JP.mjs";
48
47
  import "./chunk-774WSTCC.mjs";
49
48
  import "./chunk-DEQUVHHE.mjs";
50
- import "./chunk-GH77ZQI2.mjs";
49
+ import "./chunk-QZ7TP4HQ.mjs";
51
50
 
52
51
  // src/routes/categories/category-list/components/category-list-table/category-list-table.tsx
53
52
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -1,16 +1,15 @@
1
1
  import {
2
2
  CategoryTree
3
- } from "./chunk-4UY4U2B5.mjs";
4
- import "./chunk-ACBS6KFT.mjs";
3
+ } from "./chunk-XDCNT5GQ.mjs";
5
4
  import {
6
5
  RouteFocusModal
7
- } from "./chunk-ZCO6EK4W.mjs";
6
+ } from "./chunk-AERWK3TJ.mjs";
8
7
  import "./chunk-OBQI23QM.mjs";
9
8
  import {
10
9
  categoriesQueryKeys,
11
10
  useProductCategories
12
- } from "./chunk-ZJ3OFMHB.mjs";
13
- import "./chunk-6I62UDJA.mjs";
11
+ } from "./chunk-MQALAB34.mjs";
12
+ import "./chunk-4BGVSXZZ.mjs";
14
13
  import {
15
14
  queryClient
16
15
  } from "./chunk-FXYH54JP.mjs";
@@ -18,7 +17,7 @@ import "./chunk-774WSTCC.mjs";
18
17
  import {
19
18
  sdk
20
19
  } from "./chunk-DEQUVHHE.mjs";
21
- import "./chunk-GH77ZQI2.mjs";
20
+ import "./chunk-QZ7TP4HQ.mjs";
22
21
 
23
22
  // src/routes/categories/category-organize/components/organize-category-form/organize-category-form.tsx
24
23
  import { useMutation } from "@tanstack/react-query";
@@ -1,27 +1,26 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-G3QXMPRB.mjs";
4
- import {
5
- useProductTableQuery
6
- } from "./chunk-PCFUZKDS.mjs";
3
+ } from "./chunk-BW322BVH.mjs";
4
+ import "./chunk-XLDQPLK4.mjs";
7
5
  import "./chunk-IQBAUTU5.mjs";
8
6
  import "./chunk-ADOCJB6L.mjs";
9
- import "./chunk-LQTHYS2Z.mjs";
10
7
  import "./chunk-P3UUX2T6.mjs";
8
+ import "./chunk-LQTHYS2Z.mjs";
11
9
  import {
12
10
  _DataTable,
13
11
  useDataTable
14
- } from "./chunk-O6K7WXYN.mjs";
15
- import "./chunk-YEDAFXMB.mjs";
16
- import "./chunk-AOFGTNG6.mjs";
12
+ } from "./chunk-PJ5EUKOB.mjs";
13
+ import "./chunk-HQKGZADC.mjs";
17
14
  import "./chunk-EMIHDNB7.mjs";
15
+ import {
16
+ useProductTableQuery
17
+ } from "./chunk-PCFUZKDS.mjs";
18
18
  import {
19
19
  useProductTableFilters
20
- } from "./chunk-2WQFRVK5.mjs";
21
- import "./chunk-CIE5NZAY.mjs";
22
- import "./chunk-M3VFKDXJ.mjs";
20
+ } from "./chunk-6IXLTZ2H.mjs";
21
+ import "./chunk-FKIOYL3D.mjs";
23
22
  import "./chunk-C76H5USB.mjs";
24
- import "./chunk-PWBTCXBJ.mjs";
23
+ import "./chunk-PFKKVLZX.mjs";
25
24
  import "./chunk-IUCDCPJU.mjs";
26
25
  import {
27
26
  KeyboundForm
@@ -29,47 +28,48 @@ import {
29
28
  import {
30
29
  RouteFocusModal,
31
30
  useRouteModal
32
- } from "./chunk-ZCO6EK4W.mjs";
31
+ } from "./chunk-AERWK3TJ.mjs";
33
32
  import "./chunk-MNXC6Q4F.mjs";
34
33
  import "./chunk-LPEUYMRK.mjs";
35
- import "./chunk-6UX3SSRT.mjs";
34
+ import "./chunk-S4DMV3ZT.mjs";
35
+ import "./chunk-67ORSRVT.mjs";
36
36
  import "./chunk-OBQI23QM.mjs";
37
- import "./chunk-CLRTJ6DI.mjs";
37
+ import "./chunk-KXRW6JRE.mjs";
38
38
  import "./chunk-KOSCMAIC.mjs";
39
- import "./chunk-UAZEQNCO.mjs";
40
- import "./chunk-LDJKJLBJ.mjs";
39
+ import "./chunk-X6DSNTTX.mjs";
40
+ import "./chunk-I6E6CALJ.mjs";
41
41
  import "./chunk-B4GODIOW.mjs";
42
- import "./chunk-F6IJV2I2.mjs";
42
+ import "./chunk-N4N4KGET.mjs";
43
43
  import "./chunk-QTCZFYFH.mjs";
44
44
  import "./chunk-ENV6YVOM.mjs";
45
45
  import "./chunk-PIR2H25N.mjs";
46
- import "./chunk-RLY2SL5E.mjs";
47
46
  import "./chunk-C5LYZZZ5.mjs";
47
+ import "./chunk-RLY2SL5E.mjs";
48
48
  import "./chunk-2ZKVRTBW.mjs";
49
- import "./chunk-4GJJIXM6.mjs";
50
- import "./chunk-YS65UGPC.mjs";
49
+ import "./chunk-XYHXWLTJ.mjs";
51
50
  import "./chunk-F6PXCY3N.mjs";
52
- import "./chunk-3OHH43G6.mjs";
53
- import "./chunk-G2H6MAK7.mjs";
51
+ import "./chunk-IXZVR3HG.mjs";
52
+ import "./chunk-R2G2B47Y.mjs";
54
53
  import "./chunk-GRT22PE5.mjs";
55
54
  import "./chunk-32IQRUVY.mjs";
56
- import "./chunk-RWU2ZKWZ.mjs";
57
- import "./chunk-FVC7M755.mjs";
55
+ import "./chunk-WTK7SR6S.mjs";
56
+ import "./chunk-6XWHQ6ON.mjs";
58
57
  import {
59
58
  useProductCategory,
60
59
  useUpdateProductCategoryProducts
61
- } from "./chunk-ZJ3OFMHB.mjs";
62
- import "./chunk-PNU5HPGY.mjs";
60
+ } from "./chunk-MQALAB34.mjs";
61
+ import "./chunk-OGAZYXOV.mjs";
62
+ import "./chunk-KX4P5L3R.mjs";
63
63
  import "./chunk-V2LANK5S.mjs";
64
64
  import "./chunk-QZ6PT4QV.mjs";
65
65
  import "./chunk-QL4XKIVL.mjs";
66
66
  import {
67
67
  useProducts
68
- } from "./chunk-6I62UDJA.mjs";
68
+ } from "./chunk-4BGVSXZZ.mjs";
69
69
  import "./chunk-FXYH54JP.mjs";
70
70
  import "./chunk-774WSTCC.mjs";
71
71
  import "./chunk-DEQUVHHE.mjs";
72
- import "./chunk-GH77ZQI2.mjs";
72
+ import "./chunk-QZ7TP4HQ.mjs";
73
73
 
74
74
  // src/routes/categories/category-products/category-products.tsx
75
75
  import { useParams } from "react-router-dom";
@@ -177,11 +177,7 @@ var EditCategoryProductsForm = ({
177
177
  onSubmit: handleSubmit,
178
178
  className: "flex h-full flex-col overflow-hidden",
179
179
  children: [
180
- /* @__PURE__ */ jsx(RouteFocusModal.Header, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2", children: [
181
- form.formState.errors.product_ids && /* @__PURE__ */ jsx(Hint, { variant: "error", children: form.formState.errors.product_ids.message }),
182
- /* @__PURE__ */ jsx(RouteFocusModal.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: t("actions.cancel") }) }),
183
- /* @__PURE__ */ jsx(Button, { size: "small", type: "submit", isLoading: isMutating, children: t("actions.save") })
184
- ] }) }),
180
+ /* @__PURE__ */ jsx(RouteFocusModal.Header, { children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-end gap-x-2", children: form.formState.errors.product_ids && /* @__PURE__ */ jsx(Hint, { variant: "error", children: form.formState.errors.product_ids.message }) }) }),
185
181
  /* @__PURE__ */ jsx(RouteFocusModal.Body, { className: "size-full overflow-hidden", children: /* @__PURE__ */ jsx(
186
182
  _DataTable,
187
183
  {
@@ -202,7 +198,11 @@ var EditCategoryProductsForm = ({
202
198
  pagination: true,
203
199
  search: "autofocus"
204
200
  }
205
- ) })
201
+ ) }),
202
+ /* @__PURE__ */ jsxs(RouteFocusModal.Footer, { children: [
203
+ /* @__PURE__ */ jsx(RouteFocusModal.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: t("actions.cancel") }) }),
204
+ /* @__PURE__ */ jsx(Button, { size: "small", type: "submit", isLoading: isMutating, children: t("actions.save") })
205
+ ] })
206
206
  ]
207
207
  }
208
208
  ) });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDate
3
- } from "./chunk-PWBTCXBJ.mjs";
3
+ } from "./chunk-PFKKVLZX.mjs";
4
4
 
5
5
  // src/components/data-table/helpers/general/use-data-table-date-columns.tsx
6
6
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useSalesChannels
3
- } from "./chunk-PNU5HPGY.mjs";
3
+ } from "./chunk-OGAZYXOV.mjs";
4
4
  import {
5
5
  useRegions
6
6
  } from "./chunk-QZ6PT4QV.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DateCell
3
- } from "./chunk-LU7VJVTE.mjs";
3
+ } from "./chunk-SJ3E4T6B.mjs";
4
4
  import {
5
5
  StatusCell
6
6
  } from "./chunk-ADOCJB6L.mjs";
@@ -16,11 +16,31 @@ var useProductTagTableFilters = () => {
16
16
 
17
17
  // src/hooks/table/filters/use-shipping-option-table-filters.tsx
18
18
  import { useTranslation } from "react-i18next";
19
+ var useShippingOptionTableFilters = (locations) => {
20
+ const { t } = useTranslation();
21
+ const locationFilter = {
22
+ key: "stock_location_id",
23
+ label: t("fields.location"),
24
+ type: "select",
25
+ options: locations.map((l) => ({ label: l.name, value: l.id }))
26
+ };
27
+ const dateFilters = [
28
+ { label: t("fields.createdAt"), key: "created_at" },
29
+ { label: t("fields.updatedAt"), key: "updated_at" }
30
+ ].map((f) => ({
31
+ key: f.key,
32
+ label: f.label,
33
+ type: "date"
34
+ }));
35
+ const filters = [locationFilter, ...dateFilters];
36
+ return filters;
37
+ };
19
38
 
20
39
  // src/hooks/table/filters/use-tax-rate-table-filters.tsx
21
40
  import { useTranslation as useTranslation2 } from "react-i18next";
22
41
 
23
42
  export {
24
43
  useCollectionTableFilters,
25
- useProductTagTableFilters
44
+ useProductTagTableFilters,
45
+ useShippingOptionTableFilters
26
46
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-RWU2ZKWZ.mjs";
3
+ } from "./chunk-WTK7SR6S.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-GE4APTT2.mjs";
6
+ } from "./chunk-WEMXXZMY.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
@@ -0,0 +1,44 @@
1
+ import {
2
+ MoneyAmountCell
3
+ } from "./chunk-INE2QCSC.mjs";
4
+ import {
5
+ PlaceholderCell
6
+ } from "./chunk-P3UUX2T6.mjs";
7
+
8
+ // src/components/table/table-cells/order/display-id-cell/display-id-cell.tsx
9
+ import { useTranslation } from "react-i18next";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ var DisplayIdCell = ({ displayId }) => {
12
+ if (!displayId) {
13
+ return /* @__PURE__ */ jsx(PlaceholderCell, {});
14
+ }
15
+ return /* @__PURE__ */ jsx("div", { className: "text-ui-fg-subtle txt-compact-small flex h-full w-full items-center overflow-hidden", children: /* @__PURE__ */ jsxs("span", { className: "truncate", children: [
16
+ "#",
17
+ displayId
18
+ ] }) });
19
+ };
20
+ var DisplayIdHeader = () => {
21
+ const { t } = useTranslation();
22
+ return /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center", children: /* @__PURE__ */ jsx("span", { className: "truncate", children: t("fields.order") }) });
23
+ };
24
+
25
+ // src/components/table/table-cells/order/total-cell/total-cell.tsx
26
+ import { useTranslation as useTranslation2 } from "react-i18next";
27
+ import { jsx as jsx2 } from "react/jsx-runtime";
28
+ var TotalCell = ({ currencyCode, total }) => {
29
+ if (!total) {
30
+ return /* @__PURE__ */ jsx2(PlaceholderCell, {});
31
+ }
32
+ return /* @__PURE__ */ jsx2(MoneyAmountCell, { currencyCode, amount: total, align: "right" });
33
+ };
34
+ var TotalHeader = () => {
35
+ const { t } = useTranslation2();
36
+ return /* @__PURE__ */ jsx2("div", { className: "flex h-full w-full items-center justify-end", children: /* @__PURE__ */ jsx2("span", { className: "truncate", children: t("fields.total") }) });
37
+ };
38
+
39
+ export {
40
+ DisplayIdCell,
41
+ DisplayIdHeader,
42
+ TotalCell,
43
+ TotalHeader
44
+ };
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-6GU6IDUA.mjs";
11
11
  import {
12
12
  i18n
13
- } from "./chunk-5ZEHQCGN.mjs";
13
+ } from "./chunk-PMA2D6IL.mjs";
14
14
  import {
15
15
  Form
16
16
  } from "./chunk-OBQI23QM.mjs";
@@ -6,7 +6,7 @@ import {
6
6
  } from "@tanstack/react-query";
7
7
 
8
8
  // src/hooks/use-debounced-search.tsx
9
- import debounce from "lodash/debounce";
9
+ import debounce from "lodash.debounce";
10
10
  import { useCallback, useEffect, useState } from "react";
11
11
  var useDebouncedSearch = () => {
12
12
  const [searchValue, onSearchValueChange] = useState("");
@@ -33,13 +33,14 @@ var useComboboxData = ({
33
33
  getOptions,
34
34
  defaultValue,
35
35
  defaultValueKey,
36
+ selectedValue,
36
37
  pageSize = 10,
37
38
  enabled = true
38
39
  }) => {
39
40
  const { searchValue, onSearchValueChange, query } = useDebouncedSearch();
40
41
  const queryInitialDataBy = defaultValueKey || "id";
41
42
  const { data: initialData } = useQuery({
42
- queryKey,
43
+ queryKey: [...queryKey, defaultValue].filter(Boolean),
43
44
  queryFn: async () => {
44
45
  return queryFn({
45
46
  [queryInitialDataBy]: defaultValue,
@@ -48,8 +49,19 @@ var useComboboxData = ({
48
49
  },
49
50
  enabled: !!defaultValue && enabled
50
51
  });
52
+ const { data: selectedData } = useQuery({
53
+ queryKey: [...queryKey, selectedValue].filter(Boolean),
54
+ queryFn: async () => {
55
+ return queryFn({
56
+ id: selectedValue,
57
+ limit: 1
58
+ });
59
+ },
60
+ enabled: !!selectedValue && enabled
61
+ });
51
62
  const { data, ...rest } = useInfiniteQuery({
52
- queryKey: [...queryKey, query],
63
+ // prevent infinite query response shape beeing stored under regualr list reponse QKs
64
+ queryKey: [...queryKey, "_cbx_", query].filter(Boolean),
53
65
  queryFn: async ({ pageParam = 0 }) => {
54
66
  return await queryFn({
55
67
  q: query,
@@ -67,6 +79,7 @@ var useComboboxData = ({
67
79
  });
68
80
  const options = data?.pages.flatMap((page) => getOptions(page)) ?? [];
69
81
  const defaultOptions = initialData ? getOptions(initialData) : [];
82
+ const selectedOptions = selectedData ? getOptions(selectedData) : [];
70
83
  const disabled = !rest.isPending && !options.length && !searchValue || !enabled;
71
84
  if (defaultValue && defaultOptions.length && !searchValue) {
72
85
  defaultOptions.forEach((option) => {
@@ -75,6 +88,13 @@ var useComboboxData = ({
75
88
  }
76
89
  });
77
90
  }
91
+ if (selectedValue && selectedOptions.length) {
92
+ selectedOptions.forEach((option) => {
93
+ if (!options.find((o) => o.value === option.value)) {
94
+ options.unshift(option);
95
+ }
96
+ });
97
+ }
78
98
  return {
79
99
  options,
80
100
  searchValue,