@medusajs/dashboard 2.12.2-snapshot-20251209184934 → 2.12.2

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 (228) hide show
  1. package/dist/{add-campaign-promotions-PHAHMGXP.mjs → add-campaign-promotions-JQKPED4U.mjs} +2 -2
  2. package/dist/{adjust-inventory-I5VYMAI4.mjs → adjust-inventory-2MFA656V.mjs} +2 -2
  3. package/dist/{api-key-management-create-CVRFY4PL.mjs → api-key-management-create-ZUVF3SLR.mjs} +2 -2
  4. package/dist/{api-key-management-detail-APCZDVLI.mjs → api-key-management-detail-AWFAZIS3.mjs} +4 -4
  5. package/dist/{api-key-management-edit-JMU3WEPX.mjs → api-key-management-edit-42HNUSXL.mjs} +2 -2
  6. package/dist/{api-key-management-sales-channels-4OU5VGIG.mjs → api-key-management-sales-channels-7FVABESO.mjs} +2 -2
  7. package/dist/app.css +0 -4
  8. package/dist/app.js +4811 -5729
  9. package/dist/app.mjs +4 -4
  10. package/dist/{campaign-budget-edit-B5MSE26J.mjs → campaign-budget-edit-6DMZGUCI.mjs} +2 -2
  11. package/dist/{campaign-configuration-QOE3D2BE.mjs → campaign-configuration-UNFRB5HR.mjs} +2 -2
  12. package/dist/{campaign-create-FJOECKGT.mjs → campaign-create-QXG7PD3S.mjs} +3 -3
  13. package/dist/{campaign-detail-ALXFJ4HV.mjs → campaign-detail-63VVZZRR.mjs} +3 -3
  14. package/dist/{campaign-edit-K2POQH7M.mjs → campaign-edit-HN4US7DV.mjs} +2 -2
  15. package/dist/{categories-metadata-JQP6TFX3.mjs → categories-metadata-MWCZ2DYL.mjs} +6 -6
  16. package/dist/{category-create-L2KJCHPO.mjs → category-create-FFIBWXAH.mjs} +2 -2
  17. package/dist/{category-detail-VGMUHRD2.mjs → category-detail-XL6NRY6P.mjs} +6 -22
  18. package/dist/{category-edit-U6SLZSAX.mjs → category-edit-74MZ6TXN.mjs} +2 -2
  19. package/dist/{category-list-W7JW4PWA.mjs → category-list-AH2EGTI7.mjs} +1 -16
  20. package/dist/{category-organize-LLSVAO3U.mjs → category-organize-B6EFBFKB.mjs} +2 -2
  21. package/dist/{category-products-26UAVYOO.mjs → category-products-STYU4DUG.mjs} +6 -6
  22. package/dist/{chunk-RKUXD6IZ.mjs → chunk-25UWYEJX.mjs} +1 -1
  23. package/dist/{chunk-BZKI5J2M.mjs → chunk-3YPRDSZ6.mjs} +1 -1
  24. package/dist/{chunk-D6UW7URG.mjs → chunk-42OOM4DJ.mjs} +6 -23
  25. package/dist/{chunk-7GJ5T4R3.mjs → chunk-4G2UHUXX.mjs} +2 -2
  26. package/dist/{chunk-ATP7TOOL.mjs → chunk-4YAPXPLM.mjs} +1 -1
  27. package/dist/{chunk-DCYB22MH.mjs → chunk-AMOGGDOW.mjs} +1 -1
  28. package/dist/{chunk-HPPR6PXK.mjs → chunk-CZFLKMYE.mjs} +1 -1
  29. package/dist/{chunk-N3SAXQVR.mjs → chunk-D4J3CEWH.mjs} +2 -2
  30. package/dist/{chunk-F5I264Q3.mjs → chunk-EQTBJSBZ.mjs} +0 -3
  31. package/dist/{chunk-UEJOY5PF.mjs → chunk-EXDBX4YX.mjs} +3 -3
  32. package/dist/{chunk-I6C52ARQ.mjs → chunk-HWKLNKOY.mjs} +1 -1
  33. package/dist/{chunk-3ESSTIV2.mjs → chunk-JUVGXLY5.mjs} +12 -187
  34. package/dist/{chunk-LCEKY54O.mjs → chunk-KF7ZWW4K.mjs} +2 -2
  35. package/dist/{chunk-YIOBBZUB.mjs → chunk-L4NOVTH5.mjs} +2 -2
  36. package/dist/{chunk-K43NZTDO.mjs → chunk-LHNU4DYZ.mjs} +2 -2
  37. package/dist/{chunk-MSBISMBI.mjs → chunk-PNPT4W2F.mjs} +1 -1
  38. package/dist/{chunk-6GLZIACV.mjs → chunk-Q6MSICBU.mjs} +1 -1
  39. package/dist/{chunk-AE6R7KDB.mjs → chunk-Q6ULXDU6.mjs} +180 -230
  40. package/dist/{chunk-PS5T2R6J.mjs → chunk-UKECZ5PA.mjs} +3 -3
  41. package/dist/{chunk-CFQNWTZV.mjs → chunk-UM4OIJZ3.mjs} +1 -1
  42. package/dist/{chunk-R2EBIESZ.mjs → chunk-XTQ7UFA3.mjs} +1 -1
  43. package/dist/{chunk-WVA4O7QS.mjs → chunk-XXBP2Z5M.mjs} +1 -1
  44. package/dist/{chunk-AFXODJBA.mjs → chunk-YV4ANEZF.mjs} +1 -1
  45. package/dist/{collection-add-products-42BUUEGQ.mjs → collection-add-products-ESZEWJ46.mjs} +6 -6
  46. package/dist/{collection-create-4JX4YE47.mjs → collection-create-DCRW344Z.mjs} +2 -2
  47. package/dist/{collection-detail-JLSDQPJA.mjs → collection-detail-K6IVWLIL.mjs} +5 -20
  48. package/dist/{collection-edit-MXL35GQQ.mjs → collection-edit-UNFEW6HT.mjs} +2 -2
  49. package/dist/{collection-list-CSUDRQPF.mjs → collection-list-BL7A7SEI.mjs} +5 -20
  50. package/dist/{collection-metadata-NHI7Q5PP.mjs → collection-metadata-4EYMP7BJ.mjs} +6 -6
  51. package/dist/{customer-create-IA56MXE6.mjs → customer-create-XCLZENJS.mjs} +2 -2
  52. package/dist/{customer-create-address-27M25HTO.mjs → customer-create-address-4HZUIAM7.mjs} +2 -2
  53. package/dist/{customer-detail-TQBDVGSS.mjs → customer-detail-KAS23VQF.mjs} +3 -3
  54. package/dist/{customer-edit-XQ5NWIVX.mjs → customer-edit-BW5GVTQI.mjs} +2 -2
  55. package/dist/{customer-group-add-customers-FRJP6RCY.mjs → customer-group-add-customers-HUGHHMU6.mjs} +2 -2
  56. package/dist/{customer-group-create-RY4FVEIW.mjs → customer-group-create-6YV7W6TI.mjs} +2 -2
  57. package/dist/{customer-group-detail-VZ2LCJTM.mjs → customer-group-detail-NDATWX3X.mjs} +3 -3
  58. package/dist/{customer-group-edit-MQWARIQZ.mjs → customer-group-edit-7NXU34BQ.mjs} +2 -2
  59. package/dist/{customer-group-list-TMPPZ5UL.mjs → customer-group-list-IASP3QHT.mjs} +3 -3
  60. package/dist/{customer-group-metadata-JQJRLLXG.mjs → customer-group-metadata-WK2BGEGO.mjs} +3 -3
  61. package/dist/{customer-metadata-HN2DYD5I.mjs → customer-metadata-ZUWCUTM7.mjs} +3 -3
  62. package/dist/{customers-add-customer-group-U6N2EYQP.mjs → customers-add-customer-group-UCCFXRXX.mjs} +5 -5
  63. package/dist/{edit-inventory-item-RATTNP2Y.mjs → edit-inventory-item-Y5W6VTHJ.mjs} +2 -2
  64. package/dist/{edit-inventory-item-attributes-JHH5GSNL.mjs → edit-inventory-item-attributes-NAAZDFEJ.mjs} +2 -2
  65. package/dist/{edit-reservation-UZCSNLHY.mjs → edit-reservation-2UD4RZJX.mjs} +2 -2
  66. package/dist/{edit-rules-7TPOBXFZ.mjs → edit-rules-P5A2TLLU.mjs} +5 -5
  67. package/dist/en.json +0 -12
  68. package/dist/{inventory-create-2Y5QC3OA.mjs → inventory-create-KXFY3TQL.mjs} +6 -6
  69. package/dist/{inventory-detail-ZQCVV4RJ.mjs → inventory-detail-ZAZCDL6E.mjs} +3 -3
  70. package/dist/{inventory-metadata-UVG65D5W.mjs → inventory-metadata-4HGPMO4B.mjs} +6 -6
  71. package/dist/{inventory-stock-2ERQRZLC.mjs → inventory-stock-KFPSSUND.mjs} +7 -7
  72. package/dist/{invite-WISVECE2.mjs → invite-VKHAAF4Z.mjs} +2 -3
  73. package/dist/{location-create-WZ43K3W7.mjs → location-create-RPLEXUZR.mjs} +2 -2
  74. package/dist/{location-detail-SFDVGAXL.mjs → location-detail-YFDGVGAX.mjs} +5 -7
  75. package/dist/{location-edit-VCS7GVWQ.mjs → location-edit-L4ISEQHX.mjs} +2 -2
  76. package/dist/{location-fulfillment-providers-P6H2RGA5.mjs → location-fulfillment-providers-EGPKJDEL.mjs} +6 -6
  77. package/dist/{location-list-UK3WRDL5.mjs → location-list-Z42ZYHUF.mjs} +2 -3
  78. package/dist/{location-sales-channels-NKNM5TQK.mjs → location-sales-channels-YMABMECM.mjs} +2 -2
  79. package/dist/{location-service-zone-create-3FWF3DG5.mjs → location-service-zone-create-NSMZCD5N.mjs} +3 -3
  80. package/dist/{location-service-zone-edit-KHHMSPXD.mjs → location-service-zone-edit-6OUAFEZD.mjs} +2 -2
  81. package/dist/{location-service-zone-manage-areas-YFEAZUUN.mjs → location-service-zone-manage-areas-SEC6LKCZ.mjs} +3 -3
  82. package/dist/{location-service-zone-shipping-option-create-5DDMRKOC.mjs → location-service-zone-shipping-option-create-LEPP6ZKF.mjs} +7 -7
  83. package/dist/{location-service-zone-shipping-option-edit-QCURIIGL.mjs → location-service-zone-shipping-option-edit-QS6HTWST.mjs} +2 -2
  84. package/dist/{location-service-zone-shipping-option-pricing-UPEPQWLW.mjs → location-service-zone-shipping-option-pricing-23QLNSBT.mjs} +4 -4
  85. package/dist/{login-7SC4ZVX5.mjs → login-IQH2HKVZ.mjs} +5 -6
  86. package/dist/{manage-locations-MLNMPQ5I.mjs → manage-locations-JD6FSBOT.mjs} +2 -2
  87. package/dist/{order-allocate-items-I5KMPZY5.mjs → order-allocate-items-3DDI4V3W.mjs} +2 -2
  88. package/dist/{order-create-claim-RNAQKT2N.mjs → order-create-claim-WHQYED4S.mjs} +5 -5
  89. package/dist/{order-create-edit-SNNGAEC3.mjs → order-create-edit-RAWEHXCU.mjs} +5 -5
  90. package/dist/{order-create-exchange-OGI2AOM3.mjs → order-create-exchange-P73XCSR7.mjs} +5 -5
  91. package/dist/{order-create-fulfillment-O77TLXZZ.mjs → order-create-fulfillment-YOL4SA4B.mjs} +5 -5
  92. package/dist/{order-create-refund-TA6UIOZ2.mjs → order-create-refund-NMP4UN7F.mjs} +5 -5
  93. package/dist/{order-create-return-LTGYASZZ.mjs → order-create-return-QGXWSPMP.mjs} +2 -2
  94. package/dist/{order-create-shipment-6WZM3GL3.mjs → order-create-shipment-UTNVNIGA.mjs} +5 -5
  95. package/dist/{order-detail-6E3BT4AZ.mjs → order-detail-4EFWM3R4.mjs} +3 -3
  96. package/dist/{order-edit-billing-address-6BPGH6UU.mjs → order-edit-billing-address-WBSP4RAG.mjs} +5 -5
  97. package/dist/{order-edit-email-WK6ROFAD.mjs → order-edit-email-CBAUBHW7.mjs} +5 -5
  98. package/dist/{order-edit-shipping-address-4V6MN24B.mjs → order-edit-shipping-address-2TEO4ZRQ.mjs} +5 -5
  99. package/dist/{order-metadata-LEMDXDSV.mjs → order-metadata-66OZ5ZMN.mjs} +6 -6
  100. package/dist/{order-receive-return-Q65ZRAPJ.mjs → order-receive-return-2LQFBB4G.mjs} +5 -5
  101. package/dist/{order-request-transfer-KODTTNE7.mjs → order-request-transfer-IH3PQCCL.mjs} +5 -5
  102. package/dist/{price-list-configuration-RDE5YPJK.mjs → price-list-configuration-OLIGCEN5.mjs} +3 -3
  103. package/dist/{price-list-create-GFB6ASPT.mjs → price-list-create-3DCACAZ4.mjs} +9 -9
  104. package/dist/{price-list-detail-VG7YTBLM.mjs → price-list-detail-2IW4SDOL.mjs} +4 -4
  105. package/dist/{price-list-edit-LDF52VQU.mjs → price-list-edit-B3LQZSW6.mjs} +2 -2
  106. package/dist/{price-list-prices-add-4QGLHLRI.mjs → price-list-prices-add-B5LQAR7J.mjs} +8 -8
  107. package/dist/{price-list-prices-edit-PROYTJF5.mjs → price-list-prices-edit-MAR2T4LM.mjs} +4 -4
  108. package/dist/{product-attributes-ADDY3FXA.mjs → product-attributes-DY4HDYTW.mjs} +6 -6
  109. package/dist/{product-create-FZOWZNUP.mjs → product-create-EMK2FPWY.mjs} +7 -7
  110. package/dist/{product-create-option-UMZKRNTC.mjs → product-create-option-GEGQNSMQ.mjs} +2 -2
  111. package/dist/{product-create-variant-TXLZHYFS.mjs → product-create-variant-UHUBSUIV.mjs} +6 -6
  112. package/dist/{product-detail-VXKYKOMR.mjs → product-detail-M3PFNUX7.mjs} +10 -52
  113. package/dist/{product-edit-52CPZNCH.mjs → product-edit-ULKEZHDA.mjs} +6 -6
  114. package/dist/{product-edit-option-ZMTSLRG5.mjs → product-edit-option-HBIOBQTS.mjs} +2 -2
  115. package/dist/{product-export-ZMWNVJL7.mjs → product-export-X7MNQLBY.mjs} +6 -6
  116. package/dist/{product-image-variants-edit-OB4NVQKS.mjs → product-image-variants-edit-RR5RXMSX.mjs} +5 -5
  117. package/dist/{product-import-X7YB4W4N.mjs → product-import-OJWU5AHL.mjs} +5 -5
  118. package/dist/{product-list-TIVHW3ZJ.mjs → product-list-FAVJ2A46.mjs} +5 -17
  119. package/dist/{product-media-ULNJ7JJY.mjs → product-media-EGK66SRX.mjs} +2 -2
  120. package/dist/{product-metadata-DPMEFUWJ.mjs → product-metadata-VRLBFMKG.mjs} +6 -6
  121. package/dist/{product-organization-3RJVV3K2.mjs → product-organization-4PH2ZOSM.mjs} +6 -6
  122. package/dist/{product-prices-OO7OYVO6.mjs → product-prices-WQDE4XYT.mjs} +3 -3
  123. package/dist/{product-sales-channels-2PN4L7II.mjs → product-sales-channels-ZICOOOKY.mjs} +2 -2
  124. package/dist/{product-shipping-profile-45XXB7FM.mjs → product-shipping-profile-KIDRTPWA.mjs} +2 -2
  125. package/dist/{product-stock-45QDRJSR.mjs → product-stock-EVY7L4ID.mjs} +7 -7
  126. package/dist/{product-tag-create-L4Y3ZJVU.mjs → product-tag-create-UOQUAMYT.mjs} +5 -5
  127. package/dist/{product-tag-detail-IE3W2UVN.mjs → product-tag-detail-L2J3IXMC.mjs} +6 -21
  128. package/dist/{product-tag-edit-OHJGEEDL.mjs → product-tag-edit-AKATEM3L.mjs} +5 -5
  129. package/dist/{product-tag-list-QWNKVQAP.mjs → product-tag-list-FUQN7YF5.mjs} +6 -21
  130. package/dist/{product-tag-metadata-PCA3HTLU.mjs → product-tag-metadata-UEOSDTSK.mjs} +6 -6
  131. package/dist/{product-type-create-KHSNCQCV.mjs → product-type-create-HBDROTGB.mjs} +2 -2
  132. package/dist/{product-type-detail-XZH6HETD.mjs → product-type-detail-2KUITRE3.mjs} +5 -20
  133. package/dist/{product-type-edit-3LRBWZ3S.mjs → product-type-edit-H3JCMVRV.mjs} +2 -2
  134. package/dist/{product-type-list-XU6DADMO.mjs → product-type-list-QX7QC6RI.mjs} +1 -16
  135. package/dist/{product-type-metadata-5BPLWPOK.mjs → product-type-metadata-7E66UACZ.mjs} +6 -6
  136. package/dist/{product-variant-detail-7MIRJILL.mjs → product-variant-detail-JHH3ICCS.mjs} +5 -21
  137. package/dist/{product-variant-edit-JWKDUIEU.mjs → product-variant-edit-IIT3QIHD.mjs} +5 -5
  138. package/dist/{product-variant-manage-inventory-items-OGM64KYP.mjs → product-variant-manage-inventory-items-BLHCH6QD.mjs} +2 -2
  139. package/dist/{product-variant-media-C3KCFODU.mjs → product-variant-media-KLSUISGH.mjs} +2 -2
  140. package/dist/{product-variant-metadata-3CZ67ORB.mjs → product-variant-metadata-UXHU6PFJ.mjs} +6 -6
  141. package/dist/{profile-edit-YZCUGEXF.mjs → profile-edit-5EEKOEO5.mjs} +2 -2
  142. package/dist/{promotion-add-campaign-DO67QK6M.mjs → promotion-add-campaign-JRTM7WBR.mjs} +3 -3
  143. package/dist/{promotion-create-MXMWVA5U.mjs → promotion-create-KPDZWJWC.mjs} +7 -7
  144. package/dist/{promotion-detail-TZIERYRJ.mjs → promotion-detail-SQARSSGK.mjs} +3 -3
  145. package/dist/{promotion-edit-details-6BSOOWQN.mjs → promotion-edit-details-AREFQ6O5.mjs} +2 -2
  146. package/dist/{refund-reason-create-FUW7HCCF.mjs → refund-reason-create-IPZKKRQM.mjs} +5 -5
  147. package/dist/{refund-reason-edit-N3PKOFRF.mjs → refund-reason-edit-LB66UGH7.mjs} +5 -5
  148. package/dist/{refund-reason-list-O5ZXIXE5.mjs → refund-reason-list-GOKBW63P.mjs} +3 -3
  149. package/dist/{region-add-countries-7U4J5RW6.mjs → region-add-countries-AFWXMQ6W.mjs} +2 -2
  150. package/dist/{region-create-IUGX33M5.mjs → region-create-YC4VZ4AS.mjs} +2 -2
  151. package/dist/{region-edit-WAU347DP.mjs → region-edit-5GO25GDF.mjs} +2 -2
  152. package/dist/{region-metadata-IADU5YNP.mjs → region-metadata-S7BUDXPD.mjs} +6 -6
  153. package/dist/{reservation-create-C6HTEF3R.mjs → reservation-create-Z2SUMBGT.mjs} +2 -2
  154. package/dist/{reservation-detail-RLP2F23R.mjs → reservation-detail-ZL4WMT4A.mjs} +3 -3
  155. package/dist/{reservation-metadata-2PRGO5QF.mjs → reservation-metadata-QVEVN2FO.mjs} +6 -6
  156. package/dist/{reset-password-XKX43KUT.mjs → reset-password-5TAYQEUV.mjs} +2 -3
  157. package/dist/{return-reason-create-HM54WRJY.mjs → return-reason-create-NXWDC6AC.mjs} +2 -2
  158. package/dist/{return-reason-edit-VSIRHVQ6.mjs → return-reason-edit-M6IKNNKB.mjs} +2 -2
  159. package/dist/{sales-channel-add-products-O6RKQB6J.mjs → sales-channel-add-products-LCB33I6H.mjs} +6 -6
  160. package/dist/{sales-channel-create-4XLJDVJO.mjs → sales-channel-create-E7BDTPWD.mjs} +2 -2
  161. package/dist/{sales-channel-detail-25VU2BIX.mjs → sales-channel-detail-RUULD6Q7.mjs} +4 -4
  162. package/dist/{sales-channel-edit-UZGSXD5X.mjs → sales-channel-edit-HMPA3Y3L.mjs} +2 -2
  163. package/dist/{sales-channel-list-UV44SKO6.mjs → sales-channel-list-5TFALQQS.mjs} +3 -3
  164. package/dist/{sales-channel-metadata-JODUF46V.mjs → sales-channel-metadata-6WSCB67B.mjs} +6 -6
  165. package/dist/{shipping-option-type-create-SDJBL6L4.mjs → shipping-option-type-create-IMF4RHSO.mjs} +5 -5
  166. package/dist/{shipping-option-type-detail-ZPUV6VUQ.mjs → shipping-option-type-detail-PHIHWW6G.mjs} +4 -4
  167. package/dist/{shipping-option-type-edit-J2LDCKOC.mjs → shipping-option-type-edit-SG4JQZGW.mjs} +5 -5
  168. package/dist/{shipping-option-type-list-DZY43TDW.mjs → shipping-option-type-list-RB2EKPWN.mjs} +4 -4
  169. package/dist/{shipping-profile-create-26R64I3Z.mjs → shipping-profile-create-752TMBBE.mjs} +2 -2
  170. package/dist/{shipping-profile-metadata-ZWYRX3I7.mjs → shipping-profile-metadata-M3DVX5KX.mjs} +6 -6
  171. package/dist/{store-add-currencies-ZFS3WZHG.mjs → store-add-currencies-3VMLZ6KB.mjs} +2 -2
  172. package/dist/{store-add-locales-ZUQOMLGE.mjs → store-add-locales-WAHERXN3.mjs} +4 -4
  173. package/dist/{store-detail-ZQW7H3CD.mjs → store-detail-EY2ZQKZO.mjs} +3 -3
  174. package/dist/{store-edit-AB5CDUTK.mjs → store-edit-EPAHLLKP.mjs} +2 -2
  175. package/dist/{store-metadata-VJRBOHHB.mjs → store-metadata-7UPGGK7F.mjs} +6 -6
  176. package/dist/{tax-region-create-X6TI7GS2.mjs → tax-region-create-LQZKNYTD.mjs} +5 -5
  177. package/dist/{tax-region-detail-RWVU53ZI.mjs → tax-region-detail-AVG3XLVL.mjs} +12 -13
  178. package/dist/{tax-region-edit-EAS5YZS4.mjs → tax-region-edit-XR3ABTNA.mjs} +5 -5
  179. package/dist/{tax-region-list-4MQMCMKY.mjs → tax-region-list-BXZBUXRJ.mjs} +3 -4
  180. package/dist/{tax-region-province-create-GKJ7WMRS.mjs → tax-region-province-create-5JP3PVID.mjs} +2 -2
  181. package/dist/{tax-region-province-detail-QAJFG3C4.mjs → tax-region-province-detail-I7FF7NBE.mjs} +11 -12
  182. package/dist/{tax-region-tax-override-create-UNHHY3TK.mjs → tax-region-tax-override-create-H6LWWOPU.mjs} +7 -7
  183. package/dist/{tax-region-tax-override-edit-EEOWMLFA.mjs → tax-region-tax-override-edit-SZWBWRCA.mjs} +8 -8
  184. package/dist/{tax-region-tax-rate-create-MECFGVPL.mjs → tax-region-tax-rate-create-O2SDSXCH.mjs} +2 -2
  185. package/dist/{tax-region-tax-rate-edit-7DYSPYOD.mjs → tax-region-tax-rate-edit-W62VEVKT.mjs} +2 -2
  186. package/dist/{user-edit-ZBB4RMTP.mjs → user-edit-LXQCTDGA.mjs} +2 -2
  187. package/dist/{user-invite-XB635N26.mjs → user-invite-2OKB7SCF.mjs} +2 -2
  188. package/dist/{user-metadata-EQIFAEGE.mjs → user-metadata-X36GKJ47.mjs} +6 -6
  189. package/dist/{workflow-execution-detail-XURIJZJ6.mjs → workflow-execution-detail-P6H5AUWI.mjs} +3 -3
  190. package/package.json +9 -9
  191. package/src/components/common/icon-avatar/icon-avatar.tsx +0 -4
  192. package/src/components/layout/settings-layout/settings-layout.tsx +1 -11
  193. package/src/components/modals/route-focus-modal/route-focus-modal.tsx +3 -8
  194. package/src/components/modals/route-modal-form/route-modal-form.tsx +1 -6
  195. package/src/components/modals/route-modal-provider/route-provider.tsx +4 -16
  196. package/src/dashboard-app/routes/get-route.map.tsx +0 -20
  197. package/src/hooks/api/index.ts +0 -1
  198. package/src/hooks/api/product-variants.tsx +1 -7
  199. package/src/i18n/translations/$schema.json +0 -36
  200. package/src/i18n/translations/en.json +0 -12
  201. package/src/i18n/translations/es.json +0 -12
  202. package/src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx +1 -16
  203. package/src/routes/categories/category-list/components/category-list-table/category-list-table.tsx +1 -16
  204. package/src/routes/collections/collection-detail/components/collection-general-section/collection-general-section.tsx +1 -16
  205. package/src/routes/collections/collection-list/components/collection-list-table/collection-row-actions.tsx +1 -16
  206. package/src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx +1 -16
  207. package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx +1 -16
  208. package/src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx +1 -16
  209. package/src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx +1 -16
  210. package/src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx +1 -16
  211. package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +1 -16
  212. package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +1 -32
  213. package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +1 -15
  214. package/dist/chunk-4Y2NYEXF.mjs +0 -0
  215. package/dist/chunk-JQBWAJQZ.mjs +0 -0
  216. package/dist/translation-list-5ZOAGLCT.mjs +0 -146
  217. package/dist/translations-edit-I6R5ZNFX.mjs +0 -374
  218. package/src/hooks/api/translations.tsx +0 -254
  219. package/src/routes/translations/translation-list/index.tsx +0 -1
  220. package/src/routes/translations/translation-list/translation-list.tsx +0 -131
  221. package/src/routes/translations/translations-edit/components/translations-edit-form/index.ts +0 -1
  222. package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +0 -405
  223. package/src/routes/translations/translations-edit/index.ts +0 -1
  224. package/src/routes/translations/translations-edit/translations-edit.tsx +0 -66
  225. package/src/routes/translations/translations-edit/utils/index.ts +0 -1
  226. package/src/routes/translations/translations-edit/utils/reference-label-map.ts +0 -10
  227. /package/dist/{chunk-CTUJXJYA.mjs → chunk-6WKBBTKM.mjs} +0 -0
  228. /package/dist/{chunk-IPG3I3J7.mjs → chunk-W7SLPIO2.mjs} +0 -0
@@ -1,11 +1,10 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { Container, Heading, Text, usePrompt } from "@medusajs/ui"
4
4
  import { useTranslation } from "react-i18next"
5
5
  import { ActionMenu } from "../../../../../components/common/action-menu"
6
6
  import { useDeleteCollection } from "../../../../../hooks/api/collections"
7
7
  import { useNavigate } from "react-router-dom"
8
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
9
8
 
10
9
  type CollectionGeneralSectionProps = {
11
10
  collection: HttpTypes.AdminCollection
@@ -17,7 +16,6 @@ export const CollectionGeneralSection = ({
17
16
  const { t } = useTranslation()
18
17
  const prompt = usePrompt()
19
18
  const navigate = useNavigate()
20
- const isTranslationsEnabled = useFeatureFlag("translation")
21
19
 
22
20
  const { mutateAsync } = useDeleteCollection(collection.id!)
23
21
 
@@ -54,19 +52,6 @@ export const CollectionGeneralSection = ({
54
52
  },
55
53
  ],
56
54
  },
57
- ...(isTranslationsEnabled
58
- ? [
59
- {
60
- actions: [
61
- {
62
- label: t("translations.actions.manage"),
63
- to: `/settings/translations/edit?reference=product_collection&reference_id=${collection.id}`,
64
- icon: <GlobeEurope />,
65
- },
66
- ],
67
- },
68
- ]
69
- : []),
70
55
  {
71
56
  actions: [
72
57
  {
@@ -1,11 +1,10 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { usePrompt } from "@medusajs/ui"
4
4
  import { useTranslation } from "react-i18next"
5
5
 
6
6
  import { ActionMenu } from "../../../../../components/common/action-menu"
7
7
  import { useDeleteCollection } from "../../../../../hooks/api/collections"
8
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
9
8
 
10
9
  export const CollectionRowActions = ({
11
10
  collection,
@@ -14,7 +13,6 @@ export const CollectionRowActions = ({
14
13
  }) => {
15
14
  const { t } = useTranslation()
16
15
  const prompt = usePrompt()
17
- const isTranslationsEnabled = useFeatureFlag("translation")
18
16
 
19
17
  const { mutateAsync } = useDeleteCollection(collection.id!)
20
18
 
@@ -49,19 +47,6 @@ export const CollectionRowActions = ({
49
47
  },
50
48
  ],
51
49
  },
52
- ...(isTranslationsEnabled
53
- ? [
54
- {
55
- actions: [
56
- {
57
- icon: <GlobeEurope />,
58
- label: t("translations.actions.manage"),
59
- to: `/settings/translations/edit?reference=product_collection&reference_id=${collection.id}`,
60
- },
61
- ],
62
- },
63
- ]
64
- : []),
65
50
  {
66
51
  actions: [
67
52
  {
@@ -1,10 +1,9 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { Container, Heading } from "@medusajs/ui"
4
4
  import { useTranslation } from "react-i18next"
5
5
  import { ActionMenu } from "../../../../../components/common/action-menu"
6
6
  import { useDeleteProductTagAction } from "../../../common/hooks/use-delete-product-tag-action"
7
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
8
7
 
9
8
  type ProductTagGeneralSectionProps = {
10
9
  productTag: HttpTypes.AdminProductTag
@@ -15,7 +14,6 @@ export const ProductTagGeneralSection = ({
15
14
  }: ProductTagGeneralSectionProps) => {
16
15
  const { t } = useTranslation()
17
16
  const handleDelete = useDeleteProductTagAction({ productTag })
18
- const isTranslationsEnabled = useFeatureFlag("translation")
19
17
 
20
18
  return (
21
19
  <Container className="flex items-center justify-between">
@@ -34,19 +32,6 @@ export const ProductTagGeneralSection = ({
34
32
  },
35
33
  ],
36
34
  },
37
- ...(isTranslationsEnabled
38
- ? [
39
- {
40
- actions: [
41
- {
42
- label: t("translations.actions.manage"),
43
- to: `/settings/translations/edit?reference=product_tag&reference_id=${productTag.id}`,
44
- icon: <GlobeEurope />,
45
- },
46
- ],
47
- },
48
- ]
49
- : []),
50
35
  {
51
36
  actions: [
52
37
  {
@@ -1,4 +1,4 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { Button, Container, Heading } from "@medusajs/ui"
4
4
  import { keepPreviousData } from "@tanstack/react-query"
@@ -16,7 +16,6 @@ import { useProductTagTableQuery } from "../../../../../hooks/table/query"
16
16
  import { useDataTable } from "../../../../../hooks/use-data-table"
17
17
  import { useDeleteProductTagAction } from "../../../common/hooks/use-delete-product-tag-action"
18
18
  import { productTagListLoader } from "../../loader"
19
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
20
19
 
21
20
  const PAGE_SIZE = 20
22
21
 
@@ -89,7 +88,6 @@ const ProductTagRowActions = ({
89
88
  }) => {
90
89
  const { t } = useTranslation()
91
90
  const handleDelete = useDeleteProductTagAction({ productTag })
92
- const isTranslationsEnabled = useFeatureFlag("translation")
93
91
 
94
92
  return (
95
93
  <ActionMenu
@@ -103,19 +101,6 @@ const ProductTagRowActions = ({
103
101
  },
104
102
  ],
105
103
  },
106
- ...(isTranslationsEnabled
107
- ? [
108
- {
109
- actions: [
110
- {
111
- icon: <GlobeEurope />,
112
- label: t("translations.actions.manage"),
113
- to: `/settings/translations/edit?reference=product_tag&reference_id=${productTag.id}`,
114
- },
115
- ],
116
- },
117
- ]
118
- : []),
119
104
  {
120
105
  actions: [
121
106
  {
@@ -1,10 +1,9 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { Container, Heading } from "@medusajs/ui"
4
4
  import { useTranslation } from "react-i18next"
5
5
  import { ActionMenu } from "../../../../../components/common/action-menu"
6
6
  import { useDeleteProductTypeAction } from "../../../common/hooks/use-delete-product-type-action"
7
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
8
7
 
9
8
  type ProductTypeGeneralSectionProps = {
10
9
  productType: HttpTypes.AdminProductType
@@ -18,7 +17,6 @@ export const ProductTypeGeneralSection = ({
18
17
  productType.id,
19
18
  productType.value
20
19
  )
21
- const isTranslationsEnabled = useFeatureFlag("translation")
22
20
 
23
21
  return (
24
22
  <Container className="flex items-center justify-between">
@@ -34,19 +32,6 @@ export const ProductTypeGeneralSection = ({
34
32
  },
35
33
  ],
36
34
  },
37
- ...(isTranslationsEnabled
38
- ? [
39
- {
40
- actions: [
41
- {
42
- label: t("translations.actions.manage"),
43
- to: `/settings/translations/edit?reference=product_type&reference_id=${productType.id}`,
44
- icon: <GlobeEurope />,
45
- },
46
- ],
47
- },
48
- ]
49
- : []),
50
35
  {
51
36
  actions: [
52
37
  {
@@ -1,9 +1,8 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { useTranslation } from "react-i18next"
4
4
  import { ActionMenu } from "../../../../../components/common/action-menu"
5
5
  import { useDeleteProductTypeAction } from "../../../common/hooks/use-delete-product-type-action"
6
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
7
6
 
8
7
  type ProductTypeRowActionsProps = {
9
8
  productType: HttpTypes.AdminProductType
@@ -17,7 +16,6 @@ export const ProductTypeRowActions = ({
17
16
  productType.id,
18
17
  productType.value
19
18
  )
20
- const isTranslationsEnabled = useFeatureFlag("translation")
21
19
 
22
20
  return (
23
21
  <ActionMenu
@@ -31,19 +29,6 @@ export const ProductTypeRowActions = ({
31
29
  },
32
30
  ],
33
31
  },
34
- ...(isTranslationsEnabled
35
- ? [
36
- {
37
- actions: [
38
- {
39
- icon: <GlobeEurope />,
40
- label: t("translations.actions.manage"),
41
- to: `/settings/translations/edit?reference=product_type&reference_id=${productType.id}`,
42
- },
43
- ],
44
- },
45
- ]
46
- : []),
47
32
  {
48
33
  actions: [
49
34
  {
@@ -1,4 +1,4 @@
1
- import { Component, GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { Component, PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { Badge, Container, Heading, usePrompt } from "@medusajs/ui"
4
4
  import { useTranslation } from "react-i18next"
@@ -7,7 +7,6 @@ import { useNavigate } from "react-router-dom"
7
7
  import { ActionMenu } from "../../../../../components/common/action-menu"
8
8
  import { SectionRow } from "../../../../../components/common/section"
9
9
  import { useDeleteVariant } from "../../../../../hooks/api/products"
10
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
11
10
 
12
11
  type VariantGeneralSectionProps = {
13
12
  variant: HttpTypes.AdminProductVariant
@@ -17,7 +16,6 @@ export function VariantGeneralSection({ variant }: VariantGeneralSectionProps) {
17
16
  const { t } = useTranslation()
18
17
  const prompt = usePrompt()
19
18
  const navigate = useNavigate()
20
- const isTranslationsEnabled = useFeatureFlag("translation")
21
19
 
22
20
  const hasInventoryKit = variant.inventory?.length > 1
23
21
 
@@ -72,19 +70,6 @@ export function VariantGeneralSection({ variant }: VariantGeneralSectionProps) {
72
70
  },
73
71
  ],
74
72
  },
75
- ...(isTranslationsEnabled
76
- ? [
77
- {
78
- actions: [
79
- {
80
- label: t("translations.actions.manage"),
81
- to: `/settings/translations/edit?reference=product_variant&reference_id=${variant.id}`,
82
- icon: <GlobeEurope />,
83
- },
84
- ],
85
- },
86
- ]
87
- : []),
88
73
  {
89
74
  actions: [
90
75
  {
@@ -1,4 +1,4 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { HttpTypes } from "@medusajs/types"
3
3
  import { Container, Heading, StatusBadge, toast, usePrompt } from "@medusajs/ui"
4
4
  import { useTranslation } from "react-i18next"
@@ -8,7 +8,6 @@ import { ActionMenu } from "../../../../../components/common/action-menu"
8
8
  import { SectionRow } from "../../../../../components/common/section"
9
9
  import { useDeleteProduct } from "../../../../../hooks/api/products"
10
10
  import { useExtension } from "../../../../../providers/extension-provider"
11
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
12
11
 
13
12
  const productStatusColor = (status: string) => {
14
13
  switch (status) {
@@ -36,7 +35,6 @@ export const ProductGeneralSection = ({
36
35
  const prompt = usePrompt()
37
36
  const navigate = useNavigate()
38
37
  const { getDisplays } = useExtension()
39
- const isTranslationsEnabled = useFeatureFlag("translation")
40
38
 
41
39
  const displays = getDisplays("product", "general")
42
40
 
@@ -87,19 +85,6 @@ export const ProductGeneralSection = ({
87
85
  },
88
86
  ],
89
87
  },
90
- ...(isTranslationsEnabled
91
- ? [
92
- {
93
- actions: [
94
- {
95
- label: t("translations.actions.manage"),
96
- to: `/settings/translations/edit?reference=product&reference_id=${product.id}`,
97
- icon: <GlobeEurope />,
98
- },
99
- ],
100
- },
101
- ]
102
- : []),
103
88
  {
104
89
  actions: [
105
90
  {
@@ -1,10 +1,4 @@
1
- import {
2
- Buildings,
3
- Component,
4
- GlobeEurope,
5
- PencilSquare,
6
- Trash,
7
- } from "@medusajs/icons"
1
+ import { Buildings, Component, PencilSquare, Trash } from "@medusajs/icons"
8
2
  import { HttpTypes } from "@medusajs/types"
9
3
  import {
10
4
  Badge,
@@ -32,7 +26,6 @@ import {
32
26
  import { useQueryParams } from "../../../../../hooks/use-query-params"
33
27
  import { PRODUCT_VARIANT_IDS_KEY } from "../../../common/constants"
34
28
  import { Thumbnail } from "../../../../../components/common/thumbnail"
35
- import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
36
29
 
37
30
  type ProductVariantSectionProps = {
38
31
  product: HttpTypes.AdminProduct
@@ -45,7 +38,6 @@ export const ProductVariantSection = ({
45
38
  product,
46
39
  }: ProductVariantSectionProps) => {
47
40
  const { t } = useTranslation()
48
- const isTranslationsEnabled = useFeatureFlag("translation")
49
41
 
50
42
  const { q, order, offset, allow_backorder, manage_inventory } =
51
43
  useQueryParams(
@@ -78,11 +70,6 @@ export const ProductVariantSection = ({
78
70
  }
79
71
  )
80
72
 
81
- const translationParams = new URLSearchParams()
82
- variants?.forEach((variant) => {
83
- translationParams.append("reference_id", variant.id)
84
- })
85
-
86
73
  if (isError) {
87
74
  throw error
88
75
  }
@@ -128,15 +115,6 @@ export const ProductVariantSection = ({
128
115
  to: `stock`,
129
116
  icon: <Buildings />,
130
117
  },
131
- ...(isTranslationsEnabled
132
- ? [
133
- {
134
- icon: <GlobeEurope />,
135
- label: t("translations.actions.manage"),
136
- to: `/settings/translations/edit?reference=product_variant&${translationParams.toString()}`,
137
- },
138
- ]
139
- : []),
140
118
  ],
141
119
  },
142
120
  ],
@@ -247,15 +225,6 @@ const useColumns = (product: HttpTypes.AdminProduct) => {
247
225
  )
248
226
  },
249
227
  },
250
- {
251
- icon: <GlobeEurope />,
252
- label: t("translations.actions.manage"),
253
- onClick: () => {
254
- navigate(
255
- `/settings/translations/edit?reference=product_variant&reference_id=${variant.id}`
256
- )
257
- },
258
- },
259
228
  ]
260
229
 
261
230
  const secondaryActions: DataTableAction<HttpTypes.AdminProductVariant>[] =
@@ -1,4 +1,4 @@
1
- import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons"
1
+ import { PencilSquare, Trash } from "@medusajs/icons"
2
2
  import { Button, Container, Heading, toast, usePrompt } from "@medusajs/ui"
3
3
  import { keepPreviousData } from "@tanstack/react-query"
4
4
  import { createColumnHelper } from "@tanstack/react-table"
@@ -110,7 +110,6 @@ const ProductActions = ({ product }: { product: HttpTypes.AdminProduct }) => {
110
110
  const { t } = useTranslation()
111
111
  const prompt = usePrompt()
112
112
  const { mutateAsync } = useDeleteProduct(product.id)
113
- const isTranslationsEnabled = useFeatureFlag("translation")
114
113
 
115
114
  const handleDelete = async () => {
116
115
  const res = await prompt({
@@ -154,19 +153,6 @@ const ProductActions = ({ product }: { product: HttpTypes.AdminProduct }) => {
154
153
  },
155
154
  ],
156
155
  },
157
- ...(isTranslationsEnabled
158
- ? [
159
- {
160
- actions: [
161
- {
162
- icon: <GlobeEurope />,
163
- label: t("translations.actions.manage"),
164
- to: `/settings/translations/edit?reference=product&reference_id=${product.id}`,
165
- },
166
- ],
167
- },
168
- ]
169
- : []),
170
156
  {
171
157
  actions: [
172
158
  {
File without changes
File without changes
@@ -1,146 +0,0 @@
1
- import {
2
- LinkButton
3
- } from "./chunk-CTUJXJYA.mjs";
4
- import {
5
- IconAvatar
6
- } from "./chunk-F5I264Q3.mjs";
7
- import {
8
- SingleColumnPage
9
- } from "./chunk-GIZFNLKK.mjs";
10
- import {
11
- ActionMenu
12
- } from "./chunk-OZPB6JBL.mjs";
13
- import "./chunk-OC7BQLYI.mjs";
14
- import "./chunk-S4DMV3ZT.mjs";
15
- import "./chunk-QZ7TP4HQ.mjs";
16
-
17
- // src/routes/translations/translation-list/translation-list.tsx
18
- import { Button, Container, Heading, Text } from "@medusajs/ui";
19
- import { useTranslation } from "react-i18next";
20
- import { Link, useNavigate } from "react-router-dom";
21
- import { Buildings, Pencil } from "@medusajs/icons";
22
- import { jsx, jsxs } from "react/jsx-runtime";
23
- var TRANSLATABLE_ENTITIES = [
24
- {
25
- icon: /* @__PURE__ */ jsx(Buildings, {}),
26
- label: "Product",
27
- reference: "product"
28
- },
29
- {
30
- icon: /* @__PURE__ */ jsx(Buildings, {}),
31
- label: "Product Variants",
32
- reference: "product_variant"
33
- },
34
- {
35
- icon: /* @__PURE__ */ jsx(Buildings, {}),
36
- label: "Product Categories",
37
- reference: "product_category"
38
- },
39
- {
40
- icon: /* @__PURE__ */ jsx(Buildings, {}),
41
- label: "Product Collections",
42
- reference: "product_collection"
43
- },
44
- {
45
- icon: /* @__PURE__ */ jsx(Buildings, {}),
46
- label: "Product Types",
47
- reference: "product_type"
48
- },
49
- {
50
- icon: /* @__PURE__ */ jsx(Buildings, {}),
51
- label: "Product Tags",
52
- reference: "product_tag"
53
- },
54
- {
55
- icon: /* @__PURE__ */ jsx(Buildings, {}),
56
- label: "Product Options",
57
- reference: "product_option"
58
- },
59
- {
60
- icon: /* @__PURE__ */ jsx(Buildings, {}),
61
- label: "Product Option Values",
62
- reference: "product_option_value"
63
- }
64
- ];
65
- var TranslationList = () => {
66
- const { t } = useTranslation();
67
- const navigate = useNavigate();
68
- const handleManageLocales = () => {
69
- navigate("/settings/store/locales");
70
- };
71
- return /* @__PURE__ */ jsxs(
72
- SingleColumnPage,
73
- {
74
- widgets: {
75
- before: [],
76
- after: []
77
- },
78
- children: [
79
- /* @__PURE__ */ jsx(Container, { className: "p-0", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
80
- /* @__PURE__ */ jsxs("div", { children: [
81
- /* @__PURE__ */ jsxs(Heading, { children: [
82
- "Manage ",
83
- t("translations.domain")
84
- ] }),
85
- /* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle", size: "small", children: t("translations.subtitle") })
86
- ] }),
87
- /* @__PURE__ */ jsx(
88
- Button,
89
- {
90
- variant: "secondary",
91
- size: "small",
92
- onClick: handleManageLocales,
93
- children: t("translations.actions.manageLocales")
94
- }
95
- )
96
- ] }) }),
97
- TRANSLATABLE_ENTITIES.map((entity) => /* @__PURE__ */ jsx(Container, { className: "p-0", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-3", children: [
98
- /* @__PURE__ */ jsxs(
99
- Link,
100
- {
101
- to: `/settings/translations/edit?reference=${entity.reference}`,
102
- className: "transition-fg hover:bg-ui-bg-base-hover active:bg-ui-bg-base-pressed focus-visible:shadow-borders-interactive-with-active -mx-2 flex flex-1 items-center gap-x-2 rounded-md px-2 py-1.5 outline-none",
103
- children: [
104
- /* @__PURE__ */ jsx(IconAvatar, { variant: "squared", children: entity.icon }),
105
- /* @__PURE__ */ jsx(Text, { size: "small", children: entity.label })
106
- ]
107
- }
108
- ),
109
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-2", children: [
110
- /* @__PURE__ */ jsx(
111
- ActionMenu,
112
- {
113
- groups: [
114
- {
115
- actions: [
116
- {
117
- icon: /* @__PURE__ */ jsx(Pencil, {}),
118
- label: t("actions.edit"),
119
- onClick: () => {
120
- navigate(
121
- `/settings/translations/edit?reference=${entity.label.toLowerCase()}`
122
- );
123
- }
124
- }
125
- ]
126
- }
127
- ]
128
- }
129
- ),
130
- /* @__PURE__ */ jsx(Text, { children: "|" }),
131
- /* @__PURE__ */ jsx(
132
- LinkButton,
133
- {
134
- to: `/settings/translations/${entity.label.toLowerCase()}`,
135
- children: t("actions.viewDetails")
136
- }
137
- )
138
- ] })
139
- ] }) }, entity.label))
140
- ]
141
- }
142
- );
143
- };
144
- export {
145
- TranslationList as Component
146
- };