@templatical/editor 0.51.1 → 0.52.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 (380) hide show
  1. package/THIRD_PARTY_NOTICES.md +208 -0
  2. package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-DawbUywc.js} +16 -17
  3. package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-9ySsXOTU.js} +25 -26
  4. package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-CupPhmsN.js} +141 -143
  5. package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-DqT4PgQ0.js} +6 -8
  6. package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-28agTycW.js} +66 -67
  7. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  8. package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-B-4bmJ3t.js} +26 -27
  9. package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-QI82yF54.js} +4 -5
  10. package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BKJaLkUN.js} +52 -53
  11. package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-CTw4JThq.js} +12 -13
  12. package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-CXQqN3VP.js} +16 -17
  13. package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-DwwFuh1h.js} +3 -5
  14. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  15. package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-CU2yTWtF.js} +21 -22
  16. package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-BqoYzf_6.js} +55 -56
  17. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  18. package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DM4g6j7b.js} +3 -4
  19. package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CfscnwCn.js} +243 -250
  20. package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-Dy08GEwE.js} +449 -452
  21. package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BgEp7iCp.js} +3 -5
  22. package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-B9dtUthD.js} +14 -15
  23. package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DxujhYJ4.js} +30 -31
  24. package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-CPFEjJZd.js} +12 -13
  25. package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-CWXfurGh.js} +233 -236
  26. package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-C4s_JYCx.js} +16 -17
  27. package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-o6HmE8GR.js} +40 -40
  28. package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-CWLrly6l.js} +58 -59
  29. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  30. package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-BE1N9rNZ.js} +7 -9
  31. package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-Dwl94xhP.js} +14 -15
  32. package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-CS0f1Ues.js} +75 -76
  33. package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-DBD0X5nV.js} +54 -56
  34. package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-DaFjP9QK.js} +3 -5
  35. package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-DSqtle77.js} +78 -79
  36. package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-JykPyD_8.js} +5 -6
  37. package/dist/{Toolbar-CZSPZYbj.js → Toolbar-BZPFfKrf.js} +977 -985
  38. package/dist/{TplModal-DCzBzicE.js → TplModal-DLMssVlt.js} +16 -17
  39. package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BkbYUs0Q.js} +37 -38
  40. package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-DP7HaYWv.js} +5 -7
  41. package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-DECaBwLq.js} +11 -12
  42. package/dist/WrapperBlock-BsJv_Fiw.js +44 -0
  43. package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  44. package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
  45. package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
  46. package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
  47. package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-BHjlPnPf.js} +23 -23
  48. package/dist/bundle-stats.json +6 -6
  49. package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
  50. package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
  51. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-SEEjkd-I.js} +24 -25
  52. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BGLLSKLm.js} +43 -44
  54. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  55. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DKDAaBNi.js} +129 -131
  56. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  57. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-0wBarZSH.js} +5 -7
  58. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  59. package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-qf-cfEpy.js} +52 -53
  60. package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +1 -0
  61. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  62. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  63. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-DGBh6mqe.js} +22 -23
  64. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  65. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-BMNK_F9p.js} +4 -5
  66. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  67. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-JMWIoVWh.js} +34 -35
  68. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  69. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Bsf1rGW9.js} +13 -14
  70. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  71. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-CXByAoUz.js} +16 -17
  72. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  73. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-DoJnKLXI.js} +4 -6
  74. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  75. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-CUtgvdBC.js} +110 -110
  76. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  77. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-BqRw147R.js} +19 -20
  78. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  79. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-xobieKoU.js} +28 -29
  80. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  81. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-C7LfxaAY.js} +76 -77
  82. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  83. package/dist/cdn/chunks/LoadingTrack-CZuLTazv.js +11 -0
  84. package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-BIi05UQu.js} +258 -265
  86. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-Cpcod6_U.js} +152 -155
  88. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-BIdcW_1f.js} +4 -6
  90. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-BvWg8o5E.js} +35 -36
  92. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BgKEVUtV.js} +28 -29
  94. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-tBz8McZf.js} +33 -34
  96. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-B3Rj_cWF.js} +197 -200
  98. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  99. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-CjOdD2xj.js} +21 -22
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  101. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DNjR_sNN.js} +30 -31
  102. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-CUhpawq0.js} +77 -78
  104. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  105. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C6--Bc81.js} +4 -6
  108. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-DUavxpbU.js} +16 -17
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-CKtI-dof.js} +72 -73
  112. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-CDQTgESD.js} +68 -70
  114. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-CcUpEpAn.js} +4 -6
  116. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-Cob7RLyK.js} +71 -72
  118. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  119. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-J7Vwhvha.js} +6 -7
  120. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CdpsvNOR.js} +977 -985
  122. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  123. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  124. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-BYlLRvRJ.js} +34 -35
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-C6SOVoiT.js} +4 -6
  128. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-Dvg0ZfAW.js} +12 -13
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-C7Md56IT.js} +14 -15
  132. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  133. package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  134. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
  135. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
  136. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
  137. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
  138. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
  139. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
  140. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  141. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  142. package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
  143. package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
  144. package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
  145. package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
  146. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-Cth2JCEh.js} +58 -77
  147. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  148. package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
  149. package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
  150. package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
  151. package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
  152. package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
  153. package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
  154. package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-8ym3y-pH.js} +44 -45
  155. package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-8ym3y-pH.js.map} +1 -1
  156. package/dist/{dist-DI4_YSnG.js → cdn/chunks/dist-BMzNabtD.js} +107 -109
  157. package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-BMzNabtD.js.map} +1 -1
  158. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
  159. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
  160. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-Du8AUMFT.js} +654 -654
  161. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  162. package/dist/{editor-modal-Bzhl-PgI.js → cdn/chunks/editor-modal-CyCe560f.js} +893 -979
  163. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-CyCe560f.js.map} +1 -1
  164. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
  165. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
  166. package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
  167. package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
  168. package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
  169. package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
  170. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  171. package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
  172. package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
  173. package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
  174. package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
  175. package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-CFF2KWy-.js} +60 -65
  176. package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-CFF2KWy-.js.map} +1 -1
  177. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
  178. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
  179. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
  180. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
  181. package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
  182. package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
  183. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
  184. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
  185. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
  186. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
  187. package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-okSPsLOa.js} +111 -114
  188. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  189. package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
  190. package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
  191. package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
  192. package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
  193. package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-CUj6UA38.js} +3 -4
  194. package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-CUj6UA38.js.map} +1 -1
  195. package/dist/{liquid.browser-Ct2-EezB.js → cdn/chunks/liquid.browser-rubac0VA.js} +993 -937
  196. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  197. package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
  198. package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
  199. package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
  200. package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
  201. package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
  202. package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
  203. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-C_KlfSW4.js} +3 -4
  204. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  205. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-BcXIz7oJ.js} +6 -7
  206. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  207. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
  208. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
  209. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
  210. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
  211. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
  212. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
  213. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
  214. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
  215. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
  216. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
  217. package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
  218. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +72 -0
  219. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +1 -0
  220. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-jsTDmkbb.js} +608 -632
  221. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  222. package/dist/cdn/chunks/src-C7bkofBL.js +647 -0
  223. package/dist/cdn/chunks/src-C7bkofBL.js.map +1 -0
  224. package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-DEd87i_U.js} +502 -537
  225. package/dist/cdn/chunks/src-DEd87i_U.js.map +1 -0
  226. package/dist/cdn/chunks/{src-BNFnxfrA.js → src-DwWrYnUj.js} +188 -171
  227. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  228. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
  229. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
  230. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
  231. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
  232. package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-CbiTlECY.js} +3402 -3278
  233. package/dist/cdn/chunks/tiptap-CbiTlECY.js.map +1 -0
  234. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-DY8_-ETE.js} +4 -5
  235. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  236. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  237. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  238. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  239. package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  240. package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-D8pY4LTq.js} +4 -5
  241. package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  242. package/dist/{useLogicTag-DKLZ1T9H.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +6 -5
  243. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  244. package/dist/{useMergeTag-Bhdx7AKk.js → cdn/chunks/useMergeTag-B-aG--s1.js} +8 -7
  245. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  246. package/dist/{usePopoverPosition-BZea45XK.js → cdn/chunks/usePopoverPosition-DSMtmu2W.js} +8 -10
  247. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  248. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-vjQ0fe-L.js} +5 -7
  249. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  250. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-hZTvYBHO.js} +3 -4
  251. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  252. package/dist/cdn/editor.css +1 -1
  253. package/dist/cdn/editor.js +1433 -1454
  254. package/dist/cdn/editor.js.map +1 -1
  255. package/dist/{check-yYsp5Xpk.js → check-BZ8o0eet.js} +1 -2
  256. package/dist/{chevron-down-DTmD06_j.js → chevron-down-DfAAfILv.js} +1 -2
  257. package/dist/{chevron-right-BSeYZOxc.js → chevron-right-Bk4mGdr7.js} +1 -2
  258. package/dist/{chevron-up-BOApwrxi.js → chevron-up-MhUf_azW.js} +1 -2
  259. package/dist/{circle-alert-BMszY8im.js → circle-alert-CShJwVFv.js} +1 -2
  260. package/dist/{clock-HADxnl6-.js → clock-CTfD6OCt.js} +1 -2
  261. package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-DCgO4A1r.js} +31 -37
  262. package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-CvhTA2KG.js} +6 -11
  263. package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
  264. package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
  265. package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
  266. package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
  267. package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
  268. package/dist/{cdn/chunks/dist-S-rLGqax.js → dist-ByCWA2Tv.js} +101 -101
  269. package/dist/{dist-DtOF3bDW.js → dist-CKi_npZM.js} +378 -343
  270. package/dist/{dist-C7EtxNCb.js → dist-CVy-7PHQ.js} +55 -56
  271. package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
  272. package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
  273. package/dist/{dist-C_dV9QAx.js → dist-D6cMdrfG.js} +133 -133
  274. package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
  275. package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
  276. package/dist/dist-DyFArF_G.js +4 -0
  277. package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
  278. package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
  279. package/dist/dist-pA3ooG6N.js +4 -0
  280. package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
  281. package/dist/{cdn/chunks/editor-modal-CI6EfeMd.js → editor-modal-zaZHcmlO.js} +915 -859
  282. package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
  283. package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
  284. package/dist/en-Db76vJbY.js +1 -0
  285. package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
  286. package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
  287. package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
  288. package/dist/{extensions-CdyweA50.js → extensions-fo_c-vqf.js} +82 -91
  289. package/dist/{eye-DWkSvYpj.js → eye-7W4t5e0Q.js} +1 -2
  290. package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
  291. package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
  292. package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
  293. package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
  294. package/dist/{image-DesWjcZ4.js → image-BDiRFzSd.js} +1 -2
  295. package/dist/index.d.ts +6 -6
  296. package/dist/{info-ClWJGoZy.js → info-Cxi3-Kh9.js} +1 -2
  297. package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
  298. package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
  299. package/dist/{keys-Zd9KWRD1.js → keys-BgRERHzu.js} +2 -3
  300. package/dist/{link-BqRicFTA.js → link-ju_2Cmir.js} +1 -2
  301. package/dist/{cdn/chunks/liquid.browser-Bbt17cVz.js → liquid.browser-DUXEekoN.js} +991 -939
  302. package/dist/{list-bojQr9bn.js → list-DYZJf0aZ.js} +1 -2
  303. package/dist/{loader-circle-B2B8LbUu.js → loader-circle-BZRD0a4I.js} +1 -2
  304. package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
  305. package/dist/{message-circle-BEuiNsyZ.js → message-circle-DuEw4Zfx.js} +1 -2
  306. package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
  307. package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
  308. package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-CELnOlgK.js} +30 -31
  309. package/dist/{package-DCROB4aM.js → package-CePMr2kK.js} +1 -2
  310. package/dist/{pencil-CEotCKbf.js → pencil-D3aFCL7c.js} +1 -2
  311. package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks--_xc0XK3.js} +4 -5
  312. package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
  313. package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
  314. package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
  315. package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
  316. package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-xnro7_Sk.js} +1 -2
  317. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  318. package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-BURR-bj5.js} +121 -122
  319. package/dist/sanitizeHtml-BzfzpYJY.js +942 -0
  320. package/dist/{search-Cy99zPYf.js → search-CDrstRBv.js} +1 -2
  321. package/dist/{send-BDLJFsf3.js → send-DROkPOaX.js} +1 -2
  322. package/dist/{smartphone-CVvQaNA4.js → smartphone-Bx6u_tjn.js} +1 -2
  323. package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-D7MGsg0d.js} +553 -564
  324. package/dist/{sparkles-Ce0Qz0ox.js → sparkles-CdaTtvoz.js} +1 -2
  325. package/dist/{square-BWlolnXe.js → square-BbCROH_f.js} +1 -2
  326. package/dist/style.css +1 -1
  327. package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
  328. package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
  329. package/dist/templatical-editor.js +1231 -1251
  330. package/dist/{text-align-start-D1V5gPTy.js → text-align-start-CGacJ9Vw.js} +1 -2
  331. package/dist/{trash-CZfiUFmw.js → trash-DxCd7zIy.js} +1 -2
  332. package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-7_oaitpf.js} +1 -2
  333. package/dist/{upload-BJfvdIrD.js → upload-DuFEOi_0.js} +1 -2
  334. package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DEMmUKuO.js} +3 -4
  335. package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-BSo2sSID.js} +1568 -1573
  336. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  337. package/dist/{useI18n-BdoY7xDE.js → useI18n-BBrHTdu8.js} +3 -4
  338. package/dist/{cdn/chunks/useLogicTag-B49Nc53Y.js → useLogicTag-ZPC39rfH.js} +4 -7
  339. package/dist/{cdn/chunks/useMergeTag-B0KryMj8.js → useMergeTag-BQ4qqWpQ.js} +6 -9
  340. package/dist/{cdn/chunks/usePopoverPosition-C829ps5i.js → usePopoverPosition-DV1PxL66.js} +6 -12
  341. package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-BSyAV4pk.js} +4 -6
  342. package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CnEeTfhs.js} +1001 -1002
  343. package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-B22FXAF5.js} +2 -3
  344. package/dist/{x-CZ0Js0hA.js → x-BpfG7v9g.js} +1 -2
  345. package/package.json +26 -24
  346. package/dist/BlockIssueBadge-CKwZ1Vgn.js +0 -34
  347. package/dist/CommentsSidebar-Ca3DyFOX.js +0 -500
  348. package/dist/IssuesPanel-C8nMUccy.js +0 -360
  349. package/dist/SavedBlocksBrowserModal-wnkvxpm_.js +0 -360
  350. package/dist/WrapperBlock-BO619LAb.js +0 -45
  351. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
  352. package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js +0 -35
  353. package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js.map +0 -1
  354. package/dist/cdn/chunks/CommentsSidebar-CCvplq1Z.js.map +0 -1
  355. package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
  356. package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js.map +0 -1
  357. package/dist/cdn/chunks/SavedBlocksBrowserModal-DtOz_X5S.js +0 -357
  358. package/dist/cdn/chunks/TitleEditor-Ccv6uoTz.js.map +0 -1
  359. package/dist/cdn/chunks/TplModal-BXQzmsJX.js +0 -52
  360. package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js +0 -22
  361. package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js.map +0 -1
  362. package/dist/cdn/chunks/draggable-DZ0gwUJ6.js.map +0 -1
  363. package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
  364. package/dist/cdn/chunks/icons-DNX6StSs.js.map +0 -1
  365. package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
  366. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
  367. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
  368. package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
  369. package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
  370. package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
  371. package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
  372. package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
  373. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js +0 -2586
  374. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
  375. package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
  376. package/dist/dist-BPFcLKTw.js +0 -5
  377. package/dist/dist-D7Yj7E-F.js +0 -5
  378. package/dist/en-DwV15ltA.js +0 -1
  379. package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
  380. package/dist/useEditorRoot-DUy67lJu.js +0 -8
@@ -1,22 +1,22 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, I as r, Mt as i, N as a, Q as o, _ as s, a as c, c as l, d as u, f as d, g as f, j as p, jt as m, l as h, ot as g, q as _, r as v, u as y, v as b, y as x } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
3
- import { c as S, s as C } from "./runtime-dom.esm-bundler-B8WCZWUm.js";
4
- import { ft as w } from "./dist-DtOF3bDW.js";
5
- import { t as T } from "./dist-DI4_YSnG.js";
6
- import { C as E, S as D, b as O, y as k } from "./useEditorCore-BTLeAVlM.js";
7
- import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-Zd9KWRD1.js";
8
- import { t as N } from "./useI18n-BdoY7xDE.js";
9
- import { n as P } from "./usePopoverPosition-BZea45XK.js";
10
- import { t as F } from "./createLucideIcon-0lYYH3EW.js";
11
- import { i as ae, n as I, r as oe, t as L } from "./RichTextEditorContent-AOM6fylS.js";
12
- import { c as R, l as se, u as ce } from "./LogicTagInsertButton-CqfU52CO.js";
13
- import { t as le } from "./link-BqRicFTA.js";
14
- import { t as ue } from "./loader-circle-B2B8LbUu.js";
15
- import { t as de } from "./list-bojQr9bn.js";
16
- import { n as fe, r as pe, t as me } from "./text-align-start-D1V5gPTy.js";
17
- import { t as z } from "./_plugin-vue_export-helper-B3ysoDQm.js";
18
- import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-v1dNKgJf.js";
19
- import { n as ye, t as be } from "./withCurrentFont-BATJHNve.js";
1
+ import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
+ import { $ as t, C as n, I as r, J as i, Mt as a, N as o, Nt as s, _ as c, a as l, c as u, d, f, g as p, j as m, jt as h, l as g, r as _, st as v, u as y, v as b, y as x } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
3
+ import { c as S, s as C } from "./runtime-dom.esm-bundler-BURR-bj5.js";
4
+ import { gt as w } from "./dist-CKi_npZM.js";
5
+ import { t as T } from "./dist-ByCWA2Tv.js";
6
+ import { C as E, S as D, b as O, y as k } from "./useEditorCore-BSo2sSID.js";
7
+ import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-BgRERHzu.js";
8
+ import { t as N } from "./useI18n-BBrHTdu8.js";
9
+ import { n as P } from "./usePopoverPosition-DV1PxL66.js";
10
+ import { t as F } from "./createLucideIcon-CvhTA2KG.js";
11
+ import { c as I, l as ae, u as oe } from "./LogicTagInsertButton-CfscnwCn.js";
12
+ import { i as se, n as L, r as ce, t as R } from "./RichTextEditorContent-o6HmE8GR.js";
13
+ import { t as le } from "./link-ju_2Cmir.js";
14
+ import { t as ue } from "./list-DYZJf0aZ.js";
15
+ import { t as de } from "./loader-circle-BZRD0a4I.js";
16
+ import { n as fe, r as pe, t as me } from "./text-align-start-CGacJ9Vw.js";
17
+ import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
+ import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-B8xVRiwX.js";
19
+ import { n as ye, t as be } from "./withCurrentFont-B22FXAF5.js";
20
20
  var B = F({
21
21
  name: "face-slightly-smiling",
22
22
  size: 24,
@@ -96,23 +96,6 @@ var B = F({
96
96
  }]
97
97
  ]
98
98
  }), Ce = F({
99
- name: "subscript",
100
- size: 24,
101
- node: [
102
- ["path", {
103
- d: "m4 5 8 8",
104
- key: "1eunvl"
105
- }],
106
- ["path", {
107
- d: "m12 5-8 8",
108
- key: "1ah0jp"
109
- }],
110
- ["path", {
111
- d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
112
- key: "e8ta8j"
113
- }]
114
- ]
115
- }), we = F({
116
99
  name: "strikethrough",
117
100
  size: 24,
118
101
  node: [
@@ -132,6 +115,23 @@ var B = F({
132
115
  key: "1e0a9i"
133
116
  }]
134
117
  ]
118
+ }), we = F({
119
+ name: "subscript",
120
+ size: 24,
121
+ node: [
122
+ ["path", {
123
+ d: "m4 5 8 8",
124
+ key: "1eunvl"
125
+ }],
126
+ ["path", {
127
+ d: "m12 5-8 8",
128
+ key: "1ah0jp"
129
+ }],
130
+ ["path", {
131
+ d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
132
+ key: "e8ta8j"
133
+ }]
134
+ ]
135
135
  }), Te = F({
136
136
  name: "superscript",
137
137
  size: 24,
@@ -194,37 +194,37 @@ var B = F({
194
194
  widthClass: {}
195
195
  },
196
196
  emits: ["update:modelValue"],
197
- setup(e, { emit: n }) {
198
- let r = e, o = n;
199
- function s(e) {
200
- o("update:modelValue", e.target.value);
197
+ setup(e, { emit: t }) {
198
+ let n = e, r = t;
199
+ function i(e) {
200
+ r("update:modelValue", e.target.value);
201
201
  }
202
- function c(e) {
202
+ function a(e) {
203
203
  return typeof e == "string" ? e : e.value;
204
204
  }
205
- function u(e) {
205
+ function c(e) {
206
206
  return typeof e == "string" ? e : e.label;
207
207
  }
208
- let f = /* @__PURE__ */ new Set([
208
+ let l = /* @__PURE__ */ new Set([
209
209
  "inherit",
210
210
  "initial",
211
211
  "unset",
212
212
  "revert",
213
213
  "revert-layer"
214
- ]), m = l(() => f.has(r.modelValue) ? "" : r.modelValue), g = l(() => {
215
- let e = m.value;
216
- return e === "" || r.options.some((t) => c(t) === e) ? r.options : [e, ...r.options];
214
+ ]), d = u(() => l.has(n.modelValue) ? "" : n.modelValue), p = u(() => {
215
+ let e = d.value;
216
+ return e === "" || n.options.some((t) => a(t) === e) ? n.options : [e, ...n.options];
217
217
  });
218
- return (n, r) => (p(), d("select", {
219
- class: t(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
220
- value: m.value,
218
+ return (t, n) => (m(), f("select", {
219
+ class: h(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
220
+ value: d.value,
221
221
  "aria-label": e.label,
222
222
  title: e.label,
223
- onChange: s
224
- }, [h("option", H, i(e.placeholder ?? ""), 1), (p(!0), d(v, null, a(g.value, (e) => (p(), d("option", {
225
- key: c(e),
226
- value: c(e)
227
- }, i(u(e)), 9, U))), 128))], 42, V));
223
+ onChange: i
224
+ }, [g("option", H, s(e.placeholder ?? ""), 1), (m(!0), f(_, null, o(p.value, (e) => (m(), f("option", {
225
+ key: a(e),
226
+ value: a(e)
227
+ }, s(c(e)), 9, U))), 128))], 42, V));
228
228
  }
229
229
  }), G = [
230
230
  "aria-label",
@@ -234,50 +234,50 @@ var B = F({
234
234
  __name: "EmojiPickerDropdown",
235
235
  emits: ["insert"],
236
236
  setup(e, { emit: n }) {
237
- let r = n, { categories: c, isOpen: f, toggle: m, close: _ } = D(), { t: y, format: b } = N(), x = o(null), w = o(null), O = l(() => f.value);
237
+ let r = n, { categories: i, isOpen: a, toggle: l, close: p } = D(), { t: y, format: b } = N(), x = t(null), w = t(null), O = u(() => a.value);
238
238
  E(x, O), T(w, () => {
239
- f.value && _();
239
+ a.value && p();
240
240
  });
241
241
  function k(e) {
242
- r("insert", e), _();
242
+ r("insert", e), p();
243
243
  }
244
- return (e, n) => (p(), d("div", {
244
+ return (e, t) => (m(), f("div", {
245
245
  ref_key: "rootRef",
246
246
  ref: w,
247
247
  class: "tpl:relative"
248
- }, [h("button", {
248
+ }, [g("button", {
249
249
  type: "button",
250
- class: t(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": g(f) }]),
251
- "aria-label": g(y).paragraphEditor.insertEmoji,
252
- title: g(y).paragraphEditor.insertEmoji,
253
- "aria-expanded": g(f),
250
+ class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(a) }]),
251
+ "aria-label": v(y).paragraphEditor.insertEmoji,
252
+ title: v(y).paragraphEditor.insertEmoji,
253
+ "aria-expanded": v(a),
254
254
  "aria-haspopup": "dialog",
255
255
  "aria-controls": "tpl-emoji-picker",
256
- onClick: n[0] ||= (...e) => g(m) && g(m)(...e)
257
- }, [s(g(B), {
256
+ onClick: t[0] ||= (...e) => v(l) && v(l)(...e)
257
+ }, [c(v(B), {
258
258
  size: 16,
259
259
  "stroke-width": 2
260
- })], 10, G), g(f) ? (p(), d("div", {
260
+ })], 10, G), v(a) ? (m(), f("div", {
261
261
  key: 0,
262
262
  id: "tpl-emoji-picker",
263
263
  ref_key: "pickerRef",
264
264
  ref: x,
265
265
  role: "dialog",
266
266
  "aria-modal": "false",
267
- "aria-label": g(y).paragraphEditor.insertEmoji,
267
+ "aria-label": v(y).paragraphEditor.insertEmoji,
268
268
  tabindex: "-1",
269
269
  class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-[var(--tpl-shadow-lg)]",
270
- onKeydown: n[1] ||= C(S((...e) => g(_) && g(_)(...e), ["stop", "prevent"]), ["esc"])
271
- }, [(p(!0), d(v, null, a(g(c), (e) => (p(), d("div", {
270
+ onKeydown: t[1] ||= C(S((...e) => v(p) && v(p)(...e), ["stop", "prevent"]), ["esc"])
271
+ }, [(m(!0), f(_, null, o(v(i), (e) => (m(), f("div", {
272
272
  key: e.key,
273
273
  class: "tpl:mb-2 tpl:last:mb-0"
274
- }, [h("div", q, i(g(y).emoji[e.key]), 1), h("div", J, [(p(!0), d(v, null, a(e.emojis, (e) => (p(), d("button", {
274
+ }, [g("div", q, s(v(y).emoji[e.key]), 1), g("div", J, [(m(!0), f(_, null, o(e.emojis, (e) => (m(), f("button", {
275
275
  key: e,
276
276
  type: "button",
277
- "aria-label": g(b)(g(y).paragraphEditor.emojiItemLabel, { emoji: e }),
277
+ "aria-label": v(b)(v(y).paragraphEditor.emojiItemLabel, { emoji: e }),
278
278
  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)]",
279
279
  onClick: (t) => k(e)
280
- }, i(e), 9, Y))), 128))])]))), 128))], 40, K)) : u("", !0)], 512));
280
+ }, s(e), 9, Y))), 128))])]))), 128))], 40, K)) : d("", !0)], 512));
281
281
  }
282
282
  }), X = [
283
283
  "aria-label",
@@ -293,13 +293,13 @@ var B = F({
293
293
  size: {}
294
294
  },
295
295
  setup(e) {
296
- return (n, i) => (p(), d("button", {
296
+ return (t, n) => (m(), f("button", {
297
297
  type: "button",
298
- class: t(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
298
+ class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
299
299
  "aria-label": e.label,
300
300
  title: e.label,
301
301
  "aria-pressed": e.active ? "true" : "false"
302
- }, [(p(), y(r(e.icon), {
302
+ }, [(m(), y(r(e.icon), {
303
303
  size: e.size ?? 16,
304
304
  "stroke-width": e.strokeWidth ?? 2
305
305
  }, null, 8, ["size", "stroke-width"]))], 10, X));
@@ -309,16 +309,14 @@ var B = F({
309
309
  "aria-hidden": "true"
310
310
  };
311
311
  function Ae(e, t) {
312
- return p(), d("span", ke);
312
+ return m(), f("span", ke);
313
313
  }
314
314
  var $ = /*#__PURE__*/ z(Q, [["render", Ae]]);
315
- //#endregion
316
- //#region src/utils/richTextColor.ts
315
+ // src/utils/richTextColor.ts
317
316
  function je(e, t) {
318
317
  return e || t || "#000000";
319
318
  }
320
- //#endregion
321
- //#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
319
+ // src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
322
320
  var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Pe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Fe = ["aria-label", "title"], Ie = ["aria-label", "title"], Le = {
323
321
  key: 1,
324
322
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
@@ -337,32 +335,32 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
337
335
  "add-logic-tag"
338
336
  ],
339
337
  setup(e, { emit: t }) {
340
- let r = b(() => import("./AiRewriteMenu-C3ZfDDYy.js")), a = e, o = n(re, {}), _ = l(() => o.ai?.isFeatureEnabled("rewrite") ?? !1), x = t, S = n(te, null), C = n(ne, null), w = A(ie, "ParagraphToolbar"), T = P(), E = n(j, null), D = n(ee, null), O = n(M, null), k = l(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: F } = N(), I = w.fonts, L = _e.map((e) => ({
338
+ let r = b(() => import("./AiRewriteMenu-28agTycW.js")), i = e, o = n(re, {}), h = u(() => o.ai?.isFeatureEnabled("rewrite") ?? !1), x = t, S = n(te, null), C = n(ne, null), w = A(ie, "ParagraphToolbar"), T = P(), E = n(j, null), D = n(ee, null), O = n(M, null), k = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: F } = N(), L = w.fonts, R = _e.map((e) => ({
341
339
  value: e,
342
340
  label: e === "normal" ? F.paragraphEditor.letterSpacingNormal : e
343
341
  }));
344
342
  function z(e) {
345
- a.editor?.chain().focus().insertContent(e).run();
343
+ i.editor?.chain().focus().insertContent(e).run();
346
344
  }
347
345
  function B(e) {
348
- return a.editor?.getAttributes("textStyle")[e] || "";
346
+ return i.editor?.getAttributes("textStyle")[e] || "";
349
347
  }
350
348
  function V(e) {
351
- let t = a.editor?.chain().focus();
349
+ let t = i.editor?.chain().focus();
352
350
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
353
351
  }
354
352
  function H(e) {
355
- let t = a.editor?.chain().focus();
353
+ let t = i.editor?.chain().focus();
356
354
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
357
355
  }
358
356
  function U() {
359
- return a.editor?.isActive("link") ?? !1;
357
+ return i.editor?.isActive("link") ?? !1;
360
358
  }
361
359
  function G() {
362
- return a.editor?.getAttributes("link").color || "";
360
+ return i.editor?.getAttributes("link").color || "";
363
361
  }
364
362
  function K(e) {
365
- let t = a.editor?.chain().focus();
363
+ let t = i.editor?.chain().focus();
366
364
  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
365
  }
368
366
  function q() {
@@ -373,44 +371,44 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
373
371
  return U() ? G() : B("color");
374
372
  }
375
373
  function Y() {
376
- return a.editor?.getAttributes("paragraph").lineHeight || "";
374
+ return i.editor?.getAttributes("paragraph").lineHeight || "";
377
375
  }
378
376
  function X(e) {
379
- let t = a.editor?.chain().focus();
377
+ let t = i.editor?.chain().focus();
380
378
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
381
379
  }
382
380
  function Q(e) {
383
- let t = a.editor?.chain().focus();
381
+ let t = i.editor?.chain().focus();
384
382
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
385
383
  }
386
384
  function ke() {
387
- return a.editor?.getAttributes("highlight").color || "";
385
+ return i.editor?.getAttributes("highlight").color || "";
388
386
  }
389
387
  function Ae(e) {
390
- let t = a.editor?.chain().focus();
388
+ let t = i.editor?.chain().focus();
391
389
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
392
390
  }
393
- return (t, n) => g(T) && !k.value ? (p(), y(c, {
391
+ return (t, n) => v(T) && !k.value ? (m(), y(l, {
394
392
  key: 0,
395
- to: g(T)
396
- }, [h("div", {
397
- "data-tpl-theme": g(C),
393
+ to: v(T)
394
+ }, [g("div", {
395
+ "data-tpl-theme": v(C),
398
396
  role: "toolbar",
399
- "aria-label": g(F).paragraphEditor.toolbar,
397
+ "aria-label": v(F).paragraphEditor.toolbar,
400
398
  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)]",
401
- style: m({
402
- ...g(S),
399
+ style: a({
400
+ ...v(S),
403
401
  top: `${e.toolbarPosition.top}px`,
404
402
  left: `${e.toolbarPosition.left}px`,
405
403
  transform: "translateY(-100%)",
406
404
  flexDirection: "column"
407
405
  })
408
- }, [!e.isLoading && e.editor ? (p(), d(v, { key: 0 }, [h("div", Ne, [
409
- s(W, {
410
- "model-value": g(be)(B("fontFamily")),
411
- options: g(ye)(g(I), B("fontFamily")),
412
- label: g(F).paragraphEditor.fontFamily,
413
- placeholder: g(F).paragraphEditor.defaultFont,
406
+ }, [!e.isLoading && e.editor ? (m(), f(_, { key: 0 }, [g("div", Ne, [
407
+ c(W, {
408
+ "model-value": v(be)(B("fontFamily")),
409
+ options: v(ye)(v(L), B("fontFamily")),
410
+ label: v(F).paragraphEditor.fontFamily,
411
+ placeholder: v(F).paragraphEditor.defaultFont,
414
412
  "width-class": "tpl:w-32",
415
413
  "onUpdate:modelValue": V
416
414
  }, null, 8, [
@@ -419,11 +417,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
419
417
  "label",
420
418
  "placeholder"
421
419
  ]),
422
- s(W, {
420
+ c(W, {
423
421
  "model-value": B("fontSize"),
424
- options: g(he),
425
- label: g(F).paragraphEditor.fontSize,
426
- placeholder: g(F).paragraphEditor.defaultSize,
422
+ options: v(he),
423
+ label: v(F).paragraphEditor.fontSize,
424
+ placeholder: v(F).paragraphEditor.defaultSize,
427
425
  "width-class": "tpl:w-20",
428
426
  "onUpdate:modelValue": H
429
427
  }, null, 8, [
@@ -432,37 +430,37 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
432
430
  "label",
433
431
  "placeholder"
434
432
  ]),
435
- s($),
436
- s(R, {
433
+ c($),
434
+ c(I, {
437
435
  "swatch-only": "",
438
436
  size: "sm",
439
437
  "data-testid": "text-color-picker",
440
438
  "model-value": J(),
441
439
  "seed-color": q(),
442
- "aria-label": g(F).paragraphEditor.textColor,
440
+ "aria-label": v(F).paragraphEditor.textColor,
443
441
  "onUpdate:modelValue": K
444
442
  }, null, 8, [
445
443
  "model-value",
446
444
  "seed-color",
447
445
  "aria-label"
448
446
  ]),
449
- s(R, {
447
+ c(I, {
450
448
  "swatch-only": "",
451
449
  size: "sm",
452
450
  "data-testid": "highlight-color-picker",
453
451
  "model-value": ke(),
454
- "seed-color": g(ge),
455
- "aria-label": g(F).paragraphEditor.highlightColor,
452
+ "seed-color": v(ge),
453
+ "aria-label": v(F).paragraphEditor.highlightColor,
456
454
  "onUpdate:modelValue": Ae
457
455
  }, null, 8, [
458
456
  "model-value",
459
457
  "seed-color",
460
458
  "aria-label"
461
459
  ]),
462
- s($),
463
- s(Z, {
464
- icon: g(ae),
465
- label: g(F).paragraphEditor.bold,
460
+ c($),
461
+ c(Z, {
462
+ icon: v(ce),
463
+ label: v(F).paragraphEditor.bold,
466
464
  active: e.editor.isActive("bold"),
467
465
  "stroke-width": 2.5,
468
466
  onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
@@ -471,9 +469,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
471
469
  "label",
472
470
  "active"
473
471
  ]),
474
- s(Z, {
475
- icon: g(oe),
476
- label: g(F).paragraphEditor.italic,
472
+ c(Z, {
473
+ icon: v(se),
474
+ label: v(F).paragraphEditor.italic,
477
475
  active: e.editor.isActive("italic"),
478
476
  onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
479
477
  }, null, 8, [
@@ -481,9 +479,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
481
479
  "label",
482
480
  "active"
483
481
  ]),
484
- s(Z, {
485
- icon: g(De),
486
- label: g(F).paragraphEditor.underline,
482
+ c(Z, {
483
+ icon: v(De),
484
+ label: v(F).paragraphEditor.underline,
487
485
  active: e.editor.isActive("underline"),
488
486
  onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
489
487
  }, null, 8, [
@@ -491,9 +489,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
491
489
  "label",
492
490
  "active"
493
491
  ]),
494
- s(Z, {
495
- icon: g(we),
496
- label: g(F).paragraphEditor.strikethrough,
492
+ c(Z, {
493
+ icon: v(Ce),
494
+ label: v(F).paragraphEditor.strikethrough,
497
495
  active: e.editor.isActive("strike"),
498
496
  onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
499
497
  }, null, 8, [
@@ -501,10 +499,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
501
499
  "label",
502
500
  "active"
503
501
  ]),
504
- s($),
505
- s(Z, {
506
- icon: g(Ce),
507
- label: g(F).paragraphEditor.subscript,
502
+ c($),
503
+ c(Z, {
504
+ icon: v(we),
505
+ label: v(F).paragraphEditor.subscript,
508
506
  active: e.editor.isActive("subscript"),
509
507
  onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
510
508
  }, null, 8, [
@@ -512,9 +510,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
512
510
  "label",
513
511
  "active"
514
512
  ]),
515
- s(Z, {
516
- icon: g(Te),
517
- label: g(F).paragraphEditor.superscript,
513
+ c(Z, {
514
+ icon: v(Te),
515
+ label: v(F).paragraphEditor.superscript,
518
516
  active: e.editor.isActive("superscript"),
519
517
  onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
520
518
  }, null, 8, [
@@ -522,10 +520,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
522
520
  "label",
523
521
  "active"
524
522
  ]),
525
- s($),
526
- s(Z, {
527
- icon: g(le),
528
- label: g(F).paragraphEditor.addLink,
523
+ c($),
524
+ c(Z, {
525
+ icon: v(le),
526
+ label: v(F).paragraphEditor.addLink,
529
527
  active: e.editor.isActive("link"),
530
528
  onClick: n[6] ||= (e) => x("open-link-dialog")
531
529
  }, null, 8, [
@@ -533,10 +531,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
533
531
  "label",
534
532
  "active"
535
533
  ])
536
- ]), h("div", Pe, [
537
- s(Z, {
538
- icon: g(de),
539
- label: g(F).paragraphEditor.bulletList,
534
+ ]), g("div", Pe, [
535
+ c(Z, {
536
+ icon: v(ue),
537
+ label: v(F).paragraphEditor.bulletList,
540
538
  active: e.editor.isActive("bulletList"),
541
539
  onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
542
540
  }, null, 8, [
@@ -544,9 +542,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
544
542
  "label",
545
543
  "active"
546
544
  ]),
547
- s(Z, {
548
- icon: g(xe),
549
- label: g(F).paragraphEditor.numberedList,
545
+ c(Z, {
546
+ icon: v(xe),
547
+ label: v(F).paragraphEditor.numberedList,
550
548
  active: e.editor.isActive("orderedList"),
551
549
  onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
552
550
  }, null, 8, [
@@ -554,10 +552,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
554
552
  "label",
555
553
  "active"
556
554
  ]),
557
- s($),
558
- s(Z, {
559
- icon: g(me),
560
- label: g(F).paragraphEditor.alignLeft,
555
+ c($),
556
+ c(Z, {
557
+ icon: v(me),
558
+ label: v(F).paragraphEditor.alignLeft,
561
559
  active: e.editor.isActive({ textAlign: "left" }),
562
560
  onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
563
561
  }, null, 8, [
@@ -565,9 +563,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
565
563
  "label",
566
564
  "active"
567
565
  ]),
568
- s(Z, {
569
- icon: g(pe),
570
- label: g(F).paragraphEditor.alignCenter,
566
+ c(Z, {
567
+ icon: v(pe),
568
+ label: v(F).paragraphEditor.alignCenter,
571
569
  active: e.editor.isActive({ textAlign: "center" }),
572
570
  onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
573
571
  }, null, 8, [
@@ -575,9 +573,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
575
573
  "label",
576
574
  "active"
577
575
  ]),
578
- s(Z, {
579
- icon: g(fe),
580
- label: g(F).paragraphEditor.alignRight,
576
+ c(Z, {
577
+ icon: v(fe),
578
+ label: v(F).paragraphEditor.alignRight,
581
579
  active: e.editor.isActive({ textAlign: "right" }),
582
580
  onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
583
581
  }, null, 8, [
@@ -585,9 +583,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
585
583
  "label",
586
584
  "active"
587
585
  ]),
588
- s(Z, {
589
- icon: g(Ee),
590
- label: g(F).paragraphEditor.alignJustify,
586
+ c(Z, {
587
+ icon: v(Ee),
588
+ label: v(F).paragraphEditor.alignJustify,
591
589
  active: e.editor.isActive({ textAlign: "justify" }),
592
590
  onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
593
591
  }, null, 8, [
@@ -595,12 +593,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
595
593
  "label",
596
594
  "active"
597
595
  ]),
598
- s($),
599
- s(W, {
596
+ c($),
597
+ c(W, {
600
598
  "model-value": Y(),
601
- options: g(ve),
602
- label: g(F).paragraphEditor.lineHeight,
603
- placeholder: g(F).paragraphEditor.lineHeightShort,
599
+ options: v(ve),
600
+ label: v(F).paragraphEditor.lineHeight,
601
+ placeholder: v(F).paragraphEditor.lineHeightShort,
604
602
  "width-class": "tpl:w-16",
605
603
  "onUpdate:modelValue": X
606
604
  }, null, 8, [
@@ -609,11 +607,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
609
607
  "label",
610
608
  "placeholder"
611
609
  ]),
612
- s(W, {
610
+ c(W, {
613
611
  "model-value": B("letterSpacing"),
614
- options: g(L),
615
- label: g(F).paragraphEditor.letterSpacing,
616
- placeholder: g(F).paragraphEditor.letterSpacingShort,
612
+ options: v(R),
613
+ label: v(F).paragraphEditor.letterSpacing,
614
+ placeholder: v(F).paragraphEditor.letterSpacingShort,
617
615
  "width-class": "tpl:w-20",
618
616
  "onUpdate:modelValue": Q
619
617
  }, null, 8, [
@@ -622,41 +620,41 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
622
620
  "label",
623
621
  "placeholder"
624
622
  ]),
625
- s($),
626
- s(Z, {
627
- icon: g(Se),
628
- label: g(F).paragraphEditor.clearFormatting,
623
+ c($),
624
+ c(Z, {
625
+ icon: v(Se),
626
+ label: v(F).paragraphEditor.clearFormatting,
629
627
  onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
630
628
  }, null, 8, ["icon", "label"]),
631
- s($),
632
- s(Oe, { onInsert: z }),
633
- e.canRequestMergeTag ? (p(), d(v, { key: 0 }, [s($), h("button", {
629
+ c($),
630
+ c(Oe, { onInsert: z }),
631
+ e.canRequestMergeTag ? (m(), f(_, { key: 0 }, [c($), g("button", {
634
632
  type: "button",
635
633
  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)]",
636
- "aria-label": g(F).mergeTag.insert,
637
- title: g(F).mergeTag.insert,
634
+ "aria-label": v(F).mergeTag.insert,
635
+ title: v(F).mergeTag.insert,
638
636
  onClick: n[14] ||= (e) => x("add-merge-tag")
639
- }, [s(g(se), {
637
+ }, [c(v(ae), {
640
638
  size: 16,
641
639
  "stroke-width": 2
642
- }), f(" " + i(g(F).mergeTag.insertShort), 1)], 8, Fe)], 64)) : u("", !0),
643
- e.canInsertLogicTag ? (p(), d(v, { key: 1 }, [s($), h("button", {
640
+ }), p(" " + s(v(F).mergeTag.insertShort), 1)], 8, Fe)], 64)) : d("", !0),
641
+ e.canInsertLogicTag ? (m(), f(_, { key: 1 }, [c($), g("button", {
644
642
  type: "button",
645
643
  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)]",
646
- "aria-label": g(F).logicTag.insert,
647
- title: g(F).logicTag.insert,
644
+ "aria-label": v(F).logicTag.insert,
645
+ title: v(F).logicTag.insert,
648
646
  "data-testid": "insert-logic-button",
649
647
  onClick: n[15] ||= (e) => x("add-logic-tag")
650
- }, [s(g(ce), {
648
+ }, [c(v(oe), {
651
649
  size: 16,
652
650
  "stroke-width": 2
653
- }), f(" " + i(g(F).logicTag.insertShort), 1)], 8, Ie)], 64)) : u("", !0),
654
- _.value ? (p(), d(v, { key: 2 }, [s($), s(g(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : u("", !0)
655
- ])], 64)) : (p(), d("div", Le, [s(g(ue), {
651
+ }), p(" " + s(v(F).logicTag.insertShort), 1)], 8, Ie)], 64)) : d("", !0),
652
+ h.value ? (m(), f(_, { key: 2 }, [c($), c(v(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : d("", !0)
653
+ ])], 64)) : (m(), f("div", Le, [c(v(de), {
656
654
  class: "tpl-spinner",
657
655
  size: 14,
658
656
  "stroke-width": 2
659
- }), f(" " + i(g(F).errors.editorLoading), 1)]))], 12, Me)], 8, ["to"])) : u("", !0);
657
+ }), p(" " + s(v(F).errors.editorLoading), 1)]))], 12, Me)], 8, ["to"])) : d("", !0);
660
658
  }
661
659
  }), ze = { class: "tpl-text-editor-wrapper tpl:relative" }, Be = /*@__PURE__*/ x({
662
660
  __name: "ParagraphEditor",
@@ -666,31 +664,31 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
666
664
  },
667
665
  emits: ["done"],
668
666
  setup(e, { emit: t }) {
669
- let r = e, i = t, a = P(), o = n(M, null), c = w(o?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: l, EditorContent: u, isLoading: f, initError: m, retry: h, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: S, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: D, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: ee, handleAddLogicTag: te } = k({
667
+ let r = e, a = t, o = P(), s = n(M, null), l = w(s?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: u, EditorContent: d, isLoading: p, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: S, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: D, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: ee, handleAddLogicTag: te } = k({
670
668
  blockId: () => r.block.id,
671
669
  blockContent: () => r.block.content,
672
- onDone: () => i("done"),
670
+ onDone: () => a("done"),
673
671
  editorName: "ParagraphEditor",
674
672
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
675
- let [{ Editor: o, EditorContent: s }, { default: l }, { default: u }, { default: d }, { default: f }, { 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([
676
- import("./dist-C_dV9QAx.js").then((e) => e.r),
677
- import("./dist-Cr7RPxI9.js"),
678
- import("./dist-3HpYixwF.js"),
679
- import("./dist-CuLwJF7H.js"),
680
- import("./dist-BC-ZEYLd.js"),
681
- import("./dist-DXyGqIDE.js"),
682
- import("./dist-CyBwSiAa.js"),
683
- import("./dist-DPcf6XZ8.js"),
684
- import("./dist-BPFcLKTw.js"),
685
- import("./dist-D7Yj7E-F.js"),
686
- import("./dist-DVNjPKsH.js"),
687
- import("./extensions-CdyweA50.js")
673
+ let [{ Editor: a, EditorContent: s }, { default: c }, { default: u }, { default: d }, { default: f }, { 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([
674
+ import("./dist-D6cMdrfG.js").then((e) => e.r),
675
+ import("./dist-CWSG7Kj0.js"),
676
+ import("./dist-txQLT2sF.js"),
677
+ import("./dist-Dd5MU2Ev.js"),
678
+ import("./dist-BF5zEHop.js"),
679
+ import("./dist-Cy8I5scI.js"),
680
+ import("./dist-BS5uKktL.js"),
681
+ import("./dist-p3wymUDt.js"),
682
+ import("./dist-pA3ooG6N.js"),
683
+ import("./dist-DyFArF_G.js"),
684
+ import("./dist-D6fZec6r.js"),
685
+ import("./extensions-fo_c-vqf.js")
688
686
  ]);
689
687
  return {
690
- TiptapEditor: o,
688
+ TiptapEditor: a,
691
689
  EC: s,
692
690
  extensions: [
693
- l.configure({
691
+ c.configure({
694
692
  heading: !1,
695
693
  codeBlock: !1,
696
694
  blockquote: !1,
@@ -710,7 +708,7 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
710
708
  }),
711
709
  m.configure({
712
710
  types: ["paragraph"],
713
- defaultAlignment: c
711
+ defaultAlignment: l
714
712
  }),
715
713
  h,
716
714
  g,
@@ -729,22 +727,22 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
729
727
  mergeTags: () => e.value,
730
728
  char: n,
731
729
  emptyText: i,
732
- popoverRoot: a
730
+ popoverRoot: o
733
731
  })] : []
734
732
  ]
735
733
  };
736
734
  }
737
735
  });
738
- return (t, n) => (p(), d("div", ze, [
739
- s(Re, {
740
- editor: g(l),
736
+ return (t, n) => (m(), f("div", ze, [
737
+ c(Re, {
738
+ editor: v(u),
741
739
  "toolbar-position": e.toolbarPosition,
742
- "is-loading": g(f),
743
- "can-request-merge-tag": g(S),
744
- "can-insert-logic-tag": g(C),
745
- onOpenLinkDialog: g(T),
746
- onAddMergeTag: g(ee),
747
- onAddLogicTag: g(te)
740
+ "is-loading": v(p),
741
+ "can-request-merge-tag": v(S),
742
+ "can-insert-logic-tag": v(C),
743
+ onOpenLinkDialog: v(T),
744
+ onAddMergeTag: v(ee),
745
+ onAddLogicTag: v(te)
748
746
  }, null, 8, [
749
747
  "editor",
750
748
  "toolbar-position",
@@ -755,12 +753,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
755
753
  "onAddMergeTag",
756
754
  "onAddLogicTag"
757
755
  ]),
758
- s(L, {
759
- editor: g(l),
760
- "editor-content": g(u),
761
- "is-loading": g(f),
762
- "init-error": g(m),
763
- onRetry: g(h)
756
+ c(R, {
757
+ editor: v(u),
758
+ "editor-content": v(d),
759
+ "is-loading": v(p),
760
+ "init-error": v(h),
761
+ onRetry: v(g)
764
762
  }, null, 8, [
765
763
  "editor",
766
764
  "editor-content",
@@ -768,19 +766,19 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
768
766
  "init-error",
769
767
  "onRetry"
770
768
  ]),
771
- s(I, {
772
- visible: g(v),
773
- "is-editing-link": g(l)?.isActive("link") ?? !1,
774
- "dialog-ref": g(x),
775
- "onUpdate:dialogRef": n[0] ||= (e) => _(x) ? x.value = e : null,
776
- "link-url": g(y),
777
- "onUpdate:linkUrl": n[1] ||= (e) => _(y) ? y.value = e : null,
778
- "link-color": g(b),
779
- "onUpdate:linkColor": n[2] ||= (e) => _(b) ? b.value = e : null,
780
- onClose: g(A),
781
- onInsert: g(E),
782
- onRemove: g(D),
783
- onKeydown: g(j)
769
+ c(L, {
770
+ visible: v(_),
771
+ "is-editing-link": v(u)?.isActive("link") ?? !1,
772
+ "dialog-ref": v(x),
773
+ "onUpdate:dialogRef": n[0] ||= (e) => i(x) ? x.value = e : null,
774
+ "link-url": v(y),
775
+ "onUpdate:linkUrl": n[1] ||= (e) => i(y) ? y.value = e : null,
776
+ "link-color": v(b),
777
+ "onUpdate:linkColor": n[2] ||= (e) => i(b) ? b.value = e : null,
778
+ onClose: v(A),
779
+ onInsert: v(E),
780
+ onRemove: v(D),
781
+ onKeydown: v(j)
784
782
  }, null, 8, [
785
783
  "visible",
786
784
  "is-editing-link",
@@ -795,5 +793,4 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
795
793
  ]));
796
794
  }
797
795
  }), Ve = /* @__PURE__ */ e({ default: () => He }), He = Be;
798
- //#endregion
799
796
  export { He as default, W as n, Ve as t };