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

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 (236) hide show
  1. package/dist/{adjust-inventory-7EWRE2HD.mjs → adjust-inventory-MEJEPP4Y.mjs} +1 -1
  2. package/dist/{api-key-management-create-SPLD3JMO.mjs → api-key-management-create-4OZWVOSF.mjs} +3 -3
  3. package/dist/{api-key-management-detail-MFQTHUN6.mjs → api-key-management-detail-K3A3T6ET.mjs} +13 -13
  4. package/dist/{api-key-management-edit-2VPL7PHB.mjs → api-key-management-edit-FYLVVQOA.mjs} +3 -3
  5. package/dist/{api-key-management-list-22GXXJUC.mjs → api-key-management-list-6YG52LWY.mjs} +3 -3
  6. package/dist/{api-key-management-sales-channels-MV6FMA4C.mjs → api-key-management-sales-channels-S5IFH7LP.mjs} +4 -4
  7. package/dist/app.css +3 -3
  8. package/dist/app.js +16852 -15621
  9. package/dist/app.mjs +12 -12
  10. package/dist/{campaign-create-GD2D45NX.mjs → campaign-create-NEKUWDGF.mjs} +2 -2
  11. package/dist/{campaign-detail-IKHUALTL.mjs → campaign-detail-2H2W4W5B.mjs} +10 -10
  12. package/dist/{categories-metadata-2HM7G27P.mjs → categories-metadata-ZEYU33GV.mjs} +10 -10
  13. package/dist/{category-create-BC2VUVKO.mjs → category-create-N7PP3GWU.mjs} +5 -5
  14. package/dist/{category-detail-D4PYJJGJ.mjs → category-detail-DKY37LPO.mjs} +14 -14
  15. package/dist/{category-edit-U5Y5KJ2Y.mjs → category-edit-IFDQP7EZ.mjs} +2 -2
  16. package/dist/{category-list-MLLB5U6K.mjs → category-list-2M4BCRAL.mjs} +5 -5
  17. package/dist/{category-organize-4NXFDN2I.mjs → category-organize-76I7PO24.mjs} +2 -2
  18. package/dist/{category-products-K5INZSSV.mjs → category-products-VVRGW25X.mjs} +13 -13
  19. package/dist/{chunk-XXROCJ7D.mjs → chunk-227DWSFF.mjs} +15 -15
  20. package/dist/{chunk-IKXQEHLS.mjs → chunk-3G33PZVQ.mjs} +1 -1
  21. package/dist/{chunk-ULQ3V4CC.mjs → chunk-3MPO56OL.mjs} +2 -2
  22. package/dist/{chunk-MQALAB34.mjs → chunk-7PWZ5GMG.mjs} +1 -1
  23. package/dist/{chunk-PYIPIUAY.mjs → chunk-ET6EGRW3.mjs} +332 -241
  24. package/dist/{chunk-6IXLTZ2H.mjs → chunk-FA5QNPXE.mjs} +2 -2
  25. package/dist/{chunk-IXZVR3HG.mjs → chunk-GBKLLUUX.mjs} +1 -1
  26. package/dist/{chunk-ALKTJGWS.mjs → chunk-GI6XX5VU.mjs} +2 -2
  27. package/dist/{chunk-4BGVSXZZ.mjs → chunk-GVPJPLE2.mjs} +15 -48
  28. package/dist/{chunk-6XWHQ6ON.mjs → chunk-GVVAVAXG.mjs} +1 -1
  29. package/dist/{chunk-3DO2JGVG.mjs → chunk-HGFZAXHD.mjs} +1 -1
  30. package/dist/{chunk-3C6WQ7NH.mjs → chunk-IBSMG7AF.mjs} +37 -3
  31. package/dist/{chunk-EQKJ5FSL.mjs → chunk-JAXWGF4M.mjs} +1 -1
  32. package/dist/{chunk-LEKWKUIS.mjs → chunk-JC75WAC7.mjs} +3 -3
  33. package/dist/{chunk-ZUUKLYH4.mjs → chunk-JDA2MYND.mjs} +1 -1
  34. package/dist/{chunk-LOAL44PP.mjs → chunk-JDEH6Z4M.mjs} +1 -1
  35. package/dist/{chunk-2O43G3RH.mjs → chunk-LYTIMAIZ.mjs} +1 -1
  36. package/dist/{chunk-OGAZYXOV.mjs → chunk-NGR5XU3K.mjs} +1 -1
  37. package/dist/{chunk-3JJBLFYN.mjs → chunk-OI4W5AEL.mjs} +6 -2
  38. package/dist/{chunk-XYHXWLTJ.mjs → chunk-P5RVJWPK.mjs} +1 -1
  39. package/dist/{chunk-WTK7SR6S.mjs → chunk-SBFWPL42.mjs} +2 -2
  40. package/dist/{chunk-NDXL7ZT5.mjs → chunk-TNMXAPPT.mjs} +1 -1
  41. package/dist/{chunk-TUCPFNIY.mjs → chunk-UTVAHVAY.mjs} +5 -5
  42. package/dist/{chunk-KXRW6JRE.mjs → chunk-WOFUOGLO.mjs} +123 -33
  43. package/dist/{chunk-N4N4KGET.mjs → chunk-WWQZD7WM.mjs} +1 -1
  44. package/dist/{chunk-R2QF6AQX.mjs → chunk-Y6ZQFV7H.mjs} +1 -1
  45. package/dist/{chunk-VLOA5XAC.mjs → chunk-YCDDT44O.mjs} +8 -4
  46. package/dist/{chunk-YL4UEHO3.mjs → chunk-YSQG2JDM.mjs} +1 -1
  47. package/dist/chunk-ZHH3W7CN.mjs +171 -0
  48. package/dist/{collection-add-products-TWIDVZMU.mjs → collection-add-products-QCSFXELK.mjs} +14 -14
  49. package/dist/{collection-create-CUZFWEOB.mjs → collection-create-45RYGDW7.mjs} +2 -2
  50. package/dist/{collection-detail-B33WPVIW.mjs → collection-detail-OLC6DMBZ.mjs} +14 -14
  51. package/dist/{collection-edit-22I7EEJG.mjs → collection-edit-YBPBHLLZ.mjs} +2 -2
  52. package/dist/{collection-list-DAW7WOX5.mjs → collection-list-6UJNE2QB.mjs} +24 -23
  53. package/dist/{collection-metadata-ZUFYY4OU.mjs → collection-metadata-QG55V5ZM.mjs} +11 -11
  54. package/dist/{customer-detail-ATJGSJTH.mjs → customer-detail-XOCZDUJL.mjs} +14 -14
  55. package/dist/{customer-group-detail-OVZIWNPP.mjs → customer-group-detail-EWSDTVTQ.mjs} +13 -13
  56. package/dist/{customer-group-list-SADXXHAE.mjs → customer-group-list-NFXAELFY.mjs} +13 -13
  57. package/dist/{customers-add-customer-group-XNPZ47LK.mjs → customers-add-customer-group-EYZMFVBS.mjs} +13 -13
  58. package/dist/{edit-inventory-item-5RPZHCM7.mjs → edit-inventory-item-TFJL5H5X.mjs} +1 -1
  59. package/dist/{edit-inventory-item-attributes-R73ZTBYG.mjs → edit-inventory-item-attributes-O3K7OB56.mjs} +1 -1
  60. package/dist/{edit-reservation-WMLAFMYU.mjs → edit-reservation-Z5TFZERY.mjs} +2 -2
  61. package/dist/{edit-rules-KV43O773.mjs → edit-rules-IE77WUXD.mjs} +10 -10
  62. package/dist/en.json +51 -4
  63. package/dist/{inventory-create-NW5WSPBV.mjs → inventory-create-HQ5XLKOJ.mjs} +10 -10
  64. package/dist/{inventory-detail-I2CNJC6Y.mjs → inventory-detail-DAINM7WP.mjs} +10 -10
  65. package/dist/{inventory-list-I7IXI4KC.mjs → inventory-list-5ROSUTXF.mjs} +1 -1
  66. package/dist/{inventory-metadata-7XR4ON7G.mjs → inventory-metadata-HUL56OD2.mjs} +10 -10
  67. package/dist/{inventory-stock-VTIDGTOY.mjs → inventory-stock-5VIUWKTQ.mjs} +10 -10
  68. package/dist/{location-detail-WZM4EXFM.mjs → location-detail-QMLCFID5.mjs} +15 -15
  69. package/dist/{location-fulfillment-providers-F7MMM5KC.mjs → location-fulfillment-providers-NAFFMP3P.mjs} +15 -14
  70. package/dist/{location-sales-channels-J3V26P3Q.mjs → location-sales-channels-D37LXTKQ.mjs} +3 -3
  71. package/dist/{location-service-zone-shipping-option-create-F3EQW67U.mjs → location-service-zone-shipping-option-create-VM4TEJHY.mjs} +10 -10
  72. package/dist/{login-VZALGB6R.mjs → login-MTGOV7KC.mjs} +10 -10
  73. package/dist/{manage-locations-ZRCDYW5V.mjs → manage-locations-OHDFBORX.mjs} +2 -2
  74. package/dist/{order-allocate-items-MZ7Y4FU4.mjs → order-allocate-items-NU65ZXHE.mjs} +3 -3
  75. package/dist/{order-create-claim-VFFKHCI6.mjs → order-create-claim-LTE2E75R.mjs} +16 -16
  76. package/dist/{order-create-edit-7TFUOMST.mjs → order-create-edit-TPU3CKUU.mjs} +11 -11
  77. package/dist/{order-create-exchange-CXQ5ZM3Q.mjs → order-create-exchange-FVSBZI7P.mjs} +22 -22
  78. package/dist/{order-create-fulfillment-VTICR6OE.mjs → order-create-fulfillment-NFGPDCBV.mjs} +13 -13
  79. package/dist/{order-create-refund-RWDVIXPV.mjs → order-create-refund-DC7C3R4Y.mjs} +15 -15
  80. package/dist/{order-create-return-AYWH3WMR.mjs → order-create-return-RLXYVZLO.mjs} +4 -4
  81. package/dist/{order-create-shipment-2KNYEHSU.mjs → order-create-shipment-RDYWCG3A.mjs} +10 -10
  82. package/dist/{order-detail-IFXJNVTV.mjs → order-detail-VVOZ6E2R.mjs} +31 -31
  83. package/dist/{order-edit-billing-address-T6BIIRAX.mjs → order-edit-billing-address-LV7453CS.mjs} +10 -10
  84. package/dist/{order-edit-email-SLUOGWRO.mjs → order-edit-email-4U5C6UKX.mjs} +10 -10
  85. package/dist/{order-edit-shipping-address-YUES5K5Q.mjs → order-edit-shipping-address-6IQC2CVP.mjs} +10 -10
  86. package/dist/{order-list-4N3OV2PU.mjs → order-list-INSYF52F.mjs} +5 -5
  87. package/dist/{order-metadata-HS33MC6S.mjs → order-metadata-EEV4IWOM.mjs} +10 -10
  88. package/dist/{order-receive-return-E6BGSZVL.mjs → order-receive-return-IWHR3EBF.mjs} +11 -11
  89. package/dist/{order-request-transfer-7IIDQ37I.mjs → order-request-transfer-65R4A7HS.mjs} +10 -10
  90. package/dist/{price-list-configuration-4XY4JW4I.mjs → price-list-configuration-L5XYCVP2.mjs} +4 -4
  91. package/dist/{price-list-create-VFQVCUWV.mjs → price-list-create-5GIMBRG2.mjs} +17 -17
  92. package/dist/{price-list-detail-32UKOWNW.mjs → price-list-detail-7AL2EBRL.mjs} +17 -17
  93. package/dist/{price-list-edit-GXDLVOU4.mjs → price-list-edit-DHG5STG4.mjs} +2 -2
  94. package/dist/{price-list-list-TKXSU27S.mjs → price-list-list-QQKZEFSU.mjs} +3 -3
  95. package/dist/{price-list-prices-add-AY75YZ7D.mjs → price-list-prices-add-2OO4QEZB.mjs} +13 -13
  96. package/dist/{price-list-prices-edit-J7HCNDTO.mjs → price-list-prices-edit-2FB25KWU.mjs} +2 -2
  97. package/dist/{product-attributes-3GCAY7KW.mjs → product-attributes-CCQ6WAOD.mjs} +13 -13
  98. package/dist/{product-create-4TD7FQC7.mjs → product-create-AIRCVZAE.mjs} +343 -549
  99. package/dist/{product-create-variant-ZWY57BX7.mjs → product-create-variant-7BD5KQHQ.mjs} +10 -10
  100. package/dist/{product-detail-J7T7MNUY.mjs → product-detail-IYMXYAPH.mjs} +27 -54
  101. package/dist/{product-edit-MJ7VAIVY.mjs → product-edit-PDGQHCQ2.mjs} +13 -13
  102. package/dist/{product-export-X64NQWTS.mjs → product-export-5EINLQDF.mjs} +23 -22
  103. package/dist/{product-image-variants-edit-J6A5G4AC.mjs → product-image-variants-edit-DDSEBG5H.mjs} +10 -10
  104. package/dist/{product-import-HDNC36SM.mjs → product-import-IQJWHNYN.mjs} +16 -16
  105. package/dist/{product-list-E7HS4SBG.mjs → product-list-PUQEGU75.mjs} +17 -17
  106. package/dist/{product-media-Z3NNTB7H.mjs → product-media-Q5XFYZRS.mjs} +2 -2
  107. package/dist/{product-metadata-LMDEXR3V.mjs → product-metadata-WCKNOZXX.mjs} +10 -10
  108. package/dist/product-option-create-MWFWB2SU.mjs +336 -0
  109. package/dist/product-option-detail-UKKEZPG7.mjs +323 -0
  110. package/dist/product-option-edit-NHAF7B4P.mjs +324 -0
  111. package/dist/product-option-list-C6ZR2WIX.mjs +266 -0
  112. package/dist/product-option-metadata-OWSGHNDC.mjs +71 -0
  113. package/dist/product-options-manage-N73G5IXY.mjs +206 -0
  114. package/dist/{product-organization-263TICCI.mjs → product-organization-HHME5F2C.mjs} +14 -14
  115. package/dist/{product-prices-MCZYVPQW.mjs → product-prices-GVEPABHQ.mjs} +1 -1
  116. package/dist/{product-sales-channels-RHZQXWAY.mjs → product-sales-channels-ZC5ONPG7.mjs} +3 -3
  117. package/dist/{product-shipping-profile-GVTR3MHD.mjs → product-shipping-profile-KXSBDGRD.mjs} +13 -13
  118. package/dist/{product-stock-O2BH5R45.mjs → product-stock-LXRLD7FA.mjs} +10 -10
  119. package/dist/{product-tag-create-GOJTE5XA.mjs → product-tag-create-RAJEWM5O.mjs} +10 -10
  120. package/dist/{product-tag-detail-CK5F4DU3.mjs → product-tag-detail-EOW2GMOL.mjs} +28 -27
  121. package/dist/{product-tag-edit-IT4GHLSO.mjs → product-tag-edit-ZOO56XMF.mjs} +10 -10
  122. package/dist/{product-tag-list-VNROS2W3.mjs → product-tag-list-B2UX2OHB.mjs} +26 -25
  123. package/dist/{product-tag-metadata-QV2BOGP2.mjs → product-tag-metadata-OZB7SVDN.mjs} +10 -10
  124. package/dist/{product-type-detail-7K5RLART.mjs → product-type-detail-4YZUC6ZS.mjs} +13 -13
  125. package/dist/{product-type-metadata-5TDBJGNQ.mjs → product-type-metadata-6QT47ZSR.mjs} +10 -10
  126. package/dist/{product-variant-detail-3SO2MX22.mjs → product-variant-detail-HOOYZSS2.mjs} +10 -10
  127. package/dist/{product-variant-edit-DW27AYBX.mjs → product-variant-edit-J2MTJA75.mjs} +10 -10
  128. package/dist/{product-variant-manage-inventory-items-T5OB3YX3.mjs → product-variant-manage-inventory-items-P4QUORRH.mjs} +1 -1
  129. package/dist/{product-variant-media-PHRCKUDK.mjs → product-variant-media-U5RG7AOW.mjs} +1 -1
  130. package/dist/{product-variant-metadata-4KJE6B2R.mjs → product-variant-metadata-ZRSZO2D4.mjs} +10 -10
  131. package/dist/{promotion-create-F27AOTVZ.mjs → promotion-create-2E4EF4SP.mjs} +15 -15
  132. package/dist/{promotion-detail-ZDINJASC.mjs → promotion-detail-P2BHIQDG.mjs} +10 -10
  133. package/dist/{refund-reason-create-5ATQ2IPU.mjs → refund-reason-create-I3BIJFJH.mjs} +10 -10
  134. package/dist/{refund-reason-edit-F7AMOTG3.mjs → refund-reason-edit-2BEZASQH.mjs} +10 -10
  135. package/dist/{refund-reason-list-SFTHVSPC.mjs → refund-reason-list-NIJHHOXJ.mjs} +13 -13
  136. package/dist/{region-metadata-CRAHVHOC.mjs → region-metadata-RLZSQNGW.mjs} +10 -10
  137. package/dist/{reservation-create-YZMZ6HSS.mjs → reservation-create-4R2XEEZU.mjs} +2 -2
  138. package/dist/{reservation-detail-6MCBQZAE.mjs → reservation-detail-7OYGNK4L.mjs} +10 -10
  139. package/dist/{reservation-list-IEUC3KXK.mjs → reservation-list-VY44QEH6.mjs} +2 -2
  140. package/dist/{reservation-metadata-IQNJPNAX.mjs → reservation-metadata-VJIAGIMF.mjs} +10 -10
  141. package/dist/{sales-channel-add-products-7RKUDBXN.mjs → sales-channel-add-products-KAUMNKMD.mjs} +13 -13
  142. package/dist/{sales-channel-create-7ISLGNGC.mjs → sales-channel-create-I6ME6QBM.mjs} +2 -2
  143. package/dist/{sales-channel-detail-TKVVIAS5.mjs → sales-channel-detail-5SXDKP6P.mjs} +13 -13
  144. package/dist/{sales-channel-edit-2PEHGAWF.mjs → sales-channel-edit-O7GM2B6O.mjs} +2 -2
  145. package/dist/{sales-channel-list-SI7JVBOI.mjs → sales-channel-list-JKZ6TIY7.mjs} +11 -11
  146. package/dist/{sales-channel-metadata-ZOCPAIGM.mjs → sales-channel-metadata-33P5SKDI.mjs} +10 -10
  147. package/dist/{shipping-option-type-create-YR2QV2OG.mjs → shipping-option-type-create-KVYNWD2Q.mjs} +10 -10
  148. package/dist/{shipping-option-type-detail-TYHGCV2X.mjs → shipping-option-type-detail-YX3HMXNI.mjs} +11 -11
  149. package/dist/{shipping-option-type-edit-6KL3MHVT.mjs → shipping-option-type-edit-ODXQMHYJ.mjs} +10 -10
  150. package/dist/{shipping-option-type-list-YPCCUVFZ.mjs → shipping-option-type-list-XCQNWDDA.mjs} +11 -11
  151. package/dist/{shipping-profile-metadata-A33XKBQN.mjs → shipping-profile-metadata-K34DAKGY.mjs} +10 -10
  152. package/dist/{store-detail-3ZV7FCPV.mjs → store-detail-3Z3BK2BH.mjs} +10 -10
  153. package/dist/{store-metadata-LMRFCZ3J.mjs → store-metadata-FESGAO7E.mjs} +10 -10
  154. package/dist/{tax-region-create-5Y6EA7XE.mjs → tax-region-create-EVFVC6HN.mjs} +10 -10
  155. package/dist/{tax-region-detail-TTYUBJ3V.mjs → tax-region-detail-ULHK52CD.mjs} +29 -28
  156. package/dist/{tax-region-edit-IKEWHRUK.mjs → tax-region-edit-CXEPD2F2.mjs} +10 -10
  157. package/dist/{tax-region-province-detail-YCY56CRL.mjs → tax-region-province-detail-VUY4PDGN.mjs} +29 -28
  158. package/dist/{tax-region-tax-override-create-R3PNDP43.mjs → tax-region-tax-override-create-WWZZVAG5.mjs} +28 -27
  159. package/dist/{tax-region-tax-override-edit-QLD7MIQY.mjs → tax-region-tax-override-edit-HVZRD44G.mjs} +27 -26
  160. package/dist/{user-detail-DFZPKHG2.mjs → user-detail-YTVBPRH5.mjs} +1 -1
  161. package/dist/{user-metadata-BQKW4WAU.mjs → user-metadata-33W3JSHN.mjs} +10 -10
  162. package/dist/{workflow-execution-detail-D5QUZFTV.mjs → workflow-execution-detail-SHEXD5OL.mjs} +10 -10
  163. package/package.json +9 -9
  164. package/src/components/common/infinite-list/infinite-list.tsx +9 -4
  165. package/src/components/layout/main-layout/main-layout.tsx +7 -4
  166. package/src/dashboard-app/dashboard-app.tsx +10 -2
  167. package/src/dashboard-app/routes/get-route.map.tsx +64 -12
  168. package/src/dashboard-app/routes/utils.ts +14 -6
  169. package/src/hooks/api/index.ts +1 -0
  170. package/src/hooks/api/product-options.tsx +151 -0
  171. package/src/hooks/api/products.tsx +23 -63
  172. package/src/hooks/table/columns/use-product-option-table-columns.tsx +43 -0
  173. package/src/hooks/table/filters/index.ts +1 -0
  174. package/src/hooks/table/filters/use-product-option-table-filters.tsx +33 -0
  175. package/src/hooks/table/query/use-product-option-table-query.tsx +34 -0
  176. package/src/i18n/translations/$schema.json +176 -5
  177. package/src/i18n/translations/en.json +51 -4
  178. package/src/routes/product-options/common/hooks/use-delete-product-option-action.tsx +41 -0
  179. package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-details.tsx +71 -0
  180. package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-form.tsx +192 -0
  181. package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-organize.tsx +77 -0
  182. package/src/routes/product-options/product-option-create/components/create-product-option-form/index.ts +1 -0
  183. package/src/routes/product-options/product-option-create/components/create-product-option-form/schema.ts +15 -0
  184. package/src/routes/product-options/product-option-create/index.ts +1 -0
  185. package/src/routes/product-options/product-option-create/product-option-create.tsx +10 -0
  186. package/src/routes/product-options/product-option-detail/breadcrumb.tsx +14 -0
  187. package/src/routes/product-options/product-option-detail/components/product-option-general-section/index.ts +1 -0
  188. package/src/routes/product-options/product-option-detail/components/product-option-general-section/product-option-general-section.tsx +81 -0
  189. package/src/routes/product-options/product-option-detail/components/product-option-product-section/index.ts +1 -0
  190. package/src/routes/product-options/product-option-detail/components/product-option-product-section/product-option-product-section.tsx +74 -0
  191. package/src/routes/product-options/product-option-detail/index.ts +3 -0
  192. package/src/routes/product-options/product-option-detail/loader.ts +17 -0
  193. package/src/routes/product-options/product-option-detail/product-option-detail.tsx +50 -0
  194. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-details.tsx +94 -0
  195. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-form.tsx +116 -0
  196. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-organize.tsx +77 -0
  197. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/index.ts +1 -0
  198. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/schema.ts +13 -0
  199. package/src/routes/product-options/product-option-edit/index.ts +1 -0
  200. package/src/routes/product-options/product-option-edit/product-option-edit.tsx +34 -0
  201. package/src/routes/product-options/product-option-list/components/product-option-list-table/index.ts +1 -0
  202. package/src/routes/product-options/product-option-list/components/product-option-list-table/product-option-list-table.tsx +131 -0
  203. package/src/routes/product-options/product-option-list/index.ts +1 -0
  204. package/src/routes/product-options/product-option-list/product-option-list.tsx +19 -0
  205. package/src/routes/product-options/product-option-metadata/index.ts +1 -0
  206. package/src/routes/product-options/product-option-metadata/product-option-metadata.tsx +27 -0
  207. package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/product-create-details-variant-section.tsx +214 -198
  208. package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +4 -7
  209. package/src/routes/products/product-create/constants.ts +1 -0
  210. package/src/routes/products/product-create/utils.ts +6 -1
  211. package/src/routes/products/product-detail/components/product-option-section/product-option-section.tsx +7 -38
  212. package/src/routes/products/product-import/helpers/import-template.ts +6 -6
  213. package/src/routes/products/product-options-manage/components/product-options-manage-form/index.ts +1 -0
  214. package/src/routes/products/product-options-manage/components/product-options-manage-form/product-options-manage-form.tsx +147 -0
  215. package/src/routes/products/product-options-manage/index.ts +1 -0
  216. package/src/routes/products/product-options-manage/product-options-manage.tsx +35 -0
  217. package/dist/product-create-option-D2636LJL.mjs +0 -145
  218. package/dist/product-edit-option-DYAFZIT2.mjs +0 -150
  219. package/src/routes/products/product-create-option/components/create-product-option-form/create-product-option-form.tsx +0 -122
  220. package/src/routes/products/product-create-option/components/create-product-option-form/index.ts +0 -1
  221. package/src/routes/products/product-create-option/index.ts +0 -1
  222. package/src/routes/products/product-create-option/product-create-option.tsx +0 -26
  223. package/src/routes/products/product-edit-option/components/edit-product-option-form/edit-product-option-form.tsx +0 -123
  224. package/src/routes/products/product-edit-option/components/edit-product-option-form/index.ts +0 -1
  225. package/src/routes/products/product-edit-option/index.ts +0 -1
  226. package/src/routes/products/product-edit-option/product-edit-option.tsx +0 -32
  227. package/dist/{chunk-ELPHCFRW.mjs → chunk-MK4E5XQX.mjs} +3 -3
  228. package/dist/{chunk-VWXNC2B5.mjs → chunk-SMDWWXCD.mjs} +3 -3
  229. package/dist/{customer-group-add-customers-57THRZ6D.mjs → customer-group-add-customers-TQAH4IPM.mjs} +3 -3
  230. package/dist/{customer-list-TE7VNBX6.mjs → customer-list-TXAB4URJ.mjs} +3 -3
  231. package/dist/{location-list-W6EHBBE5.mjs → location-list-MVIK73QC.mjs} +1 -1
  232. package/dist/{location-service-zone-shipping-option-edit-27MYKN7R.mjs → location-service-zone-shipping-option-edit-WN4MTZSB.mjs} +3 -3
  233. package/dist/{product-type-list-2ZQ2NE3R.mjs → product-type-list-J2WDYTZK.mjs} +3 -3
  234. package/dist/{region-list-W55C3CTH.mjs → region-list-KE5HCKOR.mjs} +3 -3
  235. package/dist/{return-reason-list-CBOVMQZF.mjs → return-reason-list-6UKR2BLW.mjs} +3 -3
  236. package/dist/{user-list-6EVTLPJE.mjs → user-list-73SJSKYT.mjs} +3 -3
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-ONB3JEHR.mjs";
8
8
  import {
9
9
  InfiniteList
10
- } from "./chunk-VLOA5XAC.mjs";
10
+ } from "./chunk-YCDDT44O.mjs";
11
11
  import {
12
12
  useReturnReasons
13
13
  } from "./chunk-2VTICXJR.mjs";
@@ -50,19 +50,19 @@ import {
50
50
  useNotifications,
51
51
  useProductTags,
52
52
  useVariants
53
- } from "./chunk-KXRW6JRE.mjs";
53
+ } from "./chunk-WOFUOGLO.mjs";
54
54
  import {
55
55
  useLogout
56
56
  } from "./chunk-KOSCMAIC.mjs";
57
+ import {
58
+ useApiKeys
59
+ } from "./chunk-WWQZD7WM.mjs";
57
60
  import {
58
61
  useTaxRegions
59
62
  } from "./chunk-I6E6CALJ.mjs";
60
63
  import {
61
64
  useProductTypes
62
65
  } from "./chunk-B4GODIOW.mjs";
63
- import {
64
- useApiKeys
65
- } from "./chunk-N4N4KGET.mjs";
66
66
  import {
67
67
  useShippingProfiles
68
68
  } from "./chunk-PIR2H25N.mjs";
@@ -70,16 +70,16 @@ import {
70
70
  useMe,
71
71
  useUsers
72
72
  } from "./chunk-2ZKVRTBW.mjs";
73
+ import {
74
+ useCollections
75
+ } from "./chunk-GBKLLUUX.mjs";
73
76
  import {
74
77
  usePriceLists
75
- } from "./chunk-XYHXWLTJ.mjs";
78
+ } from "./chunk-P5RVJWPK.mjs";
76
79
  import {
77
80
  useCustomerGroups,
78
81
  useCustomers
79
82
  } from "./chunk-F6PXCY3N.mjs";
80
- import {
81
- useCollections
82
- } from "./chunk-IXZVR3HG.mjs";
83
83
  import {
84
84
  useCampaigns,
85
85
  usePromotions
@@ -89,13 +89,13 @@ import {
89
89
  } from "./chunk-32IQRUVY.mjs";
90
90
  import {
91
91
  useOrders
92
- } from "./chunk-WTK7SR6S.mjs";
92
+ } from "./chunk-SBFWPL42.mjs";
93
93
  import {
94
94
  useProductCategories
95
- } from "./chunk-MQALAB34.mjs";
95
+ } from "./chunk-7PWZ5GMG.mjs";
96
96
  import {
97
97
  useSalesChannels
98
- } from "./chunk-OGAZYXOV.mjs";
98
+ } from "./chunk-NGR5XU3K.mjs";
99
99
  import {
100
100
  useStore
101
101
  } from "./chunk-V2LANK5S.mjs";
@@ -105,7 +105,7 @@ import {
105
105
  import {
106
106
  useInventoryItems,
107
107
  useProducts
108
- } from "./chunk-4BGVSXZZ.mjs";
108
+ } from "./chunk-GVPJPLE2.mjs";
109
109
  import {
110
110
  queryClient
111
111
  } from "./chunk-FXYH54JP.mjs";
@@ -9035,7 +9035,9 @@ var en_default = {
9035
9035
  unsavedChangesDescription: "You have unsaved changes that will be lost if you exit this form.",
9036
9036
  includesTaxTooltip: "Prices in this column are tax inclusive.",
9037
9037
  excludesTaxTooltip: "Prices in this column are tax exclusive.",
9038
- noMoreData: "No more data"
9038
+ noMoreData: "No more data",
9039
+ exclusive: "Exclusive",
9040
+ global: "Global"
9039
9041
  },
9040
9042
  json: {
9041
9043
  header: "JSON",
@@ -9119,7 +9121,8 @@ var en_default = {
9119
9121
  hide: "Hide",
9120
9122
  export: "Export",
9121
9123
  import: "Import",
9122
- cannotUndo: "This action cannot be undone"
9124
+ cannotUndo: "This action cannot be undone",
9125
+ manage: "Manage"
9123
9126
  },
9124
9127
  operators: {
9125
9128
  in: "In"
@@ -9426,7 +9429,8 @@ var en_default = {
9426
9429
  productOptions: {
9427
9430
  label: "Product options",
9428
9431
  hint: "Define the options for the product, e.g. color, size, etc."
9429
- }
9432
+ },
9433
+ selectValuesHint: "Select which values to use for each option"
9430
9434
  },
9431
9435
  successToast: "Product {{title}} was successfully created."
9432
9436
  },
@@ -9682,6 +9686,13 @@ var en_default = {
9682
9686
  header: "Create Option",
9683
9687
  successToast: "Option {{title}} was successfully created."
9684
9688
  },
9689
+ manage: {
9690
+ header: "Manage Product Options",
9691
+ description: "Associate or disassociate product options from this product.",
9692
+ label: "Product Options",
9693
+ hint: "Select which options should be associated to this product.",
9694
+ placeholder: "Select options"
9695
+ },
9685
9696
  deleteWarning: "You are about to delete the product option: {{title}}. This action cannot be undone."
9686
9697
  },
9687
9698
  organization: {
@@ -9818,6 +9829,41 @@ var en_default = {
9818
9829
  }
9819
9830
  }
9820
9831
  },
9832
+ productOptions: {
9833
+ domain: "Options",
9834
+ subtitle: "Manage product options and their associated values.",
9835
+ values: {
9836
+ header: "Values"
9837
+ },
9838
+ create: {
9839
+ header: "Create Product Option",
9840
+ hint: "Create a new product option and manage its values.",
9841
+ successToast: 'Product option "{{title}}" was successfully created.',
9842
+ tabs: {
9843
+ details: "Details",
9844
+ organize: "Organize"
9845
+ }
9846
+ },
9847
+ edit: {
9848
+ header: "Edit Product Option",
9849
+ description: "Edit the product option to update its details and associated values.",
9850
+ successToast: 'Product option "{{title}}" was successfully updated.'
9851
+ },
9852
+ delete: {
9853
+ confirmation: 'You are about to delete the product option "{{title}}". This action cannot be undone.',
9854
+ successToast: "Product option was successfully deleted."
9855
+ },
9856
+ fields: {
9857
+ title: {
9858
+ label: "Title",
9859
+ placeholder: "Size"
9860
+ },
9861
+ values: {
9862
+ label: "Values",
9863
+ placeholder: "S, M, L"
9864
+ }
9865
+ }
9866
+ },
9821
9867
  inventory: {
9822
9868
  domain: "Inventory",
9823
9869
  subtitle: "Manage your inventory items",
@@ -12156,7 +12202,8 @@ var en_default = {
12156
12202
  startDate: "Start date",
12157
12203
  endDate: "End date",
12158
12204
  draft: "Draft",
12159
- values: "Values"
12205
+ values: "Values",
12206
+ exclusive: "Exclusive"
12160
12207
  },
12161
12208
  dateTime: {
12162
12209
  years_one: "Year",
@@ -87845,8 +87892,8 @@ var ProtectedRoute = () => {
87845
87892
 
87846
87893
  // src/components/layout/main-layout/main-layout.tsx
87847
87894
  import {
87848
- BuildingStorefront,
87849
87895
  Buildings,
87896
+ BuildingStorefront,
87850
87897
  ChevronDownMini,
87851
87898
  CogSixTooth,
87852
87899
  CurrencyDollar,
@@ -87860,7 +87907,7 @@ import {
87860
87907
  Tag,
87861
87908
  Users
87862
87909
  } from "@medusajs/icons";
87863
- import { Avatar as Avatar2, Divider, DropdownMenu as DropdownMenu3, Text as Text5, clx as clx6 } from "@medusajs/ui";
87910
+ import { Avatar as Avatar2, clx as clx6, Divider, DropdownMenu as DropdownMenu3, Text as Text5 } from "@medusajs/ui";
87864
87911
  import { Collapsible as RadixCollapsible2 } from "radix-ui";
87865
87912
  import { useTranslation as useTranslation9 } from "react-i18next";
87866
87913
 
@@ -88760,73 +88807,67 @@ var Header = () => {
88760
88807
  if (isError) {
88761
88808
  throw error;
88762
88809
  }
88763
- return /* @__PURE__ */ jsx13("div", { className: "w-full p-3", children: /* @__PURE__ */ jsxs8(
88764
- DropdownMenu3,
88765
- {
88766
- dir: direction,
88767
- children: [
88768
- /* @__PURE__ */ jsxs8(
88769
- DropdownMenu3.Trigger,
88770
- {
88771
- disabled: !isLoaded,
88772
- className: clx6(
88773
- "bg-ui-bg-subtle transition-fg grid w-full grid-cols-[24px_1fr_15px] items-center gap-x-3 rounded-md p-0.5 pe-2 outline-none",
88774
- "hover:bg-ui-bg-subtle-hover",
88775
- "data-[state=open]:bg-ui-bg-subtle-hover",
88776
- "focus-visible:shadow-borders-focus"
88777
- ),
88778
- children: [
88779
- fallback ? /* @__PURE__ */ jsx13(Avatar2, { variant: "squared", size: "xsmall", fallback }) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-6 w-6 rounded-md" }),
88780
- /* @__PURE__ */ jsx13("div", { className: "block overflow-hidden text-start", children: name ? /* @__PURE__ */ jsx13(
88781
- Text5,
88782
- {
88783
- size: "small",
88784
- weight: "plus",
88785
- leading: "compact",
88786
- className: "truncate",
88787
- children: store.name
88788
- }
88789
- ) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-[9px] w-[120px]" }) }),
88790
- /* @__PURE__ */ jsx13(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
88791
- ]
88792
- }
88810
+ return /* @__PURE__ */ jsx13("div", { className: "w-full p-3", children: /* @__PURE__ */ jsxs8(DropdownMenu3, { dir: direction, children: [
88811
+ /* @__PURE__ */ jsxs8(
88812
+ DropdownMenu3.Trigger,
88813
+ {
88814
+ disabled: !isLoaded,
88815
+ className: clx6(
88816
+ "bg-ui-bg-subtle transition-fg grid w-full grid-cols-[24px_1fr_15px] items-center gap-x-3 rounded-md p-0.5 pe-2 outline-none",
88817
+ "hover:bg-ui-bg-subtle-hover",
88818
+ "data-[state=open]:bg-ui-bg-subtle-hover",
88819
+ "focus-visible:shadow-borders-focus"
88793
88820
  ),
88794
- isLoaded && /* @__PURE__ */ jsxs8(DropdownMenu3.Content, { className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0", children: [
88795
- /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-3 px-2 py-1", children: [
88796
- /* @__PURE__ */ jsx13(Avatar2, { variant: "squared", size: "small", fallback }),
88797
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col overflow-hidden", children: [
88798
- /* @__PURE__ */ jsx13(
88799
- Text5,
88800
- {
88801
- size: "small",
88802
- weight: "plus",
88803
- leading: "compact",
88804
- className: "truncate",
88805
- children: name
88806
- }
88807
- ),
88808
- /* @__PURE__ */ jsx13(
88809
- Text5,
88810
- {
88811
- size: "xsmall",
88812
- leading: "compact",
88813
- className: "text-ui-fg-subtle",
88814
- children: t2("app.nav.main.store")
88815
- }
88816
- )
88817
- ] })
88818
- ] }),
88819
- /* @__PURE__ */ jsx13(DropdownMenu3.Separator, {}),
88820
- /* @__PURE__ */ jsx13(DropdownMenu3.Item, { className: "gap-x-2", asChild: true, children: /* @__PURE__ */ jsxs8(Link3, { to: "/settings/store", children: [
88821
- /* @__PURE__ */ jsx13(BuildingStorefront, { className: "text-ui-fg-subtle" }),
88822
- t2("app.nav.main.storeSettings")
88823
- ] }) }),
88824
- /* @__PURE__ */ jsx13(DropdownMenu3.Separator, {}),
88825
- /* @__PURE__ */ jsx13(Logout2, {})
88821
+ children: [
88822
+ fallback ? /* @__PURE__ */ jsx13(Avatar2, { variant: "squared", size: "xsmall", fallback }) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-6 w-6 rounded-md" }),
88823
+ /* @__PURE__ */ jsx13("div", { className: "block overflow-hidden text-start", children: name ? /* @__PURE__ */ jsx13(
88824
+ Text5,
88825
+ {
88826
+ size: "small",
88827
+ weight: "plus",
88828
+ leading: "compact",
88829
+ className: "truncate",
88830
+ children: store.name
88831
+ }
88832
+ ) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-[9px] w-[120px]" }) }),
88833
+ /* @__PURE__ */ jsx13(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
88834
+ ]
88835
+ }
88836
+ ),
88837
+ isLoaded && /* @__PURE__ */ jsxs8(DropdownMenu3.Content, { className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0", children: [
88838
+ /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-3 px-2 py-1", children: [
88839
+ /* @__PURE__ */ jsx13(Avatar2, { variant: "squared", size: "small", fallback }),
88840
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col overflow-hidden", children: [
88841
+ /* @__PURE__ */ jsx13(
88842
+ Text5,
88843
+ {
88844
+ size: "small",
88845
+ weight: "plus",
88846
+ leading: "compact",
88847
+ className: "truncate",
88848
+ children: name
88849
+ }
88850
+ ),
88851
+ /* @__PURE__ */ jsx13(
88852
+ Text5,
88853
+ {
88854
+ size: "xsmall",
88855
+ leading: "compact",
88856
+ className: "text-ui-fg-subtle",
88857
+ children: t2("app.nav.main.store")
88858
+ }
88859
+ )
88826
88860
  ] })
88827
- ]
88828
- }
88829
- ) });
88861
+ ] }),
88862
+ /* @__PURE__ */ jsx13(DropdownMenu3.Separator, {}),
88863
+ /* @__PURE__ */ jsx13(DropdownMenu3.Item, { className: "gap-x-2", asChild: true, children: /* @__PURE__ */ jsxs8(Link3, { to: "/settings/store", children: [
88864
+ /* @__PURE__ */ jsx13(BuildingStorefront, { className: "text-ui-fg-subtle" }),
88865
+ t2("app.nav.main.storeSettings")
88866
+ ] }) }),
88867
+ /* @__PURE__ */ jsx13(DropdownMenu3.Separator, {}),
88868
+ /* @__PURE__ */ jsx13(Logout2, {})
88869
+ ] })
88870
+ ] }) });
88830
88871
  };
88831
88872
  var useCoreRoutes = () => {
88832
88873
  const { t: t2 } = useTranslation9();
@@ -88855,6 +88896,10 @@ var useCoreRoutes = () => {
88855
88896
  {
88856
88897
  label: t2("categories.domain"),
88857
88898
  to: "/categories"
88899
+ },
88900
+ {
88901
+ label: t2("productOptions.domain"),
88902
+ to: "/product-options"
88858
88903
  }
88859
88904
  // TODO: Enable when domin is introduced
88860
88905
  // {
@@ -89280,19 +89325,19 @@ function getRouteMap({
89280
89325
  children: [
89281
89326
  {
89282
89327
  path: "",
89283
- lazy: () => import("./product-list-E7HS4SBG.mjs"),
89328
+ lazy: () => import("./product-list-PUQEGU75.mjs"),
89284
89329
  children: [
89285
89330
  {
89286
89331
  path: "create",
89287
- lazy: () => import("./product-create-4TD7FQC7.mjs")
89332
+ lazy: () => import("./product-create-AIRCVZAE.mjs")
89288
89333
  },
89289
89334
  {
89290
89335
  path: "import",
89291
- lazy: () => import("./product-import-HDNC36SM.mjs")
89336
+ lazy: () => import("./product-import-IQJWHNYN.mjs")
89292
89337
  },
89293
89338
  {
89294
89339
  path: "export",
89295
- lazy: () => import("./product-export-X64NQWTS.mjs")
89340
+ lazy: () => import("./product-export-5EINLQDF.mjs")
89296
89341
  }
89297
89342
  ]
89298
89343
  },
@@ -89300,7 +89345,7 @@ function getRouteMap({
89300
89345
  path: ":id",
89301
89346
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
89302
89347
  lazy: async () => {
89303
- const { Breadcrumb, loader } = await import("./product-detail-J7T7MNUY.mjs");
89348
+ const { Breadcrumb, loader } = await import("./product-detail-IYMXYAPH.mjs");
89304
89349
  return {
89305
89350
  Component: Outlet4,
89306
89351
  loader,
@@ -89312,70 +89357,66 @@ function getRouteMap({
89312
89357
  children: [
89313
89358
  {
89314
89359
  path: "",
89315
- lazy: () => import("./product-detail-J7T7MNUY.mjs"),
89360
+ lazy: () => import("./product-detail-IYMXYAPH.mjs"),
89316
89361
  children: [
89317
89362
  {
89318
89363
  path: "edit",
89319
- lazy: () => import("./product-edit-MJ7VAIVY.mjs")
89364
+ lazy: () => import("./product-edit-PDGQHCQ2.mjs")
89320
89365
  },
89321
89366
  {
89322
89367
  path: "edit-variant",
89323
- lazy: () => import("./product-variant-edit-DW27AYBX.mjs")
89368
+ lazy: () => import("./product-variant-edit-J2MTJA75.mjs")
89324
89369
  },
89325
89370
  {
89326
89371
  path: "sales-channels",
89327
- lazy: () => import("./product-sales-channels-RHZQXWAY.mjs")
89372
+ lazy: () => import("./product-sales-channels-ZC5ONPG7.mjs")
89328
89373
  },
89329
89374
  {
89330
89375
  path: "attributes",
89331
- lazy: () => import("./product-attributes-3GCAY7KW.mjs")
89376
+ lazy: () => import("./product-attributes-CCQ6WAOD.mjs")
89332
89377
  },
89333
89378
  {
89334
89379
  path: "organization",
89335
- lazy: () => import("./product-organization-263TICCI.mjs")
89380
+ lazy: () => import("./product-organization-HHME5F2C.mjs")
89336
89381
  },
89337
89382
  {
89338
89383
  path: "shipping-profile",
89339
- lazy: () => import("./product-shipping-profile-GVTR3MHD.mjs")
89384
+ lazy: () => import("./product-shipping-profile-KXSBDGRD.mjs")
89340
89385
  },
89341
89386
  {
89342
89387
  path: "media",
89343
- lazy: () => import("./product-media-Z3NNTB7H.mjs")
89388
+ lazy: () => import("./product-media-Q5XFYZRS.mjs")
89344
89389
  },
89345
89390
  {
89346
89391
  path: "images/:image_id/variants",
89347
- lazy: () => import("./product-image-variants-edit-J6A5G4AC.mjs")
89392
+ lazy: () => import("./product-image-variants-edit-DDSEBG5H.mjs")
89348
89393
  },
89349
89394
  {
89350
89395
  path: "prices",
89351
- lazy: () => import("./product-prices-MCZYVPQW.mjs")
89352
- },
89353
- {
89354
- path: "options/create",
89355
- lazy: () => import("./product-create-option-D2636LJL.mjs")
89356
- },
89357
- {
89358
- path: "options/:option_id/edit",
89359
- lazy: () => import("./product-edit-option-DYAFZIT2.mjs")
89396
+ lazy: () => import("./product-prices-GVEPABHQ.mjs")
89360
89397
  },
89361
89398
  {
89362
89399
  path: "variants/create",
89363
- lazy: () => import("./product-create-variant-ZWY57BX7.mjs")
89400
+ lazy: () => import("./product-create-variant-7BD5KQHQ.mjs")
89364
89401
  },
89365
89402
  {
89366
89403
  path: "stock",
89367
- lazy: () => import("./product-stock-O2BH5R45.mjs")
89404
+ lazy: () => import("./product-stock-LXRLD7FA.mjs")
89368
89405
  },
89369
89406
  {
89370
89407
  path: "metadata/edit",
89371
- lazy: () => import("./product-metadata-LMDEXR3V.mjs")
89408
+ lazy: () => import("./product-metadata-WCKNOZXX.mjs")
89409
+ },
89410
+ {
89411
+ path: "options/manage",
89412
+ lazy: () => import("./product-options-manage-N73G5IXY.mjs")
89372
89413
  }
89373
89414
  ]
89374
89415
  },
89375
89416
  {
89376
89417
  path: "variants/:variant_id",
89377
89418
  lazy: async () => {
89378
- const { Component, Breadcrumb, loader } = await import("./product-variant-detail-3SO2MX22.mjs");
89419
+ const { Component, Breadcrumb, loader } = await import("./product-variant-detail-HOOYZSS2.mjs");
89379
89420
  return {
89380
89421
  Component,
89381
89422
  loader,
@@ -89387,23 +89428,23 @@ function getRouteMap({
89387
89428
  children: [
89388
89429
  {
89389
89430
  path: "edit",
89390
- lazy: () => import("./product-variant-edit-DW27AYBX.mjs")
89431
+ lazy: () => import("./product-variant-edit-J2MTJA75.mjs")
89391
89432
  },
89392
89433
  {
89393
89434
  path: "prices",
89394
- lazy: () => import("./product-prices-MCZYVPQW.mjs")
89435
+ lazy: () => import("./product-prices-GVEPABHQ.mjs")
89395
89436
  },
89396
89437
  {
89397
89438
  path: "manage-items",
89398
- lazy: () => import("./product-variant-manage-inventory-items-T5OB3YX3.mjs")
89439
+ lazy: () => import("./product-variant-manage-inventory-items-P4QUORRH.mjs")
89399
89440
  },
89400
89441
  {
89401
89442
  path: "media",
89402
- lazy: () => import("./product-variant-media-PHRCKUDK.mjs")
89443
+ lazy: () => import("./product-variant-media-U5RG7AOW.mjs")
89403
89444
  },
89404
89445
  {
89405
89446
  path: "metadata/edit",
89406
- lazy: () => import("./product-variant-metadata-4KJE6B2R.mjs")
89447
+ lazy: () => import("./product-variant-metadata-ZRSZO2D4.mjs")
89407
89448
  }
89408
89449
  ]
89409
89450
  }
@@ -89411,6 +89452,48 @@ function getRouteMap({
89411
89452
  }
89412
89453
  ]
89413
89454
  },
89455
+ {
89456
+ path: "/product-options",
89457
+ errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
89458
+ handle: {
89459
+ breadcrumb: () => t("productOptions.domain")
89460
+ },
89461
+ children: [
89462
+ {
89463
+ path: "",
89464
+ lazy: () => import("./product-option-list-C6ZR2WIX.mjs"),
89465
+ children: [
89466
+ {
89467
+ path: "create",
89468
+ lazy: () => import("./product-option-create-MWFWB2SU.mjs")
89469
+ }
89470
+ ]
89471
+ },
89472
+ {
89473
+ path: ":id",
89474
+ lazy: async () => {
89475
+ const { Component, Breadcrumb, loader } = await import("./product-option-detail-UKKEZPG7.mjs");
89476
+ return {
89477
+ Component,
89478
+ loader,
89479
+ handle: {
89480
+ breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
89481
+ }
89482
+ };
89483
+ },
89484
+ children: [
89485
+ {
89486
+ path: "edit",
89487
+ lazy: () => import("./product-option-edit-NHAF7B4P.mjs")
89488
+ },
89489
+ {
89490
+ path: "metadata/edit",
89491
+ lazy: () => import("./product-option-metadata-OWSGHNDC.mjs")
89492
+ }
89493
+ ]
89494
+ }
89495
+ ]
89496
+ },
89414
89497
  {
89415
89498
  path: "/categories",
89416
89499
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
@@ -89420,22 +89503,22 @@ function getRouteMap({
89420
89503
  children: [
89421
89504
  {
89422
89505
  path: "",
89423
- lazy: () => import("./category-list-MLLB5U6K.mjs"),
89506
+ lazy: () => import("./category-list-2M4BCRAL.mjs"),
89424
89507
  children: [
89425
89508
  {
89426
89509
  path: "create",
89427
- lazy: () => import("./category-create-BC2VUVKO.mjs")
89510
+ lazy: () => import("./category-create-N7PP3GWU.mjs")
89428
89511
  },
89429
89512
  {
89430
89513
  path: "organize",
89431
- lazy: () => import("./category-organize-4NXFDN2I.mjs")
89514
+ lazy: () => import("./category-organize-76I7PO24.mjs")
89432
89515
  }
89433
89516
  ]
89434
89517
  },
89435
89518
  {
89436
89519
  path: ":id",
89437
89520
  lazy: async () => {
89438
- const { Component, Breadcrumb, loader } = await import("./category-detail-D4PYJJGJ.mjs");
89521
+ const { Component, Breadcrumb, loader } = await import("./category-detail-DKY37LPO.mjs");
89439
89522
  return {
89440
89523
  Component,
89441
89524
  loader,
@@ -89447,19 +89530,19 @@ function getRouteMap({
89447
89530
  children: [
89448
89531
  {
89449
89532
  path: "edit",
89450
- lazy: () => import("./category-edit-U5Y5KJ2Y.mjs")
89533
+ lazy: () => import("./category-edit-IFDQP7EZ.mjs")
89451
89534
  },
89452
89535
  {
89453
89536
  path: "products",
89454
- lazy: () => import("./category-products-K5INZSSV.mjs")
89537
+ lazy: () => import("./category-products-VVRGW25X.mjs")
89455
89538
  },
89456
89539
  {
89457
89540
  path: "organize",
89458
- lazy: () => import("./category-organize-4NXFDN2I.mjs")
89541
+ lazy: () => import("./category-organize-76I7PO24.mjs")
89459
89542
  },
89460
89543
  {
89461
89544
  path: "metadata/edit",
89462
- lazy: () => import("./categories-metadata-2HM7G27P.mjs")
89545
+ lazy: () => import("./categories-metadata-ZEYU33GV.mjs")
89463
89546
  }
89464
89547
  ]
89465
89548
  }
@@ -89474,12 +89557,12 @@ function getRouteMap({
89474
89557
  children: [
89475
89558
  {
89476
89559
  path: "",
89477
- lazy: () => import("./order-list-4N3OV2PU.mjs")
89560
+ lazy: () => import("./order-list-INSYF52F.mjs")
89478
89561
  },
89479
89562
  {
89480
89563
  path: ":id",
89481
89564
  lazy: async () => {
89482
- const { Component, Breadcrumb, loader } = await import("./order-detail-IFXJNVTV.mjs");
89565
+ const { Component, Breadcrumb, loader } = await import("./order-detail-VVOZ6E2R.mjs");
89483
89566
  return {
89484
89567
  Component,
89485
89568
  loader,
@@ -89491,59 +89574,59 @@ function getRouteMap({
89491
89574
  children: [
89492
89575
  {
89493
89576
  path: "fulfillment",
89494
- lazy: () => import("./order-create-fulfillment-VTICR6OE.mjs")
89577
+ lazy: () => import("./order-create-fulfillment-NFGPDCBV.mjs")
89495
89578
  },
89496
89579
  {
89497
89580
  path: "returns/:return_id/receive",
89498
- lazy: () => import("./order-receive-return-E6BGSZVL.mjs")
89581
+ lazy: () => import("./order-receive-return-IWHR3EBF.mjs")
89499
89582
  },
89500
89583
  {
89501
89584
  path: "allocate-items",
89502
- lazy: () => import("./order-allocate-items-MZ7Y4FU4.mjs")
89585
+ lazy: () => import("./order-allocate-items-NU65ZXHE.mjs")
89503
89586
  },
89504
89587
  {
89505
89588
  path: ":f_id/create-shipment",
89506
- lazy: () => import("./order-create-shipment-2KNYEHSU.mjs")
89589
+ lazy: () => import("./order-create-shipment-RDYWCG3A.mjs")
89507
89590
  },
89508
89591
  {
89509
89592
  path: "returns",
89510
- lazy: () => import("./order-create-return-AYWH3WMR.mjs")
89593
+ lazy: () => import("./order-create-return-RLXYVZLO.mjs")
89511
89594
  },
89512
89595
  {
89513
89596
  path: "claims",
89514
- lazy: () => import("./order-create-claim-VFFKHCI6.mjs")
89597
+ lazy: () => import("./order-create-claim-LTE2E75R.mjs")
89515
89598
  },
89516
89599
  {
89517
89600
  path: "exchanges",
89518
- lazy: () => import("./order-create-exchange-CXQ5ZM3Q.mjs")
89601
+ lazy: () => import("./order-create-exchange-FVSBZI7P.mjs")
89519
89602
  },
89520
89603
  {
89521
89604
  path: "edits",
89522
- lazy: () => import("./order-create-edit-7TFUOMST.mjs")
89605
+ lazy: () => import("./order-create-edit-TPU3CKUU.mjs")
89523
89606
  },
89524
89607
  {
89525
89608
  path: "refund",
89526
- lazy: () => import("./order-create-refund-RWDVIXPV.mjs")
89609
+ lazy: () => import("./order-create-refund-DC7C3R4Y.mjs")
89527
89610
  },
89528
89611
  {
89529
89612
  path: "transfer",
89530
- lazy: () => import("./order-request-transfer-7IIDQ37I.mjs")
89613
+ lazy: () => import("./order-request-transfer-65R4A7HS.mjs")
89531
89614
  },
89532
89615
  {
89533
89616
  path: "email",
89534
- lazy: () => import("./order-edit-email-SLUOGWRO.mjs")
89617
+ lazy: () => import("./order-edit-email-4U5C6UKX.mjs")
89535
89618
  },
89536
89619
  {
89537
89620
  path: "shipping-address",
89538
- lazy: () => import("./order-edit-shipping-address-YUES5K5Q.mjs")
89621
+ lazy: () => import("./order-edit-shipping-address-6IQC2CVP.mjs")
89539
89622
  },
89540
89623
  {
89541
89624
  path: "billing-address",
89542
- lazy: () => import("./order-edit-billing-address-T6BIIRAX.mjs")
89625
+ lazy: () => import("./order-edit-billing-address-LV7453CS.mjs")
89543
89626
  },
89544
89627
  {
89545
89628
  path: "metadata/edit",
89546
- lazy: () => import("./order-metadata-HS33MC6S.mjs")
89629
+ lazy: () => import("./order-metadata-EEV4IWOM.mjs")
89547
89630
  }
89548
89631
  ]
89549
89632
  }
@@ -89562,12 +89645,12 @@ function getRouteMap({
89562
89645
  },
89563
89646
  {
89564
89647
  path: "create",
89565
- lazy: () => import("./promotion-create-F27AOTVZ.mjs")
89648
+ lazy: () => import("./promotion-create-2E4EF4SP.mjs")
89566
89649
  },
89567
89650
  {
89568
89651
  path: ":id",
89569
89652
  lazy: async () => {
89570
- const { Component, Breadcrumb, loader } = await import("./promotion-detail-ZDINJASC.mjs");
89653
+ const { Component, Breadcrumb, loader } = await import("./promotion-detail-P2BHIQDG.mjs");
89571
89654
  return {
89572
89655
  Component,
89573
89656
  loader,
@@ -89587,7 +89670,7 @@ function getRouteMap({
89587
89670
  },
89588
89671
  {
89589
89672
  path: ":ruleType/edit",
89590
- lazy: () => import("./edit-rules-KV43O773.mjs")
89673
+ lazy: () => import("./edit-rules-IE77WUXD.mjs")
89591
89674
  }
89592
89675
  ]
89593
89676
  }
@@ -89607,12 +89690,12 @@ function getRouteMap({
89607
89690
  },
89608
89691
  {
89609
89692
  path: "create",
89610
- lazy: () => import("./campaign-create-GD2D45NX.mjs")
89693
+ lazy: () => import("./campaign-create-NEKUWDGF.mjs")
89611
89694
  },
89612
89695
  {
89613
89696
  path: ":id",
89614
89697
  lazy: async () => {
89615
- const { Component, Breadcrumb, loader } = await import("./campaign-detail-IKHUALTL.mjs");
89698
+ const { Component, Breadcrumb, loader } = await import("./campaign-detail-2H2W4W5B.mjs");
89616
89699
  return {
89617
89700
  Component,
89618
89701
  loader,
@@ -89651,18 +89734,18 @@ function getRouteMap({
89651
89734
  children: [
89652
89735
  {
89653
89736
  path: "",
89654
- lazy: () => import("./collection-list-DAW7WOX5.mjs"),
89737
+ lazy: () => import("./collection-list-6UJNE2QB.mjs"),
89655
89738
  children: [
89656
89739
  {
89657
89740
  path: "create",
89658
- lazy: () => import("./collection-create-CUZFWEOB.mjs")
89741
+ lazy: () => import("./collection-create-45RYGDW7.mjs")
89659
89742
  }
89660
89743
  ]
89661
89744
  },
89662
89745
  {
89663
89746
  path: ":id",
89664
89747
  lazy: async () => {
89665
- const { Component, Breadcrumb, loader } = await import("./collection-detail-B33WPVIW.mjs");
89748
+ const { Component, Breadcrumb, loader } = await import("./collection-detail-OLC6DMBZ.mjs");
89666
89749
  return {
89667
89750
  Component,
89668
89751
  loader,
@@ -89674,15 +89757,15 @@ function getRouteMap({
89674
89757
  children: [
89675
89758
  {
89676
89759
  path: "edit",
89677
- lazy: () => import("./collection-edit-22I7EEJG.mjs")
89760
+ lazy: () => import("./collection-edit-YBPBHLLZ.mjs")
89678
89761
  },
89679
89762
  {
89680
89763
  path: "products",
89681
- lazy: () => import("./collection-add-products-TWIDVZMU.mjs")
89764
+ lazy: () => import("./collection-add-products-QCSFXELK.mjs")
89682
89765
  },
89683
89766
  {
89684
89767
  path: "metadata/edit",
89685
- lazy: () => import("./collection-metadata-ZUFYY4OU.mjs")
89768
+ lazy: () => import("./collection-metadata-QG55V5ZM.mjs")
89686
89769
  }
89687
89770
  ]
89688
89771
  }
@@ -89697,18 +89780,18 @@ function getRouteMap({
89697
89780
  children: [
89698
89781
  {
89699
89782
  path: "",
89700
- lazy: () => import("./price-list-list-TKXSU27S.mjs"),
89783
+ lazy: () => import("./price-list-list-QQKZEFSU.mjs"),
89701
89784
  children: [
89702
89785
  {
89703
89786
  path: "create",
89704
- lazy: () => import("./price-list-create-VFQVCUWV.mjs")
89787
+ lazy: () => import("./price-list-create-5GIMBRG2.mjs")
89705
89788
  }
89706
89789
  ]
89707
89790
  },
89708
89791
  {
89709
89792
  path: ":id",
89710
89793
  lazy: async () => {
89711
- const { Component, Breadcrumb, loader } = await import("./price-list-detail-32UKOWNW.mjs");
89794
+ const { Component, Breadcrumb, loader } = await import("./price-list-detail-7AL2EBRL.mjs");
89712
89795
  return {
89713
89796
  Component,
89714
89797
  loader,
@@ -89720,19 +89803,19 @@ function getRouteMap({
89720
89803
  children: [
89721
89804
  {
89722
89805
  path: "edit",
89723
- lazy: () => import("./price-list-edit-GXDLVOU4.mjs")
89806
+ lazy: () => import("./price-list-edit-DHG5STG4.mjs")
89724
89807
  },
89725
89808
  {
89726
89809
  path: "configuration",
89727
- lazy: () => import("./price-list-configuration-4XY4JW4I.mjs")
89810
+ lazy: () => import("./price-list-configuration-L5XYCVP2.mjs")
89728
89811
  },
89729
89812
  {
89730
89813
  path: "products/add",
89731
- lazy: () => import("./price-list-prices-add-AY75YZ7D.mjs")
89814
+ lazy: () => import("./price-list-prices-add-2OO4QEZB.mjs")
89732
89815
  },
89733
89816
  {
89734
89817
  path: "products/edit",
89735
- lazy: () => import("./price-list-prices-edit-J7HCNDTO.mjs")
89818
+ lazy: () => import("./price-list-prices-edit-2FB25KWU.mjs")
89736
89819
  }
89737
89820
  ]
89738
89821
  }
@@ -89747,7 +89830,7 @@ function getRouteMap({
89747
89830
  children: [
89748
89831
  {
89749
89832
  path: "",
89750
- lazy: () => import("./customer-list-TE7VNBX6.mjs"),
89833
+ lazy: () => import("./customer-list-TXAB4URJ.mjs"),
89751
89834
  children: [
89752
89835
  {
89753
89836
  path: "create",
@@ -89758,7 +89841,7 @@ function getRouteMap({
89758
89841
  {
89759
89842
  path: ":id",
89760
89843
  lazy: async () => {
89761
- const { Component, Breadcrumb, loader } = await import("./customer-detail-ATJGSJTH.mjs");
89844
+ const { Component, Breadcrumb, loader } = await import("./customer-detail-XOCZDUJL.mjs");
89762
89845
  return {
89763
89846
  Component,
89764
89847
  loader,
@@ -89778,11 +89861,11 @@ function getRouteMap({
89778
89861
  },
89779
89862
  {
89780
89863
  path: "add-customer-groups",
89781
- lazy: () => import("./customers-add-customer-group-XNPZ47LK.mjs")
89864
+ lazy: () => import("./customers-add-customer-group-EYZMFVBS.mjs")
89782
89865
  },
89783
89866
  {
89784
89867
  path: ":order_id/transfer",
89785
- lazy: () => import("./order-request-transfer-7IIDQ37I.mjs")
89868
+ lazy: () => import("./order-request-transfer-65R4A7HS.mjs")
89786
89869
  },
89787
89870
  {
89788
89871
  path: "metadata/edit",
@@ -89801,7 +89884,7 @@ function getRouteMap({
89801
89884
  children: [
89802
89885
  {
89803
89886
  path: "",
89804
- lazy: () => import("./customer-group-list-SADXXHAE.mjs"),
89887
+ lazy: () => import("./customer-group-list-NFXAELFY.mjs"),
89805
89888
  children: [
89806
89889
  {
89807
89890
  path: "create",
@@ -89812,7 +89895,7 @@ function getRouteMap({
89812
89895
  {
89813
89896
  path: ":id",
89814
89897
  lazy: async () => {
89815
- const { Component, Breadcrumb, loader } = await import("./customer-group-detail-OVZIWNPP.mjs");
89898
+ const { Component, Breadcrumb, loader } = await import("./customer-group-detail-EWSDTVTQ.mjs");
89816
89899
  return {
89817
89900
  Component,
89818
89901
  loader,
@@ -89828,7 +89911,7 @@ function getRouteMap({
89828
89911
  },
89829
89912
  {
89830
89913
  path: "add-customers",
89831
- lazy: () => import("./customer-group-add-customers-57THRZ6D.mjs")
89914
+ lazy: () => import("./customer-group-add-customers-TQAH4IPM.mjs")
89832
89915
  },
89833
89916
  {
89834
89917
  path: "metadata/edit",
@@ -89847,18 +89930,18 @@ function getRouteMap({
89847
89930
  children: [
89848
89931
  {
89849
89932
  path: "",
89850
- lazy: () => import("./reservation-list-IEUC3KXK.mjs"),
89933
+ lazy: () => import("./reservation-list-VY44QEH6.mjs"),
89851
89934
  children: [
89852
89935
  {
89853
89936
  path: "create",
89854
- lazy: () => import("./reservation-create-YZMZ6HSS.mjs")
89937
+ lazy: () => import("./reservation-create-4R2XEEZU.mjs")
89855
89938
  }
89856
89939
  ]
89857
89940
  },
89858
89941
  {
89859
89942
  path: ":id",
89860
89943
  lazy: async () => {
89861
- const { Component, Breadcrumb, loader } = await import("./reservation-detail-6MCBQZAE.mjs");
89944
+ const { Component, Breadcrumb, loader } = await import("./reservation-detail-7OYGNK4L.mjs");
89862
89945
  return {
89863
89946
  Component,
89864
89947
  loader,
@@ -89870,11 +89953,11 @@ function getRouteMap({
89870
89953
  children: [
89871
89954
  {
89872
89955
  path: "edit",
89873
- lazy: () => import("./edit-reservation-WMLAFMYU.mjs")
89956
+ lazy: () => import("./edit-reservation-Z5TFZERY.mjs")
89874
89957
  },
89875
89958
  {
89876
89959
  path: "metadata/edit",
89877
- lazy: () => import("./reservation-metadata-IQNJPNAX.mjs")
89960
+ lazy: () => import("./reservation-metadata-VJIAGIMF.mjs")
89878
89961
  }
89879
89962
  ]
89880
89963
  }
@@ -89889,22 +89972,22 @@ function getRouteMap({
89889
89972
  children: [
89890
89973
  {
89891
89974
  path: "",
89892
- lazy: () => import("./inventory-list-I7IXI4KC.mjs"),
89975
+ lazy: () => import("./inventory-list-5ROSUTXF.mjs"),
89893
89976
  children: [
89894
89977
  {
89895
89978
  path: "create",
89896
- lazy: () => import("./inventory-create-NW5WSPBV.mjs")
89979
+ lazy: () => import("./inventory-create-HQ5XLKOJ.mjs")
89897
89980
  },
89898
89981
  {
89899
89982
  path: "stock",
89900
- lazy: () => import("./inventory-stock-VTIDGTOY.mjs")
89983
+ lazy: () => import("./inventory-stock-5VIUWKTQ.mjs")
89901
89984
  }
89902
89985
  ]
89903
89986
  },
89904
89987
  {
89905
89988
  path: ":id",
89906
89989
  lazy: async () => {
89907
- const { Component, Breadcrumb, loader } = await import("./inventory-detail-I2CNJC6Y.mjs");
89990
+ const { Component, Breadcrumb, loader } = await import("./inventory-detail-DAINM7WP.mjs");
89908
89991
  return {
89909
89992
  Component,
89910
89993
  loader,
@@ -89916,23 +89999,23 @@ function getRouteMap({
89916
89999
  children: [
89917
90000
  {
89918
90001
  path: "edit",
89919
- lazy: () => import("./edit-inventory-item-5RPZHCM7.mjs")
90002
+ lazy: () => import("./edit-inventory-item-TFJL5H5X.mjs")
89920
90003
  },
89921
90004
  {
89922
90005
  path: "attributes",
89923
- lazy: () => import("./edit-inventory-item-attributes-R73ZTBYG.mjs")
90006
+ lazy: () => import("./edit-inventory-item-attributes-O3K7OB56.mjs")
89924
90007
  },
89925
90008
  {
89926
90009
  path: "metadata/edit",
89927
- lazy: () => import("./inventory-metadata-7XR4ON7G.mjs")
90010
+ lazy: () => import("./inventory-metadata-HUL56OD2.mjs")
89928
90011
  },
89929
90012
  {
89930
90013
  path: "locations",
89931
- lazy: () => import("./manage-locations-ZRCDYW5V.mjs")
90014
+ lazy: () => import("./manage-locations-OHDFBORX.mjs")
89932
90015
  },
89933
90016
  {
89934
90017
  path: "locations/:location_id",
89935
- lazy: () => import("./adjust-inventory-7EWRE2HD.mjs")
90018
+ lazy: () => import("./adjust-inventory-MEJEPP4Y.mjs")
89936
90019
  }
89937
90020
  ]
89938
90021
  }
@@ -89983,7 +90066,7 @@ function getRouteMap({
89983
90066
  children: [
89984
90067
  {
89985
90068
  path: "",
89986
- lazy: () => import("./region-list-W55C3CTH.mjs"),
90069
+ lazy: () => import("./region-list-KE5HCKOR.mjs"),
89987
90070
  children: [
89988
90071
  {
89989
90072
  path: "create",
@@ -90014,7 +90097,7 @@ function getRouteMap({
90014
90097
  },
90015
90098
  {
90016
90099
  path: "metadata/edit",
90017
- lazy: () => import("./region-metadata-CRAHVHOC.mjs")
90100
+ lazy: () => import("./region-metadata-RLZSQNGW.mjs")
90018
90101
  }
90019
90102
  ]
90020
90103
  }
@@ -90023,7 +90106,7 @@ function getRouteMap({
90023
90106
  {
90024
90107
  path: "store",
90025
90108
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
90026
- lazy: () => import("./store-detail-3ZV7FCPV.mjs"),
90109
+ lazy: () => import("./store-detail-3Z3BK2BH.mjs"),
90027
90110
  handle: {
90028
90111
  breadcrumb: () => t("store.domain")
90029
90112
  },
@@ -90038,7 +90121,7 @@ function getRouteMap({
90038
90121
  },
90039
90122
  {
90040
90123
  path: "metadata/edit",
90041
- lazy: () => import("./store-metadata-LMRFCZ3J.mjs")
90124
+ lazy: () => import("./store-metadata-FESGAO7E.mjs")
90042
90125
  }
90043
90126
  ]
90044
90127
  },
@@ -90052,7 +90135,7 @@ function getRouteMap({
90052
90135
  children: [
90053
90136
  {
90054
90137
  path: "",
90055
- lazy: () => import("./user-list-6EVTLPJE.mjs"),
90138
+ lazy: () => import("./user-list-73SJSKYT.mjs"),
90056
90139
  children: [
90057
90140
  {
90058
90141
  path: "invite",
@@ -90063,7 +90146,7 @@ function getRouteMap({
90063
90146
  {
90064
90147
  path: ":id",
90065
90148
  lazy: async () => {
90066
- const { Component, Breadcrumb, loader } = await import("./user-detail-DFZPKHG2.mjs");
90149
+ const { Component, Breadcrumb, loader } = await import("./user-detail-YTVBPRH5.mjs");
90067
90150
  return {
90068
90151
  Component,
90069
90152
  loader,
@@ -90079,7 +90162,7 @@ function getRouteMap({
90079
90162
  },
90080
90163
  {
90081
90164
  path: "metadata/edit",
90082
- lazy: () => import("./user-metadata-BQKW4WAU.mjs")
90165
+ lazy: () => import("./user-metadata-33W3JSHN.mjs")
90083
90166
  }
90084
90167
  ]
90085
90168
  }
@@ -90095,18 +90178,18 @@ function getRouteMap({
90095
90178
  children: [
90096
90179
  {
90097
90180
  path: "",
90098
- lazy: () => import("./sales-channel-list-SI7JVBOI.mjs"),
90181
+ lazy: () => import("./sales-channel-list-JKZ6TIY7.mjs"),
90099
90182
  children: [
90100
90183
  {
90101
90184
  path: "create",
90102
- lazy: () => import("./sales-channel-create-7ISLGNGC.mjs")
90185
+ lazy: () => import("./sales-channel-create-I6ME6QBM.mjs")
90103
90186
  }
90104
90187
  ]
90105
90188
  },
90106
90189
  {
90107
90190
  path: ":id",
90108
90191
  lazy: async () => {
90109
- const { Component, Breadcrumb, loader } = await import("./sales-channel-detail-TKVVIAS5.mjs");
90192
+ const { Component, Breadcrumb, loader } = await import("./sales-channel-detail-5SXDKP6P.mjs");
90110
90193
  return {
90111
90194
  Component,
90112
90195
  loader,
@@ -90118,15 +90201,15 @@ function getRouteMap({
90118
90201
  children: [
90119
90202
  {
90120
90203
  path: "edit",
90121
- lazy: () => import("./sales-channel-edit-2PEHGAWF.mjs")
90204
+ lazy: () => import("./sales-channel-edit-O7GM2B6O.mjs")
90122
90205
  },
90123
90206
  {
90124
90207
  path: "add-products",
90125
- lazy: () => import("./sales-channel-add-products-7RKUDBXN.mjs")
90208
+ lazy: () => import("./sales-channel-add-products-KAUMNKMD.mjs")
90126
90209
  },
90127
90210
  {
90128
90211
  path: "metadata/edit",
90129
- lazy: () => import("./sales-channel-metadata-ZOCPAIGM.mjs")
90212
+ lazy: () => import("./sales-channel-metadata-33P5SKDI.mjs")
90130
90213
  }
90131
90214
  ]
90132
90215
  }
@@ -90142,7 +90225,7 @@ function getRouteMap({
90142
90225
  children: [
90143
90226
  {
90144
90227
  path: "",
90145
- lazy: () => import("./location-list-W6EHBBE5.mjs")
90228
+ lazy: () => import("./location-list-MVIK73QC.mjs")
90146
90229
  },
90147
90230
  {
90148
90231
  path: "create",
@@ -90180,7 +90263,7 @@ function getRouteMap({
90180
90263
  children: [
90181
90264
  {
90182
90265
  path: "metadata/edit",
90183
- lazy: () => import("./shipping-profile-metadata-A33XKBQN.mjs")
90266
+ lazy: () => import("./shipping-profile-metadata-K34DAKGY.mjs")
90184
90267
  }
90185
90268
  ]
90186
90269
  }
@@ -90196,18 +90279,18 @@ function getRouteMap({
90196
90279
  children: [
90197
90280
  {
90198
90281
  path: "",
90199
- lazy: () => import("./shipping-option-type-list-YPCCUVFZ.mjs"),
90282
+ lazy: () => import("./shipping-option-type-list-XCQNWDDA.mjs"),
90200
90283
  children: [
90201
90284
  {
90202
90285
  path: "create",
90203
- lazy: () => import("./shipping-option-type-create-YR2QV2OG.mjs")
90286
+ lazy: () => import("./shipping-option-type-create-KVYNWD2Q.mjs")
90204
90287
  }
90205
90288
  ]
90206
90289
  },
90207
90290
  {
90208
90291
  path: ":id",
90209
90292
  lazy: async () => {
90210
- const { Component, Breadcrumb, loader } = await import("./shipping-option-type-detail-TYHGCV2X.mjs");
90293
+ const { Component, Breadcrumb, loader } = await import("./shipping-option-type-detail-YX3HMXNI.mjs");
90211
90294
  return {
90212
90295
  Component,
90213
90296
  loader,
@@ -90219,7 +90302,7 @@ function getRouteMap({
90219
90302
  children: [
90220
90303
  {
90221
90304
  path: "edit",
90222
- lazy: () => import("./shipping-option-type-edit-6KL3MHVT.mjs")
90305
+ lazy: () => import("./shipping-option-type-edit-ODXQMHYJ.mjs")
90223
90306
  }
90224
90307
  ]
90225
90308
  }
@@ -90228,7 +90311,7 @@ function getRouteMap({
90228
90311
  {
90229
90312
  path: ":location_id",
90230
90313
  lazy: async () => {
90231
- const { Component, Breadcrumb, loader } = await import("./location-detail-WZM4EXFM.mjs");
90314
+ const { Component, Breadcrumb, loader } = await import("./location-detail-QMLCFID5.mjs");
90232
90315
  return {
90233
90316
  Component,
90234
90317
  loader,
@@ -90244,11 +90327,11 @@ function getRouteMap({
90244
90327
  },
90245
90328
  {
90246
90329
  path: "sales-channels",
90247
- lazy: () => import("./location-sales-channels-J3V26P3Q.mjs")
90330
+ lazy: () => import("./location-sales-channels-D37LXTKQ.mjs")
90248
90331
  },
90249
90332
  {
90250
90333
  path: "fulfillment-providers",
90251
- lazy: () => import("./location-fulfillment-providers-F7MMM5KC.mjs")
90334
+ lazy: () => import("./location-fulfillment-providers-NAFFMP3P.mjs")
90252
90335
  },
90253
90336
  {
90254
90337
  path: "fulfillment-set/:fset_id",
@@ -90273,14 +90356,14 @@ function getRouteMap({
90273
90356
  children: [
90274
90357
  {
90275
90358
  path: "create",
90276
- lazy: () => import("./location-service-zone-shipping-option-create-F3EQW67U.mjs")
90359
+ lazy: () => import("./location-service-zone-shipping-option-create-VM4TEJHY.mjs")
90277
90360
  },
90278
90361
  {
90279
90362
  path: ":so_id",
90280
90363
  children: [
90281
90364
  {
90282
90365
  path: "edit",
90283
- lazy: () => import("./location-service-zone-shipping-option-edit-27MYKN7R.mjs")
90366
+ lazy: () => import("./location-service-zone-shipping-option-edit-WN4MTZSB.mjs")
90284
90367
  },
90285
90368
  {
90286
90369
  path: "pricing",
@@ -90308,18 +90391,18 @@ function getRouteMap({
90308
90391
  children: [
90309
90392
  {
90310
90393
  path: "",
90311
- lazy: () => import("./product-tag-list-VNROS2W3.mjs"),
90394
+ lazy: () => import("./product-tag-list-B2UX2OHB.mjs"),
90312
90395
  children: [
90313
90396
  {
90314
90397
  path: "create",
90315
- lazy: () => import("./product-tag-create-GOJTE5XA.mjs")
90398
+ lazy: () => import("./product-tag-create-RAJEWM5O.mjs")
90316
90399
  }
90317
90400
  ]
90318
90401
  },
90319
90402
  {
90320
90403
  path: ":id",
90321
90404
  lazy: async () => {
90322
- const { Component, Breadcrumb, loader } = await import("./product-tag-detail-CK5F4DU3.mjs");
90405
+ const { Component, Breadcrumb, loader } = await import("./product-tag-detail-EOW2GMOL.mjs");
90323
90406
  return {
90324
90407
  Component,
90325
90408
  loader,
@@ -90331,11 +90414,11 @@ function getRouteMap({
90331
90414
  children: [
90332
90415
  {
90333
90416
  path: "edit",
90334
- lazy: () => import("./product-tag-edit-IT4GHLSO.mjs")
90417
+ lazy: () => import("./product-tag-edit-ZOO56XMF.mjs")
90335
90418
  },
90336
90419
  {
90337
90420
  path: "metadata/edit",
90338
- lazy: () => import("./product-tag-metadata-QV2BOGP2.mjs")
90421
+ lazy: () => import("./product-tag-metadata-OZB7SVDN.mjs")
90339
90422
  }
90340
90423
  ]
90341
90424
  }
@@ -90356,7 +90439,7 @@ function getRouteMap({
90356
90439
  {
90357
90440
  path: ":id",
90358
90441
  lazy: async () => {
90359
- const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-D5QUZFTV.mjs");
90442
+ const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-SHEXD5OL.mjs");
90360
90443
  return {
90361
90444
  Component,
90362
90445
  loader,
@@ -90378,7 +90461,7 @@ function getRouteMap({
90378
90461
  children: [
90379
90462
  {
90380
90463
  path: "",
90381
- lazy: () => import("./product-type-list-2ZQ2NE3R.mjs"),
90464
+ lazy: () => import("./product-type-list-J2WDYTZK.mjs"),
90382
90465
  children: [
90383
90466
  {
90384
90467
  path: "create",
@@ -90389,7 +90472,7 @@ function getRouteMap({
90389
90472
  {
90390
90473
  path: ":id",
90391
90474
  lazy: async () => {
90392
- const { Component, Breadcrumb, loader } = await import("./product-type-detail-7K5RLART.mjs");
90475
+ const { Component, Breadcrumb, loader } = await import("./product-type-detail-4YZUC6ZS.mjs");
90393
90476
  return {
90394
90477
  Component,
90395
90478
  loader,
@@ -90405,7 +90488,7 @@ function getRouteMap({
90405
90488
  },
90406
90489
  {
90407
90490
  path: "metadata/edit",
90408
- lazy: () => import("./product-type-metadata-5TDBJGNQ.mjs")
90491
+ lazy: () => import("./product-type-metadata-6QT47ZSR.mjs")
90409
90492
  }
90410
90493
  ]
90411
90494
  }
@@ -90424,11 +90507,11 @@ function getRouteMap({
90424
90507
  children: [
90425
90508
  {
90426
90509
  path: "",
90427
- lazy: () => import("./api-key-management-list-22GXXJUC.mjs"),
90510
+ lazy: () => import("./api-key-management-list-6YG52LWY.mjs"),
90428
90511
  children: [
90429
90512
  {
90430
90513
  path: "create",
90431
- lazy: () => import("./api-key-management-create-SPLD3JMO.mjs")
90514
+ lazy: () => import("./api-key-management-create-4OZWVOSF.mjs")
90432
90515
  }
90433
90516
  ]
90434
90517
  }
@@ -90437,7 +90520,7 @@ function getRouteMap({
90437
90520
  {
90438
90521
  path: ":id",
90439
90522
  lazy: async () => {
90440
- const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-MFQTHUN6.mjs");
90523
+ const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-K3A3T6ET.mjs");
90441
90524
  return {
90442
90525
  Component,
90443
90526
  loader,
@@ -90449,11 +90532,11 @@ function getRouteMap({
90449
90532
  children: [
90450
90533
  {
90451
90534
  path: "edit",
90452
- lazy: () => import("./api-key-management-edit-2VPL7PHB.mjs")
90535
+ lazy: () => import("./api-key-management-edit-FYLVVQOA.mjs")
90453
90536
  },
90454
90537
  {
90455
90538
  path: "sales-channels",
90456
- lazy: () => import("./api-key-management-sales-channels-MV6FMA4C.mjs")
90539
+ lazy: () => import("./api-key-management-sales-channels-S5IFH7LP.mjs")
90457
90540
  }
90458
90541
  ]
90459
90542
  }
@@ -90472,11 +90555,11 @@ function getRouteMap({
90472
90555
  children: [
90473
90556
  {
90474
90557
  path: "",
90475
- lazy: () => import("./api-key-management-list-22GXXJUC.mjs"),
90558
+ lazy: () => import("./api-key-management-list-6YG52LWY.mjs"),
90476
90559
  children: [
90477
90560
  {
90478
90561
  path: "create",
90479
- lazy: () => import("./api-key-management-create-SPLD3JMO.mjs")
90562
+ lazy: () => import("./api-key-management-create-4OZWVOSF.mjs")
90480
90563
  }
90481
90564
  ]
90482
90565
  }
@@ -90485,7 +90568,7 @@ function getRouteMap({
90485
90568
  {
90486
90569
  path: ":id",
90487
90570
  lazy: async () => {
90488
- const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-MFQTHUN6.mjs");
90571
+ const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-K3A3T6ET.mjs");
90489
90572
  return {
90490
90573
  Component,
90491
90574
  loader,
@@ -90497,7 +90580,7 @@ function getRouteMap({
90497
90580
  children: [
90498
90581
  {
90499
90582
  path: "edit",
90500
- lazy: () => import("./api-key-management-edit-2VPL7PHB.mjs")
90583
+ lazy: () => import("./api-key-management-edit-FYLVVQOA.mjs")
90501
90584
  }
90502
90585
  ]
90503
90586
  }
@@ -90516,7 +90599,7 @@ function getRouteMap({
90516
90599
  children: [
90517
90600
  {
90518
90601
  path: "create",
90519
- lazy: () => import("./tax-region-create-5Y6EA7XE.mjs")
90602
+ lazy: () => import("./tax-region-create-EVFVC6HN.mjs")
90520
90603
  }
90521
90604
  ]
90522
90605
  },
@@ -90531,7 +90614,7 @@ function getRouteMap({
90531
90614
  {
90532
90615
  path: "",
90533
90616
  lazy: async () => {
90534
- const { Component } = await import("./tax-region-detail-TTYUBJ3V.mjs");
90617
+ const { Component } = await import("./tax-region-detail-ULHK52CD.mjs");
90535
90618
  return {
90536
90619
  Component
90537
90620
  };
@@ -90539,7 +90622,7 @@ function getRouteMap({
90539
90622
  children: [
90540
90623
  {
90541
90624
  path: "edit",
90542
- lazy: () => import("./tax-region-edit-IKEWHRUK.mjs")
90625
+ lazy: () => import("./tax-region-edit-CXEPD2F2.mjs")
90543
90626
  },
90544
90627
  {
90545
90628
  path: "provinces/create",
@@ -90547,11 +90630,11 @@ function getRouteMap({
90547
90630
  },
90548
90631
  {
90549
90632
  path: "overrides/create",
90550
- lazy: () => import("./tax-region-tax-override-create-R3PNDP43.mjs")
90633
+ lazy: () => import("./tax-region-tax-override-create-WWZZVAG5.mjs")
90551
90634
  },
90552
90635
  {
90553
90636
  path: "overrides/:tax_rate_id/edit",
90554
- lazy: () => import("./tax-region-tax-override-edit-QLD7MIQY.mjs")
90637
+ lazy: () => import("./tax-region-tax-override-edit-HVZRD44G.mjs")
90555
90638
  },
90556
90639
  {
90557
90640
  path: "tax-rates/create",
@@ -90566,7 +90649,7 @@ function getRouteMap({
90566
90649
  {
90567
90650
  path: "provinces/:province_id",
90568
90651
  lazy: async () => {
90569
- const { Component, Breadcrumb, loader } = await import("./tax-region-province-detail-YCY56CRL.mjs");
90652
+ const { Component, Breadcrumb, loader } = await import("./tax-region-province-detail-VUY4PDGN.mjs");
90570
90653
  return {
90571
90654
  Component,
90572
90655
  loader,
@@ -90586,11 +90669,11 @@ function getRouteMap({
90586
90669
  },
90587
90670
  {
90588
90671
  path: "overrides/create",
90589
- lazy: () => import("./tax-region-tax-override-create-R3PNDP43.mjs")
90672
+ lazy: () => import("./tax-region-tax-override-create-WWZZVAG5.mjs")
90590
90673
  },
90591
90674
  {
90592
90675
  path: "overrides/:tax_rate_id/edit",
90593
- lazy: () => import("./tax-region-tax-override-edit-QLD7MIQY.mjs")
90676
+ lazy: () => import("./tax-region-tax-override-edit-HVZRD44G.mjs")
90594
90677
  }
90595
90678
  ]
90596
90679
  }
@@ -90607,7 +90690,7 @@ function getRouteMap({
90607
90690
  children: [
90608
90691
  {
90609
90692
  path: "",
90610
- lazy: () => import("./return-reason-list-CBOVMQZF.mjs"),
90693
+ lazy: () => import("./return-reason-list-6UKR2BLW.mjs"),
90611
90694
  children: [
90612
90695
  {
90613
90696
  path: "create",
@@ -90635,18 +90718,18 @@ function getRouteMap({
90635
90718
  children: [
90636
90719
  {
90637
90720
  path: "",
90638
- lazy: () => import("./refund-reason-list-SFTHVSPC.mjs"),
90721
+ lazy: () => import("./refund-reason-list-NIJHHOXJ.mjs"),
90639
90722
  children: [
90640
90723
  {
90641
90724
  path: "create",
90642
- lazy: () => import("./refund-reason-create-5ATQ2IPU.mjs")
90725
+ lazy: () => import("./refund-reason-create-I3BIJFJH.mjs")
90643
90726
  },
90644
90727
  {
90645
90728
  path: ":id",
90646
90729
  children: [
90647
90730
  {
90648
90731
  path: "edit",
90649
- lazy: () => import("./refund-reason-edit-F7AMOTG3.mjs")
90732
+ lazy: () => import("./refund-reason-edit-2BEZASQH.mjs")
90650
90733
  }
90651
90734
  ]
90652
90735
  }
@@ -90667,7 +90750,7 @@ function getRouteMap({
90667
90750
  children: [
90668
90751
  {
90669
90752
  path: "/login",
90670
- lazy: () => import("./login-VZALGB6R.mjs")
90753
+ lazy: () => import("./login-MTGOV7KC.mjs")
90671
90754
  },
90672
90755
  {
90673
90756
  path: "/reset-password",
@@ -90702,8 +90785,8 @@ var createBranchRoute = (segment) => ({
90702
90785
  path: segment,
90703
90786
  children: []
90704
90787
  });
90705
- var createLeafRoute = (Component, loader, handle) => ({
90706
- path: "",
90788
+ var createLeafRoute = (Component, loader, handle, path = "") => ({
90789
+ path,
90707
90790
  ErrorBoundary,
90708
90791
  async lazy() {
90709
90792
  const result = { Component };
@@ -90752,15 +90835,21 @@ var addRoute = (pathSegments, Component, currentLevel, loader, handle, parallelR
90752
90835
  const isComponentSegment = currentFullPath === componentPath;
90753
90836
  if (isComponentSegment || remainingSegments.length === 0) {
90754
90837
  route.children || (route.children = []);
90755
- const leaf = createLeafRoute(Component, loader);
90756
90838
  if (handle) {
90757
90839
  route.handle = handle;
90758
90840
  }
90759
90841
  if (loader) {
90760
90842
  route.loader = loader;
90761
90843
  }
90762
- leaf.children = processParallelRoutes(parallelRoutes, currentFullPath);
90763
- route.children.push(leaf);
90844
+ if (currentSegment === "*?" || currentSegment === "*") {
90845
+ const leaf = createLeafRoute(Component, loader, handle, currentSegment);
90846
+ leaf.children = processParallelRoutes(parallelRoutes, currentFullPath);
90847
+ Object.assign(route, leaf);
90848
+ } else {
90849
+ const leaf = createLeafRoute(Component, loader);
90850
+ leaf.children = processParallelRoutes(parallelRoutes, currentFullPath);
90851
+ route.children.push(leaf);
90852
+ }
90764
90853
  if (remainingSegments.length > 0) {
90765
90854
  addRoute(
90766
90855
  remainingSegments,
@@ -90807,6 +90896,7 @@ var createRouteMap = (routes, ignore) => {
90807
90896
 
90808
90897
  // src/dashboard-app/dashboard-app.tsx
90809
90898
  import { jsx as jsx18 } from "react/jsx-runtime";
90899
+ var OPTIONAL_LAST_SEGMENT_MATCH = /\/([^\/])+\?$/;
90810
90900
  var DashboardApp = class {
90811
90901
  constructor({ plugins }) {
90812
90902
  __publicField(this, "widgets");
@@ -90876,10 +90966,11 @@ var DashboardApp = class {
90876
90966
  }
90877
90967
  allMenuItems.sort((a, b) => a.path.length - b.path.length);
90878
90968
  allMenuItems.forEach((item) => {
90879
- if (item.path.includes("/:")) {
90969
+ item.path = item.path.replace(OPTIONAL_LAST_SEGMENT_MATCH, "");
90970
+ if (item.path.includes("/:") || item.path.endsWith("/*")) {
90880
90971
  if (process.env.NODE_ENV === "development") {
90881
90972
  console.warn(
90882
- `[@medusajs/dashboard] Menu item for path "${item.path}" can't be added to the sidebar as it contains a parameter.`
90973
+ `[@medusajs/dashboard] Menu item for path "${item.path}" can't be added to the sidebar as it contains a mandatory parameter.`
90883
90974
  );
90884
90975
  }
90885
90976
  return;