@mantajs/dashboard 0.1.12 → 0.1.14

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 (167) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +253 -0
  3. package/dist/{api-key-management-detail-TM6K63HF.mjs → api-key-management-detail-SZR6LLZY.mjs} +16 -16
  4. package/dist/{api-key-management-sales-channels-4GOYD6BF.mjs → api-key-management-sales-channels-WZAGFYC5.mjs} +6 -6
  5. package/dist/app.css +0 -20
  6. package/dist/app.js +11156 -11279
  7. package/dist/app.mjs +9 -9
  8. package/dist/campaign-create-FJOECKGT.mjs +1 -1
  9. package/dist/{chunk-LISLAU2F.mjs → chunk-FBYTX6K7.mjs} +7 -7
  10. package/dist/{chunk-VHUQFKRO.mjs → chunk-M5AMBSF6.mjs} +188 -181
  11. package/dist/{collection-list-KLL2VLDE.mjs → collection-list-EFER73U6.mjs} +10 -10
  12. package/dist/{customer-detail-DN46Z4Z7.mjs → customer-detail-NCPDOSIN.mjs} +15 -15
  13. package/dist/{customer-group-list-UW5KXNKV.mjs → customer-group-list-KZHWADWX.mjs} +17 -17
  14. package/dist/{home-524EFXYO.mjs → home-KFQGXKRT.mjs} +1 -1
  15. package/dist/{inventory-detail-42PY5NFS.mjs → inventory-detail-2MFCIKDT.mjs} +16 -16
  16. package/dist/{inventory-stock-MCURFEYD.mjs → inventory-stock-3PPGJ2JD.mjs} +8 -9
  17. package/dist/{location-fulfillment-providers-KQUDIYAF.mjs → location-fulfillment-providers-TXNXNHRD.mjs} +16 -16
  18. package/dist/{location-list-YDMTR5QM.mjs → location-list-KVBA6J47.mjs} +4 -4
  19. package/dist/{location-sales-channels-WGVKHV3B.mjs → location-sales-channels-P6O7KJAO.mjs} +6 -6
  20. package/dist/{location-service-zone-shipping-option-create-5XHKSHIS.mjs → location-service-zone-shipping-option-create-XXHX5DWG.mjs} +15 -15
  21. package/dist/{location-service-zone-shipping-option-pricing-VTD5YQ7X.mjs → location-service-zone-shipping-option-pricing-5HN2Z5RB.mjs} +2 -2
  22. package/dist/{order-export-Z7RZH5EX.mjs → order-export-IFN234IN.mjs} +12 -12
  23. package/dist/{order-list-BXZST6UW.mjs → order-list-57XK2DRD.mjs} +10 -10
  24. package/dist/{product-attributes-NT25DQN6.mjs → product-attributes-TGLEKV7Y.mjs} +8 -8
  25. package/dist/{product-create-GZANVK54.mjs → product-create-IGJXOMQN.mjs} +28 -28
  26. package/dist/{product-detail-P3LEJNTC.mjs → product-detail-ZZMHLWWL.mjs} +19 -19
  27. package/dist/{product-edit-ZWEDI4DK.mjs → product-edit-AH2FVEYF.mjs} +8 -8
  28. package/dist/{product-export-TJYITBFD.mjs → product-export-TX7U6SYH.mjs} +10 -10
  29. package/dist/{product-list-7EB54CNP.mjs → product-list-RZNYCKTQ.mjs} +13 -13
  30. package/dist/{product-media-WN2GYSM3.mjs → product-media-CG4RFOTX.mjs} +2 -2
  31. package/dist/{product-organization-3PJP3Y43.mjs → product-organization-C4LU2WFS.mjs} +8 -8
  32. package/dist/{product-sales-channels-KZMXJISB.mjs → product-sales-channels-XBALPVAL.mjs} +6 -6
  33. package/dist/{product-tag-detail-JPH3QX6V.mjs → product-tag-detail-JPNWE5QK.mjs} +12 -12
  34. package/dist/{product-tag-list-AOR3RSJW.mjs → product-tag-list-KOYJZMGY.mjs} +12 -12
  35. package/dist/promotion-add-campaign-DO67QK6M.mjs +1 -1
  36. package/dist/{refund-reason-list-GKHO2WDS.mjs → refund-reason-list-YROTDEQW.mjs} +12 -12
  37. package/dist/{sales-channel-list-SWDVR3IS.mjs → sales-channel-list-BHMHTVP5.mjs} +13 -13
  38. package/dist/{tax-region-detail-D22AOV54.mjs → tax-region-detail-JDWO7JFL.mjs} +17 -17
  39. package/dist/{tax-region-province-detail-B5FBOF3U.mjs → tax-region-province-detail-NEYURIVX.mjs} +17 -17
  40. package/dist/{tax-region-tax-override-create-XDO7RON2.mjs → tax-region-tax-override-create-EBTFIY7C.mjs} +19 -19
  41. package/dist/{tax-region-tax-override-edit-3RTRDVDI.mjs → tax-region-tax-override-edit-UUKEKERW.mjs} +15 -15
  42. package/dist/{user-list-XFW3SHWQ.mjs → user-list-YTZQNYSO.mjs} +5 -5
  43. package/dist/vite-plugin/index.js +79 -21
  44. package/dist/vite-plugin/index.mjs +79 -21
  45. package/package.json +29 -3
  46. package/src/app.tsx +1 -1
  47. package/src/components/layout/main-layout/main-layout.tsx +2 -2
  48. package/src/dashboard-app/dashboard-app.tsx +2 -1
  49. package/src/dashboard-app/forms/hooks.tsx +1 -1
  50. package/src/dashboard-app/links/utils.ts +1 -1
  51. package/src/dashboard-app/routes/get-route.map.tsx +0 -8
  52. package/src/dashboard-app/routes/merge-extension-routes.ts +13 -4
  53. package/src/dashboard-app/routes/utils.ts +1 -1
  54. package/src/dashboard-app/utils/sort-menu-items-by-rank.ts +9 -7
  55. package/src/index.css +2 -8
  56. package/src/routes/home/home.tsx +1 -1
  57. package/src/routes/inventory/inventory-stock/components/inventory-stock-form/inventory-stock-form.tsx +1 -1
  58. package/src/vite-env.d.ts +4 -4
  59. package/src/vite-plugin/index.ts +91 -21
  60. package/dist/dashboard-C2M5PQNL.mjs +0 -135
  61. package/src/routes/dashboard/dashboard.tsx +0 -174
  62. package/src/routes/dashboard/index.ts +0 -1
  63. package/dist/{add-campaign-promotions-H7C2TJIH.mjs → add-campaign-promotions-OYPGISTF.mjs} +6 -6
  64. package/dist/{add-locales-47HF5EWF.mjs → add-locales-F4BOSZNU.mjs} +10 -10
  65. package/dist/{api-key-management-list-DPFW5U7B.mjs → api-key-management-list-2T35G3KT.mjs} +4 -4
  66. package/dist/{campaign-budget-edit-NLP7CWGC.mjs → campaign-budget-edit-B5MSE26J.mjs} +3 -3
  67. package/dist/{campaign-detail-JWCA2BOR.mjs → campaign-detail-2SHJIBIS.mjs} +9 -9
  68. package/dist/{campaign-list-CXECHCH4.mjs → campaign-list-PEOTTWBA.mjs} +2 -2
  69. package/dist/{categories-metadata-WYRXRAIH.mjs → categories-metadata-4OV6MKAD.mjs} +7 -7
  70. package/dist/{category-create-RCWOWE4W.mjs → category-create-G2JK5KDF.mjs} +3 -3
  71. package/dist/{category-detail-3GT2DMFA.mjs → category-detail-2TPOPANL.mjs} +9 -9
  72. package/dist/{category-list-C3JVQYQF.mjs → category-list-WHGMREI2.mjs} +4 -4
  73. package/dist/{category-products-KHRVHYTY.mjs → category-products-LKS7U7MI.mjs} +13 -13
  74. package/dist/{chunk-RCTRYC7L.mjs → chunk-5FMYPGTX.mjs} +3 -3
  75. package/dist/{chunk-5WXY5NFW.mjs → chunk-DODQ3KJT.mjs} +3 -3
  76. package/dist/{chunk-QV7RN52R.mjs → chunk-JUZ754L2.mjs} +3 -3
  77. package/dist/{chunk-5YS7C2IA.mjs → chunk-KCWP7RF5.mjs} +3 -3
  78. package/dist/{chunk-K737PKHV.mjs → chunk-KSDXSKJ7.mjs} +3 -3
  79. package/dist/{collection-add-products-5U6UXZO5.mjs → collection-add-products-KTACHFJO.mjs} +12 -12
  80. package/dist/{collection-detail-62PCW5E4.mjs → collection-detail-7GFJ3MAT.mjs} +9 -9
  81. package/dist/{collection-metadata-72WIRMTB.mjs → collection-metadata-EVPJGU6A.mjs} +7 -7
  82. package/dist/{customer-group-add-customers-OHFJCJAX.mjs → customer-group-add-customers-XMR2WBXX.mjs} +6 -6
  83. package/dist/{customer-group-detail-W2JHFS5S.mjs → customer-group-detail-GWTXNJ3C.mjs} +13 -13
  84. package/dist/{customer-list-RRV4GEKX.mjs → customer-list-UI5EQDII.mjs} +2 -2
  85. package/dist/{customers-add-customer-group-CG24Z4SE.mjs → customers-add-customer-group-3XYEAGX4.mjs} +16 -16
  86. package/dist/{edit-rules-IMAV7O5S.mjs → edit-rules-OOIFNR4Z.mjs} +7 -7
  87. package/dist/{inventory-create-PUU6JZLV.mjs → inventory-create-HQNGRBCA.mjs} +16 -16
  88. package/dist/{inventory-list-R5DC2CUH.mjs → inventory-list-IPORNDO4.mjs} +4 -4
  89. package/dist/{inventory-metadata-S66XTCLQ.mjs → inventory-metadata-RC7I7WAH.mjs} +7 -7
  90. package/dist/{location-detail-ULAMYS5R.mjs → location-detail-POZVJTS7.mjs} +8 -8
  91. package/dist/{location-service-zone-create-QINLHG5Y.mjs → location-service-zone-create-J43WN6G4.mjs} +3 -3
  92. package/dist/{location-service-zone-manage-areas-T5DBC22A.mjs → location-service-zone-manage-areas-6ZPMKMSX.mjs} +3 -3
  93. package/dist/{location-service-zone-shipping-option-edit-GGMKFUXK.mjs → location-service-zone-shipping-option-edit-4CGPQ3VT.mjs} +3 -3
  94. package/dist/{login-WK4YY6KQ.mjs → login-IMDOL4BZ.mjs} +7 -7
  95. package/dist/{order-create-claim-AB33KP6F.mjs → order-create-claim-H75RPNWI.mjs} +20 -20
  96. package/dist/{order-create-edit-QKGYBXVY.mjs → order-create-edit-6ZOYALA6.mjs} +15 -15
  97. package/dist/{order-create-exchange-YYNNY3HT.mjs → order-create-exchange-BUZTV7O7.mjs} +20 -20
  98. package/dist/{order-create-fulfillment-B4UKJX5F.mjs → order-create-fulfillment-YJS27E6Y.mjs} +9 -9
  99. package/dist/{order-create-refund-7MWFY4N3.mjs → order-create-refund-MY2VRRFA.mjs} +15 -15
  100. package/dist/{order-create-return-UZ2BDDH5.mjs → order-create-return-W3KT5LKU.mjs} +8 -8
  101. package/dist/{order-create-shipment-626Z6TQY.mjs → order-create-shipment-QMFZC6ZM.mjs} +9 -9
  102. package/dist/{order-detail-HISCRCUI.mjs → order-detail-VYLTG5MG.mjs} +20 -20
  103. package/dist/{order-edit-billing-address-3KER7QBF.mjs → order-edit-billing-address-ZZ4KK47F.mjs} +9 -9
  104. package/dist/{order-edit-email-4VZBU7P3.mjs → order-edit-email-TCRXOK3W.mjs} +9 -9
  105. package/dist/{order-edit-shipping-address-RKSV6BV6.mjs → order-edit-shipping-address-C3K5IZRG.mjs} +9 -9
  106. package/dist/{order-metadata-3F3KZ3GQ.mjs → order-metadata-5ESVMAPY.mjs} +9 -9
  107. package/dist/{order-receive-return-DA7KQHSO.mjs → order-receive-return-7N3532LA.mjs} +10 -10
  108. package/dist/{order-request-transfer-FP4FQQXG.mjs → order-request-transfer-VUPJ2FET.mjs} +9 -9
  109. package/dist/{price-list-configuration-MTUTPHQE.mjs → price-list-configuration-OH3KGRDN.mjs} +5 -5
  110. package/dist/{price-list-create-6TE264GD.mjs → price-list-create-77TLF2P2.mjs} +14 -14
  111. package/dist/{price-list-detail-ZML6WEJG.mjs → price-list-detail-KDMHC6V4.mjs} +12 -12
  112. package/dist/{price-list-list-P4O3ONES.mjs → price-list-list-JJXWBCTJ.mjs} +5 -5
  113. package/dist/{price-list-prices-add-BZIVC7QO.mjs → price-list-prices-add-RWB7WFOE.mjs} +14 -14
  114. package/dist/{price-list-prices-edit-42U6MFTL.mjs → price-list-prices-edit-ICTQBHHM.mjs} +2 -2
  115. package/dist/{product-create-variant-5HSS43Z7.mjs → product-create-variant-7EIWI54C.mjs} +13 -13
  116. package/dist/{product-image-variants-edit-S336246K.mjs → product-image-variants-edit-DWZWPK64.mjs} +12 -12
  117. package/dist/{product-import-72B4A7NT.mjs → product-import-NPPDYH7E.mjs} +7 -7
  118. package/dist/{product-metadata-QC3M4MYP.mjs → product-metadata-YNSTB5IC.mjs} +7 -7
  119. package/dist/{product-prices-WEGXAXQO.mjs → product-prices-LAVS64HJ.mjs} +1 -1
  120. package/dist/{product-stock-C5XB6GSY.mjs → product-stock-PEGYC4J5.mjs} +11 -11
  121. package/dist/{product-tag-create-TBICZVLL.mjs → product-tag-create-DJQIEWOF.mjs} +7 -7
  122. package/dist/{product-tag-edit-3DQJQ5YE.mjs → product-tag-edit-76EA7NLB.mjs} +7 -7
  123. package/dist/{product-tag-metadata-MQ5SCB3J.mjs → product-tag-metadata-HMCF2W4C.mjs} +7 -7
  124. package/dist/{product-type-detail-N2MDJT6X.mjs → product-type-detail-IJ6FGSB2.mjs} +9 -9
  125. package/dist/{product-type-list-BZDXJ2HH.mjs → product-type-list-MQ2PW2IE.mjs} +2 -2
  126. package/dist/{product-type-metadata-WPX7ZGF4.mjs → product-type-metadata-5Y5M2IQP.mjs} +7 -7
  127. package/dist/{product-variant-detail-PR4HNZ5A.mjs → product-variant-detail-N7YAKUOH.mjs} +8 -8
  128. package/dist/{product-variant-edit-UZBA2SBV.mjs → product-variant-edit-L2T5V2HJ.mjs} +11 -11
  129. package/dist/{product-variant-metadata-3YFLI23Q.mjs → product-variant-metadata-VTAPSZ24.mjs} +7 -7
  130. package/dist/{promotion-create-QDNLZXBY.mjs → promotion-create-I7OYJO55.mjs} +11 -11
  131. package/dist/{promotion-detail-P2C5XMVT.mjs → promotion-detail-Q7MMF7CC.mjs} +8 -8
  132. package/dist/{promotion-edit-details-DDT7MQVJ.mjs → promotion-edit-details-6BSOOWQN.mjs} +4 -4
  133. package/dist/{promotion-list-JFBYPMYZ.mjs → promotion-list-L22GJE3P.mjs} +2 -2
  134. package/dist/{refund-reason-create-DY22FUI4.mjs → refund-reason-create-UFAJFFFX.mjs} +7 -7
  135. package/dist/{refund-reason-edit-GLTVSOTD.mjs → refund-reason-edit-HM42SYVK.mjs} +7 -7
  136. package/dist/{region-add-countries-7P7MDPO2.mjs → region-add-countries-2VAVXMJQ.mjs} +3 -3
  137. package/dist/{region-create-DIZZS7HR.mjs → region-create-NA7Y2LN4.mjs} +6 -6
  138. package/dist/{region-detail-PL2IAQ4V.mjs → region-detail-3BARMXUE.mjs} +2 -2
  139. package/dist/{region-edit-2XQSSCPV.mjs → region-edit-WAU347DP.mjs} +3 -3
  140. package/dist/{region-list-J7R4D635.mjs → region-list-V4R2REMH.mjs} +2 -2
  141. package/dist/{region-metadata-ISC23DPY.mjs → region-metadata-UZXRJHUJ.mjs} +7 -7
  142. package/dist/{reservation-detail-7HTLPUEY.mjs → reservation-detail-JRY5S7TS.mjs} +9 -9
  143. package/dist/{reservation-list-IQ7T3RF2.mjs → reservation-list-HSF22GFZ.mjs} +4 -4
  144. package/dist/{reservation-metadata-E55IGDZR.mjs → reservation-metadata-UQZXHUCV.mjs} +9 -9
  145. package/dist/{return-reason-list-EGGZ7O6G.mjs → return-reason-list-EYLIXARO.mjs} +4 -4
  146. package/dist/{sales-channel-add-products-M37VZP3G.mjs → sales-channel-add-products-WNHRWOZS.mjs} +14 -14
  147. package/dist/{sales-channel-detail-4E2NPXYK.mjs → sales-channel-detail-GKI35W5H.mjs} +10 -10
  148. package/dist/{sales-channel-metadata-TXFO5GWM.mjs → sales-channel-metadata-GY2GM5OH.mjs} +8 -8
  149. package/dist/{shipping-option-type-create-Q47KBJCI.mjs → shipping-option-type-create-WKI3RSYP.mjs} +7 -7
  150. package/dist/{shipping-option-type-detail-UM6CAZRM.mjs → shipping-option-type-detail-RJ75KMFI.mjs} +7 -7
  151. package/dist/{shipping-option-type-edit-UB3ORRBC.mjs → shipping-option-type-edit-4KGCJFG3.mjs} +7 -7
  152. package/dist/{shipping-option-type-list-H3VQNXL7.mjs → shipping-option-type-list-NAT6DIHR.mjs} +11 -11
  153. package/dist/{shipping-profile-metadata-3VGQN6KZ.mjs → shipping-profile-metadata-6D3FYDC4.mjs} +7 -7
  154. package/dist/{shipping-profiles-list-RCSILIP5.mjs → shipping-profiles-list-WRPIJBZZ.mjs} +4 -4
  155. package/dist/{store-add-currencies-JCQAADSP.mjs → store-add-currencies-OX2WXFMS.mjs} +3 -3
  156. package/dist/{store-add-locales-S2HKXAPY.mjs → store-add-locales-37443R2E.mjs} +10 -10
  157. package/dist/{store-detail-LRVBWDU5.mjs → store-detail-IIKGTBWO.mjs} +11 -11
  158. package/dist/{store-metadata-X7X7J26V.mjs → store-metadata-3P5YI3YQ.mjs} +7 -7
  159. package/dist/{tax-region-create-BH4AS4OU.mjs → tax-region-create-BFOF2UVZ.mjs} +7 -7
  160. package/dist/{tax-region-edit-AGUULZKA.mjs → tax-region-edit-I2DTFHH4.mjs} +7 -7
  161. package/dist/{tax-region-list-ZYTJG7HC.mjs → tax-region-list-P4LDOPZD.mjs} +1 -1
  162. package/dist/{translation-list-3EGUQC7L.mjs → translation-list-2QIA5IZ4.mjs} +7 -7
  163. package/dist/{translations-edit-IWXQCTSI.mjs → translations-edit-K7EMV5N3.mjs} +8 -8
  164. package/dist/{user-invite-AQQMVG4K.mjs → user-invite-GAGIM5DO.mjs} +5 -5
  165. package/dist/{user-metadata-CGFMJKPT.mjs → user-metadata-WQ57HEMA.mjs} +7 -7
  166. package/dist/{workflow-execution-detail-QKA2H2VA.mjs → workflow-execution-detail-RRZJQZV6.mjs} +7 -7
  167. package/dist/{workflow-execution-list-N6YFMSXW.mjs → workflow-execution-list-C3EJMVSZ.mjs} +4 -4
@@ -55,15 +55,15 @@ import {
55
55
  import {
56
56
  useLogout
57
57
  } from "./chunk-I4OBEAOJ.mjs";
58
- import {
59
- useApiKeys
60
- } from "./chunk-C32SLRTC.mjs";
61
58
  import {
62
59
  useTaxRegions
63
60
  } from "./chunk-6CLQKVAU.mjs";
64
61
  import {
65
62
  useProductTypes
66
63
  } from "./chunk-QBIQEVTU.mjs";
64
+ import {
65
+ useApiKeys
66
+ } from "./chunk-C32SLRTC.mjs";
67
67
  import {
68
68
  useShippingProfiles
69
69
  } from "./chunk-DYDGGABK.mjs";
@@ -71,12 +71,16 @@ import {
71
71
  useMe,
72
72
  useUsers
73
73
  } from "./chunk-5BQQRHQS.mjs";
74
- import {
75
- useCollections
76
- } from "./chunk-6F74MBBU.mjs";
77
74
  import {
78
75
  usePriceLists
79
76
  } from "./chunk-FWRPGWPC.mjs";
77
+ import {
78
+ useCustomerGroups,
79
+ useCustomers
80
+ } from "./chunk-5AFMB7XQ.mjs";
81
+ import {
82
+ useCollections
83
+ } from "./chunk-6F74MBBU.mjs";
80
84
  import {
81
85
  useCampaigns,
82
86
  usePromotions
@@ -84,25 +88,21 @@ import {
84
88
  import {
85
89
  useStockLocations
86
90
  } from "./chunk-CDORR33H.mjs";
91
+ import {
92
+ useOrders
93
+ } from "./chunk-73OGFYCU.mjs";
87
94
  import {
88
95
  useProductCategories
89
96
  } from "./chunk-6X2UTJF3.mjs";
97
+ import {
98
+ useSalesChannels
99
+ } from "./chunk-RNV5E7NV.mjs";
90
100
  import {
91
101
  useStore
92
102
  } from "./chunk-VCSSQVPD.mjs";
93
103
  import {
94
104
  useRegions
95
105
  } from "./chunk-HP2JH45P.mjs";
96
- import {
97
- useSalesChannels
98
- } from "./chunk-RNV5E7NV.mjs";
99
- import {
100
- useCustomerGroups,
101
- useCustomers
102
- } from "./chunk-5AFMB7XQ.mjs";
103
- import {
104
- useOrders
105
- } from "./chunk-73OGFYCU.mjs";
106
106
  import {
107
107
  useInventoryItems,
108
108
  useProducts
@@ -95527,7 +95527,7 @@ var getDefaultMedusaRoutes = (t2) => [
95527
95527
  ];
95528
95528
  var useCoreRoutes = () => {
95529
95529
  const { t: t2 } = useTranslation9();
95530
- if (!menuConfig) {
95530
+ if (!menuConfig || !Array.isArray(menuConfig.items)) {
95531
95531
  return getDefaultMedusaRoutes(t2);
95532
95532
  }
95533
95533
  return menuConfig.items.map((item) => ({
@@ -95580,7 +95580,7 @@ var CoreRouteSection = () => {
95580
95580
  ] });
95581
95581
  };
95582
95582
  var getMainMenuPaths = () => {
95583
- if (!menuConfig) return [];
95583
+ if (!menuConfig || !Array.isArray(menuConfig.items)) return [];
95584
95584
  const config = menuConfig;
95585
95585
  const paths = [];
95586
95586
  config.items.forEach((item) => {
@@ -95925,10 +95925,21 @@ function mergeExtensionRoutes(staticRoutes, extensionRoutes) {
95925
95925
  }
95926
95926
  const existing = result[idx];
95927
95927
  const merged = { ...existing };
95928
- if (ext.lazy) {
95929
- merged.lazy = ext.lazy;
95930
- delete merged.Component;
95931
- delete merged.loader;
95928
+ if (ext.lazy || ext.Component) {
95929
+ if (ext.lazy) {
95930
+ merged.lazy = ext.lazy;
95931
+ delete merged.Component;
95932
+ } else if (ext.Component) {
95933
+ ;
95934
+ merged.Component = ext.Component;
95935
+ delete merged.lazy;
95936
+ }
95937
+ if (ext.loader) {
95938
+ ;
95939
+ merged.loader = ext.loader;
95940
+ } else {
95941
+ delete merged.loader;
95942
+ }
95932
95943
  }
95933
95944
  if (ext.children || existing.children) {
95934
95945
  merged.children = mergeExtensionRoutes(
@@ -95958,15 +95969,7 @@ function getRouteMap({
95958
95969
  {
95959
95970
  path: "/",
95960
95971
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
95961
- lazy: () => import("./home-524EFXYO.mjs")
95962
- },
95963
- {
95964
- path: "/dashboard",
95965
- errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
95966
- handle: {
95967
- breadcrumb: () => "Dashboard"
95968
- },
95969
- lazy: () => import("./dashboard-C2M5PQNL.mjs")
95972
+ lazy: () => import("./home-KFQGXKRT.mjs")
95970
95973
  },
95971
95974
  {
95972
95975
  path: "/products",
@@ -95977,19 +95980,19 @@ function getRouteMap({
95977
95980
  children: [
95978
95981
  {
95979
95982
  path: "",
95980
- lazy: () => import("./product-list-7EB54CNP.mjs"),
95983
+ lazy: () => import("./product-list-RZNYCKTQ.mjs"),
95981
95984
  children: [
95982
95985
  {
95983
95986
  path: "create",
95984
- lazy: () => import("./product-create-GZANVK54.mjs")
95987
+ lazy: () => import("./product-create-IGJXOMQN.mjs")
95985
95988
  },
95986
95989
  {
95987
95990
  path: "import",
95988
- lazy: () => import("./product-import-72B4A7NT.mjs")
95991
+ lazy: () => import("./product-import-NPPDYH7E.mjs")
95989
95992
  },
95990
95993
  {
95991
95994
  path: "export",
95992
- lazy: () => import("./product-export-TJYITBFD.mjs")
95995
+ lazy: () => import("./product-export-TX7U6SYH.mjs")
95993
95996
  }
95994
95997
  ]
95995
95998
  },
@@ -95997,7 +96000,7 @@ function getRouteMap({
95997
96000
  path: ":id",
95998
96001
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
95999
96002
  lazy: async () => {
96000
- const { Breadcrumb, loader } = await import("./product-detail-P3LEJNTC.mjs");
96003
+ const { Breadcrumb, loader } = await import("./product-detail-ZZMHLWWL.mjs");
96001
96004
  return {
96002
96005
  Component: Outlet4,
96003
96006
  loader,
@@ -96009,27 +96012,27 @@ function getRouteMap({
96009
96012
  children: [
96010
96013
  {
96011
96014
  path: "",
96012
- lazy: () => import("./product-detail-P3LEJNTC.mjs"),
96015
+ lazy: () => import("./product-detail-ZZMHLWWL.mjs"),
96013
96016
  children: [
96014
96017
  {
96015
96018
  path: "edit",
96016
- lazy: () => import("./product-edit-ZWEDI4DK.mjs")
96019
+ lazy: () => import("./product-edit-AH2FVEYF.mjs")
96017
96020
  },
96018
96021
  {
96019
96022
  path: "edit-variant",
96020
- lazy: () => import("./product-variant-edit-UZBA2SBV.mjs")
96023
+ lazy: () => import("./product-variant-edit-L2T5V2HJ.mjs")
96021
96024
  },
96022
96025
  {
96023
96026
  path: "sales-channels",
96024
- lazy: () => import("./product-sales-channels-KZMXJISB.mjs")
96027
+ lazy: () => import("./product-sales-channels-XBALPVAL.mjs")
96025
96028
  },
96026
96029
  {
96027
96030
  path: "attributes",
96028
- lazy: () => import("./product-attributes-NT25DQN6.mjs")
96031
+ lazy: () => import("./product-attributes-TGLEKV7Y.mjs")
96029
96032
  },
96030
96033
  {
96031
96034
  path: "organization",
96032
- lazy: () => import("./product-organization-3PJP3Y43.mjs")
96035
+ lazy: () => import("./product-organization-C4LU2WFS.mjs")
96033
96036
  },
96034
96037
  {
96035
96038
  path: "shipping-profile",
@@ -96037,15 +96040,15 @@ function getRouteMap({
96037
96040
  },
96038
96041
  {
96039
96042
  path: "media",
96040
- lazy: () => import("./product-media-WN2GYSM3.mjs")
96043
+ lazy: () => import("./product-media-CG4RFOTX.mjs")
96041
96044
  },
96042
96045
  {
96043
96046
  path: "images/:image_id/variants",
96044
- lazy: () => import("./product-image-variants-edit-S336246K.mjs")
96047
+ lazy: () => import("./product-image-variants-edit-DWZWPK64.mjs")
96045
96048
  },
96046
96049
  {
96047
96050
  path: "prices",
96048
- lazy: () => import("./product-prices-WEGXAXQO.mjs")
96051
+ lazy: () => import("./product-prices-LAVS64HJ.mjs")
96049
96052
  },
96050
96053
  {
96051
96054
  path: "options/create",
@@ -96057,22 +96060,22 @@ function getRouteMap({
96057
96060
  },
96058
96061
  {
96059
96062
  path: "variants/create",
96060
- lazy: () => import("./product-create-variant-5HSS43Z7.mjs")
96063
+ lazy: () => import("./product-create-variant-7EIWI54C.mjs")
96061
96064
  },
96062
96065
  {
96063
96066
  path: "stock",
96064
- lazy: () => import("./product-stock-C5XB6GSY.mjs")
96067
+ lazy: () => import("./product-stock-PEGYC4J5.mjs")
96065
96068
  },
96066
96069
  {
96067
96070
  path: "metadata/edit",
96068
- lazy: () => import("./product-metadata-QC3M4MYP.mjs")
96071
+ lazy: () => import("./product-metadata-YNSTB5IC.mjs")
96069
96072
  }
96070
96073
  ]
96071
96074
  },
96072
96075
  {
96073
96076
  path: "variants/:variant_id",
96074
96077
  lazy: async () => {
96075
- const { Component, Breadcrumb, loader } = await import("./product-variant-detail-PR4HNZ5A.mjs");
96078
+ const { Component, Breadcrumb, loader } = await import("./product-variant-detail-N7YAKUOH.mjs");
96076
96079
  return {
96077
96080
  Component,
96078
96081
  loader,
@@ -96084,11 +96087,11 @@ function getRouteMap({
96084
96087
  children: [
96085
96088
  {
96086
96089
  path: "edit",
96087
- lazy: () => import("./product-variant-edit-UZBA2SBV.mjs")
96090
+ lazy: () => import("./product-variant-edit-L2T5V2HJ.mjs")
96088
96091
  },
96089
96092
  {
96090
96093
  path: "prices",
96091
- lazy: () => import("./product-prices-WEGXAXQO.mjs")
96094
+ lazy: () => import("./product-prices-LAVS64HJ.mjs")
96092
96095
  },
96093
96096
  {
96094
96097
  path: "manage-items",
@@ -96100,7 +96103,7 @@ function getRouteMap({
96100
96103
  },
96101
96104
  {
96102
96105
  path: "metadata/edit",
96103
- lazy: () => import("./product-variant-metadata-3YFLI23Q.mjs")
96106
+ lazy: () => import("./product-variant-metadata-VTAPSZ24.mjs")
96104
96107
  }
96105
96108
  ]
96106
96109
  }
@@ -96117,11 +96120,11 @@ function getRouteMap({
96117
96120
  children: [
96118
96121
  {
96119
96122
  path: "",
96120
- lazy: () => import("./category-list-C3JVQYQF.mjs"),
96123
+ lazy: () => import("./category-list-WHGMREI2.mjs"),
96121
96124
  children: [
96122
96125
  {
96123
96126
  path: "create",
96124
- lazy: () => import("./category-create-RCWOWE4W.mjs")
96127
+ lazy: () => import("./category-create-G2JK5KDF.mjs")
96125
96128
  },
96126
96129
  {
96127
96130
  path: "organize",
@@ -96132,7 +96135,7 @@ function getRouteMap({
96132
96135
  {
96133
96136
  path: ":id",
96134
96137
  lazy: async () => {
96135
- const { Component, Breadcrumb, loader } = await import("./category-detail-3GT2DMFA.mjs");
96138
+ const { Component, Breadcrumb, loader } = await import("./category-detail-2TPOPANL.mjs");
96136
96139
  return {
96137
96140
  Component,
96138
96141
  loader,
@@ -96148,7 +96151,7 @@ function getRouteMap({
96148
96151
  },
96149
96152
  {
96150
96153
  path: "products",
96151
- lazy: () => import("./category-products-KHRVHYTY.mjs")
96154
+ lazy: () => import("./category-products-LKS7U7MI.mjs")
96152
96155
  },
96153
96156
  {
96154
96157
  path: "organize",
@@ -96156,7 +96159,7 @@ function getRouteMap({
96156
96159
  },
96157
96160
  {
96158
96161
  path: "metadata/edit",
96159
- lazy: () => import("./categories-metadata-WYRXRAIH.mjs")
96162
+ lazy: () => import("./categories-metadata-4OV6MKAD.mjs")
96160
96163
  }
96161
96164
  ]
96162
96165
  }
@@ -96171,18 +96174,18 @@ function getRouteMap({
96171
96174
  children: [
96172
96175
  {
96173
96176
  path: "",
96174
- lazy: () => import("./order-list-BXZST6UW.mjs"),
96177
+ lazy: () => import("./order-list-57XK2DRD.mjs"),
96175
96178
  children: [
96176
96179
  {
96177
96180
  path: "export",
96178
- lazy: () => import("./order-export-Z7RZH5EX.mjs")
96181
+ lazy: () => import("./order-export-IFN234IN.mjs")
96179
96182
  }
96180
96183
  ]
96181
96184
  },
96182
96185
  {
96183
96186
  path: ":id",
96184
96187
  lazy: async () => {
96185
- const { Component, Breadcrumb, loader } = await import("./order-detail-HISCRCUI.mjs");
96188
+ const { Component, Breadcrumb, loader } = await import("./order-detail-VYLTG5MG.mjs");
96186
96189
  return {
96187
96190
  Component,
96188
96191
  loader,
@@ -96194,11 +96197,11 @@ function getRouteMap({
96194
96197
  children: [
96195
96198
  {
96196
96199
  path: "fulfillment",
96197
- lazy: () => import("./order-create-fulfillment-B4UKJX5F.mjs")
96200
+ lazy: () => import("./order-create-fulfillment-YJS27E6Y.mjs")
96198
96201
  },
96199
96202
  {
96200
96203
  path: "returns/:return_id/receive",
96201
- lazy: () => import("./order-receive-return-DA7KQHSO.mjs")
96204
+ lazy: () => import("./order-receive-return-7N3532LA.mjs")
96202
96205
  },
96203
96206
  {
96204
96207
  path: "allocate-items",
@@ -96206,47 +96209,47 @@ function getRouteMap({
96206
96209
  },
96207
96210
  {
96208
96211
  path: ":f_id/create-shipment",
96209
- lazy: () => import("./order-create-shipment-626Z6TQY.mjs")
96212
+ lazy: () => import("./order-create-shipment-QMFZC6ZM.mjs")
96210
96213
  },
96211
96214
  {
96212
96215
  path: "returns",
96213
- lazy: () => import("./order-create-return-UZ2BDDH5.mjs")
96216
+ lazy: () => import("./order-create-return-W3KT5LKU.mjs")
96214
96217
  },
96215
96218
  {
96216
96219
  path: "claims",
96217
- lazy: () => import("./order-create-claim-AB33KP6F.mjs")
96220
+ lazy: () => import("./order-create-claim-H75RPNWI.mjs")
96218
96221
  },
96219
96222
  {
96220
96223
  path: "exchanges",
96221
- lazy: () => import("./order-create-exchange-YYNNY3HT.mjs")
96224
+ lazy: () => import("./order-create-exchange-BUZTV7O7.mjs")
96222
96225
  },
96223
96226
  {
96224
96227
  path: "edits",
96225
- lazy: () => import("./order-create-edit-QKGYBXVY.mjs")
96228
+ lazy: () => import("./order-create-edit-6ZOYALA6.mjs")
96226
96229
  },
96227
96230
  {
96228
96231
  path: "refund",
96229
- lazy: () => import("./order-create-refund-7MWFY4N3.mjs")
96232
+ lazy: () => import("./order-create-refund-MY2VRRFA.mjs")
96230
96233
  },
96231
96234
  {
96232
96235
  path: "transfer",
96233
- lazy: () => import("./order-request-transfer-FP4FQQXG.mjs")
96236
+ lazy: () => import("./order-request-transfer-VUPJ2FET.mjs")
96234
96237
  },
96235
96238
  {
96236
96239
  path: "email",
96237
- lazy: () => import("./order-edit-email-4VZBU7P3.mjs")
96240
+ lazy: () => import("./order-edit-email-TCRXOK3W.mjs")
96238
96241
  },
96239
96242
  {
96240
96243
  path: "shipping-address",
96241
- lazy: () => import("./order-edit-shipping-address-RKSV6BV6.mjs")
96244
+ lazy: () => import("./order-edit-shipping-address-C3K5IZRG.mjs")
96242
96245
  },
96243
96246
  {
96244
96247
  path: "billing-address",
96245
- lazy: () => import("./order-edit-billing-address-3KER7QBF.mjs")
96248
+ lazy: () => import("./order-edit-billing-address-ZZ4KK47F.mjs")
96246
96249
  },
96247
96250
  {
96248
96251
  path: "metadata/edit",
96249
- lazy: () => import("./order-metadata-3F3KZ3GQ.mjs")
96252
+ lazy: () => import("./order-metadata-5ESVMAPY.mjs")
96250
96253
  }
96251
96254
  ]
96252
96255
  }
@@ -96261,16 +96264,16 @@ function getRouteMap({
96261
96264
  children: [
96262
96265
  {
96263
96266
  path: "",
96264
- lazy: () => import("./promotion-list-JFBYPMYZ.mjs")
96267
+ lazy: () => import("./promotion-list-L22GJE3P.mjs")
96265
96268
  },
96266
96269
  {
96267
96270
  path: "create",
96268
- lazy: () => import("./promotion-create-QDNLZXBY.mjs")
96271
+ lazy: () => import("./promotion-create-I7OYJO55.mjs")
96269
96272
  },
96270
96273
  {
96271
96274
  path: ":id",
96272
96275
  lazy: async () => {
96273
- const { Component, Breadcrumb, loader } = await import("./promotion-detail-P2C5XMVT.mjs");
96276
+ const { Component, Breadcrumb, loader } = await import("./promotion-detail-Q7MMF7CC.mjs");
96274
96277
  return {
96275
96278
  Component,
96276
96279
  loader,
@@ -96282,7 +96285,7 @@ function getRouteMap({
96282
96285
  children: [
96283
96286
  {
96284
96287
  path: "edit",
96285
- lazy: () => import("./promotion-edit-details-DDT7MQVJ.mjs")
96288
+ lazy: () => import("./promotion-edit-details-6BSOOWQN.mjs")
96286
96289
  },
96287
96290
  {
96288
96291
  path: "add-to-campaign",
@@ -96290,7 +96293,7 @@ function getRouteMap({
96290
96293
  },
96291
96294
  {
96292
96295
  path: ":ruleType/edit",
96293
- lazy: () => import("./edit-rules-IMAV7O5S.mjs")
96296
+ lazy: () => import("./edit-rules-OOIFNR4Z.mjs")
96294
96297
  }
96295
96298
  ]
96296
96299
  }
@@ -96305,7 +96308,7 @@ function getRouteMap({
96305
96308
  children: [
96306
96309
  {
96307
96310
  path: "",
96308
- lazy: () => import("./campaign-list-CXECHCH4.mjs"),
96311
+ lazy: () => import("./campaign-list-PEOTTWBA.mjs"),
96309
96312
  children: []
96310
96313
  },
96311
96314
  {
@@ -96315,7 +96318,7 @@ function getRouteMap({
96315
96318
  {
96316
96319
  path: ":id",
96317
96320
  lazy: async () => {
96318
- const { Component, Breadcrumb, loader } = await import("./campaign-detail-JWCA2BOR.mjs");
96321
+ const { Component, Breadcrumb, loader } = await import("./campaign-detail-2SHJIBIS.mjs");
96319
96322
  return {
96320
96323
  Component,
96321
96324
  loader,
@@ -96335,11 +96338,11 @@ function getRouteMap({
96335
96338
  },
96336
96339
  {
96337
96340
  path: "edit-budget",
96338
- lazy: () => import("./campaign-budget-edit-NLP7CWGC.mjs")
96341
+ lazy: () => import("./campaign-budget-edit-B5MSE26J.mjs")
96339
96342
  },
96340
96343
  {
96341
96344
  path: "add-promotions",
96342
- lazy: () => import("./add-campaign-promotions-H7C2TJIH.mjs")
96345
+ lazy: () => import("./add-campaign-promotions-OYPGISTF.mjs")
96343
96346
  }
96344
96347
  ]
96345
96348
  }
@@ -96354,7 +96357,7 @@ function getRouteMap({
96354
96357
  children: [
96355
96358
  {
96356
96359
  path: "",
96357
- lazy: () => import("./collection-list-KLL2VLDE.mjs"),
96360
+ lazy: () => import("./collection-list-EFER73U6.mjs"),
96358
96361
  children: [
96359
96362
  {
96360
96363
  path: "create",
@@ -96365,7 +96368,7 @@ function getRouteMap({
96365
96368
  {
96366
96369
  path: ":id",
96367
96370
  lazy: async () => {
96368
- const { Component, Breadcrumb, loader } = await import("./collection-detail-62PCW5E4.mjs");
96371
+ const { Component, Breadcrumb, loader } = await import("./collection-detail-7GFJ3MAT.mjs");
96369
96372
  return {
96370
96373
  Component,
96371
96374
  loader,
@@ -96381,11 +96384,11 @@ function getRouteMap({
96381
96384
  },
96382
96385
  {
96383
96386
  path: "products",
96384
- lazy: () => import("./collection-add-products-5U6UXZO5.mjs")
96387
+ lazy: () => import("./collection-add-products-KTACHFJO.mjs")
96385
96388
  },
96386
96389
  {
96387
96390
  path: "metadata/edit",
96388
- lazy: () => import("./collection-metadata-72WIRMTB.mjs")
96391
+ lazy: () => import("./collection-metadata-EVPJGU6A.mjs")
96389
96392
  }
96390
96393
  ]
96391
96394
  }
@@ -96400,18 +96403,18 @@ function getRouteMap({
96400
96403
  children: [
96401
96404
  {
96402
96405
  path: "",
96403
- lazy: () => import("./price-list-list-P4O3ONES.mjs"),
96406
+ lazy: () => import("./price-list-list-JJXWBCTJ.mjs"),
96404
96407
  children: [
96405
96408
  {
96406
96409
  path: "create",
96407
- lazy: () => import("./price-list-create-6TE264GD.mjs")
96410
+ lazy: () => import("./price-list-create-77TLF2P2.mjs")
96408
96411
  }
96409
96412
  ]
96410
96413
  },
96411
96414
  {
96412
96415
  path: ":id",
96413
96416
  lazy: async () => {
96414
- const { Component, Breadcrumb, loader } = await import("./price-list-detail-ZML6WEJG.mjs");
96417
+ const { Component, Breadcrumb, loader } = await import("./price-list-detail-KDMHC6V4.mjs");
96415
96418
  return {
96416
96419
  Component,
96417
96420
  loader,
@@ -96427,15 +96430,15 @@ function getRouteMap({
96427
96430
  },
96428
96431
  {
96429
96432
  path: "configuration",
96430
- lazy: () => import("./price-list-configuration-MTUTPHQE.mjs")
96433
+ lazy: () => import("./price-list-configuration-OH3KGRDN.mjs")
96431
96434
  },
96432
96435
  {
96433
96436
  path: "products/add",
96434
- lazy: () => import("./price-list-prices-add-BZIVC7QO.mjs")
96437
+ lazy: () => import("./price-list-prices-add-RWB7WFOE.mjs")
96435
96438
  },
96436
96439
  {
96437
96440
  path: "products/edit",
96438
- lazy: () => import("./price-list-prices-edit-42U6MFTL.mjs")
96441
+ lazy: () => import("./price-list-prices-edit-ICTQBHHM.mjs")
96439
96442
  }
96440
96443
  ]
96441
96444
  }
@@ -96450,7 +96453,7 @@ function getRouteMap({
96450
96453
  children: [
96451
96454
  {
96452
96455
  path: "",
96453
- lazy: () => import("./customer-list-RRV4GEKX.mjs"),
96456
+ lazy: () => import("./customer-list-UI5EQDII.mjs"),
96454
96457
  children: [
96455
96458
  {
96456
96459
  path: "create",
@@ -96461,7 +96464,7 @@ function getRouteMap({
96461
96464
  {
96462
96465
  path: ":id",
96463
96466
  lazy: async () => {
96464
- const { Component, Breadcrumb, loader } = await import("./customer-detail-DN46Z4Z7.mjs");
96467
+ const { Component, Breadcrumb, loader } = await import("./customer-detail-NCPDOSIN.mjs");
96465
96468
  return {
96466
96469
  Component,
96467
96470
  loader,
@@ -96481,11 +96484,11 @@ function getRouteMap({
96481
96484
  },
96482
96485
  {
96483
96486
  path: "add-customer-groups",
96484
- lazy: () => import("./customers-add-customer-group-CG24Z4SE.mjs")
96487
+ lazy: () => import("./customers-add-customer-group-3XYEAGX4.mjs")
96485
96488
  },
96486
96489
  {
96487
96490
  path: ":order_id/transfer",
96488
- lazy: () => import("./order-request-transfer-FP4FQQXG.mjs")
96491
+ lazy: () => import("./order-request-transfer-VUPJ2FET.mjs")
96489
96492
  },
96490
96493
  {
96491
96494
  path: "metadata/edit",
@@ -96504,7 +96507,7 @@ function getRouteMap({
96504
96507
  children: [
96505
96508
  {
96506
96509
  path: "",
96507
- lazy: () => import("./customer-group-list-UW5KXNKV.mjs"),
96510
+ lazy: () => import("./customer-group-list-KZHWADWX.mjs"),
96508
96511
  children: [
96509
96512
  {
96510
96513
  path: "create",
@@ -96515,7 +96518,7 @@ function getRouteMap({
96515
96518
  {
96516
96519
  path: ":id",
96517
96520
  lazy: async () => {
96518
- const { Component, Breadcrumb, loader } = await import("./customer-group-detail-W2JHFS5S.mjs");
96521
+ const { Component, Breadcrumb, loader } = await import("./customer-group-detail-GWTXNJ3C.mjs");
96519
96522
  return {
96520
96523
  Component,
96521
96524
  loader,
@@ -96531,7 +96534,7 @@ function getRouteMap({
96531
96534
  },
96532
96535
  {
96533
96536
  path: "add-customers",
96534
- lazy: () => import("./customer-group-add-customers-OHFJCJAX.mjs")
96537
+ lazy: () => import("./customer-group-add-customers-XMR2WBXX.mjs")
96535
96538
  },
96536
96539
  {
96537
96540
  path: "metadata/edit",
@@ -96550,7 +96553,7 @@ function getRouteMap({
96550
96553
  children: [
96551
96554
  {
96552
96555
  path: "",
96553
- lazy: () => import("./reservation-list-IQ7T3RF2.mjs"),
96556
+ lazy: () => import("./reservation-list-HSF22GFZ.mjs"),
96554
96557
  children: [
96555
96558
  {
96556
96559
  path: "create",
@@ -96561,7 +96564,7 @@ function getRouteMap({
96561
96564
  {
96562
96565
  path: ":id",
96563
96566
  lazy: async () => {
96564
- const { Component, Breadcrumb, loader } = await import("./reservation-detail-7HTLPUEY.mjs");
96567
+ const { Component, Breadcrumb, loader } = await import("./reservation-detail-JRY5S7TS.mjs");
96565
96568
  return {
96566
96569
  Component,
96567
96570
  loader,
@@ -96577,7 +96580,7 @@ function getRouteMap({
96577
96580
  },
96578
96581
  {
96579
96582
  path: "metadata/edit",
96580
- lazy: () => import("./reservation-metadata-E55IGDZR.mjs")
96583
+ lazy: () => import("./reservation-metadata-UQZXHUCV.mjs")
96581
96584
  }
96582
96585
  ]
96583
96586
  }
@@ -96592,22 +96595,22 @@ function getRouteMap({
96592
96595
  children: [
96593
96596
  {
96594
96597
  path: "",
96595
- lazy: () => import("./inventory-list-R5DC2CUH.mjs"),
96598
+ lazy: () => import("./inventory-list-IPORNDO4.mjs"),
96596
96599
  children: [
96597
96600
  {
96598
96601
  path: "create",
96599
- lazy: () => import("./inventory-create-PUU6JZLV.mjs")
96602
+ lazy: () => import("./inventory-create-HQNGRBCA.mjs")
96600
96603
  },
96601
96604
  {
96602
96605
  path: "stock",
96603
- lazy: () => import("./inventory-stock-MCURFEYD.mjs")
96606
+ lazy: () => import("./inventory-stock-3PPGJ2JD.mjs")
96604
96607
  }
96605
96608
  ]
96606
96609
  },
96607
96610
  {
96608
96611
  path: ":id",
96609
96612
  lazy: async () => {
96610
- const { Component, Breadcrumb, loader } = await import("./inventory-detail-42PY5NFS.mjs");
96613
+ const { Component, Breadcrumb, loader } = await import("./inventory-detail-2MFCIKDT.mjs");
96611
96614
  return {
96612
96615
  Component,
96613
96616
  loader,
@@ -96627,7 +96630,7 @@ function getRouteMap({
96627
96630
  },
96628
96631
  {
96629
96632
  path: "metadata/edit",
96630
- lazy: () => import("./inventory-metadata-S66XTCLQ.mjs")
96633
+ lazy: () => import("./inventory-metadata-RC7I7WAH.mjs")
96631
96634
  },
96632
96635
  {
96633
96636
  path: "locations",
@@ -96685,18 +96688,18 @@ function getRouteMap({
96685
96688
  children: [
96686
96689
  {
96687
96690
  path: "",
96688
- lazy: () => import("./region-list-J7R4D635.mjs"),
96691
+ lazy: () => import("./region-list-V4R2REMH.mjs"),
96689
96692
  children: [
96690
96693
  {
96691
96694
  path: "create",
96692
- lazy: () => import("./region-create-DIZZS7HR.mjs")
96695
+ lazy: () => import("./region-create-NA7Y2LN4.mjs")
96693
96696
  }
96694
96697
  ]
96695
96698
  },
96696
96699
  {
96697
96700
  path: ":id",
96698
96701
  lazy: async () => {
96699
- const { Component, Breadcrumb, loader } = await import("./region-detail-PL2IAQ4V.mjs");
96702
+ const { Component, Breadcrumb, loader } = await import("./region-detail-3BARMXUE.mjs");
96700
96703
  return {
96701
96704
  Component,
96702
96705
  loader,
@@ -96708,15 +96711,15 @@ function getRouteMap({
96708
96711
  children: [
96709
96712
  {
96710
96713
  path: "edit",
96711
- lazy: () => import("./region-edit-2XQSSCPV.mjs")
96714
+ lazy: () => import("./region-edit-WAU347DP.mjs")
96712
96715
  },
96713
96716
  {
96714
96717
  path: "countries/add",
96715
- lazy: () => import("./region-add-countries-7P7MDPO2.mjs")
96718
+ lazy: () => import("./region-add-countries-2VAVXMJQ.mjs")
96716
96719
  },
96717
96720
  {
96718
96721
  path: "metadata/edit",
96719
- lazy: () => import("./region-metadata-ISC23DPY.mjs")
96722
+ lazy: () => import("./region-metadata-UZXRJHUJ.mjs")
96720
96723
  }
96721
96724
  ]
96722
96725
  }
@@ -96725,7 +96728,7 @@ function getRouteMap({
96725
96728
  {
96726
96729
  path: "store",
96727
96730
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
96728
- lazy: () => import("./store-detail-LRVBWDU5.mjs"),
96731
+ lazy: () => import("./store-detail-IIKGTBWO.mjs"),
96729
96732
  handle: {
96730
96733
  breadcrumb: () => t("store.domain")
96731
96734
  },
@@ -96736,15 +96739,15 @@ function getRouteMap({
96736
96739
  },
96737
96740
  {
96738
96741
  path: "currencies",
96739
- lazy: () => import("./store-add-currencies-JCQAADSP.mjs")
96742
+ lazy: () => import("./store-add-currencies-OX2WXFMS.mjs")
96740
96743
  },
96741
96744
  {
96742
96745
  path: "locales",
96743
- lazy: () => import("./store-add-locales-S2HKXAPY.mjs")
96746
+ lazy: () => import("./store-add-locales-37443R2E.mjs")
96744
96747
  },
96745
96748
  {
96746
96749
  path: "metadata/edit",
96747
- lazy: () => import("./store-metadata-X7X7J26V.mjs")
96750
+ lazy: () => import("./store-metadata-3P5YI3YQ.mjs")
96748
96751
  }
96749
96752
  ]
96750
96753
  },
@@ -96758,11 +96761,11 @@ function getRouteMap({
96758
96761
  children: [
96759
96762
  {
96760
96763
  path: "",
96761
- lazy: () => import("./user-list-XFW3SHWQ.mjs"),
96764
+ lazy: () => import("./user-list-YTZQNYSO.mjs"),
96762
96765
  children: [
96763
96766
  {
96764
96767
  path: "invite",
96765
- lazy: () => import("./user-invite-AQQMVG4K.mjs")
96768
+ lazy: () => import("./user-invite-GAGIM5DO.mjs")
96766
96769
  }
96767
96770
  ]
96768
96771
  },
@@ -96785,7 +96788,7 @@ function getRouteMap({
96785
96788
  },
96786
96789
  {
96787
96790
  path: "metadata/edit",
96788
- lazy: () => import("./user-metadata-CGFMJKPT.mjs")
96791
+ lazy: () => import("./user-metadata-WQ57HEMA.mjs")
96789
96792
  }
96790
96793
  ]
96791
96794
  }
@@ -96801,7 +96804,7 @@ function getRouteMap({
96801
96804
  children: [
96802
96805
  {
96803
96806
  path: "",
96804
- lazy: () => import("./sales-channel-list-SWDVR3IS.mjs"),
96807
+ lazy: () => import("./sales-channel-list-BHMHTVP5.mjs"),
96805
96808
  children: [
96806
96809
  {
96807
96810
  path: "create",
@@ -96812,7 +96815,7 @@ function getRouteMap({
96812
96815
  {
96813
96816
  path: ":id",
96814
96817
  lazy: async () => {
96815
- const { Component, Breadcrumb, loader } = await import("./sales-channel-detail-4E2NPXYK.mjs");
96818
+ const { Component, Breadcrumb, loader } = await import("./sales-channel-detail-GKI35W5H.mjs");
96816
96819
  return {
96817
96820
  Component,
96818
96821
  loader,
@@ -96828,11 +96831,11 @@ function getRouteMap({
96828
96831
  },
96829
96832
  {
96830
96833
  path: "add-products",
96831
- lazy: () => import("./sales-channel-add-products-M37VZP3G.mjs")
96834
+ lazy: () => import("./sales-channel-add-products-WNHRWOZS.mjs")
96832
96835
  },
96833
96836
  {
96834
96837
  path: "metadata/edit",
96835
- lazy: () => import("./sales-channel-metadata-TXFO5GWM.mjs")
96838
+ lazy: () => import("./sales-channel-metadata-GY2GM5OH.mjs")
96836
96839
  }
96837
96840
  ]
96838
96841
  }
@@ -96848,7 +96851,7 @@ function getRouteMap({
96848
96851
  children: [
96849
96852
  {
96850
96853
  path: "",
96851
- lazy: () => import("./location-list-YDMTR5QM.mjs")
96854
+ lazy: () => import("./location-list-KVBA6J47.mjs")
96852
96855
  },
96853
96856
  {
96854
96857
  path: "create",
@@ -96863,7 +96866,7 @@ function getRouteMap({
96863
96866
  children: [
96864
96867
  {
96865
96868
  path: "",
96866
- lazy: () => import("./shipping-profiles-list-RCSILIP5.mjs"),
96869
+ lazy: () => import("./shipping-profiles-list-WRPIJBZZ.mjs"),
96867
96870
  children: [
96868
96871
  {
96869
96872
  path: "create",
@@ -96886,7 +96889,7 @@ function getRouteMap({
96886
96889
  children: [
96887
96890
  {
96888
96891
  path: "metadata/edit",
96889
- lazy: () => import("./shipping-profile-metadata-3VGQN6KZ.mjs")
96892
+ lazy: () => import("./shipping-profile-metadata-6D3FYDC4.mjs")
96890
96893
  }
96891
96894
  ]
96892
96895
  }
@@ -96902,18 +96905,18 @@ function getRouteMap({
96902
96905
  children: [
96903
96906
  {
96904
96907
  path: "",
96905
- lazy: () => import("./shipping-option-type-list-H3VQNXL7.mjs"),
96908
+ lazy: () => import("./shipping-option-type-list-NAT6DIHR.mjs"),
96906
96909
  children: [
96907
96910
  {
96908
96911
  path: "create",
96909
- lazy: () => import("./shipping-option-type-create-Q47KBJCI.mjs")
96912
+ lazy: () => import("./shipping-option-type-create-WKI3RSYP.mjs")
96910
96913
  }
96911
96914
  ]
96912
96915
  },
96913
96916
  {
96914
96917
  path: ":id",
96915
96918
  lazy: async () => {
96916
- const { Component, Breadcrumb, loader } = await import("./shipping-option-type-detail-UM6CAZRM.mjs");
96919
+ const { Component, Breadcrumb, loader } = await import("./shipping-option-type-detail-RJ75KMFI.mjs");
96917
96920
  return {
96918
96921
  Component,
96919
96922
  loader,
@@ -96925,7 +96928,7 @@ function getRouteMap({
96925
96928
  children: [
96926
96929
  {
96927
96930
  path: "edit",
96928
- lazy: () => import("./shipping-option-type-edit-UB3ORRBC.mjs")
96931
+ lazy: () => import("./shipping-option-type-edit-4KGCJFG3.mjs")
96929
96932
  }
96930
96933
  ]
96931
96934
  }
@@ -96934,7 +96937,7 @@ function getRouteMap({
96934
96937
  {
96935
96938
  path: ":location_id",
96936
96939
  lazy: async () => {
96937
- const { Component, Breadcrumb, loader } = await import("./location-detail-ULAMYS5R.mjs");
96940
+ const { Component, Breadcrumb, loader } = await import("./location-detail-POZVJTS7.mjs");
96938
96941
  return {
96939
96942
  Component,
96940
96943
  loader,
@@ -96950,18 +96953,18 @@ function getRouteMap({
96950
96953
  },
96951
96954
  {
96952
96955
  path: "sales-channels",
96953
- lazy: () => import("./location-sales-channels-WGVKHV3B.mjs")
96956
+ lazy: () => import("./location-sales-channels-P6O7KJAO.mjs")
96954
96957
  },
96955
96958
  {
96956
96959
  path: "fulfillment-providers",
96957
- lazy: () => import("./location-fulfillment-providers-KQUDIYAF.mjs")
96960
+ lazy: () => import("./location-fulfillment-providers-TXNXNHRD.mjs")
96958
96961
  },
96959
96962
  {
96960
96963
  path: "fulfillment-set/:fset_id",
96961
96964
  children: [
96962
96965
  {
96963
96966
  path: "service-zones/create",
96964
- lazy: () => import("./location-service-zone-create-QINLHG5Y.mjs")
96967
+ lazy: () => import("./location-service-zone-create-J43WN6G4.mjs")
96965
96968
  },
96966
96969
  {
96967
96970
  path: "service-zone/:zone_id",
@@ -96972,25 +96975,25 @@ function getRouteMap({
96972
96975
  },
96973
96976
  {
96974
96977
  path: "areas",
96975
- lazy: () => import("./location-service-zone-manage-areas-T5DBC22A.mjs")
96978
+ lazy: () => import("./location-service-zone-manage-areas-6ZPMKMSX.mjs")
96976
96979
  },
96977
96980
  {
96978
96981
  path: "shipping-option",
96979
96982
  children: [
96980
96983
  {
96981
96984
  path: "create",
96982
- lazy: () => import("./location-service-zone-shipping-option-create-5XHKSHIS.mjs")
96985
+ lazy: () => import("./location-service-zone-shipping-option-create-XXHX5DWG.mjs")
96983
96986
  },
96984
96987
  {
96985
96988
  path: ":so_id",
96986
96989
  children: [
96987
96990
  {
96988
96991
  path: "edit",
96989
- lazy: () => import("./location-service-zone-shipping-option-edit-GGMKFUXK.mjs")
96992
+ lazy: () => import("./location-service-zone-shipping-option-edit-4CGPQ3VT.mjs")
96990
96993
  },
96991
96994
  {
96992
96995
  path: "pricing",
96993
- lazy: () => import("./location-service-zone-shipping-option-pricing-VTD5YQ7X.mjs")
96996
+ lazy: () => import("./location-service-zone-shipping-option-pricing-5HN2Z5RB.mjs")
96994
96997
  }
96995
96998
  ]
96996
96999
  }
@@ -97014,18 +97017,18 @@ function getRouteMap({
97014
97017
  children: [
97015
97018
  {
97016
97019
  path: "",
97017
- lazy: () => import("./product-tag-list-AOR3RSJW.mjs"),
97020
+ lazy: () => import("./product-tag-list-KOYJZMGY.mjs"),
97018
97021
  children: [
97019
97022
  {
97020
97023
  path: "create",
97021
- lazy: () => import("./product-tag-create-TBICZVLL.mjs")
97024
+ lazy: () => import("./product-tag-create-DJQIEWOF.mjs")
97022
97025
  }
97023
97026
  ]
97024
97027
  },
97025
97028
  {
97026
97029
  path: ":id",
97027
97030
  lazy: async () => {
97028
- const { Component, Breadcrumb, loader } = await import("./product-tag-detail-JPH3QX6V.mjs");
97031
+ const { Component, Breadcrumb, loader } = await import("./product-tag-detail-JPNWE5QK.mjs");
97029
97032
  return {
97030
97033
  Component,
97031
97034
  loader,
@@ -97037,11 +97040,11 @@ function getRouteMap({
97037
97040
  children: [
97038
97041
  {
97039
97042
  path: "edit",
97040
- lazy: () => import("./product-tag-edit-3DQJQ5YE.mjs")
97043
+ lazy: () => import("./product-tag-edit-76EA7NLB.mjs")
97041
97044
  },
97042
97045
  {
97043
97046
  path: "metadata/edit",
97044
- lazy: () => import("./product-tag-metadata-MQ5SCB3J.mjs")
97047
+ lazy: () => import("./product-tag-metadata-HMCF2W4C.mjs")
97045
97048
  }
97046
97049
  ]
97047
97050
  }
@@ -97057,12 +97060,12 @@ function getRouteMap({
97057
97060
  children: [
97058
97061
  {
97059
97062
  path: "",
97060
- lazy: () => import("./workflow-execution-list-N6YFMSXW.mjs")
97063
+ lazy: () => import("./workflow-execution-list-C3EJMVSZ.mjs")
97061
97064
  },
97062
97065
  {
97063
97066
  path: ":id",
97064
97067
  lazy: async () => {
97065
- const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-QKA2H2VA.mjs");
97068
+ const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-RRZJQZV6.mjs");
97066
97069
  return {
97067
97070
  Component,
97068
97071
  loader,
@@ -97084,7 +97087,7 @@ function getRouteMap({
97084
97087
  children: [
97085
97088
  {
97086
97089
  path: "",
97087
- lazy: () => import("./product-type-list-BZDXJ2HH.mjs"),
97090
+ lazy: () => import("./product-type-list-MQ2PW2IE.mjs"),
97088
97091
  children: [
97089
97092
  {
97090
97093
  path: "create",
@@ -97095,7 +97098,7 @@ function getRouteMap({
97095
97098
  {
97096
97099
  path: ":id",
97097
97100
  lazy: async () => {
97098
- const { Component, Breadcrumb, loader } = await import("./product-type-detail-N2MDJT6X.mjs");
97101
+ const { Component, Breadcrumb, loader } = await import("./product-type-detail-IJ6FGSB2.mjs");
97099
97102
  return {
97100
97103
  Component,
97101
97104
  loader,
@@ -97111,7 +97114,7 @@ function getRouteMap({
97111
97114
  },
97112
97115
  {
97113
97116
  path: "metadata/edit",
97114
- lazy: () => import("./product-type-metadata-WPX7ZGF4.mjs")
97117
+ lazy: () => import("./product-type-metadata-5Y5M2IQP.mjs")
97115
97118
  }
97116
97119
  ]
97117
97120
  }
@@ -97130,7 +97133,7 @@ function getRouteMap({
97130
97133
  children: [
97131
97134
  {
97132
97135
  path: "",
97133
- lazy: () => import("./api-key-management-list-DPFW5U7B.mjs"),
97136
+ lazy: () => import("./api-key-management-list-2T35G3KT.mjs"),
97134
97137
  children: [
97135
97138
  {
97136
97139
  path: "create",
@@ -97143,7 +97146,7 @@ function getRouteMap({
97143
97146
  {
97144
97147
  path: ":id",
97145
97148
  lazy: async () => {
97146
- const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-TM6K63HF.mjs");
97149
+ const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-SZR6LLZY.mjs");
97147
97150
  return {
97148
97151
  Component,
97149
97152
  loader,
@@ -97159,7 +97162,7 @@ function getRouteMap({
97159
97162
  },
97160
97163
  {
97161
97164
  path: "sales-channels",
97162
- lazy: () => import("./api-key-management-sales-channels-4GOYD6BF.mjs")
97165
+ lazy: () => import("./api-key-management-sales-channels-WZAGFYC5.mjs")
97163
97166
  }
97164
97167
  ]
97165
97168
  }
@@ -97178,7 +97181,7 @@ function getRouteMap({
97178
97181
  children: [
97179
97182
  {
97180
97183
  path: "",
97181
- lazy: () => import("./api-key-management-list-DPFW5U7B.mjs"),
97184
+ lazy: () => import("./api-key-management-list-2T35G3KT.mjs"),
97182
97185
  children: [
97183
97186
  {
97184
97187
  path: "create",
@@ -97191,7 +97194,7 @@ function getRouteMap({
97191
97194
  {
97192
97195
  path: ":id",
97193
97196
  lazy: async () => {
97194
- const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-TM6K63HF.mjs");
97197
+ const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-SZR6LLZY.mjs");
97195
97198
  return {
97196
97199
  Component,
97197
97200
  loader,
@@ -97218,11 +97221,11 @@ function getRouteMap({
97218
97221
  children: [
97219
97222
  {
97220
97223
  path: "",
97221
- lazy: () => import("./tax-region-list-ZYTJG7HC.mjs"),
97224
+ lazy: () => import("./tax-region-list-P4LDOPZD.mjs"),
97222
97225
  children: [
97223
97226
  {
97224
97227
  path: "create",
97225
- lazy: () => import("./tax-region-create-BH4AS4OU.mjs")
97228
+ lazy: () => import("./tax-region-create-BFOF2UVZ.mjs")
97226
97229
  }
97227
97230
  ]
97228
97231
  },
@@ -97237,7 +97240,7 @@ function getRouteMap({
97237
97240
  {
97238
97241
  path: "",
97239
97242
  lazy: async () => {
97240
- const { Component } = await import("./tax-region-detail-D22AOV54.mjs");
97243
+ const { Component } = await import("./tax-region-detail-JDWO7JFL.mjs");
97241
97244
  return {
97242
97245
  Component
97243
97246
  };
@@ -97245,7 +97248,7 @@ function getRouteMap({
97245
97248
  children: [
97246
97249
  {
97247
97250
  path: "edit",
97248
- lazy: () => import("./tax-region-edit-AGUULZKA.mjs")
97251
+ lazy: () => import("./tax-region-edit-I2DTFHH4.mjs")
97249
97252
  },
97250
97253
  {
97251
97254
  path: "provinces/create",
@@ -97253,11 +97256,11 @@ function getRouteMap({
97253
97256
  },
97254
97257
  {
97255
97258
  path: "overrides/create",
97256
- lazy: () => import("./tax-region-tax-override-create-XDO7RON2.mjs")
97259
+ lazy: () => import("./tax-region-tax-override-create-EBTFIY7C.mjs")
97257
97260
  },
97258
97261
  {
97259
97262
  path: "overrides/:tax_rate_id/edit",
97260
- lazy: () => import("./tax-region-tax-override-edit-3RTRDVDI.mjs")
97263
+ lazy: () => import("./tax-region-tax-override-edit-UUKEKERW.mjs")
97261
97264
  },
97262
97265
  {
97263
97266
  path: "tax-rates/create",
@@ -97272,7 +97275,7 @@ function getRouteMap({
97272
97275
  {
97273
97276
  path: "provinces/:province_id",
97274
97277
  lazy: async () => {
97275
- const { Component, Breadcrumb, loader } = await import("./tax-region-province-detail-B5FBOF3U.mjs");
97278
+ const { Component, Breadcrumb, loader } = await import("./tax-region-province-detail-NEYURIVX.mjs");
97276
97279
  return {
97277
97280
  Component,
97278
97281
  loader,
@@ -97292,11 +97295,11 @@ function getRouteMap({
97292
97295
  },
97293
97296
  {
97294
97297
  path: "overrides/create",
97295
- lazy: () => import("./tax-region-tax-override-create-XDO7RON2.mjs")
97298
+ lazy: () => import("./tax-region-tax-override-create-EBTFIY7C.mjs")
97296
97299
  },
97297
97300
  {
97298
97301
  path: "overrides/:tax_rate_id/edit",
97299
- lazy: () => import("./tax-region-tax-override-edit-3RTRDVDI.mjs")
97302
+ lazy: () => import("./tax-region-tax-override-edit-UUKEKERW.mjs")
97300
97303
  }
97301
97304
  ]
97302
97305
  }
@@ -97313,7 +97316,7 @@ function getRouteMap({
97313
97316
  children: [
97314
97317
  {
97315
97318
  path: "",
97316
- lazy: () => import("./return-reason-list-EGGZ7O6G.mjs"),
97319
+ lazy: () => import("./return-reason-list-EYLIXARO.mjs"),
97317
97320
  children: [
97318
97321
  {
97319
97322
  path: "create",
@@ -97341,18 +97344,18 @@ function getRouteMap({
97341
97344
  children: [
97342
97345
  {
97343
97346
  path: "",
97344
- lazy: () => import("./refund-reason-list-GKHO2WDS.mjs"),
97347
+ lazy: () => import("./refund-reason-list-YROTDEQW.mjs"),
97345
97348
  children: [
97346
97349
  {
97347
97350
  path: "create",
97348
- lazy: () => import("./refund-reason-create-DY22FUI4.mjs")
97351
+ lazy: () => import("./refund-reason-create-UFAJFFFX.mjs")
97349
97352
  },
97350
97353
  {
97351
97354
  path: ":id",
97352
97355
  children: [
97353
97356
  {
97354
97357
  path: "edit",
97355
- lazy: () => import("./refund-reason-edit-GLTVSOTD.mjs")
97358
+ lazy: () => import("./refund-reason-edit-HM42SYVK.mjs")
97356
97359
  }
97357
97360
  ]
97358
97361
  }
@@ -97369,7 +97372,7 @@ function getRouteMap({
97369
97372
  children: [
97370
97373
  {
97371
97374
  path: "",
97372
- lazy: () => import("./translation-list-3EGUQC7L.mjs"),
97375
+ lazy: () => import("./translation-list-2QIA5IZ4.mjs"),
97373
97376
  children: [
97374
97377
  {
97375
97378
  path: "settings",
@@ -97379,11 +97382,11 @@ function getRouteMap({
97379
97382
  },
97380
97383
  {
97381
97384
  path: "edit",
97382
- lazy: () => import("./translations-edit-IWXQCTSI.mjs")
97385
+ lazy: () => import("./translations-edit-K7EMV5N3.mjs")
97383
97386
  },
97384
97387
  {
97385
97388
  path: "add-locales",
97386
- lazy: () => import("./add-locales-47HF5EWF.mjs")
97389
+ lazy: () => import("./add-locales-F4BOSZNU.mjs")
97387
97390
  }
97388
97391
  ]
97389
97392
  }
@@ -97399,7 +97402,7 @@ function getRouteMap({
97399
97402
  children: [
97400
97403
  {
97401
97404
  path: "/login",
97402
- lazy: () => import("./login-WK4YY6KQ.mjs")
97405
+ lazy: () => import("./login-IMDOL4BZ.mjs")
97403
97406
  },
97404
97407
  {
97405
97408
  path: "/reset-password",
@@ -97495,7 +97498,7 @@ var addRoute = (pathSegments, Component, currentLevel, loader, handle, parallelR
97495
97498
  leaf.children = processParallelRoutes(parallelRoutes, currentFullPath);
97496
97499
  Object.assign(route, leaf);
97497
97500
  } else {
97498
- const leaf = createLeafRoute(Component, loader);
97501
+ const leaf = createLeafRoute(Component, loader, handle);
97499
97502
  leaf.children = processParallelRoutes(parallelRoutes, currentFullPath);
97500
97503
  route.children.push(leaf);
97501
97504
  }
@@ -97545,7 +97548,7 @@ var createRouteMap = (routes, ignore) => {
97545
97548
 
97546
97549
  // src/dashboard-app/utils/sort-menu-items-by-rank.ts
97547
97550
  function sortMenuItemsByRank(items) {
97548
- const sortedItems = items.sort((a, b) => {
97551
+ const sortedItems = [...items].sort((a, b) => {
97549
97552
  if (a.rank !== void 0 && b.rank !== void 0) {
97550
97553
  return a.rank - b.rank;
97551
97554
  }
@@ -97557,14 +97560,17 @@ function sortMenuItemsByRank(items) {
97557
97560
  }
97558
97561
  return 0;
97559
97562
  });
97560
- sortedItems.forEach((item) => {
97563
+ return sortedItems.map((item) => {
97561
97564
  if (item.items && item.items.length > 0) {
97562
- item.items = sortMenuItemsByRank(
97563
- item.items
97564
- );
97565
+ return {
97566
+ ...item,
97567
+ items: sortMenuItemsByRank(
97568
+ item.items
97569
+ )
97570
+ };
97565
97571
  }
97572
+ return item;
97566
97573
  });
97567
- return sortedItems;
97568
97574
  }
97569
97575
 
97570
97576
  // src/dashboard-app/dashboard-app.tsx
@@ -97639,7 +97645,8 @@ var DashboardApp = class {
97639
97645
  }
97640
97646
  allMenuItems.sort((a, b) => a.path.length - b.path.length);
97641
97647
  allMenuItems.forEach((item) => {
97642
- item.path = item.path.replace(OPTIONAL_LAST_SEGMENT_MATCH, "");
97648
+ const normalizedPath = item.path.replace(OPTIONAL_LAST_SEGMENT_MATCH, "");
97649
+ item.path = normalizedPath;
97643
97650
  if (item.path.includes("/:") || item.path.endsWith("/*")) {
97644
97651
  if (process.env.NODE_ENV === "development") {
97645
97652
  console.warn(
@@ -98025,7 +98032,7 @@ function createExtendedDefaultValues(baseDefaultValues, configs, data) {
98025
98032
  acc[name] = typeof defaultValue === "function" ? defaultValue(data) : defaultValue;
98026
98033
  return acc;
98027
98034
  }, {});
98028
- return Object.assign(baseDefaultValues, { additional_data });
98035
+ return { ...baseDefaultValues, additional_data };
98029
98036
  }
98030
98037
  var useExtendableForm = ({
98031
98038
  defaultValues: baseDefaultValues,
@@ -98054,7 +98061,7 @@ function appendLinkableFields(fields = "", linkable = []) {
98054
98061
  const linkableFields = linkable.flatMap((link) => {
98055
98062
  return typeof link === "string" ? [`+${link}.*`] : link.map((l) => `+${l}.*`);
98056
98063
  });
98057
- return [fields, ...linkableFields].join(",");
98064
+ return [fields, ...linkableFields].filter(Boolean).join(",");
98058
98065
  }
98059
98066
  function getLinkedFields(model, fields = "") {
98060
98067
  const links = linkModule.links[model];