@templatical/editor 0.56.0 → 0.56.1

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 (171) hide show
  1. package/dist/{AiAltTextPopover-DdsvhE78.js → AiAltTextPopover-CpZ7UeAZ.js} +3 -3
  2. package/dist/{AiAltTextReview-P6to1_0t.js → AiAltTextReview-LYxvn7Qe.js} +4 -4
  3. package/dist/{AiChatPanel-BSlmzMRC.js → AiChatPanel-Cy05P-iO.js} +53 -53
  4. package/dist/{AiPanels-DAsnX-a3.js → AiPanels-CwKmXzyr.js} +1 -1
  5. package/dist/{AiRewriteMenu-DIISOR6U.js → AiRewriteMenu-DgqJHnza.js} +8 -8
  6. package/dist/{BlockIssueBadge-Bmtc50BQ.js → BlockIssueBadge-CxHJmuOh.js} +3 -3
  7. package/dist/{BlockPreviewCanvas-BYIzNn-9.js → BlockPreviewCanvas-DEmNZkEG.js} +44 -44
  8. package/dist/{CloudPanels-w34W8_BP.js → CloudPanels-Bmlf05Il.js} +11 -11
  9. package/dist/{CollaborationNotices-HTbCebjV.js → CollaborationNotices-C27GCMvK.js} +7 -7
  10. package/dist/{CommentsPanel-C5qG17Ki.js → CommentsPanel-B5NqPMmY.js} +1 -1
  11. package/dist/{CommentsSidebar-C7CWcUYZ.js → CommentsSidebar-BDrcrDxS.js} +42 -42
  12. package/dist/{CountdownBlock-BTXcCvjZ.js → CountdownBlock-D8dqjm3F.js} +6 -6
  13. package/dist/{CountdownToolbar-CP-pkntQ.js → CountdownToolbar-IjpCOjCd.js} +30 -30
  14. package/dist/{IssuesPanel-CiiNBzH0.js → IssuesPanel-uwuzeMSW.js} +87 -87
  15. package/dist/LanguageMenu-C-eQ0lFy.js +403 -0
  16. package/dist/{LocaleNotices-CTCZ7BYv.js → LocaleNotices-CDK_9D7P.js} +8 -8
  17. package/dist/{LogicTagInsertButton-DEOPc4RC.js → LogicTagInsertButton-BSolF7Fd.js} +3 -3
  18. package/dist/{MediaEditModal-DJsPLTwP.js → MediaEditModal-C8yc9dxt.js} +7 -7
  19. package/dist/{MediaPanels-D2WD2aE2.js → MediaPanels-FI4I8asn.js} +1 -1
  20. package/dist/{MergeTagInput-C9icdxw7.js → MergeTagInput-B1nl2ZMT.js} +12 -12
  21. package/dist/{MergeTagTextarea-CrAcmT3A.js → MergeTagTextarea-DJlf3VbS.js} +1 -1
  22. package/dist/{ParagraphEditor-BWBQ3jKz.js → ParagraphEditor-Dqco128s.js} +156 -156
  23. package/dist/{RestoreVersionDialog-CqAp16yQ.js → RestoreVersionDialog-hqLCuGV5.js} +12 -12
  24. package/dist/{RichTextEditorContent-xbBjVPVQ.js → RichTextEditorContent-xIEF0Y3Z.js} +2 -2
  25. package/dist/{SaveBlockDialog-pebNJBTc.js → SaveBlockDialog-CQlCP_XC.js} +46 -46
  26. package/dist/{SavedBlocksBrowserModal-CvagMcv7.js → SavedBlocksBrowserModal-BXA32Fx6.js} +23 -23
  27. package/dist/{SavedBlocksPanels-B9AAVBDm.js → SavedBlocksPanels-BKUzbamj.js} +1 -1
  28. package/dist/{SavedBlocksPickBar-BIANWe3i.js → SavedBlocksPickBar-BlvF-4UF.js} +9 -9
  29. package/dist/{TemplateSettings-ORq4PbCN.js → TemplateSettings-CYFtR8zv.js} +41 -41
  30. package/dist/{TestEmailModal-DRjCpcPl.js → TestEmailModal-BbaL17HO.js} +20 -20
  31. package/dist/{TestEmailPanel-H0v8El__.js → TestEmailPanel-DhB1CSpg.js} +1 -1
  32. package/dist/{TitleEditor-CEGbJXeU.js → TitleEditor-3BRl8u5l.js} +21 -21
  33. package/dist/{Toolbar-XT-uGA9J.js → Toolbar-pzNIakGM.js} +656 -656
  34. package/dist/{TplModal-7NQq5-VW.js → TplModal-WNuWhHZm.js} +4 -4
  35. package/dist/{VersionHistoryMenu-C8BE3Pr-.js → VersionHistoryMenu--T-Qp_mH.js} +15 -15
  36. package/dist/{VersionHistoryPanels-CuKuOSJG.js → VersionHistoryPanels-BPubvYIE.js} +1 -1
  37. package/dist/{VersionPreviewBanner-BVFBkveR.js → VersionPreviewBanner-ClL3Wkln.js} +7 -7
  38. package/dist/{WrapperBlock-Bdw-072t.js → WrapperBlock-CjfCPceb.js} +11 -11
  39. package/dist/{blockTypeIcons-CGplGmmr.js → blockTypeIcons-12OMwVyN.js} +1 -1
  40. package/dist/bundle-stats.json +6 -6
  41. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js → AiAltTextPopover-PFjTrl0y.js} +4 -4
  42. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js.map → AiAltTextPopover-PFjTrl0y.js.map} +1 -1
  43. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js → AiAltTextReview-BMjzvApH.js} +5 -5
  44. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js.map → AiAltTextReview-BMjzvApH.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js → AiChatPanel-C2gpq4kP.js} +107 -107
  46. package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js.map → AiChatPanel-C2gpq4kP.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiPanels-jMLVaiKx.js → AiPanels-Cx3PE2mE.js} +2 -2
  48. package/dist/cdn/chunks/{AiPanels-jMLVaiKx.js.map → AiPanels-Cx3PE2mE.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js → AiRewriteMenu-CnkyjPEu.js} +11 -11
  50. package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js.map → AiRewriteMenu-CnkyjPEu.js.map} +1 -1
  51. package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js → BlockIssueBadge-DncZ-HDf.js} +4 -4
  52. package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js.map → BlockIssueBadge-DncZ-HDf.js.map} +1 -1
  53. package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js +156 -0
  54. package/dist/cdn/chunks/{BlockPreviewCanvas-B3HkuENF.js.map → BlockPreviewCanvas-CCSEzL46.js.map} +1 -1
  55. package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js → CloudPanels-CRztnw4M.js} +2 -2
  56. package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js.map → CloudPanels-CRztnw4M.js.map} +1 -1
  57. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js → CollaborationNotices-IuLYT2x7.js} +8 -8
  58. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js.map → CollaborationNotices-IuLYT2x7.js.map} +1 -1
  59. package/dist/cdn/chunks/{CommentsPanel-EtdTzTmq.js → CommentsPanel-lgjJNrrY.js} +2 -2
  60. package/dist/cdn/chunks/{CommentsPanel-EtdTzTmq.js.map → CommentsPanel-lgjJNrrY.js.map} +1 -1
  61. package/dist/cdn/chunks/{CommentsSidebar-Qmj049QX.js → CommentsSidebar-DTold7iy.js} +214 -214
  62. package/dist/cdn/chunks/{CommentsSidebar-Qmj049QX.js.map → CommentsSidebar-DTold7iy.js.map} +1 -1
  63. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js → CountdownBlock-8aPSExrv.js} +7 -7
  64. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js.map → CountdownBlock-8aPSExrv.js.map} +1 -1
  65. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js → CountdownToolbar-CnWQEW5g.js} +50 -50
  66. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js.map → CountdownToolbar-CnWQEW5g.js.map} +1 -1
  67. package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js → IssuesPanel-CrplCzo8.js} +11 -11
  68. package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js.map → IssuesPanel-CrplCzo8.js.map} +1 -1
  69. package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js → LanguageMenu-B6MNInCL.js} +110 -110
  70. package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js.map → LanguageMenu-B6MNInCL.js.map} +1 -1
  71. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js → LocaleNotices-TxeAl8Iq.js} +9 -9
  72. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js.map → LocaleNotices-TxeAl8Iq.js.map} +1 -1
  73. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js → LogicTagInsertButton-DvSVx2DB.js} +4 -4
  74. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js.map → LogicTagInsertButton-DvSVx2DB.js.map} +1 -1
  75. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js → MediaEditModal-tGK6htBl.js} +8 -8
  76. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js.map → MediaEditModal-tGK6htBl.js.map} +1 -1
  77. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js → MediaPanels-BVrQYz2C.js} +2 -2
  78. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js.map → MediaPanels-BVrQYz2C.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js → MergeTagInput-DeuNH3re.js} +13 -13
  80. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js.map → MergeTagInput-DeuNH3re.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js → MergeTagTextarea-B2xxIU3e.js} +2 -2
  82. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js.map → MergeTagTextarea-B2xxIU3e.js.map} +1 -1
  83. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js → ParagraphEditor-Bx_Hlw8d.js} +106 -106
  84. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js.map → ParagraphEditor-Bx_Hlw8d.js.map} +1 -1
  85. package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js → RestoreVersionDialog-CPrrWTsT.js} +12 -12
  86. package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js.map → RestoreVersionDialog-CPrrWTsT.js.map} +1 -1
  87. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js → RichTextEditorContent-Dze4C9VI.js} +3 -3
  88. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js.map → RichTextEditorContent-Dze4C9VI.js.map} +1 -1
  89. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js → SaveBlockDialog-CXVwnfsy.js} +51 -51
  90. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js.map → SaveBlockDialog-CXVwnfsy.js.map} +1 -1
  91. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js → SavedBlocksBrowserModal-BDTmenOE.js} +23 -23
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js.map → SavedBlocksBrowserModal-BDTmenOE.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js → SavedBlocksPanels-B41Rk_v1.js} +2 -2
  94. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js.map → SavedBlocksPanels-B41Rk_v1.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js → SavedBlocksPickBar-B97z_rFH.js} +11 -11
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js.map → SavedBlocksPickBar-B97z_rFH.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js → TemplateSettings-YwwRbxPc.js} +102 -102
  98. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js.map → TemplateSettings-YwwRbxPc.js.map} +1 -1
  99. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js → TestEmailModal-BiFP2Cbx.js} +20 -20
  100. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js.map → TestEmailModal-BiFP2Cbx.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js → TestEmailPanel-BrivPMk2.js} +2 -2
  102. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js.map → TestEmailPanel-BrivPMk2.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js → TitleEditor-CzPkkL2s.js} +19 -19
  104. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js.map → TitleEditor-CzPkkL2s.js.map} +1 -1
  105. package/dist/cdn/chunks/{Toolbar-C_Hfsher.js → Toolbar-VH07SzX7.js} +550 -550
  106. package/dist/cdn/chunks/{Toolbar-C_Hfsher.js.map → Toolbar-VH07SzX7.js.map} +1 -1
  107. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js → TplModal-DMe6J811.js} +6 -6
  108. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js.map → TplModal-DMe6J811.js.map} +1 -1
  109. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js → VersionHistoryMenu-DkwbKhBl.js} +15 -15
  110. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js.map → VersionHistoryMenu-DkwbKhBl.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js → VersionHistoryPanels-CgxhMRAl.js} +2 -2
  112. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js.map → VersionHistoryPanels-CgxhMRAl.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js → VersionPreviewBanner-WVBDBrwQ.js} +8 -8
  114. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js.map → VersionPreviewBanner-WVBDBrwQ.js.map} +1 -1
  115. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js → WrapperBlock-CCCIcqe2.js} +12 -12
  116. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js.map → WrapperBlock-CCCIcqe2.js.map} +1 -1
  117. package/dist/cdn/chunks/{composables-CsfQlmcf.js → composables-D3lsO7Io.js} +925 -925
  118. package/dist/cdn/chunks/composables-D3lsO7Io.js.map +1 -0
  119. package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js → createCloudRuntime-CE79GB1H.js} +15 -15
  120. package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js.map → createCloudRuntime-CE79GB1H.js.map} +1 -1
  121. package/dist/cdn/chunks/dist-Cf1pSluo.js +405 -0
  122. package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-Cf1pSluo.js.map} +1 -1
  123. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js → editor-modal-CN69NlOK.js} +170 -170
  124. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js.map → editor-modal-CN69NlOK.js.map} +1 -1
  125. package/dist/cdn/chunks/en-Bcz4gS9U.js +1 -0
  126. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js → extensions-8dlM-fU4.js} +96 -96
  127. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js.map → extensions-8dlM-fU4.js.map} +1 -1
  128. package/dist/cdn/chunks/{sanitizeHtml-DJI7vvET.js → sanitizeHtml-B3njfkSy.js} +11 -11
  129. package/dist/cdn/chunks/{sanitizeHtml-DJI7vvET.js.map → sanitizeHtml-B3njfkSy.js.map} +1 -1
  130. package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js → socialIcons-BFgc3qqJ.js} +2 -2
  131. package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js.map → socialIcons-BFgc3qqJ.js.map} +1 -1
  132. package/dist/cdn/chunks/{src-Bfj1jHnn.js → src-GgKlXNxy.js} +2 -2
  133. package/dist/cdn/chunks/{src-Bfj1jHnn.js.map → src-GgKlXNxy.js.map} +1 -1
  134. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-C940SvId.js} +3 -3
  135. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js.map → tiptap-C940SvId.js.map} +1 -1
  136. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js → useLogicTag-B0PDeDxl.js} +4 -4
  137. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js.map → useLogicTag-B0PDeDxl.js.map} +1 -1
  138. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js → useMergeTag-BSU75bKk.js} +7 -7
  139. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js.map → useMergeTag-BSU75bKk.js.map} +1 -1
  140. package/dist/cdn/editor.js +325 -325
  141. package/dist/cdn/editor.js.map +1 -1
  142. package/dist/{composables-CRX6rncm.js → composables-DreAt_0A.js} +1031 -1031
  143. package/dist/{createCloudRuntime-DplyIlsy.js → createCloudRuntime-CL4tUlDC.js} +14 -14
  144. package/dist/{dist-ChOb5XHW.js → dist-0GWMyHtM.js} +1 -1
  145. package/dist/{dist-6DU0me3E.js → dist-B_0FPmoy.js} +1 -1
  146. package/dist/{dist-B8dY8drK.js → dist-BjzK1g4Z.js} +1 -1
  147. package/dist/{dist-54VCNoC0.js → dist-BsumKKh9.js} +1 -1
  148. package/dist/{dist-BWflWcpW.js → dist-C3avsUq9.js} +2 -2
  149. package/dist/{dist-fqSers8_.js → dist-CCLRTtJP.js} +197 -197
  150. package/dist/dist-CiYotUR8.js +406 -0
  151. package/dist/{dist-C3hu_C3w.js → dist-Cr1CLCmx.js} +1 -1
  152. package/dist/{dist-D_XrUEET.js → dist-CsknfjrZ.js} +3 -3
  153. package/dist/{dist-TAv500j6.js → dist-DDytHU_6.js} +1 -1
  154. package/dist/{dist-CcOn7WCo.js → dist-DKV9m4Uu.js} +1 -1
  155. package/dist/{dist-B9a7iVye.js → dist-Dq9VnANT.js} +1 -1
  156. package/dist/{dist-DZ3X-uB8.js → dist-ZrT0vAB6.js} +1 -1
  157. package/dist/{editor-modal-D9HT9bD6.js → editor-modal-BD32TXws.js} +106 -106
  158. package/dist/en-Dgs_-NBw.js +1 -0
  159. package/dist/{extensions-Cm6K4SRX.js → extensions-DKxHlSd7.js} +179 -179
  160. package/dist/{socialIcons-CJD6OsI7.js → socialIcons-oo4uL16Y.js} +1 -1
  161. package/dist/templatical-editor.js +526 -526
  162. package/dist/{useLogicTag-DLkYos2Q.js → useLogicTag-B4Zpk3eo.js} +3 -3
  163. package/dist/{useMergeTag-IoWOO679.js → useMergeTag-B5qlq8px.js} +7 -7
  164. package/package.json +7 -7
  165. package/dist/LanguageMenu-B981Av-6.js +0 -403
  166. package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js +0 -156
  167. package/dist/cdn/chunks/composables-CsfQlmcf.js.map +0 -1
  168. package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
  169. package/dist/cdn/chunks/en-CVxNoHww.js +0 -1
  170. package/dist/dist-0alKVRc_.js +0 -406
  171. package/dist/en-De3uAutQ.js +0 -1
@@ -1,82 +1,82 @@
1
1
  import { C as e, F as t, G as n, H as r, L as i, O as a, _ as o, b as s, ct as c, dt as l, g as u, h as d, j as f, m as p, mt as m, p as h, tt as g, u as _, x as v } from "./draggable-DepKdldn.js";
2
- import { Bt as ee, I as te, Kt as ne, Vt as re, qt as y } from "./src-mXG-Of9A.js";
3
- import { t as b } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
4
- import { Bt as ie, Gt as ae, H as oe, Vt as x, d as S, f as se, kt as ce, zt as le } from "./icons-DHExFLlT.js";
5
- import { E as ue, h as de, it as fe, t as pe } from "./keys-BUmIvYy3.js";
6
- import { t as me } from "./useI18n-D8s7HtTn.js";
7
- import { t as he } from "./useLocalizedDisplay-Bgg4qpev.js";
8
- import { t as C } from "./plural-CyxrJXL1.js";
9
- import { t as w } from "./languageName-DEEOhDWI.js";
10
- import { C as ge, b as _e, f as ve, u as ye, w as be } from "./styleConstants-CgiNKdnc.js";
11
- import { t as xe } from "./dist-DqGgijFI.js";
12
- import { t as Se } from "./TplModal-d6fEZGJ5.js";
2
+ import { t as ee } from "./dist-Cf1pSluo.js";
3
+ import { Bt as te, Gt as ne, H as re, Vt as y, d as b, f as ie, kt as ae, zt as oe } from "./icons-DHExFLlT.js";
4
+ import { Bt as se, I as ce, Kt as le, Vt as ue, qt as de } from "./src-mXG-Of9A.js";
5
+ import { t as fe } from "./useI18n-D8s7HtTn.js";
6
+ import { t as pe } from "./useLocalizedDisplay-Bgg4qpev.js";
7
+ import { E as me, h as he, it as ge, t as _e } from "./keys-BUmIvYy3.js";
8
+ import { t as x } from "./plural-CyxrJXL1.js";
9
+ import { t as S } from "./languageName-DEEOhDWI.js";
10
+ import { C as ve, b as ye, f as be, u as xe, w as Se } from "./styleConstants-CgiNKdnc.js";
11
+ import { t as Ce } from "./TplModal-DMe6J811.js";
12
+ import { t as C } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
13
13
  // src/components/localization/LanguageMenu.vue?vue&type=script&setup=true&lang.ts
14
- var Ce = [
14
+ var we = [
15
15
  "aria-expanded",
16
16
  "title",
17
17
  "aria-label"
18
- ], we = { class: "tpl-language-name" }, Te = {
18
+ ], Te = { class: "tpl-language-name" }, Ee = {
19
19
  class: "tpl-language-tag tpl:truncate",
20
20
  "aria-hidden": "true"
21
- }, Ee = { class: "tpl-language-count tpl:shrink-0 tpl:tabular-nums" }, De = ["aria-label"], Oe = { class: "tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ke = { class: "tpl:max-h-64 tpl:overflow-y-auto" }, Ae = ["data-active"], je = [
21
+ }, De = { class: "tpl-language-count tpl:shrink-0 tpl:tabular-nums" }, Oe = ["aria-label"], ke = { class: "tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ae = { class: "tpl:max-h-64 tpl:overflow-y-auto" }, je = ["data-active"], Me = [
22
22
  "aria-checked",
23
23
  "data-testid",
24
24
  "onClick"
25
- ], Me = { class: "tpl:flex tpl:w-3 tpl:shrink-0" }, Ne = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, Pe = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Fe = ["data-testid"], Ie = [
25
+ ], Ne = { class: "tpl:flex tpl:w-3 tpl:shrink-0" }, Pe = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, Fe = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ie = ["data-testid"], Le = [
26
26
  "data-testid",
27
27
  "aria-expanded",
28
28
  "aria-label",
29
29
  "onClick"
30
- ], Le = ["aria-label"], Re = [
30
+ ], Re = ["aria-label"], ze = [
31
31
  "data-testid",
32
32
  "aria-disabled",
33
33
  "aria-label",
34
34
  "aria-describedby",
35
35
  "onClick"
36
- ], ze = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-1" }, Be = ["data-testid", "onClick"], Ve = {
36
+ ], Be = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-1" }, Ve = ["data-testid", "onClick"], He = {
37
37
  key: 0,
38
38
  class: "tpl:relative tpl:border-t tpl:border-[var(--tpl-border)]"
39
- }, He = ["aria-expanded"], Ue = ["aria-label"], We = ["data-testid", "onClick"], Ge = ["aria-label"], Ke = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, qe = {
39
+ }, Ue = ["aria-expanded"], We = ["aria-label"], Ge = ["data-testid", "onClick"], Ke = ["aria-label"], qe = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Je = {
40
40
  key: 0,
41
41
  class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]"
42
- }, Je = {
42
+ }, Ye = {
43
43
  key: 1,
44
44
  class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]"
45
- }, Ye = {
45
+ }, Xe = {
46
46
  key: 2,
47
47
  role: "alert",
48
48
  "data-testid": "language-default-error",
49
49
  class: "tpl:mb-4 tpl:flex tpl:items-start tpl:gap-2 tpl:text-sm tpl:text-[var(--tpl-danger)]"
50
- }, Xe = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, Ze = ["data-testid"], Qe = ["data-testid", "disabled"], T = "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:border-0 tpl:bg-transparent tpl:px-3 tpl:py-2.5 tpl:text-left tpl:text-xs tpl:transition-colors tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50", E = "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:shadow-[var(--tpl-shadow-md)]", D = /*#__PURE__*/ b(/* @__PURE__ */ e({
50
+ }, Ze = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, Qe = ["data-testid"], $e = ["data-testid", "disabled"], w = "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:border-0 tpl:bg-transparent tpl:px-3 tpl:py-2.5 tpl:text-left tpl:text-xs tpl:transition-colors tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50", T = "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:shadow-[var(--tpl-shadow-md)]", E = /*#__PURE__*/ C(/* @__PURE__ */ e({
51
51
  __name: "LanguageMenu",
52
52
  props: {
53
53
  editor: {},
54
54
  locales: {}
55
55
  },
56
56
  setup(e) {
57
- let b = e, { t: D, format: O } = me(), k = a(fe, void 0) ?? "en", $e = a(ue, null), A = a(de, []), j = g(null), M = g(null), et = `tpl-language-reason-${te()}`, N = g(!1), P = g(null), F = g(null), I = g(null), L = g(null), R = g(null), z = h(() => re(b.editor.content.value)), B = h(() => b.editor.activeLocale?.value ?? z.value), V = h(() => b.editor.content.value.settings.locales ?? []), H = h(() => b.locales.filter((e) => e !== z.value && !V.value.includes(e))), U = h(() => B.value === z.value || b.locales.includes(B.value)), W = a(pe, null) ?? he(b.editor, A), tt = h(() => N.value ? [z.value, ...V.value].map((e) => ({
57
+ let C = e, { t: E, format: D } = fe(), O = a(ge, void 0) ?? "en", et = a(me, null), k = a(he, []), A = g(null), j = g(null), M = `tpl-language-reason-${ce()}`, N = g(!1), P = g(null), F = g(null), I = g(null), L = g(null), R = g(null), z = h(() => ue(C.editor.content.value)), B = h(() => C.editor.activeLocale?.value ?? z.value), V = h(() => C.editor.content.value.settings.locales ?? []), H = h(() => C.locales.filter((e) => e !== z.value && !V.value.includes(e))), U = h(() => B.value === z.value || C.locales.includes(B.value)), W = a(_e, null) ?? pe(C.editor, k), tt = h(() => N.value ? [z.value, ...V.value].map((e) => ({
58
58
  locale: e,
59
- coverage: e === z.value ? null : e === B.value ? W.value : ne(b.editor.content.value, e, A)
60
- })) : []), nt = h(() => P.value && V.value.includes(P.value) && U.value && b.locales.includes(P.value) ? y(b.editor.content.value, P.value) : []), G = h(() => b.locales.includes(z.value)), K = h(() => nt.value.length > 0 || !G.value), q = h(() => (W.value?.missing.length ?? 0) + (W.value?.stale.length ?? 0)), J = h(() => q.value ? O(D.localization.gapTooltip, {
59
+ coverage: e === z.value ? null : e === B.value ? W.value : le(C.editor.content.value, e, k)
60
+ })) : []), nt = h(() => P.value && V.value.includes(P.value) && U.value && C.locales.includes(P.value) ? de(C.editor.content.value, P.value) : []), G = h(() => C.locales.includes(z.value)), K = h(() => nt.value.length > 0 || !G.value), q = h(() => (W.value?.missing.length ?? 0) + (W.value?.stale.length ?? 0)), J = h(() => q.value ? D(E.localization.gapTooltip, {
61
61
  missing: W.value.missing.length,
62
62
  stale: W.value.stale.length
63
- }) : w(B.value)), rt = h(() => q.value ? `${w(B.value)} ${q.value} (${B.value}), ${J.value}` : `${w(B.value)} (${B.value})`);
63
+ }) : S(B.value)), rt = h(() => q.value ? `${S(B.value)} ${q.value} (${B.value}), ${J.value}` : `${S(B.value)} (${B.value})`);
64
64
  function it(e) {
65
65
  let t = [];
66
- return e.missing.length && t.push(C(D.localization.missingCount, e.missing.length, k)), e.stale.length && t.push(C(D.localization.staleCount, e.stale.length, k)), t.join(" · ") || D.localization.complete;
66
+ return e.missing.length && t.push(x(E.localization.missingCount, e.missing.length, O)), e.stale.length && t.push(x(E.localization.staleCount, e.stale.length, O)), t.join(" · ") || E.localization.complete;
67
67
  }
68
68
  function Y() {
69
- N.value = !1, P.value = null, f(() => M.value?.focus());
69
+ N.value = !1, P.value = null, f(() => j.value?.focus());
70
70
  }
71
71
  async function at() {
72
- N.value ? Y() : (N.value = !0, await f(), j.value?.querySelector("[role=\"menuitemradio\"]")?.focus());
72
+ N.value ? Y() : (N.value = !0, await f(), A.value?.querySelector("[role=\"menuitemradio\"]")?.focus());
73
73
  }
74
74
  async function X(e) {
75
- P.value = P.value === e ? null : e, await f(), j.value?.querySelector("[data-language-submenu] [role=\"menuitem\"]:not(:disabled)")?.focus();
75
+ P.value = P.value === e ? null : e, await f(), A.value?.querySelector("[data-language-submenu] [role=\"menuitem\"]:not(:disabled)")?.focus();
76
76
  }
77
77
  function ot() {
78
78
  let e = P.value;
79
- P.value = null, j.value?.querySelector(`[data-testid="${e === "add" ? "language-add" : `language-actions-${e}`}"]`)?.focus();
79
+ P.value = null, A.value?.querySelector(`[data-testid="${e === "add" ? "language-add" : `language-actions-${e}`}"]`)?.focus();
80
80
  }
81
81
  function st(e) {
82
82
  let t = e.target;
@@ -85,13 +85,13 @@ var Ce = [
85
85
  e.preventDefault(), e.stopPropagation(), P.value ? ot() : Y();
86
86
  return;
87
87
  }
88
- if (t === M.value && ["ArrowDown", "ArrowUp"].includes(e.key)) {
88
+ if (t === j.value && ["ArrowDown", "ArrowUp"].includes(e.key)) {
89
89
  e.preventDefault(), N.value || at();
90
90
  return;
91
91
  }
92
92
  if (e.key === "ArrowRight" && !t.closest("[data-language-submenu]")) {
93
93
  let n = t.dataset.testid ?? "", r = n.replace(/^language-(option|actions)-/, "");
94
- (n === "language-add" || r !== z.value && U.value && b.locales.includes(r)) && (e.preventDefault(), X(n === "language-add" ? "add" : r));
94
+ (n === "language-add" || r !== z.value && U.value && C.locales.includes(r)) && (e.preventDefault(), X(n === "language-add" ? "add" : r));
95
95
  return;
96
96
  }
97
97
  if (![
@@ -105,39 +105,39 @@ var Ce = [
105
105
  r[e.key === "Home" ? 0 : e.key === "End" ? r.length - 1 : (i + (e.key === "ArrowDown" ? 1 : -1) + r.length) % r.length]?.focus();
106
106
  }
107
107
  function ct(e) {
108
- b.editor.setActiveLocale?.(e === z.value ? null : e), Y();
108
+ C.editor.setActiveLocale?.(e === z.value ? null : e), Y();
109
109
  }
110
110
  function lt(e) {
111
- U.value && H.value.includes(e) && (b.editor.addLocale?.(e), Y());
111
+ U.value && H.value.includes(e) && (C.editor.addLocale?.(e), Y());
112
112
  }
113
113
  function ut() {
114
114
  L.value = null, R.value = {
115
- templateId: b.editor.state.template?.id ?? null,
116
- loadVersion: b.editor.loadVersion?.value
115
+ templateId: C.editor.state.template?.id ?? null,
116
+ loadVersion: C.editor.loadVersion?.value
117
117
  };
118
118
  }
119
119
  function dt() {
120
- return R.value !== null && R.value.templateId === (b.editor.state.template?.id ?? null) && R.value.loadVersion === b.editor.loadVersion?.value;
120
+ return R.value !== null && R.value.templateId === (C.editor.state.template?.id ?? null) && R.value.loadVersion === C.editor.loadVersion?.value;
121
121
  }
122
122
  function ft(e) {
123
123
  ut(), F.value = e, P.value = null;
124
124
  }
125
125
  function Z(e) {
126
- return U.value && V.value.includes(e) && b.locales.includes(e) && G.value && y(b.editor.content.value, e).length === 0;
126
+ return U.value && V.value.includes(e) && C.locales.includes(e) && G.value && de(C.editor.content.value, e).length === 0;
127
127
  }
128
128
  function pt(e) {
129
129
  Z(e) && (ut(), I.value = { locale: e }, P.value = null);
130
130
  }
131
- let mt = h(() => I.value ? ee(b.editor.content.value, I.value.locale, A).length : 0), Q = h(() => I.value ? O(D.localization.makeDefaultConfirmation, { language: w(I.value.locale) }) : O(D.localization.removeConfirmation, { language: w(F.value ?? z.value) }));
131
+ let mt = h(() => I.value ? se(C.editor.content.value, I.value.locale, k).length : 0), Q = h(() => I.value ? D(E.localization.makeDefaultConfirmation, { language: S(I.value.locale) }) : D(E.localization.removeConfirmation, { language: S(F.value ?? z.value) }));
132
132
  function $() {
133
133
  let e = I.value?.locale ?? F.value;
134
134
  R.value = null, L.value = null, I.value = null, F.value = null, f(() => {
135
135
  if (!N.value) {
136
- M.value?.focus();
136
+ j.value?.focus();
137
137
  return;
138
138
  }
139
139
  let t = `language-actions-${e}`;
140
- j.value?.querySelector(`[data-testid="${t}"]`)?.focus();
140
+ A.value?.querySelector(`[data-testid="${t}"]`)?.focus();
141
141
  });
142
142
  }
143
143
  function ht() {
@@ -146,64 +146,64 @@ var Ce = [
146
146
  if (I.value) {
147
147
  let e = I.value.locale;
148
148
  if (!Z(e)) return;
149
- let t = $e?.setDefaultLocale(e);
149
+ let t = et?.setDefaultLocale(e);
150
150
  if (!t) return;
151
151
  if (!t.applied) {
152
- L.value = O(D.localization.defaultRefused, {
153
- language: w(e),
154
- reason: t.error.code === "locked_by_others" || t.error.code === "lock_held" ? D.localization.defaultLockedReason : t.error.message
152
+ L.value = D(E.localization.defaultRefused, {
153
+ language: S(e),
154
+ reason: t.error.code === "locked_by_others" || t.error.code === "lock_held" ? E.localization.defaultLockedReason : t.error.message
155
155
  });
156
156
  return;
157
157
  }
158
- } else F.value && b.locales.includes(F.value) && b.editor.removeLocale?.(F.value);
158
+ } else F.value && C.locales.includes(F.value) && C.editor.removeLocale?.(F.value);
159
159
  $(), Y();
160
160
  }
161
161
  }
162
- return r([() => b.editor.state.template?.id ?? null, () => b.editor.loadVersion?.value], () => {
162
+ return r([() => C.editor.state.template?.id ?? null, () => C.editor.loadVersion?.value], () => {
163
163
  (N.value || R.value !== null) && ($(), Y());
164
164
  }, { flush: "sync" }), r(() => I.value !== null && !Z(I.value.locale), (e) => {
165
165
  e && ($(), Y());
166
- }), xe(j, () => {
166
+ }), ee(A, () => {
167
167
  N.value = !1, P.value = null;
168
168
  }), (r, a) => (t(), o("div", {
169
169
  ref_key: "root",
170
- ref: j,
170
+ ref: A,
171
171
  class: "tpl-language-control tpl:relative tpl:min-w-0 tpl:shrink-0",
172
172
  onKeydown: st
173
173
  }, [
174
174
  p("button", {
175
175
  ref_key: "trigger",
176
- ref: M,
176
+ ref: j,
177
177
  type: "button",
178
178
  "data-testid": "language-menu",
179
179
  "aria-haspopup": "menu",
180
180
  "aria-expanded": N.value,
181
181
  title: J.value,
182
182
  "aria-label": rt.value,
183
- class: l([c(be), "tpl-language-trigger"]),
183
+ class: l([c(Se), "tpl-language-trigger"]),
184
184
  onClick: at
185
185
  }, [
186
- p("span", we, m(c(w)(B.value)), 1),
187
- p("span", Te, m(B.value), 1),
188
- q.value ? (t(), o(_, { key: 0 }, [v(c(S), {
186
+ p("span", Te, m(c(S)(B.value)), 1),
187
+ p("span", Ee, m(B.value), 1),
188
+ q.value ? (t(), o(_, { key: 0 }, [v(c(b), {
189
189
  size: 12,
190
190
  "aria-hidden": "true",
191
191
  class: "tpl:shrink-0 tpl:text-[var(--tpl-warning)]"
192
- }), p("span", Ee, m(q.value), 1)], 64)) : u("", !0),
193
- v(c(ie), {
192
+ }), p("span", De, m(q.value), 1)], 64)) : u("", !0),
193
+ v(c(te), {
194
194
  size: 12,
195
195
  "aria-hidden": "true",
196
196
  class: "tpl-language-chevron tpl:shrink-0"
197
197
  })
198
- ], 10, Ce),
198
+ ], 10, we),
199
199
  N.value ? (t(), o("div", {
200
200
  key: 0,
201
201
  role: "menu",
202
- "aria-label": c(D).localization.languages,
203
- class: l([E, "tpl:absolute tpl:left-0 tpl:top-full tpl:z-50 tpl:mt-2 tpl:w-72"])
202
+ "aria-label": c(E).localization.languages,
203
+ class: l([T, "tpl:absolute tpl:left-0 tpl:top-full tpl:z-50 tpl:mt-2 tpl:w-72"])
204
204
  }, [
205
- p("div", Oe, m(c(D).localization.languages), 1),
206
- p("div", ke, [(t(!0), o(_, null, i(tt.value, (n) => (t(), o("div", {
205
+ p("div", ke, m(c(E).localization.languages), 1),
206
+ p("div", Ae, [(t(!0), o(_, null, i(tt.value, (n) => (t(), o("div", {
207
207
  key: n.locale,
208
208
  class: "tpl-language-row tpl:flex tpl:items-center",
209
209
  "data-active": B.value === n.locale
@@ -212,110 +212,110 @@ var Ce = [
212
212
  role: "menuitemradio",
213
213
  "aria-checked": B.value === n.locale,
214
214
  "data-testid": `language-option-${n.locale}`,
215
- class: l(T),
215
+ class: l(w),
216
216
  onClick: (e) => ct(n.locale)
217
- }, [p("span", Me, [B.value === n.locale ? (t(), d(c(x), {
217
+ }, [p("span", Ne, [B.value === n.locale ? (t(), d(c(y), {
218
218
  key: 0,
219
219
  size: 12,
220
220
  "aria-hidden": "true"
221
- })) : u("", !0)]), p("span", Ne, [p("span", Pe, [p("span", null, m(c(w)(n.locale)), 1), n.locale === z.value || !e.locales.includes(n.locale) ? (t(), o("span", {
221
+ })) : u("", !0)]), p("span", Pe, [p("span", Fe, [p("span", null, m(c(S)(n.locale)), 1), n.locale === z.value || !e.locales.includes(n.locale) ? (t(), o("span", {
222
222
  key: 0,
223
- class: l(["tpl-language-pill", c(ye)])
224
- }, m(n.locale === z.value ? c(D).localization.default : c(D).localization.notEnabled), 3)) : u("", !0)]), n.coverage ? (t(), o("span", {
223
+ class: l(["tpl-language-pill", c(xe)])
224
+ }, m(n.locale === z.value ? c(E).localization.default : c(E).localization.notEnabled), 3)) : u("", !0)]), n.coverage ? (t(), o("span", {
225
225
  key: 0,
226
226
  "data-testid": `language-status-${n.locale}`,
227
227
  class: "tpl:flex tpl:items-center tpl:gap-1 tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
228
- }, [n.coverage.missing.length || n.coverage.stale.length ? (t(), d(c(S), {
228
+ }, [n.coverage.missing.length || n.coverage.stale.length ? (t(), d(c(b), {
229
229
  key: 0,
230
230
  size: 10,
231
231
  "aria-hidden": "true",
232
232
  class: "tpl:text-[var(--tpl-warning)]"
233
- })) : (t(), d(c(x), {
233
+ })) : (t(), d(c(y), {
234
234
  key: 1,
235
235
  size: 10,
236
236
  "aria-hidden": "true",
237
237
  class: "tpl:text-[var(--tpl-success)]"
238
- })), s(" " + m(it(n.coverage)), 1)], 8, Fe)) : u("", !0)])], 8, je), n.locale !== z.value && U.value && e.locales.includes(n.locale) ? (t(), o("button", {
238
+ })), s(" " + m(it(n.coverage)), 1)], 8, Ie)) : u("", !0)])], 8, Me), n.locale !== z.value && U.value && e.locales.includes(n.locale) ? (t(), o("button", {
239
239
  key: 0,
240
240
  type: "button",
241
241
  "data-testid": `language-actions-${n.locale}`,
242
242
  "aria-haspopup": "menu",
243
243
  "aria-expanded": P.value === n.locale,
244
- "aria-label": c(O)(c(D).localization.moreActions, { language: c(w)(n.locale) }),
244
+ "aria-label": c(D)(c(E).localization.moreActions, { language: c(S)(n.locale) }),
245
245
  class: "tpl-language-actions tpl:mr-2 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-0 tpl:bg-transparent tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)]",
246
246
  onClick: (e) => X(n.locale)
247
- }, [v(c(ce), {
247
+ }, [v(c(ae), {
248
248
  size: 14,
249
249
  "aria-hidden": "true"
250
- })], 8, Ie)) : u("", !0)], 8, Ae))), 128))]),
250
+ })], 8, Le)) : u("", !0)], 8, je))), 128))]),
251
251
  (t(!0), o(_, null, i(tt.value.filter((t) => t.locale === P.value && U.value && e.locales.includes(t.locale)), (e) => (t(), o("div", {
252
252
  key: e.locale,
253
253
  role: "menu",
254
254
  "data-language-submenu": "",
255
- "aria-label": c(O)(c(D).localization.moreActions, { language: c(w)(e.locale) }),
256
- class: l([E, "tpl-language-submenu tpl:absolute tpl:left-full tpl:top-0 tpl:ml-1 tpl:w-64 tpl:overflow-hidden"])
255
+ "aria-label": c(D)(c(E).localization.moreActions, { language: c(S)(e.locale) }),
256
+ class: l([T, "tpl-language-submenu tpl:absolute tpl:left-full tpl:top-0 tpl:ml-1 tpl:w-64 tpl:overflow-hidden"])
257
257
  }, [p("button", {
258
258
  type: "button",
259
259
  role: "menuitem",
260
260
  "data-testid": `language-make-default-${e.locale}`,
261
- class: l(T),
261
+ class: l(w),
262
262
  "aria-disabled": K.value,
263
- "aria-label": c(D).localization.makeDefaultLanguage,
264
- "aria-describedby": K.value ? et : void 0,
263
+ "aria-label": c(E).localization.makeDefaultLanguage,
264
+ "aria-describedby": K.value ? M : void 0,
265
265
  onClick: (t) => pt(e.locale)
266
- }, [v(c(ae), {
266
+ }, [v(c(ne), {
267
267
  size: 14,
268
268
  "aria-hidden": "true",
269
269
  class: "tpl:shrink-0"
270
- }), p("span", ze, [p("span", null, m(c(D).localization.makeDefaultLanguage), 1), K.value ? (t(), o("span", {
270
+ }), p("span", Be, [p("span", null, m(c(E).localization.makeDefaultLanguage), 1), K.value ? (t(), o("span", {
271
271
  key: 0,
272
- id: et,
272
+ id: M,
273
273
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
274
- }, m(G.value ? c(C)(c(D).localization.hiddenBeforeDefault, nt.value.length, c(k), { language: c(w)(e.locale) }) : c(O)(c(D).localization.defaultNotEnabled, { default: c(w)(z.value) })), 1)) : u("", !0)])], 8, Re), p("button", {
274
+ }, m(G.value ? c(x)(c(E).localization.hiddenBeforeDefault, nt.value.length, c(O), { language: c(S)(e.locale) }) : c(D)(c(E).localization.defaultNotEnabled, { default: c(S)(z.value) })), 1)) : u("", !0)])], 8, ze), p("button", {
275
275
  type: "button",
276
276
  role: "menuitem",
277
277
  "data-testid": `language-remove-${e.locale}`,
278
- class: l([T, "tpl:text-[var(--tpl-danger)]"]),
278
+ class: l([w, "tpl:text-[var(--tpl-danger)]"]),
279
279
  onClick: (t) => ft(e.locale)
280
- }, [v(c(se), {
280
+ }, [v(c(ie), {
281
281
  size: 14,
282
282
  "aria-hidden": "true"
283
- }), s(m(c(O)(c(D).localization.removeLanguage, { language: c(w)(e.locale) })) + "… ", 1)], 8, Be)], 8, Le))), 128)),
284
- H.value.length && U.value ? (t(), o("div", Ve, [p("button", {
283
+ }), s(m(c(D)(c(E).localization.removeLanguage, { language: c(S)(e.locale) })) + "… ", 1)], 8, Ve)], 8, Re))), 128)),
284
+ H.value.length && U.value ? (t(), o("div", He, [p("button", {
285
285
  type: "button",
286
286
  role: "menuitem",
287
287
  "data-testid": "language-add",
288
288
  "aria-haspopup": "menu",
289
289
  "aria-expanded": P.value === "add",
290
- class: l(T),
290
+ class: l(w),
291
291
  onClick: a[0] ||= (e) => X("add")
292
292
  }, [
293
- v(c(oe), {
293
+ v(c(re), {
294
294
  size: 14,
295
295
  "aria-hidden": "true"
296
296
  }),
297
- s(m(c(D).localization.addLanguage), 1),
298
- v(c(le), {
297
+ s(m(c(E).localization.addLanguage), 1),
298
+ v(c(oe), {
299
299
  size: 12,
300
300
  "aria-hidden": "true",
301
301
  class: "tpl:ml-auto"
302
302
  })
303
- ], 8, He), P.value === "add" ? (t(), o("div", {
303
+ ], 8, Ue), P.value === "add" ? (t(), o("div", {
304
304
  key: 0,
305
305
  role: "menu",
306
306
  "data-language-submenu": "",
307
- "aria-label": c(D).localization.addLanguage,
308
- class: l([E, "tpl-language-submenu tpl:absolute tpl:left-full tpl:bottom-0 tpl:ml-1 tpl:max-h-64 tpl:w-48 tpl:overflow-y-auto"])
307
+ "aria-label": c(E).localization.addLanguage,
308
+ class: l([T, "tpl-language-submenu tpl:absolute tpl:left-full tpl:bottom-0 tpl:ml-1 tpl:max-h-64 tpl:w-48 tpl:overflow-y-auto"])
309
309
  }, [(t(!0), o(_, null, i(H.value, (e) => (t(), o("button", {
310
310
  key: e,
311
311
  type: "button",
312
312
  role: "menuitem",
313
313
  "data-testid": `language-add-${e}`,
314
- class: l(T),
314
+ class: l(w),
315
315
  onClick: (t) => lt(e)
316
- }, m(c(w)(e)), 9, We))), 128))], 8, Ue)) : u("", !0)])) : u("", !0)
317
- ], 8, De)) : u("", !0),
318
- v(Se, {
316
+ }, m(c(S)(e)), 9, Ge))), 128))], 8, We)) : u("", !0)])) : u("", !0)
317
+ ], 8, Oe)) : u("", !0),
318
+ v(Ce, {
319
319
  visible: F.value !== null || I.value !== null,
320
320
  onClose: $
321
321
  }, {
@@ -325,35 +325,35 @@ var Ce = [
325
325
  "aria-label": Q.value,
326
326
  class: "tpl:w-80 tpl:max-w-full tpl:max-h-[90%] tpl:overflow-y-auto tpl:box-border tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-lg)]"
327
327
  }, [
328
- p("h3", Ke, m(Q.value), 1),
329
- I.value && mt.value ? (t(), o("p", qe, m(c(C)(c(D).localization.defaultGaps, mt.value, c(k), {
330
- language: c(w)(I.value.locale),
331
- default: c(w)(z.value)
328
+ p("h3", qe, m(Q.value), 1),
329
+ I.value && mt.value ? (t(), o("p", Je, m(c(x)(c(E).localization.defaultGaps, mt.value, c(O), {
330
+ language: c(S)(I.value.locale),
331
+ default: c(S)(z.value)
332
332
  })), 1)) : u("", !0),
333
- F.value ? (t(), o("p", Je, m(c(O)(c(D).localization.removeDescription, { language: c(w)(F.value) })), 1)) : u("", !0),
334
- L.value ? (t(), o("p", Ye, [v(c(S), {
333
+ F.value ? (t(), o("p", Ye, m(c(D)(c(E).localization.removeDescription, { language: c(S)(F.value) })), 1)) : u("", !0),
334
+ L.value ? (t(), o("p", Xe, [v(c(b), {
335
335
  size: 14,
336
336
  "aria-hidden": "true",
337
337
  class: "tpl:shrink-0"
338
338
  }), p("span", null, m(L.value), 1)])) : u("", !0),
339
- p("div", Xe, [p("button", {
339
+ p("div", Ze, [p("button", {
340
340
  type: "button",
341
341
  "data-testid": I.value ? "language-default-cancel" : "language-remove-cancel",
342
- class: l(c(ge)),
342
+ class: l(c(ve)),
343
343
  onClick: $
344
- }, m(c(D).localization.cancel), 11, Ze), p("button", {
344
+ }, m(c(E).localization.cancel), 11, Qe), p("button", {
345
345
  type: "button",
346
346
  "data-testid": I.value ? "language-default-confirm" : "language-remove-confirm",
347
- class: l(c(F.value ? ve : _e)),
347
+ class: l(c(F.value ? be : ye)),
348
348
  disabled: !U.value,
349
349
  onClick: ht
350
- }, m(I.value ? c(D).localization.makeDefault : c(O)(c(D).localization.removeLanguage, { language: c(w)(F.value ?? z.value) })), 11, Qe)])
351
- ], 8, Ge)]),
350
+ }, m(I.value ? c(E).localization.makeDefault : c(D)(c(E).localization.removeLanguage, { language: c(S)(F.value ?? z.value) })), 11, $e)])
351
+ ], 8, Ke)]),
352
352
  _: 1
353
353
  }, 8, ["visible"])
354
354
  ], 544));
355
355
  }
356
356
  }), [["__scopeId", "data-v-9b071249"]]);
357
- export { D as default };
357
+ export { E as default };
358
358
 
359
- //# sourceMappingURL=LanguageMenu-C2I_yTL5.js.map
359
+ //# sourceMappingURL=LanguageMenu-B6MNInCL.js.map