@medusajs/dashboard 2.10.4-preview-20250924120212 → 2.10.4-preview-20250924180206

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 (168) hide show
  1. package/dist/{add-campaign-promotions-APV4J7Z2.mjs → add-campaign-promotions-3BB3BLFD.mjs} +3 -3
  2. package/dist/{adjust-inventory-WBEBMJN7.mjs → adjust-inventory-OIJTAKHP.mjs} +1 -1
  3. package/dist/{api-key-management-create-VXPZX2Q5.mjs → api-key-management-create-XDQHUNWK.mjs} +3 -3
  4. package/dist/{api-key-management-detail-P2CXWYQG.mjs → api-key-management-detail-MM673US3.mjs} +10 -10
  5. package/dist/{api-key-management-edit-7CGMSHAY.mjs → api-key-management-edit-2SUSKI7T.mjs} +3 -3
  6. package/dist/{api-key-management-list-QAMBWB7T.mjs → api-key-management-list-C2WM4PHC.mjs} +3 -3
  7. package/dist/{api-key-management-sales-channels-ESGRJKDT.mjs → api-key-management-sales-channels-MVHVMPF6.mjs} +3 -3
  8. package/dist/app.js +4371 -4313
  9. package/dist/app.mjs +13 -12
  10. package/dist/{campaign-detail-CBO7PBOR.mjs → campaign-detail-G2VM7CRL.mjs} +13 -13
  11. package/dist/{categories-metadata-HNABPXTE.mjs → categories-metadata-M4PAATNV.mjs} +10 -10
  12. package/dist/{category-create-DJHTY4QX.mjs → category-create-GMFWRFT7.mjs} +2 -2
  13. package/dist/{category-detail-JUKMFR4W.mjs → category-detail-MTLPW4MR.mjs} +12 -12
  14. package/dist/{category-edit-JQQX7IZZ.mjs → category-edit-HCHER73V.mjs} +2 -2
  15. package/dist/{category-list-FOCNQKPH.mjs → category-list-IXW2NWWJ.mjs} +3 -3
  16. package/dist/{category-organize-BW3YOPUS.mjs → category-organize-LRQKM4LA.mjs} +2 -2
  17. package/dist/{category-products-CWLUKUVK.mjs → category-products-DGWKONYE.mjs} +11 -11
  18. package/dist/{chunk-2HKRIUW4.mjs → chunk-2PGNKUXS.mjs} +1 -1
  19. package/dist/{chunk-X4X5KUGQ.mjs → chunk-4QUHWHBD.mjs} +3 -0
  20. package/dist/{chunk-RFP4O5GO.mjs → chunk-A4GWVZB4.mjs} +2 -2
  21. package/dist/{chunk-2YP2ZNKR.mjs → chunk-AN5IILM2.mjs} +1 -1
  22. package/dist/{chunk-FGF5B6J4.mjs → chunk-DBN6UH2G.mjs} +477 -586
  23. package/dist/{chunk-KTBA6OOV.mjs → chunk-DKOCYXB5.mjs} +1 -0
  24. package/dist/{chunk-ZCZL3STK.mjs → chunk-EA5GGT2Q.mjs} +1 -1
  25. package/dist/{chunk-BSBCIU6C.mjs → chunk-EILZIUOP.mjs} +1 -1
  26. package/dist/{chunk-BFNH5UWD.mjs → chunk-EYTETK3W.mjs} +1 -1
  27. package/dist/{chunk-3S523T5F.mjs → chunk-G43AJZ7B.mjs} +1 -1
  28. package/dist/{chunk-CU5EFQSB.mjs → chunk-HOERC634.mjs} +1 -1
  29. package/dist/{chunk-YPDTZXV6.mjs → chunk-I2QEZTVU.mjs} +2 -2
  30. package/dist/{chunk-NUA3JO5E.mjs → chunk-IP2QPPWC.mjs} +1 -1
  31. package/dist/{chunk-YI4CZGTU.mjs → chunk-ITJEYJNB.mjs} +1 -1
  32. package/dist/{chunk-BM5ZIV5V.mjs → chunk-IXMPYDY2.mjs} +1 -1
  33. package/dist/{chunk-IYDBZI47.mjs → chunk-K2HM7KXJ.mjs} +1 -1
  34. package/dist/{chunk-OHSRRFGN.mjs → chunk-LKVQ5YC6.mjs} +1 -1
  35. package/dist/{chunk-QGCKTVQX.mjs → chunk-LMRZMI7O.mjs} +1 -1
  36. package/dist/{chunk-5M5ZVAWU.mjs → chunk-MSOFJHH3.mjs} +2 -2
  37. package/dist/{chunk-ZWWM2OU2.mjs → chunk-NFQXNOP7.mjs} +1 -1
  38. package/dist/{chunk-NCR5UWRI.mjs → chunk-NY6I2FYO.mjs} +1 -1
  39. package/dist/{chunk-HUX22ZHT.mjs → chunk-RF75BZNF.mjs} +3 -3
  40. package/dist/{chunk-4RG7UJCT.mjs → chunk-RGP3IXX4.mjs} +1 -1
  41. package/dist/{chunk-TOS3CYMH.mjs → chunk-SQFZWNYA.mjs} +1 -1
  42. package/dist/{chunk-KSRI5LOF.mjs → chunk-U25RCIX2.mjs} +2 -2
  43. package/dist/{chunk-TEMN4ESF.mjs → chunk-U4R5MBF2.mjs} +1 -1
  44. package/dist/chunk-VLOA5XAC.mjs +113 -0
  45. package/dist/{chunk-4Q4LIFFO.mjs → chunk-XP3BY6G6.mjs} +1 -1
  46. package/dist/{chunk-6IZUCU7K.mjs → chunk-YSFTQA6Y.mjs} +2 -2
  47. package/dist/{chunk-RMEITCLS.mjs → chunk-ZSDEVTFT.mjs} +1 -1
  48. package/dist/{collection-add-products-E22XLIP7.mjs → collection-add-products-KEB3ESAK.mjs} +11 -11
  49. package/dist/{collection-create-75ZI5NDG.mjs → collection-create-PTOF33H2.mjs} +2 -2
  50. package/dist/{collection-detail-LOJ6WZLT.mjs → collection-detail-V24IDEZQ.mjs} +11 -11
  51. package/dist/{collection-edit-RD6BDDDI.mjs → collection-edit-WM57WXJ2.mjs} +2 -2
  52. package/dist/{collection-list-KKEZLFLJ.mjs → collection-list-GD2IJYOP.mjs} +12 -12
  53. package/dist/{collection-metadata-MEA56JQC.mjs → collection-metadata-Z2JMXTHW.mjs} +10 -10
  54. package/dist/{customer-detail-Z5TU254N.mjs → customer-detail-E7LPLLML.mjs} +11 -11
  55. package/dist/{customer-group-detail-VCRUQIYD.mjs → customer-group-detail-5ZWHOJOD.mjs} +10 -10
  56. package/dist/{customer-group-list-MCQ4AUJF.mjs → customer-group-list-N22GDJVL.mjs} +10 -10
  57. package/dist/{customers-add-customer-group-X3VHASZ6.mjs → customers-add-customer-group-LFEUVS5G.mjs} +10 -10
  58. package/dist/{edit-inventory-item-ZPE4MMC4.mjs → edit-inventory-item-UV2Z7SYL.mjs} +1 -1
  59. package/dist/{edit-inventory-item-attributes-BMPRVCPN.mjs → edit-inventory-item-attributes-BRC3KBYT.mjs} +1 -1
  60. package/dist/{edit-reservation-QQTYP22N.mjs → edit-reservation-NYGQBFBO.mjs} +2 -2
  61. package/dist/{edit-rules-SVG7IOSY.mjs → edit-rules-BCGRJ4FJ.mjs} +10 -10
  62. package/dist/{inventory-create-DR5LNYQB.mjs → inventory-create-OPYAZF3M.mjs} +10 -10
  63. package/dist/{inventory-detail-D4MBCFS2.mjs → inventory-detail-PAVP7J2W.mjs} +16 -10
  64. package/dist/{inventory-list-HUYCKI2I.mjs → inventory-list-J5VZGQ2M.mjs} +1 -1
  65. package/dist/{inventory-metadata-T22JZF4O.mjs → inventory-metadata-PMQLZCHW.mjs} +10 -10
  66. package/dist/{inventory-stock-CPNDJYBD.mjs → inventory-stock-7QXMAX45.mjs} +10 -10
  67. package/dist/{location-detail-SG4X4HBT.mjs → location-detail-IXHZ7DZS.mjs} +10 -10
  68. package/dist/{location-fulfillment-providers-YNKCL3FV.mjs → location-fulfillment-providers-3KPC4HQT.mjs} +12 -12
  69. package/dist/{location-sales-channels-HVZHZMBY.mjs → location-sales-channels-66ZE3ZMI.mjs} +2 -2
  70. package/dist/{location-service-zone-shipping-option-create-PF7YJSC3.mjs → location-service-zone-shipping-option-create-PVQ66CXW.mjs} +10 -10
  71. package/dist/{login-23RIW4IY.mjs → login-DVYOEF5F.mjs} +10 -10
  72. package/dist/manage-locations-RPHTPGRE.mjs +247 -0
  73. package/dist/{order-allocate-items-NO5SVLS6.mjs → order-allocate-items-2RYXQRVK.mjs} +3 -3
  74. package/dist/{order-create-claim-LBA6UTTF.mjs → order-create-claim-FK4LIPAE.mjs} +12 -12
  75. package/dist/{order-create-edit-7GLQP5CD.mjs → order-create-edit-VGIWYKBB.mjs} +11 -11
  76. package/dist/{order-create-exchange-IXPHBHKP.mjs → order-create-exchange-BMRCMN5G.mjs} +12 -12
  77. package/dist/{order-create-fulfillment-5UJQFERR.mjs → order-create-fulfillment-NLGPRK4J.mjs} +10 -10
  78. package/dist/{order-create-refund-QZRNHK2D.mjs → order-create-refund-TEMK6IEQ.mjs} +45 -14
  79. package/dist/{order-create-return-AV4BEJDN.mjs → order-create-return-6FHAU3OZ.mjs} +4 -4
  80. package/dist/{order-create-shipment-TQJHHC7T.mjs → order-create-shipment-WCEZXWM6.mjs} +10 -10
  81. package/dist/{order-detail-NERZLT7X.mjs → order-detail-BYAGOF5M.mjs} +14 -14
  82. package/dist/{order-edit-billing-address-BMUX3GJL.mjs → order-edit-billing-address-MWF3L6GK.mjs} +10 -10
  83. package/dist/{order-edit-email-CS4AIJZS.mjs → order-edit-email-UDJOGYPP.mjs} +10 -10
  84. package/dist/{order-edit-shipping-address-GXSNNDBC.mjs → order-edit-shipping-address-O46U65WM.mjs} +10 -10
  85. package/dist/{order-list-YWPAJ7FR.mjs → order-list-VDUUHTSU.mjs} +4 -4
  86. package/dist/{order-metadata-KWZX64YP.mjs → order-metadata-SHCFZWCA.mjs} +10 -10
  87. package/dist/{order-receive-return-EXZAUMCI.mjs → order-receive-return-MC4DIRK3.mjs} +11 -11
  88. package/dist/{order-request-transfer-RLU2TK44.mjs → order-request-transfer-MELQKMC4.mjs} +10 -10
  89. package/dist/{price-list-configuration-HF3DARKG.mjs → price-list-configuration-VACKCKJF.mjs} +2 -2
  90. package/dist/{price-list-create-RHSKBROB.mjs → price-list-create-TZUDGP2J.mjs} +11 -11
  91. package/dist/{price-list-detail-7E2SZNKI.mjs → price-list-detail-DX74DH6G.mjs} +12 -12
  92. package/dist/{price-list-edit-COHKW6UK.mjs → price-list-edit-G73ZIU2Y.mjs} +2 -2
  93. package/dist/{price-list-list-55WD2WAY.mjs → price-list-list-QYZSJNF5.mjs} +3 -3
  94. package/dist/{price-list-prices-add-RM5FDABU.mjs → price-list-prices-add-IHMS7HIH.mjs} +11 -11
  95. package/dist/{price-list-prices-edit-SUZNOKK2.mjs → price-list-prices-edit-R53ITSDD.mjs} +2 -2
  96. package/dist/{product-attributes-K5EMRHFS.mjs → product-attributes-RMPKQ5KE.mjs} +14 -13
  97. package/dist/{product-create-5KQFXFJF.mjs → product-create-XZHAADGZ.mjs} +15 -14
  98. package/dist/{product-create-option-3JR35UZ5.mjs → product-create-option-OW2LMVST.mjs} +1 -1
  99. package/dist/{product-create-variant-37CVX4QI.mjs → product-create-variant-NKU6J7NG.mjs} +10 -10
  100. package/dist/{product-detail-UM6PIKWQ.mjs → product-detail-6JW2KCQA.mjs} +14 -13
  101. package/dist/{product-edit-QSCZEH74.mjs → product-edit-FGQ3YETD.mjs} +14 -13
  102. package/dist/{product-edit-option-VNDGZ37A.mjs → product-edit-option-OM56DLU6.mjs} +1 -1
  103. package/dist/{product-export-JNLDMDUS.mjs → product-export-W6KP2RGO.mjs} +12 -12
  104. package/dist/{product-import-CA75XMEH.mjs → product-import-P76MITMC.mjs} +10 -10
  105. package/dist/{product-list-XA5SJLXF.mjs → product-list-7H64APWI.mjs} +11 -11
  106. package/dist/{product-media-36YW62IO.mjs → product-media-TRKQTA4G.mjs} +3 -3
  107. package/dist/{product-metadata-JKWIAMVB.mjs → product-metadata-2G6DWHWG.mjs} +10 -10
  108. package/dist/{product-organization-YL4ZUCC4.mjs → product-organization-GXXT6SZY.mjs} +15 -14
  109. package/dist/{product-prices-4ZV5EXX5.mjs → product-prices-XLY5TUSJ.mjs} +1 -1
  110. package/dist/{product-sales-channels-UX7AOJIF.mjs → product-sales-channels-KSIHPDJG.mjs} +2 -2
  111. package/dist/{product-shipping-profile-PEIUF5AK.mjs → product-shipping-profile-GFSIYLGC.mjs} +14 -13
  112. package/dist/{product-stock-4XECV73O.mjs → product-stock-GAWLELSE.mjs} +10 -10
  113. package/dist/{product-tag-create-U5DAEOBS.mjs → product-tag-create-FVU5JRL3.mjs} +10 -10
  114. package/dist/{product-tag-detail-YB44E6JT.mjs → product-tag-detail-VMVPWMZK.mjs} +13 -13
  115. package/dist/{product-tag-edit-J3OPHCDJ.mjs → product-tag-edit-OWI3OFVF.mjs} +10 -10
  116. package/dist/{product-tag-list-6TGDOAMD.mjs → product-tag-list-YPIZII2D.mjs} +13 -13
  117. package/dist/{product-tag-metadata-VAHEGSFJ.mjs → product-tag-metadata-B4YBSHOH.mjs} +10 -10
  118. package/dist/{product-type-detail-EN3WAIVO.mjs → product-type-detail-243HFRBD.mjs} +11 -11
  119. package/dist/{product-type-metadata-R3YLZGY5.mjs → product-type-metadata-4YE4UEOF.mjs} +10 -10
  120. package/dist/{product-variant-detail-TYV4BYNG.mjs → product-variant-detail-LJE3IFNE.mjs} +10 -10
  121. package/dist/{product-variant-edit-YPQDVG5C.mjs → product-variant-edit-IGJIWVQQ.mjs} +10 -10
  122. package/dist/{product-variant-manage-inventory-items-LGRRKHT2.mjs → product-variant-manage-inventory-items-2M2KTPNK.mjs} +1 -1
  123. package/dist/{product-variant-metadata-DII5YHIK.mjs → product-variant-metadata-F6BGFMMS.mjs} +10 -10
  124. package/dist/{promotion-create-TLW6T5IO.mjs → promotion-create-YGHBTAFC.mjs} +10 -10
  125. package/dist/{promotion-detail-BYA66IL7.mjs → promotion-detail-BIC23HFR.mjs} +12 -12
  126. package/dist/{promotion-list-TOYJAQ4D.mjs → promotion-list-WDHOSD55.mjs} +3 -3
  127. package/dist/{refund-reason-create-D5DJVOXP.mjs → refund-reason-create-YCWLRRBW.mjs} +10 -10
  128. package/dist/{refund-reason-list-V7UO2NAY.mjs → refund-reason-list-7GANH7KL.mjs} +10 -10
  129. package/dist/{region-create-4C42KVB4.mjs → region-create-AFZTSM3N.mjs} +4 -4
  130. package/dist/{region-edit-CLE5VVRP.mjs → region-edit-DSYIUI7W.mjs} +4 -4
  131. package/dist/{region-metadata-23FQEWQ7.mjs → region-metadata-L5K6YENH.mjs} +10 -10
  132. package/dist/{reservation-create-CBWJLYHP.mjs → reservation-create-FV7QXGL3.mjs} +2 -2
  133. package/dist/{reservation-detail-USSX2THW.mjs → reservation-detail-USDAVGWH.mjs} +10 -10
  134. package/dist/{reservation-list-YNG7YKG2.mjs → reservation-list-NOWJUMXV.mjs} +2 -2
  135. package/dist/{reservation-metadata-PKWRLWNT.mjs → reservation-metadata-47C6RWYS.mjs} +10 -10
  136. package/dist/{reset-password-EKZEJXQU.mjs → reset-password-LCVV4NOA.mjs} +1 -1
  137. package/dist/{sales-channel-add-products-DKDV65UU.mjs → sales-channel-add-products-NGPN4IRB.mjs} +11 -11
  138. package/dist/{sales-channel-create-VW2UPYSI.mjs → sales-channel-create-NODWGJDD.mjs} +2 -2
  139. package/dist/{sales-channel-detail-JKJLEM4C.mjs → sales-channel-detail-IWWRX2Y3.mjs} +11 -11
  140. package/dist/{sales-channel-edit-OA6QPIHW.mjs → sales-channel-edit-ALIRERVH.mjs} +2 -2
  141. package/dist/{sales-channel-list-FOAVTG7H.mjs → sales-channel-list-LCPDOQK3.mjs} +10 -10
  142. package/dist/{sales-channel-metadata-3RXYX7U2.mjs → sales-channel-metadata-VZ4TINYG.mjs} +10 -10
  143. package/dist/{shipping-option-type-create-ZLYFQFYI.mjs → shipping-option-type-create-NOMFII5B.mjs} +10 -10
  144. package/dist/{shipping-option-type-detail-OMVJZSOI.mjs → shipping-option-type-detail-6XIJRVZ5.mjs} +11 -11
  145. package/dist/{shipping-option-type-edit-5XHFIDEZ.mjs → shipping-option-type-edit-PEDYL6JQ.mjs} +10 -10
  146. package/dist/{shipping-option-type-list-SGTTVHWK.mjs → shipping-option-type-list-GI5GBLIS.mjs} +11 -11
  147. package/dist/{shipping-profile-metadata-3TZDQ27Z.mjs → shipping-profile-metadata-ZOR7MQFF.mjs} +10 -10
  148. package/dist/{store-detail-72GMDFY7.mjs → store-detail-MZAKRCTC.mjs} +10 -10
  149. package/dist/{store-metadata-TXSRTL6B.mjs → store-metadata-GO4TXB3W.mjs} +10 -10
  150. package/dist/{tax-region-create-U6XXHBMJ.mjs → tax-region-create-KDCNQGPC.mjs} +11 -11
  151. package/dist/{tax-region-detail-V4E63XUI.mjs → tax-region-detail-O6U6ZVDB.mjs} +11 -11
  152. package/dist/{tax-region-edit-2DQPKIJG.mjs → tax-region-edit-T4B5DM55.mjs} +10 -10
  153. package/dist/{tax-region-province-detail-P6LPVSQJ.mjs → tax-region-province-detail-XH45ZAOJ.mjs} +11 -11
  154. package/dist/{tax-region-tax-override-create-BPZKBPN6.mjs → tax-region-tax-override-create-MSL7HEM6.mjs} +13 -13
  155. package/dist/{tax-region-tax-override-edit-O7LUBRQN.mjs → tax-region-tax-override-edit-AO6CYS62.mjs} +13 -13
  156. package/dist/{user-detail-ZIWKV6QD.mjs → user-detail-ZFW3YF3M.mjs} +1 -1
  157. package/dist/{user-metadata-TM3FFLIR.mjs → user-metadata-2CR2AK3U.mjs} +10 -10
  158. package/dist/{workflow-execution-detail-3IBZZVRE.mjs → workflow-execution-detail-ZD7OVL4W.mjs} +10 -10
  159. package/package.json +9 -9
  160. package/src/hooks/api/inventory.tsx +3 -0
  161. package/src/i18n/translations/$schema.json +4 -0
  162. package/src/i18n/translations/en.json +1 -0
  163. package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +7 -0
  164. package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-item.tsx +2 -2
  165. package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-search-input.tsx +34 -0
  166. package/src/routes/inventory/inventory-detail/components/manage-locations/components/manage-locations-form.tsx +127 -140
  167. package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +39 -1
  168. package/dist/manage-locations-3TBIUSHP.mjs +0 -236
@@ -5,6 +5,9 @@ import {
5
5
  import {
6
6
  isFetchError
7
7
  } from "./chunk-ONB3JEHR.mjs";
8
+ import {
9
+ InfiniteList
10
+ } from "./chunk-VLOA5XAC.mjs";
8
11
  import {
9
12
  useReturnReasons
10
13
  } from "./chunk-2VTICXJR.mjs";
@@ -13,7 +16,7 @@ import {
13
16
  } from "./chunk-D3YQN7HV.mjs";
14
17
  import {
15
18
  I18n
16
- } from "./chunk-KTBA6OOV.mjs";
19
+ } from "./chunk-DKOCYXB5.mjs";
17
20
  import {
18
21
  Thumbnail
19
22
  } from "./chunk-MNXC6Q4F.mjs";
@@ -47,7 +50,7 @@ import {
47
50
  useNotifications,
48
51
  useProductTags,
49
52
  useVariants
50
- } from "./chunk-BSBCIU6C.mjs";
53
+ } from "./chunk-EILZIUOP.mjs";
51
54
  import {
52
55
  useLogout
53
56
  } from "./chunk-KOSCMAIC.mjs";
@@ -56,7 +59,7 @@ import {
56
59
  } from "./chunk-I6E6CALJ.mjs";
57
60
  import {
58
61
  useApiKeys
59
- } from "./chunk-4RG7UJCT.mjs";
62
+ } from "./chunk-RGP3IXX4.mjs";
60
63
  import {
61
64
  useProductTypes
62
65
  } from "./chunk-B4GODIOW.mjs";
@@ -69,14 +72,14 @@ import {
69
72
  } from "./chunk-2ZKVRTBW.mjs";
70
73
  import {
71
74
  usePriceLists
72
- } from "./chunk-OHSRRFGN.mjs";
75
+ } from "./chunk-LKVQ5YC6.mjs";
73
76
  import {
74
77
  useCustomerGroups,
75
78
  useCustomers
76
79
  } from "./chunk-F6PXCY3N.mjs";
77
80
  import {
78
81
  useCollections
79
- } from "./chunk-NCR5UWRI.mjs";
82
+ } from "./chunk-NY6I2FYO.mjs";
80
83
  import {
81
84
  useCampaigns,
82
85
  usePromotions
@@ -86,13 +89,13 @@ import {
86
89
  } from "./chunk-32IQRUVY.mjs";
87
90
  import {
88
91
  useOrders
89
- } from "./chunk-KSRI5LOF.mjs";
92
+ } from "./chunk-U25RCIX2.mjs";
90
93
  import {
91
94
  useProductCategories
92
- } from "./chunk-BFNH5UWD.mjs";
95
+ } from "./chunk-EYTETK3W.mjs";
93
96
  import {
94
97
  useSalesChannels
95
- } from "./chunk-4Q4LIFFO.mjs";
98
+ } from "./chunk-XP3BY6G6.mjs";
96
99
  import {
97
100
  useStore
98
101
  } from "./chunk-V2LANK5S.mjs";
@@ -102,7 +105,7 @@ import {
102
105
  import {
103
106
  useInventoryItems,
104
107
  useProducts
105
- } from "./chunk-X4X5KUGQ.mjs";
108
+ } from "./chunk-4QUHWHBD.mjs";
106
109
  import {
107
110
  queryClient
108
111
  } from "./chunk-FXYH54JP.mjs";
@@ -1991,7 +1994,7 @@ import { SidebarLeft, TriangleRightMini, XMark } from "@medusajs/icons";
1991
1994
  import { IconButton as IconButton3, clx as clx4 } from "@medusajs/ui";
1992
1995
  import { AnimatePresence } from "motion/react";
1993
1996
  import { Dialog as RadixDialog2 } from "radix-ui";
1994
- import { useEffect as useEffect11, useState as useState10 } from "react";
1997
+ import { useEffect as useEffect10, useState as useState10 } from "react";
1995
1998
  import { useTranslation as useTranslation7 } from "react-i18next";
1996
1999
  import {
1997
2000
  Link,
@@ -2048,121 +2051,9 @@ import {
2048
2051
  } from "@medusajs/icons";
2049
2052
  import { clx as clx3, Drawer, Heading, IconButton as IconButton2, Text as Text3 } from "@medusajs/ui";
2050
2053
  import { formatDistance } from "date-fns";
2051
- import { useEffect as useEffect10, useState as useState9 } from "react";
2054
+ import { useEffect as useEffect9, useState as useState9 } from "react";
2052
2055
  import { useTranslation as useTranslation6 } from "react-i18next";
2053
-
2054
- // src/components/common/infinite-list/infinite-list.tsx
2055
- import { useInfiniteQuery } from "@tanstack/react-query";
2056
- import { useEffect as useEffect9, useMemo as useMemo4, useRef as useRef2 } from "react";
2057
- import { toast } from "@medusajs/ui";
2058
- import { Spinner as Spinner3 } from "@medusajs/icons";
2059
- import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
2060
- var InfiniteList = ({
2061
- queryKey,
2062
- queryFn,
2063
- queryOptions,
2064
- renderItem,
2065
- renderEmpty,
2066
- responseKey,
2067
- pageSize = 20
2068
- }) => {
2069
- const {
2070
- data,
2071
- error,
2072
- fetchNextPage,
2073
- fetchPreviousPage,
2074
- hasPreviousPage,
2075
- hasNextPage,
2076
- isFetching,
2077
- isPending
2078
- } = useInfiniteQuery({
2079
- queryKey,
2080
- queryFn: async ({ pageParam = 0 }) => {
2081
- return await queryFn({
2082
- limit: pageSize,
2083
- offset: pageParam
2084
- });
2085
- },
2086
- initialPageParam: 0,
2087
- maxPages: 5,
2088
- getNextPageParam: (lastPage) => {
2089
- const moreItemsExist = lastPage.count > lastPage.offset + lastPage.limit;
2090
- return moreItemsExist ? lastPage.offset + lastPage.limit : void 0;
2091
- },
2092
- getPreviousPageParam: (firstPage) => {
2093
- const moreItemsExist = firstPage.offset !== 0;
2094
- return moreItemsExist ? Math.max(firstPage.offset - firstPage.limit, 0) : void 0;
2095
- },
2096
- ...queryOptions
2097
- });
2098
- const items = useMemo4(() => {
2099
- return data?.pages.flatMap((p) => p[responseKey]) ?? [];
2100
- }, [data, responseKey]);
2101
- const parentRef = useRef2(null);
2102
- const startObserver = useRef2();
2103
- const endObserver = useRef2();
2104
- useEffect9(() => {
2105
- if (isPending) {
2106
- return;
2107
- }
2108
- if (!isFetching) {
2109
- startObserver.current = new IntersectionObserver(
2110
- (entries) => {
2111
- if (entries[0].isIntersecting && hasPreviousPage) {
2112
- startObserver.current?.disconnect();
2113
- fetchPreviousPage();
2114
- }
2115
- },
2116
- {
2117
- threshold: 0.5
2118
- }
2119
- );
2120
- endObserver.current = new IntersectionObserver(
2121
- (entries) => {
2122
- if (entries[0].isIntersecting && hasNextPage) {
2123
- endObserver.current?.disconnect();
2124
- fetchNextPage();
2125
- }
2126
- },
2127
- {
2128
- threshold: 0.5
2129
- }
2130
- );
2131
- if (parentRef.current?.firstChild) {
2132
- startObserver.current?.observe(parentRef.current.firstChild);
2133
- }
2134
- if (parentRef.current?.lastChild) {
2135
- endObserver.current?.observe(parentRef.current.lastChild);
2136
- }
2137
- }
2138
- return () => {
2139
- startObserver.current?.disconnect();
2140
- endObserver.current?.disconnect();
2141
- };
2142
- }, [
2143
- fetchNextPage,
2144
- fetchPreviousPage,
2145
- hasNextPage,
2146
- hasPreviousPage,
2147
- isFetching,
2148
- isPending
2149
- ]);
2150
- useEffect9(() => {
2151
- if (error) {
2152
- toast.error(error.message);
2153
- }
2154
- }, [error]);
2155
- if (isPending) {
2156
- return /* @__PURE__ */ jsx10("div", { className: "flex h-full flex-col items-center justify-center", children: /* @__PURE__ */ jsx10(Spinner3, { className: "animate-spin" }) });
2157
- }
2158
- return /* @__PURE__ */ jsxs5("div", { ref: parentRef, className: "h-full", children: [
2159
- items?.length ? items.map((item) => /* @__PURE__ */ jsx10("div", { children: renderItem(item) }, item.id)) : renderEmpty(),
2160
- isFetching && /* @__PURE__ */ jsx10("div", { className: "flex flex-col items-center justify-center py-4", children: /* @__PURE__ */ jsx10(Spinner3, { className: "animate-spin" }) })
2161
- ] });
2162
- };
2163
-
2164
- // src/components/layout/notifications/notifications.tsx
2165
- import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
2056
+ import { Fragment as Fragment2, jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
2166
2057
  var LAST_READ_NOTIFICATION_KEY = "notificationsLastReadAt";
2167
2058
  var Notifications = () => {
2168
2059
  const { t: t2 } = useTranslation6();
@@ -2171,7 +2062,7 @@ var Notifications = () => {
2171
2062
  const [lastReadAt, setLastReadAt] = useState9(
2172
2063
  localStorage.getItem(LAST_READ_NOTIFICATION_KEY)
2173
2064
  );
2174
- useEffect10(() => {
2065
+ useEffect9(() => {
2175
2066
  const onKeyDown = (e) => {
2176
2067
  if (e.key === "n" && (e.metaKey || e.ctrlKey)) {
2177
2068
  setOpen((prev) => !prev);
@@ -2192,31 +2083,31 @@ var Notifications = () => {
2192
2083
  setLastReadAt(localStorage.getItem(LAST_READ_NOTIFICATION_KEY));
2193
2084
  }
2194
2085
  };
2195
- return /* @__PURE__ */ jsxs6(Drawer, { open, onOpenChange: handleOnOpen, children: [
2196
- /* @__PURE__ */ jsx11(Drawer.Trigger, { asChild: true, children: /* @__PURE__ */ jsx11(
2086
+ return /* @__PURE__ */ jsxs5(Drawer, { open, onOpenChange: handleOnOpen, children: [
2087
+ /* @__PURE__ */ jsx10(Drawer.Trigger, { asChild: true, children: /* @__PURE__ */ jsx10(
2197
2088
  IconButton2,
2198
2089
  {
2199
2090
  variant: "transparent",
2200
2091
  size: "small",
2201
2092
  className: "text-ui-fg-muted hover:text-ui-fg-subtle",
2202
- children: hasUnread ? /* @__PURE__ */ jsx11(BellAlertDone, {}) : /* @__PURE__ */ jsx11(BellAlert, {})
2093
+ children: hasUnread ? /* @__PURE__ */ jsx10(BellAlertDone, {}) : /* @__PURE__ */ jsx10(BellAlert, {})
2203
2094
  }
2204
2095
  ) }),
2205
- /* @__PURE__ */ jsxs6(Drawer.Content, { children: [
2206
- /* @__PURE__ */ jsxs6(Drawer.Header, { children: [
2207
- /* @__PURE__ */ jsx11(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx11(Heading, { children: t2("notifications.domain") }) }),
2208
- /* @__PURE__ */ jsx11(Drawer.Description, { className: "sr-only", children: t2("notifications.accessibility.description") })
2096
+ /* @__PURE__ */ jsxs5(Drawer.Content, { children: [
2097
+ /* @__PURE__ */ jsxs5(Drawer.Header, { children: [
2098
+ /* @__PURE__ */ jsx10(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx10(Heading, { children: t2("notifications.domain") }) }),
2099
+ /* @__PURE__ */ jsx10(Drawer.Description, { className: "sr-only", children: t2("notifications.accessibility.description") })
2209
2100
  ] }),
2210
- /* @__PURE__ */ jsx11(Drawer.Body, { className: "overflow-y-auto px-0", children: /* @__PURE__ */ jsx11(
2101
+ /* @__PURE__ */ jsx10(Drawer.Body, { className: "overflow-y-auto px-0", children: /* @__PURE__ */ jsx10(
2211
2102
  InfiniteList,
2212
2103
  {
2213
2104
  responseKey: "notifications",
2214
2105
  queryKey: notificationQueryKeys.all,
2215
2106
  queryFn: (params) => sdk.admin.notification.list(params),
2216
2107
  queryOptions: { enabled: open },
2217
- renderEmpty: () => /* @__PURE__ */ jsx11(NotificationsEmptyState, { t: t2 }),
2108
+ renderEmpty: () => /* @__PURE__ */ jsx10(NotificationsEmptyState, { t: t2 }),
2218
2109
  renderItem: (notification) => {
2219
- return /* @__PURE__ */ jsx11(
2110
+ return /* @__PURE__ */ jsx10(
2220
2111
  Notification,
2221
2112
  {
2222
2113
  notification,
@@ -2238,14 +2129,14 @@ var Notification = ({
2238
2129
  if (!data?.title) {
2239
2130
  return null;
2240
2131
  }
2241
- return /* @__PURE__ */ jsx11(Fragment2, { children: /* @__PURE__ */ jsxs6("div", { className: "relative flex items-start justify-center gap-3 border-b p-6", children: [
2242
- /* @__PURE__ */ jsx11("div", { className: "text-ui-fg-muted flex size-5 items-center justify-center", children: /* @__PURE__ */ jsx11(InformationCircleSolid, {}) }),
2243
- /* @__PURE__ */ jsxs6("div", { className: "flex w-full flex-col gap-y-3", children: [
2244
- /* @__PURE__ */ jsxs6("div", { className: "flex flex-col", children: [
2245
- /* @__PURE__ */ jsxs6("div", { className: "flex items-center justify-between", children: [
2246
- /* @__PURE__ */ jsx11(Text3, { size: "small", leading: "compact", weight: "plus", children: data.title }),
2247
- /* @__PURE__ */ jsxs6("div", { className: "align-center flex items-center justify-center gap-2", children: [
2248
- /* @__PURE__ */ jsx11(
2132
+ return /* @__PURE__ */ jsx10(Fragment2, { children: /* @__PURE__ */ jsxs5("div", { className: "relative flex items-start justify-center gap-3 border-b p-6", children: [
2133
+ /* @__PURE__ */ jsx10("div", { className: "text-ui-fg-muted flex size-5 items-center justify-center", children: /* @__PURE__ */ jsx10(InformationCircleSolid, {}) }),
2134
+ /* @__PURE__ */ jsxs5("div", { className: "flex w-full flex-col gap-y-3", children: [
2135
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-col", children: [
2136
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", children: [
2137
+ /* @__PURE__ */ jsx10(Text3, { size: "small", leading: "compact", weight: "plus", children: data.title }),
2138
+ /* @__PURE__ */ jsxs5("div", { className: "align-center flex items-center justify-center gap-2", children: [
2139
+ /* @__PURE__ */ jsx10(
2249
2140
  Text3,
2250
2141
  {
2251
2142
  as: "span",
@@ -2260,7 +2151,7 @@ var Notification = ({
2260
2151
  })
2261
2152
  }
2262
2153
  ),
2263
- unread && /* @__PURE__ */ jsx11(
2154
+ unread && /* @__PURE__ */ jsx10(
2264
2155
  "div",
2265
2156
  {
2266
2157
  className: "bg-ui-bg-interactive h-2 w-2 rounded",
@@ -2269,7 +2160,7 @@ var Notification = ({
2269
2160
  )
2270
2161
  ] })
2271
2162
  ] }),
2272
- !!data.description && /* @__PURE__ */ jsx11(
2163
+ !!data.description && /* @__PURE__ */ jsx10(
2273
2164
  Text3,
2274
2165
  {
2275
2166
  className: "text-ui-fg-subtle whitespace-pre-line",
@@ -2278,7 +2169,7 @@ var Notification = ({
2278
2169
  }
2279
2170
  )
2280
2171
  ] }),
2281
- !!data?.file?.url && /* @__PURE__ */ jsx11(
2172
+ !!data?.file?.url && /* @__PURE__ */ jsx10(
2282
2173
  FilePreview,
2283
2174
  {
2284
2175
  filename: data.file.filename ?? "",
@@ -2290,10 +2181,10 @@ var Notification = ({
2290
2181
  ] }) });
2291
2182
  };
2292
2183
  var NotificationsEmptyState = ({ t: t2 }) => {
2293
- return /* @__PURE__ */ jsxs6("div", { className: "flex h-full flex-col items-center justify-center", children: [
2294
- /* @__PURE__ */ jsx11(BellAlertDone, {}),
2295
- /* @__PURE__ */ jsx11(Text3, { size: "small", leading: "compact", weight: "plus", className: "mt-3", children: t2("notifications.emptyState.title") }),
2296
- /* @__PURE__ */ jsx11(
2184
+ return /* @__PURE__ */ jsxs5("div", { className: "flex h-full flex-col items-center justify-center", children: [
2185
+ /* @__PURE__ */ jsx10(BellAlertDone, {}),
2186
+ /* @__PURE__ */ jsx10(Text3, { size: "small", leading: "compact", weight: "plus", className: "mt-3", children: t2("notifications.emptyState.title") }),
2187
+ /* @__PURE__ */ jsx10(
2297
2188
  Text3,
2298
2189
  {
2299
2190
  size: "small",
@@ -2310,7 +2201,7 @@ var useUnreadNotifications = () => {
2310
2201
  { refetchInterval: 6e4 }
2311
2202
  );
2312
2203
  const lastNotification = notifications?.[0];
2313
- useEffect10(() => {
2204
+ useEffect9(() => {
2314
2205
  if (!lastNotification) {
2315
2206
  return;
2316
2207
  }
@@ -2325,20 +2216,20 @@ var useUnreadNotifications = () => {
2325
2216
  };
2326
2217
 
2327
2218
  // src/components/layout/shell/shell.tsx
2328
- import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
2219
+ import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
2329
2220
  var Shell = ({ children }) => {
2330
2221
  const globalShortcuts = useGlobalShortcuts();
2331
2222
  const navigation = useNavigation();
2332
2223
  const loading = navigation.state === "loading";
2333
- return /* @__PURE__ */ jsx12(KeybindProvider, { shortcuts: globalShortcuts, children: /* @__PURE__ */ jsxs7("div", { className: "relative flex h-screen flex-col items-start overflow-hidden lg:flex-row", children: [
2334
- /* @__PURE__ */ jsx12(NavigationBar, { loading }),
2335
- /* @__PURE__ */ jsxs7("div", { children: [
2336
- /* @__PURE__ */ jsx12(MobileSidebarContainer, { children }),
2337
- /* @__PURE__ */ jsx12(DesktopSidebarContainer, { children })
2224
+ return /* @__PURE__ */ jsx11(KeybindProvider, { shortcuts: globalShortcuts, children: /* @__PURE__ */ jsxs6("div", { className: "relative flex h-screen flex-col items-start overflow-hidden lg:flex-row", children: [
2225
+ /* @__PURE__ */ jsx11(NavigationBar, { loading }),
2226
+ /* @__PURE__ */ jsxs6("div", { children: [
2227
+ /* @__PURE__ */ jsx11(MobileSidebarContainer, { children }),
2228
+ /* @__PURE__ */ jsx11(DesktopSidebarContainer, { children })
2338
2229
  ] }),
2339
- /* @__PURE__ */ jsxs7("div", { className: "flex h-screen w-full flex-col overflow-auto", children: [
2340
- /* @__PURE__ */ jsx12(Topbar, {}),
2341
- /* @__PURE__ */ jsx12(
2230
+ /* @__PURE__ */ jsxs6("div", { className: "flex h-screen w-full flex-col overflow-auto", children: [
2231
+ /* @__PURE__ */ jsx11(Topbar, {}),
2232
+ /* @__PURE__ */ jsx11(
2342
2233
  "main",
2343
2234
  {
2344
2235
  className: clx4(
@@ -2347,7 +2238,7 @@ var Shell = ({ children }) => {
2347
2238
  "opacity-25": loading
2348
2239
  }
2349
2240
  ),
2350
- children: /* @__PURE__ */ jsx12(Gutter, { children: /* @__PURE__ */ jsx12(Outlet2, {}) })
2241
+ children: /* @__PURE__ */ jsx11(Gutter, { children: /* @__PURE__ */ jsx11(Outlet2, {}) })
2351
2242
  }
2352
2243
  )
2353
2244
  ] })
@@ -2355,7 +2246,7 @@ var Shell = ({ children }) => {
2355
2246
  };
2356
2247
  var NavigationBar = ({ loading }) => {
2357
2248
  const [showBar, setShowBar] = useState10(false);
2358
- useEffect11(() => {
2249
+ useEffect10(() => {
2359
2250
  let timeout;
2360
2251
  if (loading) {
2361
2252
  timeout = setTimeout(() => {
@@ -2368,10 +2259,10 @@ var NavigationBar = ({ loading }) => {
2368
2259
  clearTimeout(timeout);
2369
2260
  };
2370
2261
  }, [loading]);
2371
- return /* @__PURE__ */ jsx12("div", { className: "fixed inset-x-0 top-0 z-50 h-1", children: /* @__PURE__ */ jsx12(AnimatePresence, { children: showBar ? /* @__PURE__ */ jsx12(ProgressBar, {}) : null }) });
2262
+ return /* @__PURE__ */ jsx11("div", { className: "fixed inset-x-0 top-0 z-50 h-1", children: /* @__PURE__ */ jsx11(AnimatePresence, { children: showBar ? /* @__PURE__ */ jsx11(ProgressBar, {}) : null }) });
2372
2263
  };
2373
2264
  var Gutter = ({ children }) => {
2374
- return /* @__PURE__ */ jsx12("div", { className: "flex w-full max-w-[1600px] flex-col gap-y-2 p-3", children });
2265
+ return /* @__PURE__ */ jsx11("div", { className: "flex w-full max-w-[1600px] flex-col gap-y-2 p-3", children });
2375
2266
  };
2376
2267
  var Breadcrumbs = () => {
2377
2268
  const matches = useMatches();
@@ -2390,7 +2281,7 @@ var Breadcrumbs = () => {
2390
2281
  path: match.pathname
2391
2282
  };
2392
2283
  }).filter(Boolean);
2393
- return /* @__PURE__ */ jsx12(
2284
+ return /* @__PURE__ */ jsx11(
2394
2285
  "ol",
2395
2286
  {
2396
2287
  className: clx4(
@@ -2399,17 +2290,17 @@ var Breadcrumbs = () => {
2399
2290
  children: crumbs.map((crumb, index) => {
2400
2291
  const isLast = index === crumbs.length - 1;
2401
2292
  const isSingle = crumbs.length === 1;
2402
- return /* @__PURE__ */ jsxs7("li", { className: clx4("flex items-center"), children: [
2403
- !isLast ? /* @__PURE__ */ jsx12(
2293
+ return /* @__PURE__ */ jsxs6("li", { className: clx4("flex items-center"), children: [
2294
+ !isLast ? /* @__PURE__ */ jsx11(
2404
2295
  Link,
2405
2296
  {
2406
2297
  className: "transition-fg hover:text-ui-fg-subtle",
2407
2298
  to: crumb.path,
2408
2299
  children: crumb.label
2409
2300
  }
2410
- ) : /* @__PURE__ */ jsxs7("div", { children: [
2411
- !isSingle && /* @__PURE__ */ jsx12("span", { className: "block lg:hidden", children: "..." }),
2412
- /* @__PURE__ */ jsx12(
2301
+ ) : /* @__PURE__ */ jsxs6("div", { children: [
2302
+ !isSingle && /* @__PURE__ */ jsx11("span", { className: "block lg:hidden", children: "..." }),
2303
+ /* @__PURE__ */ jsx11(
2413
2304
  "span",
2414
2305
  {
2415
2306
  className: clx4({
@@ -2420,7 +2311,7 @@ var Breadcrumbs = () => {
2420
2311
  index
2421
2312
  )
2422
2313
  ] }),
2423
- !isLast && /* @__PURE__ */ jsx12("span", { className: "mx-2", children: /* @__PURE__ */ jsx12(TriangleRightMini, { className: "rtl:rotate-180" }) })
2314
+ !isLast && /* @__PURE__ */ jsx11("span", { className: "mx-2", children: /* @__PURE__ */ jsx11(TriangleRightMini, { className: "rtl:rotate-180" }) })
2424
2315
  ] }, index);
2425
2316
  })
2426
2317
  }
@@ -2428,41 +2319,41 @@ var Breadcrumbs = () => {
2428
2319
  };
2429
2320
  var ToggleSidebar = () => {
2430
2321
  const { toggle } = useSidebar();
2431
- return /* @__PURE__ */ jsxs7("div", { children: [
2432
- /* @__PURE__ */ jsx12(
2322
+ return /* @__PURE__ */ jsxs6("div", { children: [
2323
+ /* @__PURE__ */ jsx11(
2433
2324
  IconButton3,
2434
2325
  {
2435
2326
  className: "hidden lg:flex",
2436
2327
  variant: "transparent",
2437
2328
  onClick: () => toggle("desktop"),
2438
2329
  size: "small",
2439
- children: /* @__PURE__ */ jsx12(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
2330
+ children: /* @__PURE__ */ jsx11(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
2440
2331
  }
2441
2332
  ),
2442
- /* @__PURE__ */ jsx12(
2333
+ /* @__PURE__ */ jsx11(
2443
2334
  IconButton3,
2444
2335
  {
2445
2336
  className: "hidden max-lg:flex",
2446
2337
  variant: "transparent",
2447
2338
  onClick: () => toggle("mobile"),
2448
2339
  size: "small",
2449
- children: /* @__PURE__ */ jsx12(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
2340
+ children: /* @__PURE__ */ jsx11(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
2450
2341
  }
2451
2342
  )
2452
2343
  ] });
2453
2344
  };
2454
2345
  var Topbar = () => {
2455
- return /* @__PURE__ */ jsxs7("div", { className: "grid w-full grid-cols-2 border-b p-3", children: [
2456
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-1.5", children: [
2457
- /* @__PURE__ */ jsx12(ToggleSidebar, {}),
2458
- /* @__PURE__ */ jsx12(Breadcrumbs, {})
2346
+ return /* @__PURE__ */ jsxs6("div", { className: "grid w-full grid-cols-2 border-b p-3", children: [
2347
+ /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-x-1.5", children: [
2348
+ /* @__PURE__ */ jsx11(ToggleSidebar, {}),
2349
+ /* @__PURE__ */ jsx11(Breadcrumbs, {})
2459
2350
  ] }),
2460
- /* @__PURE__ */ jsx12("div", { className: "flex items-center justify-end gap-x-3", children: /* @__PURE__ */ jsx12(Notifications, {}) })
2351
+ /* @__PURE__ */ jsx11("div", { className: "flex items-center justify-end gap-x-3", children: /* @__PURE__ */ jsx11(Notifications, {}) })
2461
2352
  ] });
2462
2353
  };
2463
2354
  var DesktopSidebarContainer = ({ children }) => {
2464
2355
  const { desktop } = useSidebar();
2465
- return /* @__PURE__ */ jsx12(
2356
+ return /* @__PURE__ */ jsx11(
2466
2357
  "div",
2467
2358
  {
2468
2359
  className: clx4("hidden h-screen w-[220px] border-e", {
@@ -2475,8 +2366,8 @@ var DesktopSidebarContainer = ({ children }) => {
2475
2366
  var MobileSidebarContainer = ({ children }) => {
2476
2367
  const { t: t2 } = useTranslation7();
2477
2368
  const { mobile, toggle } = useSidebar();
2478
- return /* @__PURE__ */ jsx12(RadixDialog2.Root, { open: mobile, onOpenChange: () => toggle("mobile"), children: /* @__PURE__ */ jsxs7(RadixDialog2.Portal, { children: [
2479
- /* @__PURE__ */ jsx12(
2369
+ return /* @__PURE__ */ jsx11(RadixDialog2.Root, { open: mobile, onOpenChange: () => toggle("mobile"), children: /* @__PURE__ */ jsxs6(RadixDialog2.Portal, { children: [
2370
+ /* @__PURE__ */ jsx11(
2480
2371
  RadixDialog2.Overlay,
2481
2372
  {
2482
2373
  className: clx4(
@@ -2485,7 +2376,7 @@ var MobileSidebarContainer = ({ children }) => {
2485
2376
  )
2486
2377
  }
2487
2378
  ),
2488
- /* @__PURE__ */ jsxs7(
2379
+ /* @__PURE__ */ jsxs6(
2489
2380
  RadixDialog2.Content,
2490
2381
  {
2491
2382
  className: clx4(
@@ -2493,18 +2384,18 @@ var MobileSidebarContainer = ({ children }) => {
2493
2384
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-start-1/2 data-[state=open]:slide-in-from-start-1/2 duration-200"
2494
2385
  ),
2495
2386
  children: [
2496
- /* @__PURE__ */ jsxs7("div", { className: "p-3", children: [
2497
- /* @__PURE__ */ jsx12(RadixDialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx12(
2387
+ /* @__PURE__ */ jsxs6("div", { className: "p-3", children: [
2388
+ /* @__PURE__ */ jsx11(RadixDialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx11(
2498
2389
  IconButton3,
2499
2390
  {
2500
2391
  size: "small",
2501
2392
  variant: "transparent",
2502
2393
  className: "text-ui-fg-subtle",
2503
- children: /* @__PURE__ */ jsx12(XMark, {})
2394
+ children: /* @__PURE__ */ jsx11(XMark, {})
2504
2395
  }
2505
2396
  ) }),
2506
- /* @__PURE__ */ jsx12(RadixDialog2.Title, { className: "sr-only", children: t2("app.nav.accessibility.title") }),
2507
- /* @__PURE__ */ jsx12(RadixDialog2.Description, { className: "sr-only", children: t2("app.nav.accessibility.description") })
2397
+ /* @__PURE__ */ jsx11(RadixDialog2.Title, { className: "sr-only", children: t2("app.nav.accessibility.title") }),
2398
+ /* @__PURE__ */ jsx11(RadixDialog2.Description, { className: "sr-only", children: t2("app.nav.accessibility.description") })
2508
2399
  ] }),
2509
2400
  children
2510
2401
  ]
@@ -2541,7 +2432,7 @@ import { Dialog as RadixDialog3 } from "radix-ui";
2541
2432
  import { useTranslation as useTranslation8 } from "react-i18next";
2542
2433
  import { useState as useState11 } from "react";
2543
2434
  import { Link as Link2, useLocation as useLocation5, useNavigate as useNavigate3 } from "react-router-dom";
2544
- import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
2435
+ import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
2545
2436
  var UserMenu = () => {
2546
2437
  const { t: t2 } = useTranslation8();
2547
2438
  const location = useLocation5();
@@ -2552,36 +2443,36 @@ var UserMenu = () => {
2552
2443
  setOpenMenu(false);
2553
2444
  setOpenModal(!openModal);
2554
2445
  };
2555
- return /* @__PURE__ */ jsxs8("div", { children: [
2556
- /* @__PURE__ */ jsxs8(DropdownMenu2, { dir: direction, open: openMenu, onOpenChange: setOpenMenu, children: [
2557
- /* @__PURE__ */ jsx13(UserBadge, {}),
2558
- /* @__PURE__ */ jsxs8(DropdownMenu2.Content, { className: "min-w-[var(--radix-dropdown-menu-trigger-width)] max-w-[var(--radix-dropdown-menu-trigger-width)]", children: [
2559
- /* @__PURE__ */ jsx13(UserItem, {}),
2560
- /* @__PURE__ */ jsx13(DropdownMenu2.Separator, {}),
2561
- /* @__PURE__ */ jsx13(DropdownMenu2.Item, { asChild: true, children: /* @__PURE__ */ jsxs8(Link2, { to: "/settings/profile", state: { from: location.pathname }, children: [
2562
- /* @__PURE__ */ jsx13(UserIcon, { className: "text-ui-fg-subtle me-2" }),
2446
+ return /* @__PURE__ */ jsxs7("div", { children: [
2447
+ /* @__PURE__ */ jsxs7(DropdownMenu2, { dir: direction, open: openMenu, onOpenChange: setOpenMenu, children: [
2448
+ /* @__PURE__ */ jsx12(UserBadge, {}),
2449
+ /* @__PURE__ */ jsxs7(DropdownMenu2.Content, { className: "min-w-[var(--radix-dropdown-menu-trigger-width)] max-w-[var(--radix-dropdown-menu-trigger-width)]", children: [
2450
+ /* @__PURE__ */ jsx12(UserItem, {}),
2451
+ /* @__PURE__ */ jsx12(DropdownMenu2.Separator, {}),
2452
+ /* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, children: /* @__PURE__ */ jsxs7(Link2, { to: "/settings/profile", state: { from: location.pathname }, children: [
2453
+ /* @__PURE__ */ jsx12(UserIcon, { className: "text-ui-fg-subtle me-2" }),
2563
2454
  t2("app.menus.user.profileSettings")
2564
2455
  ] }) }),
2565
- /* @__PURE__ */ jsx13(DropdownMenu2.Separator, {}),
2566
- /* @__PURE__ */ jsx13(DropdownMenu2.Item, { asChild: true, children: /* @__PURE__ */ jsxs8(Link2, { to: "https://docs.medusajs.com", target: "_blank", children: [
2567
- /* @__PURE__ */ jsx13(BookOpen, { className: "text-ui-fg-subtle me-2" }),
2456
+ /* @__PURE__ */ jsx12(DropdownMenu2.Separator, {}),
2457
+ /* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, children: /* @__PURE__ */ jsxs7(Link2, { to: "https://docs.medusajs.com", target: "_blank", children: [
2458
+ /* @__PURE__ */ jsx12(BookOpen, { className: "text-ui-fg-subtle me-2" }),
2568
2459
  t2("app.menus.user.documentation")
2569
2460
  ] }) }),
2570
- /* @__PURE__ */ jsx13(DropdownMenu2.Item, { asChild: true, children: /* @__PURE__ */ jsxs8(Link2, { to: "https://medusajs.com/changelog/", target: "_blank", children: [
2571
- /* @__PURE__ */ jsx13(TimelineVertical, { className: "text-ui-fg-subtle me-2" }),
2461
+ /* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, children: /* @__PURE__ */ jsxs7(Link2, { to: "https://medusajs.com/changelog/", target: "_blank", children: [
2462
+ /* @__PURE__ */ jsx12(TimelineVertical, { className: "text-ui-fg-subtle me-2" }),
2572
2463
  t2("app.menus.user.changelog")
2573
2464
  ] }) }),
2574
- /* @__PURE__ */ jsx13(DropdownMenu2.Separator, {}),
2575
- /* @__PURE__ */ jsxs8(DropdownMenu2.Item, { onClick: toggleModal, children: [
2576
- /* @__PURE__ */ jsx13(Keyboard, { className: "text-ui-fg-subtle me-2" }),
2465
+ /* @__PURE__ */ jsx12(DropdownMenu2.Separator, {}),
2466
+ /* @__PURE__ */ jsxs7(DropdownMenu2.Item, { onClick: toggleModal, children: [
2467
+ /* @__PURE__ */ jsx12(Keyboard, { className: "text-ui-fg-subtle me-2" }),
2577
2468
  t2("app.menus.user.shortcuts")
2578
2469
  ] }),
2579
- /* @__PURE__ */ jsx13(ThemeToggle, {}),
2580
- /* @__PURE__ */ jsx13(DropdownMenu2.Separator, {}),
2581
- /* @__PURE__ */ jsx13(Logout, {})
2470
+ /* @__PURE__ */ jsx12(ThemeToggle, {}),
2471
+ /* @__PURE__ */ jsx12(DropdownMenu2.Separator, {}),
2472
+ /* @__PURE__ */ jsx12(Logout, {})
2582
2473
  ] })
2583
2474
  ] }),
2584
- /* @__PURE__ */ jsx13(GlobalKeybindsModal, { open: openModal, onOpenChange: setOpenModal })
2475
+ /* @__PURE__ */ jsx12(GlobalKeybindsModal, { open: openModal, onOpenChange: setOpenModal })
2585
2476
  ] });
2586
2477
  };
2587
2478
  var UserBadge = () => {
@@ -2590,15 +2481,15 @@ var UserBadge = () => {
2590
2481
  const displayName = name || user?.email;
2591
2482
  const fallback = displayName ? displayName[0].toUpperCase() : null;
2592
2483
  if (isPending) {
2593
- return /* @__PURE__ */ jsxs8("button", { className: "shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 ps-1 pe-2.5", children: [
2594
- /* @__PURE__ */ jsx13(Skeleton, { className: "h-5 w-5 rounded-full" }),
2595
- /* @__PURE__ */ jsx13(Skeleton, { className: "h-[9px] w-[70px]" })
2484
+ return /* @__PURE__ */ jsxs7("button", { className: "shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 ps-1 pe-2.5", children: [
2485
+ /* @__PURE__ */ jsx12(Skeleton, { className: "h-5 w-5 rounded-full" }),
2486
+ /* @__PURE__ */ jsx12(Skeleton, { className: "h-[9px] w-[70px]" })
2596
2487
  ] });
2597
2488
  }
2598
2489
  if (isError) {
2599
2490
  throw error;
2600
2491
  }
2601
- return /* @__PURE__ */ jsx13("div", { className: "p-3", children: /* @__PURE__ */ jsxs8(
2492
+ return /* @__PURE__ */ jsx12("div", { className: "p-3", children: /* @__PURE__ */ jsxs7(
2602
2493
  DropdownMenu2.Trigger,
2603
2494
  {
2604
2495
  disabled: !user,
@@ -2609,8 +2500,8 @@ var UserBadge = () => {
2609
2500
  "focus-visible:shadow-borders-focus"
2610
2501
  ),
2611
2502
  children: [
2612
- /* @__PURE__ */ jsx13("div", { className: "flex size-6 items-center justify-center", children: fallback ? /* @__PURE__ */ jsx13(Avatar, { size: "xsmall", fallback }) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-6 w-6 rounded-full" }) }),
2613
- /* @__PURE__ */ jsx13("div", { className: "flex items-center overflow-hidden", children: displayName ? /* @__PURE__ */ jsx13(
2503
+ /* @__PURE__ */ jsx12("div", { className: "flex size-6 items-center justify-center", children: fallback ? /* @__PURE__ */ jsx12(Avatar, { size: "xsmall", fallback }) : /* @__PURE__ */ jsx12(Skeleton, { className: "h-6 w-6 rounded-full" }) }),
2504
+ /* @__PURE__ */ jsx12("div", { className: "flex items-center overflow-hidden", children: displayName ? /* @__PURE__ */ jsx12(
2614
2505
  Text4,
2615
2506
  {
2616
2507
  size: "xsmall",
@@ -2619,8 +2510,8 @@ var UserBadge = () => {
2619
2510
  className: "truncate",
2620
2511
  children: displayName
2621
2512
  }
2622
- ) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-[9px] w-[70px]" }) }),
2623
- /* @__PURE__ */ jsx13(EllipsisHorizontal, { className: "text-ui-fg-muted" })
2513
+ ) : /* @__PURE__ */ jsx12(Skeleton, { className: "h-[9px] w-[70px]" }) }),
2514
+ /* @__PURE__ */ jsx12(EllipsisHorizontal, { className: "text-ui-fg-muted" })
2624
2515
  ]
2625
2516
  }
2626
2517
  ) });
@@ -2628,13 +2519,13 @@ var UserBadge = () => {
2628
2519
  var ThemeToggle = () => {
2629
2520
  const { t: t2 } = useTranslation8();
2630
2521
  const { theme, setTheme } = useTheme();
2631
- return /* @__PURE__ */ jsxs8(DropdownMenu2.SubMenu, { children: [
2632
- /* @__PURE__ */ jsxs8(DropdownMenu2.SubMenuTrigger, { dir: "ltr", className: "rounded-md rtl:rotate-180", children: [
2633
- /* @__PURE__ */ jsx13(CircleHalfSolid, { className: "text-ui-fg-subtle me-2" }),
2634
- /* @__PURE__ */ jsx13("span", { className: "rtl:rotate-180", children: t2("app.menus.user.theme.label") })
2522
+ return /* @__PURE__ */ jsxs7(DropdownMenu2.SubMenu, { children: [
2523
+ /* @__PURE__ */ jsxs7(DropdownMenu2.SubMenuTrigger, { dir: "ltr", className: "rounded-md rtl:rotate-180", children: [
2524
+ /* @__PURE__ */ jsx12(CircleHalfSolid, { className: "text-ui-fg-subtle me-2" }),
2525
+ /* @__PURE__ */ jsx12("span", { className: "rtl:rotate-180", children: t2("app.menus.user.theme.label") })
2635
2526
  ] }),
2636
- /* @__PURE__ */ jsx13(DropdownMenu2.SubMenuContent, { children: /* @__PURE__ */ jsxs8(DropdownMenu2.RadioGroup, { value: theme, children: [
2637
- /* @__PURE__ */ jsx13(
2527
+ /* @__PURE__ */ jsx12(DropdownMenu2.SubMenuContent, { children: /* @__PURE__ */ jsxs7(DropdownMenu2.RadioGroup, { value: theme, children: [
2528
+ /* @__PURE__ */ jsx12(
2638
2529
  DropdownMenu2.RadioItem,
2639
2530
  {
2640
2531
  value: "system",
@@ -2645,7 +2536,7 @@ var ThemeToggle = () => {
2645
2536
  children: t2("app.menus.user.theme.system")
2646
2537
  }
2647
2538
  ),
2648
- /* @__PURE__ */ jsx13(
2539
+ /* @__PURE__ */ jsx12(
2649
2540
  DropdownMenu2.RadioItem,
2650
2541
  {
2651
2542
  value: "light",
@@ -2656,7 +2547,7 @@ var ThemeToggle = () => {
2656
2547
  children: t2("app.menus.user.theme.light")
2657
2548
  }
2658
2549
  ),
2659
- /* @__PURE__ */ jsx13(
2550
+ /* @__PURE__ */ jsx12(
2660
2551
  DropdownMenu2.RadioItem,
2661
2552
  {
2662
2553
  value: "dark",
@@ -2682,9 +2573,9 @@ var Logout = () => {
2682
2573
  }
2683
2574
  });
2684
2575
  };
2685
- return /* @__PURE__ */ jsx13(DropdownMenu2.Item, { onClick: handleLogout, children: /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-2", children: [
2686
- /* @__PURE__ */ jsx13(OpenRectArrowOut, { className: "text-ui-fg-subtle" }),
2687
- /* @__PURE__ */ jsx13("span", { children: t2("app.menus.actions.logout") })
2576
+ return /* @__PURE__ */ jsx12(DropdownMenu2.Item, { onClick: handleLogout, children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", children: [
2577
+ /* @__PURE__ */ jsx12(OpenRectArrowOut, { className: "text-ui-fg-subtle" }),
2578
+ /* @__PURE__ */ jsx12("span", { children: t2("app.menus.actions.logout") })
2688
2579
  ] }) });
2689
2580
  };
2690
2581
  var GlobalKeybindsModal = (props) => {
@@ -2694,21 +2585,21 @@ var GlobalKeybindsModal = (props) => {
2694
2585
  const searchResults = searchValue ? globalShortcuts.filter((shortcut) => {
2695
2586
  return shortcut.label.toLowerCase().includes(searchValue?.toLowerCase());
2696
2587
  }) : globalShortcuts;
2697
- return /* @__PURE__ */ jsx13(RadixDialog3.Root, { ...props, children: /* @__PURE__ */ jsxs8(RadixDialog3.Portal, { children: [
2698
- /* @__PURE__ */ jsx13(RadixDialog3.Overlay, { className: "bg-ui-bg-overlay fixed inset-0" }),
2699
- /* @__PURE__ */ jsxs8(RadixDialog3.Content, { className: "bg-ui-bg-subtle shadow-elevation-modal fixed left-[50%] top-[50%] flex h-full max-h-[612px] w-full max-w-[560px] translate-x-[-50%] translate-y-[-50%] flex-col divide-y overflow-hidden rounded-lg", children: [
2700
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col gap-y-3 px-6 py-4", children: [
2701
- /* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between", children: [
2702
- /* @__PURE__ */ jsxs8("div", { children: [
2703
- /* @__PURE__ */ jsx13(RadixDialog3.Title, { asChild: true, children: /* @__PURE__ */ jsx13(Heading2, { children: t2("app.menus.user.shortcuts") }) }),
2704
- /* @__PURE__ */ jsx13(RadixDialog3.Description, { className: "sr-only" })
2588
+ return /* @__PURE__ */ jsx12(RadixDialog3.Root, { ...props, children: /* @__PURE__ */ jsxs7(RadixDialog3.Portal, { children: [
2589
+ /* @__PURE__ */ jsx12(RadixDialog3.Overlay, { className: "bg-ui-bg-overlay fixed inset-0" }),
2590
+ /* @__PURE__ */ jsxs7(RadixDialog3.Content, { className: "bg-ui-bg-subtle shadow-elevation-modal fixed left-[50%] top-[50%] flex h-full max-h-[612px] w-full max-w-[560px] translate-x-[-50%] translate-y-[-50%] flex-col divide-y overflow-hidden rounded-lg", children: [
2591
+ /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-y-3 px-6 py-4", children: [
2592
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", children: [
2593
+ /* @__PURE__ */ jsxs7("div", { children: [
2594
+ /* @__PURE__ */ jsx12(RadixDialog3.Title, { asChild: true, children: /* @__PURE__ */ jsx12(Heading2, { children: t2("app.menus.user.shortcuts") }) }),
2595
+ /* @__PURE__ */ jsx12(RadixDialog3.Description, { className: "sr-only" })
2705
2596
  ] }),
2706
- /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-2", children: [
2707
- /* @__PURE__ */ jsx13(Kbd3, { children: "esc" }),
2708
- /* @__PURE__ */ jsx13(RadixDialog3.Close, { asChild: true, children: /* @__PURE__ */ jsx13(IconButton4, { variant: "transparent", size: "small", children: /* @__PURE__ */ jsx13(XMark2, {}) }) })
2597
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", children: [
2598
+ /* @__PURE__ */ jsx12(Kbd3, { children: "esc" }),
2599
+ /* @__PURE__ */ jsx12(RadixDialog3.Close, { asChild: true, children: /* @__PURE__ */ jsx12(IconButton4, { variant: "transparent", size: "small", children: /* @__PURE__ */ jsx12(XMark2, {}) }) })
2709
2600
  ] })
2710
2601
  ] }),
2711
- /* @__PURE__ */ jsx13("div", { children: /* @__PURE__ */ jsx13(
2602
+ /* @__PURE__ */ jsx12("div", { children: /* @__PURE__ */ jsx12(
2712
2603
  Input,
2713
2604
  {
2714
2605
  type: "search",
@@ -2717,17 +2608,17 @@ var GlobalKeybindsModal = (props) => {
2717
2608
  }
2718
2609
  ) })
2719
2610
  ] }),
2720
- /* @__PURE__ */ jsx13("div", { className: "flex flex-col divide-y overflow-y-auto", children: searchResults.map((shortcut, index) => {
2721
- return /* @__PURE__ */ jsxs8(
2611
+ /* @__PURE__ */ jsx12("div", { className: "flex flex-col divide-y overflow-y-auto", children: searchResults.map((shortcut, index) => {
2612
+ return /* @__PURE__ */ jsxs7(
2722
2613
  "div",
2723
2614
  {
2724
2615
  className: "text-ui-fg-subtle flex items-center justify-between px-6 py-3",
2725
2616
  children: [
2726
- /* @__PURE__ */ jsx13(Text4, { size: "small", children: shortcut.label }),
2727
- /* @__PURE__ */ jsx13("div", { className: "flex items-center gap-x-1", children: shortcut.keys.Mac?.map((key, index2) => {
2728
- return /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-1", children: [
2729
- /* @__PURE__ */ jsx13(Kbd3, { children: key }),
2730
- index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */ jsx13("span", { className: "txt-compact-xsmall text-ui-fg-subtle", children: t2("app.keyboardShortcuts.then") })
2617
+ /* @__PURE__ */ jsx12(Text4, { size: "small", children: shortcut.label }),
2618
+ /* @__PURE__ */ jsx12("div", { className: "flex items-center gap-x-1", children: shortcut.keys.Mac?.map((key, index2) => {
2619
+ return /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-1", children: [
2620
+ /* @__PURE__ */ jsx12(Kbd3, { children: key }),
2621
+ index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */ jsx12("span", { className: "txt-compact-xsmall text-ui-fg-subtle", children: t2("app.keyboardShortcuts.then") })
2731
2622
  ] }, index2);
2732
2623
  }) })
2733
2624
  ]
@@ -2742,7 +2633,7 @@ var UserItem = () => {
2742
2633
  const { user, isPending, isError, error } = useMe();
2743
2634
  const loaded = !isPending && !!user;
2744
2635
  if (!loaded) {
2745
- return /* @__PURE__ */ jsx13("div", {});
2636
+ return /* @__PURE__ */ jsx12("div", {});
2746
2637
  }
2747
2638
  const name = [user.first_name, user.last_name].filter(Boolean).join(" ");
2748
2639
  const email = user.email;
@@ -2751,8 +2642,8 @@ var UserItem = () => {
2751
2642
  if (isError) {
2752
2643
  throw error;
2753
2644
  }
2754
- return /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-3 overflow-hidden px-2 py-1", children: [
2755
- /* @__PURE__ */ jsx13(
2645
+ return /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-3 overflow-hidden px-2 py-1", children: [
2646
+ /* @__PURE__ */ jsx12(
2756
2647
  Avatar,
2757
2648
  {
2758
2649
  size: "small",
@@ -2761,8 +2652,8 @@ var UserItem = () => {
2761
2652
  fallback
2762
2653
  }
2763
2654
  ),
2764
- /* @__PURE__ */ jsxs8("div", { className: "block w-full min-w-0 max-w-[187px] overflow-hidden whitespace-nowrap", children: [
2765
- /* @__PURE__ */ jsx13(
2655
+ /* @__PURE__ */ jsxs7("div", { className: "block w-full min-w-0 max-w-[187px] overflow-hidden whitespace-nowrap", children: [
2656
+ /* @__PURE__ */ jsx12(
2766
2657
  Text4,
2767
2658
  {
2768
2659
  size: "small",
@@ -2772,7 +2663,7 @@ var UserItem = () => {
2772
2663
  children: name || email
2773
2664
  }
2774
2665
  ),
2775
- !!name && /* @__PURE__ */ jsx13(
2666
+ !!name && /* @__PURE__ */ jsx12(
2776
2667
  Text4,
2777
2668
  {
2778
2669
  size: "xsmall",
@@ -2786,24 +2677,24 @@ var UserItem = () => {
2786
2677
  };
2787
2678
 
2788
2679
  // src/components/layout/main-layout/main-layout.tsx
2789
- import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
2680
+ import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
2790
2681
  var MainLayout = () => {
2791
- return /* @__PURE__ */ jsx14(Shell, { children: /* @__PURE__ */ jsx14(MainSidebar, {}) });
2682
+ return /* @__PURE__ */ jsx13(Shell, { children: /* @__PURE__ */ jsx13(MainSidebar, {}) });
2792
2683
  };
2793
2684
  var MainSidebar = () => {
2794
- return /* @__PURE__ */ jsx14("aside", { className: "flex flex-1 flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col", children: [
2795
- /* @__PURE__ */ jsxs9("div", { className: "bg-ui-bg-subtle sticky top-0", children: [
2796
- /* @__PURE__ */ jsx14(Header, {}),
2797
- /* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsx14(Divider, { variant: "dashed" }) })
2685
+ return /* @__PURE__ */ jsx13("aside", { className: "flex flex-1 flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs8("div", { className: "flex flex-1 flex-col", children: [
2686
+ /* @__PURE__ */ jsxs8("div", { className: "bg-ui-bg-subtle sticky top-0", children: [
2687
+ /* @__PURE__ */ jsx13(Header, {}),
2688
+ /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider, { variant: "dashed" }) })
2798
2689
  ] }),
2799
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col justify-between", children: [
2800
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col", children: [
2801
- /* @__PURE__ */ jsx14(CoreRouteSection, {}),
2802
- /* @__PURE__ */ jsx14(ExtensionRouteSection, {})
2690
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-1 flex-col justify-between", children: [
2691
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-1 flex-col", children: [
2692
+ /* @__PURE__ */ jsx13(CoreRouteSection, {}),
2693
+ /* @__PURE__ */ jsx13(ExtensionRouteSection, {})
2803
2694
  ] }),
2804
- /* @__PURE__ */ jsx14(UtilitySection, {})
2695
+ /* @__PURE__ */ jsx13(UtilitySection, {})
2805
2696
  ] }),
2806
- /* @__PURE__ */ jsx14("div", { className: "bg-ui-bg-subtle sticky bottom-0", children: /* @__PURE__ */ jsx14(UserSection, {}) })
2697
+ /* @__PURE__ */ jsx13("div", { className: "bg-ui-bg-subtle sticky bottom-0", children: /* @__PURE__ */ jsx13(UserSection, {}) })
2807
2698
  ] }) });
2808
2699
  };
2809
2700
  var Logout2 = () => {
@@ -2818,9 +2709,9 @@ var Logout2 = () => {
2818
2709
  }
2819
2710
  });
2820
2711
  };
2821
- return /* @__PURE__ */ jsx14(DropdownMenu3.Item, { onClick: handleLogout, children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-2", children: [
2822
- /* @__PURE__ */ jsx14(OpenRectArrowOut2, { className: "text-ui-fg-subtle" }),
2823
- /* @__PURE__ */ jsx14("span", { children: t2("app.menus.actions.logout") })
2712
+ return /* @__PURE__ */ jsx13(DropdownMenu3.Item, { onClick: handleLogout, children: /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-2", children: [
2713
+ /* @__PURE__ */ jsx13(OpenRectArrowOut2, { className: "text-ui-fg-subtle" }),
2714
+ /* @__PURE__ */ jsx13("span", { children: t2("app.menus.actions.logout") })
2824
2715
  ] }) });
2825
2716
  };
2826
2717
  var Header = () => {
@@ -2833,12 +2724,12 @@ var Header = () => {
2833
2724
  if (isError) {
2834
2725
  throw error;
2835
2726
  }
2836
- return /* @__PURE__ */ jsx14("div", { className: "w-full p-3", children: /* @__PURE__ */ jsxs9(
2727
+ return /* @__PURE__ */ jsx13("div", { className: "w-full p-3", children: /* @__PURE__ */ jsxs8(
2837
2728
  DropdownMenu3,
2838
2729
  {
2839
2730
  dir: direction,
2840
2731
  children: [
2841
- /* @__PURE__ */ jsxs9(
2732
+ /* @__PURE__ */ jsxs8(
2842
2733
  DropdownMenu3.Trigger,
2843
2734
  {
2844
2735
  disabled: !isLoaded,
@@ -2849,8 +2740,8 @@ var Header = () => {
2849
2740
  "focus-visible:shadow-borders-focus"
2850
2741
  ),
2851
2742
  children: [
2852
- fallback ? /* @__PURE__ */ jsx14(Avatar2, { variant: "squared", size: "xsmall", fallback }) : /* @__PURE__ */ jsx14(Skeleton, { className: "h-6 w-6 rounded-md" }),
2853
- /* @__PURE__ */ jsx14("div", { className: "block overflow-hidden text-start", children: name ? /* @__PURE__ */ jsx14(
2743
+ fallback ? /* @__PURE__ */ jsx13(Avatar2, { variant: "squared", size: "xsmall", fallback }) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-6 w-6 rounded-md" }),
2744
+ /* @__PURE__ */ jsx13("div", { className: "block overflow-hidden text-start", children: name ? /* @__PURE__ */ jsx13(
2854
2745
  Text5,
2855
2746
  {
2856
2747
  size: "small",
@@ -2859,16 +2750,16 @@ var Header = () => {
2859
2750
  className: "truncate",
2860
2751
  children: store.name
2861
2752
  }
2862
- ) : /* @__PURE__ */ jsx14(Skeleton, { className: "h-[9px] w-[120px]" }) }),
2863
- /* @__PURE__ */ jsx14(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
2753
+ ) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-[9px] w-[120px]" }) }),
2754
+ /* @__PURE__ */ jsx13(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
2864
2755
  ]
2865
2756
  }
2866
2757
  ),
2867
- isLoaded && /* @__PURE__ */ jsxs9(DropdownMenu3.Content, { className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0", children: [
2868
- /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-3 px-2 py-1", children: [
2869
- /* @__PURE__ */ jsx14(Avatar2, { variant: "squared", size: "small", fallback }),
2870
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col overflow-hidden", children: [
2871
- /* @__PURE__ */ jsx14(
2758
+ isLoaded && /* @__PURE__ */ jsxs8(DropdownMenu3.Content, { className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0", children: [
2759
+ /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-3 px-2 py-1", children: [
2760
+ /* @__PURE__ */ jsx13(Avatar2, { variant: "squared", size: "small", fallback }),
2761
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col overflow-hidden", children: [
2762
+ /* @__PURE__ */ jsx13(
2872
2763
  Text5,
2873
2764
  {
2874
2765
  size: "small",
@@ -2878,7 +2769,7 @@ var Header = () => {
2878
2769
  children: name
2879
2770
  }
2880
2771
  ),
2881
- /* @__PURE__ */ jsx14(
2772
+ /* @__PURE__ */ jsx13(
2882
2773
  Text5,
2883
2774
  {
2884
2775
  size: "xsmall",
@@ -2889,13 +2780,13 @@ var Header = () => {
2889
2780
  )
2890
2781
  ] })
2891
2782
  ] }),
2892
- /* @__PURE__ */ jsx14(DropdownMenu3.Separator, {}),
2893
- /* @__PURE__ */ jsx14(DropdownMenu3.Item, { className: "gap-x-2", asChild: true, children: /* @__PURE__ */ jsxs9(Link3, { to: "/settings/store", children: [
2894
- /* @__PURE__ */ jsx14(BuildingStorefront, { className: "text-ui-fg-subtle" }),
2783
+ /* @__PURE__ */ jsx13(DropdownMenu3.Separator, {}),
2784
+ /* @__PURE__ */ jsx13(DropdownMenu3.Item, { className: "gap-x-2", asChild: true, children: /* @__PURE__ */ jsxs8(Link3, { to: "/settings/store", children: [
2785
+ /* @__PURE__ */ jsx13(BuildingStorefront, { className: "text-ui-fg-subtle" }),
2895
2786
  t2("app.nav.main.storeSettings")
2896
2787
  ] }) }),
2897
- /* @__PURE__ */ jsx14(DropdownMenu3.Separator, {}),
2898
- /* @__PURE__ */ jsx14(Logout2, {})
2788
+ /* @__PURE__ */ jsx13(DropdownMenu3.Separator, {}),
2789
+ /* @__PURE__ */ jsx13(Logout2, {})
2899
2790
  ] })
2900
2791
  ]
2901
2792
  }
@@ -2905,7 +2796,7 @@ var useCoreRoutes = () => {
2905
2796
  const { t: t2 } = useTranslation9();
2906
2797
  return [
2907
2798
  {
2908
- icon: /* @__PURE__ */ jsx14(ShoppingCart, {}),
2799
+ icon: /* @__PURE__ */ jsx13(ShoppingCart, {}),
2909
2800
  label: t2("orders.domain"),
2910
2801
  to: "/orders",
2911
2802
  items: [
@@ -2917,7 +2808,7 @@ var useCoreRoutes = () => {
2917
2808
  ]
2918
2809
  },
2919
2810
  {
2920
- icon: /* @__PURE__ */ jsx14(Tag, {}),
2811
+ icon: /* @__PURE__ */ jsx13(Tag, {}),
2921
2812
  label: t2("products.domain"),
2922
2813
  to: "/products",
2923
2814
  items: [
@@ -2937,7 +2828,7 @@ var useCoreRoutes = () => {
2937
2828
  ]
2938
2829
  },
2939
2830
  {
2940
- icon: /* @__PURE__ */ jsx14(Buildings, {}),
2831
+ icon: /* @__PURE__ */ jsx13(Buildings, {}),
2941
2832
  label: t2("inventory.domain"),
2942
2833
  to: "/inventory",
2943
2834
  items: [
@@ -2948,7 +2839,7 @@ var useCoreRoutes = () => {
2948
2839
  ]
2949
2840
  },
2950
2841
  {
2951
- icon: /* @__PURE__ */ jsx14(Users, {}),
2842
+ icon: /* @__PURE__ */ jsx13(Users, {}),
2952
2843
  label: t2("customers.domain"),
2953
2844
  to: "/customers",
2954
2845
  items: [
@@ -2959,7 +2850,7 @@ var useCoreRoutes = () => {
2959
2850
  ]
2960
2851
  },
2961
2852
  {
2962
- icon: /* @__PURE__ */ jsx14(ReceiptPercent, {}),
2853
+ icon: /* @__PURE__ */ jsx13(ReceiptPercent, {}),
2963
2854
  label: t2("promotions.domain"),
2964
2855
  to: "/promotions",
2965
2856
  items: [
@@ -2970,7 +2861,7 @@ var useCoreRoutes = () => {
2970
2861
  ]
2971
2862
  },
2972
2863
  {
2973
- icon: /* @__PURE__ */ jsx14(CurrencyDollar, {}),
2864
+ icon: /* @__PURE__ */ jsx13(CurrencyDollar, {}),
2974
2865
  label: t2("priceLists.domain"),
2975
2866
  to: "/price-lists"
2976
2867
  }
@@ -2979,7 +2870,7 @@ var useCoreRoutes = () => {
2979
2870
  var Searchbar = () => {
2980
2871
  const { t: t2 } = useTranslation9();
2981
2872
  const { toggleSearch } = useSearch();
2982
- return /* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsxs9(
2873
+ return /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsxs8(
2983
2874
  "button",
2984
2875
  {
2985
2876
  onClick: toggleSearch,
@@ -2989,9 +2880,9 @@ var Searchbar = () => {
2989
2880
  "focus-visible:shadow-borders-focus"
2990
2881
  ),
2991
2882
  children: [
2992
- /* @__PURE__ */ jsx14(MagnifyingGlass2, {}),
2993
- /* @__PURE__ */ jsx14("div", { className: "flex-1 text-start", children: /* @__PURE__ */ jsx14(Text5, { size: "small", leading: "compact", weight: "plus", children: t2("app.search.label") }) }),
2994
- /* @__PURE__ */ jsx14(Text5, { size: "small", leading: "compact", className: "text-ui-fg-muted", children: "\u2318K" })
2883
+ /* @__PURE__ */ jsx13(MagnifyingGlass2, {}),
2884
+ /* @__PURE__ */ jsx13("div", { className: "flex-1 text-start", children: /* @__PURE__ */ jsx13(Text5, { size: "small", leading: "compact", weight: "plus", children: t2("app.search.label") }) }),
2885
+ /* @__PURE__ */ jsx13(Text5, { size: "small", leading: "compact", className: "text-ui-fg-muted", children: "\u2318K" })
2995
2886
  ]
2996
2887
  }
2997
2888
  ) });
@@ -3008,10 +2899,10 @@ var CoreRouteSection = () => {
3008
2899
  }
3009
2900
  }
3010
2901
  });
3011
- return /* @__PURE__ */ jsxs9("nav", { className: "flex flex-col gap-y-1 py-3", children: [
3012
- /* @__PURE__ */ jsx14(Searchbar, {}),
2902
+ return /* @__PURE__ */ jsxs8("nav", { className: "flex flex-col gap-y-1 py-3", children: [
2903
+ /* @__PURE__ */ jsx13(Searchbar, {}),
3013
2904
  coreRoutes.map((route) => {
3014
- return /* @__PURE__ */ jsx14(NavItem, { ...route }, route.to);
2905
+ return /* @__PURE__ */ jsx13(NavItem, { ...route }, route.to);
3015
2906
  })
3016
2907
  ] });
3017
2908
  };
@@ -3022,23 +2913,23 @@ var ExtensionRouteSection = () => {
3022
2913
  if (!menuItems.length) {
3023
2914
  return null;
3024
2915
  }
3025
- return /* @__PURE__ */ jsxs9("div", { children: [
3026
- /* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsx14(Divider, { variant: "dashed" }) }),
3027
- /* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-y-1 py-3", children: /* @__PURE__ */ jsxs9(RadixCollapsible2.Root, { defaultOpen: true, children: [
3028
- /* @__PURE__ */ jsx14("div", { className: "px-4", children: /* @__PURE__ */ jsx14(RadixCollapsible2.Trigger, { asChild: true, className: "group/trigger", children: /* @__PURE__ */ jsxs9("button", { className: "text-ui-fg-subtle flex w-full items-center justify-between px-2", children: [
3029
- /* @__PURE__ */ jsx14(Text5, { size: "xsmall", weight: "plus", leading: "compact", children: t2("app.nav.common.extensions") }),
3030
- /* @__PURE__ */ jsxs9("div", { className: "text-ui-fg-muted", children: [
3031
- /* @__PURE__ */ jsx14(ChevronDownMini, { className: "group-data-[state=open]/trigger:hidden" }),
3032
- /* @__PURE__ */ jsx14(MinusMini, { className: "group-data-[state=closed]/trigger:hidden" })
2916
+ return /* @__PURE__ */ jsxs8("div", { children: [
2917
+ /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider, { variant: "dashed" }) }),
2918
+ /* @__PURE__ */ jsx13("div", { className: "flex flex-col gap-y-1 py-3", children: /* @__PURE__ */ jsxs8(RadixCollapsible2.Root, { defaultOpen: true, children: [
2919
+ /* @__PURE__ */ jsx13("div", { className: "px-4", children: /* @__PURE__ */ jsx13(RadixCollapsible2.Trigger, { asChild: true, className: "group/trigger", children: /* @__PURE__ */ jsxs8("button", { className: "text-ui-fg-subtle flex w-full items-center justify-between px-2", children: [
2920
+ /* @__PURE__ */ jsx13(Text5, { size: "xsmall", weight: "plus", leading: "compact", children: t2("app.nav.common.extensions") }),
2921
+ /* @__PURE__ */ jsxs8("div", { className: "text-ui-fg-muted", children: [
2922
+ /* @__PURE__ */ jsx13(ChevronDownMini, { className: "group-data-[state=open]/trigger:hidden" }),
2923
+ /* @__PURE__ */ jsx13(MinusMini, { className: "group-data-[state=closed]/trigger:hidden" })
3033
2924
  ] })
3034
2925
  ] }) }) }),
3035
- /* @__PURE__ */ jsx14(RadixCollapsible2.Content, { children: /* @__PURE__ */ jsx14("nav", { className: "flex flex-col gap-y-0.5 py-1 pb-4", children: menuItems.map((item, i) => {
3036
- return /* @__PURE__ */ jsx14(
2926
+ /* @__PURE__ */ jsx13(RadixCollapsible2.Content, { children: /* @__PURE__ */ jsx13("nav", { className: "flex flex-col gap-y-0.5 py-1 pb-4", children: menuItems.map((item, i) => {
2927
+ return /* @__PURE__ */ jsx13(
3037
2928
  NavItem,
3038
2929
  {
3039
2930
  to: item.to,
3040
2931
  label: item.label,
3041
- icon: item.icon ? item.icon : /* @__PURE__ */ jsx14(SquaresPlus, {}),
2932
+ icon: item.icon ? item.icon : /* @__PURE__ */ jsx13(SquaresPlus, {}),
3042
2933
  items: item.items,
3043
2934
  type: "extension"
3044
2935
  },
@@ -3051,44 +2942,44 @@ var ExtensionRouteSection = () => {
3051
2942
  var UtilitySection = () => {
3052
2943
  const location = useLocation6();
3053
2944
  const { t: t2 } = useTranslation9();
3054
- return /* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-y-0.5 py-3", children: /* @__PURE__ */ jsx14(
2945
+ return /* @__PURE__ */ jsx13("div", { className: "flex flex-col gap-y-0.5 py-3", children: /* @__PURE__ */ jsx13(
3055
2946
  NavItem,
3056
2947
  {
3057
2948
  label: t2("app.nav.settings.header"),
3058
2949
  to: "/settings",
3059
2950
  from: location.pathname,
3060
- icon: /* @__PURE__ */ jsx14(CogSixTooth, {})
2951
+ icon: /* @__PURE__ */ jsx13(CogSixTooth, {})
3061
2952
  }
3062
2953
  ) });
3063
2954
  };
3064
2955
  var UserSection = () => {
3065
- return /* @__PURE__ */ jsxs9("div", { children: [
3066
- /* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsx14(Divider, { variant: "dashed" }) }),
3067
- /* @__PURE__ */ jsx14(UserMenu, {})
2956
+ return /* @__PURE__ */ jsxs8("div", { children: [
2957
+ /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider, { variant: "dashed" }) }),
2958
+ /* @__PURE__ */ jsx13(UserMenu, {})
3068
2959
  ] });
3069
2960
  };
3070
2961
 
3071
2962
  // src/components/layout/public-layout/public-layout.tsx
3072
2963
  import { Outlet as Outlet3 } from "react-router-dom";
3073
- import { jsx as jsx15 } from "react/jsx-runtime";
2964
+ import { jsx as jsx14 } from "react/jsx-runtime";
3074
2965
  var PublicLayout = () => {
3075
- return /* @__PURE__ */ jsx15(Outlet3, {});
2966
+ return /* @__PURE__ */ jsx14(Outlet3, {});
3076
2967
  };
3077
2968
 
3078
2969
  // src/components/layout/settings-layout/settings-layout.tsx
3079
2970
  import { ArrowUturnLeft as ArrowUturnLeft2, MinusMini as MinusMini2 } from "@medusajs/icons";
3080
2971
  import { clx as clx7, Divider as Divider2, IconButton as IconButton5, Text as Text6 } from "@medusajs/ui";
3081
2972
  import { Collapsible as RadixCollapsible3 } from "radix-ui";
3082
- import { Fragment as Fragment3, useEffect as useEffect12, useMemo as useMemo5, useState as useState12 } from "react";
2973
+ import { Fragment as Fragment3, useEffect as useEffect11, useMemo as useMemo4, useState as useState12 } from "react";
3083
2974
  import { useTranslation as useTranslation10 } from "react-i18next";
3084
2975
  import { Link as Link4, useLocation as useLocation7 } from "react-router-dom";
3085
- import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
2976
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
3086
2977
  var SettingsLayout = () => {
3087
- return /* @__PURE__ */ jsx16(Shell, { children: /* @__PURE__ */ jsx16(SettingsSidebar, {}) });
2978
+ return /* @__PURE__ */ jsx15(Shell, { children: /* @__PURE__ */ jsx15(SettingsSidebar, {}) });
3088
2979
  };
3089
2980
  var useSettingRoutes = () => {
3090
2981
  const { t: t2 } = useTranslation10();
3091
- return useMemo5(
2982
+ return useMemo4(
3092
2983
  () => [
3093
2984
  {
3094
2985
  label: t2("store.domain"),
@@ -3136,7 +3027,7 @@ var useSettingRoutes = () => {
3136
3027
  };
3137
3028
  var useDeveloperRoutes = () => {
3138
3029
  const { t: t2 } = useTranslation10();
3139
- return useMemo5(
3030
+ return useMemo4(
3140
3031
  () => [
3141
3032
  {
3142
3033
  label: t2("apiKeyManagement.domain.publishable"),
@@ -3156,7 +3047,7 @@ var useDeveloperRoutes = () => {
3156
3047
  };
3157
3048
  var useMyAccountRoutes = () => {
3158
3049
  const { t: t2 } = useTranslation10();
3159
- return useMemo5(
3050
+ return useMemo4(
3160
3051
  () => [
3161
3052
  {
3162
3053
  label: t2("profile.domain"),
@@ -3179,39 +3070,39 @@ var SettingsSidebar = () => {
3179
3070
  const myAccountRoutes = useMyAccountRoutes();
3180
3071
  const extensionRoutes = getMenu("settingsExtensions");
3181
3072
  const { t: t2 } = useTranslation10();
3182
- return /* @__PURE__ */ jsxs10("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
3183
- /* @__PURE__ */ jsxs10("div", { className: "bg-ui-bg-subtle sticky top-0", children: [
3184
- /* @__PURE__ */ jsx16(Header2, {}),
3185
- /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) })
3073
+ return /* @__PURE__ */ jsxs9("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
3074
+ /* @__PURE__ */ jsxs9("div", { className: "bg-ui-bg-subtle sticky top-0", children: [
3075
+ /* @__PURE__ */ jsx15(Header2, {}),
3076
+ /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) })
3186
3077
  ] }),
3187
- /* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col", children: [
3188
- /* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
3189
- /* @__PURE__ */ jsx16(
3078
+ /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col", children: [
3079
+ /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
3080
+ /* @__PURE__ */ jsx15(
3190
3081
  RadixCollapsibleSection,
3191
3082
  {
3192
3083
  label: t2("app.nav.settings.general"),
3193
3084
  items: routes
3194
3085
  }
3195
3086
  ),
3196
- /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
3197
- /* @__PURE__ */ jsx16(
3087
+ /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
3088
+ /* @__PURE__ */ jsx15(
3198
3089
  RadixCollapsibleSection,
3199
3090
  {
3200
3091
  label: t2("app.nav.settings.developer"),
3201
3092
  items: developerRoutes
3202
3093
  }
3203
3094
  ),
3204
- /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
3205
- /* @__PURE__ */ jsx16(
3095
+ /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
3096
+ /* @__PURE__ */ jsx15(
3206
3097
  RadixCollapsibleSection,
3207
3098
  {
3208
3099
  label: t2("app.nav.settings.myAccount"),
3209
3100
  items: myAccountRoutes
3210
3101
  }
3211
3102
  ),
3212
- extensionRoutes.length > 0 && /* @__PURE__ */ jsxs10(Fragment3, { children: [
3213
- /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
3214
- /* @__PURE__ */ jsx16(
3103
+ extensionRoutes.length > 0 && /* @__PURE__ */ jsxs9(Fragment3, { children: [
3104
+ /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
3105
+ /* @__PURE__ */ jsx15(
3215
3106
  RadixCollapsibleSection,
3216
3107
  {
3217
3108
  label: t2("app.nav.common.extensions"),
@@ -3220,7 +3111,7 @@ var SettingsSidebar = () => {
3220
3111
  )
3221
3112
  ] })
3222
3113
  ] }),
3223
- /* @__PURE__ */ jsx16("div", { className: "bg-ui-bg-subtle sticky bottom-0", children: /* @__PURE__ */ jsx16(UserSection2, {}) })
3114
+ /* @__PURE__ */ jsx15("div", { className: "bg-ui-bg-subtle sticky bottom-0", children: /* @__PURE__ */ jsx15(UserSection2, {}) })
3224
3115
  ] })
3225
3116
  ] });
3226
3117
  };
@@ -3228,12 +3119,12 @@ var Header2 = () => {
3228
3119
  const [from, setFrom] = useState12("/orders");
3229
3120
  const { t: t2 } = useTranslation10();
3230
3121
  const location = useLocation7();
3231
- useEffect12(() => {
3122
+ useEffect11(() => {
3232
3123
  if (location.state?.from) {
3233
3124
  setFrom(getSafeFromValue(location.state.from));
3234
3125
  }
3235
3126
  }, [location]);
3236
- return /* @__PURE__ */ jsx16("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx16(
3127
+ return /* @__PURE__ */ jsx15("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx15(
3237
3128
  Link4,
3238
3129
  {
3239
3130
  to: from,
@@ -3243,9 +3134,9 @@ var Header2 = () => {
3243
3134
  "hover:bg-ui-bg-subtle-hover",
3244
3135
  "focus-visible:shadow-borders-focus"
3245
3136
  ),
3246
- children: /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
3247
- /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx16(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
3248
- /* @__PURE__ */ jsx16(Text6, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
3137
+ children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
3138
+ /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx15(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
3139
+ /* @__PURE__ */ jsx15(Text6, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
3249
3140
  ] })
3250
3141
  }
3251
3142
  ) });
@@ -3254,18 +3145,18 @@ var RadixCollapsibleSection = ({
3254
3145
  label,
3255
3146
  items
3256
3147
  }) => {
3257
- return /* @__PURE__ */ jsxs10(RadixCollapsible3.Root, { defaultOpen: true, className: "py-3", children: [
3258
- /* @__PURE__ */ jsx16("div", { className: "px-3", children: /* @__PURE__ */ jsxs10("div", { className: "text-ui-fg-muted flex h-7 items-center justify-between px-2", children: [
3259
- /* @__PURE__ */ jsx16(Text6, { size: "small", leading: "compact", children: label }),
3260
- /* @__PURE__ */ jsx16(RadixCollapsible3.Trigger, { asChild: true, children: /* @__PURE__ */ jsx16(IconButton5, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx16(MinusMini2, { className: "text-ui-fg-muted" }) }) })
3148
+ return /* @__PURE__ */ jsxs9(RadixCollapsible3.Root, { defaultOpen: true, className: "py-3", children: [
3149
+ /* @__PURE__ */ jsx15("div", { className: "px-3", children: /* @__PURE__ */ jsxs9("div", { className: "text-ui-fg-muted flex h-7 items-center justify-between px-2", children: [
3150
+ /* @__PURE__ */ jsx15(Text6, { size: "small", leading: "compact", children: label }),
3151
+ /* @__PURE__ */ jsx15(RadixCollapsible3.Trigger, { asChild: true, children: /* @__PURE__ */ jsx15(IconButton5, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx15(MinusMini2, { className: "text-ui-fg-muted" }) }) })
3261
3152
  ] }) }),
3262
- /* @__PURE__ */ jsx16(RadixCollapsible3.Content, { children: /* @__PURE__ */ jsx16("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx16("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx16(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
3153
+ /* @__PURE__ */ jsx15(RadixCollapsible3.Content, { children: /* @__PURE__ */ jsx15("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx15("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx15(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
3263
3154
  ] });
3264
3155
  };
3265
3156
  var UserSection2 = () => {
3266
- return /* @__PURE__ */ jsxs10("div", { children: [
3267
- /* @__PURE__ */ jsx16("div", { className: "px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
3268
- /* @__PURE__ */ jsx16(UserMenu, {})
3157
+ return /* @__PURE__ */ jsxs9("div", { children: [
3158
+ /* @__PURE__ */ jsx15("div", { className: "px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
3159
+ /* @__PURE__ */ jsx15(UserMenu, {})
3269
3160
  ] });
3270
3161
  };
3271
3162
 
@@ -3274,7 +3165,7 @@ import { ExclamationCircle } from "@medusajs/icons";
3274
3165
  import { Text as Text7 } from "@medusajs/ui";
3275
3166
  import { useTranslation as useTranslation11 } from "react-i18next";
3276
3167
  import { Navigate as Navigate2, useLocation as useLocation8, useRouteError } from "react-router-dom";
3277
- import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
3168
+ import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
3278
3169
  var ErrorBoundary = () => {
3279
3170
  const error = useRouteError();
3280
3171
  const location = useLocation8();
@@ -3282,7 +3173,7 @@ var ErrorBoundary = () => {
3282
3173
  let code = null;
3283
3174
  if (isFetchError(error)) {
3284
3175
  if (error.status === 401) {
3285
- return /* @__PURE__ */ jsx17(Navigate2, { to: "/login", state: { from: location }, replace: true });
3176
+ return /* @__PURE__ */ jsx16(Navigate2, { to: "/login", state: { from: location }, replace: true });
3286
3177
  }
3287
3178
  code = error.status ?? null;
3288
3179
  }
@@ -3309,11 +3200,11 @@ var ErrorBoundary = () => {
3309
3200
  message = t2("errorBoundary.defaultMessage");
3310
3201
  break;
3311
3202
  }
3312
- return /* @__PURE__ */ jsx17("div", { className: "flex size-full min-h-[calc(100vh-57px-24px)] items-center justify-center", children: /* @__PURE__ */ jsx17("div", { className: "flex flex-col gap-y-6", children: /* @__PURE__ */ jsxs11("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
3313
- /* @__PURE__ */ jsx17(ExclamationCircle, {}),
3314
- /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
3315
- /* @__PURE__ */ jsx17(Text7, { size: "small", leading: "compact", weight: "plus", children: title }),
3316
- /* @__PURE__ */ jsx17(
3203
+ return /* @__PURE__ */ jsx16("div", { className: "flex size-full min-h-[calc(100vh-57px-24px)] items-center justify-center", children: /* @__PURE__ */ jsx16("div", { className: "flex flex-col gap-y-6", children: /* @__PURE__ */ jsxs10("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
3204
+ /* @__PURE__ */ jsx16(ExclamationCircle, {}),
3205
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
3206
+ /* @__PURE__ */ jsx16(Text7, { size: "small", leading: "compact", weight: "plus", children: title }),
3207
+ /* @__PURE__ */ jsx16(
3317
3208
  Text7,
3318
3209
  {
3319
3210
  size: "small",
@@ -3326,149 +3217,149 @@ var ErrorBoundary = () => {
3326
3217
  };
3327
3218
 
3328
3219
  // src/dashboard-app/routes/get-route.map.tsx
3329
- import { jsx as jsx18 } from "react/jsx-runtime";
3220
+ import { jsx as jsx17 } from "react/jsx-runtime";
3330
3221
  function getRouteMap({
3331
3222
  settingsRoutes,
3332
3223
  coreRoutes
3333
3224
  }) {
3334
3225
  return [
3335
3226
  {
3336
- element: /* @__PURE__ */ jsx18(ProtectedRoute, {}),
3337
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3227
+ element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
3228
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3338
3229
  children: [
3339
3230
  {
3340
- element: /* @__PURE__ */ jsx18(MainLayout, {}),
3231
+ element: /* @__PURE__ */ jsx17(MainLayout, {}),
3341
3232
  children: [
3342
3233
  {
3343
3234
  path: "/",
3344
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3235
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3345
3236
  lazy: () => import("./home-TYWIGAKJ.mjs")
3346
3237
  },
3347
3238
  {
3348
3239
  path: "/products",
3349
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3240
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3350
3241
  handle: {
3351
3242
  breadcrumb: () => t("products.domain")
3352
3243
  },
3353
3244
  children: [
3354
3245
  {
3355
3246
  path: "",
3356
- lazy: () => import("./product-list-XA5SJLXF.mjs"),
3247
+ lazy: () => import("./product-list-7H64APWI.mjs"),
3357
3248
  children: [
3358
3249
  {
3359
3250
  path: "create",
3360
- lazy: () => import("./product-create-5KQFXFJF.mjs")
3251
+ lazy: () => import("./product-create-XZHAADGZ.mjs")
3361
3252
  },
3362
3253
  {
3363
3254
  path: "import",
3364
- lazy: () => import("./product-import-CA75XMEH.mjs")
3255
+ lazy: () => import("./product-import-P76MITMC.mjs")
3365
3256
  },
3366
3257
  {
3367
3258
  path: "export",
3368
- lazy: () => import("./product-export-JNLDMDUS.mjs")
3259
+ lazy: () => import("./product-export-W6KP2RGO.mjs")
3369
3260
  }
3370
3261
  ]
3371
3262
  },
3372
3263
  {
3373
3264
  path: ":id",
3374
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3265
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3375
3266
  lazy: async () => {
3376
- const { Breadcrumb, loader } = await import("./product-detail-UM6PIKWQ.mjs");
3267
+ const { Breadcrumb, loader } = await import("./product-detail-6JW2KCQA.mjs");
3377
3268
  return {
3378
3269
  Component: Outlet4,
3379
3270
  loader,
3380
3271
  handle: {
3381
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3272
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3382
3273
  }
3383
3274
  };
3384
3275
  },
3385
3276
  children: [
3386
3277
  {
3387
3278
  path: "",
3388
- lazy: () => import("./product-detail-UM6PIKWQ.mjs"),
3279
+ lazy: () => import("./product-detail-6JW2KCQA.mjs"),
3389
3280
  children: [
3390
3281
  {
3391
3282
  path: "edit",
3392
- lazy: () => import("./product-edit-QSCZEH74.mjs")
3283
+ lazy: () => import("./product-edit-FGQ3YETD.mjs")
3393
3284
  },
3394
3285
  {
3395
3286
  path: "edit-variant",
3396
- lazy: () => import("./product-variant-edit-YPQDVG5C.mjs")
3287
+ lazy: () => import("./product-variant-edit-IGJIWVQQ.mjs")
3397
3288
  },
3398
3289
  {
3399
3290
  path: "sales-channels",
3400
- lazy: () => import("./product-sales-channels-UX7AOJIF.mjs")
3291
+ lazy: () => import("./product-sales-channels-KSIHPDJG.mjs")
3401
3292
  },
3402
3293
  {
3403
3294
  path: "attributes",
3404
- lazy: () => import("./product-attributes-K5EMRHFS.mjs")
3295
+ lazy: () => import("./product-attributes-RMPKQ5KE.mjs")
3405
3296
  },
3406
3297
  {
3407
3298
  path: "organization",
3408
- lazy: () => import("./product-organization-YL4ZUCC4.mjs")
3299
+ lazy: () => import("./product-organization-GXXT6SZY.mjs")
3409
3300
  },
3410
3301
  {
3411
3302
  path: "shipping-profile",
3412
- lazy: () => import("./product-shipping-profile-PEIUF5AK.mjs")
3303
+ lazy: () => import("./product-shipping-profile-GFSIYLGC.mjs")
3413
3304
  },
3414
3305
  {
3415
3306
  path: "media",
3416
- lazy: () => import("./product-media-36YW62IO.mjs")
3307
+ lazy: () => import("./product-media-TRKQTA4G.mjs")
3417
3308
  },
3418
3309
  {
3419
3310
  path: "prices",
3420
- lazy: () => import("./product-prices-4ZV5EXX5.mjs")
3311
+ lazy: () => import("./product-prices-XLY5TUSJ.mjs")
3421
3312
  },
3422
3313
  {
3423
3314
  path: "options/create",
3424
- lazy: () => import("./product-create-option-3JR35UZ5.mjs")
3315
+ lazy: () => import("./product-create-option-OW2LMVST.mjs")
3425
3316
  },
3426
3317
  {
3427
3318
  path: "options/:option_id/edit",
3428
- lazy: () => import("./product-edit-option-VNDGZ37A.mjs")
3319
+ lazy: () => import("./product-edit-option-OM56DLU6.mjs")
3429
3320
  },
3430
3321
  {
3431
3322
  path: "variants/create",
3432
- lazy: () => import("./product-create-variant-37CVX4QI.mjs")
3323
+ lazy: () => import("./product-create-variant-NKU6J7NG.mjs")
3433
3324
  },
3434
3325
  {
3435
3326
  path: "stock",
3436
- lazy: () => import("./product-stock-4XECV73O.mjs")
3327
+ lazy: () => import("./product-stock-GAWLELSE.mjs")
3437
3328
  },
3438
3329
  {
3439
3330
  path: "metadata/edit",
3440
- lazy: () => import("./product-metadata-JKWIAMVB.mjs")
3331
+ lazy: () => import("./product-metadata-2G6DWHWG.mjs")
3441
3332
  }
3442
3333
  ]
3443
3334
  },
3444
3335
  {
3445
3336
  path: "variants/:variant_id",
3446
3337
  lazy: async () => {
3447
- const { Component, Breadcrumb, loader } = await import("./product-variant-detail-TYV4BYNG.mjs");
3338
+ const { Component, Breadcrumb, loader } = await import("./product-variant-detail-LJE3IFNE.mjs");
3448
3339
  return {
3449
3340
  Component,
3450
3341
  loader,
3451
3342
  handle: {
3452
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3343
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3453
3344
  }
3454
3345
  };
3455
3346
  },
3456
3347
  children: [
3457
3348
  {
3458
3349
  path: "edit",
3459
- lazy: () => import("./product-variant-edit-YPQDVG5C.mjs")
3350
+ lazy: () => import("./product-variant-edit-IGJIWVQQ.mjs")
3460
3351
  },
3461
3352
  {
3462
3353
  path: "prices",
3463
- lazy: () => import("./product-prices-4ZV5EXX5.mjs")
3354
+ lazy: () => import("./product-prices-XLY5TUSJ.mjs")
3464
3355
  },
3465
3356
  {
3466
3357
  path: "manage-items",
3467
- lazy: () => import("./product-variant-manage-inventory-items-LGRRKHT2.mjs")
3358
+ lazy: () => import("./product-variant-manage-inventory-items-2M2KTPNK.mjs")
3468
3359
  },
3469
3360
  {
3470
3361
  path: "metadata/edit",
3471
- lazy: () => import("./product-variant-metadata-DII5YHIK.mjs")
3362
+ lazy: () => import("./product-variant-metadata-F6BGFMMS.mjs")
3472
3363
  }
3473
3364
  ]
3474
3365
  }
@@ -3478,53 +3369,53 @@ function getRouteMap({
3478
3369
  },
3479
3370
  {
3480
3371
  path: "/categories",
3481
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3372
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3482
3373
  handle: {
3483
3374
  breadcrumb: () => t("categories.domain")
3484
3375
  },
3485
3376
  children: [
3486
3377
  {
3487
3378
  path: "",
3488
- lazy: () => import("./category-list-FOCNQKPH.mjs"),
3379
+ lazy: () => import("./category-list-IXW2NWWJ.mjs"),
3489
3380
  children: [
3490
3381
  {
3491
3382
  path: "create",
3492
- lazy: () => import("./category-create-DJHTY4QX.mjs")
3383
+ lazy: () => import("./category-create-GMFWRFT7.mjs")
3493
3384
  },
3494
3385
  {
3495
3386
  path: "organize",
3496
- lazy: () => import("./category-organize-BW3YOPUS.mjs")
3387
+ lazy: () => import("./category-organize-LRQKM4LA.mjs")
3497
3388
  }
3498
3389
  ]
3499
3390
  },
3500
3391
  {
3501
3392
  path: ":id",
3502
3393
  lazy: async () => {
3503
- const { Component, Breadcrumb, loader } = await import("./category-detail-JUKMFR4W.mjs");
3394
+ const { Component, Breadcrumb, loader } = await import("./category-detail-MTLPW4MR.mjs");
3504
3395
  return {
3505
3396
  Component,
3506
3397
  loader,
3507
3398
  handle: {
3508
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3399
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3509
3400
  }
3510
3401
  };
3511
3402
  },
3512
3403
  children: [
3513
3404
  {
3514
3405
  path: "edit",
3515
- lazy: () => import("./category-edit-JQQX7IZZ.mjs")
3406
+ lazy: () => import("./category-edit-HCHER73V.mjs")
3516
3407
  },
3517
3408
  {
3518
3409
  path: "products",
3519
- lazy: () => import("./category-products-CWLUKUVK.mjs")
3410
+ lazy: () => import("./category-products-DGWKONYE.mjs")
3520
3411
  },
3521
3412
  {
3522
3413
  path: "organize",
3523
- lazy: () => import("./category-organize-BW3YOPUS.mjs")
3414
+ lazy: () => import("./category-organize-LRQKM4LA.mjs")
3524
3415
  },
3525
3416
  {
3526
3417
  path: "metadata/edit",
3527
- lazy: () => import("./categories-metadata-HNABPXTE.mjs")
3418
+ lazy: () => import("./categories-metadata-M4PAATNV.mjs")
3528
3419
  }
3529
3420
  ]
3530
3421
  }
@@ -3532,83 +3423,83 @@ function getRouteMap({
3532
3423
  },
3533
3424
  {
3534
3425
  path: "/orders",
3535
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3426
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3536
3427
  handle: {
3537
3428
  breadcrumb: () => t("orders.domain")
3538
3429
  },
3539
3430
  children: [
3540
3431
  {
3541
3432
  path: "",
3542
- lazy: () => import("./order-list-YWPAJ7FR.mjs")
3433
+ lazy: () => import("./order-list-VDUUHTSU.mjs")
3543
3434
  },
3544
3435
  {
3545
3436
  path: ":id",
3546
3437
  lazy: async () => {
3547
- const { Component, Breadcrumb, loader } = await import("./order-detail-NERZLT7X.mjs");
3438
+ const { Component, Breadcrumb, loader } = await import("./order-detail-BYAGOF5M.mjs");
3548
3439
  return {
3549
3440
  Component,
3550
3441
  loader,
3551
3442
  handle: {
3552
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3443
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3553
3444
  }
3554
3445
  };
3555
3446
  },
3556
3447
  children: [
3557
3448
  {
3558
3449
  path: "fulfillment",
3559
- lazy: () => import("./order-create-fulfillment-5UJQFERR.mjs")
3450
+ lazy: () => import("./order-create-fulfillment-NLGPRK4J.mjs")
3560
3451
  },
3561
3452
  {
3562
3453
  path: "returns/:return_id/receive",
3563
- lazy: () => import("./order-receive-return-EXZAUMCI.mjs")
3454
+ lazy: () => import("./order-receive-return-MC4DIRK3.mjs")
3564
3455
  },
3565
3456
  {
3566
3457
  path: "allocate-items",
3567
- lazy: () => import("./order-allocate-items-NO5SVLS6.mjs")
3458
+ lazy: () => import("./order-allocate-items-2RYXQRVK.mjs")
3568
3459
  },
3569
3460
  {
3570
3461
  path: ":f_id/create-shipment",
3571
- lazy: () => import("./order-create-shipment-TQJHHC7T.mjs")
3462
+ lazy: () => import("./order-create-shipment-WCEZXWM6.mjs")
3572
3463
  },
3573
3464
  {
3574
3465
  path: "returns",
3575
- lazy: () => import("./order-create-return-AV4BEJDN.mjs")
3466
+ lazy: () => import("./order-create-return-6FHAU3OZ.mjs")
3576
3467
  },
3577
3468
  {
3578
3469
  path: "claims",
3579
- lazy: () => import("./order-create-claim-LBA6UTTF.mjs")
3470
+ lazy: () => import("./order-create-claim-FK4LIPAE.mjs")
3580
3471
  },
3581
3472
  {
3582
3473
  path: "exchanges",
3583
- lazy: () => import("./order-create-exchange-IXPHBHKP.mjs")
3474
+ lazy: () => import("./order-create-exchange-BMRCMN5G.mjs")
3584
3475
  },
3585
3476
  {
3586
3477
  path: "edits",
3587
- lazy: () => import("./order-create-edit-7GLQP5CD.mjs")
3478
+ lazy: () => import("./order-create-edit-VGIWYKBB.mjs")
3588
3479
  },
3589
3480
  {
3590
3481
  path: "refund",
3591
- lazy: () => import("./order-create-refund-QZRNHK2D.mjs")
3482
+ lazy: () => import("./order-create-refund-TEMK6IEQ.mjs")
3592
3483
  },
3593
3484
  {
3594
3485
  path: "transfer",
3595
- lazy: () => import("./order-request-transfer-RLU2TK44.mjs")
3486
+ lazy: () => import("./order-request-transfer-MELQKMC4.mjs")
3596
3487
  },
3597
3488
  {
3598
3489
  path: "email",
3599
- lazy: () => import("./order-edit-email-CS4AIJZS.mjs")
3490
+ lazy: () => import("./order-edit-email-UDJOGYPP.mjs")
3600
3491
  },
3601
3492
  {
3602
3493
  path: "shipping-address",
3603
- lazy: () => import("./order-edit-shipping-address-GXSNNDBC.mjs")
3494
+ lazy: () => import("./order-edit-shipping-address-O46U65WM.mjs")
3604
3495
  },
3605
3496
  {
3606
3497
  path: "billing-address",
3607
- lazy: () => import("./order-edit-billing-address-BMUX3GJL.mjs")
3498
+ lazy: () => import("./order-edit-billing-address-MWF3L6GK.mjs")
3608
3499
  },
3609
3500
  {
3610
3501
  path: "metadata/edit",
3611
- lazy: () => import("./order-metadata-KWZX64YP.mjs")
3502
+ lazy: () => import("./order-metadata-SHCFZWCA.mjs")
3612
3503
  }
3613
3504
  ]
3614
3505
  }
@@ -3616,28 +3507,28 @@ function getRouteMap({
3616
3507
  },
3617
3508
  {
3618
3509
  path: "/promotions",
3619
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3510
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3620
3511
  handle: {
3621
3512
  breadcrumb: () => t("promotions.domain")
3622
3513
  },
3623
3514
  children: [
3624
3515
  {
3625
3516
  path: "",
3626
- lazy: () => import("./promotion-list-TOYJAQ4D.mjs")
3517
+ lazy: () => import("./promotion-list-WDHOSD55.mjs")
3627
3518
  },
3628
3519
  {
3629
3520
  path: "create",
3630
- lazy: () => import("./promotion-create-TLW6T5IO.mjs")
3521
+ lazy: () => import("./promotion-create-YGHBTAFC.mjs")
3631
3522
  },
3632
3523
  {
3633
3524
  path: ":id",
3634
3525
  lazy: async () => {
3635
- const { Component, Breadcrumb, loader } = await import("./promotion-detail-BYA66IL7.mjs");
3526
+ const { Component, Breadcrumb, loader } = await import("./promotion-detail-BIC23HFR.mjs");
3636
3527
  return {
3637
3528
  Component,
3638
3529
  loader,
3639
3530
  handle: {
3640
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3531
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3641
3532
  }
3642
3533
  };
3643
3534
  },
@@ -3652,7 +3543,7 @@ function getRouteMap({
3652
3543
  },
3653
3544
  {
3654
3545
  path: ":ruleType/edit",
3655
- lazy: () => import("./edit-rules-SVG7IOSY.mjs")
3546
+ lazy: () => import("./edit-rules-BCGRJ4FJ.mjs")
3656
3547
  }
3657
3548
  ]
3658
3549
  }
@@ -3660,7 +3551,7 @@ function getRouteMap({
3660
3551
  },
3661
3552
  {
3662
3553
  path: "/campaigns",
3663
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3554
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3664
3555
  handle: {
3665
3556
  breadcrumb: () => t("campaigns.domain")
3666
3557
  },
@@ -3677,12 +3568,12 @@ function getRouteMap({
3677
3568
  {
3678
3569
  path: ":id",
3679
3570
  lazy: async () => {
3680
- const { Component, Breadcrumb, loader } = await import("./campaign-detail-CBO7PBOR.mjs");
3571
+ const { Component, Breadcrumb, loader } = await import("./campaign-detail-G2VM7CRL.mjs");
3681
3572
  return {
3682
3573
  Component,
3683
3574
  loader,
3684
3575
  handle: {
3685
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3576
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3686
3577
  }
3687
3578
  };
3688
3579
  },
@@ -3701,7 +3592,7 @@ function getRouteMap({
3701
3592
  },
3702
3593
  {
3703
3594
  path: "add-promotions",
3704
- lazy: () => import("./add-campaign-promotions-APV4J7Z2.mjs")
3595
+ lazy: () => import("./add-campaign-promotions-3BB3BLFD.mjs")
3705
3596
  }
3706
3597
  ]
3707
3598
  }
@@ -3709,45 +3600,45 @@ function getRouteMap({
3709
3600
  },
3710
3601
  {
3711
3602
  path: "/collections",
3712
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3603
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3713
3604
  handle: {
3714
3605
  breadcrumb: () => t("collections.domain")
3715
3606
  },
3716
3607
  children: [
3717
3608
  {
3718
3609
  path: "",
3719
- lazy: () => import("./collection-list-KKEZLFLJ.mjs"),
3610
+ lazy: () => import("./collection-list-GD2IJYOP.mjs"),
3720
3611
  children: [
3721
3612
  {
3722
3613
  path: "create",
3723
- lazy: () => import("./collection-create-75ZI5NDG.mjs")
3614
+ lazy: () => import("./collection-create-PTOF33H2.mjs")
3724
3615
  }
3725
3616
  ]
3726
3617
  },
3727
3618
  {
3728
3619
  path: ":id",
3729
3620
  lazy: async () => {
3730
- const { Component, Breadcrumb, loader } = await import("./collection-detail-LOJ6WZLT.mjs");
3621
+ const { Component, Breadcrumb, loader } = await import("./collection-detail-V24IDEZQ.mjs");
3731
3622
  return {
3732
3623
  Component,
3733
3624
  loader,
3734
3625
  handle: {
3735
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3626
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3736
3627
  }
3737
3628
  };
3738
3629
  },
3739
3630
  children: [
3740
3631
  {
3741
3632
  path: "edit",
3742
- lazy: () => import("./collection-edit-RD6BDDDI.mjs")
3633
+ lazy: () => import("./collection-edit-WM57WXJ2.mjs")
3743
3634
  },
3744
3635
  {
3745
3636
  path: "products",
3746
- lazy: () => import("./collection-add-products-E22XLIP7.mjs")
3637
+ lazy: () => import("./collection-add-products-KEB3ESAK.mjs")
3747
3638
  },
3748
3639
  {
3749
3640
  path: "metadata/edit",
3750
- lazy: () => import("./collection-metadata-MEA56JQC.mjs")
3641
+ lazy: () => import("./collection-metadata-Z2JMXTHW.mjs")
3751
3642
  }
3752
3643
  ]
3753
3644
  }
@@ -3755,49 +3646,49 @@ function getRouteMap({
3755
3646
  },
3756
3647
  {
3757
3648
  path: "/price-lists",
3758
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3649
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3759
3650
  handle: {
3760
3651
  breadcrumb: () => t("priceLists.domain")
3761
3652
  },
3762
3653
  children: [
3763
3654
  {
3764
3655
  path: "",
3765
- lazy: () => import("./price-list-list-55WD2WAY.mjs"),
3656
+ lazy: () => import("./price-list-list-QYZSJNF5.mjs"),
3766
3657
  children: [
3767
3658
  {
3768
3659
  path: "create",
3769
- lazy: () => import("./price-list-create-RHSKBROB.mjs")
3660
+ lazy: () => import("./price-list-create-TZUDGP2J.mjs")
3770
3661
  }
3771
3662
  ]
3772
3663
  },
3773
3664
  {
3774
3665
  path: ":id",
3775
3666
  lazy: async () => {
3776
- const { Component, Breadcrumb, loader } = await import("./price-list-detail-7E2SZNKI.mjs");
3667
+ const { Component, Breadcrumb, loader } = await import("./price-list-detail-DX74DH6G.mjs");
3777
3668
  return {
3778
3669
  Component,
3779
3670
  loader,
3780
3671
  handle: {
3781
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3672
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3782
3673
  }
3783
3674
  };
3784
3675
  },
3785
3676
  children: [
3786
3677
  {
3787
3678
  path: "edit",
3788
- lazy: () => import("./price-list-edit-COHKW6UK.mjs")
3679
+ lazy: () => import("./price-list-edit-G73ZIU2Y.mjs")
3789
3680
  },
3790
3681
  {
3791
3682
  path: "configuration",
3792
- lazy: () => import("./price-list-configuration-HF3DARKG.mjs")
3683
+ lazy: () => import("./price-list-configuration-VACKCKJF.mjs")
3793
3684
  },
3794
3685
  {
3795
3686
  path: "products/add",
3796
- lazy: () => import("./price-list-prices-add-RM5FDABU.mjs")
3687
+ lazy: () => import("./price-list-prices-add-IHMS7HIH.mjs")
3797
3688
  },
3798
3689
  {
3799
3690
  path: "products/edit",
3800
- lazy: () => import("./price-list-prices-edit-SUZNOKK2.mjs")
3691
+ lazy: () => import("./price-list-prices-edit-R53ITSDD.mjs")
3801
3692
  }
3802
3693
  ]
3803
3694
  }
@@ -3805,7 +3696,7 @@ function getRouteMap({
3805
3696
  },
3806
3697
  {
3807
3698
  path: "/customers",
3808
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3699
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3809
3700
  handle: {
3810
3701
  breadcrumb: () => t("customers.domain")
3811
3702
  },
@@ -3823,12 +3714,12 @@ function getRouteMap({
3823
3714
  {
3824
3715
  path: ":id",
3825
3716
  lazy: async () => {
3826
- const { Component, Breadcrumb, loader } = await import("./customer-detail-Z5TU254N.mjs");
3717
+ const { Component, Breadcrumb, loader } = await import("./customer-detail-E7LPLLML.mjs");
3827
3718
  return {
3828
3719
  Component,
3829
3720
  loader,
3830
3721
  handle: {
3831
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3722
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3832
3723
  }
3833
3724
  };
3834
3725
  },
@@ -3843,11 +3734,11 @@ function getRouteMap({
3843
3734
  },
3844
3735
  {
3845
3736
  path: "add-customer-groups",
3846
- lazy: () => import("./customers-add-customer-group-X3VHASZ6.mjs")
3737
+ lazy: () => import("./customers-add-customer-group-LFEUVS5G.mjs")
3847
3738
  },
3848
3739
  {
3849
3740
  path: ":order_id/transfer",
3850
- lazy: () => import("./order-request-transfer-RLU2TK44.mjs")
3741
+ lazy: () => import("./order-request-transfer-MELQKMC4.mjs")
3851
3742
  },
3852
3743
  {
3853
3744
  path: "metadata/edit",
@@ -3859,14 +3750,14 @@ function getRouteMap({
3859
3750
  },
3860
3751
  {
3861
3752
  path: "/customer-groups",
3862
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3753
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3863
3754
  handle: {
3864
3755
  breadcrumb: () => t("customerGroups.domain")
3865
3756
  },
3866
3757
  children: [
3867
3758
  {
3868
3759
  path: "",
3869
- lazy: () => import("./customer-group-list-MCQ4AUJF.mjs"),
3760
+ lazy: () => import("./customer-group-list-N22GDJVL.mjs"),
3870
3761
  children: [
3871
3762
  {
3872
3763
  path: "create",
@@ -3877,12 +3768,12 @@ function getRouteMap({
3877
3768
  {
3878
3769
  path: ":id",
3879
3770
  lazy: async () => {
3880
- const { Component, Breadcrumb, loader } = await import("./customer-group-detail-VCRUQIYD.mjs");
3771
+ const { Component, Breadcrumb, loader } = await import("./customer-group-detail-5ZWHOJOD.mjs");
3881
3772
  return {
3882
3773
  Component,
3883
3774
  loader,
3884
3775
  handle: {
3885
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3776
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3886
3777
  }
3887
3778
  };
3888
3779
  },
@@ -3905,41 +3796,41 @@ function getRouteMap({
3905
3796
  },
3906
3797
  {
3907
3798
  path: "/reservations",
3908
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3799
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3909
3800
  handle: {
3910
3801
  breadcrumb: () => t("reservations.domain")
3911
3802
  },
3912
3803
  children: [
3913
3804
  {
3914
3805
  path: "",
3915
- lazy: () => import("./reservation-list-YNG7YKG2.mjs"),
3806
+ lazy: () => import("./reservation-list-NOWJUMXV.mjs"),
3916
3807
  children: [
3917
3808
  {
3918
3809
  path: "create",
3919
- lazy: () => import("./reservation-create-CBWJLYHP.mjs")
3810
+ lazy: () => import("./reservation-create-FV7QXGL3.mjs")
3920
3811
  }
3921
3812
  ]
3922
3813
  },
3923
3814
  {
3924
3815
  path: ":id",
3925
3816
  lazy: async () => {
3926
- const { Component, Breadcrumb, loader } = await import("./reservation-detail-USSX2THW.mjs");
3817
+ const { Component, Breadcrumb, loader } = await import("./reservation-detail-USDAVGWH.mjs");
3927
3818
  return {
3928
3819
  Component,
3929
3820
  loader,
3930
3821
  handle: {
3931
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3822
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3932
3823
  }
3933
3824
  };
3934
3825
  },
3935
3826
  children: [
3936
3827
  {
3937
3828
  path: "edit",
3938
- lazy: () => import("./edit-reservation-QQTYP22N.mjs")
3829
+ lazy: () => import("./edit-reservation-NYGQBFBO.mjs")
3939
3830
  },
3940
3831
  {
3941
3832
  path: "metadata/edit",
3942
- lazy: () => import("./reservation-metadata-PKWRLWNT.mjs")
3833
+ lazy: () => import("./reservation-metadata-47C6RWYS.mjs")
3943
3834
  }
3944
3835
  ]
3945
3836
  }
@@ -3947,57 +3838,57 @@ function getRouteMap({
3947
3838
  },
3948
3839
  {
3949
3840
  path: "/inventory",
3950
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3841
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3951
3842
  handle: {
3952
3843
  breadcrumb: () => t("inventory.domain")
3953
3844
  },
3954
3845
  children: [
3955
3846
  {
3956
3847
  path: "",
3957
- lazy: () => import("./inventory-list-HUYCKI2I.mjs"),
3848
+ lazy: () => import("./inventory-list-J5VZGQ2M.mjs"),
3958
3849
  children: [
3959
3850
  {
3960
3851
  path: "create",
3961
- lazy: () => import("./inventory-create-DR5LNYQB.mjs")
3852
+ lazy: () => import("./inventory-create-OPYAZF3M.mjs")
3962
3853
  },
3963
3854
  {
3964
3855
  path: "stock",
3965
- lazy: () => import("./inventory-stock-CPNDJYBD.mjs")
3856
+ lazy: () => import("./inventory-stock-7QXMAX45.mjs")
3966
3857
  }
3967
3858
  ]
3968
3859
  },
3969
3860
  {
3970
3861
  path: ":id",
3971
3862
  lazy: async () => {
3972
- const { Component, Breadcrumb, loader } = await import("./inventory-detail-D4MBCFS2.mjs");
3863
+ const { Component, Breadcrumb, loader } = await import("./inventory-detail-PAVP7J2W.mjs");
3973
3864
  return {
3974
3865
  Component,
3975
3866
  loader,
3976
3867
  handle: {
3977
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3868
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
3978
3869
  }
3979
3870
  };
3980
3871
  },
3981
3872
  children: [
3982
3873
  {
3983
3874
  path: "edit",
3984
- lazy: () => import("./edit-inventory-item-ZPE4MMC4.mjs")
3875
+ lazy: () => import("./edit-inventory-item-UV2Z7SYL.mjs")
3985
3876
  },
3986
3877
  {
3987
3878
  path: "attributes",
3988
- lazy: () => import("./edit-inventory-item-attributes-BMPRVCPN.mjs")
3879
+ lazy: () => import("./edit-inventory-item-attributes-BRC3KBYT.mjs")
3989
3880
  },
3990
3881
  {
3991
3882
  path: "metadata/edit",
3992
- lazy: () => import("./inventory-metadata-T22JZF4O.mjs")
3883
+ lazy: () => import("./inventory-metadata-PMQLZCHW.mjs")
3993
3884
  },
3994
3885
  {
3995
3886
  path: "locations",
3996
- lazy: () => import("./manage-locations-3TBIUSHP.mjs")
3887
+ lazy: () => import("./manage-locations-RPHTPGRE.mjs")
3997
3888
  },
3998
3889
  {
3999
3890
  path: "locations/:location_id",
4000
- lazy: () => import("./adjust-inventory-WBEBMJN7.mjs")
3891
+ lazy: () => import("./adjust-inventory-OIJTAKHP.mjs")
4001
3892
  }
4002
3893
  ]
4003
3894
  }
@@ -4009,24 +3900,24 @@ function getRouteMap({
4009
3900
  ]
4010
3901
  },
4011
3902
  {
4012
- element: /* @__PURE__ */ jsx18(ProtectedRoute, {}),
4013
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3903
+ element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
3904
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4014
3905
  children: [
4015
3906
  {
4016
3907
  path: "/settings",
4017
3908
  handle: {
4018
3909
  breadcrumb: () => t("app.nav.settings.header")
4019
3910
  },
4020
- element: /* @__PURE__ */ jsx18(SettingsLayout, {}),
3911
+ element: /* @__PURE__ */ jsx17(SettingsLayout, {}),
4021
3912
  children: [
4022
3913
  {
4023
3914
  index: true,
4024
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3915
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4025
3916
  lazy: () => import("./settings-2VXIGDVD.mjs")
4026
3917
  },
4027
3918
  {
4028
3919
  path: "profile",
4029
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
3920
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4030
3921
  lazy: () => import("./profile-detail-XYAQ2G36.mjs"),
4031
3922
  handle: {
4032
3923
  breadcrumb: () => t("profile.domain")
@@ -4040,8 +3931,8 @@ function getRouteMap({
4040
3931
  },
4041
3932
  {
4042
3933
  path: "regions",
4043
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4044
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
3934
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3935
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4045
3936
  handle: {
4046
3937
  breadcrumb: () => t("regions.domain")
4047
3938
  },
@@ -4052,7 +3943,7 @@ function getRouteMap({
4052
3943
  children: [
4053
3944
  {
4054
3945
  path: "create",
4055
- lazy: () => import("./region-create-4C42KVB4.mjs")
3946
+ lazy: () => import("./region-create-AFZTSM3N.mjs")
4056
3947
  }
4057
3948
  ]
4058
3949
  },
@@ -4064,14 +3955,14 @@ function getRouteMap({
4064
3955
  Component,
4065
3956
  loader,
4066
3957
  handle: {
4067
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
3958
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4068
3959
  }
4069
3960
  };
4070
3961
  },
4071
3962
  children: [
4072
3963
  {
4073
3964
  path: "edit",
4074
- lazy: () => import("./region-edit-CLE5VVRP.mjs")
3965
+ lazy: () => import("./region-edit-DSYIUI7W.mjs")
4075
3966
  },
4076
3967
  {
4077
3968
  path: "countries/add",
@@ -4079,7 +3970,7 @@ function getRouteMap({
4079
3970
  },
4080
3971
  {
4081
3972
  path: "metadata/edit",
4082
- lazy: () => import("./region-metadata-23FQEWQ7.mjs")
3973
+ lazy: () => import("./region-metadata-L5K6YENH.mjs")
4083
3974
  }
4084
3975
  ]
4085
3976
  }
@@ -4087,8 +3978,8 @@ function getRouteMap({
4087
3978
  },
4088
3979
  {
4089
3980
  path: "store",
4090
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4091
- lazy: () => import("./store-detail-72GMDFY7.mjs"),
3981
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
3982
+ lazy: () => import("./store-detail-MZAKRCTC.mjs"),
4092
3983
  handle: {
4093
3984
  breadcrumb: () => t("store.domain")
4094
3985
  },
@@ -4103,14 +3994,14 @@ function getRouteMap({
4103
3994
  },
4104
3995
  {
4105
3996
  path: "metadata/edit",
4106
- lazy: () => import("./store-metadata-TXSRTL6B.mjs")
3997
+ lazy: () => import("./store-metadata-GO4TXB3W.mjs")
4107
3998
  }
4108
3999
  ]
4109
4000
  },
4110
4001
  {
4111
4002
  path: "users",
4112
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4113
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4003
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4004
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4114
4005
  handle: {
4115
4006
  breadcrumb: () => t("users.domain")
4116
4007
  },
@@ -4128,12 +4019,12 @@ function getRouteMap({
4128
4019
  {
4129
4020
  path: ":id",
4130
4021
  lazy: async () => {
4131
- const { Component, Breadcrumb, loader } = await import("./user-detail-ZIWKV6QD.mjs");
4022
+ const { Component, Breadcrumb, loader } = await import("./user-detail-ZFW3YF3M.mjs");
4132
4023
  return {
4133
4024
  Component,
4134
4025
  loader,
4135
4026
  handle: {
4136
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4027
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4137
4028
  }
4138
4029
  };
4139
4030
  },
@@ -4144,7 +4035,7 @@ function getRouteMap({
4144
4035
  },
4145
4036
  {
4146
4037
  path: "metadata/edit",
4147
- lazy: () => import("./user-metadata-TM3FFLIR.mjs")
4038
+ lazy: () => import("./user-metadata-2CR2AK3U.mjs")
4148
4039
  }
4149
4040
  ]
4150
4041
  }
@@ -4152,46 +4043,46 @@ function getRouteMap({
4152
4043
  },
4153
4044
  {
4154
4045
  path: "sales-channels",
4155
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4156
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4046
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4047
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4157
4048
  handle: {
4158
4049
  breadcrumb: () => t("salesChannels.domain")
4159
4050
  },
4160
4051
  children: [
4161
4052
  {
4162
4053
  path: "",
4163
- lazy: () => import("./sales-channel-list-FOAVTG7H.mjs"),
4054
+ lazy: () => import("./sales-channel-list-LCPDOQK3.mjs"),
4164
4055
  children: [
4165
4056
  {
4166
4057
  path: "create",
4167
- lazy: () => import("./sales-channel-create-VW2UPYSI.mjs")
4058
+ lazy: () => import("./sales-channel-create-NODWGJDD.mjs")
4168
4059
  }
4169
4060
  ]
4170
4061
  },
4171
4062
  {
4172
4063
  path: ":id",
4173
4064
  lazy: async () => {
4174
- const { Component, Breadcrumb, loader } = await import("./sales-channel-detail-JKJLEM4C.mjs");
4065
+ const { Component, Breadcrumb, loader } = await import("./sales-channel-detail-IWWRX2Y3.mjs");
4175
4066
  return {
4176
4067
  Component,
4177
4068
  loader,
4178
4069
  handle: {
4179
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4070
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4180
4071
  }
4181
4072
  };
4182
4073
  },
4183
4074
  children: [
4184
4075
  {
4185
4076
  path: "edit",
4186
- lazy: () => import("./sales-channel-edit-OA6QPIHW.mjs")
4077
+ lazy: () => import("./sales-channel-edit-ALIRERVH.mjs")
4187
4078
  },
4188
4079
  {
4189
4080
  path: "add-products",
4190
- lazy: () => import("./sales-channel-add-products-DKDV65UU.mjs")
4081
+ lazy: () => import("./sales-channel-add-products-NGPN4IRB.mjs")
4191
4082
  },
4192
4083
  {
4193
4084
  path: "metadata/edit",
4194
- lazy: () => import("./sales-channel-metadata-3RXYX7U2.mjs")
4085
+ lazy: () => import("./sales-channel-metadata-VZ4TINYG.mjs")
4195
4086
  }
4196
4087
  ]
4197
4088
  }
@@ -4199,8 +4090,8 @@ function getRouteMap({
4199
4090
  },
4200
4091
  {
4201
4092
  path: "locations",
4202
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4203
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4093
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4094
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4204
4095
  handle: {
4205
4096
  breadcrumb: () => t("locations.domain")
4206
4097
  },
@@ -4215,7 +4106,7 @@ function getRouteMap({
4215
4106
  },
4216
4107
  {
4217
4108
  path: "shipping-profiles",
4218
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4109
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4219
4110
  handle: {
4220
4111
  breadcrumb: () => t("shippingProfile.domain")
4221
4112
  },
@@ -4238,14 +4129,14 @@ function getRouteMap({
4238
4129
  Component,
4239
4130
  loader,
4240
4131
  handle: {
4241
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4132
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4242
4133
  }
4243
4134
  };
4244
4135
  },
4245
4136
  children: [
4246
4137
  {
4247
4138
  path: "metadata/edit",
4248
- lazy: () => import("./shipping-profile-metadata-3TZDQ27Z.mjs")
4139
+ lazy: () => import("./shipping-profile-metadata-ZOR7MQFF.mjs")
4249
4140
  }
4250
4141
  ]
4251
4142
  }
@@ -4253,38 +4144,38 @@ function getRouteMap({
4253
4144
  },
4254
4145
  {
4255
4146
  path: "shipping-option-types",
4256
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4257
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4147
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4148
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4258
4149
  handle: {
4259
4150
  breadcrumb: () => t("shippingOptionTypes.domain")
4260
4151
  },
4261
4152
  children: [
4262
4153
  {
4263
4154
  path: "",
4264
- lazy: () => import("./shipping-option-type-list-SGTTVHWK.mjs"),
4155
+ lazy: () => import("./shipping-option-type-list-GI5GBLIS.mjs"),
4265
4156
  children: [
4266
4157
  {
4267
4158
  path: "create",
4268
- lazy: () => import("./shipping-option-type-create-ZLYFQFYI.mjs")
4159
+ lazy: () => import("./shipping-option-type-create-NOMFII5B.mjs")
4269
4160
  }
4270
4161
  ]
4271
4162
  },
4272
4163
  {
4273
4164
  path: ":id",
4274
4165
  lazy: async () => {
4275
- const { Component, Breadcrumb, loader } = await import("./shipping-option-type-detail-OMVJZSOI.mjs");
4166
+ const { Component, Breadcrumb, loader } = await import("./shipping-option-type-detail-6XIJRVZ5.mjs");
4276
4167
  return {
4277
4168
  Component,
4278
4169
  loader,
4279
4170
  handle: {
4280
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4171
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4281
4172
  }
4282
4173
  };
4283
4174
  },
4284
4175
  children: [
4285
4176
  {
4286
4177
  path: "edit",
4287
- lazy: () => import("./shipping-option-type-edit-5XHFIDEZ.mjs")
4178
+ lazy: () => import("./shipping-option-type-edit-PEDYL6JQ.mjs")
4288
4179
  }
4289
4180
  ]
4290
4181
  }
@@ -4293,12 +4184,12 @@ function getRouteMap({
4293
4184
  {
4294
4185
  path: ":location_id",
4295
4186
  lazy: async () => {
4296
- const { Component, Breadcrumb, loader } = await import("./location-detail-SG4X4HBT.mjs");
4187
+ const { Component, Breadcrumb, loader } = await import("./location-detail-IXHZ7DZS.mjs");
4297
4188
  return {
4298
4189
  Component,
4299
4190
  loader,
4300
4191
  handle: {
4301
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4192
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4302
4193
  }
4303
4194
  };
4304
4195
  },
@@ -4309,11 +4200,11 @@ function getRouteMap({
4309
4200
  },
4310
4201
  {
4311
4202
  path: "sales-channels",
4312
- lazy: () => import("./location-sales-channels-HVZHZMBY.mjs")
4203
+ lazy: () => import("./location-sales-channels-66ZE3ZMI.mjs")
4313
4204
  },
4314
4205
  {
4315
4206
  path: "fulfillment-providers",
4316
- lazy: () => import("./location-fulfillment-providers-YNKCL3FV.mjs")
4207
+ lazy: () => import("./location-fulfillment-providers-3KPC4HQT.mjs")
4317
4208
  },
4318
4209
  {
4319
4210
  path: "fulfillment-set/:fset_id",
@@ -4338,7 +4229,7 @@ function getRouteMap({
4338
4229
  children: [
4339
4230
  {
4340
4231
  path: "create",
4341
- lazy: () => import("./location-service-zone-shipping-option-create-PF7YJSC3.mjs")
4232
+ lazy: () => import("./location-service-zone-shipping-option-create-PVQ66CXW.mjs")
4342
4233
  },
4343
4234
  {
4344
4235
  path: ":so_id",
@@ -4365,42 +4256,42 @@ function getRouteMap({
4365
4256
  },
4366
4257
  {
4367
4258
  path: "product-tags",
4368
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4369
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4259
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4260
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4370
4261
  handle: {
4371
4262
  breadcrumb: () => t("productTags.domain")
4372
4263
  },
4373
4264
  children: [
4374
4265
  {
4375
4266
  path: "",
4376
- lazy: () => import("./product-tag-list-6TGDOAMD.mjs"),
4267
+ lazy: () => import("./product-tag-list-YPIZII2D.mjs"),
4377
4268
  children: [
4378
4269
  {
4379
4270
  path: "create",
4380
- lazy: () => import("./product-tag-create-U5DAEOBS.mjs")
4271
+ lazy: () => import("./product-tag-create-FVU5JRL3.mjs")
4381
4272
  }
4382
4273
  ]
4383
4274
  },
4384
4275
  {
4385
4276
  path: ":id",
4386
4277
  lazy: async () => {
4387
- const { Component, Breadcrumb, loader } = await import("./product-tag-detail-YB44E6JT.mjs");
4278
+ const { Component, Breadcrumb, loader } = await import("./product-tag-detail-VMVPWMZK.mjs");
4388
4279
  return {
4389
4280
  Component,
4390
4281
  loader,
4391
4282
  handle: {
4392
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4283
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4393
4284
  }
4394
4285
  };
4395
4286
  },
4396
4287
  children: [
4397
4288
  {
4398
4289
  path: "edit",
4399
- lazy: () => import("./product-tag-edit-J3OPHCDJ.mjs")
4290
+ lazy: () => import("./product-tag-edit-OWI3OFVF.mjs")
4400
4291
  },
4401
4292
  {
4402
4293
  path: "metadata/edit",
4403
- lazy: () => import("./product-tag-metadata-VAHEGSFJ.mjs")
4294
+ lazy: () => import("./product-tag-metadata-B4YBSHOH.mjs")
4404
4295
  }
4405
4296
  ]
4406
4297
  }
@@ -4408,8 +4299,8 @@ function getRouteMap({
4408
4299
  },
4409
4300
  {
4410
4301
  path: "workflows",
4411
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4412
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4302
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4303
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4413
4304
  handle: {
4414
4305
  breadcrumb: () => t("workflowExecutions.domain")
4415
4306
  },
@@ -4421,12 +4312,12 @@ function getRouteMap({
4421
4312
  {
4422
4313
  path: ":id",
4423
4314
  lazy: async () => {
4424
- const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-3IBZZVRE.mjs");
4315
+ const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-ZD7OVL4W.mjs");
4425
4316
  return {
4426
4317
  Component,
4427
4318
  loader,
4428
4319
  handle: {
4429
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4320
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4430
4321
  }
4431
4322
  };
4432
4323
  }
@@ -4435,8 +4326,8 @@ function getRouteMap({
4435
4326
  },
4436
4327
  {
4437
4328
  path: "product-types",
4438
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4439
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4329
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4330
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4440
4331
  handle: {
4441
4332
  breadcrumb: () => t("productTypes.domain")
4442
4333
  },
@@ -4454,12 +4345,12 @@ function getRouteMap({
4454
4345
  {
4455
4346
  path: ":id",
4456
4347
  lazy: async () => {
4457
- const { Component, Breadcrumb, loader } = await import("./product-type-detail-EN3WAIVO.mjs");
4348
+ const { Component, Breadcrumb, loader } = await import("./product-type-detail-243HFRBD.mjs");
4458
4349
  return {
4459
4350
  Component,
4460
4351
  loader,
4461
4352
  handle: {
4462
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4353
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4463
4354
  }
4464
4355
  };
4465
4356
  },
@@ -4470,7 +4361,7 @@ function getRouteMap({
4470
4361
  },
4471
4362
  {
4472
4363
  path: "metadata/edit",
4473
- lazy: () => import("./product-type-metadata-R3YLZGY5.mjs")
4364
+ lazy: () => import("./product-type-metadata-4YE4UEOF.mjs")
4474
4365
  }
4475
4366
  ]
4476
4367
  }
@@ -4478,22 +4369,22 @@ function getRouteMap({
4478
4369
  },
4479
4370
  {
4480
4371
  path: "publishable-api-keys",
4481
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4372
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4482
4373
  handle: {
4483
4374
  breadcrumb: () => t("apiKeyManagement.domain.publishable")
4484
4375
  },
4485
4376
  children: [
4486
4377
  {
4487
4378
  path: "",
4488
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4379
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4489
4380
  children: [
4490
4381
  {
4491
4382
  path: "",
4492
- lazy: () => import("./api-key-management-list-QAMBWB7T.mjs"),
4383
+ lazy: () => import("./api-key-management-list-C2WM4PHC.mjs"),
4493
4384
  children: [
4494
4385
  {
4495
4386
  path: "create",
4496
- lazy: () => import("./api-key-management-create-VXPZX2Q5.mjs")
4387
+ lazy: () => import("./api-key-management-create-XDQHUNWK.mjs")
4497
4388
  }
4498
4389
  ]
4499
4390
  }
@@ -4502,23 +4393,23 @@ function getRouteMap({
4502
4393
  {
4503
4394
  path: ":id",
4504
4395
  lazy: async () => {
4505
- const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-P2CXWYQG.mjs");
4396
+ const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-MM673US3.mjs");
4506
4397
  return {
4507
4398
  Component,
4508
4399
  loader,
4509
4400
  handle: {
4510
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4401
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4511
4402
  }
4512
4403
  };
4513
4404
  },
4514
4405
  children: [
4515
4406
  {
4516
4407
  path: "edit",
4517
- lazy: () => import("./api-key-management-edit-7CGMSHAY.mjs")
4408
+ lazy: () => import("./api-key-management-edit-2SUSKI7T.mjs")
4518
4409
  },
4519
4410
  {
4520
4411
  path: "sales-channels",
4521
- lazy: () => import("./api-key-management-sales-channels-ESGRJKDT.mjs")
4412
+ lazy: () => import("./api-key-management-sales-channels-MVHVMPF6.mjs")
4522
4413
  }
4523
4414
  ]
4524
4415
  }
@@ -4526,22 +4417,22 @@ function getRouteMap({
4526
4417
  },
4527
4418
  {
4528
4419
  path: "secret-api-keys",
4529
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4420
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4530
4421
  handle: {
4531
4422
  breadcrumb: () => t("apiKeyManagement.domain.secret")
4532
4423
  },
4533
4424
  children: [
4534
4425
  {
4535
4426
  path: "",
4536
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4427
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4537
4428
  children: [
4538
4429
  {
4539
4430
  path: "",
4540
- lazy: () => import("./api-key-management-list-QAMBWB7T.mjs"),
4431
+ lazy: () => import("./api-key-management-list-C2WM4PHC.mjs"),
4541
4432
  children: [
4542
4433
  {
4543
4434
  path: "create",
4544
- lazy: () => import("./api-key-management-create-VXPZX2Q5.mjs")
4435
+ lazy: () => import("./api-key-management-create-XDQHUNWK.mjs")
4545
4436
  }
4546
4437
  ]
4547
4438
  }
@@ -4550,19 +4441,19 @@ function getRouteMap({
4550
4441
  {
4551
4442
  path: ":id",
4552
4443
  lazy: async () => {
4553
- const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-P2CXWYQG.mjs");
4444
+ const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-MM673US3.mjs");
4554
4445
  return {
4555
4446
  Component,
4556
4447
  loader,
4557
4448
  handle: {
4558
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4449
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4559
4450
  }
4560
4451
  };
4561
4452
  },
4562
4453
  children: [
4563
4454
  {
4564
4455
  path: "edit",
4565
- lazy: () => import("./api-key-management-edit-7CGMSHAY.mjs")
4456
+ lazy: () => import("./api-key-management-edit-2SUSKI7T.mjs")
4566
4457
  }
4567
4458
  ]
4568
4459
  }
@@ -4570,7 +4461,7 @@ function getRouteMap({
4570
4461
  },
4571
4462
  {
4572
4463
  path: "tax-regions",
4573
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4464
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4574
4465
  handle: {
4575
4466
  breadcrumb: () => t("taxRegions.domain")
4576
4467
  },
@@ -4581,7 +4472,7 @@ function getRouteMap({
4581
4472
  children: [
4582
4473
  {
4583
4474
  path: "create",
4584
- lazy: () => import("./tax-region-create-U6XXHBMJ.mjs")
4475
+ lazy: () => import("./tax-region-create-KDCNQGPC.mjs")
4585
4476
  }
4586
4477
  ]
4587
4478
  },
@@ -4590,13 +4481,13 @@ function getRouteMap({
4590
4481
  Component: Outlet4,
4591
4482
  loader: taxRegionLoader,
4592
4483
  handle: {
4593
- breadcrumb: (match) => /* @__PURE__ */ jsx18(TaxRegionDetailBreadcrumb, { ...match })
4484
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(TaxRegionDetailBreadcrumb, { ...match })
4594
4485
  },
4595
4486
  children: [
4596
4487
  {
4597
4488
  path: "",
4598
4489
  lazy: async () => {
4599
- const { Component } = await import("./tax-region-detail-V4E63XUI.mjs");
4490
+ const { Component } = await import("./tax-region-detail-O6U6ZVDB.mjs");
4600
4491
  return {
4601
4492
  Component
4602
4493
  };
@@ -4604,7 +4495,7 @@ function getRouteMap({
4604
4495
  children: [
4605
4496
  {
4606
4497
  path: "edit",
4607
- lazy: () => import("./tax-region-edit-2DQPKIJG.mjs")
4498
+ lazy: () => import("./tax-region-edit-T4B5DM55.mjs")
4608
4499
  },
4609
4500
  {
4610
4501
  path: "provinces/create",
@@ -4612,11 +4503,11 @@ function getRouteMap({
4612
4503
  },
4613
4504
  {
4614
4505
  path: "overrides/create",
4615
- lazy: () => import("./tax-region-tax-override-create-BPZKBPN6.mjs")
4506
+ lazy: () => import("./tax-region-tax-override-create-MSL7HEM6.mjs")
4616
4507
  },
4617
4508
  {
4618
4509
  path: "overrides/:tax_rate_id/edit",
4619
- lazy: () => import("./tax-region-tax-override-edit-O7LUBRQN.mjs")
4510
+ lazy: () => import("./tax-region-tax-override-edit-AO6CYS62.mjs")
4620
4511
  },
4621
4512
  {
4622
4513
  path: "tax-rates/create",
@@ -4631,12 +4522,12 @@ function getRouteMap({
4631
4522
  {
4632
4523
  path: "provinces/:province_id",
4633
4524
  lazy: async () => {
4634
- const { Component, Breadcrumb, loader } = await import("./tax-region-province-detail-P6LPVSQJ.mjs");
4525
+ const { Component, Breadcrumb, loader } = await import("./tax-region-province-detail-XH45ZAOJ.mjs");
4635
4526
  return {
4636
4527
  Component,
4637
4528
  loader,
4638
4529
  handle: {
4639
- breadcrumb: (match) => /* @__PURE__ */ jsx18(Breadcrumb, { ...match })
4530
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
4640
4531
  }
4641
4532
  };
4642
4533
  },
@@ -4651,11 +4542,11 @@ function getRouteMap({
4651
4542
  },
4652
4543
  {
4653
4544
  path: "overrides/create",
4654
- lazy: () => import("./tax-region-tax-override-create-BPZKBPN6.mjs")
4545
+ lazy: () => import("./tax-region-tax-override-create-MSL7HEM6.mjs")
4655
4546
  },
4656
4547
  {
4657
4548
  path: "overrides/:tax_rate_id/edit",
4658
- lazy: () => import("./tax-region-tax-override-edit-O7LUBRQN.mjs")
4549
+ lazy: () => import("./tax-region-tax-override-edit-AO6CYS62.mjs")
4659
4550
  }
4660
4551
  ]
4661
4552
  }
@@ -4665,7 +4556,7 @@ function getRouteMap({
4665
4556
  },
4666
4557
  {
4667
4558
  path: "return-reasons",
4668
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4559
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4669
4560
  handle: {
4670
4561
  breadcrumb: () => t("returnReasons.domain")
4671
4562
  },
@@ -4693,18 +4584,18 @@ function getRouteMap({
4693
4584
  },
4694
4585
  {
4695
4586
  path: "refund-reasons",
4696
- element: /* @__PURE__ */ jsx18(Outlet4, {}),
4587
+ element: /* @__PURE__ */ jsx17(Outlet4, {}),
4697
4588
  handle: {
4698
4589
  breadcrumb: () => t("refundReasons.domain")
4699
4590
  },
4700
4591
  children: [
4701
4592
  {
4702
4593
  path: "",
4703
- lazy: () => import("./refund-reason-list-V7UO2NAY.mjs"),
4594
+ lazy: () => import("./refund-reason-list-7GANH7KL.mjs"),
4704
4595
  children: [
4705
4596
  {
4706
4597
  path: "create",
4707
- lazy: () => import("./refund-reason-create-D5DJVOXP.mjs")
4598
+ lazy: () => import("./refund-reason-create-YCWLRRBW.mjs")
4708
4599
  },
4709
4600
  {
4710
4601
  path: ":id",
@@ -4725,18 +4616,18 @@ function getRouteMap({
4725
4616
  ]
4726
4617
  },
4727
4618
  {
4728
- element: /* @__PURE__ */ jsx18(PublicLayout, {}),
4619
+ element: /* @__PURE__ */ jsx17(PublicLayout, {}),
4729
4620
  children: [
4730
4621
  {
4731
- errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
4622
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
4732
4623
  children: [
4733
4624
  {
4734
4625
  path: "/login",
4735
- lazy: () => import("./login-23RIW4IY.mjs")
4626
+ lazy: () => import("./login-DVYOEF5F.mjs")
4736
4627
  },
4737
4628
  {
4738
4629
  path: "/reset-password",
4739
- lazy: () => import("./reset-password-EKZEJXQU.mjs")
4630
+ lazy: () => import("./reset-password-LCVV4NOA.mjs")
4740
4631
  },
4741
4632
  {
4742
4633
  path: "/invite",
@@ -4871,7 +4762,7 @@ var createRouteMap = (routes, ignore) => {
4871
4762
  };
4872
4763
 
4873
4764
  // src/dashboard-app/dashboard-app.tsx
4874
- import { jsx as jsx19 } from "react/jsx-runtime";
4765
+ import { jsx as jsx18 } from "react/jsx-runtime";
4875
4766
  var DashboardApp = class {
4876
4767
  constructor({ plugins }) {
4877
4768
  __publicField(this, "widgets");
@@ -4973,7 +4864,7 @@ var DashboardApp = class {
4973
4864
  const navItem = {
4974
4865
  label: item.label,
4975
4866
  to: item.path,
4976
- icon: item.icon ? /* @__PURE__ */ jsx19(item.icon, {}) : void 0,
4867
+ icon: item.icon ? /* @__PURE__ */ jsx18(item.icon, {}) : void 0,
4977
4868
  items: [],
4978
4869
  nested: item.nested
4979
4870
  };
@@ -5166,7 +5057,7 @@ var DashboardApp = class {
5166
5057
  const router = createBrowserRouter(routes, {
5167
5058
  basename: __BASE__ || "/"
5168
5059
  });
5169
- return /* @__PURE__ */ jsx19(Providers, { api: this.api, children: /* @__PURE__ */ jsx19(RouterProvider, { router }) });
5060
+ return /* @__PURE__ */ jsx18(Providers, { api: this.api, children: /* @__PURE__ */ jsx18(RouterProvider, { router }) });
5170
5061
  }
5171
5062
  };
5172
5063
 
@@ -5211,9 +5102,9 @@ function getFieldType(type) {
5211
5102
  }
5212
5103
 
5213
5104
  // src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx
5214
- import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
5105
+ import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
5215
5106
  var FormExtensionZone = ({ fields, form }) => {
5216
- return /* @__PURE__ */ jsx20("div", { children: fields.map((field, index) => /* @__PURE__ */ jsx20(FormExtensionField, { field, form }, index)) });
5107
+ return /* @__PURE__ */ jsx19("div", { children: fields.map((field, index) => /* @__PURE__ */ jsx19(FormExtensionField, { field, form }, index)) });
5217
5108
  };
5218
5109
  function getFieldLabel(field) {
5219
5110
  if (field.label) {
@@ -5228,16 +5119,16 @@ var FormExtensionField = ({ field, form }) => {
5228
5119
  const Component = field.Component;
5229
5120
  const type = getFieldType(field.validation);
5230
5121
  const { control } = form;
5231
- return /* @__PURE__ */ jsx20(
5122
+ return /* @__PURE__ */ jsx19(
5232
5123
  Form.Field,
5233
5124
  {
5234
5125
  control,
5235
5126
  name: `additional_data.${field.name}`,
5236
5127
  render: ({ field: field2 }) => {
5237
- return /* @__PURE__ */ jsxs12(Form.Item, { children: [
5238
- /* @__PURE__ */ jsx20(Form.Label, { children: label }),
5239
- description && /* @__PURE__ */ jsx20(Form.Hint, { children: description }),
5240
- /* @__PURE__ */ jsx20(Form.Control, { children: /* @__PURE__ */ jsx20(
5128
+ return /* @__PURE__ */ jsxs11(Form.Item, { children: [
5129
+ /* @__PURE__ */ jsx19(Form.Label, { children: label }),
5130
+ description && /* @__PURE__ */ jsx19(Form.Hint, { children: description }),
5131
+ /* @__PURE__ */ jsx19(Form.Control, { children: /* @__PURE__ */ jsx19(
5241
5132
  FormExtensionFieldComponent,
5242
5133
  {
5243
5134
  field: field2,
@@ -5246,7 +5137,7 @@ var FormExtensionField = ({ field, form }) => {
5246
5137
  placeholder
5247
5138
  }
5248
5139
  ) }),
5249
- /* @__PURE__ */ jsx20(Form.ErrorMessage, {})
5140
+ /* @__PURE__ */ jsx19(Form.ErrorMessage, {})
5250
5141
  ] });
5251
5142
  }
5252
5143
  }
@@ -5261,20 +5152,20 @@ var FormExtensionFieldComponent = ({
5261
5152
  const { t: t2 } = useTranslation12();
5262
5153
  if (component) {
5263
5154
  const Component = component;
5264
- return /* @__PURE__ */ jsx20(Component, { ...field, placeholder });
5155
+ return /* @__PURE__ */ jsx19(Component, { ...field, placeholder });
5265
5156
  }
5266
5157
  switch (type) {
5267
5158
  case "text": {
5268
- return /* @__PURE__ */ jsx20(Input2, { ...field, placeholder });
5159
+ return /* @__PURE__ */ jsx19(Input2, { ...field, placeholder });
5269
5160
  }
5270
5161
  case "number": {
5271
- return /* @__PURE__ */ jsx20(Input2, { ...field, placeholder, type: "number" });
5162
+ return /* @__PURE__ */ jsx19(Input2, { ...field, placeholder, type: "number" });
5272
5163
  }
5273
5164
  case "boolean": {
5274
- return /* @__PURE__ */ jsx20(Switch, { className: "rtl:rotate-180", dir: "ltr", ...field });
5165
+ return /* @__PURE__ */ jsx19(Switch, { className: "rtl:rotate-180", dir: "ltr", ...field });
5275
5166
  }
5276
5167
  default: {
5277
- return /* @__PURE__ */ jsx20(InlineTip, { variant: "warning", label: t2("general.warning"), children: "The field type does not support rendering a fallback component. Please provide a component prop." });
5168
+ return /* @__PURE__ */ jsx19(InlineTip, { variant: "warning", label: t2("general.warning"), children: "The field type does not support rendering a fallback component. Please provide a component prop." });
5278
5169
  }
5279
5170
  }
5280
5171
  };