@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,23 +1,23 @@
1
- import { n as e } from "./rolldown-runtime-Y_bBpyJl.js";
2
- import { $ as t, C as n, D as r, I as i, J as a, P as o, S as s, _ as c, b as l, c as u, dt as d, f, g as p, h as m, l as h, lt as g, m as _, ot as v, p as y, u as b, ut as x, x as S, z as C } from "./draggable-DZ0gwUJ6.js";
3
- import { J as w } from "./src-BNFnxfrA.js";
4
- import { t as T } from "./dist-S-rLGqax.js";
5
- import { S as E, v as D, x as O, y as k } from "./useEditorCore-CCVFi1YZ.js";
6
- import { $ as A, A as j, E as M, J as N, Z as ee, g as P, l as te, v as ne } from "./keys-BTpmg2Tt.js";
7
- import { t as re } from "./useI18n-CbVubQhM.js";
8
- import { n as F } from "./usePopoverPosition-C829ps5i.js";
9
- import { Bt as ie, C as ae, L as oe, N as se, S as ce, Tt as I, Ut as le, _ as ue, at as de, b as fe, g as pe, h as me, lt as he, ot as ge, pt as _e, st as ve, u as ye, v as be } from "./icons-DNX6StSs.js";
10
- import { t as L } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { a as xe, n as Se, o as Ce, s as we } from "./styleConstants-v1dNKgJf.js";
12
- import { c as R } from "./LogicTagInsertButton-CsL2JDOG.js";
13
- import { n as Te, t as Ee } from "./withCurrentFont-DFPXeVfG.js";
14
- import { n as z, t as B } from "./RichTextEditorContent-Q1d2xqBT.js";
15
- //#region src/components/toolbar/ToolbarSelect.vue?vue&type=script&setup=true&lang.ts
1
+ import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
+ import { C as t, D as n, I as r, P as i, S as a, Y as o, _ as s, b as c, c as l, dt as u, et as d, f, ft as p, g as m, h, l as g, m as _, p as v, st as y, u as b, ut as x, x as S, z as C } from "./draggable-Du8AUMFT.js";
3
+ import { $ as w } from "./src-DwWrYnUj.js";
4
+ import { t as T } from "./dist-BMzNabtD.js";
5
+ import { S as E, v as D, x as O, y as k } from "./useEditorCore-BrY66C2y.js";
6
+ import { $ as A, A as j, E as M, J as N, Z as ee, g as P, l as te, v as ne } from "./keys-CUj6UA38.js";
7
+ import { t as re } from "./useI18n-D8pY4LTq.js";
8
+ import { n as F } from "./usePopoverPosition-DSMtmu2W.js";
9
+ import { C as ie, Et as I, L as ae, N as oe, S as se, Vt as ce, _ as le, at as ue, b as de, dt as fe, g as pe, ht as me, lt as he, m as ge, ot as _e, st as ve, u as ye, v as be } from "./icons-okSPsLOa.js";
10
+ import { t as L } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
11
+ import { a as xe, n as Se, o as Ce, s as we } from "./styleConstants-B8xVRiwX.js";
12
+ import { c as R } from "./LogicTagInsertButton-BIi05UQu.js";
13
+ import { n as Te, t as Ee } from "./withCurrentFont-hZTvYBHO.js";
14
+ import { n as z, t as B } from "./RichTextEditorContent-DNjR_sNN.js";
15
+ // src/components/toolbar/ToolbarSelect.vue?vue&type=script&setup=true&lang.ts
16
16
  var V = [
17
17
  "value",
18
18
  "aria-label",
19
19
  "title"
20
- ], H = { value: "" }, U = ["value"], W = /* @__PURE__ */ n({
20
+ ], H = { value: "" }, U = ["value"], W = /* @__PURE__ */ t({
21
21
  __name: "ToolbarSelect",
22
22
  props: {
23
23
  modelValue: {},
@@ -28,11 +28,11 @@ var V = [
28
28
  },
29
29
  emits: ["update:modelValue"],
30
30
  setup(e, { emit: t }) {
31
- let n = e, r = t;
32
- function a(e) {
33
- r("update:modelValue", e.target.value);
31
+ let n = e, a = t;
32
+ function o(e) {
33
+ a("update:modelValue", e.target.value);
34
34
  }
35
- function s(e) {
35
+ function c(e) {
36
36
  return typeof e == "string" ? e : e.value;
37
37
  }
38
38
  function l(e) {
@@ -44,79 +44,79 @@ var V = [
44
44
  "unset",
45
45
  "revert",
46
46
  "revert-layer"
47
- ]), f = y(() => u.has(n.modelValue) ? "" : n.modelValue), p = y(() => {
48
- let e = f.value;
49
- return e === "" || n.options.some((t) => s(t) === e) ? n.options : [e, ...n.options];
47
+ ]), d = v(() => u.has(n.modelValue) ? "" : n.modelValue), f = v(() => {
48
+ let e = d.value;
49
+ return e === "" || n.options.some((t) => c(t) === e) ? n.options : [e, ...n.options];
50
50
  });
51
- return (t, n) => (o(), c("select", {
52
- class: g(["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"]),
53
- value: f.value,
51
+ return (t, n) => (i(), s("select", {
52
+ class: x(["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"]),
53
+ value: d.value,
54
54
  "aria-label": e.label,
55
55
  title: e.label,
56
- onChange: a
57
- }, [_("option", H, d(e.placeholder ?? ""), 1), (o(!0), c(b, null, i(p.value, (e) => (o(), c("option", {
58
- key: s(e),
59
- value: s(e)
60
- }, d(l(e)), 9, U))), 128))], 42, V));
56
+ onChange: o
57
+ }, [_("option", H, p(e.placeholder ?? ""), 1), (i(!0), s(b, null, r(f.value, (e) => (i(), s("option", {
58
+ key: c(e),
59
+ value: c(e)
60
+ }, p(l(e)), 9, U))), 128))], 42, V));
61
61
  }
62
62
  }), G = [
63
63
  "aria-label",
64
64
  "title",
65
65
  "aria-expanded"
66
- ], K = ["aria-label"], q = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, J = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, Y = ["aria-label", "onClick"], De = /* @__PURE__ */ n({
66
+ ], K = ["aria-label"], q = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, J = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, Y = ["aria-label", "onClick"], De = /* @__PURE__ */ t({
67
67
  __name: "EmojiPickerDropdown",
68
68
  emits: ["insert"],
69
- setup(e, { emit: n }) {
70
- let r = n, { categories: a, isOpen: s, toggle: l, close: f } = O(), { t: m, format: x } = re(), C = t(null), w = t(null), D = y(() => s.value);
69
+ setup(e, { emit: t }) {
70
+ let n = t, { categories: a, isOpen: o, toggle: c, close: u } = O(), { t: f, format: h } = re(), C = d(null), w = d(null), D = v(() => o.value);
71
71
  E(C, D), T(w, () => {
72
- s.value && f();
72
+ o.value && u();
73
73
  });
74
74
  function k(e) {
75
- r("insert", e), f();
75
+ n("insert", e), u();
76
76
  }
77
- return (e, t) => (o(), c("div", {
77
+ return (e, t) => (i(), s("div", {
78
78
  ref_key: "rootRef",
79
79
  ref: w,
80
80
  class: "tpl:relative"
81
81
  }, [_("button", {
82
82
  type: "button",
83
- class: g(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(s) }]),
84
- "aria-label": v(m).paragraphEditor.insertEmoji,
85
- title: v(m).paragraphEditor.insertEmoji,
86
- "aria-expanded": v(s),
83
+ class: x(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": y(o) }]),
84
+ "aria-label": y(f).paragraphEditor.insertEmoji,
85
+ title: y(f).paragraphEditor.insertEmoji,
86
+ "aria-expanded": y(o),
87
87
  "aria-haspopup": "dialog",
88
88
  "aria-controls": "tpl-emoji-picker",
89
- onClick: t[0] ||= (...e) => v(l) && v(l)(...e)
90
- }, [S(v(I), {
89
+ onClick: t[0] ||= (...e) => y(c) && y(c)(...e)
90
+ }, [S(y(I), {
91
91
  size: 16,
92
92
  "stroke-width": 2
93
- })], 10, G), v(s) ? (o(), c("div", {
93
+ })], 10, G), y(o) ? (i(), s("div", {
94
94
  key: 0,
95
95
  id: "tpl-emoji-picker",
96
96
  ref_key: "pickerRef",
97
97
  ref: C,
98
98
  role: "dialog",
99
99
  "aria-modal": "false",
100
- "aria-label": v(m).paragraphEditor.insertEmoji,
100
+ "aria-label": y(f).paragraphEditor.insertEmoji,
101
101
  tabindex: "-1",
102
102
  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)]",
103
- onKeydown: t[1] ||= u(h((...e) => v(f) && v(f)(...e), ["stop", "prevent"]), ["esc"])
104
- }, [(o(!0), c(b, null, i(v(a), (e) => (o(), c("div", {
103
+ onKeydown: t[1] ||= l(g((...e) => y(u) && y(u)(...e), ["stop", "prevent"]), ["esc"])
104
+ }, [(i(!0), s(b, null, r(y(a), (e) => (i(), s("div", {
105
105
  key: e.key,
106
106
  class: "tpl:mb-2 tpl:last:mb-0"
107
- }, [_("div", q, d(v(m).emoji[e.key]), 1), _("div", J, [(o(!0), c(b, null, i(e.emojis, (e) => (o(), c("button", {
107
+ }, [_("div", q, p(y(f).emoji[e.key]), 1), _("div", J, [(i(!0), s(b, null, r(e.emojis, (e) => (i(), s("button", {
108
108
  key: e,
109
109
  type: "button",
110
- "aria-label": v(x)(v(m).paragraphEditor.emojiItemLabel, { emoji: e }),
110
+ "aria-label": y(h)(y(f).paragraphEditor.emojiItemLabel, { emoji: e }),
111
111
  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)]",
112
112
  onClick: (t) => k(e)
113
- }, d(e), 9, Y))), 128))])]))), 128))], 40, K)) : p("", !0)], 512));
113
+ }, p(e), 9, Y))), 128))])]))), 128))], 40, K)) : m("", !0)], 512));
114
114
  }
115
115
  }), X = [
116
116
  "aria-label",
117
117
  "title",
118
118
  "aria-pressed"
119
- ], Z = /* @__PURE__ */ n({
119
+ ], Z = /* @__PURE__ */ t({
120
120
  __name: "ToolbarIconButton",
121
121
  props: {
122
122
  icon: {},
@@ -126,13 +126,13 @@ var V = [
126
126
  size: {}
127
127
  },
128
128
  setup(e) {
129
- return (t, n) => (o(), c("button", {
129
+ return (t, n) => (i(), s("button", {
130
130
  type: "button",
131
- class: g(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
131
+ class: x(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
132
132
  "aria-label": e.label,
133
133
  title: e.label,
134
134
  "aria-pressed": e.active ? "true" : "false"
135
- }, [(o(), m(C(e.icon), {
135
+ }, [(i(), h(C(e.icon), {
136
136
  size: e.size ?? 16,
137
137
  "stroke-width": e.strokeWidth ?? 2
138
138
  }, null, 8, ["size", "stroke-width"]))], 10, X));
@@ -142,20 +142,18 @@ var V = [
142
142
  "aria-hidden": "true"
143
143
  };
144
144
  function Ae(e, t) {
145
- return o(), c("span", ke);
145
+ return i(), s("span", ke);
146
146
  }
147
147
  var Q = /*#__PURE__*/ L(Oe, [["render", Ae]]);
148
- //#endregion
149
- //#region src/utils/richTextColor.ts
148
+ // src/utils/richTextColor.ts
150
149
  function $(e, t) {
151
150
  return e || t || "#000000";
152
151
  }
153
- //#endregion
154
- //#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
152
+ // src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
155
153
  var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ne = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Pe = ["aria-label", "title"], Fe = ["aria-label", "title"], Ie = {
156
154
  key: 1,
157
155
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
158
- }, Le = /* @__PURE__ */ n({
156
+ }, Le = /* @__PURE__ */ t({
159
157
  __name: "ParagraphToolbar",
160
158
  props: {
161
159
  editor: {},
@@ -170,32 +168,32 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
170
168
  "add-logic-tag"
171
169
  ],
172
170
  setup(e, { emit: t }) {
173
- let n = s(() => import("./AiRewriteMenu-Bhh71zcc.js")), i = e, a = r(te, {}), u = y(() => a.ai?.isFeatureEnabled("rewrite") ?? !1), h = t, g = r(N, null), C = r(ee, null), w = A(ne, "ParagraphToolbar"), T = F(), E = r(j, null), D = r(M, null), O = r(P, null), k = y(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: I } = re(), L = w.fonts, z = Ce.map((e) => ({
171
+ let r = a(() => import("./AiRewriteMenu-qf-cfEpy.js")), o = e, l = n(te, {}), d = v(() => l.ai?.isFeatureEnabled("rewrite") ?? !1), g = t, x = n(N, null), C = n(ee, null), w = A(ne, "ParagraphToolbar"), T = F(), E = n(j, null), D = n(M, null), O = n(P, null), k = v(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: I } = re(), L = w.fonts, z = Ce.map((e) => ({
174
172
  value: e,
175
173
  label: e === "normal" ? I.paragraphEditor.letterSpacingNormal : e
176
174
  }));
177
175
  function B(e) {
178
- i.editor?.chain().focus().insertContent(e).run();
176
+ o.editor?.chain().focus().insertContent(e).run();
179
177
  }
180
178
  function V(e) {
181
- return i.editor?.getAttributes("textStyle")[e] || "";
179
+ return o.editor?.getAttributes("textStyle")[e] || "";
182
180
  }
183
181
  function H(e) {
184
- let t = i.editor?.chain().focus();
182
+ let t = o.editor?.chain().focus();
185
183
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
186
184
  }
187
185
  function U(e) {
188
- let t = i.editor?.chain().focus();
186
+ let t = o.editor?.chain().focus();
189
187
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
190
188
  }
191
189
  function G() {
192
- return i.editor?.isActive("link") ?? !1;
190
+ return o.editor?.isActive("link") ?? !1;
193
191
  }
194
192
  function K() {
195
- return i.editor?.getAttributes("link").color || "";
193
+ return o.editor?.getAttributes("link").color || "";
196
194
  }
197
195
  function q(e) {
198
- let t = i.editor?.chain().focus();
196
+ let t = o.editor?.chain().focus();
199
197
  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());
200
198
  }
201
199
  function J() {
@@ -206,44 +204,44 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
206
204
  return G() ? K() : V("color");
207
205
  }
208
206
  function X() {
209
- return i.editor?.getAttributes("paragraph").lineHeight || "";
207
+ return o.editor?.getAttributes("paragraph").lineHeight || "";
210
208
  }
211
209
  function Oe(e) {
212
- let t = i.editor?.chain().focus();
210
+ let t = o.editor?.chain().focus();
213
211
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
214
212
  }
215
213
  function ke(e) {
216
- let t = i.editor?.chain().focus();
214
+ let t = o.editor?.chain().focus();
217
215
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
218
216
  }
219
217
  function Ae() {
220
- return i.editor?.getAttributes("highlight").color || "";
218
+ return o.editor?.getAttributes("highlight").color || "";
221
219
  }
222
220
  function Le(e) {
223
- let t = i.editor?.chain().focus();
221
+ let t = o.editor?.chain().focus();
224
222
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
225
223
  }
226
- return (t, r) => v(T) && !k.value ? (o(), m(f, {
224
+ return (t, n) => y(T) && !k.value ? (i(), h(f, {
227
225
  key: 0,
228
- to: v(T)
226
+ to: y(T)
229
227
  }, [_("div", {
230
- "data-tpl-theme": v(C),
228
+ "data-tpl-theme": y(C),
231
229
  role: "toolbar",
232
- "aria-label": v(I).paragraphEditor.toolbar,
230
+ "aria-label": y(I).paragraphEditor.toolbar,
233
231
  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)]",
234
- style: x({
235
- ...v(g),
232
+ style: u({
233
+ ...y(x),
236
234
  top: `${e.toolbarPosition.top}px`,
237
235
  left: `${e.toolbarPosition.left}px`,
238
236
  transform: "translateY(-100%)",
239
237
  flexDirection: "column"
240
238
  })
241
- }, [!e.isLoading && e.editor ? (o(), c(b, { key: 0 }, [_("div", Me, [
239
+ }, [!e.isLoading && e.editor ? (i(), s(b, { key: 0 }, [_("div", Me, [
242
240
  S(W, {
243
- "model-value": v(Ee)(V("fontFamily")),
244
- options: v(Te)(v(L), V("fontFamily")),
245
- label: v(I).paragraphEditor.fontFamily,
246
- placeholder: v(I).paragraphEditor.defaultFont,
241
+ "model-value": y(Ee)(V("fontFamily")),
242
+ options: y(Te)(y(L), V("fontFamily")),
243
+ label: y(I).paragraphEditor.fontFamily,
244
+ placeholder: y(I).paragraphEditor.defaultFont,
247
245
  "width-class": "tpl:w-32",
248
246
  "onUpdate:modelValue": H
249
247
  }, null, 8, [
@@ -254,9 +252,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
254
252
  ]),
255
253
  S(W, {
256
254
  "model-value": V("fontSize"),
257
- options: v(xe),
258
- label: v(I).paragraphEditor.fontSize,
259
- placeholder: v(I).paragraphEditor.defaultSize,
255
+ options: y(xe),
256
+ label: y(I).paragraphEditor.fontSize,
257
+ placeholder: y(I).paragraphEditor.defaultSize,
260
258
  "width-class": "tpl:w-20",
261
259
  "onUpdate:modelValue": U
262
260
  }, null, 8, [
@@ -272,7 +270,7 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
272
270
  "data-testid": "text-color-picker",
273
271
  "model-value": Y(),
274
272
  "seed-color": J(),
275
- "aria-label": v(I).paragraphEditor.textColor,
273
+ "aria-label": y(I).paragraphEditor.textColor,
276
274
  "onUpdate:modelValue": q
277
275
  }, null, 8, [
278
276
  "model-value",
@@ -284,8 +282,8 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
284
282
  size: "sm",
285
283
  "data-testid": "highlight-color-picker",
286
284
  "model-value": Ae(),
287
- "seed-color": v(Se),
288
- "aria-label": v(I).paragraphEditor.highlightColor,
285
+ "seed-color": y(Se),
286
+ "aria-label": y(I).paragraphEditor.highlightColor,
289
287
  "onUpdate:modelValue": Le
290
288
  }, null, 8, [
291
289
  "model-value",
@@ -294,41 +292,41 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
294
292
  ]),
295
293
  S(Q),
296
294
  S(Z, {
297
- icon: v(le),
298
- label: v(I).paragraphEditor.bold,
295
+ icon: y(fe),
296
+ label: y(I).paragraphEditor.bold,
299
297
  active: e.editor.isActive("bold"),
300
298
  "stroke-width": 2.5,
301
- onClick: r[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
299
+ onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
302
300
  }, null, 8, [
303
301
  "icon",
304
302
  "label",
305
303
  "active"
306
304
  ]),
307
305
  S(Z, {
308
- icon: v(_e),
309
- label: v(I).paragraphEditor.italic,
306
+ icon: y(me),
307
+ label: y(I).paragraphEditor.italic,
310
308
  active: e.editor.isActive("italic"),
311
- onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
309
+ onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
312
310
  }, null, 8, [
313
311
  "icon",
314
312
  "label",
315
313
  "active"
316
314
  ]),
317
315
  S(Z, {
318
- icon: v(ye),
319
- label: v(I).paragraphEditor.underline,
316
+ icon: y(ye),
317
+ label: y(I).paragraphEditor.underline,
320
318
  active: e.editor.isActive("underline"),
321
- onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
319
+ onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
322
320
  }, null, 8, [
323
321
  "icon",
324
322
  "label",
325
323
  "active"
326
324
  ]),
327
325
  S(Z, {
328
- icon: v(ce),
329
- label: v(I).paragraphEditor.strikethrough,
326
+ icon: y(ie),
327
+ label: y(I).paragraphEditor.strikethrough,
330
328
  active: e.editor.isActive("strike"),
331
- onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
329
+ onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
332
330
  }, null, 8, [
333
331
  "icon",
334
332
  "label",
@@ -336,20 +334,20 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
336
334
  ]),
337
335
  S(Q),
338
336
  S(Z, {
339
- icon: v(ae),
340
- label: v(I).paragraphEditor.subscript,
337
+ icon: y(se),
338
+ label: y(I).paragraphEditor.subscript,
341
339
  active: e.editor.isActive("subscript"),
342
- onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
340
+ onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
343
341
  }, null, 8, [
344
342
  "icon",
345
343
  "label",
346
344
  "active"
347
345
  ]),
348
346
  S(Z, {
349
- icon: v(fe),
350
- label: v(I).paragraphEditor.superscript,
347
+ icon: y(de),
348
+ label: y(I).paragraphEditor.superscript,
351
349
  active: e.editor.isActive("superscript"),
352
- onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
350
+ onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
353
351
  }, null, 8, [
354
352
  "icon",
355
353
  "label",
@@ -357,10 +355,10 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
357
355
  ]),
358
356
  S(Q),
359
357
  S(Z, {
360
- icon: v(he),
361
- label: v(I).paragraphEditor.addLink,
358
+ icon: y(he),
359
+ label: y(I).paragraphEditor.addLink,
362
360
  active: e.editor.isActive("link"),
363
- onClick: r[6] ||= (e) => h("open-link-dialog")
361
+ onClick: n[6] ||= (e) => g("open-link-dialog")
364
362
  }, null, 8, [
365
363
  "icon",
366
364
  "label",
@@ -368,20 +366,20 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
368
366
  ])
369
367
  ]), _("div", Ne, [
370
368
  S(Z, {
371
- icon: v(de),
372
- label: v(I).paragraphEditor.bulletList,
369
+ icon: y(_e),
370
+ label: y(I).paragraphEditor.bulletList,
373
371
  active: e.editor.isActive("bulletList"),
374
- onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
372
+ onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
375
373
  }, null, 8, [
376
374
  "icon",
377
375
  "label",
378
376
  "active"
379
377
  ]),
380
378
  S(Z, {
381
- icon: v(ve),
382
- label: v(I).paragraphEditor.numberedList,
379
+ icon: y(ve),
380
+ label: y(I).paragraphEditor.numberedList,
383
381
  active: e.editor.isActive("orderedList"),
384
- onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
382
+ onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
385
383
  }, null, 8, [
386
384
  "icon",
387
385
  "label",
@@ -389,40 +387,40 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
389
387
  ]),
390
388
  S(Q),
391
389
  S(Z, {
392
- icon: v(me),
393
- label: v(I).paragraphEditor.alignLeft,
390
+ icon: y(ge),
391
+ label: y(I).paragraphEditor.alignLeft,
394
392
  active: e.editor.isActive({ textAlign: "left" }),
395
- onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
393
+ onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
396
394
  }, null, 8, [
397
395
  "icon",
398
396
  "label",
399
397
  "active"
400
398
  ]),
401
399
  S(Z, {
402
- icon: v(be),
403
- label: v(I).paragraphEditor.alignCenter,
400
+ icon: y(be),
401
+ label: y(I).paragraphEditor.alignCenter,
404
402
  active: e.editor.isActive({ textAlign: "center" }),
405
- onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
403
+ onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
406
404
  }, null, 8, [
407
405
  "icon",
408
406
  "label",
409
407
  "active"
410
408
  ]),
411
409
  S(Z, {
412
- icon: v(ue),
413
- label: v(I).paragraphEditor.alignRight,
410
+ icon: y(le),
411
+ label: y(I).paragraphEditor.alignRight,
414
412
  active: e.editor.isActive({ textAlign: "right" }),
415
- onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
413
+ onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
416
414
  }, null, 8, [
417
415
  "icon",
418
416
  "label",
419
417
  "active"
420
418
  ]),
421
419
  S(Z, {
422
- icon: v(pe),
423
- label: v(I).paragraphEditor.alignJustify,
420
+ icon: y(pe),
421
+ label: y(I).paragraphEditor.alignJustify,
424
422
  active: e.editor.isActive({ textAlign: "justify" }),
425
- onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
423
+ onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
426
424
  }, null, 8, [
427
425
  "icon",
428
426
  "label",
@@ -431,9 +429,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
431
429
  S(Q),
432
430
  S(W, {
433
431
  "model-value": X(),
434
- options: v(we),
435
- label: v(I).paragraphEditor.lineHeight,
436
- placeholder: v(I).paragraphEditor.lineHeightShort,
432
+ options: y(we),
433
+ label: y(I).paragraphEditor.lineHeight,
434
+ placeholder: y(I).paragraphEditor.lineHeightShort,
437
435
  "width-class": "tpl:w-16",
438
436
  "onUpdate:modelValue": Oe
439
437
  }, null, 8, [
@@ -444,9 +442,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
444
442
  ]),
445
443
  S(W, {
446
444
  "model-value": V("letterSpacing"),
447
- options: v(z),
448
- label: v(I).paragraphEditor.letterSpacing,
449
- placeholder: v(I).paragraphEditor.letterSpacingShort,
445
+ options: y(z),
446
+ label: y(I).paragraphEditor.letterSpacing,
447
+ placeholder: y(I).paragraphEditor.letterSpacingShort,
450
448
  "width-class": "tpl:w-20",
451
449
  "onUpdate:modelValue": ke
452
450
  }, null, 8, [
@@ -457,41 +455,41 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
457
455
  ]),
458
456
  S(Q),
459
457
  S(Z, {
460
- icon: v(oe),
461
- label: v(I).paragraphEditor.clearFormatting,
462
- onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
458
+ icon: y(ae),
459
+ label: y(I).paragraphEditor.clearFormatting,
460
+ onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
463
461
  }, null, 8, ["icon", "label"]),
464
462
  S(Q),
465
463
  S(De, { onInsert: B }),
466
- e.canRequestMergeTag ? (o(), c(b, { key: 0 }, [S(Q), _("button", {
464
+ e.canRequestMergeTag ? (i(), s(b, { key: 0 }, [S(Q), _("button", {
467
465
  type: "button",
468
466
  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)]",
469
- "aria-label": v(I).mergeTag.insert,
470
- title: v(I).mergeTag.insert,
471
- onClick: r[14] ||= (e) => h("add-merge-tag")
472
- }, [S(v(se), {
467
+ "aria-label": y(I).mergeTag.insert,
468
+ title: y(I).mergeTag.insert,
469
+ onClick: n[14] ||= (e) => g("add-merge-tag")
470
+ }, [S(y(oe), {
473
471
  size: 16,
474
472
  "stroke-width": 2
475
- }), l(" " + d(v(I).mergeTag.insertShort), 1)], 8, Pe)], 64)) : p("", !0),
476
- e.canInsertLogicTag ? (o(), c(b, { key: 1 }, [S(Q), _("button", {
473
+ }), c(" " + p(y(I).mergeTag.insertShort), 1)], 8, Pe)], 64)) : m("", !0),
474
+ e.canInsertLogicTag ? (i(), s(b, { key: 1 }, [S(Q), _("button", {
477
475
  type: "button",
478
476
  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)]",
479
- "aria-label": v(I).logicTag.insert,
480
- title: v(I).logicTag.insert,
477
+ "aria-label": y(I).logicTag.insert,
478
+ title: y(I).logicTag.insert,
481
479
  "data-testid": "insert-logic-button",
482
- onClick: r[15] ||= (e) => h("add-logic-tag")
483
- }, [S(v(ie), {
480
+ onClick: n[15] ||= (e) => g("add-logic-tag")
481
+ }, [S(y(ce), {
484
482
  size: 16,
485
483
  "stroke-width": 2
486
- }), l(" " + d(v(I).logicTag.insertShort), 1)], 8, Fe)], 64)) : p("", !0),
487
- u.value ? (o(), c(b, { key: 2 }, [S(Q), S(v(n), { editor: e.editor }, null, 8, ["editor"])], 64)) : p("", !0)
488
- ])], 64)) : (o(), c("div", Ie, [S(v(ge), {
484
+ }), c(" " + p(y(I).logicTag.insertShort), 1)], 8, Fe)], 64)) : m("", !0),
485
+ d.value ? (i(), s(b, { key: 2 }, [S(Q), S(y(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : m("", !0)
486
+ ])], 64)) : (i(), s("div", Ie, [S(y(ue), {
489
487
  class: "tpl-spinner",
490
488
  size: 14,
491
489
  "stroke-width": 2
492
- }), l(" " + d(v(I).errors.editorLoading), 1)]))], 12, je)], 8, ["to"])) : p("", !0);
490
+ }), c(" " + p(y(I).errors.editorLoading), 1)]))], 12, je)], 8, ["to"])) : m("", !0);
493
491
  }
494
- }), Re = { class: "tpl-text-editor-wrapper tpl:relative" }, ze = /*@__PURE__*/ n({
492
+ }), Re = { class: "tpl-text-editor-wrapper tpl:relative" }, ze = /*@__PURE__*/ t({
495
493
  __name: "ParagraphEditor",
496
494
  props: {
497
495
  block: {},
@@ -499,31 +497,31 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
499
497
  },
500
498
  emits: ["done"],
501
499
  setup(e, { emit: t }) {
502
- let n = e, i = t, s = F(), l = r(P, null), u = w(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: f, isLoading: p, initError: m, retry: h, showLinkDialog: g, linkUrl: _, linkColor: y, linkDialogRef: b, canRequestMergeTag: x, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: O, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: N } = D({
503
- blockId: () => n.block.id,
504
- blockContent: () => n.block.content,
505
- onDone: () => i("done"),
500
+ let r = e, a = t, c = F(), l = n(P, null), u = w(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: f, isLoading: p, initError: m, retry: h, showLinkDialog: g, linkUrl: _, linkColor: v, linkDialogRef: b, canRequestMergeTag: x, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: O, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: N } = D({
501
+ blockId: () => r.block.id,
502
+ blockContent: () => r.block.content,
503
+ onDone: () => a("done"),
506
504
  editorName: "ParagraphEditor",
507
505
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
508
- let [{ Editor: a, EditorContent: o }, { default: c }, { default: l }, { 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([
509
- import("./tiptap-CtVrAViq.js").then((e) => e.i),
510
- import("./tiptap-CtVrAViq.js").then((e) => e.a),
511
- import("./tiptap-CtVrAViq.js").then((e) => e.u),
512
- import("./tiptap-CtVrAViq.js").then((e) => e.o),
513
- import("./tiptap-CtVrAViq.js").then((e) => e.l),
514
- import("./tiptap-CtVrAViq.js").then((e) => e.c),
515
- import("./tiptap-CtVrAViq.js").then((e) => e.s),
516
- import("./tiptap-CtVrAViq.js").then((e) => e.m),
517
- import("./tiptap-CtVrAViq.js").then((e) => e.p),
518
- import("./tiptap-CtVrAViq.js").then((e) => e.f),
519
- import("./tiptap-CtVrAViq.js").then((e) => e.d),
520
- import("./extensions-taJTZlLK.js")
506
+ let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { 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([
507
+ import("./tiptap-CbiTlECY.js").then((e) => e.i),
508
+ import("./tiptap-CbiTlECY.js").then((e) => e.a),
509
+ import("./tiptap-CbiTlECY.js").then((e) => e.u),
510
+ import("./tiptap-CbiTlECY.js").then((e) => e.o),
511
+ import("./tiptap-CbiTlECY.js").then((e) => e.l),
512
+ import("./tiptap-CbiTlECY.js").then((e) => e.c),
513
+ import("./tiptap-CbiTlECY.js").then((e) => e.s),
514
+ import("./tiptap-CbiTlECY.js").then((e) => e.m),
515
+ import("./tiptap-CbiTlECY.js").then((e) => e.p),
516
+ import("./tiptap-CbiTlECY.js").then((e) => e.f),
517
+ import("./tiptap-CbiTlECY.js").then((e) => e.d),
518
+ import("./extensions-CFF2KWy-.js")
521
519
  ]);
522
520
  return {
523
521
  TiptapEditor: a,
524
522
  EC: o,
525
523
  extensions: [
526
- c.configure({
524
+ s.configure({
527
525
  heading: !1,
528
526
  codeBlock: !1,
529
527
  blockquote: !1,
@@ -562,22 +560,22 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
562
560
  mergeTags: () => e.value,
563
561
  char: n,
564
562
  emptyText: i,
565
- popoverRoot: s
563
+ popoverRoot: c
566
564
  })] : []
567
565
  ]
568
566
  };
569
567
  }
570
568
  });
571
- return (t, n) => (o(), c("div", Re, [
569
+ return (t, n) => (i(), s("div", Re, [
572
570
  S(Le, {
573
- editor: v(d),
571
+ editor: y(d),
574
572
  "toolbar-position": e.toolbarPosition,
575
- "is-loading": v(p),
576
- "can-request-merge-tag": v(x),
577
- "can-insert-logic-tag": v(C),
578
- onOpenLinkDialog: v(T),
579
- onAddMergeTag: v(M),
580
- onAddLogicTag: v(N)
573
+ "is-loading": y(p),
574
+ "can-request-merge-tag": y(x),
575
+ "can-insert-logic-tag": y(C),
576
+ onOpenLinkDialog: y(T),
577
+ onAddMergeTag: y(M),
578
+ onAddLogicTag: y(N)
581
579
  }, null, 8, [
582
580
  "editor",
583
581
  "toolbar-position",
@@ -589,11 +587,11 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
589
587
  "onAddLogicTag"
590
588
  ]),
591
589
  S(B, {
592
- editor: v(d),
593
- "editor-content": v(f),
594
- "is-loading": v(p),
595
- "init-error": v(m),
596
- onRetry: v(h)
590
+ editor: y(d),
591
+ "editor-content": y(f),
592
+ "is-loading": y(p),
593
+ "init-error": y(m),
594
+ onRetry: y(h)
597
595
  }, null, 8, [
598
596
  "editor",
599
597
  "editor-content",
@@ -602,18 +600,18 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
602
600
  "onRetry"
603
601
  ]),
604
602
  S(z, {
605
- visible: v(g),
606
- "is-editing-link": v(d)?.isActive("link") ?? !1,
607
- "dialog-ref": v(b),
608
- "onUpdate:dialogRef": n[0] ||= (e) => a(b) ? b.value = e : null,
609
- "link-url": v(_),
610
- "onUpdate:linkUrl": n[1] ||= (e) => a(_) ? _.value = e : null,
611
- "link-color": v(y),
612
- "onUpdate:linkColor": n[2] ||= (e) => a(y) ? y.value = e : null,
613
- onClose: v(A),
614
- onInsert: v(E),
615
- onRemove: v(O),
616
- onKeydown: v(j)
603
+ visible: y(g),
604
+ "is-editing-link": y(d)?.isActive("link") ?? !1,
605
+ "dialog-ref": y(b),
606
+ "onUpdate:dialogRef": n[0] ||= (e) => o(b) ? b.value = e : null,
607
+ "link-url": y(_),
608
+ "onUpdate:linkUrl": n[1] ||= (e) => o(_) ? _.value = e : null,
609
+ "link-color": y(v),
610
+ "onUpdate:linkColor": n[2] ||= (e) => o(v) ? v.value = e : null,
611
+ onClose: y(A),
612
+ onInsert: y(E),
613
+ onRemove: y(O),
614
+ onKeydown: y(j)
617
615
  }, null, 8, [
618
616
  "visible",
619
617
  "is-editing-link",
@@ -628,7 +626,6 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
628
626
  ]));
629
627
  }
630
628
  }), Be = /* @__PURE__ */ e({ default: () => Ve }), Ve = ze;
631
- //#endregion
632
629
  export { Ve as default, W as n, Be as t };
633
630
 
634
- //# sourceMappingURL=ParagraphEditor-CqSj6Ayz.js.map
631
+ //# sourceMappingURL=ParagraphEditor-B3Rj_cWF.js.map