@medusajs/dashboard 2.22.1 → 2.22.2-snapshot-20261026132527

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 (562) hide show
  1. package/dist/{add-campaign-promotions-IUQHZ5QA.mjs → add-campaign-promotions-KEQ6VSUF.mjs} +7 -7
  2. package/dist/{add-locales-FQQ5W3MB.mjs → add-locales-VUSIOPKQ.mjs} +44 -40
  3. package/dist/{adjust-inventory-DJFQZTLA.mjs → adjust-inventory-BR56HFFA.mjs} +6 -6
  4. package/dist/{api-key-management-create-7T2MCQ3T.mjs → api-key-management-create-PKSD3ZCK.mjs} +4 -4
  5. package/dist/{api-key-management-detail-X3AUNHCO.mjs → api-key-management-detail-V5N6C76S.mjs} +136 -119
  6. package/dist/{api-key-management-edit-S3GYYNWM.mjs → api-key-management-edit-6XBJ5332.mjs} +4 -4
  7. package/dist/{api-key-management-list-WHT7LED5.mjs → api-key-management-list-ARRZVWW6.mjs} +76 -63
  8. package/dist/{api-key-management-sales-channels-3WYYKLST.mjs → api-key-management-sales-channels-SEHYRQEX.mjs} +19 -19
  9. package/dist/app.css +3 -4
  10. package/dist/app.js +20605 -18553
  11. package/dist/app.mjs +51 -47
  12. package/dist/{campaign-budget-edit-MVPC66RJ.mjs → campaign-budget-edit-IBU3DOPQ.mjs} +5 -5
  13. package/dist/{campaign-configuration-LTA6NKGQ.mjs → campaign-configuration-ZPGID4JT.mjs} +2 -2
  14. package/dist/{campaign-create-XZ3ZCDTE.mjs → campaign-create-52USJCER.mjs} +10 -7
  15. package/dist/{campaign-detail-ILZA4DJG.mjs → campaign-detail-XFE4PIC5.mjs} +184 -143
  16. package/dist/{campaign-edit-V7KUN7M5.mjs → campaign-edit-KZRZRY5G.mjs} +2 -2
  17. package/dist/{campaign-list-TPH4BBDI.mjs → campaign-list-ZGCHUYYS.mjs} +47 -38
  18. package/dist/{categories-metadata-H3TZ7ZC7.mjs → categories-metadata-I3YUYEJB.mjs} +38 -34
  19. package/dist/{category-create-AKYJLVJ2.mjs → category-create-VF2ZWQDI.mjs} +4 -4
  20. package/dist/{category-detail-I6RNSMTN.mjs → category-detail-M5XZOH7S.mjs} +142 -121
  21. package/dist/{category-edit-PS34TOQX.mjs → category-edit-4GALNVDA.mjs} +3 -3
  22. package/dist/{category-list-2CYBRSCP.mjs → category-list-6VB7X64G.mjs} +60 -48
  23. package/dist/{category-organize-LU6UNWPZ.mjs → category-organize-5JLXOUXW.mjs} +3 -3
  24. package/dist/{category-products-6DCNKT6C.mjs → category-products-MYE6LUEX.mjs} +44 -40
  25. package/dist/{chunk-B2C3RWOZ.mjs → chunk-2CZS6QPJ.mjs} +2 -2
  26. package/dist/{chunk-3C2RPYDJ.mjs → chunk-2EZMK7DO.mjs} +1 -1
  27. package/dist/{chunk-7ESIVGRF.mjs → chunk-2QVJYES6.mjs} +2 -2
  28. package/dist/{chunk-EMDIIWVL.mjs → chunk-2TO3GDNG.mjs} +2 -2
  29. package/dist/chunk-322ZJBUJ.mjs +19 -0
  30. package/dist/{chunk-Q7IJ6TPC.mjs → chunk-33UXMKQ7.mjs} +7 -6
  31. package/dist/{chunk-4SIZ37QP.mjs → chunk-3M3MU37L.mjs} +2 -2
  32. package/dist/{chunk-7FR6ZF6H.mjs → chunk-473LVVAR.mjs} +6 -6
  33. package/dist/chunk-4IHNRS43.mjs +99 -0
  34. package/dist/{chunk-SEMVMECK.mjs → chunk-56JWEPQ5.mjs} +8 -1
  35. package/dist/chunk-5DX4SKDD.mjs +33 -0
  36. package/dist/{chunk-Z4CMG3I4.mjs → chunk-5GBZT2HL.mjs} +5 -5
  37. package/dist/chunk-64QQNCPM.mjs +156 -0
  38. package/dist/{chunk-M7FQTSDS.mjs → chunk-6G6T6DRF.mjs} +2 -2
  39. package/dist/{chunk-25A53KSK.mjs → chunk-6IWROPJU.mjs} +43 -34
  40. package/dist/{chunk-RH74EIOJ.mjs → chunk-6XOZLCQL.mjs} +3 -3
  41. package/dist/{chunk-ISGDOD5J.mjs → chunk-74SYOZ4T.mjs} +1 -1
  42. package/dist/{chunk-CHQR6GOM.mjs → chunk-7BSV7MIX.mjs} +3 -3
  43. package/dist/{chunk-SMK3W5MX.mjs → chunk-7R2LFKFY.mjs} +2 -2
  44. package/dist/{chunk-JZXJXG3V.mjs → chunk-7SHNI4S4.mjs} +6 -6
  45. package/dist/{chunk-4Z5IS4OX.mjs → chunk-7ZUT2LGF.mjs} +3 -3
  46. package/dist/{chunk-2VYWSRWQ.mjs → chunk-A4G5XQF5.mjs} +2 -2
  47. package/dist/{chunk-AFAE54E2.mjs → chunk-AQV73F6F.mjs} +66 -55
  48. package/dist/{chunk-BXF2VPJX.mjs → chunk-AWXHPK36.mjs} +1 -1
  49. package/dist/{chunk-Y2CXBS7S.mjs → chunk-BOQKF4DO.mjs} +1 -1
  50. package/dist/{chunk-6CQCXI3F.mjs → chunk-BZNXMJ6X.mjs} +5 -5
  51. package/dist/{chunk-4CJ6CKPX.mjs → chunk-C2SN6FC6.mjs} +37 -32
  52. package/dist/{chunk-TUXCOD7C.mjs → chunk-CCVZF4LW.mjs} +3 -3
  53. package/dist/chunk-CKBLQMX4.mjs +0 -0
  54. package/dist/{chunk-DY3PYRBR.mjs → chunk-CP24GRIC.mjs} +2 -2
  55. package/dist/{chunk-D3TDNKSZ.mjs → chunk-CXKMJWIC.mjs} +1 -1
  56. package/dist/{chunk-SKQPG6BC.mjs → chunk-CZVBXKUE.mjs} +7 -2
  57. package/dist/{chunk-HBRGWLPM.mjs → chunk-DI6RO7PD.mjs} +1 -1
  58. package/dist/{chunk-OPMQF765.mjs → chunk-DUDIDMY4.mjs} +3 -3
  59. package/dist/{chunk-3M5AAW4J.mjs → chunk-DVFF6LJ2.mjs} +4 -4
  60. package/dist/{chunk-23BHNQ2L.mjs → chunk-EUEZEASP.mjs} +5 -5
  61. package/dist/{chunk-KMS7EW7I.mjs → chunk-EWCHOJNL.mjs} +1 -1
  62. package/dist/{chunk-K5OJP3ZJ.mjs → chunk-EXLZLDKR.mjs} +1 -1
  63. package/dist/{chunk-4FZLRC2F.mjs → chunk-EYCPXU6G.mjs} +1 -1
  64. package/dist/{chunk-ACQJSQ5A.mjs → chunk-F3PKEQH2.mjs} +1 -1
  65. package/dist/{chunk-2G6AYJ2P.mjs → chunk-FPQTWRMF.mjs} +1 -1
  66. package/dist/{chunk-U6M75BAC.mjs → chunk-G6CDPEIW.mjs} +1 -1
  67. package/dist/{chunk-2V5DOTI3.mjs → chunk-GBPRAW4T.mjs} +8 -4
  68. package/dist/{chunk-HFX2KPQD.mjs → chunk-GE3FTJXX.mjs} +182 -134
  69. package/dist/{chunk-DOJWUV5E.mjs → chunk-GISA2KVG.mjs} +2 -2
  70. package/dist/{chunk-22ELTIVU.mjs → chunk-H7MQ3FSC.mjs} +2 -2
  71. package/dist/{chunk-HWLVYKUO.mjs → chunk-IMI46Y3Q.mjs} +2 -2
  72. package/dist/{chunk-GVVNJYF3.mjs → chunk-IOWVXBDE.mjs} +10 -8
  73. package/dist/{chunk-PJU3RODH.mjs → chunk-JEO4MPEM.mjs} +18 -16
  74. package/dist/{chunk-QFE4OVWT.mjs → chunk-JP2AAX2V.mjs} +1 -1
  75. package/dist/{chunk-YDJ774GR.mjs → chunk-JQ6O627Q.mjs} +2 -2
  76. package/dist/{chunk-WICCF7LK.mjs → chunk-JV722QX7.mjs} +3 -3
  77. package/dist/{chunk-VJIURRDA.mjs → chunk-K4NRFV4L.mjs} +5 -5
  78. package/dist/{chunk-QW3P2QHZ.mjs → chunk-KUGPQBSF.mjs} +24 -14
  79. package/dist/{chunk-E6OUIHKB.mjs → chunk-LU3Q3SFU.mjs} +1 -1
  80. package/dist/{chunk-DBSNE3L2.mjs → chunk-LV6ICVL3.mjs} +2 -2
  81. package/dist/{chunk-SH6DEX5S.mjs → chunk-LVKBZSFN.mjs} +1 -1
  82. package/dist/{chunk-2XG5UPAM.mjs → chunk-M6PV667T.mjs} +12 -12
  83. package/dist/{chunk-DEOCXBV2.mjs → chunk-MLVYQMPS.mjs} +1 -1
  84. package/dist/{chunk-RW5LLFK2.mjs → chunk-MPNBXS4G.mjs} +2 -2
  85. package/dist/{chunk-PTP3K7TB.mjs → chunk-MSIJIR7S.mjs} +1 -1
  86. package/dist/{chunk-R2A5UDCT.mjs → chunk-N6RYSL6E.mjs} +1 -1
  87. package/dist/{chunk-WWCRED3P.mjs → chunk-P7JP7FND.mjs} +8 -3
  88. package/dist/{chunk-2LVQXUFY.mjs → chunk-QGI2KRFU.mjs} +2 -2
  89. package/dist/{chunk-34AF5R5P.mjs → chunk-QQBXZKBR.mjs} +1169 -503
  90. package/dist/{chunk-AUWZH2JJ.mjs → chunk-QVIAMAOX.mjs} +16 -5
  91. package/dist/{chunk-QG545K2O.mjs → chunk-RDUHTVDJ.mjs} +1 -1
  92. package/dist/{chunk-TESKFHUZ.mjs → chunk-RS34QFAS.mjs} +1 -1
  93. package/dist/{chunk-BGQF2VTH.mjs → chunk-SUCODEOW.mjs} +1 -1
  94. package/dist/{chunk-ZB3WPQQA.mjs → chunk-TFW4TVLL.mjs} +1 -1
  95. package/dist/{chunk-Y44QLYBS.mjs → chunk-TZFTIXTV.mjs} +1 -1
  96. package/dist/{chunk-NKL2PV6B.mjs → chunk-UCY6OSCT.mjs} +4 -4
  97. package/dist/{chunk-HIX2NSSN.mjs → chunk-V4JVEFO5.mjs} +1 -1
  98. package/dist/{chunk-EYDZJ522.mjs → chunk-VDCNRJUS.mjs} +1 -1
  99. package/dist/chunk-VLIJPCJV.mjs +73 -0
  100. package/dist/chunk-W5TDVB7T.mjs +29 -0
  101. package/dist/{chunk-TO7QJZLE.mjs → chunk-W5UTJK2D.mjs} +4 -2
  102. package/dist/{chunk-5N2B66CN.mjs → chunk-WTD4HMKW.mjs} +2 -2
  103. package/dist/{chunk-QIK2SODO.mjs → chunk-WUFEDM6G.mjs} +8 -6
  104. package/dist/{chunk-NZKHMLU5.mjs → chunk-XEWMCIDF.mjs} +1 -1
  105. package/dist/{chunk-SXLQSBTL.mjs → chunk-XWO3TTZ5.mjs} +5 -5
  106. package/dist/{chunk-AFKRECXN.mjs → chunk-YBOWUUNL.mjs} +1 -1
  107. package/dist/{chunk-DSBMVN2K.mjs → chunk-YF5DAAY7.mjs} +13 -1
  108. package/dist/{chunk-QIUJGXDT.mjs → chunk-ZQ2ZD6MI.mjs} +3 -3
  109. package/dist/{chunk-TNXBZUG3.mjs → chunk-ZWWQ3B3Q.mjs} +3 -3
  110. package/dist/{collection-add-products-VHX3EDMB.mjs → collection-add-products-J6TUMTYL.mjs} +44 -40
  111. package/dist/{collection-create-BIMST735.mjs → collection-create-CYHSA76A.mjs} +3 -3
  112. package/dist/{collection-detail-7SG445Z7.mjs → collection-detail-ERQNBNR4.mjs} +182 -144
  113. package/dist/{collection-edit-7E6KSC2T.mjs → collection-edit-6KOVZQAY.mjs} +3 -3
  114. package/dist/{collection-list-4DQ3KSL6.mjs → collection-list-LHBJLRZJ.mjs} +99 -87
  115. package/dist/collection-metadata-35ERVMZO.mjs +80 -0
  116. package/dist/components.d.mts +53 -54
  117. package/dist/components.d.ts +53 -54
  118. package/dist/components.js +86 -49
  119. package/dist/components.mjs +29 -27
  120. package/dist/{customer-create-DUJEC4OL.mjs → customer-create-KIJE6MP5.mjs} +2 -2
  121. package/dist/{customer-create-address-WB6EQTF7.mjs → customer-create-address-YHSCZ7RL.mjs} +2 -2
  122. package/dist/{customer-detail-OCGWUEAC.mjs → customer-detail-4WV4TL5I.mjs} +115 -125
  123. package/dist/{customer-edit-45JRYR7C.mjs → customer-edit-C24W7YSZ.mjs} +2 -2
  124. package/dist/{customer-export-SJ7TPUYZ.mjs → customer-export-ZNT2ZSRB.mjs} +44 -40
  125. package/dist/{customer-group-add-customers-2LO4JWCL.mjs → customer-group-add-customers-JK52NWLF.mjs} +7 -7
  126. package/dist/{customer-group-create-46IX5XKC.mjs → customer-group-create-HOOTJBX3.mjs} +2 -2
  127. package/dist/{customer-group-detail-YF4N3ZJQ.mjs → customer-group-detail-35WXHAIZ.mjs} +146 -126
  128. package/dist/{customer-group-edit-AE5DT44M.mjs → customer-group-edit-5KLCW6D4.mjs} +2 -2
  129. package/dist/{customer-group-list-3ESALQFX.mjs → customer-group-list-BNQMUYEB.mjs} +84 -72
  130. package/dist/{customer-group-metadata-6VTJ63KW.mjs → customer-group-metadata-AYHVXE35.mjs} +4 -4
  131. package/dist/{customer-list-6QEB7GKU.mjs → customer-list-CQRDUFXU.mjs} +23 -20
  132. package/dist/{customer-metadata-MWH222DL.mjs → customer-metadata-MEBR3PDH.mjs} +4 -4
  133. package/dist/{customers-add-customer-group-K4URSJBC.mjs → customers-add-customer-group-YZKCNBYU.mjs} +40 -36
  134. package/dist/{edit-inventory-item-SIBKLOQ5.mjs → edit-inventory-item-5LA6SDEN.mjs} +2 -2
  135. package/dist/{edit-inventory-item-attributes-FX3YWI36.mjs → edit-inventory-item-attributes-DFWTVX7B.mjs} +2 -2
  136. package/dist/{edit-reservation-E6WLT7GE.mjs → edit-reservation-Q25JLPCL.mjs} +4 -4
  137. package/dist/{edit-rules-VDWS7LUQ.mjs → edit-rules-YRYZKTER.mjs} +38 -34
  138. package/dist/home-NHWOTT5P.mjs +33 -0
  139. package/dist/hooks.d.mts +2066 -8
  140. package/dist/hooks.d.ts +2066 -8
  141. package/dist/hooks.js +609 -34
  142. package/dist/hooks.mjs +161 -22
  143. package/dist/index.d.mts +9 -0
  144. package/dist/index.d.ts +9 -0
  145. package/dist/{inventory-create-XQ6JNL34.mjs → inventory-create-TBREAMMU.mjs} +44 -40
  146. package/dist/{inventory-detail-OZNMVMYC.mjs → inventory-detail-T3LD44T6.mjs} +165 -115
  147. package/dist/{inventory-export-U5B7GYQJ.mjs → inventory-export-YPLQJQO3.mjs} +7 -7
  148. package/dist/{inventory-list-XDAGS3IC.mjs → inventory-list-VLMTLD3X.mjs} +157 -99
  149. package/dist/{inventory-metadata-J5VYM2KL.mjs → inventory-metadata-K4P6GFVQ.mjs} +38 -34
  150. package/dist/{inventory-stock-OTM7XOOH.mjs → inventory-stock-T2JCSG7C.mjs} +43 -39
  151. package/dist/{invite-IQGXDDXV.mjs → invite-U2XSPC7N.mjs} +2 -2
  152. package/dist/lib.d.mts +66 -3
  153. package/dist/lib.d.ts +66 -3
  154. package/dist/lib.js +103 -0
  155. package/dist/lib.mjs +20 -2
  156. package/dist/{location-create-65BKVUH7.mjs → location-create-IEVQFL4V.mjs} +2 -2
  157. package/dist/{location-detail-QKIMC5AB.mjs → location-detail-YVUXGGIP.mjs} +233 -181
  158. package/dist/{location-edit-XWALWBUW.mjs → location-edit-FTSUEBDR.mjs} +2 -2
  159. package/dist/{location-fulfillment-providers-KSYCKAE3.mjs → location-fulfillment-providers-JQMU4KNB.mjs} +47 -43
  160. package/dist/{location-list-3YQAKOXL.mjs → location-list-UWNUDBIN.mjs} +122 -90
  161. package/dist/{location-metadata-AL6Y2C5Z.mjs → location-metadata-7VD7CD77.mjs} +38 -34
  162. package/dist/{location-sales-channels-P2EKHRGZ.mjs → location-sales-channels-JSSJWLAU.mjs} +17 -17
  163. package/dist/{location-service-zone-create-L7MUFXZ7.mjs → location-service-zone-create-GVZEWSQ6.mjs} +8 -8
  164. package/dist/{location-service-zone-edit-EH6B7A24.mjs → location-service-zone-edit-KDD6IZVE.mjs} +4 -4
  165. package/dist/{location-service-zone-manage-areas-SDLDMJO7.mjs → location-service-zone-manage-areas-YEMYHYAG.mjs} +8 -8
  166. package/dist/{location-service-zone-shipping-option-create-LOYMYV5B.mjs → location-service-zone-shipping-option-create-QRWUT7KY.mjs} +47 -43
  167. package/dist/{location-service-zone-shipping-option-edit-BARLZ7H6.mjs → location-service-zone-shipping-option-edit-NPMMI4SR.mjs} +6 -6
  168. package/dist/{location-service-zone-shipping-option-pricing-6DR7Z2W5.mjs → location-service-zone-shipping-option-pricing-YZDJ7LNV.mjs} +17 -14
  169. package/dist/{login-WYIYIWMF.mjs → login-BOCP6YAS.mjs} +41 -37
  170. package/dist/{manage-locations-P7AIKTJL.mjs → manage-locations-TAYQT42W.mjs} +3 -3
  171. package/dist/no-permissions-UP3BFBXQ.mjs +7 -0
  172. package/dist/{order-allocate-items-CTQLV42Q.mjs → order-allocate-items-RQSUUYAQ.mjs} +8 -8
  173. package/dist/{order-create-claim-P5WL2XWX.mjs → order-create-claim-DOR3TMFQ.mjs} +55 -48
  174. package/dist/{order-create-edit-7NCWX6UB.mjs → order-create-edit-KQW3GILI.mjs} +47 -43
  175. package/dist/{order-create-exchange-MU566SDR.mjs → order-create-exchange-M7EBNR3Z.mjs} +55 -48
  176. package/dist/{order-create-fulfillment-57GSNWKY.mjs → order-create-fulfillment-YHRZLENV.mjs} +42 -38
  177. package/dist/{order-create-refund-SZT2AGMZ.mjs → order-create-refund-M5XORKHL.mjs} +43 -36
  178. package/dist/{order-create-return-NNDQSKD3.mjs → order-create-return-P6763AMA.mjs} +27 -21
  179. package/dist/{order-create-shipment-RQK7EC47.mjs → order-create-shipment-J7VANR46.mjs} +36 -32
  180. package/dist/{order-detail-ERHRK6W3.mjs → order-detail-OT6ZCVAG.mjs} +360 -198
  181. package/dist/{order-edit-billing-address-XCGDGT6L.mjs → order-edit-billing-address-G722ZIZH.mjs} +36 -32
  182. package/dist/{order-edit-email-7DJEDL7L.mjs → order-edit-email-F3UAHP6F.mjs} +36 -32
  183. package/dist/{order-edit-shipping-address-G6UVC32Y.mjs → order-edit-shipping-address-OUYR5ZU2.mjs} +36 -32
  184. package/dist/{order-export-X4GFB4OT.mjs → order-export-UWSIZFO6.mjs} +44 -40
  185. package/dist/{order-list-Y4KAYHDB.mjs → order-list-LE2YL3ZJ.mjs} +54 -51
  186. package/dist/order-metadata-PHLHKP73.mjs +80 -0
  187. package/dist/{order-receive-return-QXVVZFHF.mjs → order-receive-return-X3UDIRHT.mjs} +45 -38
  188. package/dist/{order-request-transfer-ZEQOYAL6.mjs → order-request-transfer-RCLJRIZM.mjs} +39 -35
  189. package/dist/{policy-detail-JTGVJGZK.mjs → policy-detail-2E5MHJN3.mjs} +27 -22
  190. package/dist/{policy-list-ENDXAWFU.mjs → policy-list-QZYXYQ5K.mjs} +17 -15
  191. package/dist/{price-list-configuration-BQZRBNXQ.mjs → price-list-configuration-7CHNAUM2.mjs} +9 -9
  192. package/dist/{price-list-create-XN53E6RE.mjs → price-list-create-IGPH4QOZ.mjs} +51 -47
  193. package/dist/{price-list-detail-2R24L2L3.mjs → price-list-detail-SYWDWZTP.mjs} +148 -119
  194. package/dist/{price-list-edit-7EIZ3FVK.mjs → price-list-edit-I77257FV.mjs} +4 -4
  195. package/dist/{price-list-list-B3PGM3ND.mjs → price-list-list-TD6ZLZ3T.mjs} +63 -50
  196. package/dist/{price-list-metadata-NTJKQEOE.mjs → price-list-metadata-BJGNUO5Y.mjs} +6 -6
  197. package/dist/{price-list-prices-add-E3O2OI7K.mjs → price-list-prices-add-VMCXW66G.mjs} +50 -46
  198. package/dist/{price-list-prices-edit-L45MXHZR.mjs → price-list-prices-edit-THUMVOME.mjs} +18 -15
  199. package/dist/{product-attributes-FXOAXOQ5.mjs → product-attributes-WIVV5AHJ.mjs} +49 -45
  200. package/dist/{product-create-3XQUET7Y.mjs → product-create-VXOQLAHV.mjs} +73 -67
  201. package/dist/{product-create-variant-KZAUREQY.mjs → product-create-variant-Q5K3TWQU.mjs} +49 -45
  202. package/dist/{product-detail-EFCAHRXH.mjs → product-detail-VSPVKT6B.mjs} +287 -182
  203. package/dist/{product-edit-YKIGN4M3.mjs → product-edit-33GW4ZSN.mjs} +50 -46
  204. package/dist/{product-export-VTUEQCYE.mjs → product-export-ALWS5Y66.mjs} +50 -46
  205. package/dist/{product-image-variants-edit-Y3M56B2U.mjs → product-image-variants-edit-Z7LETTLU.mjs} +42 -38
  206. package/dist/{product-import-AAGB5RH2.mjs → product-import-S7DAX54C.mjs} +36 -32
  207. package/dist/{product-list-XAW4AQNH.mjs → product-list-F6MPSA5F.mjs} +69 -59
  208. package/dist/{product-media-HGLANNNT.mjs → product-media-YHZSR66B.mjs} +14 -8
  209. package/dist/{product-metadata-LTW4M2N3.mjs → product-metadata-3MTTAX5X.mjs} +38 -34
  210. package/dist/{product-option-create-EIKW4V3P.mjs → product-option-create-LBPGBFOM.mjs} +36 -32
  211. package/dist/{product-option-detail-LE44YFQQ.mjs → product-option-detail-6CCF74XV.mjs} +55 -52
  212. package/dist/{product-option-edit-5ZP4YBAR.mjs → product-option-edit-CU6OGSU7.mjs} +36 -32
  213. package/dist/{product-option-list-JQGZMNPD.mjs → product-option-list-XZEL66XA.mjs} +55 -52
  214. package/dist/{product-option-metadata-2G47V6ZL.mjs → product-option-metadata-CNL5R6JR.mjs} +38 -34
  215. package/dist/{product-option-value-detail-NHLCLAPY.mjs → product-option-value-detail-73XRLHFZ.mjs} +39 -39
  216. package/dist/{product-option-value-metadata-PDG22GD2.mjs → product-option-value-metadata-WETFFJM3.mjs} +38 -34
  217. package/dist/{product-options-manage-NXZ6CDGE.mjs → product-options-manage-SVC2PGVC.mjs} +53 -49
  218. package/dist/{product-organization-K6EGAZZC.mjs → product-organization-X74RFTNJ.mjs} +82 -64
  219. package/dist/{product-prices-B3DJOMTS.mjs → product-prices-X2HGOET2.mjs} +14 -11
  220. package/dist/{product-sales-channels-KFETLJPD.mjs → product-sales-channels-S2LIZAWZ.mjs} +16 -16
  221. package/dist/{product-shipping-profile-NDMCCENZ.mjs → product-shipping-profile-7GYPOCHC.mjs} +6 -6
  222. package/dist/{product-stock-FNMVF2RH.mjs → product-stock-CYJAYH5K.mjs} +48 -44
  223. package/dist/{product-tag-create-HBIXYJDZ.mjs → product-tag-create-DGZTFKL5.mjs} +36 -32
  224. package/dist/{product-tag-detail-ZSPQRFDC.mjs → product-tag-detail-DOWB2SIF.mjs} +108 -96
  225. package/dist/{product-tag-edit-TO2ACUK3.mjs → product-tag-edit-TOELKY5F.mjs} +36 -32
  226. package/dist/{product-tag-list-D5HZNBL3.mjs → product-tag-list-27E2FOKW.mjs} +102 -90
  227. package/dist/product-tag-metadata-PSNCWCNY.mjs +80 -0
  228. package/dist/{product-type-create-2AZKVK35.mjs → product-type-create-SRTXWQUK.mjs} +2 -2
  229. package/dist/{product-type-detail-JNFFSUC2.mjs → product-type-detail-XKZYHRG2.mjs} +103 -91
  230. package/dist/{product-type-edit-SOLNOW3Y.mjs → product-type-edit-XY4U6LNV.mjs} +2 -2
  231. package/dist/{product-type-list-2FWI6OVE.mjs → product-type-list-ZHEJ65GB.mjs} +64 -52
  232. package/dist/product-type-metadata-CHMNLA7G.mjs +80 -0
  233. package/dist/{product-variant-detail-FDCRPWMV.mjs → product-variant-detail-3TJVWX37.mjs} +125 -79
  234. package/dist/{product-variant-edit-Z4ELZB47.mjs → product-variant-edit-FYLKO3AJ.mjs} +40 -36
  235. package/dist/{product-variant-manage-inventory-items-W3ZQDUML.mjs → product-variant-manage-inventory-items-4FE2NEPS.mjs} +8 -8
  236. package/dist/{product-variant-media-JARM7GQW.mjs → product-variant-media-ABF52GR2.mjs} +2 -2
  237. package/dist/{product-variant-metadata-LP3RK7D3.mjs → product-variant-metadata-DE45ITBW.mjs} +38 -34
  238. package/dist/{profile-detail-TBLFKXLO.mjs → profile-detail-X7IXQW75.mjs} +46 -44
  239. package/dist/{profile-edit-S4F52I66.mjs → profile-edit-GSMCUWYM.mjs} +5 -5
  240. package/dist/{promotion-add-campaign-MFC6I5JW.mjs → promotion-add-campaign-RN52TZ7K.mjs} +11 -8
  241. package/dist/{promotion-create-USUUTWHS.mjs → promotion-create-YPWFQWSG.mjs} +47 -43
  242. package/dist/{promotion-detail-5BZXZIT4.mjs → promotion-detail-EUOM3EKX.mjs} +89 -82
  243. package/dist/{promotion-edit-details-3INVCAPZ.mjs → promotion-edit-details-JFVIIAZE.mjs} +6 -6
  244. package/dist/{promotion-list-SRJ6MO3U.mjs → promotion-list-TQFJBHLG.mjs} +49 -36
  245. package/dist/{promotion-metadata-QNNWNI6S.mjs → promotion-metadata-QT42BOUZ.mjs} +4 -4
  246. package/dist/{property-labels-4PJQJXTH.mjs → property-labels-2DB4476A.mjs} +19 -16
  247. package/dist/{property-labels-edit-5QFRPGAO.mjs → property-labels-edit-YQFVHKMS.mjs} +5 -5
  248. package/dist/{refund-reason-create-QXHOKWDZ.mjs → refund-reason-create-Z63KCN32.mjs} +36 -32
  249. package/dist/{refund-reason-edit-RQFGSNGN.mjs → refund-reason-edit-KBUHSGDO.mjs} +36 -32
  250. package/dist/{refund-reason-list-RKULHAWA.mjs → refund-reason-list-2TWFTMZW.mjs} +85 -76
  251. package/dist/{region-add-countries-L3LBC5SS.mjs → region-add-countries-EVNTH2WM.mjs} +10 -7
  252. package/dist/{region-create-IISVSM64.mjs → region-create-HOTYZJ5S.mjs} +17 -14
  253. package/dist/{region-detail-L3YT7CAJ.mjs → region-detail-RNDJO4MO.mjs} +89 -73
  254. package/dist/{region-edit-6TJFOZ6L.mjs → region-edit-52SWUBVJ.mjs} +13 -10
  255. package/dist/{region-list-UOWKWKH3.mjs → region-list-HJBXTDZX.mjs} +68 -39
  256. package/dist/region-metadata-J4P33JSD.mjs +81 -0
  257. package/dist/{reservation-create-TJPEHJO4.mjs → reservation-create-6AZB5JVN.mjs} +7 -7
  258. package/dist/{reservation-detail-BP2HJTYX.mjs → reservation-detail-AN5AY3MQ.mjs} +43 -38
  259. package/dist/{reservation-list-3IBGFDFV.mjs → reservation-list-XO65QKLS.mjs} +54 -42
  260. package/dist/{reservation-metadata-H6XWWZ7O.mjs → reservation-metadata-PQJEY6R5.mjs} +38 -34
  261. package/dist/{return-reason-create-GLORKWFC.mjs → return-reason-create-KJ7B24IB.mjs} +2 -2
  262. package/dist/{return-reason-edit-G2KHDOVU.mjs → return-reason-edit-RII5SWIV.mjs} +2 -2
  263. package/dist/{return-reason-list-2NBTNAH3.mjs → return-reason-list-2GDNBV64.mjs} +51 -42
  264. package/dist/{role-add-users-O7CTRYF2.mjs → role-add-users-WQDS7ODK.mjs} +19 -15
  265. package/dist/{role-create-J5TXRN2A.mjs → role-create-U5ONIC4U.mjs} +13 -12
  266. package/dist/{role-detail-SZEBCPEY.mjs → role-detail-GWGRVWZK.mjs} +77 -54
  267. package/dist/{role-edit-6CTPHWGH.mjs → role-edit-6ZH24HNW.mjs} +2 -2
  268. package/dist/{role-list-TFINFZQ5.mjs → role-list-IAH43C45.mjs} +34 -24
  269. package/dist/{role-permissions-F6WANR5D.mjs → role-permissions-GQTBK47I.mjs} +27 -25
  270. package/dist/{sales-channel-add-products-S7NJUD3G.mjs → sales-channel-add-products-DDVKV3CG.mjs} +44 -40
  271. package/dist/{sales-channel-create-YDM7SRWK.mjs → sales-channel-create-NEEHMRCD.mjs} +3 -3
  272. package/dist/{sales-channel-detail-EEFIWYJ4.mjs → sales-channel-detail-FAA77QVT.mjs} +143 -121
  273. package/dist/{sales-channel-edit-BPTKLMWV.mjs → sales-channel-edit-JEU6FRKV.mjs} +3 -3
  274. package/dist/{sales-channel-list-P7JPONDZ.mjs → sales-channel-list-GH25Z66R.mjs} +82 -72
  275. package/dist/{sales-channel-metadata-R36JO2U7.mjs → sales-channel-metadata-3L7HFGJD.mjs} +38 -34
  276. package/dist/{search-index-list-UUJXL4UL.mjs → search-index-list-R4QBZBXO.mjs} +9 -8
  277. package/dist/{settings-L3FQOPX3.mjs → settings-ZZ6YW3F7.mjs} +2 -2
  278. package/dist/{shipping-option-type-create-O62NAECA.mjs → shipping-option-type-create-QDGXCZOJ.mjs} +36 -32
  279. package/dist/{shipping-option-type-detail-YGPHSWUO.mjs → shipping-option-type-detail-AJ4UQXI4.mjs} +70 -66
  280. package/dist/{shipping-option-type-edit-NZQQSODS.mjs → shipping-option-type-edit-WZ4ARRLQ.mjs} +36 -32
  281. package/dist/{shipping-option-type-list-MZGGUXYT.mjs → shipping-option-type-list-72AOCJS2.mjs} +81 -72
  282. package/dist/{shipping-profile-create-WPLVLDXG.mjs → shipping-profile-create-LQAEPTH3.mjs} +2 -2
  283. package/dist/{shipping-profile-detail-3G7GVNLL.mjs → shipping-profile-detail-QHAR5PCF.mjs} +16 -11
  284. package/dist/{shipping-profile-metadata-IEQP6IVY.mjs → shipping-profile-metadata-H7M63GM4.mjs} +38 -34
  285. package/dist/{shipping-profiles-list-3TNRV7U4.mjs → shipping-profiles-list-NODHEXDG.mjs} +34 -25
  286. package/dist/{store-add-currencies-HBAN3GWA.mjs → store-add-currencies-ITV62RXG.mjs} +69 -41
  287. package/dist/{store-add-locales-VJWN65EE.mjs → store-add-locales-PKH7HRWP.mjs} +44 -40
  288. package/dist/{store-detail-IBIGGS2R.mjs → store-detail-JEHPDAJM.mjs} +194 -158
  289. package/dist/{store-edit-SKGGBBFN.mjs → store-edit-ZU4JFDWZ.mjs} +32 -15
  290. package/dist/store-metadata-YKFMDA7M.mjs +79 -0
  291. package/dist/{tax-region-create-AI2IQGAX.mjs → tax-region-create-RSXDPMKJ.mjs} +46 -38
  292. package/dist/{tax-region-detail-OOB7SOFT.mjs → tax-region-detail-KWFVQSWN.mjs} +84 -70
  293. package/dist/{tax-region-edit-AAVTEU6A.mjs → tax-region-edit-W4S2J2HY.mjs} +39 -35
  294. package/dist/{tax-region-list-KVD6TY53.mjs → tax-region-list-XBCZN6EW.mjs} +18 -13
  295. package/dist/{tax-region-province-create-UDBHBE66.mjs → tax-region-province-create-BIKOPYQS.mjs} +9 -4
  296. package/dist/{tax-region-province-detail-RW6ORJ3I.mjs → tax-region-province-detail-SHXCQK4F.mjs} +81 -68
  297. package/dist/{tax-region-tax-override-create-7BXNHR5F.mjs → tax-region-tax-override-create-Z3KBUUAL.mjs} +53 -49
  298. package/dist/{tax-region-tax-override-edit-VTP7B3W3.mjs → tax-region-tax-override-edit-SHTXEBIY.mjs} +54 -50
  299. package/dist/{tax-region-tax-rate-create-4MNRDQMB.mjs → tax-region-tax-rate-create-HBIFBL5G.mjs} +3 -3
  300. package/dist/{tax-region-tax-rate-edit-EQEPSONV.mjs → tax-region-tax-rate-edit-GAACLBAF.mjs} +3 -3
  301. package/dist/{translation-list-TRYPJLEE.mjs → translation-list-AUDKQC4X.mjs} +80 -51
  302. package/dist/{translations-edit-3264U52X.mjs → translations-edit-SXC3PJPT.mjs} +75 -55
  303. package/dist/types-BjyZ5xsC.d.mts +138 -0
  304. package/dist/types-BjyZ5xsC.d.ts +138 -0
  305. package/dist/{user-detail-GN3SS242.mjs → user-detail-4IY55KY2.mjs} +137 -45
  306. package/dist/{user-edit-UYE4NST2.mjs → user-edit-QU7VADP6.mjs} +2 -2
  307. package/dist/{user-invite-RLAG4P4K.mjs → user-invite-FGFU2H5E.mjs} +50 -47
  308. package/dist/{user-list-GN3FM5YA.mjs → user-list-DUCUUTQT.mjs} +32 -20
  309. package/dist/user-metadata-VKKHRVMV.mjs +81 -0
  310. package/dist/{workflow-execution-detail-Q47WEMNE.mjs → workflow-execution-detail-WFCLGP7A.mjs} +42 -40
  311. package/dist/{workflow-execution-list-BUDORNRU.mjs → workflow-execution-list-5PXIQ4UC.mjs} +10 -9
  312. package/package.json +10 -10
  313. package/src/components/authentication/protected-route/protected-route.tsx +9 -5
  314. package/src/components/authentication/route-permission-guard/index.ts +9 -1
  315. package/src/components/authentication/route-permission-guard/route-permission-guard.tsx +13 -11
  316. package/src/components/common/required-permissions-section/required-permissions-section.tsx +5 -2
  317. package/src/components/common/role-guard/index.ts +1 -0
  318. package/src/components/common/role-guard/role-guard.tsx +117 -0
  319. package/src/components/data-grid/components/data-grid-root.tsx +9 -4
  320. package/src/components/inputs/combobox/__tests__/combobox.spec.tsx +6 -1
  321. package/src/components/layout/main-layout/main-layout.tsx +138 -74
  322. package/src/components/layout/notifications/notifications.tsx +6 -0
  323. package/src/components/layout/pages/single-column-page/single-column-page.tsx +6 -0
  324. package/src/components/layout/pages/two-column-page/two-column-page.tsx +6 -2
  325. package/src/components/layout/pages/types.ts +1 -0
  326. package/src/components/layout/settings-layout/settings-layout.tsx +157 -61
  327. package/src/components/layout-composer/detail-page-defaults.tsx +7 -5
  328. package/src/components/search/use-search-results.tsx +34 -0
  329. package/src/components/utilities/error-boundary/error-boundary.tsx +21 -0
  330. package/src/dashboard-app/dashboard-app.tsx +7 -4
  331. package/src/dashboard-app/routes/get-route.map.tsx +645 -80
  332. package/src/dashboard-app/routes/wrap-route-loaders.ts +100 -0
  333. package/src/exports/hooks.ts +18 -0
  334. package/src/exports/lib.ts +23 -0
  335. package/src/hooks/api/feature-flags.tsx +19 -16
  336. package/src/hooks/api/index.ts +1 -0
  337. package/src/hooks/api/modules.tsx +29 -0
  338. package/src/hooks/api/notification.tsx +4 -0
  339. package/src/hooks/api/price-lists.tsx +8 -5
  340. package/src/hooks/api/price-preferences.tsx +4 -0
  341. package/src/hooks/api/rbac-roles.tsx +7 -3
  342. package/src/hooks/api/users.tsx +26 -0
  343. package/src/hooks/table/columns/use-order-table-columns.tsx +31 -16
  344. package/src/hooks/table/columns/use-product-table-columns.tsx +41 -16
  345. package/src/hooks/use-require-rbac-feature.tsx +9 -8
  346. package/src/hooks/use-resource-permissions.tsx +201 -1
  347. package/src/i18n/translations/$schema.json +33 -2
  348. package/src/i18n/translations/en.json +9 -0
  349. package/src/i18n/translations/es.json +4 -0
  350. package/src/lib/permissions/constants.ts +34 -1
  351. package/src/lib/permissions/index.ts +17 -3
  352. package/src/lib/permissions/permission-error.ts +22 -0
  353. package/src/lib/permissions/types.ts +72 -41
  354. package/src/lib/permissions/utils.ts +56 -0
  355. package/src/lib/query-client.ts +9 -1
  356. package/src/providers/keybind-provider/hooks.tsx +7 -1
  357. package/src/providers/keybind-provider/types.ts +3 -0
  358. package/src/providers/permissions-provider/permissions-provider.tsx +78 -26
  359. package/src/routes/api-key-management/api-key-management-detail/api-key-management-detail.tsx +8 -6
  360. package/src/routes/api-key-management/api-key-management-detail/components/api-key-general-section/api-key-general-section.tsx +34 -26
  361. package/src/routes/api-key-management/api-key-management-detail/components/api-key-sales-channel-section/api-key-sales-channel-section.tsx +57 -35
  362. package/src/routes/api-key-management/api-key-management-list/components/api-key-management-list-table/api-key-management-list-table.tsx +9 -5
  363. package/src/routes/api-key-management/api-key-management-list/components/api-key-management-list-table/api-key-row-actions.tsx +63 -41
  364. package/src/routes/campaigns/campaign-detail/campaign-detail.tsx +8 -5
  365. package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +17 -13
  366. package/src/routes/campaigns/campaign-detail/components/campaign-configuration-section/campaign-configuration-section.tsx +17 -13
  367. package/src/routes/campaigns/campaign-detail/components/campaign-general-section/campaign-general-section.tsx +21 -9
  368. package/src/routes/campaigns/campaign-detail/components/campaign-promotion-section/campaign-promotion-section.tsx +126 -80
  369. package/src/routes/campaigns/campaign-detail/components/campaign-promotion-section/configurable-campaign-promotion-section.tsx +16 -2
  370. package/src/routes/campaigns/campaign-list/components/campaign-list-table-actions.tsx +33 -21
  371. package/src/routes/campaigns/campaign-list/components/campaign-list-table.tsx +9 -5
  372. package/src/routes/categories/category-detail/category-detail.tsx +13 -8
  373. package/src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx +51 -36
  374. package/src/routes/categories/category-detail/components/category-product-section/category-product-section.tsx +75 -60
  375. package/src/routes/categories/category-list/components/category-list-table/category-list-table.tsx +58 -38
  376. package/src/routes/collections/collection-detail/collection-detail.tsx +11 -6
  377. package/src/routes/collections/collection-detail/components/collection-general-section/collection-general-section.tsx +53 -38
  378. package/src/routes/collections/collection-detail/components/collection-product-section/collection-product-row-actions.tsx +40 -21
  379. package/src/routes/collections/collection-detail/components/collection-product-section/collection-product-section.tsx +75 -52
  380. package/src/routes/collections/collection-list/components/collection-list-table/collection-list-table.tsx +9 -5
  381. package/src/routes/collections/collection-list/components/collection-list-table/collection-row-actions.tsx +52 -35
  382. package/src/routes/customer-groups/customer-group-detail/components/customer-group-customer-section/customer-group-customer-section.tsx +97 -65
  383. package/src/routes/customer-groups/customer-group-detail/components/customer-group-general-section/customer-group-general-section.tsx +33 -23
  384. package/src/routes/customer-groups/customer-group-detail/customer-group-detail.tsx +11 -8
  385. package/src/routes/customer-groups/customer-group-list/components/customer-group-list-table/customer-group-list-table-actions.tsx +37 -20
  386. package/src/routes/customer-groups/customer-group-list/components/customer-group-list-table/customer-group-list-table.tsx +10 -4
  387. package/src/routes/customers/customer-detail/components/customer-address-section/customer-address-section.tsx +10 -4
  388. package/src/routes/customers/customer-detail/components/customer-group-section/customer-group-section.tsx +29 -17
  389. package/src/routes/customers/customer-detail/components/customer-order-section/customer-order-section.tsx +12 -0
  390. package/src/routes/customers/customer-detail/customer-detail.tsx +18 -11
  391. package/src/routes/home/home.tsx +22 -3
  392. package/src/routes/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx +17 -13
  393. package/src/routes/inventory/inventory-detail/components/inventory-item-general-section.tsx +31 -17
  394. package/src/routes/inventory/inventory-detail/components/inventory-item-location-levels.tsx +8 -3
  395. package/src/routes/inventory/inventory-detail/components/inventory-item-reservations.tsx +9 -5
  396. package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +39 -25
  397. package/src/routes/inventory/inventory-detail/components/reservations-table/reservation-actions.tsx +33 -21
  398. package/src/routes/inventory/inventory-detail/components/reservations-table/reservation-list-table.tsx +8 -3
  399. package/src/routes/inventory/inventory-detail/components/reservations-table/use-reservation-list-table-columns.tsx +19 -11
  400. package/src/routes/inventory/inventory-detail/inventory-detail.tsx +20 -7
  401. package/src/routes/inventory/inventory-list/components/inventory-actions.tsx +40 -22
  402. package/src/routes/inventory/inventory-list/components/inventory-list-table.tsx +47 -18
  403. package/src/routes/inventory/inventory-list/components/inventory-table-adapter.tsx +15 -3
  404. package/src/routes/inventory/inventory-list/components/use-inventory-table-columns.tsx +94 -66
  405. package/src/routes/locations/location-detail/components/location-fulfillment-providers-section/location-fulfillment-providers-section.tsx +25 -17
  406. package/src/routes/locations/location-detail/components/location-general-section/location-general-section.tsx +227 -134
  407. package/src/routes/locations/location-detail/components/location-sales-channels-section/locations-sales-channels-section.tsx +31 -17
  408. package/src/routes/locations/location-detail/location-detail.tsx +7 -2
  409. package/src/routes/locations/location-list/location-list-table-actions.tsx +32 -22
  410. package/src/routes/locations/location-list/location-list-table.tsx +12 -7
  411. package/src/routes/locations/location-list/location-list.tsx +29 -17
  412. package/src/routes/locations/location-list/use-location-list-table-columns.tsx +73 -55
  413. package/src/routes/login/components/email-pass-login.tsx +1 -1
  414. package/src/routes/login/login.tsx +1 -1
  415. package/src/routes/no-permissions/index.ts +1 -0
  416. package/src/routes/no-permissions/no-permissions.tsx +25 -0
  417. package/src/routes/orders/order-balance-settlement/components/order-balance-settlement-form/order-balance-settlement-form.tsx +13 -9
  418. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +13 -9
  419. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +13 -9
  420. package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +13 -9
  421. package/src/routes/orders/order-detail/components/active-order-claim-section/active-order-claim-section.tsx +30 -8
  422. package/src/routes/orders/order-detail/components/active-order-exchange-section/active-order-exchange-section.tsx +30 -12
  423. package/src/routes/orders/order-detail/components/active-order-return-section/active-order-return-section.tsx +30 -8
  424. package/src/routes/orders/order-detail/components/order-active-edit-section/order-active-edit-section.tsx +45 -26
  425. package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +72 -30
  426. package/src/routes/orders/order-detail/components/order-customer-section/order-customer-section.tsx +65 -38
  427. package/src/routes/orders/order-detail/components/order-fulfillment-section/order-fulfillment-section.tsx +51 -32
  428. package/src/routes/orders/order-detail/components/order-general-section/order-general-section.tsx +18 -14
  429. package/src/routes/orders/order-detail/components/order-payment-section/order-payment-section.tsx +33 -18
  430. package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +210 -153
  431. package/src/routes/orders/order-detail/order-detail.tsx +25 -10
  432. package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +7 -3
  433. package/src/routes/policies/policy-create/components/create-policy-form/create-policy-form.tsx +10 -3
  434. package/src/routes/policies/policy-detail/components/policy-general-section/policy-general-section.tsx +3 -2
  435. package/src/routes/policies/policy-detail/components/policy-roles-section/policy-roles-section.tsx +2 -3
  436. package/src/routes/policies/policy-detail/policy-detail.tsx +1 -1
  437. package/src/routes/policies/policy-edit/components/edit-policy-form/edit-policy-form.tsx +28 -55
  438. package/src/routes/policies/policy-list/components/policy-list-table/policy-list-table.tsx +2 -2
  439. package/src/routes/price-lists/price-list-detail/components/price-list-configuration-section/price-list-configuration-section.tsx +21 -14
  440. package/src/routes/price-lists/price-list-detail/components/price-list-general-section/price-list-general-section.tsx +33 -13
  441. package/src/routes/price-lists/price-list-detail/components/price-list-product-section/price-list-product-section.tsx +90 -68
  442. package/src/routes/price-lists/price-list-detail/price-list-detail.tsx +8 -5
  443. package/src/routes/price-lists/price-list-list/components/price-list-list-table/price-list-list-table-actions.tsx +33 -21
  444. package/src/routes/price-lists/price-list-list/components/price-list-list-table/price-list-list-table.tsx +7 -3
  445. package/src/routes/price-lists/price-list-list/components/price-list-list-table/use-pricing-table-columns.tsx +13 -5
  446. package/src/routes/product-options/product-option-detail/product-option-detail.tsx +2 -2
  447. package/src/routes/product-options/product-option-value-detail/product-option-value-detail.tsx +1 -3
  448. package/src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx +52 -36
  449. package/src/routes/product-tags/product-tag-detail/product-tag-detail.tsx +11 -8
  450. package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table-actions.tsx +52 -34
  451. package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx +7 -3
  452. package/src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx +52 -36
  453. package/src/routes/product-types/product-type-detail/product-type-detail.tsx +11 -8
  454. package/src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx +52 -34
  455. package/src/routes/product-types/product-type-list/components/product-type-list-table/product-type-list-table.tsx +7 -3
  456. package/src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx +46 -22
  457. package/src/routes/product-variants/product-variant-detail/components/variant-inventory-section/variant-inventory-section.tsx +42 -20
  458. package/src/routes/product-variants/product-variant-detail/components/variant-media-section/variant-media-section.tsx +21 -13
  459. package/src/routes/product-variants/product-variant-detail/components/variant-prices-section/variant-prices-section.tsx +23 -13
  460. package/src/routes/product-variants/product-variant-detail/product-variant-detail.tsx +21 -13
  461. package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-media-section/product-create-details-media-section.tsx +4 -1
  462. package/src/routes/products/product-detail/components/product-attribute-section/product-attribute-section.tsx +18 -13
  463. package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +52 -36
  464. package/src/routes/products/product-detail/components/product-media-section/product-media-section.tsx +41 -32
  465. package/src/routes/products/product-detail/components/product-option-section/product-option-section.tsx +27 -13
  466. package/src/routes/products/product-detail/components/product-organization-section/product-organization-section.tsx +86 -63
  467. package/src/routes/products/product-detail/components/product-sales-channel-section/product-sales-channel-section.tsx +18 -13
  468. package/src/routes/products/product-detail/components/product-shipping-profile-section/product-shipping-profile-section.tsx +17 -13
  469. package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +190 -93
  470. package/src/routes/products/product-detail/product-detail.tsx +25 -7
  471. package/src/routes/products/product-list/components/product-list-table/configurable-product-list-table.tsx +11 -5
  472. package/src/routes/products/product-list/components/product-list-table/product-list-table-actions.tsx +50 -34
  473. package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +14 -6
  474. package/src/routes/products/product-media/components/edit-product-media-form/edit-product-media-form.tsx +6 -3
  475. package/src/routes/products/product-organization/components/product-organization-form/product-organization-form.spec.tsx +16 -0
  476. package/src/routes/products/product-organization/components/product-organization-form/product-organization-form.tsx +125 -98
  477. package/src/routes/promotions/promotion-detail/components/campaign-section/campaign-section.tsx +27 -16
  478. package/src/routes/promotions/promotion-detail/components/promotion-conditions-section/promotion-conditions-section.tsx +25 -17
  479. package/src/routes/promotions/promotion-detail/components/promotion-general-section/promotion-general-section.tsx +21 -9
  480. package/src/routes/promotions/promotion-detail/promotion-detail.tsx +4 -1
  481. package/src/routes/promotions/promotion-list/components/promotion-list-table/promotion-list-table-actions.tsx +35 -19
  482. package/src/routes/promotions/promotion-list/components/promotion-list-table/promotion-list-table.tsx +7 -3
  483. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table-actions.tsx +34 -22
  484. package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +12 -6
  485. package/src/routes/regions/region-detail/components/region-country-section/region-country-section.tsx +79 -61
  486. package/src/routes/regions/region-detail/components/region-general-section/region-general-section.tsx +49 -34
  487. package/src/routes/regions/region-detail/region-detail.tsx +1 -1
  488. package/src/routes/regions/region-list/components/region-list-table/region-list-table-actions.tsx +33 -21
  489. package/src/routes/regions/region-list/components/region-list-table/region-list-table.tsx +9 -5
  490. package/src/routes/reservations/reservation-detail/components/reservation-general-section/reservation-general-section.tsx +17 -13
  491. package/src/routes/reservations/reservation-list/components/reservation-list-table/reservation-actions.tsx +33 -21
  492. package/src/routes/reservations/reservation-list/components/reservation-list-table/reservation-list-table.tsx +14 -3
  493. package/src/routes/return-reasons/return-reason-list/components/return-reason-list-table/return-reason-list-table-actions.tsx +34 -22
  494. package/src/routes/return-reasons/return-reason-list/components/return-reason-list-table/return-reason-list-table.tsx +12 -6
  495. package/src/routes/roles/role-add-users/components/add-users-form/add-users-form.tsx +4 -1
  496. package/src/routes/roles/role-detail/components/role-general-section/role-general-section.tsx +35 -25
  497. package/src/routes/roles/role-detail/components/role-users-section/role-users-section.tsx +14 -13
  498. package/src/routes/roles/role-detail/constants.ts +1 -1
  499. package/src/routes/roles/role-detail/role-detail.tsx +5 -2
  500. package/src/routes/roles/role-list/components/role-list-table/role-list-table.tsx +21 -19
  501. package/src/routes/roles/role-permissions/components/edit-role-permissions-form/edit-role-permissions-form.tsx +16 -11
  502. package/src/routes/roles/role-permissions/role-permissions.tsx +13 -13
  503. package/src/routes/sales-channels/sales-channel-detail/components/sales-channel-general-section/sales-channel-general-section.tsx +21 -9
  504. package/src/routes/sales-channels/sales-channel-detail/components/sales-channel-product-section/sales-channel-product-section.tsx +91 -65
  505. package/src/routes/sales-channels/sales-channel-detail/sales-channel-detail.tsx +5 -2
  506. package/src/routes/sales-channels/sales-channel-list/components/sales-channel-list-table-actions.tsx +41 -31
  507. package/src/routes/sales-channels/sales-channel-list/components/sales-channel-list-table.tsx +11 -5
  508. package/src/routes/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx +33 -23
  509. package/src/routes/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx +1 -1
  510. package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-list-table.tsx +7 -3
  511. package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-table-row-actions.tsx +33 -21
  512. package/src/routes/shipping-profiles/shipping-profile-detail/components/shipping-profile-general-section/shipping-profile-general-section.tsx +17 -13
  513. package/src/routes/shipping-profiles/shipping-profile-detail/shipping-profile-detail.tsx +1 -1
  514. package/src/routes/shipping-profiles/shipping-profiles-list/components/shipping-profile-list-table/shipping-profile-list-table.tsx +9 -5
  515. package/src/routes/shipping-profiles/shipping-profiles-list/components/shipping-profile-list-table/use-shipping-profile-table-columns.tsx +13 -5
  516. package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +55 -36
  517. package/src/routes/store/store-add-currencies/store-add-currencies.tsx +8 -2
  518. package/src/routes/store/store-detail/components/store-currency-section/store-currency-section.tsx +109 -83
  519. package/src/routes/store/store-detail/components/store-general-section/store-general-section.tsx +102 -78
  520. package/src/routes/store/store-detail/components/store-locale-section/store-locale-section.tsx +79 -64
  521. package/src/routes/store/store-detail/store-detail.tsx +8 -3
  522. package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +86 -66
  523. package/src/routes/tax-regions/common/components/tax-override-card/tax-override-card.tsx +38 -23
  524. package/src/routes/tax-regions/common/components/tax-override-table/tax-override-table.tsx +8 -6
  525. package/src/routes/tax-regions/common/components/tax-rate-line/tax-rate-line.tsx +38 -21
  526. package/src/routes/tax-regions/common/components/tax-region-card/tax-region-card.tsx +48 -32
  527. package/src/routes/tax-regions/common/components/tax-region-table/tax-region-table.tsx +8 -6
  528. package/src/routes/tax-regions/tax-region-create/components/tax-region-create-form/tax-region-create-form.tsx +83 -80
  529. package/src/routes/tax-regions/tax-region-detail/components/tax-region-detail-section/tax-region-detail-section.tsx +9 -4
  530. package/src/routes/tax-regions/tax-region-detail/components/tax-region-override-section/tax-region-override-section.tsx +15 -4
  531. package/src/routes/tax-regions/tax-region-detail/components/tax-region-province-section/tax-region-province-section.tsx +7 -1
  532. package/src/routes/tax-regions/tax-region-detail/tax-region-detail.tsx +5 -2
  533. package/src/routes/tax-regions/tax-region-list/components/tax-region-list-view/tax-region-list-view.tsx +10 -4
  534. package/src/routes/tax-regions/tax-region-province-create/components/tax-region-province-create-form/tax-region-province-create-form.tsx +82 -79
  535. package/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-detail-section/tax-region-detail-section.tsx +9 -5
  536. package/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-override-section/tax-region-province-override-section.tsx +15 -4
  537. package/src/routes/tax-regions/tax-region-province-detail/tax-region-detail.tsx +5 -2
  538. package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +11 -7
  539. package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +4 -1
  540. package/src/routes/translations/translation-list/translation-list.tsx +68 -38
  541. package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +39 -16
  542. package/src/routes/users/user-detail/components/user-general-section/user-general-section.tsx +33 -22
  543. package/src/routes/users/user-detail/components/user-role-section/index.ts +1 -0
  544. package/src/routes/users/user-detail/components/user-role-section/user-role-section.tsx +81 -0
  545. package/src/routes/users/user-detail/user-detail.tsx +11 -1
  546. package/src/routes/users/user-invite/components/invite-user-form/invite-user-form.tsx +46 -36
  547. package/src/routes/users/user-list/components/user-list-table/user-list-table-actions.tsx +6 -0
  548. package/src/routes/users/user-list/components/user-list-table/user-list-table.tsx +13 -4
  549. package/src/routes/workflow-executions/workflow-execution-detail/workflow-detail.tsx +1 -1
  550. package/dist/chunk-PNGR3CPH.mjs +0 -54
  551. package/dist/collection-metadata-CE5JGMBU.mjs +0 -76
  552. package/dist/home-KFQGXKRT.mjs +0 -16
  553. package/dist/order-metadata-LX5ZWHQF.mjs +0 -76
  554. package/dist/product-tag-metadata-7P3JGVYS.mjs +0 -76
  555. package/dist/product-type-metadata-HTEP2YTQ.mjs +0 -76
  556. package/dist/region-metadata-2GTR2Q4K.mjs +0 -77
  557. package/dist/store-metadata-4P3U6G7J.mjs +0 -75
  558. package/dist/user-metadata-BVIBE7ID.mjs +0 -77
  559. package/dist/{chunk-EBK5S7WC.mjs → chunk-E2EXYXY6.mjs} +4 -4
  560. package/dist/{chunk-ODYWAXSU.mjs → chunk-FITRKDTQ.mjs} +6 -6
  561. package/dist/{chunk-4KQBZRB4.mjs → chunk-GWDYRHER.mjs} +3 -3
  562. package/dist/{reset-password-TVCOU7AX.mjs → reset-password-FC5RJZSL.mjs} +1 -1
@@ -24,26 +24,26 @@ import "./chunk-IUCDCPJU.mjs";
24
24
  import {
25
25
  KeyboundForm
26
26
  } from "./chunk-B3R53QK3.mjs";
27
- import "./chunk-5SZFF255.mjs";
28
- import "./chunk-LPEUYMRK.mjs";
29
- import "./chunk-C76H5USB.mjs";
30
- import "./chunk-2JYTX67H.mjs";
31
- import "./chunk-OFF55HSG.mjs";
32
27
  import "./chunk-M6QL27ZL.mjs";
33
28
  import {
34
29
  RouteFocusModal,
35
30
  useRouteModal
36
31
  } from "./chunk-GXJ5J364.mjs";
37
32
  import "./chunk-OBQI23QM.mjs";
33
+ import "./chunk-5SZFF255.mjs";
34
+ import "./chunk-LPEUYMRK.mjs";
38
35
  import "./chunk-OC7BQLYI.mjs";
39
36
  import "./chunk-S4DMV3ZT.mjs";
40
37
  import {
41
38
  useAddOrRemoveCampaignPromotions,
42
39
  useCampaign,
43
40
  usePromotions
44
- } from "./chunk-3C2RPYDJ.mjs";
45
- import "./chunk-SEMVMECK.mjs";
41
+ } from "./chunk-2EZMK7DO.mjs";
42
+ import "./chunk-C76H5USB.mjs";
43
+ import "./chunk-56JWEPQ5.mjs";
46
44
  import "./chunk-NFEK63OE.mjs";
45
+ import "./chunk-2JYTX67H.mjs";
46
+ import "./chunk-OFF55HSG.mjs";
47
47
  import "./chunk-QZ7TP4HQ.mjs";
48
48
 
49
49
  // src/routes/campaigns/add-campaign-promotions/add-campaign-promotions.tsx
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AddLocalesForm
3
- } from "./chunk-DOJWUV5E.mjs";
3
+ } from "./chunk-GISA2KVG.mjs";
4
4
  import "./chunk-6PNOUH6F.mjs";
5
5
  import "./chunk-DRHDNSJA.mjs";
6
6
  import "./chunk-LQTHYS2Z.mjs";
@@ -11,56 +11,60 @@ import "./chunk-EMIHDNB7.mjs";
11
11
  import "./chunk-P3UUX2T6.mjs";
12
12
  import "./chunk-IUCDCPJU.mjs";
13
13
  import "./chunk-B3R53QK3.mjs";
14
- import "./chunk-LPEUYMRK.mjs";
15
- import {
16
- useFeatureFlag
17
- } from "./chunk-PJU3RODH.mjs";
18
- import "./chunk-C76H5USB.mjs";
19
- import "./chunk-2JYTX67H.mjs";
20
- import "./chunk-OFF55HSG.mjs";
21
14
  import {
22
15
  RouteFocusModal
23
16
  } from "./chunk-GXJ5J364.mjs";
24
17
  import "./chunk-OBQI23QM.mjs";
25
- import "./chunk-WWCRED3P.mjs";
18
+ import "./chunk-P7JP7FND.mjs";
26
19
  import "./chunk-CXRGHH7Y.mjs";
27
- import "./chunk-HIX2NSSN.mjs";
28
- import "./chunk-RW5LLFK2.mjs";
29
- import "./chunk-2LVQXUFY.mjs";
30
- import "./chunk-EYDZJ522.mjs";
31
- import "./chunk-ISGDOD5J.mjs";
32
- import "./chunk-U6M75BAC.mjs";
33
- import "./chunk-QG545K2O.mjs";
34
- import "./chunk-QIUJGXDT.mjs";
35
- import "./chunk-ZB3WPQQA.mjs";
36
- import "./chunk-PTP3K7TB.mjs";
37
- import "./chunk-DEOCXBV2.mjs";
38
- import "./chunk-2V5DOTI3.mjs";
39
- import "./chunk-22ELTIVU.mjs";
40
- import "./chunk-RH74EIOJ.mjs";
41
- import "./chunk-2VYWSRWQ.mjs";
42
- import "./chunk-D3TDNKSZ.mjs";
20
+ import "./chunk-V4JVEFO5.mjs";
21
+ import "./chunk-MPNBXS4G.mjs";
22
+ import "./chunk-QGI2KRFU.mjs";
23
+ import "./chunk-VDCNRJUS.mjs";
24
+ import "./chunk-74SYOZ4T.mjs";
25
+ import "./chunk-G6CDPEIW.mjs";
26
+ import "./chunk-RDUHTVDJ.mjs";
27
+ import "./chunk-ZQ2ZD6MI.mjs";
28
+ import "./chunk-TFW4TVLL.mjs";
29
+ import "./chunk-MSIJIR7S.mjs";
30
+ import "./chunk-MLVYQMPS.mjs";
31
+ import "./chunk-GBPRAW4T.mjs";
32
+ import "./chunk-H7MQ3FSC.mjs";
33
+ import "./chunk-6XOZLCQL.mjs";
34
+ import "./chunk-A4G5XQF5.mjs";
35
+ import "./chunk-CXKMJWIC.mjs";
36
+ import "./chunk-LPEUYMRK.mjs";
37
+ import "./chunk-5DX4SKDD.mjs";
38
+ import {
39
+ useFeatureFlag
40
+ } from "./chunk-JEO4MPEM.mjs";
43
41
  import "./chunk-OC7BQLYI.mjs";
44
42
  import "./chunk-S4DMV3ZT.mjs";
45
- import "./chunk-ACQJSQ5A.mjs";
46
- import "./chunk-SH6DEX5S.mjs";
47
- import "./chunk-DSBMVN2K.mjs";
48
- import "./chunk-4FZLRC2F.mjs";
49
- import "./chunk-3C2RPYDJ.mjs";
50
- import "./chunk-4SIZ37QP.mjs";
51
- import "./chunk-CHQR6GOM.mjs";
52
- import "./chunk-HWLVYKUO.mjs";
53
- import "./chunk-BGQF2VTH.mjs";
54
- import "./chunk-EMDIIWVL.mjs";
43
+ import "./chunk-F3PKEQH2.mjs";
44
+ import "./chunk-LVKBZSFN.mjs";
45
+ import "./chunk-YF5DAAY7.mjs";
46
+ import "./chunk-EYCPXU6G.mjs";
47
+ import "./chunk-2EZMK7DO.mjs";
48
+ import "./chunk-3M3MU37L.mjs";
49
+ import "./chunk-7BSV7MIX.mjs";
50
+ import "./chunk-IMI46Y3Q.mjs";
51
+ import "./chunk-SUCODEOW.mjs";
52
+ import "./chunk-2TO3GDNG.mjs";
55
53
  import {
56
54
  useStore
57
- } from "./chunk-YDJ774GR.mjs";
58
- import "./chunk-SKQPG6BC.mjs";
59
- import "./chunk-5N2B66CN.mjs";
60
- import "./chunk-2G6AYJ2P.mjs";
55
+ } from "./chunk-JQ6O627Q.mjs";
56
+ import "./chunk-CZVBXKUE.mjs";
57
+ import "./chunk-64QQNCPM.mjs";
58
+ import "./chunk-WTD4HMKW.mjs";
59
+ import "./chunk-FPQTWRMF.mjs";
61
60
  import "./chunk-HGRIOEAR.mjs";
62
- import "./chunk-SEMVMECK.mjs";
61
+ import "./chunk-C76H5USB.mjs";
62
+ import "./chunk-56JWEPQ5.mjs";
63
63
  import "./chunk-NFEK63OE.mjs";
64
+ import "./chunk-2JYTX67H.mjs";
65
+ import "./chunk-OFF55HSG.mjs";
66
+ import "./chunk-GE3FTJXX.mjs";
67
+ import "./chunk-4IHNRS43.mjs";
64
68
  import "./chunk-QZ7TP4HQ.mjs";
65
69
 
66
70
  // src/routes/translations/add-locales/add-locales.tsx
@@ -8,9 +8,6 @@ import "./chunk-IUCDCPJU.mjs";
8
8
  import {
9
9
  KeyboundForm
10
10
  } from "./chunk-B3R53QK3.mjs";
11
- import {
12
- castNumber
13
- } from "./chunk-6GU6IDUA.mjs";
14
11
  import {
15
12
  RouteDrawer
16
13
  } from "./chunk-M6QL27ZL.mjs";
@@ -20,15 +17,18 @@ import {
20
17
  import {
21
18
  Form
22
19
  } from "./chunk-OBQI23QM.mjs";
20
+ import {
21
+ castNumber
22
+ } from "./chunk-6GU6IDUA.mjs";
23
23
  import {
24
24
  useStockLocation
25
- } from "./chunk-BGQF2VTH.mjs";
25
+ } from "./chunk-SUCODEOW.mjs";
26
26
  import {
27
27
  useInventoryItem,
28
28
  useUpdateInventoryLevel
29
- } from "./chunk-2G6AYJ2P.mjs";
29
+ } from "./chunk-FPQTWRMF.mjs";
30
30
  import "./chunk-HGRIOEAR.mjs";
31
- import "./chunk-SEMVMECK.mjs";
31
+ import "./chunk-56JWEPQ5.mjs";
32
32
  import "./chunk-NFEK63OE.mjs";
33
33
  import "./chunk-QZ7TP4HQ.mjs";
34
34
 
@@ -15,11 +15,11 @@ import {
15
15
  } from "./chunk-OBQI23QM.mjs";
16
16
  import {
17
17
  useCreateApiKey
18
- } from "./chunk-RW5LLFK2.mjs";
19
- import "./chunk-5N2B66CN.mjs";
20
- import "./chunk-2G6AYJ2P.mjs";
18
+ } from "./chunk-MPNBXS4G.mjs";
19
+ import "./chunk-WTD4HMKW.mjs";
20
+ import "./chunk-FPQTWRMF.mjs";
21
21
  import "./chunk-HGRIOEAR.mjs";
22
- import "./chunk-SEMVMECK.mjs";
22
+ import "./chunk-56JWEPQ5.mjs";
23
23
  import "./chunk-NFEK63OE.mjs";
24
24
  import "./chunk-QZ7TP4HQ.mjs";
25
25
 
@@ -3,14 +3,14 @@ import {
3
3
  getApiKeyTypeProps,
4
4
  prettifyRedactedToken
5
5
  } from "./chunk-G22WWLPG.mjs";
6
- import "./chunk-R2A5UDCT.mjs";
6
+ import "./chunk-N6RYSL6E.mjs";
7
7
  import {
8
8
  UserLink
9
- } from "./chunk-DY3PYRBR.mjs";
9
+ } from "./chunk-CP24GRIC.mjs";
10
10
  import "./chunk-3GLXEMCN.mjs";
11
11
  import {
12
12
  ConfigurableDataTable
13
- } from "./chunk-7FR6ZF6H.mjs";
13
+ } from "./chunk-473LVVAR.mjs";
14
14
  import "./chunk-HGXZ5BJO.mjs";
15
15
  import "./chunk-PRJK2BND.mjs";
16
16
  import "./chunk-RIV7FKGN.mjs";
@@ -21,18 +21,19 @@ import "./chunk-R65S6ZZV.mjs";
21
21
  import {
22
22
  createTableAdapter
23
23
  } from "./chunk-UZVGDY3G.mjs";
24
- import "./chunk-EBK5S7WC.mjs";
24
+ import "./chunk-E2EXYXY6.mjs";
25
25
  import "./chunk-V3TXAU2Y.mjs";
26
26
  import "./chunk-JIH7UPZU.mjs";
27
27
  import "./chunk-WHWDHRC2.mjs";
28
- import "./chunk-NTEWUH4C.mjs";
29
28
  import "./chunk-XQCYSVGP.mjs";
30
29
  import "./chunk-XEEPMJRY.mjs";
31
30
  import "./chunk-P5RN6AUG.mjs";
31
+ import "./chunk-NTEWUH4C.mjs";
32
32
  import "./chunk-3VSHJ64Q.mjs";
33
33
  import "./chunk-JPXF73N2.mjs";
34
34
  import "./chunk-P3UUX2T6.mjs";
35
35
  import "./chunk-DG7J63J2.mjs";
36
+ import "./chunk-CKBLQMX4.mjs";
36
37
  import {
37
38
  useSalesChannelTableColumns,
38
39
  useSalesChannelTableEmptyState,
@@ -41,84 +42,93 @@ import {
41
42
  } from "./chunk-KCFHHRVQ.mjs";
42
43
  import "./chunk-VLY6BXSQ.mjs";
43
44
  import "./chunk-IFQC5X3W.mjs";
45
+ import {
46
+ PermissionGuard
47
+ } from "./chunk-W5UTJK2D.mjs";
48
+ import "./chunk-P7JP7FND.mjs";
49
+ import "./chunk-CXRGHH7Y.mjs";
50
+ import "./chunk-V4JVEFO5.mjs";
51
+ import {
52
+ apiKeysQueryKeys,
53
+ useApiKey,
54
+ useBatchRemoveSalesChannelsFromApiKey,
55
+ useDeleteApiKey,
56
+ useRevokeApiKey
57
+ } from "./chunk-MPNBXS4G.mjs";
58
+ import "./chunk-QGI2KRFU.mjs";
59
+ import "./chunk-VDCNRJUS.mjs";
60
+ import "./chunk-74SYOZ4T.mjs";
61
+ import "./chunk-G6CDPEIW.mjs";
62
+ import "./chunk-RDUHTVDJ.mjs";
63
+ import "./chunk-ZQ2ZD6MI.mjs";
64
+ import "./chunk-TFW4TVLL.mjs";
65
+ import "./chunk-MSIJIR7S.mjs";
66
+ import "./chunk-MLVYQMPS.mjs";
67
+ import "./chunk-GBPRAW4T.mjs";
68
+ import "./chunk-H7MQ3FSC.mjs";
69
+ import "./chunk-6XOZLCQL.mjs";
70
+ import "./chunk-A4G5XQF5.mjs";
71
+ import "./chunk-CXKMJWIC.mjs";
44
72
  import {
45
73
  DataTable
46
- } from "./chunk-6CQCXI3F.mjs";
74
+ } from "./chunk-BZNXMJ6X.mjs";
47
75
  import {
48
76
  LayoutComposer,
49
77
  detailPageDefaultEntries
50
- } from "./chunk-GVVNJYF3.mjs";
51
- import "./chunk-HFX2KPQD.mjs";
78
+ } from "./chunk-IOWVXBDE.mjs";
52
79
  import "./chunk-5SZFF255.mjs";
53
80
  import {
54
81
  SingleColumnPageSkeleton,
55
82
  Skeleton
56
83
  } from "./chunk-LPEUYMRK.mjs";
84
+ import "./chunk-5DX4SKDD.mjs";
57
85
  import {
58
86
  useFeatureFlag
59
- } from "./chunk-PJU3RODH.mjs";
60
- import "./chunk-C76H5USB.mjs";
61
- import "./chunk-RDBROTJE.mjs";
62
- import "./chunk-MNXC6Q4F.mjs";
63
- import "./chunk-ZY7CAOHZ.mjs";
64
- import {
65
- useDate
66
- } from "./chunk-2JYTX67H.mjs";
67
- import "./chunk-OFF55HSG.mjs";
68
- import "./chunk-WWCRED3P.mjs";
69
- import "./chunk-CXRGHH7Y.mjs";
70
- import "./chunk-HIX2NSSN.mjs";
71
- import {
72
- apiKeysQueryKeys,
73
- useApiKey,
74
- useBatchRemoveSalesChannelsFromApiKey,
75
- useDeleteApiKey,
76
- useRevokeApiKey
77
- } from "./chunk-RW5LLFK2.mjs";
78
- import "./chunk-2LVQXUFY.mjs";
79
- import "./chunk-EYDZJ522.mjs";
80
- import "./chunk-ISGDOD5J.mjs";
81
- import "./chunk-U6M75BAC.mjs";
82
- import "./chunk-QG545K2O.mjs";
83
- import "./chunk-QIUJGXDT.mjs";
84
- import "./chunk-ZB3WPQQA.mjs";
85
- import "./chunk-PTP3K7TB.mjs";
86
- import "./chunk-DEOCXBV2.mjs";
87
- import "./chunk-2V5DOTI3.mjs";
88
- import "./chunk-22ELTIVU.mjs";
89
- import "./chunk-RH74EIOJ.mjs";
90
- import "./chunk-2VYWSRWQ.mjs";
91
- import "./chunk-D3TDNKSZ.mjs";
87
+ } from "./chunk-JEO4MPEM.mjs";
92
88
  import {
93
89
  ActionMenu
94
90
  } from "./chunk-OZPB6JBL.mjs";
95
91
  import "./chunk-OC7BQLYI.mjs";
96
92
  import "./chunk-S4DMV3ZT.mjs";
97
- import "./chunk-ACQJSQ5A.mjs";
98
- import "./chunk-SH6DEX5S.mjs";
93
+ import "./chunk-F3PKEQH2.mjs";
94
+ import "./chunk-LVKBZSFN.mjs";
99
95
  import {
100
96
  useUser
101
- } from "./chunk-DSBMVN2K.mjs";
102
- import "./chunk-4FZLRC2F.mjs";
103
- import "./chunk-3C2RPYDJ.mjs";
104
- import "./chunk-4SIZ37QP.mjs";
105
- import "./chunk-CHQR6GOM.mjs";
106
- import "./chunk-HWLVYKUO.mjs";
107
- import "./chunk-BGQF2VTH.mjs";
108
- import "./chunk-EMDIIWVL.mjs";
109
- import "./chunk-YDJ774GR.mjs";
110
- import "./chunk-SKQPG6BC.mjs";
97
+ } from "./chunk-YF5DAAY7.mjs";
98
+ import "./chunk-EYCPXU6G.mjs";
99
+ import "./chunk-2EZMK7DO.mjs";
100
+ import "./chunk-3M3MU37L.mjs";
101
+ import "./chunk-7BSV7MIX.mjs";
102
+ import "./chunk-IMI46Y3Q.mjs";
103
+ import "./chunk-SUCODEOW.mjs";
104
+ import "./chunk-2TO3GDNG.mjs";
105
+ import "./chunk-JQ6O627Q.mjs";
106
+ import "./chunk-CZVBXKUE.mjs";
107
+ import {
108
+ useApiKeyPermissions,
109
+ useSalesChannelPermissions
110
+ } from "./chunk-64QQNCPM.mjs";
111
111
  import {
112
112
  useSalesChannels
113
- } from "./chunk-5N2B66CN.mjs";
114
- import "./chunk-2G6AYJ2P.mjs";
113
+ } from "./chunk-WTD4HMKW.mjs";
114
+ import "./chunk-FPQTWRMF.mjs";
115
115
  import "./chunk-HGRIOEAR.mjs";
116
+ import "./chunk-C76H5USB.mjs";
116
117
  import {
117
118
  queryClient
118
- } from "./chunk-SEMVMECK.mjs";
119
+ } from "./chunk-56JWEPQ5.mjs";
119
120
  import {
120
121
  sdk
121
122
  } from "./chunk-NFEK63OE.mjs";
123
+ import "./chunk-RDBROTJE.mjs";
124
+ import "./chunk-MNXC6Q4F.mjs";
125
+ import "./chunk-ZY7CAOHZ.mjs";
126
+ import {
127
+ useDate
128
+ } from "./chunk-2JYTX67H.mjs";
129
+ import "./chunk-OFF55HSG.mjs";
130
+ import "./chunk-GE3FTJXX.mjs";
131
+ import "./chunk-4IHNRS43.mjs";
122
132
  import "./chunk-QZ7TP4HQ.mjs";
123
133
 
124
134
  // src/routes/api-key-management/api-key-management-detail/api-key-management-detail.tsx
@@ -145,6 +155,7 @@ var ApiKeyGeneralSection = ({ apiKey }) => {
145
155
  const navigate = useNavigate();
146
156
  const prompt = usePrompt();
147
157
  const { getFullDate } = useDate();
158
+ const { canUpdate, canDelete } = useApiKeyPermissions();
148
159
  const { mutateAsync: revokeAsync } = useRevokeApiKey(apiKey.id);
149
160
  const { mutateAsync: deleteAsync } = useDeleteApiKey(apiKey.id);
150
161
  const handleDelete = async () => {
@@ -198,22 +209,38 @@ var ApiKeyGeneralSection = ({ apiKey }) => {
198
209
  }
199
210
  });
200
211
  };
201
- const dangerousActions = [
202
- {
203
- icon: /* @__PURE__ */ jsx(Trash, {}),
204
- label: t("actions.delete"),
205
- onClick: handleDelete,
206
- disabled: !apiKey.revoked_at
207
- }
208
- ];
209
- if (!apiKey.revoked_at) {
210
- dangerousActions.unshift({
212
+ const dangerousActions = [];
213
+ if (!apiKey.revoked_at && canUpdate) {
214
+ dangerousActions.push({
211
215
  icon: /* @__PURE__ */ jsx(XCircle, {}),
212
216
  label: t("apiKeyManagement.actions.revoke"),
213
217
  onClick: handleRevoke,
214
218
  disabled: !!apiKey.revoked_at
215
219
  });
216
220
  }
221
+ if (canDelete) {
222
+ dangerousActions.push({
223
+ icon: /* @__PURE__ */ jsx(Trash, {}),
224
+ label: t("actions.delete"),
225
+ onClick: handleDelete,
226
+ disabled: !apiKey.revoked_at
227
+ });
228
+ }
229
+ const menuGroups = [];
230
+ if (canUpdate) {
231
+ menuGroups.push({
232
+ actions: [
233
+ {
234
+ label: t("actions.edit"),
235
+ icon: /* @__PURE__ */ jsx(PencilSquare, {}),
236
+ to: "edit"
237
+ }
238
+ ]
239
+ });
240
+ }
241
+ if (dangerousActions.length) {
242
+ menuGroups.push({ actions: dangerousActions });
243
+ }
217
244
  const apiKeyStatus = getApiKeyStatusProps(apiKey.revoked_at, t);
218
245
  const apiKeyType = getApiKeyTypeProps(apiKey.type, t);
219
246
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", children: [
@@ -221,25 +248,7 @@ var ApiKeyGeneralSection = ({ apiKey }) => {
221
248
  /* @__PURE__ */ jsx(Heading, { children: apiKey.title }),
222
249
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-4", children: [
223
250
  /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: /* @__PURE__ */ jsx(StatusBadge, { color: apiKeyStatus.color, children: apiKeyStatus.label }) }),
224
- /* @__PURE__ */ jsx(
225
- ActionMenu,
226
- {
227
- groups: [
228
- {
229
- actions: [
230
- {
231
- label: t("actions.edit"),
232
- icon: /* @__PURE__ */ jsx(PencilSquare, {}),
233
- to: "edit"
234
- }
235
- ]
236
- },
237
- {
238
- actions: dangerousActions
239
- }
240
- ]
241
- }
242
- )
251
+ menuGroups.length > 0 && /* @__PURE__ */ jsx(ActionMenu, { groups: menuGroups })
243
252
  ] })
244
253
  ] }),
245
254
  /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
@@ -313,6 +322,9 @@ var ApiKeySalesChannelSection = ({
313
322
  }) => {
314
323
  const [rowSelection, setRowSelection] = useState({});
315
324
  const { t } = useTranslation2();
325
+ const { canUpdate: canUpdateApiKey } = useApiKeyPermissions();
326
+ const { canUpdate: canUpdateSalesChannels } = useSalesChannelPermissions();
327
+ const canUpdate = canUpdateApiKey && canUpdateSalesChannels;
316
328
  const searchParams = useSalesChannelTableQuery({
317
329
  pageSize: PAGE_SIZE,
318
330
  prefix: PREFIX
@@ -323,9 +335,9 @@ var ApiKeySalesChannelSection = ({
323
335
  placeholderData: keepPreviousData
324
336
  }
325
337
  );
326
- const columns = useColumns(apiKey.id);
338
+ const columns = useColumns(apiKey.id, canUpdate);
327
339
  const filters = useSalesChannelTableFilters();
328
- const commands = useCommands(apiKey.id, setRowSelection);
340
+ const commands = useCommands(apiKey.id, setRowSelection, canUpdate);
329
341
  const emptyState = useSalesChannelTableEmptyState();
330
342
  return /* @__PURE__ */ jsx2(Container2, { className: "divide-y p-0", children: /* @__PURE__ */ jsx2(
331
343
  DataTable,
@@ -345,17 +357,17 @@ var ApiKeySalesChannelSection = ({
345
357
  onRowSelectionChange: setRowSelection
346
358
  },
347
359
  rowHref: (row) => `/settings/sales-channels/${row.id}`,
348
- action: {
360
+ action: canUpdate ? {
349
361
  label: t("actions.add"),
350
362
  to: "sales-channels"
351
- },
363
+ } : void 0,
352
364
  prefix: PREFIX,
353
365
  pageSize: PAGE_SIZE
354
366
  }
355
367
  ) });
356
368
  };
357
369
  var columnHelper = createDataTableColumnHelper();
358
- var useColumns = (id) => {
370
+ var useColumns = (id, canUpdate) => {
359
371
  const { t } = useTranslation2();
360
372
  const navigate = useNavigate2();
361
373
  const prompt = usePrompt2();
@@ -391,34 +403,38 @@ var useColumns = (id) => {
391
403
  );
392
404
  return useMemo(
393
405
  () => [
394
- columnHelper.select(),
406
+ ...canUpdate ? [columnHelper.select()] : [],
395
407
  ...base,
396
- columnHelper.action({
397
- actions: (ctx) => [
398
- [
399
- {
400
- label: t("actions.edit"),
401
- icon: /* @__PURE__ */ jsx2(PencilSquare2, {}),
402
- onClick: () => {
403
- navigate(`/settings/sales-channels/${ctx.row.original.id}/edit`);
408
+ ...canUpdate ? [
409
+ columnHelper.action({
410
+ actions: (ctx) => [
411
+ [
412
+ {
413
+ label: t("actions.edit"),
414
+ icon: /* @__PURE__ */ jsx2(PencilSquare2, {}),
415
+ onClick: () => {
416
+ navigate(
417
+ `/settings/sales-channels/${ctx.row.original.id}/edit`
418
+ );
419
+ }
404
420
  }
405
- }
406
- ],
407
- [
408
- {
409
- icon: /* @__PURE__ */ jsx2(Trash2, {}),
410
- label: t("actions.delete"),
411
- onClick: () => handleDelete(ctx.row.original)
412
- }
421
+ ],
422
+ [
423
+ {
424
+ icon: /* @__PURE__ */ jsx2(Trash2, {}),
425
+ label: t("actions.delete"),
426
+ onClick: () => handleDelete(ctx.row.original)
427
+ }
428
+ ]
413
429
  ]
414
- ]
415
- })
430
+ })
431
+ ] : []
416
432
  ],
417
- [base, handleDelete, navigate, t]
433
+ [base, handleDelete, navigate, t, canUpdate]
418
434
  );
419
435
  };
420
436
  var commandHelper = createDataTableCommandHelper();
421
- var useCommands = (id, setRowSelection) => {
437
+ var useCommands = (id, setRowSelection, canUpdate) => {
422
438
  const { t } = useTranslation2();
423
439
  const prompt = usePrompt2();
424
440
  const { mutateAsync } = useBatchRemoveSalesChannelsFromApiKey(id);
@@ -452,16 +468,18 @@ var useCommands = (id, setRowSelection) => {
452
468
  },
453
469
  [mutateAsync, prompt, t, setRowSelection]
454
470
  );
455
- return useMemo(
456
- () => [
471
+ return useMemo(() => {
472
+ if (!canUpdate) {
473
+ return [];
474
+ }
475
+ return [
457
476
  commandHelper.command({
458
477
  action: handleRemove,
459
478
  label: t("actions.remove"),
460
479
  shortcut: "r"
461
480
  })
462
- ],
463
- [handleRemove, t]
464
- );
481
+ ];
482
+ }, [handleRemove, t, canUpdate]);
465
483
  };
466
484
 
467
485
  // src/routes/api-key-management/api-key-management-detail/components/api-key-sales-channel-section/configurable-api-key-sales-channel-section.tsx
@@ -656,10 +674,9 @@ var ApiKeyManagementDetail = () => {
656
674
  sections: {
657
675
  main: /* @__PURE__ */ jsxs2(Fragment2, { children: [
658
676
  /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "ApiKeyGeneralSection", children: /* @__PURE__ */ jsx4(ApiKeyGeneralSection, { apiKey: api_key }) }),
659
- isPublishable && /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "ApiKeySalesChannelSection", children: isViewConfigEnabled ? /* @__PURE__ */ jsx4(ConfigurableApiKeySalesChannelSection, { apiKey: api_key }) : /* @__PURE__ */ jsx4(ApiKeySalesChannelSection, { apiKey: api_key }) }),
677
+ isPublishable && /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "ApiKeySalesChannelSection", children: /* @__PURE__ */ jsx4(PermissionGuard, { permission: "sales_channel:read", children: isViewConfigEnabled ? /* @__PURE__ */ jsx4(ConfigurableApiKeySalesChannelSection, { apiKey: api_key }) : /* @__PURE__ */ jsx4(ApiKeySalesChannelSection, { apiKey: api_key }) }) }),
660
678
  detailPageDefaultEntries(api_key, {
661
- metadata: false,
662
- permissions: false
679
+ metadata: false
663
680
  })
664
681
  ] })
665
682
  }
@@ -17,11 +17,11 @@ import {
17
17
  import {
18
18
  useApiKey,
19
19
  useUpdateApiKey
20
- } from "./chunk-RW5LLFK2.mjs";
21
- import "./chunk-5N2B66CN.mjs";
22
- import "./chunk-2G6AYJ2P.mjs";
20
+ } from "./chunk-MPNBXS4G.mjs";
21
+ import "./chunk-WTD4HMKW.mjs";
22
+ import "./chunk-FPQTWRMF.mjs";
23
23
  import "./chunk-HGRIOEAR.mjs";
24
- import "./chunk-SEMVMECK.mjs";
24
+ import "./chunk-56JWEPQ5.mjs";
25
25
  import "./chunk-NFEK63OE.mjs";
26
26
  import "./chunk-QZ7TP4HQ.mjs";
27
27