@templatical/editor 0.59.0 → 0.59.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 (192) hide show
  1. package/dist/{AiAltTextPopover-CwyKz_9U.js → AiAltTextPopover-BhWHOOKX.js} +3 -3
  2. package/dist/{AiAltTextReview-DNFnR1PN.js → AiAltTextReview-CmW7pLmo.js} +3 -3
  3. package/dist/{AiChatPanel-DWWVvJIP.js → AiChatPanel-CV0mCtad.js} +2 -2
  4. package/dist/{AiPanels-CESbBB63.js → AiPanels-C8M7q_vM.js} +1 -1
  5. package/dist/{AiRewriteMenu-CjXiI-n4.js → AiRewriteMenu-DC2ZLH5L.js} +7 -7
  6. package/dist/{BlockIssueBadge-3k568_Od.js → BlockIssueBadge-B8sl9BM1.js} +2 -2
  7. package/dist/{BlockPreviewCanvas-3FzYSsPm.js → BlockPreviewCanvas-yhOQAQhJ.js} +22 -18
  8. package/dist/{CloudHeaderExtras-xrHubAHL.js → CloudHeaderExtras-DC_oNrxz.js} +1 -1
  9. package/dist/{CloudPanels-CSFN-eLV.js → CloudPanels-CD0lsL0R.js} +2 -2
  10. package/dist/{CollaborationNotices-D9GQ477K.js → CollaborationNotices-DrMrP73M.js} +1 -1
  11. package/dist/{CollaboratorBar-DsRjAaqd.js → CollaboratorBar-TsK872uC.js} +1 -1
  12. package/dist/{CommentsPanel-lb-IFzjl.js → CommentsPanel-BX8JVrXU.js} +1 -1
  13. package/dist/{CommentsSidebar-CVVTCWBH.js → CommentsSidebar-BUlseNwL.js} +2 -2
  14. package/dist/{CountdownBlock-CSEq79Nc.js → CountdownBlock-AYPypmcX.js} +2 -2
  15. package/dist/{CountdownToolbar-BV9yQi9k.js → CountdownToolbar-dx3FVRjh.js} +5 -5
  16. package/dist/{IssuesPanel-pxcWAQJM.js → IssuesPanel-BwnvXxBC.js} +5 -5
  17. package/dist/{LanguageMenu-CEKRbNhA.js → LanguageMenu-Cf5bKocE.js} +5 -5
  18. package/dist/{LocaleNotices-j4aMFfmc.js → LocaleNotices-CGEp0pQ8.js} +2 -2
  19. package/dist/{LogicTagInsertButton-BDIsyl3C.js → LogicTagInsertButton-BdDe-vrZ.js} +8 -8
  20. package/dist/{MergeTagInput-De1yWoc2.js → MergeTagInput-CTTi-eB0.js} +1 -1
  21. package/dist/{MergeTagModeToggle-CL96pI1E.js → MergeTagModeToggle-Bd0svGQm.js} +3 -3
  22. package/dist/{MergeTagTextarea-DDyV8U44.js → MergeTagTextarea-DiahMV-3.js} +4 -4
  23. package/dist/{ParagraphEditor-Vz90-hhN.js → ParagraphEditor-Db1cmj8Y.js} +11 -11
  24. package/dist/{RestoreVersionDialog-BgrtpVl1.js → RestoreVersionDialog-DA1Z0q9Z.js} +2 -2
  25. package/dist/{RichTextEditorContent-C2Yj1-ZA.js → RichTextEditorContent-CyO6e4ZG.js} +6 -6
  26. package/dist/{SaveBlockDialog-DRvLFKWJ.js → SaveBlockDialog-D7SaFxa_.js} +6 -6
  27. package/dist/{SavedBlocksBrowserModal-Dw0uF-NT.js → SavedBlocksBrowserModal-B5r3LWWG.js} +6 -6
  28. package/dist/{SavedBlocksPanels-BReNi8sg.js → SavedBlocksPanels-BH2f7jm-.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-BQX4g7OE.js → SavedBlocksPickBar-B24TScw0.js} +2 -2
  30. package/dist/{TemplateSettings-CBCaybvd.js → TemplateSettings-CuN9Vkl_.js} +8 -8
  31. package/dist/{TestEmailModal-BiCUiRFo.js → TestEmailModal-C4DAaohi.js} +12 -9
  32. package/dist/{TestEmailPanel-Bfr-sGrI.js → TestEmailPanel-DoMcVJSE.js} +1 -1
  33. package/dist/{TitleEditor-B8thQPgg.js → TitleEditor-b5Pr_m9j.js} +8 -8
  34. package/dist/{Toolbar-FIYSw3Us.js → Toolbar-BOf7Y862.js} +14 -14
  35. package/dist/{TplModal-BIqO0owX.js → TplModal-DAcXzBJh.js} +4 -4
  36. package/dist/{VersionHistoryMenu-6jMve6By.js → VersionHistoryMenu-TbIGteNi.js} +2 -2
  37. package/dist/{VersionHistoryPanels-C91mfsMA.js → VersionHistoryPanels-Ia6ipOqG.js} +1 -1
  38. package/dist/{VersionPreviewBanner-Bq8z1SUc.js → VersionPreviewBanner-CRfu6quf.js} +1 -1
  39. package/dist/{WrapperBlock-BAqgP8hm.js → WrapperBlock-BZenrXM6.js} +4 -4
  40. package/dist/{blockTypeIcons-VX_8UQ21.js → blockTypeIcons-DdYZy8yG.js} +1 -1
  41. package/dist/bundle-stats.json +6 -6
  42. package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js → AiAltTextPopover-CcX_OMUU.js} +4 -4
  43. package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js.map → AiAltTextPopover-CcX_OMUU.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js → AiAltTextReview-Dmm3h0jd.js} +4 -4
  45. package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js.map → AiAltTextReview-Dmm3h0jd.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js → AiChatPanel-DV23DJ-2.js} +3 -3
  47. package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js.map → AiChatPanel-DV23DJ-2.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js → AiPanels-CxhOpMAp.js} +2 -2
  49. package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js.map → AiPanels-CxhOpMAp.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js → AiRewriteMenu-87-O514r.js} +8 -8
  51. package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js.map → AiRewriteMenu-87-O514r.js.map} +1 -1
  52. package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js → BlockIssueBadge-Dp06vQd3.js} +3 -3
  53. package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js.map → BlockIssueBadge-Dp06vQd3.js.map} +1 -1
  54. package/dist/cdn/chunks/{BlockPreviewCanvas-BF0yCTKP.js → BlockPreviewCanvas-DQGzUvZ5.js} +23 -19
  55. package/dist/cdn/chunks/BlockPreviewCanvas-DQGzUvZ5.js.map +1 -0
  56. package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js → CloudHeaderExtras-Cd-ePldd.js} +2 -2
  57. package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js.map → CloudHeaderExtras-Cd-ePldd.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js → CloudPanels-D8fchoYt.js} +3 -3
  59. package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js.map → CloudPanels-D8fchoYt.js.map} +1 -1
  60. package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js → CollaborationNotices-DNEs3g9B.js} +2 -2
  61. package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js.map → CollaborationNotices-DNEs3g9B.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js → CollaboratorBar-CN6XAlbn.js} +2 -2
  63. package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js.map → CollaboratorBar-CN6XAlbn.js.map} +1 -1
  64. package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js → CommentsPanel-CxZ1kFcK.js} +2 -2
  65. package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js.map → CommentsPanel-CxZ1kFcK.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js → CommentsSidebar-DCr2mV8b.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js.map → CommentsSidebar-DCr2mV8b.js.map} +1 -1
  68. package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js → CountdownBlock--hlKE2aj.js} +3 -3
  69. package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js.map → CountdownBlock--hlKE2aj.js.map} +1 -1
  70. package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js → CountdownToolbar-CUTbVPPV.js} +6 -6
  71. package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js.map → CountdownToolbar-CUTbVPPV.js.map} +1 -1
  72. package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js → IssuesPanel-BhcSzwuL.js} +7 -7
  73. package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js.map → IssuesPanel-BhcSzwuL.js.map} +1 -1
  74. package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js → LanguageMenu-6wGhkyFT.js} +99 -99
  75. package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js.map → LanguageMenu-6wGhkyFT.js.map} +1 -1
  76. package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js → LocaleNotices-Br92Xueo.js} +3 -3
  77. package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js.map → LocaleNotices-Br92Xueo.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js → LogicTagInsertButton-r2EVUtDU.js} +9 -9
  79. package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js.map → LogicTagInsertButton-r2EVUtDU.js.map} +1 -1
  80. package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js → MergeTagInput-Dh3N6CEV.js} +2 -2
  81. package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js.map → MergeTagInput-Dh3N6CEV.js.map} +1 -1
  82. package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js → MergeTagModeToggle-D6u3hMrI.js} +4 -4
  83. package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js.map → MergeTagModeToggle-D6u3hMrI.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js → MergeTagTextarea-BpVtpiNL.js} +8 -8
  85. package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js.map → MergeTagTextarea-BpVtpiNL.js.map} +1 -1
  86. package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js → ParagraphEditor-DGJmPAC1.js} +12 -12
  87. package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js.map → ParagraphEditor-DGJmPAC1.js.map} +1 -1
  88. package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js → RestoreVersionDialog-D5qeCa0F.js} +3 -3
  89. package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js.map → RestoreVersionDialog-D5qeCa0F.js.map} +1 -1
  90. package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js → RichTextEditorContent-DyGiXKKI.js} +7 -7
  91. package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js.map → RichTextEditorContent-DyGiXKKI.js.map} +1 -1
  92. package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js → SaveBlockDialog-B0TJYxd8.js} +7 -7
  93. package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js.map → SaveBlockDialog-B0TJYxd8.js.map} +1 -1
  94. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js → SavedBlocksBrowserModal-D8Ly7LrA.js} +6 -6
  95. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js.map → SavedBlocksBrowserModal-D8Ly7LrA.js.map} +1 -1
  96. package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js → SavedBlocksPanels-Co1cbWR8.js} +2 -2
  97. package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js.map → SavedBlocksPanels-Co1cbWR8.js.map} +1 -1
  98. package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js → SavedBlocksPickBar-DNtVbpm-.js} +3 -3
  99. package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js.map → SavedBlocksPickBar-DNtVbpm-.js.map} +1 -1
  100. package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js → TemplateSettings-BRc878ZF.js} +9 -9
  101. package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js.map → TemplateSettings-BRc878ZF.js.map} +1 -1
  102. package/dist/cdn/chunks/{TestEmailModal-WOC7bmF_.js → TestEmailModal-CIui7VfS.js} +13 -10
  103. package/dist/cdn/chunks/TestEmailModal-CIui7VfS.js.map +1 -0
  104. package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js → TestEmailPanel-vKvruW_r.js} +2 -2
  105. package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js.map → TestEmailPanel-vKvruW_r.js.map} +1 -1
  106. package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js → TitleEditor-BI-9Nnj3.js} +8 -8
  107. package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js.map → TitleEditor-BI-9Nnj3.js.map} +1 -1
  108. package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js → Toolbar-CYnnArxv.js} +418 -418
  109. package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js.map → Toolbar-CYnnArxv.js.map} +1 -1
  110. package/dist/cdn/chunks/{TplModal-B9DVglkN.js → TplModal-B3nZeGWK.js} +5 -5
  111. package/dist/cdn/chunks/{TplModal-B9DVglkN.js.map → TplModal-B3nZeGWK.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js → VersionHistoryMenu-CMGfAKuV.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js.map → VersionHistoryMenu-CMGfAKuV.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js → VersionHistoryPanels-Bb2ouQg7.js} +2 -2
  115. package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js.map → VersionHistoryPanels-Bb2ouQg7.js.map} +1 -1
  116. package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js → VersionPreviewBanner-573UP-g4.js} +2 -2
  117. package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js.map → VersionPreviewBanner-573UP-g4.js.map} +1 -1
  118. package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js → WrapperBlock-DVu632LD.js} +5 -5
  119. package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js.map → WrapperBlock-DVu632LD.js.map} +1 -1
  120. package/dist/cdn/chunks/{composables-CN9j_FH4.js → composables-DY3anqHO.js} +574 -571
  121. package/dist/cdn/chunks/composables-DY3anqHO.js.map +1 -0
  122. package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js → createCloudRuntime-B5numxlW.js} +4 -4
  123. package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js.map → createCloudRuntime-B5numxlW.js.map} +1 -1
  124. package/dist/cdn/chunks/{extensions-BYJPv1sA.js → extensions-BWVlr8Ga.js} +5 -5
  125. package/dist/cdn/chunks/{extensions-BYJPv1sA.js.map → extensions-BWVlr8Ga.js.map} +1 -1
  126. package/dist/cdn/chunks/keys-ywH4jHJ2.js +11 -0
  127. package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -0
  128. package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js → normalizeMergeTagMarkup-Dw3rFvyd.js} +40 -40
  129. package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js.map → normalizeMergeTagMarkup-Dw3rFvyd.js.map} +1 -1
  130. package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js → preRenderCustomBlocks-BGtb8Xbp.js} +4 -4
  131. package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js.map → preRenderCustomBlocks-BGtb8Xbp.js.map} +1 -1
  132. package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js → sanitizeHtml-CLRY8s2s.js} +2 -2
  133. package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js.map → sanitizeHtml-CLRY8s2s.js.map} +1 -1
  134. package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js → socialIcons-kYhdXJ9P.js} +255 -255
  135. package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js.map → socialIcons-kYhdXJ9P.js.map} +1 -1
  136. package/dist/cdn/chunks/{src-BXrhjqCv.js → src-B7X7x_ST.js} +154 -154
  137. package/dist/cdn/chunks/{src-BXrhjqCv.js.map → src-B7X7x_ST.js.map} +1 -1
  138. package/dist/cdn/chunks/{src-BRyzUujm.js → src-BmzzkUf7.js} +539 -539
  139. package/dist/cdn/chunks/{src-BRyzUujm.js.map → src-BmzzkUf7.js.map} +1 -1
  140. package/dist/cdn/chunks/{src-CVHGPKSW.js → src-DY2kMjoD.js} +593 -589
  141. package/dist/cdn/chunks/src-DY2kMjoD.js.map +1 -0
  142. package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js → useCloudI18n-BTV9uu3c.js} +2 -2
  143. package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js.map → useCloudI18n-BTV9uu3c.js.map} +1 -1
  144. package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js → useEditorRoot-D0Lp2x4_.js} +2 -2
  145. package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js.map → useEditorRoot-D0Lp2x4_.js.map} +1 -1
  146. package/dist/cdn/chunks/{useI18n-JsIdvX-i.js → useI18n-DPg6rPbu.js} +2 -2
  147. package/dist/cdn/chunks/{useI18n-JsIdvX-i.js.map → useI18n-DPg6rPbu.js.map} +1 -1
  148. package/dist/cdn/chunks/useLocalizedDisplay-B5wMJLru.js +33 -0
  149. package/dist/cdn/chunks/{useLocalizedDisplay-7iwZ1UhB.js.map → useLocalizedDisplay-B5wMJLru.js.map} +1 -1
  150. package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js → useLogicTag-0wkSxy3z.js} +3 -3
  151. package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js.map → useLogicTag-0wkSxy3z.js.map} +1 -1
  152. package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js → useMergeTag-y3bX8M_6.js} +3 -3
  153. package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js.map → useMergeTag-y3bX8M_6.js.map} +1 -1
  154. package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js → usePopoverPosition-CBp9uwjV.js} +2 -2
  155. package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js.map → usePopoverPosition-CBp9uwjV.js.map} +1 -1
  156. package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js → useScrollToBlock-32EnuMwu.js} +2 -2
  157. package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js.map → useScrollToBlock-32EnuMwu.js.map} +1 -1
  158. package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js → withCurrentFont-B42BKo9N.js} +2 -2
  159. package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js.map → withCurrentFont-B42BKo9N.js.map} +1 -1
  160. package/dist/cdn/editor.css +1 -1
  161. package/dist/cdn/editor.js +600 -600
  162. package/dist/cdn/editor.js.map +1 -1
  163. package/dist/{composables-DbqKYIRE.js → composables-CFTH0Nqb.js} +867 -864
  164. package/dist/{createCloudRuntime-DiUnYjKr.js → createCloudRuntime-BvWlm_38.js} +3 -3
  165. package/dist/{dist-BTjObRcv.js → dist-CMo4K5So.js} +277 -273
  166. package/dist/{extensions-CAuXwpbI.js → extensions-BPVackEE.js} +4 -4
  167. package/dist/index.d.ts +29 -7
  168. package/dist/keys-B4DimcgX.js +9 -0
  169. package/dist/{normalizeMergeTagMarkup-fgoVMKAc.js → normalizeMergeTagMarkup-PQqrbfmt.js} +1 -1
  170. package/dist/{preRenderCustomBlocks-CgPtlLGL.js → preRenderCustomBlocks-Dg5GBNi2.js} +1 -1
  171. package/dist/{sanitizeHtml-D2wueiEe.js → sanitizeHtml-DVdfdxOz.js} +1 -1
  172. package/dist/{socialIcons-RKdTgJip.js → socialIcons-DBHv_ntg.js} +4 -4
  173. package/dist/style.css +1 -1
  174. package/dist/templatical-editor.js +563 -563
  175. package/dist/{useCloudI18n-nMZ9f_4b.js → useCloudI18n-BnuOL1YS.js} +1 -1
  176. package/dist/{useEditorRoot-DpssP9rX.js → useEditorRoot-DWfC2CVC.js} +1 -1
  177. package/dist/{useI18n-C2p-qHeb.js → useI18n-Cx9W7OWb.js} +1 -1
  178. package/dist/{useLocalizedDisplay-9RqT2y_Y.js → useLocalizedDisplay-CbFM0cCV.js} +1 -1
  179. package/dist/{useLogicTag-59fmujI7.js → useLogicTag-CVOj0VUv.js} +2 -2
  180. package/dist/{useMergeTag-M1vauWet.js → useMergeTag-Bams_kam.js} +2 -2
  181. package/dist/{usePopoverPosition-L9MOHBM-.js → usePopoverPosition-DF0ZYH7g.js} +1 -1
  182. package/dist/{useScrollToBlock-BMF0Dt5l.js → useScrollToBlock-CwUQ_nKz.js} +1 -1
  183. package/dist/{withCurrentFont-BXZ7g-K6.js → withCurrentFont-y0O5kOLW.js} +1 -1
  184. package/package.json +7 -7
  185. package/dist/cdn/chunks/BlockPreviewCanvas-BF0yCTKP.js.map +0 -1
  186. package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js.map +0 -1
  187. package/dist/cdn/chunks/composables-CN9j_FH4.js.map +0 -1
  188. package/dist/cdn/chunks/keys-DNv3xXxI.js +0 -11
  189. package/dist/cdn/chunks/keys-DNv3xXxI.js.map +0 -1
  190. package/dist/cdn/chunks/src-CVHGPKSW.js.map +0 -1
  191. package/dist/cdn/chunks/useLocalizedDisplay-7iwZ1UhB.js +0 -33
  192. package/dist/keys-BeQy64On.js +0 -9
@@ -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-IRVFEZ-b.js";
2
2
  import { t as ee } from "./dist-zu1jwYIS.js";
3
3
  import { Bt as te, Gt as ne, H as re, Rt as ie, Vt as y, d as b, f as ae, kt as oe } from "./icons-C7vjUBLn.js";
4
- import { Ht as se, I as ce, Jt as x, Vt as le, qt as ue } from "./src-CVHGPKSW.js";
5
- import { t as de } from "./useI18n-JsIdvX-i.js";
6
- import { t as fe } from "./useLocalizedDisplay-7iwZ1UhB.js";
7
- import { E as pe, h as me, ot as he, t as ge } from "./keys-DNv3xXxI.js";
8
- import { t as S } from "./plural-CyxrJXL1.js";
9
- import { t as C } from "./languageName-DEEOhDWI.js";
10
- import { C as _e, b as ve, f as ye, u as be, w as xe } from "./styleConstants-Br6CIRoS.js";
11
- import { t as Se } from "./TplModal-B9DVglkN.js";
12
- import { t as w } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
4
+ import { Ht as se, I as ce, Jt as le, Ut as ue, Yt as de } from "./src-DY2kMjoD.js";
5
+ import { t as fe } from "./useI18n-DPg6rPbu.js";
6
+ import { t as pe } from "./useLocalizedDisplay-B5wMJLru.js";
7
+ import { E as me, h as he, st as ge, t as _e } from "./keys-ywH4jHJ2.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-Br6CIRoS.js";
11
+ import { t as Ce } from "./TplModal-B3nZeGWK.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__*/ w(/* @__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 w = e, { t: D, format: O } = de(), k = a(he, void 0) ?? "en", $e = a(pe, null), A = a(me, []), j = g(null), M = g(null), et = `tpl-language-reason-${ce()}`, N = g(!1), P = g(null), F = g(null), I = g(null), L = g(null), R = g(null), z = h(() => se(w.editor.content.value)), B = h(() => w.editor.activeLocale?.value ?? z.value), V = h(() => w.editor.content.value.settings.locales ?? []), H = h(() => w.locales.filter((e) => e !== z.value && !V.value.includes(e))), U = h(() => B.value === z.value || w.locales.includes(B.value)), W = a(ge, null) ?? fe(w.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 : ue(w.editor.content.value, e, A)
60
- })) : []), nt = h(() => P.value && V.value.includes(P.value) && U.value && w.locales.includes(P.value) ? x(w.editor.content.value, P.value) : []), G = h(() => w.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
- }) : C(B.value)), rt = h(() => q.value ? `${C(B.value)} ${q.value} (${B.value}), ${J.value}` : `${C(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(S(D.localization.missingCount, e.missing.length, k)), e.stale.length && t.push(S(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 && w.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
- w.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) && (w.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: w.editor.state.template?.id ?? null,
116
- loadVersion: w.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 === (w.editor.state.template?.id ?? null) && R.value.loadVersion === w.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) && w.locales.includes(e) && G.value && x(w.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 ? le(w.editor.content.value, I.value.locale, A).length : 0), Q = h(() => I.value ? O(D.localization.makeDefaultConfirmation, { language: C(I.value.locale) }) : O(D.localization.removeConfirmation, { language: C(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: C(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 && w.locales.includes(F.value) && w.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([() => w.editor.state.template?.id ?? null, () => w.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
- }), ee(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(xe), "tpl-language-trigger"]),
183
+ class: l([c(Se), "tpl-language-trigger"]),
184
184
  onClick: at
185
185
  }, [
186
- p("span", we, m(c(C)(B.value)), 1),
187
- p("span", Te, m(B.value), 1),
186
+ p("span", Te, m(c(S)(B.value)), 1),
187
+ p("span", Ee, m(B.value), 1),
188
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),
192
+ }), p("span", De, m(q.value), 1)], 64)) : u("", !0),
193
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,16 +212,16 @@ 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(y), {
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(C)(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(be)])
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)]"
@@ -235,87 +235,87 @@ var Ce = [
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(C)(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
247
  }, [v(c(oe), {
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(C)(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
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(S)(c(D).localization.hiddenBeforeDefault, nt.value.length, c(k), { language: c(C)(e.locale) }) : c(O)(c(D).localization.defaultNotEnabled, { default: c(C)(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
280
  }, [v(c(ae), {
281
281
  size: 14,
282
282
  "aria-hidden": "true"
283
- }), s(m(c(O)(c(D).localization.removeLanguage, { language: c(C)(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
293
  v(c(re), {
294
294
  size: 14,
295
295
  "aria-hidden": "true"
296
296
  }),
297
- s(m(c(D).localization.addLanguage), 1),
297
+ s(m(c(E).localization.addLanguage), 1),
298
298
  v(c(ie), {
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(C)(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(S)(c(D).localization.defaultGaps, mt.value, c(k), {
330
- language: c(C)(I.value.locale),
331
- default: c(C)(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(C)(F.value) })), 1)) : u("", !0),
334
- L.value ? (t(), o("p", Ye, [v(c(b), {
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(_e)),
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 ? ye : ve)),
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(C)(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-fL4DRGGQ.js.map
359
+ //# sourceMappingURL=LanguageMenu-6wGhkyFT.js.map