@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,24 +1,24 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
2
  import { Ft as t, L as n, M as r, Mt as i, P as a, Pt as o, Y as s, _ as c, a as l, c as u, ct as d, d as f, et as p, f as m, g as h, l as g, r as _, u as v, v as y, w as b, y as x } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
3
3
  import { c as S, s as C } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
4
- import { Bt as w } from "./dist-BMUUt3zJ.js";
5
- import { t as T } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
- import { t as E } from "./createLucideIcon-CfBdtoUw.js";
7
- import { B as D, H as O, U as k, z as A } from "./composables-CRX6rncm.js";
8
- import { c as j, l as ee, u as te } from "./LogicTagInsertButton-DEOPc4RC.js";
9
- import { i as ne, n as M, r as N, t as P } from "./RichTextEditorContent-xbBjVPVQ.js";
10
- import { t as F } from "./link-DhzPI4Hn.js";
11
- import { t as re } from "./list-DVGn7Ik2.js";
12
- import { t as ie } from "./loader-circle-DqKWsMHO.js";
13
- import { n as ae, r as oe, t as se } from "./text-align-start-Dqk2Xt_Q.js";
14
- import { I as ce, M as le, at as ue, b as de, d as fe, st as pe, tt as me, v as I } from "./keys-w_VRjoMu.js";
15
- import { t as L } from "./useI18n-zeWYtWSv.js";
16
- import { n as R } from "./useLocalizedDisplay-Cbhx208c.js";
4
+ import { B as w, H as T, U as E, z as D } from "./composables-DreAt_0A.js";
5
+ import { n as O } from "./usePopoverPosition-Br3zt_MQ.js";
6
+ import { Bt as ee } from "./dist-BMUUt3zJ.js";
7
+ import { n as te } from "./useLocalizedDisplay-Cbhx208c.js";
8
+ import { I as ne, M as k, at as A, b as j, d as M, st as N, tt as P, v as F } from "./keys-w_VRjoMu.js";
9
+ import { c as I, l as re, u as ie } from "./LogicTagInsertButton-BSolF7Fd.js";
10
+ import { t as L } from "./dist-CiYotUR8.js";
11
+ import { t as R } from "./createLucideIcon-CfBdtoUw.js";
12
+ import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
13
+ import { n as ae, t as oe } from "./withCurrentFont-m_PHcOD0.js";
14
+ import { n as se, r as ce, t as le } from "./text-align-start-Dqk2Xt_Q.js";
15
+ import { t as B } from "./useI18n-zeWYtWSv.js";
16
+ import { i as ue, n as V, r as de, t as H } from "./RichTextEditorContent-xIEF0Y3Z.js";
17
+ import { t as fe } from "./link-DhzPI4Hn.js";
18
+ import { t as pe } from "./list-DVGn7Ik2.js";
19
+ import { t as me } from "./loader-circle-DqKWsMHO.js";
17
20
  import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-CgiNKdnc.js";
18
- import { t as z } from "./dist-0alKVRc_.js";
19
- import { n as B } from "./usePopoverPosition-Br3zt_MQ.js";
20
- import { n as ye, t as be } from "./withCurrentFont-m_PHcOD0.js";
21
- var V = E({
21
+ var U = R({
22
22
  name: "face-slightly-smiling",
23
23
  size: 24,
24
24
  node: [
@@ -42,7 +42,7 @@ var V = E({
42
42
  }]
43
43
  ],
44
44
  aliases: ["smile"]
45
- }), xe = E({
45
+ }), ye = R({
46
46
  name: "list-ordered",
47
47
  size: 24,
48
48
  node: [
@@ -71,7 +71,7 @@ var V = E({
71
71
  key: "xtkcd5"
72
72
  }]
73
73
  ]
74
- }), Se = E({
74
+ }), be = R({
75
75
  name: "remove-formatting",
76
76
  size: 24,
77
77
  node: [
@@ -96,7 +96,7 @@ var V = E({
96
96
  key: "11p7ol"
97
97
  }]
98
98
  ]
99
- }), Ce = E({
99
+ }), xe = R({
100
100
  name: "subscript",
101
101
  size: 24,
102
102
  node: [
@@ -113,7 +113,7 @@ var V = E({
113
113
  key: "e8ta8j"
114
114
  }]
115
115
  ]
116
- }), we = E({
116
+ }), Se = R({
117
117
  name: "strikethrough",
118
118
  size: 24,
119
119
  node: [
@@ -133,7 +133,7 @@ var V = E({
133
133
  key: "1e0a9i"
134
134
  }]
135
135
  ]
136
- }), Te = E({
136
+ }), Ce = R({
137
137
  name: "superscript",
138
138
  size: 24,
139
139
  node: [
@@ -150,7 +150,7 @@ var V = E({
150
150
  key: "1dfcux"
151
151
  }]
152
152
  ]
153
- }), Ee = E({
153
+ }), we = R({
154
154
  name: "text-align-justify",
155
155
  size: 24,
156
156
  node: [
@@ -168,7 +168,7 @@ var V = E({
168
168
  }]
169
169
  ],
170
170
  aliases: ["align-justify"]
171
- }), De = E({
171
+ }), Te = R({
172
172
  name: "underline",
173
173
  size: 24,
174
174
  node: [["path", {
@@ -181,11 +181,11 @@ var V = E({
181
181
  y2: "20",
182
182
  key: "nun2al"
183
183
  }]]
184
- }), H = [
184
+ }), W = [
185
185
  "value",
186
186
  "aria-label",
187
187
  "title"
188
- ], U = { value: "" }, W = ["value"], G = /* @__PURE__ */ x({
188
+ ], G = { value: "" }, K = ["value"], q = /* @__PURE__ */ x({
189
189
  __name: "ToolbarSelect",
190
190
  props: {
191
191
  modelValue: {},
@@ -222,24 +222,24 @@ var V = E({
222
222
  "aria-label": e.label,
223
223
  title: e.label,
224
224
  onChange: c
225
- }, [g("option", U, t(e.placeholder ?? ""), 1), (r(!0), m(_, null, a(h.value, (e) => (r(), m("option", {
225
+ }, [g("option", G, t(e.placeholder ?? ""), 1), (r(!0), m(_, null, a(h.value, (e) => (r(), m("option", {
226
226
  key: l(e),
227
227
  value: l(e)
228
- }, t(d(e)), 9, W))), 128))], 42, H));
228
+ }, t(d(e)), 9, K))), 128))], 42, W));
229
229
  }
230
- }), K = [
230
+ }), J = [
231
231
  "aria-label",
232
232
  "title",
233
233
  "aria-expanded"
234
- ], q = ["aria-label"], J = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, Y = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, X = ["aria-label", "onClick"], Oe = /* @__PURE__ */ x({
234
+ ], Y = ["aria-label"], X = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, Z = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, Ee = ["aria-label", "onClick"], De = /* @__PURE__ */ x({
235
235
  __name: "EmojiPickerDropdown",
236
236
  emits: ["insert"],
237
237
  setup(e, { emit: n }) {
238
- let o = n, { categories: s, isOpen: l, toggle: h, close: v } = O(), { t: y, format: b } = L(), x = p(null), w = p(null), T = u(() => l.value);
239
- k(x, T), z(w, () => {
238
+ let o = n, { categories: s, isOpen: l, toggle: h, close: v } = T(), { t: y, format: b } = B(), x = p(null), w = p(null), D = u(() => l.value);
239
+ E(x, D), L(w, () => {
240
240
  l.value && v();
241
241
  });
242
- function E(e) {
242
+ function O(e) {
243
243
  o("insert", e), v();
244
244
  }
245
245
  return (e, n) => (r(), m("div", {
@@ -255,10 +255,10 @@ var V = E({
255
255
  "aria-haspopup": "dialog",
256
256
  "aria-controls": "tpl-emoji-picker",
257
257
  onClick: n[0] ||= (...e) => d(h) && d(h)(...e)
258
- }, [c(d(V), {
258
+ }, [c(d(U), {
259
259
  size: 16,
260
260
  "stroke-width": 2
261
- })], 10, K), d(l) ? (r(), m("div", {
261
+ })], 10, J), d(l) ? (r(), m("div", {
262
262
  key: 0,
263
263
  id: "tpl-emoji-picker",
264
264
  ref_key: "pickerRef",
@@ -272,15 +272,15 @@ var V = E({
272
272
  }, [(r(!0), m(_, null, a(d(s), (e) => (r(), m("div", {
273
273
  key: e.key,
274
274
  class: "tpl:mb-2 tpl:last:mb-0"
275
- }, [g("div", J, t(d(y).emoji[e.key]), 1), g("div", Y, [(r(!0), m(_, null, a(e.emojis, (e) => (r(), m("button", {
275
+ }, [g("div", X, t(d(y).emoji[e.key]), 1), g("div", Z, [(r(!0), m(_, null, a(e.emojis, (e) => (r(), m("button", {
276
276
  key: e,
277
277
  type: "button",
278
278
  "aria-label": d(b)(d(y).paragraphEditor.emojiItemLabel, { emoji: e }),
279
279
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
280
- onClick: (t) => E(e)
281
- }, t(e), 9, X))), 128))])]))), 128))], 40, q)) : f("", !0)], 512));
280
+ onClick: (t) => O(e)
281
+ }, t(e), 9, Ee))), 128))])]))), 128))], 40, Y)) : f("", !0)], 512));
282
282
  }
283
- }), Z = [
283
+ }), Oe = [
284
284
  "aria-label",
285
285
  "title",
286
286
  "aria-pressed"
@@ -303,7 +303,7 @@ var V = E({
303
303
  }, [(r(), v(n(e.icon), {
304
304
  size: e.size ?? 16,
305
305
  "stroke-width": e.strokeWidth ?? 2
306
- }, null, 8, ["size", "stroke-width"]))], 10, Z));
306
+ }, null, 8, ["size", "stroke-width"]))], 10, Oe));
307
307
  }
308
308
  }), ke = {}, Ae = {
309
309
  class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
@@ -312,7 +312,7 @@ var V = E({
312
312
  function je(e, t) {
313
313
  return r(), m("span", Ae);
314
314
  }
315
- var $ = /*#__PURE__*/ T(ke, [["render", je]]);
315
+ var $ = /*#__PURE__*/ z(ke, [["render", je]]);
316
316
  // src/utils/richTextColor.ts
317
317
  function Me(e, t) {
318
318
  return e || t || "#000000";
@@ -337,50 +337,50 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
337
337
  "add-logic-tag"
338
338
  ],
339
339
  setup(e, { emit: n }) {
340
- let i = y(() => import("./AiRewriteMenu-DIISOR6U.js")), a = e, s = b(fe, {}), p = u(() => s.ai?.isFeatureEnabled("rewrite") ?? !1), x = n, S = b(me, null), C = b(ue, null), w = pe(de, "ParagraphToolbar"), T = B(), E = b(ce, null), D = b(le, null), O = b(I, null), k = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: A } = L(), M = w.fonts, P = _e.map((e) => ({
340
+ let i = y(() => import("./AiRewriteMenu-DgqJHnza.js")), a = e, s = b(M, {}), p = u(() => s.ai?.isFeatureEnabled("rewrite") ?? !1), x = n, S = b(P, null), C = b(A, null), w = N(j, "ParagraphToolbar"), T = O(), E = b(ne, null), D = b(k, null), ee = b(F, null), te = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: L } = B(), R = w.fonts, z = _e.map((e) => ({
341
341
  value: e,
342
- label: e === "normal" ? A.paragraphEditor.letterSpacingNormal : e
342
+ label: e === "normal" ? L.paragraphEditor.letterSpacingNormal : e
343
343
  }));
344
- function R(e) {
344
+ function V(e) {
345
345
  a.isEditable !== !1 && a.editor?.chain().focus().insertContent(e).run();
346
346
  }
347
- function z(e) {
347
+ function H(e) {
348
348
  return a.editor?.getAttributes("textStyle")[e] || "";
349
349
  }
350
- function V(e) {
350
+ function U(e) {
351
351
  let t = a.editor?.chain().focus();
352
352
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
353
353
  }
354
- function H(e) {
354
+ function W(e) {
355
355
  let t = a.editor?.chain().focus();
356
356
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
357
357
  }
358
- function U() {
358
+ function G() {
359
359
  return a.editor?.isActive("link") ?? !1;
360
360
  }
361
- function W() {
361
+ function K() {
362
362
  return a.editor?.getAttributes("link").color || "";
363
363
  }
364
- function K(e) {
364
+ function J(e) {
365
365
  if (a.isEditable === !1) return;
366
366
  let t = a.editor?.chain().focus();
367
- t && (U() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
367
+ t && (G() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
368
368
  }
369
- function q() {
370
- let e = O?.content.value.settings;
371
- return U() ? Me(W(), e?.linkColor || e?.textColor) : Me(z("color"), e?.textColor);
369
+ function Y() {
370
+ let e = ee?.content.value.settings;
371
+ return G() ? Me(K(), e?.linkColor || e?.textColor) : Me(H("color"), e?.textColor);
372
372
  }
373
- function J() {
374
- return U() ? W() : z("color");
373
+ function X() {
374
+ return G() ? K() : H("color");
375
375
  }
376
- function Y() {
376
+ function Z() {
377
377
  return a.editor?.getAttributes("paragraph").lineHeight || "";
378
378
  }
379
- function X(e) {
379
+ function Ee(e) {
380
380
  let t = a.editor?.chain().focus();
381
381
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
382
382
  }
383
- function Z(e) {
383
+ function Oe(e) {
384
384
  let t = a.editor?.chain().focus();
385
385
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
386
386
  }
@@ -395,11 +395,11 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
395
395
  return (n, a) => d(T) ? (r(), v(l, {
396
396
  key: 0,
397
397
  to: d(T)
398
- }, [k.value ? f("", !0) : (r(), m("div", {
398
+ }, [te.value ? f("", !0) : (r(), m("div", {
399
399
  key: 0,
400
400
  "data-tpl-theme": d(C),
401
401
  role: "toolbar",
402
- "aria-label": d(A).paragraphEditor.toolbar,
402
+ "aria-label": d(L).paragraphEditor.toolbar,
403
403
  class: "tpl tpl-text-toolbar tpl:absolute tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
404
404
  style: o({
405
405
  ...d(S),
@@ -413,26 +413,26 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
413
413
  inert: e.isEditable === !1,
414
414
  class: "tpl:contents"
415
415
  }, [!e.isLoading && e.editor ? (r(), m(_, { key: 0 }, [g("div", Fe, [
416
- c(G, {
417
- "model-value": d(be)(z("fontFamily")),
418
- options: d(ye)(d(M), z("fontFamily")),
419
- label: d(A).paragraphEditor.fontFamily,
420
- placeholder: d(A).paragraphEditor.defaultFont,
416
+ c(q, {
417
+ "model-value": d(oe)(H("fontFamily")),
418
+ options: d(ae)(d(R), H("fontFamily")),
419
+ label: d(L).paragraphEditor.fontFamily,
420
+ placeholder: d(L).paragraphEditor.defaultFont,
421
421
  "width-class": "tpl:w-32",
422
- "onUpdate:modelValue": V
422
+ "onUpdate:modelValue": U
423
423
  }, null, 8, [
424
424
  "model-value",
425
425
  "options",
426
426
  "label",
427
427
  "placeholder"
428
428
  ]),
429
- c(G, {
430
- "model-value": z("fontSize"),
429
+ c(q, {
430
+ "model-value": H("fontSize"),
431
431
  options: d(he),
432
- label: d(A).paragraphEditor.fontSize,
433
- placeholder: d(A).paragraphEditor.defaultSize,
432
+ label: d(L).paragraphEditor.fontSize,
433
+ placeholder: d(L).paragraphEditor.defaultSize,
434
434
  "width-class": "tpl:w-20",
435
- "onUpdate:modelValue": H
435
+ "onUpdate:modelValue": W
436
436
  }, null, 8, [
437
437
  "model-value",
438
438
  "options",
@@ -440,29 +440,29 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
440
440
  "placeholder"
441
441
  ]),
442
442
  c($),
443
- c(j, {
443
+ c(I, {
444
444
  "swatch-only": "",
445
445
  disabled: e.isEditable === !1,
446
446
  size: "sm",
447
447
  "data-testid": "text-color-picker",
448
- "model-value": J(),
449
- "seed-color": q(),
450
- "aria-label": d(A).paragraphEditor.textColor,
451
- "onUpdate:modelValue": K
448
+ "model-value": X(),
449
+ "seed-color": Y(),
450
+ "aria-label": d(L).paragraphEditor.textColor,
451
+ "onUpdate:modelValue": J
452
452
  }, null, 8, [
453
453
  "disabled",
454
454
  "model-value",
455
455
  "seed-color",
456
456
  "aria-label"
457
457
  ]),
458
- c(j, {
458
+ c(I, {
459
459
  "swatch-only": "",
460
460
  disabled: e.isEditable === !1,
461
461
  size: "sm",
462
462
  "data-testid": "highlight-color-picker",
463
463
  "model-value": ke(),
464
464
  "seed-color": d(ge),
465
- "aria-label": d(A).paragraphEditor.highlightColor,
465
+ "aria-label": d(L).paragraphEditor.highlightColor,
466
466
  "onUpdate:modelValue": Ae
467
467
  }, null, 8, [
468
468
  "disabled",
@@ -472,8 +472,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
472
472
  ]),
473
473
  c($),
474
474
  c(Q, {
475
- icon: d(N),
476
- label: d(A).paragraphEditor.bold,
475
+ icon: d(de),
476
+ label: d(L).paragraphEditor.bold,
477
477
  active: e.editor.isActive("bold"),
478
478
  "stroke-width": 2.5,
479
479
  onClick: a[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
@@ -483,8 +483,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
483
483
  "active"
484
484
  ]),
485
485
  c(Q, {
486
- icon: d(ne),
487
- label: d(A).paragraphEditor.italic,
486
+ icon: d(ue),
487
+ label: d(L).paragraphEditor.italic,
488
488
  active: e.editor.isActive("italic"),
489
489
  onClick: a[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
490
490
  }, null, 8, [
@@ -493,8 +493,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
493
493
  "active"
494
494
  ]),
495
495
  c(Q, {
496
- icon: d(De),
497
- label: d(A).paragraphEditor.underline,
496
+ icon: d(Te),
497
+ label: d(L).paragraphEditor.underline,
498
498
  active: e.editor.isActive("underline"),
499
499
  onClick: a[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
500
500
  }, null, 8, [
@@ -503,8 +503,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
503
503
  "active"
504
504
  ]),
505
505
  c(Q, {
506
- icon: d(we),
507
- label: d(A).paragraphEditor.strikethrough,
506
+ icon: d(Se),
507
+ label: d(L).paragraphEditor.strikethrough,
508
508
  active: e.editor.isActive("strike"),
509
509
  onClick: a[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
510
510
  }, null, 8, [
@@ -514,8 +514,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
514
514
  ]),
515
515
  c($),
516
516
  c(Q, {
517
- icon: d(Ce),
518
- label: d(A).paragraphEditor.subscript,
517
+ icon: d(xe),
518
+ label: d(L).paragraphEditor.subscript,
519
519
  active: e.editor.isActive("subscript"),
520
520
  onClick: a[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
521
521
  }, null, 8, [
@@ -524,8 +524,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
524
524
  "active"
525
525
  ]),
526
526
  c(Q, {
527
- icon: d(Te),
528
- label: d(A).paragraphEditor.superscript,
527
+ icon: d(Ce),
528
+ label: d(L).paragraphEditor.superscript,
529
529
  active: e.editor.isActive("superscript"),
530
530
  onClick: a[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
531
531
  }, null, 8, [
@@ -535,8 +535,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
535
535
  ]),
536
536
  c($),
537
537
  c(Q, {
538
- icon: d(F),
539
- label: d(A).paragraphEditor.addLink,
538
+ icon: d(fe),
539
+ label: d(L).paragraphEditor.addLink,
540
540
  active: e.editor.isActive("link"),
541
541
  onClick: a[6] ||= (e) => x("open-link-dialog")
542
542
  }, null, 8, [
@@ -546,8 +546,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
546
546
  ])
547
547
  ]), g("div", Ie, [
548
548
  c(Q, {
549
- icon: d(re),
550
- label: d(A).paragraphEditor.bulletList,
549
+ icon: d(pe),
550
+ label: d(L).paragraphEditor.bulletList,
551
551
  active: e.editor.isActive("bulletList"),
552
552
  onClick: a[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
553
553
  }, null, 8, [
@@ -556,8 +556,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
556
556
  "active"
557
557
  ]),
558
558
  c(Q, {
559
- icon: d(xe),
560
- label: d(A).paragraphEditor.numberedList,
559
+ icon: d(ye),
560
+ label: d(L).paragraphEditor.numberedList,
561
561
  active: e.editor.isActive("orderedList"),
562
562
  onClick: a[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
563
563
  }, null, 8, [
@@ -567,8 +567,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
567
567
  ]),
568
568
  c($),
569
569
  c(Q, {
570
- icon: d(se),
571
- label: d(A).paragraphEditor.alignLeft,
570
+ icon: d(le),
571
+ label: d(L).paragraphEditor.alignLeft,
572
572
  active: e.editor.isActive({ textAlign: "left" }),
573
573
  onClick: a[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
574
574
  }, null, 8, [
@@ -577,8 +577,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
577
577
  "active"
578
578
  ]),
579
579
  c(Q, {
580
- icon: d(oe),
581
- label: d(A).paragraphEditor.alignCenter,
580
+ icon: d(ce),
581
+ label: d(L).paragraphEditor.alignCenter,
582
582
  active: e.editor.isActive({ textAlign: "center" }),
583
583
  onClick: a[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
584
584
  }, null, 8, [
@@ -587,8 +587,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
587
587
  "active"
588
588
  ]),
589
589
  c(Q, {
590
- icon: d(ae),
591
- label: d(A).paragraphEditor.alignRight,
590
+ icon: d(se),
591
+ label: d(L).paragraphEditor.alignRight,
592
592
  active: e.editor.isActive({ textAlign: "right" }),
593
593
  onClick: a[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
594
594
  }, null, 8, [
@@ -597,8 +597,8 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
597
597
  "active"
598
598
  ]),
599
599
  c(Q, {
600
- icon: d(Ee),
601
- label: d(A).paragraphEditor.alignJustify,
600
+ icon: d(we),
601
+ label: d(L).paragraphEditor.alignJustify,
602
602
  active: e.editor.isActive({ textAlign: "justify" }),
603
603
  onClick: a[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
604
604
  }, null, 8, [
@@ -607,26 +607,26 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
607
607
  "active"
608
608
  ]),
609
609
  c($),
610
- c(G, {
611
- "model-value": Y(),
610
+ c(q, {
611
+ "model-value": Z(),
612
612
  options: d(ve),
613
- label: d(A).paragraphEditor.lineHeight,
614
- placeholder: d(A).paragraphEditor.lineHeightShort,
613
+ label: d(L).paragraphEditor.lineHeight,
614
+ placeholder: d(L).paragraphEditor.lineHeightShort,
615
615
  "width-class": "tpl:w-16",
616
- "onUpdate:modelValue": X
616
+ "onUpdate:modelValue": Ee
617
617
  }, null, 8, [
618
618
  "model-value",
619
619
  "options",
620
620
  "label",
621
621
  "placeholder"
622
622
  ]),
623
- c(G, {
624
- "model-value": z("letterSpacing"),
625
- options: d(P),
626
- label: d(A).paragraphEditor.letterSpacing,
627
- placeholder: d(A).paragraphEditor.letterSpacingShort,
623
+ c(q, {
624
+ "model-value": H("letterSpacing"),
625
+ options: d(z),
626
+ label: d(L).paragraphEditor.letterSpacing,
627
+ placeholder: d(L).paragraphEditor.letterSpacingShort,
628
628
  "width-class": "tpl:w-20",
629
- "onUpdate:modelValue": Z
629
+ "onUpdate:modelValue": Oe
630
630
  }, null, 8, [
631
631
  "model-value",
632
632
  "options",
@@ -635,39 +635,39 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
635
635
  ]),
636
636
  c($),
637
637
  c(Q, {
638
- icon: d(Se),
639
- label: d(A).paragraphEditor.clearFormatting,
638
+ icon: d(be),
639
+ label: d(L).paragraphEditor.clearFormatting,
640
640
  onClick: a[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
641
641
  }, null, 8, ["icon", "label"]),
642
642
  c($),
643
- c(Oe, { onInsert: R }),
643
+ c(De, { onInsert: V }),
644
644
  e.canRequestMergeTag ? (r(), m(_, { key: 0 }, [c($), g("button", {
645
645
  type: "button",
646
646
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
647
- "aria-label": d(A).mergeTag.insert,
648
- title: d(A).mergeTag.insert,
647
+ "aria-label": d(L).mergeTag.insert,
648
+ title: d(L).mergeTag.insert,
649
649
  onClick: a[14] ||= (e) => x("add-merge-tag")
650
- }, [c(d(ee), {
650
+ }, [c(d(re), {
651
651
  size: 16,
652
652
  "stroke-width": 2
653
- }), h(" " + t(d(A).mergeTag.insertShort), 1)], 8, Le)], 64)) : f("", !0),
653
+ }), h(" " + t(d(L).mergeTag.insertShort), 1)], 8, Le)], 64)) : f("", !0),
654
654
  e.canInsertLogicTag ? (r(), m(_, { key: 1 }, [c($), g("button", {
655
655
  type: "button",
656
656
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
657
- "aria-label": d(A).logicTag.insert,
658
- title: d(A).logicTag.insert,
657
+ "aria-label": d(L).logicTag.insert,
658
+ title: d(L).logicTag.insert,
659
659
  "data-testid": "insert-logic-button",
660
660
  onClick: a[15] ||= (e) => x("add-logic-tag")
661
- }, [c(d(te), {
661
+ }, [c(d(ie), {
662
662
  size: 16,
663
663
  "stroke-width": 2
664
- }), h(" " + t(d(A).logicTag.insertShort), 1)], 8, Re)], 64)) : f("", !0),
664
+ }), h(" " + t(d(L).logicTag.insertShort), 1)], 8, Re)], 64)) : f("", !0),
665
665
  p.value ? (r(), m(_, { key: 2 }, [c($), c(d(i), { editor: e.editor }, null, 8, ["editor"])], 64)) : f("", !0)
666
- ])], 64)) : (r(), m("div", ze, [c(d(ie), {
666
+ ])], 64)) : (r(), m("div", ze, [c(d(me), {
667
667
  class: "tpl-spinner",
668
668
  size: 14,
669
669
  "stroke-width": 2
670
- }), h(" " + t(d(A).errors.editorLoading), 1)]))], 8, Pe)], 12, Ne))], 8, ["to"])) : f("", !0);
670
+ }), h(" " + t(d(L).errors.editorLoading), 1)]))], 8, Pe)], 12, Ne))], 8, ["to"])) : f("", !0);
671
671
  }
672
672
  }), Ve = { class: "tpl-text-editor-wrapper tpl:relative" }, He = /*@__PURE__*/ x({
673
673
  __name: "ParagraphEditor",
@@ -677,25 +677,25 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
677
677
  },
678
678
  emits: ["done"],
679
679
  setup(e, { emit: t }) {
680
- let n = e, i = t, a = B(), o = b(I, null), l = o?.content ? R(o) : null, f = u(() => w(l?.settings.value ?? { locale: "en" }) === "rtl" ? "right" : "left"), { editor: p, EditorContent: h, isLoading: g, isEditable: _, initError: v, retry: y, showLinkDialog: x, linkUrl: S, linkColor: C, linkDialogRef: T, canRequestMergeTag: E, canInsertLogicTag: O, openLinkDialog: k, insertLink: j, removeLink: ee, closeLinkDialog: te, handleLinkKeydown: ne, handleAddMergeTag: N, handleAddLogicTag: F } = A({
680
+ let n = e, i = t, a = O(), o = b(F, null), l = o?.content ? te(o) : null, f = u(() => ee(l?.settings.value ?? { locale: "en" }) === "rtl" ? "right" : "left"), { editor: p, EditorContent: h, isLoading: g, isEditable: _, initError: v, retry: y, showLinkDialog: x, linkUrl: S, linkColor: C, linkDialogRef: T, canRequestMergeTag: E, canInsertLogicTag: ne, openLinkDialog: k, insertLink: A, removeLink: j, closeLinkDialog: M, handleLinkKeydown: N, handleAddMergeTag: P, handleAddLogicTag: I } = D({
681
681
  blockId: () => n.block.id,
682
682
  blockContent: () => n.block.content,
683
683
  onDone: () => i("done"),
684
684
  editorName: "ParagraphEditor",
685
685
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
686
- let [{ Editor: o, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
687
- import("./dist-fqSers8_.js").then((e) => e.r),
688
- import("./dist-D_XrUEET.js"),
689
- import("./dist-TAv500j6.js"),
690
- import("./dist-B9a7iVye.js"),
691
- import("./dist-DZ3X-uB8.js"),
692
- import("./dist-54VCNoC0.js"),
693
- import("./dist-ChOb5XHW.js"),
694
- import("./dist-B8dY8drK.js"),
695
- import("./dist-CcOn7WCo.js"),
696
- import("./dist-6DU0me3E.js"),
697
- import("./dist-C3hu_C3w.js"),
698
- import("./extensions-Cm6K4SRX.js")
686
+ let [{ Editor: o, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: T, LineBoundaryKeys: E }] = await Promise.all([
687
+ import("./dist-CCLRTtJP.js").then((e) => e.r),
688
+ import("./dist-CsknfjrZ.js"),
689
+ import("./dist-DDytHU_6.js"),
690
+ import("./dist-Dq9VnANT.js"),
691
+ import("./dist-ZrT0vAB6.js"),
692
+ import("./dist-BsumKKh9.js"),
693
+ import("./dist-0GWMyHtM.js"),
694
+ import("./dist-BjzK1g4Z.js"),
695
+ import("./dist-DKV9m4Uu.js"),
696
+ import("./dist-B_0FPmoy.js"),
697
+ import("./dist-Cr1CLCmx.js"),
698
+ import("./extensions-DKxHlSd7.js")
699
699
  ]);
700
700
  return {
701
701
  TiptapEditor: o,
@@ -712,7 +712,7 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
712
712
  u,
713
713
  d,
714
714
  p,
715
- D(l).configure({
715
+ w(l).configure({
716
716
  openOnClick: !1,
717
717
  HTMLAttributes: {
718
718
  target: "_blank",
@@ -744,13 +744,13 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
744
744
  v.configure({ multicolor: !0 }),
745
745
  S,
746
746
  C,
747
- w,
747
+ T,
748
748
  y.configure({
749
749
  mergeTags: () => e.value,
750
750
  syntax: t
751
751
  }),
752
752
  x.configure({ syntax: t }),
753
- T,
753
+ E,
754
754
  ...r && n && e.value.length > 0 ? [b.configure({
755
755
  mergeTags: () => e.value,
756
756
  char: n,
@@ -768,10 +768,10 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
768
768
  "is-loading": d(g),
769
769
  "is-editable": d(_),
770
770
  "can-request-merge-tag": d(E),
771
- "can-insert-logic-tag": d(O),
771
+ "can-insert-logic-tag": d(ne),
772
772
  onOpenLinkDialog: d(k),
773
- onAddMergeTag: d(N),
774
- onAddLogicTag: d(F)
773
+ onAddMergeTag: d(P),
774
+ onAddLogicTag: d(I)
775
775
  }, null, 8, [
776
776
  "editor",
777
777
  "toolbar-position",
@@ -783,7 +783,7 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
783
783
  "onAddMergeTag",
784
784
  "onAddLogicTag"
785
785
  ]),
786
- c(P, {
786
+ c(H, {
787
787
  editor: d(p),
788
788
  "editor-content": d(h),
789
789
  "is-loading": d(g),
@@ -796,7 +796,7 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
796
796
  "init-error",
797
797
  "onRetry"
798
798
  ]),
799
- c(M, {
799
+ c(V, {
800
800
  visible: d(x),
801
801
  "is-editing-link": d(p)?.isActive("link") ?? !1,
802
802
  "dialog-ref": d(T),
@@ -805,10 +805,10 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
805
805
  "onUpdate:linkUrl": n[1] ||= (e) => s(S) ? S.value = e : null,
806
806
  "link-color": d(C),
807
807
  "onUpdate:linkColor": n[2] ||= (e) => s(C) ? C.value = e : null,
808
- onClose: d(te),
809
- onInsert: d(j),
810
- onRemove: d(ee),
811
- onKeydown: d(ne)
808
+ onClose: d(M),
809
+ onInsert: d(A),
810
+ onRemove: d(j),
811
+ onKeydown: d(N)
812
812
  }, null, 8, [
813
813
  "visible",
814
814
  "is-editing-link",
@@ -823,4 +823,4 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
823
823
  ]));
824
824
  }
825
825
  }), Ue = /* @__PURE__ */ e({ default: () => We }), We = He;
826
- export { We as default, G as n, Ue as t };
826
+ export { We as default, q as n, Ue as t };