@medusajs/dashboard 3.0.0-preview-20250211091350 → 3.0.0-preview-20250406180144

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 (446) hide show
  1. package/dist/{add-campaign-promotions-YQ6JJK6I.mjs → add-campaign-promotions-EYK2OY7B.mjs} +19 -18
  2. package/dist/{adjust-inventory-42AT6TIZ.mjs → adjust-inventory-WYNH75F7.mjs} +10 -9
  3. package/dist/{api-key-management-create-FCTZ6A46.mjs → api-key-management-create-HWBQGG6O.mjs} +10 -9
  4. package/dist/{api-key-management-detail-V6UELD25.mjs → api-key-management-detail-2TXLKXOT.mjs} +42 -44
  5. package/dist/{api-key-management-edit-WTS63YJS.mjs → api-key-management-edit-UX47FHWV.mjs} +11 -10
  6. package/dist/{api-key-management-list-MKVE46ZE.mjs → api-key-management-list-DGPEFCW2.mjs} +17 -19
  7. package/dist/{api-key-management-sales-channels-SHHZXVPP.mjs → api-key-management-sales-channels-SYEJXQLU.mjs} +19 -18
  8. package/dist/app.css +44 -30
  9. package/dist/app.js +64876 -57524
  10. package/dist/app.mjs +56 -4597
  11. package/dist/{campaign-budget-edit-7MSDQ3MH.mjs → campaign-budget-edit-57NSOYJ3.mjs} +9 -8
  12. package/dist/{campaign-configuration-XITAHVHN.mjs → campaign-configuration-QV3OHWBZ.mjs} +9 -8
  13. package/dist/{campaign-create-WKVDJFQC.mjs → campaign-create-NYJ4HILG.mjs} +8 -7
  14. package/dist/{campaign-detail-PGM2SOEA.mjs → campaign-detail-BMKKY4FI.mjs} +43 -45
  15. package/dist/{campaign-edit-NRN4EBJC.mjs → campaign-edit-3D5WFWCT.mjs} +9 -8
  16. package/dist/{campaign-list-6TW2SO7C.mjs → campaign-list-OADDBYVB.mjs} +17 -19
  17. package/dist/{categories-metadata-D3EM5VK2.mjs → categories-metadata-TE7B2OJY.mjs} +35 -35
  18. package/dist/{category-create-ULKTNF7N.mjs → category-create-NVRG7B6E.mjs} +10 -9
  19. package/dist/{category-detail-Z6GWCJUW.mjs → category-detail-MTVNR43M.mjs} +44 -46
  20. package/dist/{category-edit-HTC6237J.mjs → category-edit-JBZQKNL7.mjs} +10 -9
  21. package/dist/{category-list-6WTV4T7D.mjs → category-list-2XIIEFBU.mjs} +16 -18
  22. package/dist/{category-organize-OPDZY4YR.mjs → category-organize-HUXXVJAB.mjs} +7 -6
  23. package/dist/{category-products-ND7PSI4Q.mjs → category-products-F3I4B7TM.mjs} +44 -43
  24. package/dist/{chunk-NRUKBT5S.mjs → chunk-2MPQMCLO.mjs} +4 -4
  25. package/dist/{chunk-ZYBB636P.mjs → chunk-2VTICXJR.mjs} +1 -1
  26. package/dist/{chunk-IPEN5VX6.mjs → chunk-2WQFRVK5.mjs} +3 -3
  27. package/dist/{chunk-ZMMQPAR2.mjs → chunk-2ZKVRTBW.mjs} +1 -1
  28. package/dist/{chunk-QDC5CTTV.mjs → chunk-32IQRUVY.mjs} +1 -1
  29. package/dist/{chunk-YXEAWUSX.mjs → chunk-3KLERXD7.mjs} +15 -1
  30. package/dist/{chunk-NDQ77BA4.mjs → chunk-3OHH43G6.mjs} +2 -2
  31. package/dist/{chunk-GT4RPCDE.mjs → chunk-4GJJIXM6.mjs} +2 -2
  32. package/dist/{chunk-EI45S6ZK.mjs → chunk-4HLCNNIC.mjs} +1 -1
  33. package/dist/{chunk-5ZZZZK7A.mjs → chunk-6I62UDJA.mjs} +4 -1
  34. package/dist/{chunk-AODKPQIG.mjs → chunk-6LA2RGO4.mjs} +3 -3
  35. package/dist/{chunk-77TK23EH.mjs → chunk-7I5DQGWY.mjs} +1 -0
  36. package/dist/{chunk-YJPZZD5Z.mjs → chunk-7MM5L2ZM.mjs} +1 -1
  37. package/dist/{chunk-HVUHNRLX.mjs → chunk-A2UMBW3V.mjs} +1 -1
  38. package/dist/{chunk-QX7ANQDG.mjs → chunk-AL4WDQTN.mjs} +23 -17
  39. package/dist/{chunk-S4HBRQEC.mjs → chunk-B4GODIOW.mjs} +1 -1
  40. package/dist/{chunk-5EJJE3NE.mjs → chunk-BC3M3N6P.mjs} +2 -2
  41. package/dist/{chunk-OCNMY23F.mjs → chunk-C5LYZZZ5.mjs} +1 -1
  42. package/dist/chunk-C5P5PL3E.mjs +31 -0
  43. package/dist/chunk-CDQY5XPE.mjs +5241 -0
  44. package/dist/{chunk-JXBMQ4SZ.mjs → chunk-CF64SRBE.mjs} +6 -6
  45. package/dist/{chunk-QE3BG56P.mjs → chunk-CLRTJ6DI.mjs} +2 -2
  46. package/dist/{chunk-CBJWO6K6.mjs → chunk-D7H6ZNK4.mjs} +12 -5
  47. package/dist/{chunk-LM3FXIYT.mjs → chunk-DDV2HJEV.mjs} +2 -2
  48. package/dist/chunk-DEQUVHHE.mjs +17 -0
  49. package/dist/{chunk-EMNHBSFU.mjs → chunk-DFA6WGYO.mjs} +34 -0
  50. package/dist/{chunk-S5X4EFD4.mjs → chunk-DRAV7IQC.mjs} +6 -6
  51. package/dist/{chunk-AFDSZWCS.mjs → chunk-DXOEDXLQ.mjs} +5 -5
  52. package/dist/{chunk-MAWEQJDF.mjs → chunk-EAX5QFXH.mjs} +1 -1
  53. package/dist/{chunk-WX2SMNCD.mjs → chunk-EMIHDNB7.mjs} +4 -3
  54. package/dist/{chunk-GVRV2SOJ.mjs → chunk-ENV6YVOM.mjs} +3 -3
  55. package/dist/{chunk-N6PBCMOV.mjs → chunk-EYMDU2JD.mjs} +9 -9
  56. package/dist/{chunk-6SDR2EUC.mjs → chunk-F6IJV2I2.mjs} +2 -2
  57. package/dist/{chunk-S3MWIWV4.mjs → chunk-F6PXCY3N.mjs} +34 -1
  58. package/dist/{chunk-BOR5HF2M.mjs → chunk-FP5F2XCU.mjs} +2 -2
  59. package/dist/{chunk-KLXXECPX.mjs → chunk-FVC7M755.mjs} +2 -2
  60. package/dist/{chunk-MRJ6KQAL.mjs → chunk-FVK4ZYYM.mjs} +2 -2
  61. package/dist/{chunk-ZVVQK46Y.mjs → chunk-FZANNV6G.mjs} +1 -1
  62. package/dist/{chunk-SWYL3QGB.mjs → chunk-G2H6MAK7.mjs} +1 -14
  63. package/dist/{chunk-RAKBTSZ7.mjs → chunk-GIQRSI5I.mjs} +2 -2
  64. package/dist/{chunk-BF3VCHXD.mjs → chunk-GRT22PE5.mjs} +2 -2
  65. package/dist/{chunk-IC72XMDJ.mjs → chunk-GXXQ33F7.mjs} +1 -1
  66. package/dist/{chunk-W6N53UNG.mjs → chunk-GZBFGV7Y.mjs} +14 -1
  67. package/dist/{chunk-HP4JZCP4.mjs → chunk-HDSWPQLG.mjs} +11 -12
  68. package/dist/{chunk-QWU4TCQ7.mjs → chunk-HGKRB5AS.mjs} +8 -8
  69. package/dist/{chunk-ODVOHYAS.mjs → chunk-HGUTDEW5.mjs} +26 -28
  70. package/dist/{chunk-QFAUOMG6.mjs → chunk-HUGE7T5V.mjs} +3 -3
  71. package/dist/{chunk-A2MEYV4D.mjs → chunk-ICR3D7SB.mjs} +2 -2
  72. package/dist/{chunk-DJPQV344.mjs → chunk-IVB3LUGL.mjs} +1 -1
  73. package/dist/{chunk-TKREK46F.mjs → chunk-IXQKZGD4.mjs} +1 -1
  74. package/dist/{chunk-3OJ4LCJL.mjs → chunk-KHN4RXLS.mjs} +1 -1
  75. package/dist/{chunk-TXPNGFWJ.mjs → chunk-KOSCMAIC.mjs} +1 -1
  76. package/dist/{chunk-VJRTPNEA.mjs → chunk-LDJKJLBJ.mjs} +1 -1
  77. package/dist/{chunk-CJ3L6MQZ.mjs → chunk-LIWT6YHM.mjs} +1 -1
  78. package/dist/{chunk-FX3ZJWB6.mjs → chunk-LTC6LGS4.mjs} +1 -1
  79. package/dist/{chunk-IQ2LC4FN.mjs → chunk-NGEWNLV7.mjs} +41 -54
  80. package/dist/{chunk-FPVDKY3X.mjs → chunk-NLC6AFB4.mjs} +23 -24
  81. package/dist/{chunk-WAYDNCEG.mjs → chunk-OBQI23QM.mjs} +1 -16
  82. package/dist/{chunk-4M3ZY7KA.mjs → chunk-PCFUZKDS.mjs} +3 -1
  83. package/dist/{chunk-JKKJMCX3.mjs → chunk-PEGJVODH.mjs} +1 -1
  84. package/dist/{chunk-JGKUKVRC.mjs → chunk-PFTU26LC.mjs} +1 -1
  85. package/dist/{chunk-O3US4QMC.mjs → chunk-PIR2H25N.mjs} +1 -1
  86. package/dist/{chunk-UQUJ5W2Q.mjs → chunk-PNU5HPGY.mjs} +2 -2
  87. package/dist/{chunk-B4FQDBC3.mjs → chunk-PW2G3HGL.mjs} +9 -10
  88. package/dist/{chunk-HYULYW73.mjs → chunk-QL4XKIVL.mjs} +1 -1
  89. package/dist/{chunk-SFPKA7H3.mjs → chunk-QTCZFYFH.mjs} +1 -1
  90. package/dist/{chunk-SY6HAFQV.mjs → chunk-QZ6PT4QV.mjs} +2 -2
  91. package/dist/{chunk-NAC6TXKN.mjs → chunk-RLY2SL5E.mjs} +1 -1
  92. package/dist/{chunk-IUIZA5UF.mjs → chunk-RWU2ZKWZ.mjs} +3 -3
  93. package/dist/{chunk-CLOHNZKZ.mjs → chunk-RZD5DU5K.mjs} +2 -2
  94. package/dist/{chunk-6FJ2PJHE.mjs → chunk-S22NYSST.mjs} +7 -4
  95. package/dist/{chunk-6XTDCUWJ.mjs → chunk-SKR2YX52.mjs} +2 -2
  96. package/dist/{chunk-UGE5SYTC.mjs → chunk-TDDYKNA2.mjs} +4 -4
  97. package/dist/{chunk-F7H5DLUU.mjs → chunk-TP7N4YBP.mjs} +1 -1
  98. package/dist/{chunk-5OOAHPXU.mjs → chunk-UAZEQNCO.mjs} +2 -2
  99. package/dist/{chunk-UT3IS7J3.mjs → chunk-URDECN5D.mjs} +43597 -37277
  100. package/dist/{chunk-23LLRBGF.mjs → chunk-V2LANK5S.mjs} +2 -2
  101. package/dist/{chunk-AS54JDUL.mjs → chunk-W7KW2VOI.mjs} +27 -27
  102. package/dist/{chunk-BKWQ2FHJ.mjs → chunk-WL7NJCWV.mjs} +1 -1
  103. package/dist/{chunk-JHNHXN7U.mjs → chunk-X2Y4KNQI.mjs} +2 -2
  104. package/dist/{chunk-YYGNAECV.mjs → chunk-X66KDK4I.mjs} +1 -1
  105. package/dist/{chunk-NOL65OUL.mjs → chunk-XM6J2DWV.mjs} +1 -1
  106. package/dist/{chunk-6CNRNROJ.mjs → chunk-YIZSVS2R.mjs} +6 -4
  107. package/dist/{chunk-JJ3UWAUO.mjs → chunk-YS65UGPC.mjs} +3 -3
  108. package/dist/{chunk-AYRG2MQL.mjs → chunk-ZCO6EK4W.mjs} +24 -7
  109. package/dist/{chunk-6TVXQXDC.mjs → chunk-ZIHOMEGZ.mjs} +2 -2
  110. package/dist/{chunk-WHZIEWSQ.mjs → chunk-ZJ3OFMHB.mjs} +2 -2
  111. package/dist/{collection-add-products-KGBBZFCE.mjs → collection-add-products-BAX6JOLN.mjs} +44 -43
  112. package/dist/{collection-create-NLRAIKZP.mjs → collection-create-PXO6DJS3.mjs} +9 -8
  113. package/dist/{collection-detail-AZZ2NT4L.mjs → collection-detail-YE42DHWS.mjs} +43 -45
  114. package/dist/{collection-edit-WO54XZLV.mjs → collection-edit-D7OGD4MC.mjs} +10 -9
  115. package/dist/{collection-list-2AFD2BXW.mjs → collection-list-KTS4LVM2.mjs} +54 -58
  116. package/dist/collection-metadata-244B7424.mjs +69 -0
  117. package/dist/{customer-create-AJYD5CIA.mjs → customer-create-TKKVS4LF.mjs} +8 -7
  118. package/dist/customer-create-address-P4YQFUI5.mjs +291 -0
  119. package/dist/{customer-detail-MWT2NNQK.mjs → customer-detail-HJPJLMMO.mjs} +246 -129
  120. package/dist/{customer-edit-566R4FAT.mjs → customer-edit-I4K3LK66.mjs} +12 -11
  121. package/dist/{customer-group-add-customers-6IANRPQ6.mjs → customer-group-add-customers-U3ENH6JX.mjs} +19 -18
  122. package/dist/{customer-group-create-XTXMFKFX.mjs → customer-group-create-5EILGGLH.mjs} +8 -7
  123. package/dist/{customer-group-detail-ULS2F7OQ.mjs → customer-group-detail-JRPGZBVS.mjs} +44 -46
  124. package/dist/{customer-group-edit-KVEBH5N2.mjs → customer-group-edit-NBVNSBMX.mjs} +9 -8
  125. package/dist/{customer-group-list-LZSSOYBR.mjs → customer-group-list-643IECH3.mjs} +38 -40
  126. package/dist/{customer-group-metadata-MTAZJYBH.mjs → customer-group-metadata-IRTI56TA.mjs} +7 -7
  127. package/dist/{customer-list-JAKCVGFG.mjs → customer-list-544N5LA5.mjs} +18 -20
  128. package/dist/{customer-metadata-RO5DVFXZ.mjs → customer-metadata-TPIFKFIQ.mjs} +7 -7
  129. package/dist/{customers-add-customer-group-6TEWBPIE.mjs → customers-add-customer-group-CTBHD33Y.mjs} +43 -42
  130. package/dist/{edit-inventory-item-N6JQUIYO.mjs → edit-inventory-item-KQUKSOGO.mjs} +6 -5
  131. package/dist/{edit-inventory-item-attributes-D5SSHDVI.mjs → edit-inventory-item-attributes-I55BRBWC.mjs} +23 -6
  132. package/dist/{edit-reservation-E6JRXRAL.mjs → edit-reservation-GEJHV6OI.mjs} +13 -12
  133. package/dist/{edit-rules-6XNJL6AE.mjs → edit-rules-7MMNZKEQ.mjs} +15 -13
  134. package/dist/index.d.ts +4 -4
  135. package/dist/{inventory-create-KYURNZS6.mjs → inventory-create-NZ67QMNB.mjs} +38 -36
  136. package/dist/{inventory-detail-S56TNEU5.mjs → inventory-detail-GO2QWKV7.mjs} +47 -48
  137. package/dist/{inventory-list-P2ZZH6EN.mjs → inventory-list-X7BACFKE.mjs} +15 -17
  138. package/dist/{inventory-metadata-IDMV4XVV.mjs → inventory-metadata-AG5IVFBR.mjs} +33 -33
  139. package/dist/{inventory-stock-4R73ZT3V.mjs → inventory-stock-XZWLARFE.mjs} +34 -33
  140. package/dist/{invite-W2J3H5L6.mjs → invite-3KXZ7ZZI.mjs} +9 -8
  141. package/dist/{location-create-3FROOIXF.mjs → location-create-G3CYBYOF.mjs} +9 -8
  142. package/dist/{location-detail-IEGCZTAI.mjs → location-detail-GHY3DXRP.mjs} +48 -42
  143. package/dist/{location-edit-AQUHRPQ6.mjs → location-edit-IMBG32Z4.mjs} +10 -9
  144. package/dist/{location-fulfillment-providers-37FS5TYU.mjs → location-fulfillment-providers-IFPDR2YN.mjs} +44 -43
  145. package/dist/{location-list-ITU5AOC7.mjs → location-list-5UJ6CSA7.mjs} +13 -15
  146. package/dist/{location-sales-channels-TSOI2JYI.mjs → location-sales-channels-HERXGXG2.mjs} +18 -17
  147. package/dist/{location-service-zone-create-2JT4IKFH.mjs → location-service-zone-create-DXKD3F26.mjs} +22 -24
  148. package/dist/{location-service-zone-edit-LKYVVXDR.mjs → location-service-zone-edit-W3G7XOC7.mjs} +13 -15
  149. package/dist/{location-service-zone-manage-areas-PT4R2I3K.mjs → location-service-zone-manage-areas-IFT2GCAD.mjs} +21 -20
  150. package/dist/{location-service-zone-shipping-option-create-KXZIUIZQ.mjs → location-service-zone-shipping-option-create-7KOH5VVW.mjs} +89 -57
  151. package/dist/{location-service-zone-shipping-option-edit-SC4HD6LU.mjs → location-service-zone-shipping-option-edit-ODUEKZON.mjs} +25 -16
  152. package/dist/{location-service-zone-shipping-option-pricing-FOET7XJC.mjs → location-service-zone-shipping-option-pricing-SKUSE5YE.mjs} +20 -19
  153. package/dist/{login-TN5VDDLW.mjs → login-OYY6LIPR.mjs} +37 -37
  154. package/dist/{manage-locations-PSPBWN5X.mjs → manage-locations-E7YAZVH2.mjs} +7 -6
  155. package/dist/{order-allocate-items-6HPR2T5L.mjs → order-allocate-items-TMQ5M7TG.mjs} +16 -15
  156. package/dist/{order-create-claim-FFWV762A.mjs → order-create-claim-AHFF4YNW.mjs} +95 -82
  157. package/dist/{order-create-edit-LS3ARJDM.mjs → order-create-edit-NLXEFK77.mjs} +52 -51
  158. package/dist/{order-create-exchange-3OVNNNW3.mjs → order-create-exchange-33STYVYU.mjs} +96 -83
  159. package/dist/{order-create-fulfillment-K5DFAWHB.mjs → order-create-fulfillment-62OZHL3L.mjs} +53 -51
  160. package/dist/{order-create-refund-2D46DG3T.mjs → order-create-refund-FXUURAS7.mjs} +60 -64
  161. package/dist/{order-create-return-PJ3LFXDG.mjs → order-create-return-PONHUZVN.mjs} +41 -37
  162. package/dist/{order-create-shipment-CCH6V3U6.mjs → order-create-shipment-REC24C7Y.mjs} +35 -34
  163. package/dist/{order-detail-YYP4INKH.mjs → order-detail-SYXNI7WK.mjs} +72 -85
  164. package/dist/{order-edit-billing-address-3PYGDUWT.mjs → order-edit-billing-address-XDNORAHG.mjs} +37 -36
  165. package/dist/{order-edit-email-C5AMYZDN.mjs → order-edit-email-V4DC4GJV.mjs} +36 -35
  166. package/dist/{order-edit-shipping-address-T6I4D234.mjs → order-edit-shipping-address-NWT5LDKC.mjs} +37 -36
  167. package/dist/{order-list-IMVPWMTQ.mjs → order-list-X6ETGR3A.mjs} +23 -25
  168. package/dist/order-metadata-4YNV2NWH.mjs +69 -0
  169. package/dist/{order-receive-return-2NBMNVBR.mjs → order-receive-return-AXAZNUIB.mjs} +43 -42
  170. package/dist/{order-request-transfer-U5OYJEI6.mjs → order-request-transfer-OZNQQL3N.mjs} +38 -36
  171. package/dist/{price-list-configuration-6OHKVV2W.mjs → price-list-configuration-C7QXYPBJ.mjs} +22 -21
  172. package/dist/{price-list-create-QKTF4G3M.mjs → price-list-create-2VI6JXLQ.mjs} +49 -48
  173. package/dist/{price-list-detail-G5Y3VVRK.mjs → price-list-detail-2HRWG7KP.mjs} +47 -49
  174. package/dist/{price-list-edit-OFFEMUHG.mjs → price-list-edit-TMZCXEFR.mjs} +11 -10
  175. package/dist/{price-list-list-XPNVK6IC.mjs → price-list-list-DDQYCK4O.mjs} +18 -20
  176. package/dist/{price-list-prices-add-NIFFLI7Y.mjs → price-list-prices-add-IQZO6P4N.mjs} +46 -45
  177. package/dist/{price-list-prices-edit-KAEE6YLB.mjs → price-list-prices-edit-JUS5FBBN.mjs} +16 -15
  178. package/dist/{product-attributes-WLWSFTCO.mjs → product-attributes-OT373EPY.mjs} +50 -11
  179. package/dist/{product-create-P7U26TXX.mjs → product-create-2TKUBQEH.mjs} +77 -72
  180. package/dist/{product-create-option-ISAGA5KO.mjs → product-create-option-E2GRTBWP.mjs} +6 -5
  181. package/dist/{product-create-variant-ZQKPGLQQ.mjs → product-create-variant-3B32EC76.mjs} +42 -40
  182. package/dist/{product-detail-6LXT2IIU.mjs → product-detail-HZBEXKBU.mjs} +105 -66
  183. package/dist/{product-edit-IDL5IGVQ.mjs → product-edit-V4XTHXKI.mjs} +51 -11
  184. package/dist/{product-edit-option-6ZGZKU5G.mjs → product-edit-option-RHMF3YKT.mjs} +6 -5
  185. package/dist/{product-export-JGH4CULP.mjs → product-export-EWO37XJF.mjs} +37 -51
  186. package/dist/{product-import-YY2EXFLI.mjs → product-import-JCEJKM3F.mjs} +35 -34
  187. package/dist/{product-list-XOFUYF5S.mjs → product-list-YW3UTPME.mjs} +51 -48
  188. package/dist/{product-media-RSCMACQU.mjs → product-media-JLPIJRET.mjs} +6 -5
  189. package/dist/product-metadata-PQQ7XV63.mjs +67 -0
  190. package/dist/{product-organization-6N7JBWH5.mjs → product-organization-D5AK5F5W.mjs} +53 -14
  191. package/dist/{product-prices-NPJIYAIK.mjs → product-prices-BBTCM3XR.mjs} +16 -17
  192. package/dist/{product-sales-channels-MKWZD4NM.mjs → product-sales-channels-7Y3D3C7Q.mjs} +14 -13
  193. package/dist/{product-shipping-profile-EK6G3NTZ.mjs → product-shipping-profile-3NVF3DW2.mjs} +58 -10
  194. package/dist/{product-stock-L3FRYPQS.mjs → product-stock-TZS75EG7.mjs} +42 -41
  195. package/dist/{product-tag-create-CLWQPP7D.mjs → product-tag-create-LE4MZ5BW.mjs} +34 -33
  196. package/dist/{product-tag-detail-NDZJLI2Q.mjs → product-tag-detail-3EOHF4Z7.mjs} +63 -66
  197. package/dist/{product-tag-edit-QHHZYHCG.mjs → product-tag-edit-E6WEFNFQ.mjs} +35 -34
  198. package/dist/{product-tag-list-A73PYQRI.mjs → product-tag-list-RUTJQUCX.mjs} +63 -66
  199. package/dist/product-type-create-GU5IYXQB.mjs +101 -0
  200. package/dist/{product-type-detail-AQ5SUXFF.mjs → product-type-detail-3X5ME5WA.mjs} +48 -47
  201. package/dist/{product-type-edit-5ETUUK7N.mjs → product-type-edit-S53VUBU3.mjs} +9 -8
  202. package/dist/{product-type-list-TUHBNIIB.mjs → product-type-list-IJI5WEYY.mjs} +22 -21
  203. package/dist/{product-variant-detail-3XZBP2QJ.mjs → product-variant-detail-UN6GESYO.mjs} +37 -39
  204. package/dist/{product-variant-edit-7FZ7PQ6U.mjs → product-variant-edit-G6AM27AT.mjs} +36 -34
  205. package/dist/{product-variant-manage-inventory-items-PRFQHHZD.mjs → product-variant-manage-inventory-items-BKFYUODS.mjs} +9 -7
  206. package/dist/{product-variant-metadata-PY76KWCU.mjs → product-variant-metadata-2V27ZMDS.mjs} +33 -33
  207. package/dist/{profile-detail-EYSOSXIU.mjs → profile-detail-YLKHVSGO.mjs} +7 -9
  208. package/dist/{profile-edit-KZGW3D7V.mjs → profile-edit-EGWJGTXV.mjs} +12 -11
  209. package/dist/{promotion-add-campaign-YG4T32AU.mjs → promotion-add-campaign-4VNRQF52.mjs} +11 -10
  210. package/dist/{promotion-create-DUY3VRR7.mjs → promotion-create-PLDWDZMZ.mjs} +17 -15
  211. package/dist/{promotion-detail-KUVY3KBM.mjs → promotion-detail-BRQXNXUL.mjs} +39 -41
  212. package/dist/{promotion-edit-details-6BZF724F.mjs → promotion-edit-details-D6M646E6.mjs} +9 -8
  213. package/dist/{promotion-list-6PKG7DBB.mjs → promotion-list-BSYPXZNW.mjs} +16 -18
  214. package/dist/{region-add-countries-5VS6OSZW.mjs → region-add-countries-D6N7ISOZ.mjs} +17 -16
  215. package/dist/{region-create-3UVS7VHZ.mjs → region-create-EOZTZIP5.mjs} +28 -27
  216. package/dist/{region-detail-SGGN2NPK.mjs → region-detail-HL4UQGTJ.mjs} +13 -15
  217. package/dist/{region-edit-GPMEIHUM.mjs → region-edit-PXIMLBFB.mjs} +19 -18
  218. package/dist/{region-list-ETVUX5R3.mjs → region-list-A7Z5XJUW.mjs} +17 -19
  219. package/dist/{region-metadata-J4QDEISD.mjs → region-metadata-4S6FEUXA.mjs} +35 -35
  220. package/dist/{reservation-create-O3ALBX5F.mjs → reservation-create-INUIVD55.mjs} +13 -12
  221. package/dist/{reservation-detail-X46PRDBS.mjs → reservation-detail-I4DM7TQ4.mjs} +32 -34
  222. package/dist/{reservation-list-HF5TGB2X.mjs → reservation-list-NID2SFUF.mjs} +17 -19
  223. package/dist/{reservation-metadata-GBTOI33G.mjs → reservation-metadata-5ZABNMJP.mjs} +35 -35
  224. package/dist/{reset-password-CXIAZ6KT.mjs → reset-password-XTYYQVM4.mjs} +7 -6
  225. package/dist/{return-reason-create-7DOM36PA.mjs → return-reason-create-YANSYS43.mjs} +8 -7
  226. package/dist/{return-reason-edit-U2DRNMRP.mjs → return-reason-edit-4FSM4H3M.mjs} +9 -8
  227. package/dist/{return-reason-list-R2B2M5F3.mjs → return-reason-list-PHUB3SD5.mjs} +37 -40
  228. package/dist/{sales-channel-add-products-XX6XXL67.mjs → sales-channel-add-products-OJR2UYTQ.mjs} +44 -43
  229. package/dist/{sales-channel-create-5NVNETJO.mjs → sales-channel-create-HVZPII6E.mjs} +9 -8
  230. package/dist/{sales-channel-detail-A5LWMTIW.mjs → sales-channel-detail-ZTX3GVHN.mjs} +43 -45
  231. package/dist/{sales-channel-edit-ZHU2WG4C.mjs → sales-channel-edit-BK7O3ZFI.mjs} +10 -9
  232. package/dist/{sales-channel-list-WIDZSTDW.mjs → sales-channel-list-HOPPCB5U.mjs} +38 -40
  233. package/dist/{sales-channel-metadata-EU2OLGZU.mjs → sales-channel-metadata-UH4QYASI.mjs} +35 -35
  234. package/dist/{shipping-profile-create-A5NGBX2U.mjs → shipping-profile-create-PBDONCGJ.mjs} +8 -7
  235. package/dist/{shipping-profile-detail-E2ZVCQB5.mjs → shipping-profile-detail-EORJZ7NX.mjs} +6 -8
  236. package/dist/{shipping-profile-metadata-B3XD5644.mjs → shipping-profile-metadata-UB73OBPJ.mjs} +33 -33
  237. package/dist/{shipping-profiles-list-QF6YVBB6.mjs → shipping-profiles-list-WRKLRQR7.mjs} +14 -16
  238. package/dist/{store-add-currencies-SSEOM5WZ.mjs → store-add-currencies-CPWMKSFB.mjs} +19 -18
  239. package/dist/{store-detail-RK42OQIJ.mjs → store-detail-WLC4RF2Y.mjs} +136 -138
  240. package/dist/{store-edit-VP2ZK6DB.mjs → store-edit-JNSWFWIG.mjs} +12 -10
  241. package/dist/store-metadata-GLAZZPP6.mjs +68 -0
  242. package/dist/{tax-region-create-OLUBBICW.mjs → tax-region-create-EW5USMNY.mjs} +35 -34
  243. package/dist/{tax-region-detail-MUS2Q44R.mjs → tax-region-detail-MVSV7BWW.mjs} +45 -47
  244. package/dist/{tax-region-list-OAH2FFY2.mjs → tax-region-list-FNVPRMTQ.mjs} +13 -15
  245. package/dist/{tax-region-province-create-TAQQLOAS.mjs → tax-region-province-create-LQ5SPSXW.mjs} +10 -9
  246. package/dist/{tax-region-province-detail-WENPM2PD.mjs → tax-region-province-detail-4G2WUUBB.mjs} +40 -42
  247. package/dist/{tax-region-tax-override-create-VANMBRAP.mjs → tax-region-tax-override-create-TMMFKM7B.mjs} +67 -67
  248. package/dist/{tax-region-tax-override-edit-IY5SXK2S.mjs → tax-region-tax-override-edit-R2G2M4PQ.mjs} +72 -72
  249. package/dist/{tax-region-tax-rate-create-GU7QEL3V.mjs → tax-region-tax-rate-create-7GNLSDJ2.mjs} +12 -11
  250. package/dist/{tax-region-tax-rate-edit-JZO6CSAX.mjs → tax-region-tax-rate-edit-6U2BQMIE.mjs} +11 -10
  251. package/dist/{user-detail-I53MPAAS.mjs → user-detail-X2Z2IYNI.mjs} +7 -9
  252. package/dist/{user-edit-5OL3L6IX.mjs → user-edit-HFSJM4QT.mjs} +9 -8
  253. package/dist/{user-invite-HKO52FHN.mjs → user-invite-5S2HHL2P.mjs} +23 -22
  254. package/dist/{user-list-6DWTXQUP.mjs → user-list-LI27NZLQ.mjs} +12 -14
  255. package/dist/user-metadata-GJ6PIXLU.mjs +70 -0
  256. package/dist/{workflow-execution-detail-ERZLGDON.mjs → workflow-execution-detail-D26MDYFC.mjs} +32 -34
  257. package/dist/{workflow-execution-list-VEHTWIZD.mjs → workflow-execution-list-4QDXZ3N5.mjs} +12 -14
  258. package/package.json +11 -12
  259. package/src/app.tsx +19 -14
  260. package/src/components/common/empty-table-content/empty-table-content.tsx +5 -2
  261. package/src/components/common/infinite-list/infinite-list.tsx +18 -8
  262. package/src/components/common/listicle/index.ts +1 -0
  263. package/src/components/common/listicle/listicle.tsx +34 -0
  264. package/src/components/common/sidebar-link/sidebar-link.tsx +2 -2
  265. package/src/components/common/switch-box/switch-box.tsx +15 -11
  266. package/src/components/data-table/data-table.tsx +19 -17
  267. package/src/components/forms/metadata-form/metadata-form.tsx +19 -8
  268. package/src/components/inputs/combobox/combobox.tsx +15 -1
  269. package/src/components/layout/main-layout/main-layout.tsx +3 -3
  270. package/src/components/layout/nav-item/nav-item.tsx +1 -1
  271. package/src/components/layout/notifications/notifications.tsx +1 -0
  272. package/src/components/layout/settings-layout/settings-layout.tsx +2 -3
  273. package/src/components/modals/hooks/use-state-aware-to.tsx +26 -0
  274. package/src/components/modals/route-drawer/route-drawer.tsx +7 -4
  275. package/src/components/modals/route-focus-modal/route-focus-modal.tsx +7 -4
  276. package/src/components/modals/route-modal-provider/route-provider.tsx +2 -2
  277. package/src/components/table/table-cells/common/date-cell/date-cell.tsx +10 -12
  278. package/src/{extensions/dashboard-extension-manager/dashboard-extension-manager.tsx → dashboard-app/dashboard-app.tsx} +168 -58
  279. package/src/{extensions → dashboard-app}/forms/form-extension-zone/form-extension-zone.tsx +5 -3
  280. package/src/{extensions → dashboard-app}/index.ts +1 -2
  281. package/src/dashboard-app/routes/get-route.map.tsx +1742 -0
  282. package/src/dashboard-app/routes/utils.ts +221 -0
  283. package/src/{extensions → dashboard-app}/types.ts +15 -0
  284. package/src/hooks/api/auth.tsx +1 -1
  285. package/src/hooks/api/customers.tsx +113 -0
  286. package/src/hooks/api/inventory.tsx +3 -0
  287. package/src/hooks/api/order-edits.tsx +1 -1
  288. package/src/hooks/table/query/use-product-table-query.tsx +4 -0
  289. package/src/hooks/use-combobox-data.tsx +6 -2
  290. package/src/i18n/languages.ts +15 -1
  291. package/src/i18n/translations/$schema.json +149 -5
  292. package/src/i18n/translations/__tests__/validate-translations.spec.ts +1 -0
  293. package/src/i18n/translations/bg.json +2983 -0
  294. package/src/i18n/translations/en.json +64 -25
  295. package/src/i18n/translations/index.ts +8 -0
  296. package/src/i18n/translations/lt.json +3003 -0
  297. package/src/i18n/translations/pl.json +359 -74
  298. package/src/index.ts +2 -0
  299. package/src/lib/payment.ts +8 -6
  300. package/src/providers/extension-provider/extension-context.tsx +8 -0
  301. package/src/providers/extension-provider/extension-provider.tsx +18 -0
  302. package/src/providers/extension-provider/index.ts +2 -0
  303. package/src/providers/extension-provider/use-extension.tsx +10 -0
  304. package/src/providers/providers.tsx +5 -7
  305. package/src/routes/api-key-management/api-key-management-detail/api-key-management-detail.tsx +2 -2
  306. package/src/routes/api-key-management/api-key-management-detail/components/api-key-general-section/api-key-general-section.tsx +3 -1
  307. package/src/routes/api-key-management/api-key-management-list/api-key-management-list.tsx +2 -2
  308. package/src/routes/campaigns/campaign-detail/campaign-detail.tsx +2 -2
  309. package/src/routes/campaigns/campaign-list/campaign-list.tsx +2 -2
  310. package/src/routes/categories/category-detail/category-detail.tsx +2 -2
  311. package/src/routes/categories/category-list/category-list.tsx +2 -2
  312. package/src/routes/collections/collection-detail/collection-detail.tsx +2 -2
  313. package/src/routes/collections/collection-list/collection-list.tsx +2 -2
  314. package/src/routes/customer-groups/customer-group-detail/customer-group-detail.tsx +2 -2
  315. package/src/routes/customer-groups/customer-group-list/components/customer-group-list-table/customer-group-list-table.tsx +8 -8
  316. package/src/routes/customer-groups/customer-group-list/customer-group-list.tsx +2 -2
  317. package/src/routes/customers/customer-create-address/components/create-customer-address-form/create-customer-address-form.tsx +282 -0
  318. package/src/routes/customers/customer-create-address/components/create-customer-address-form/index.ts +1 -0
  319. package/src/routes/customers/customer-create-address/customer-create-address.tsx +10 -0
  320. package/src/routes/customers/customer-create-address/index.ts +1 -0
  321. package/src/routes/customers/customer-detail/components/customer-address-section/customer-address-section.tsx +104 -0
  322. package/src/routes/customers/customer-detail/components/customer-address-section/index.ts +1 -0
  323. package/src/routes/customers/customer-detail/customer-detail.tsx +21 -11
  324. package/src/routes/customers/customer-detail/loader.ts +4 -1
  325. package/src/routes/customers/customer-list/customer-list.tsx +2 -2
  326. package/src/routes/inventory/inventory-detail/components/adjust-inventory/adjust-inventory-drawer.tsx +1 -1
  327. package/src/routes/inventory/inventory-detail/components/edit-inventory-item-attributes/components/edit-item-attributes-form.tsx +17 -0
  328. package/src/routes/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx +1 -0
  329. package/src/routes/inventory/inventory-detail/inventory-detail.tsx +2 -2
  330. package/src/routes/inventory/inventory-list/inventory-list.tsx +2 -2
  331. package/src/routes/locations/location-detail/components/location-general-section/location-general-section.tsx +13 -3
  332. package/src/routes/locations/location-detail/location-detail.tsx +2 -2
  333. package/src/routes/locations/location-list/location-list.tsx +10 -12
  334. package/src/routes/locations/location-service-zone-create/components/create-service-zone-form/create-service-zone-form.tsx +2 -3
  335. package/src/routes/locations/location-service-zone-edit/components/edit-region-form/edit-service-zone-form.tsx +4 -3
  336. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +54 -46
  337. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +8 -2
  338. package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-prices-form.tsx +27 -2
  339. package/src/routes/locations/location-service-zone-shipping-option-create/location-service-zone-shipping-option-create.tsx +14 -3
  340. package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +50 -42
  341. package/src/routes/locations/location-service-zone-shipping-option-edit/location-service-zone-shipping-option-edit.tsx +15 -1
  342. package/src/routes/login/login.tsx +2 -2
  343. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +22 -18
  344. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-outbound-section.tsx +29 -16
  345. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-inbound-section.tsx +20 -15
  346. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-outbound-section.tsx +30 -17
  347. package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +25 -18
  348. package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +22 -25
  349. package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +9 -7
  350. package/src/routes/orders/order-detail/components/order-fulfillment-section/order-fulfillment-section.tsx +27 -5
  351. package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +21 -28
  352. package/src/routes/orders/order-detail/constants.ts +1 -0
  353. package/src/routes/orders/order-detail/order-detail.tsx +2 -2
  354. package/src/routes/orders/order-list/order-list.tsx +2 -2
  355. package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +2 -2
  356. package/src/routes/price-lists/price-list-detail/components/price-list-configuration-section/price-list-configuration-section.tsx +1 -1
  357. package/src/routes/price-lists/price-list-detail/price-list-detail.tsx +2 -2
  358. package/src/routes/price-lists/price-list-list/price-list-list.tsx +2 -2
  359. package/src/routes/product-tags/product-tag-detail/product-tag-detail.tsx +2 -2
  360. package/src/routes/product-tags/product-tag-list/product-tag-list.tsx +2 -2
  361. package/src/routes/product-types/common/hooks/use-delete-product-type-action.tsx +7 -3
  362. package/src/routes/product-types/product-type-create/components/create-product-type-form/create-product-type-form.tsx +20 -23
  363. package/src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx +4 -1
  364. package/src/routes/product-types/product-type-detail/product-type-detail.tsx +2 -2
  365. package/src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx +4 -1
  366. package/src/routes/product-types/product-type-list/product-type-list.tsx +2 -2
  367. package/src/routes/product-variants/product-variant-detail/product-variant-detail.tsx +2 -2
  368. package/src/routes/product-variants/product-variant-manage-inventory-items/components/manage-variant-inventory-items-form/manage-variant-inventory-items-form.tsx +1 -1
  369. package/src/routes/products/product-attributes/components/product-attributes-form/product-attributes-form.tsx +3 -3
  370. package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/product-create-details-variant-section.tsx +2 -2
  371. package/src/routes/products/product-create/components/product-create-details-form/product-create-details-form.tsx +3 -5
  372. package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +10 -14
  373. package/src/routes/products/product-create/components/product-create-inventory-kit-form/components/product-create-inventory-kit-section/product-create-inventory-kit-section.tsx +1 -1
  374. package/src/routes/products/product-create/components/product-create-organize-form/components/product-create-organize-section/product-create-details-organize-section.tsx +3 -1
  375. package/src/routes/products/product-create/components/product-create-organize-form/product-create-organize-form.tsx +3 -5
  376. package/src/routes/products/product-create/constants.ts +4 -4
  377. package/src/routes/products/product-create/utils.ts +6 -6
  378. package/src/routes/products/product-detail/components/product-attribute-section/product-attribute-section.tsx +2 -2
  379. package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +2 -2
  380. package/src/routes/products/product-detail/components/product-organization-section/product-organization-section.tsx +2 -2
  381. package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +53 -16
  382. package/src/routes/products/product-detail/constants.ts +1 -1
  383. package/src/routes/products/product-detail/product-detail.tsx +2 -2
  384. package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +4 -6
  385. package/src/routes/products/product-export/product-export.tsx +1 -3
  386. package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +1 -0
  387. package/src/routes/products/product-list/loader.ts +7 -2
  388. package/src/routes/products/product-list/product-list.tsx +2 -2
  389. package/src/routes/products/product-organization/components/product-organization-form/product-organization-form.tsx +3 -3
  390. package/src/routes/products/product-prices/product-prices.tsx +1 -3
  391. package/src/routes/products/product-shipping-profile/components/product-organization-form/product-shipping-profile-form.tsx +13 -2
  392. package/src/routes/products/product-stock/components/product-stock-form/product-stock-form.tsx +2 -2
  393. package/src/routes/profile/profile-detail/profile-detail.tsx +2 -2
  394. package/src/routes/promotions/common/edit-rules/components/rule-value-form-field/rule-value-form-field.tsx +30 -54
  395. package/src/routes/promotions/promotion-detail/promotion-detail.tsx +2 -2
  396. package/src/routes/promotions/promotion-list/promotions-list.tsx +2 -2
  397. package/src/routes/regions/region-detail/region-detail.tsx +2 -2
  398. package/src/routes/regions/region-list/region-list.tsx +2 -2
  399. package/src/routes/reservations/reservation-detail/reservation-detail.tsx +3 -3
  400. package/src/routes/reservations/reservation-list/reservation-list.tsx +2 -2
  401. package/src/routes/return-reasons/return-reason-list/return-reason-list.tsx +2 -2
  402. package/src/routes/sales-channels/sales-channel-detail/sales-channel-detail.tsx +2 -2
  403. package/src/routes/sales-channels/sales-channel-list/sales-channel-list.tsx +2 -2
  404. package/src/routes/shipping-profiles/shipping-profile-detail/shipping-profile-detail.tsx +2 -2
  405. package/src/routes/shipping-profiles/shipping-profiles-list/shipping-profile-list.tsx +2 -2
  406. package/src/routes/store/store-detail/components/store-currency-section/{store-currencies-section.tsx/store-currency-section.tsx → store-currency-section.tsx} +9 -9
  407. package/src/routes/store/store-detail/store-detail.tsx +8 -8
  408. package/src/routes/tax-regions/tax-region-detail/tax-region-detail.tsx +2 -2
  409. package/src/routes/tax-regions/tax-region-list/tax-region-list.tsx +2 -2
  410. package/src/routes/tax-regions/tax-region-province-detail/tax-region-detail.tsx +2 -2
  411. package/src/routes/users/user-detail/user-detail.tsx +2 -2
  412. package/src/routes/users/user-list/user-list.tsx +2 -2
  413. package/src/routes/workflow-executions/workflow-execution-detail/workflow-detail.tsx +2 -2
  414. package/src/routes/workflow-executions/workflow-execution-list/workflow-execution-list.tsx +2 -2
  415. package/src/vite-env.d.ts +3 -0
  416. package/dist/chunk-53IEL2PE.mjs +0 -46
  417. package/dist/chunk-VIJAVLIU.mjs +0 -551
  418. package/dist/chunk-XWO5BP42.mjs +0 -37
  419. package/dist/collection-metadata-XSJPOGIP.mjs +0 -69
  420. package/dist/order-metadata-DRR355QQ.mjs +0 -69
  421. package/dist/product-metadata-EW6JGOKL.mjs +0 -67
  422. package/dist/product-type-create-5AWIC2HY.mjs +0 -107
  423. package/dist/store-metadata-Z2PO4TKS.mjs +0 -68
  424. package/dist/user-metadata-ISZ5VACI.mjs +0 -70
  425. package/index.html +0 -13
  426. package/src/components/common/inline-tip/index.ts +0 -1
  427. package/src/components/common/inline-tip/inline-tip.tsx +0 -60
  428. package/src/extensions/dashboard-extension-manager/index.ts +0 -2
  429. package/src/extensions/dashboard-extension-provider/dashboard-extension-context.tsx +0 -7
  430. package/src/extensions/dashboard-extension-provider/dashboard-extension-provider.tsx +0 -18
  431. package/src/extensions/dashboard-extension-provider/index.ts +0 -2
  432. package/src/extensions/dashboard-extension-provider/use-dashboard-extension.tsx +0 -12
  433. package/src/extensions/routes/utils.ts +0 -71
  434. package/src/providers/router-provider/index.ts +0 -1
  435. package/src/providers/router-provider/route-extensions.tsx +0 -12
  436. package/src/providers/router-provider/route-map.tsx +0 -1688
  437. package/src/providers/router-provider/router-provider.tsx +0 -14
  438. package/src/providers/router-provider/settings-extensions.tsx +0 -12
  439. package/dist/{chunk-RNCCSLPH.mjs → chunk-LBIOZZPA.mjs} +1 -1
  440. /package/src/{extensions → dashboard-app}/forms/form-extension-zone/index.ts +0 -0
  441. /package/src/{extensions → dashboard-app}/forms/form-extension-zone/types.ts +0 -0
  442. /package/src/{extensions → dashboard-app}/forms/form-extension-zone/utils.ts +0 -0
  443. /package/src/{extensions → dashboard-app}/forms/hooks.tsx +0 -0
  444. /package/src/{extensions → dashboard-app}/forms/index.ts +0 -0
  445. /package/src/{extensions → dashboard-app}/links/utils.ts +0 -0
  446. /package/src/routes/store/store-detail/components/store-currency-section/{store-currencies-section.tsx/index.ts → index.ts} +0 -0
@@ -1,1688 +0,0 @@
1
- import { HttpTypes } from "@medusajs/types"
2
- import { Outlet, RouteObject, UIMatch } from "react-router-dom"
3
-
4
- import { t } from "i18next"
5
- import { ProtectedRoute } from "../../components/authentication/protected-route"
6
- import { MainLayout } from "../../components/layout/main-layout"
7
- import { PublicLayout } from "../../components/layout/public-layout"
8
- import { SettingsLayout } from "../../components/layout/settings-layout"
9
- import { ErrorBoundary } from "../../components/utilities/error-boundary"
10
- import { TaxRegionDetailBreadcrumb } from "../../routes/tax-regions/tax-region-detail/breadcrumb"
11
- import { taxRegionLoader } from "../../routes/tax-regions/tax-region-detail/loader"
12
- import { RouteExtensions } from "./route-extensions"
13
- import { SettingsExtensions } from "./settings-extensions"
14
-
15
- export const RouteMap: RouteObject[] = [
16
- {
17
- element: <ProtectedRoute />,
18
- errorElement: <ErrorBoundary />,
19
- children: [
20
- {
21
- element: <MainLayout />,
22
- children: [
23
- {
24
- path: "/",
25
- errorElement: <ErrorBoundary />,
26
- lazy: () => import("../../routes/home"),
27
- },
28
- {
29
- path: "/products",
30
- errorElement: <ErrorBoundary />,
31
- handle: {
32
- breadcrumb: () => t("products.domain"),
33
- },
34
- children: [
35
- {
36
- path: "",
37
- lazy: () => import("../../routes/products/product-list"),
38
- children: [
39
- {
40
- path: "create",
41
- lazy: () => import("../../routes/products/product-create"),
42
- },
43
- {
44
- path: "import",
45
- lazy: () => import("../../routes/products/product-import"),
46
- },
47
- {
48
- path: "export",
49
- lazy: () => import("../../routes/products/product-export"),
50
- },
51
- ],
52
- },
53
- {
54
- path: ":id",
55
- errorElement: <ErrorBoundary />,
56
- lazy: async () => {
57
- const { Breadcrumb, loader } = await import(
58
- "../../routes/products/product-detail"
59
- )
60
-
61
- return {
62
- Component: Outlet,
63
- loader,
64
- handle: {
65
- breadcrumb: (
66
- match: UIMatch<HttpTypes.AdminProductResponse>
67
- ) => <Breadcrumb {...match} />,
68
- },
69
- }
70
- },
71
- children: [
72
- {
73
- path: "",
74
- lazy: () => import("../../routes/products/product-detail"),
75
- children: [
76
- {
77
- path: "edit",
78
- lazy: () =>
79
- import("../../routes/products/product-edit"),
80
- },
81
- {
82
- path: "edit-variant",
83
- lazy: () =>
84
- import(
85
- "../../routes/product-variants/product-variant-edit"
86
- ),
87
- },
88
- {
89
- path: "sales-channels",
90
- lazy: () =>
91
- import(
92
- "../../routes/products/product-sales-channels"
93
- ),
94
- },
95
- {
96
- path: "attributes",
97
- lazy: () =>
98
- import("../../routes/products/product-attributes"),
99
- },
100
- {
101
- path: "organization",
102
- lazy: () =>
103
- import("../../routes/products/product-organization"),
104
- },
105
- {
106
- path: "shipping-profile",
107
- lazy: () =>
108
- import(
109
- "../../routes/products/product-shipping-profile"
110
- ),
111
- },
112
- {
113
- path: "media",
114
- lazy: () =>
115
- import("../../routes/products/product-media"),
116
- },
117
- {
118
- path: "prices",
119
- lazy: () =>
120
- import("../../routes/products/product-prices"),
121
- },
122
- {
123
- path: "options/create",
124
- lazy: () =>
125
- import("../../routes/products/product-create-option"),
126
- },
127
- {
128
- path: "options/:option_id/edit",
129
- lazy: () =>
130
- import("../../routes/products/product-edit-option"),
131
- },
132
- {
133
- path: "variants/create",
134
- lazy: () =>
135
- import(
136
- "../../routes/products/product-create-variant"
137
- ),
138
- },
139
- {
140
- path: "stock",
141
- lazy: () =>
142
- import("../../routes/products/product-stock"),
143
- },
144
- {
145
- path: "metadata/edit",
146
- lazy: () =>
147
- import("../../routes/products/product-metadata"),
148
- },
149
- ],
150
- },
151
- {
152
- path: "variants/:variant_id",
153
- lazy: async () => {
154
- const { Component, Breadcrumb, loader } = await import(
155
- "../../routes/product-variants/product-variant-detail"
156
- )
157
-
158
- return {
159
- Component,
160
- loader,
161
- handle: {
162
- breadcrumb: (
163
- // eslint-disable-next-line max-len
164
- match: UIMatch<HttpTypes.AdminProductVariantResponse>
165
- ) => <Breadcrumb {...match} />,
166
- },
167
- }
168
- },
169
- children: [
170
- {
171
- path: "edit",
172
- lazy: () =>
173
- import(
174
- "../../routes/product-variants/product-variant-edit"
175
- ),
176
- },
177
- {
178
- path: "prices",
179
- lazy: () =>
180
- import("../../routes/products/product-prices"),
181
- },
182
- {
183
- path: "manage-items",
184
- lazy: () =>
185
- import(
186
- "../../routes/product-variants/product-variant-manage-inventory-items"
187
- ),
188
- },
189
- {
190
- path: "metadata/edit",
191
- lazy: () =>
192
- import(
193
- "../../routes/product-variants/product-variant-metadata"
194
- ),
195
- },
196
- ],
197
- },
198
- ],
199
- },
200
- ],
201
- },
202
- {
203
- path: "/categories",
204
- errorElement: <ErrorBoundary />,
205
- handle: {
206
- breadcrumb: () => t("categories.domain"),
207
- },
208
- children: [
209
- {
210
- path: "",
211
- lazy: () => import("../../routes/categories/category-list"),
212
- children: [
213
- {
214
- path: "create",
215
- lazy: () =>
216
- import("../../routes/categories/category-create"),
217
- },
218
- {
219
- path: "organize",
220
- lazy: () =>
221
- import("../../routes/categories/category-organize"),
222
- },
223
- ],
224
- },
225
- {
226
- path: ":id",
227
- lazy: async () => {
228
- const { Component, Breadcrumb, loader } = await import(
229
- "../../routes/categories/category-detail"
230
- )
231
-
232
- return {
233
- Component,
234
- loader,
235
- handle: {
236
- breadcrumb: (
237
- match: UIMatch<HttpTypes.AdminProductCategoryResponse>
238
- ) => <Breadcrumb {...match} />,
239
- },
240
- }
241
- },
242
- children: [
243
- {
244
- path: "edit",
245
- lazy: () => import("../../routes/categories/category-edit"),
246
- },
247
- {
248
- path: "products",
249
- lazy: () =>
250
- import("../../routes/categories/category-products"),
251
- },
252
- {
253
- path: "organize",
254
- lazy: () =>
255
- import("../../routes/categories/category-organize"),
256
- },
257
- {
258
- path: "metadata/edit",
259
- lazy: () =>
260
- import("../../routes/categories/categories-metadata"),
261
- },
262
- ],
263
- },
264
- ],
265
- },
266
- {
267
- path: "/orders",
268
- errorElement: <ErrorBoundary />,
269
- handle: {
270
- breadcrumb: () => t("orders.domain"),
271
- },
272
- children: [
273
- {
274
- path: "",
275
- lazy: () => import("../../routes/orders/order-list"),
276
- },
277
- {
278
- path: ":id",
279
- lazy: async () => {
280
- const { Component, Breadcrumb, loader } = await import(
281
- "../../routes/orders/order-detail"
282
- )
283
-
284
- return {
285
- Component,
286
- loader,
287
- handle: {
288
- breadcrumb: (
289
- match: UIMatch<HttpTypes.AdminOrderResponse>
290
- ) => <Breadcrumb {...match} />,
291
- },
292
- }
293
- },
294
- children: [
295
- {
296
- path: "fulfillment",
297
- lazy: () =>
298
- import("../../routes/orders/order-create-fulfillment"),
299
- },
300
- {
301
- path: "returns/:return_id/receive",
302
- lazy: () =>
303
- import("../../routes/orders/order-receive-return"),
304
- },
305
- {
306
- path: "allocate-items",
307
- lazy: () =>
308
- import("../../routes/orders/order-allocate-items"),
309
- },
310
- {
311
- path: ":f_id/create-shipment",
312
- lazy: () =>
313
- import("../../routes/orders/order-create-shipment"),
314
- },
315
- {
316
- path: "returns",
317
- lazy: () =>
318
- import("../../routes/orders/order-create-return"),
319
- },
320
- {
321
- path: "claims",
322
- lazy: () =>
323
- import("../../routes/orders/order-create-claim"),
324
- },
325
- {
326
- path: "exchanges",
327
- lazy: () =>
328
- import("../../routes/orders/order-create-exchange"),
329
- },
330
- {
331
- path: "edits",
332
- lazy: () => import("../../routes/orders/order-create-edit"),
333
- },
334
- {
335
- path: "refund",
336
- lazy: () =>
337
- import("../../routes/orders/order-create-refund"),
338
- },
339
- {
340
- path: "transfer",
341
- lazy: () =>
342
- import("../../routes/orders/order-request-transfer"),
343
- },
344
- {
345
- path: "email",
346
- lazy: () => import("../../routes/orders/order-edit-email"),
347
- },
348
- {
349
- path: "shipping-address",
350
- lazy: () =>
351
- import("../../routes/orders/order-edit-shipping-address"),
352
- },
353
- {
354
- path: "billing-address",
355
- lazy: () =>
356
- import("../../routes/orders/order-edit-billing-address"),
357
- },
358
- {
359
- path: "metadata/edit",
360
- lazy: () => import("../../routes/orders/order-metadata"),
361
- },
362
- ],
363
- },
364
- ],
365
- },
366
- {
367
- path: "/promotions",
368
- errorElement: <ErrorBoundary />,
369
- handle: {
370
- breadcrumb: () => t("promotions.domain"),
371
- },
372
- children: [
373
- {
374
- path: "",
375
- lazy: () => import("../../routes/promotions/promotion-list"),
376
- },
377
- {
378
- path: "create",
379
- lazy: () => import("../../routes/promotions/promotion-create"),
380
- },
381
- {
382
- path: ":id",
383
- lazy: async () => {
384
- const { Component, Breadcrumb, loader } = await import(
385
- "../../routes/promotions/promotion-detail"
386
- )
387
-
388
- return {
389
- Component,
390
- loader,
391
- handle: {
392
- breadcrumb: (
393
- match: UIMatch<HttpTypes.AdminPromotionResponse>
394
- ) => <Breadcrumb {...match} />,
395
- },
396
- }
397
- },
398
- children: [
399
- {
400
- path: "edit",
401
- lazy: () =>
402
- import("../../routes/promotions/promotion-edit-details"),
403
- },
404
- {
405
- path: "add-to-campaign",
406
- lazy: () =>
407
- import("../../routes/promotions/promotion-add-campaign"),
408
- },
409
- {
410
- path: ":ruleType/edit",
411
- lazy: () =>
412
- import("../../routes/promotions/common/edit-rules"),
413
- },
414
- ],
415
- },
416
- ],
417
- },
418
- {
419
- path: "/campaigns",
420
- errorElement: <ErrorBoundary />,
421
- handle: {
422
- breadcrumb: () => t("campaigns.domain"),
423
- },
424
- children: [
425
- {
426
- path: "",
427
- lazy: () => import("../../routes/campaigns/campaign-list"),
428
- children: [],
429
- },
430
- {
431
- path: "create",
432
- lazy: () => import("../../routes/campaigns/campaign-create"),
433
- },
434
- {
435
- path: ":id",
436
- lazy: async () => {
437
- const { Component, Breadcrumb, loader } = await import(
438
- "../../routes/campaigns/campaign-detail"
439
- )
440
-
441
- return {
442
- Component,
443
- loader,
444
- handle: {
445
- breadcrumb: (
446
- match: UIMatch<HttpTypes.AdminCampaignResponse>
447
- ) => <Breadcrumb {...match} />,
448
- },
449
- }
450
- },
451
- children: [
452
- {
453
- path: "edit",
454
- lazy: () => import("../../routes/campaigns/campaign-edit"),
455
- },
456
- {
457
- path: "configuration",
458
- lazy: () =>
459
- import("../../routes/campaigns/campaign-configuration"),
460
- },
461
- {
462
- path: "edit-budget",
463
- lazy: () =>
464
- import("../../routes/campaigns/campaign-budget-edit"),
465
- },
466
- {
467
- path: "add-promotions",
468
- lazy: () =>
469
- import("../../routes/campaigns/add-campaign-promotions"),
470
- },
471
- ],
472
- },
473
- ],
474
- },
475
- {
476
- path: "/collections",
477
- errorElement: <ErrorBoundary />,
478
- handle: {
479
- breadcrumb: () => t("collections.domain"),
480
- },
481
- children: [
482
- {
483
- path: "",
484
- lazy: () => import("../../routes/collections/collection-list"),
485
- children: [
486
- {
487
- path: "create",
488
- lazy: () =>
489
- import("../../routes/collections/collection-create"),
490
- },
491
- ],
492
- },
493
- {
494
- path: ":id",
495
- lazy: async () => {
496
- const { Component, Breadcrumb, loader } = await import(
497
- "../../routes/collections/collection-detail"
498
- )
499
-
500
- return {
501
- Component,
502
- loader,
503
- handle: {
504
- breadcrumb: (
505
- match: UIMatch<HttpTypes.AdminCollectionResponse>
506
- ) => <Breadcrumb {...match} />,
507
- },
508
- }
509
- },
510
- children: [
511
- {
512
- path: "edit",
513
- lazy: () =>
514
- import("../../routes/collections/collection-edit"),
515
- },
516
- {
517
- path: "products",
518
- lazy: () =>
519
- import(
520
- "../../routes/collections/collection-add-products"
521
- ),
522
- },
523
- {
524
- path: "metadata/edit",
525
- lazy: () =>
526
- import("../../routes/collections/collection-metadata"),
527
- },
528
- ],
529
- },
530
- ],
531
- },
532
- {
533
- path: "/price-lists",
534
- errorElement: <ErrorBoundary />,
535
- handle: {
536
- breadcrumb: () => t("priceLists.domain"),
537
- },
538
- children: [
539
- {
540
- path: "",
541
- lazy: () => import("../../routes/price-lists/price-list-list"),
542
- children: [
543
- {
544
- path: "create",
545
- lazy: () =>
546
- import("../../routes/price-lists/price-list-create"),
547
- },
548
- ],
549
- },
550
- {
551
- path: ":id",
552
- lazy: async () => {
553
- const { Component, Breadcrumb, loader } = await import(
554
- "../../routes/price-lists/price-list-detail"
555
- )
556
-
557
- return {
558
- Component,
559
- loader,
560
- handle: {
561
- breadcrumb: (
562
- match: UIMatch<HttpTypes.AdminPriceListResponse>
563
- ) => <Breadcrumb {...match} />,
564
- },
565
- }
566
- },
567
- children: [
568
- {
569
- path: "edit",
570
- lazy: () =>
571
- import("../../routes/price-lists/price-list-edit"),
572
- },
573
- {
574
- path: "configuration",
575
- lazy: () =>
576
- import(
577
- "../../routes/price-lists/price-list-configuration"
578
- ),
579
- },
580
- {
581
- path: "products/add",
582
- lazy: () =>
583
- import("../../routes/price-lists/price-list-prices-add"),
584
- },
585
- {
586
- path: "products/edit",
587
- lazy: () =>
588
- import("../../routes/price-lists/price-list-prices-edit"),
589
- },
590
- ],
591
- },
592
- ],
593
- },
594
- {
595
- path: "/customers",
596
- errorElement: <ErrorBoundary />,
597
- handle: {
598
- breadcrumb: () => t("customers.domain"),
599
- },
600
- children: [
601
- {
602
- path: "",
603
- lazy: () => import("../../routes/customers/customer-list"),
604
- children: [
605
- {
606
- path: "create",
607
- lazy: () =>
608
- import("../../routes/customers/customer-create"),
609
- },
610
- ],
611
- },
612
- {
613
- path: ":id",
614
- lazy: async () => {
615
- const { Component, Breadcrumb, loader } = await import(
616
- "../../routes/customers/customer-detail"
617
- )
618
-
619
- return {
620
- Component,
621
- loader,
622
- handle: {
623
- breadcrumb: (
624
- match: UIMatch<HttpTypes.AdminCustomerResponse>
625
- ) => <Breadcrumb {...match} />,
626
- },
627
- }
628
- },
629
- children: [
630
- {
631
- path: "edit",
632
- lazy: () => import("../../routes/customers/customer-edit"),
633
- },
634
- {
635
- path: "add-customer-groups",
636
- lazy: () =>
637
- import(
638
- "../../routes/customers/customers-add-customer-group"
639
- ),
640
- },
641
- {
642
- path: ":order_id/transfer",
643
- lazy: () =>
644
- import("../../routes/orders/order-request-transfer"),
645
- },
646
- {
647
- path: "metadata/edit",
648
- lazy: () =>
649
- import("../../routes/customers/customer-metadata"),
650
- },
651
- ],
652
- },
653
- ],
654
- },
655
- {
656
- path: "/customer-groups",
657
- errorElement: <ErrorBoundary />,
658
- handle: {
659
- breadcrumb: () => t("customerGroups.domain"),
660
- },
661
- children: [
662
- {
663
- path: "",
664
- lazy: () =>
665
- import("../../routes/customer-groups/customer-group-list"),
666
- children: [
667
- {
668
- path: "create",
669
- lazy: () =>
670
- import(
671
- "../../routes/customer-groups/customer-group-create"
672
- ),
673
- },
674
- ],
675
- },
676
- {
677
- path: ":id",
678
- lazy: async () => {
679
- const { Component, Breadcrumb, loader } = await import(
680
- "../../routes/customer-groups/customer-group-detail"
681
- )
682
-
683
- return {
684
- Component,
685
- loader,
686
- handle: {
687
- breadcrumb: (
688
- match: UIMatch<HttpTypes.AdminCustomerGroupResponse>
689
- ) => <Breadcrumb {...match} />,
690
- },
691
- }
692
- },
693
- children: [
694
- {
695
- path: "edit",
696
- lazy: () =>
697
- import(
698
- "../../routes/customer-groups/customer-group-edit"
699
- ),
700
- },
701
- {
702
- path: "add-customers",
703
- lazy: () =>
704
- import(
705
- "../../routes/customer-groups/customer-group-add-customers"
706
- ),
707
- },
708
- {
709
- path: "metadata/edit",
710
- lazy: () =>
711
- import(
712
- "../../routes/customer-groups/customer-group-metadata"
713
- ),
714
- },
715
- ],
716
- },
717
- ],
718
- },
719
- {
720
- path: "/reservations",
721
- errorElement: <ErrorBoundary />,
722
- handle: {
723
- breadcrumb: () => t("reservations.domain"),
724
- },
725
- children: [
726
- {
727
- path: "",
728
- lazy: () =>
729
- import("../../routes/reservations/reservation-list"),
730
- children: [
731
- {
732
- path: "create",
733
- lazy: () =>
734
- import("../../routes/reservations/reservation-create"),
735
- },
736
- ],
737
- },
738
- {
739
- path: ":id",
740
- lazy: async () => {
741
- const { Component, Breadcrumb, loader } = await import(
742
- "../../routes/reservations/reservation-detail"
743
- )
744
-
745
- return {
746
- Component,
747
- loader,
748
- handle: {
749
- breadcrumb: (
750
- match: UIMatch<HttpTypes.AdminReservationResponse>
751
- ) => <Breadcrumb {...match} />,
752
- },
753
- }
754
- },
755
- children: [
756
- {
757
- path: "edit",
758
- lazy: () =>
759
- import(
760
- "../../routes/reservations/reservation-detail/components/edit-reservation"
761
- ),
762
- },
763
- {
764
- path: "metadata/edit",
765
- lazy: () =>
766
- import("../../routes/reservations/reservation-metadata"),
767
- },
768
- ],
769
- },
770
- ],
771
- },
772
- {
773
- path: "/inventory",
774
- errorElement: <ErrorBoundary />,
775
- handle: {
776
- breadcrumb: () => t("inventory.domain"),
777
- },
778
- children: [
779
- {
780
- path: "",
781
- lazy: () => import("../../routes/inventory/inventory-list"),
782
- children: [
783
- {
784
- path: "create",
785
- lazy: () =>
786
- import("../../routes/inventory/inventory-create"),
787
- },
788
- {
789
- path: "stock",
790
- lazy: () =>
791
- import("../../routes/inventory/inventory-stock"),
792
- },
793
- ],
794
- },
795
- {
796
- path: ":id",
797
- lazy: async () => {
798
- const { Component, Breadcrumb, loader } = await import(
799
- "../../routes/inventory/inventory-detail"
800
- )
801
-
802
- return {
803
- Component,
804
- loader,
805
- handle: {
806
- breadcrumb: (
807
- match: UIMatch<HttpTypes.AdminInventoryItemResponse>
808
- ) => <Breadcrumb {...match} />,
809
- },
810
- }
811
- },
812
- children: [
813
- {
814
- path: "edit",
815
- lazy: () =>
816
- import(
817
- "../../routes/inventory/inventory-detail/components/edit-inventory-item"
818
- ),
819
- },
820
- {
821
- path: "attributes",
822
- lazy: () =>
823
- import(
824
- "../../routes/inventory/inventory-detail/components/edit-inventory-item-attributes"
825
- ),
826
- },
827
- {
828
- path: "metadata/edit",
829
- lazy: () =>
830
- import("../../routes/inventory/inventory-metadata"),
831
- },
832
- {
833
- path: "locations",
834
- lazy: () =>
835
- import(
836
- "../../routes/inventory/inventory-detail/components/manage-locations"
837
- ),
838
- },
839
- {
840
- path: "locations/:location_id",
841
- lazy: () =>
842
- import(
843
- "../../routes/inventory/inventory-detail/components/adjust-inventory"
844
- ),
845
- },
846
- ],
847
- },
848
- ],
849
- },
850
- ...RouteExtensions,
851
- ],
852
- },
853
- ],
854
- },
855
- {
856
- element: <ProtectedRoute />,
857
- errorElement: <ErrorBoundary />,
858
- children: [
859
- {
860
- path: "/settings",
861
- handle: {
862
- breadcrumb: () => t("app.nav.settings.header"),
863
- },
864
- element: <SettingsLayout />,
865
- children: [
866
- {
867
- index: true,
868
- errorElement: <ErrorBoundary />,
869
- lazy: () => import("../../routes/settings"),
870
- },
871
- {
872
- path: "profile",
873
- errorElement: <ErrorBoundary />,
874
- lazy: () => import("../../routes/profile/profile-detail"),
875
- handle: {
876
- breadcrumb: () => t("profile.domain"),
877
- },
878
- children: [
879
- {
880
- path: "edit",
881
- lazy: () => import("../../routes/profile/profile-edit"),
882
- },
883
- ],
884
- },
885
- {
886
- path: "regions",
887
- errorElement: <ErrorBoundary />,
888
- element: <Outlet />,
889
- handle: {
890
- breadcrumb: () => t("regions.domain"),
891
- },
892
- children: [
893
- {
894
- path: "",
895
- lazy: () => import("../../routes/regions/region-list"),
896
- children: [
897
- {
898
- path: "create",
899
- lazy: () => import("../../routes/regions/region-create"),
900
- },
901
- ],
902
- },
903
- {
904
- path: ":id",
905
- lazy: async () => {
906
- const { Component, Breadcrumb, loader } = await import(
907
- "../../routes/regions/region-detail"
908
- )
909
-
910
- return {
911
- Component,
912
- loader,
913
- handle: {
914
- breadcrumb: (
915
- match: UIMatch<HttpTypes.AdminRegionResponse>
916
- ) => <Breadcrumb {...match} />,
917
- },
918
- }
919
- },
920
- children: [
921
- {
922
- path: "edit",
923
- lazy: () => import("../../routes/regions/region-edit"),
924
- },
925
- {
926
- path: "countries/add",
927
- lazy: () =>
928
- import("../../routes/regions/region-add-countries"),
929
- },
930
- {
931
- path: "metadata/edit",
932
- lazy: () => import("../../routes/regions/region-metadata"),
933
- },
934
- ],
935
- },
936
- ],
937
- },
938
- {
939
- path: "store",
940
- errorElement: <ErrorBoundary />,
941
- lazy: () => import("../../routes/store/store-detail"),
942
- handle: {
943
- breadcrumb: () => t("store.domain"),
944
- },
945
- children: [
946
- {
947
- path: "edit",
948
- lazy: () => import("../../routes/store/store-edit"),
949
- },
950
- {
951
- path: "currencies",
952
- lazy: () => import("../../routes/store/store-add-currencies"),
953
- },
954
- {
955
- path: "metadata/edit",
956
- lazy: () => import("../../routes/store/store-metadata"),
957
- },
958
- ],
959
- },
960
- {
961
- path: "users",
962
- errorElement: <ErrorBoundary />,
963
- element: <Outlet />,
964
- handle: {
965
- breadcrumb: () => t("users.domain"),
966
- },
967
- children: [
968
- {
969
- path: "",
970
- lazy: () => import("../../routes/users/user-list"),
971
- children: [
972
- {
973
- path: "invite",
974
- lazy: () => import("../../routes/users/user-invite"),
975
- },
976
- ],
977
- },
978
- {
979
- path: ":id",
980
- lazy: async () => {
981
- const { Component, Breadcrumb, loader } = await import(
982
- "../../routes/users/user-detail"
983
- )
984
-
985
- return {
986
- Component,
987
- loader,
988
- handle: {
989
- breadcrumb: (
990
- match: UIMatch<HttpTypes.AdminUserResponse>
991
- ) => <Breadcrumb {...match} />,
992
- },
993
- }
994
- },
995
- children: [
996
- {
997
- path: "edit",
998
- lazy: () => import("../../routes/users/user-edit"),
999
- },
1000
- {
1001
- path: "metadata/edit",
1002
- lazy: () => import("../../routes/users/user-metadata"),
1003
- },
1004
- ],
1005
- },
1006
- ],
1007
- },
1008
- {
1009
- path: "sales-channels",
1010
- errorElement: <ErrorBoundary />,
1011
- element: <Outlet />,
1012
- handle: {
1013
- breadcrumb: () => t("salesChannels.domain"),
1014
- },
1015
- children: [
1016
- {
1017
- path: "",
1018
- lazy: () =>
1019
- import("../../routes/sales-channels/sales-channel-list"),
1020
- children: [
1021
- {
1022
- path: "create",
1023
- lazy: () =>
1024
- import(
1025
- "../../routes/sales-channels/sales-channel-create"
1026
- ),
1027
- },
1028
- ],
1029
- },
1030
- {
1031
- path: ":id",
1032
- lazy: async () => {
1033
- const { Component, Breadcrumb, loader } = await import(
1034
- "../../routes/sales-channels/sales-channel-detail"
1035
- )
1036
-
1037
- return {
1038
- Component,
1039
- loader,
1040
- handle: {
1041
- breadcrumb: (
1042
- match: UIMatch<HttpTypes.AdminSalesChannelResponse>
1043
- ) => <Breadcrumb {...match} />,
1044
- },
1045
- }
1046
- },
1047
- children: [
1048
- {
1049
- path: "edit",
1050
- lazy: () =>
1051
- import("../../routes/sales-channels/sales-channel-edit"),
1052
- },
1053
- {
1054
- path: "add-products",
1055
- lazy: () =>
1056
- import(
1057
- "../../routes/sales-channels/sales-channel-add-products"
1058
- ),
1059
- },
1060
- {
1061
- path: "metadata/edit",
1062
- lazy: () =>
1063
- import(
1064
- "../../routes/sales-channels/sales-channel-metadata"
1065
- ),
1066
- },
1067
- ],
1068
- },
1069
- ],
1070
- },
1071
- {
1072
- path: "locations",
1073
- errorElement: <ErrorBoundary />,
1074
- element: <Outlet />,
1075
- handle: {
1076
- breadcrumb: () => t("locations.domain"),
1077
- },
1078
- children: [
1079
- {
1080
- path: "",
1081
- lazy: () => import("../../routes/locations/location-list"),
1082
- },
1083
- {
1084
- path: "create",
1085
- lazy: () => import("../../routes/locations/location-create"),
1086
- },
1087
- {
1088
- path: "shipping-profiles",
1089
- element: <Outlet />,
1090
- handle: {
1091
- breadcrumb: () => t("shippingProfile.domain"),
1092
- },
1093
- children: [
1094
- {
1095
- path: "",
1096
- lazy: () =>
1097
- import(
1098
- "../../routes/shipping-profiles/shipping-profiles-list"
1099
- ),
1100
- children: [
1101
- {
1102
- path: "create",
1103
- lazy: () =>
1104
- import(
1105
- "../../routes/shipping-profiles/shipping-profile-create"
1106
- ),
1107
- },
1108
- ],
1109
- },
1110
- {
1111
- path: ":shipping_profile_id",
1112
- lazy: async () => {
1113
- const { Component, Breadcrumb, loader } = await import(
1114
- "../../routes/shipping-profiles/shipping-profile-detail"
1115
- )
1116
-
1117
- return {
1118
- Component,
1119
- loader,
1120
- handle: {
1121
- breadcrumb: (
1122
- // eslint-disable-next-line max-len
1123
- match: UIMatch<HttpTypes.AdminShippingProfileResponse>
1124
- ) => <Breadcrumb {...match} />,
1125
- },
1126
- }
1127
- },
1128
- children: [
1129
- {
1130
- path: "metadata/edit",
1131
- lazy: () =>
1132
- import(
1133
- "../../routes/shipping-profiles/shipping-profile-metadata"
1134
- ),
1135
- },
1136
- ],
1137
- },
1138
- ],
1139
- },
1140
- {
1141
- path: ":location_id",
1142
- lazy: async () => {
1143
- const { Component, Breadcrumb, loader } = await import(
1144
- "../../routes/locations/location-detail"
1145
- )
1146
-
1147
- return {
1148
- Component,
1149
- loader,
1150
- handle: {
1151
- breadcrumb: (
1152
- match: UIMatch<HttpTypes.AdminStockLocationResponse>
1153
- ) => <Breadcrumb {...match} />,
1154
- },
1155
- }
1156
- },
1157
- children: [
1158
- {
1159
- path: "edit",
1160
- lazy: () => import("../../routes/locations/location-edit"),
1161
- },
1162
- {
1163
- path: "sales-channels",
1164
- lazy: () =>
1165
- import("../../routes/locations/location-sales-channels"),
1166
- },
1167
- {
1168
- path: "fulfillment-providers",
1169
- lazy: () =>
1170
- import(
1171
- "../../routes/locations/location-fulfillment-providers"
1172
- ),
1173
- },
1174
- {
1175
- path: "fulfillment-set/:fset_id",
1176
- children: [
1177
- {
1178
- path: "service-zones/create",
1179
- lazy: () =>
1180
- import(
1181
- "../../routes/locations/location-service-zone-create"
1182
- ),
1183
- },
1184
- {
1185
- path: "service-zone/:zone_id",
1186
- children: [
1187
- {
1188
- path: "edit",
1189
- lazy: () =>
1190
- import(
1191
- "../../routes/locations/location-service-zone-edit"
1192
- ),
1193
- },
1194
- {
1195
- path: "areas",
1196
- lazy: () =>
1197
- import(
1198
- "../../routes/locations/location-service-zone-manage-areas"
1199
- ),
1200
- },
1201
- {
1202
- path: "shipping-option",
1203
- children: [
1204
- {
1205
- path: "create",
1206
- lazy: () =>
1207
- import(
1208
- "../../routes/locations/location-service-zone-shipping-option-create"
1209
- ),
1210
- },
1211
- {
1212
- path: ":so_id",
1213
- children: [
1214
- {
1215
- path: "edit",
1216
- lazy: () =>
1217
- import(
1218
- "../../routes/locations/location-service-zone-shipping-option-edit"
1219
- ),
1220
- },
1221
- {
1222
- path: "pricing",
1223
- lazy: () =>
1224
- import(
1225
- "../../routes/locations/location-service-zone-shipping-option-pricing"
1226
- ),
1227
- },
1228
- ],
1229
- },
1230
- ],
1231
- },
1232
- ],
1233
- },
1234
- ],
1235
- },
1236
- ],
1237
- },
1238
- ],
1239
- },
1240
- {
1241
- path: "product-tags",
1242
- errorElement: <ErrorBoundary />,
1243
- element: <Outlet />,
1244
- handle: {
1245
- breadcrumb: () => t("productTags.domain"),
1246
- },
1247
- children: [
1248
- {
1249
- path: "",
1250
- lazy: () =>
1251
- import("../../routes/product-tags/product-tag-list"),
1252
- children: [
1253
- {
1254
- path: "create",
1255
- lazy: () =>
1256
- import("../../routes/product-tags/product-tag-create"),
1257
- },
1258
- ],
1259
- },
1260
- {
1261
- path: ":id",
1262
- lazy: async () => {
1263
- const { Component, Breadcrumb, loader } = await import(
1264
- "../../routes/product-tags/product-tag-detail"
1265
- )
1266
-
1267
- return {
1268
- Component,
1269
- loader,
1270
- handle: {
1271
- breadcrumb: (
1272
- match: UIMatch<HttpTypes.AdminProductTagResponse>
1273
- ) => <Breadcrumb {...match} />,
1274
- },
1275
- }
1276
- },
1277
- children: [
1278
- {
1279
- path: "edit",
1280
- lazy: () =>
1281
- import("../../routes/product-tags/product-tag-edit"),
1282
- },
1283
- ],
1284
- },
1285
- ],
1286
- },
1287
- {
1288
- path: "workflows",
1289
- errorElement: <ErrorBoundary />,
1290
- element: <Outlet />,
1291
- handle: {
1292
- breadcrumb: () => t("workflowExecutions.domain"),
1293
- },
1294
- children: [
1295
- {
1296
- path: "",
1297
- lazy: () =>
1298
- import(
1299
- "../../routes/workflow-executions/workflow-execution-list"
1300
- ),
1301
- },
1302
- {
1303
- path: ":id",
1304
- lazy: async () => {
1305
- const { Component, Breadcrumb, loader } = await import(
1306
- "../../routes/workflow-executions/workflow-execution-detail"
1307
- )
1308
-
1309
- return {
1310
- Component,
1311
- loader,
1312
- handle: {
1313
- breadcrumb: (
1314
- match: UIMatch<HttpTypes.AdminWorkflowExecutionResponse>
1315
- ) => <Breadcrumb {...match} />,
1316
- },
1317
- }
1318
- },
1319
- },
1320
- ],
1321
- },
1322
- {
1323
- path: "product-types",
1324
- errorElement: <ErrorBoundary />,
1325
- element: <Outlet />,
1326
- handle: {
1327
- breadcrumb: () => t("productTypes.domain"),
1328
- },
1329
- children: [
1330
- {
1331
- path: "",
1332
- lazy: () =>
1333
- import("../../routes/product-types/product-type-list"),
1334
- children: [
1335
- {
1336
- path: "create",
1337
- lazy: () =>
1338
- import("../../routes/product-types/product-type-create"),
1339
- },
1340
- ],
1341
- },
1342
- {
1343
- path: ":id",
1344
- lazy: async () => {
1345
- const { Component, Breadcrumb, loader } = await import(
1346
- "../../routes/product-types/product-type-detail"
1347
- )
1348
-
1349
- return {
1350
- Component,
1351
- loader,
1352
- handle: {
1353
- breadcrumb: (
1354
- match: UIMatch<HttpTypes.AdminProductTypeResponse>
1355
- ) => <Breadcrumb {...match} />,
1356
- },
1357
- }
1358
- },
1359
- children: [
1360
- {
1361
- path: "edit",
1362
- lazy: () =>
1363
- import("../../routes/product-types/product-type-edit"),
1364
- },
1365
- ],
1366
- },
1367
- ],
1368
- },
1369
- {
1370
- path: "publishable-api-keys",
1371
- element: <Outlet />,
1372
- handle: {
1373
- breadcrumb: () => t("apiKeyManagement.domain.publishable"),
1374
- },
1375
- children: [
1376
- {
1377
- path: "",
1378
- element: <Outlet />,
1379
- children: [
1380
- {
1381
- path: "",
1382
- lazy: () =>
1383
- import(
1384
- "../../routes/api-key-management/api-key-management-list"
1385
- ),
1386
- children: [
1387
- {
1388
- path: "create",
1389
- lazy: () =>
1390
- import(
1391
- "../../routes/api-key-management/api-key-management-create"
1392
- ),
1393
- },
1394
- ],
1395
- },
1396
- ],
1397
- },
1398
- {
1399
- path: ":id",
1400
- lazy: async () => {
1401
- const { Component, Breadcrumb, loader } = await import(
1402
- "../../routes/api-key-management/api-key-management-detail"
1403
- )
1404
-
1405
- return {
1406
- Component,
1407
- loader,
1408
- handle: {
1409
- breadcrumb: (
1410
- match: UIMatch<HttpTypes.AdminApiKeyResponse>
1411
- ) => <Breadcrumb {...match} />,
1412
- },
1413
- }
1414
- },
1415
- children: [
1416
- {
1417
- path: "edit",
1418
- lazy: () =>
1419
- import(
1420
- "../../routes/api-key-management/api-key-management-edit"
1421
- ),
1422
- },
1423
- {
1424
- path: "sales-channels",
1425
- lazy: () =>
1426
- import(
1427
- "../../routes/api-key-management/api-key-management-sales-channels"
1428
- ),
1429
- },
1430
- ],
1431
- },
1432
- ],
1433
- },
1434
- {
1435
- path: "secret-api-keys",
1436
- element: <Outlet />,
1437
- handle: {
1438
- breadcrumb: () => t("apiKeyManagement.domain.secret"),
1439
- },
1440
- children: [
1441
- {
1442
- path: "",
1443
- element: <Outlet />,
1444
- children: [
1445
- {
1446
- path: "",
1447
- lazy: () =>
1448
- import(
1449
- "../../routes/api-key-management/api-key-management-list"
1450
- ),
1451
- children: [
1452
- {
1453
- path: "create",
1454
- lazy: () =>
1455
- import(
1456
- "../../routes/api-key-management/api-key-management-create"
1457
- ),
1458
- },
1459
- ],
1460
- },
1461
- ],
1462
- },
1463
- {
1464
- path: ":id",
1465
- lazy: async () => {
1466
- const { Component, Breadcrumb, loader } = await import(
1467
- "../../routes/api-key-management/api-key-management-detail"
1468
- )
1469
-
1470
- return {
1471
- Component,
1472
- loader,
1473
- handle: {
1474
- breadcrumb: (
1475
- match: UIMatch<HttpTypes.AdminApiKeyResponse>
1476
- ) => <Breadcrumb {...match} />,
1477
- },
1478
- }
1479
- },
1480
- children: [
1481
- {
1482
- path: "edit",
1483
- lazy: () =>
1484
- import(
1485
- "../../routes/api-key-management/api-key-management-edit"
1486
- ),
1487
- },
1488
- ],
1489
- },
1490
- ],
1491
- },
1492
- {
1493
- path: "tax-regions",
1494
- element: <Outlet />,
1495
- handle: {
1496
- breadcrumb: () => t("taxRegions.domain"),
1497
- },
1498
- children: [
1499
- {
1500
- path: "",
1501
- lazy: () => import("../../routes/tax-regions/tax-region-list"),
1502
- children: [
1503
- {
1504
- path: "create",
1505
- lazy: () =>
1506
- import("../../routes/tax-regions/tax-region-create"),
1507
- },
1508
- ],
1509
- },
1510
- {
1511
- path: ":id",
1512
- Component: Outlet,
1513
- loader: taxRegionLoader,
1514
- handle: {
1515
- breadcrumb: (
1516
- match: UIMatch<HttpTypes.AdminTaxRegionResponse>
1517
- ) => <TaxRegionDetailBreadcrumb {...match} />,
1518
- },
1519
- children: [
1520
- {
1521
- path: "",
1522
- lazy: async () => {
1523
- const { Component } = await import(
1524
- "../../routes/tax-regions/tax-region-detail"
1525
- )
1526
-
1527
- return {
1528
- Component,
1529
- }
1530
- },
1531
- children: [
1532
- {
1533
- path: "provinces/create",
1534
- lazy: () =>
1535
- import(
1536
- "../../routes/tax-regions/tax-region-province-create"
1537
- ),
1538
- },
1539
- {
1540
- path: "overrides/create",
1541
- lazy: () =>
1542
- import(
1543
- "../../routes/tax-regions/tax-region-tax-override-create"
1544
- ),
1545
- },
1546
- {
1547
- path: "overrides/:tax_rate_id/edit",
1548
- lazy: () =>
1549
- import(
1550
- "../../routes/tax-regions/tax-region-tax-override-edit"
1551
- ),
1552
- },
1553
- {
1554
- path: "tax-rates/create",
1555
- lazy: () =>
1556
- import(
1557
- "../../routes/tax-regions/tax-region-tax-rate-create"
1558
- ),
1559
- },
1560
- {
1561
- path: "tax-rates/:tax_rate_id/edit",
1562
- lazy: () =>
1563
- import(
1564
- "../../routes/tax-regions/tax-region-tax-rate-edit"
1565
- ),
1566
- },
1567
- ],
1568
- },
1569
- {
1570
- path: "provinces/:province_id",
1571
- lazy: async () => {
1572
- const { Component, Breadcrumb, loader } = await import(
1573
- "../../routes/tax-regions/tax-region-province-detail"
1574
- )
1575
-
1576
- return {
1577
- Component,
1578
- loader,
1579
- handle: {
1580
- breadcrumb: (
1581
- match: UIMatch<HttpTypes.AdminTaxRegionResponse>
1582
- ) => <Breadcrumb {...match} />,
1583
- },
1584
- }
1585
- },
1586
- children: [
1587
- {
1588
- path: "tax-rates/create",
1589
- lazy: () =>
1590
- import(
1591
- "../../routes/tax-regions/tax-region-tax-rate-create"
1592
- ),
1593
- },
1594
- {
1595
- path: "tax-rates/:tax_rate_id/edit",
1596
- lazy: () =>
1597
- import(
1598
- "../../routes/tax-regions/tax-region-tax-rate-edit"
1599
- ),
1600
- },
1601
- {
1602
- path: "overrides/create",
1603
- lazy: () =>
1604
- import(
1605
- "../../routes/tax-regions/tax-region-tax-override-create"
1606
- ),
1607
- },
1608
- {
1609
- path: "overrides/:tax_rate_id/edit",
1610
- lazy: () =>
1611
- import(
1612
- "../../routes/tax-regions/tax-region-tax-override-edit"
1613
- ),
1614
- },
1615
- ],
1616
- },
1617
- ],
1618
- },
1619
- ],
1620
- },
1621
- {
1622
- path: "return-reasons",
1623
- element: <Outlet />,
1624
- handle: {
1625
- breadcrumb: () => t("returnReasons.domain"),
1626
- },
1627
- children: [
1628
- {
1629
- path: "",
1630
- lazy: () =>
1631
- import("../../routes/return-reasons/return-reason-list"),
1632
- children: [
1633
- {
1634
- path: "create",
1635
- lazy: () =>
1636
- import(
1637
- "../../routes/return-reasons/return-reason-create"
1638
- ),
1639
- },
1640
-
1641
- {
1642
- path: ":id",
1643
- children: [
1644
- {
1645
- path: "edit",
1646
- lazy: () =>
1647
- import(
1648
- "../../routes/return-reasons/return-reason-edit"
1649
- ),
1650
- },
1651
- ],
1652
- },
1653
- ],
1654
- },
1655
- ],
1656
- },
1657
- ...SettingsExtensions,
1658
- ],
1659
- },
1660
- ],
1661
- },
1662
- {
1663
- element: <PublicLayout />,
1664
- children: [
1665
- {
1666
- errorElement: <ErrorBoundary />,
1667
- children: [
1668
- {
1669
- path: "/login",
1670
- lazy: () => import("../../routes/login"),
1671
- },
1672
- {
1673
- path: "/reset-password",
1674
- lazy: () => import("../../routes/reset-password"),
1675
- },
1676
- {
1677
- path: "/invite",
1678
- lazy: () => import("../../routes/invite"),
1679
- },
1680
- {
1681
- path: "*",
1682
- lazy: () => import("../../routes/no-match"),
1683
- },
1684
- ],
1685
- },
1686
- ],
1687
- },
1688
- ]