@templatical/editor 0.52.1 → 0.54.0

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 (397) hide show
  1. package/README.md +1 -1
  2. package/dist/AiAltTextPopover-NMJqQKvD.js +106 -0
  3. package/dist/{AiAltTextReview-9ySsXOTU.js → AiAltTextReview-Ci4zHwRc.js} +68 -66
  4. package/dist/AiChatPanel-C8SeEJRP.js +561 -0
  5. package/dist/{AiPanels-DqT4PgQ0.js → AiPanels-CR6zphjP.js} +6 -6
  6. package/dist/{AiRewriteMenu-28agTycW.js → AiRewriteMenu-CIHUnPud.js} +76 -105
  7. package/dist/BlockIssueBadge-DaPTq1RE.js +33 -0
  8. package/dist/BlockPreviewCanvas-B70RSavL.js +140 -0
  9. package/dist/{CloudHeaderExtras-QI82yF54.js → CloudHeaderExtras-XpjJjn3o.js} +4 -4
  10. package/dist/{CloudPanels-BKJaLkUN.js → CloudPanels-VpSQiLLL.js} +53 -53
  11. package/dist/CollaborationNotices-Cnx0XHzZ.js +65 -0
  12. package/dist/{CollaboratorBar-CXQqN3VP.js → CollaboratorBar-BaBoNhwB.js} +24 -24
  13. package/dist/CommentsPanel-Ck3QmqiC.js +16 -0
  14. package/dist/CommentsSidebar-CHknhOar.js +526 -0
  15. package/dist/{CountdownBlock-CU2yTWtF.js → CountdownBlock-BMezkFbJ.js} +15 -15
  16. package/dist/CountdownToolbar-CM4XNEuO.js +258 -0
  17. package/dist/IssuesPanel-1wGV0wiy.js +371 -0
  18. package/dist/LanguageMenu-d2GlX67r.js +403 -0
  19. package/dist/{LoadingTrack-DM4g6j7b.js → LoadingTrack-BG8cg9xi.js} +2 -2
  20. package/dist/LocaleNotices-WzsYtBRs.js +46 -0
  21. package/dist/LogicTagInsertButton-DgTJ6Lvx.js +1096 -0
  22. package/dist/{MediaEditModal-Dy08GEwE.js → MediaEditModal-C3U9Mi31.js} +451 -451
  23. package/dist/{MediaPanels-BgEp7iCp.js → MediaPanels-CGmk9ufe.js} +4 -4
  24. package/dist/{MergeTagInput-B9dtUthD.js → MergeTagInput-B_51YcQO.js} +30 -30
  25. package/dist/{MergeTagModeToggle-DxujhYJ4.js → MergeTagModeToggle-D3Q2z317.js} +49 -49
  26. package/dist/MergeTagTextarea-DZz1L9DE.js +126 -0
  27. package/dist/ParagraphEditor-CI68PYDL.js +825 -0
  28. package/dist/{RestoreVersionDialog-C4s_JYCx.js → RestoreVersionDialog-DcuhpOIz.js} +23 -23
  29. package/dist/{RichTextEditorContent-o6HmE8GR.js → RichTextEditorContent-Dstovi0m.js} +47 -47
  30. package/dist/{SaveBlockDialog-CWLrly6l.js → SaveBlockDialog-vuwvoi-d.js} +86 -86
  31. package/dist/{cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js → SavedBlocksBrowserModal-DUJm0dOv.js} +135 -132
  32. package/dist/{SavedBlocksPanels-BE1N9rNZ.js → SavedBlocksPanels-BiMXQ5lY.js} +9 -9
  33. package/dist/{SavedBlocksPickBar-Dwl94xhP.js → SavedBlocksPickBar-CAstZfG7.js} +15 -15
  34. package/dist/TemplateSettings-Baar78_s.js +294 -0
  35. package/dist/TestEmailModal-Bl_GHdrN.js +212 -0
  36. package/dist/{TestEmailPanel-DaFjP9QK.js → TestEmailPanel-CpTBF7B5.js} +4 -4
  37. package/dist/TitleEditor-DkbEDAZB.js +202 -0
  38. package/dist/ToggleSwitch-R3wCCYE6.js +43 -0
  39. package/dist/Toolbar-bOZ_eq7X.js +3711 -0
  40. package/dist/{TplModal-DLMssVlt.js → TplModal-wk2gLa7_.js} +17 -17
  41. package/dist/{VersionHistoryMenu-BkbYUs0Q.js → VersionHistoryMenu-BnP0EyLl.js} +39 -39
  42. package/dist/{VersionHistoryPanels-DP7HaYWv.js → VersionHistoryPanels-Cq2rFKIX.js} +5 -5
  43. package/dist/VersionPreviewBanner-BPP939cD.js +37 -0
  44. package/dist/WrapperBlock-cWT_nZgQ.js +44 -0
  45. package/dist/{blockTypeIcons-BHjlPnPf.js → blockTypeIcons-BUyPZ7Su.js} +7 -7
  46. package/dist/bundle-stats.json +8 -8
  47. package/dist/{cdn/chunks/ca-CD-Kt1qz.js → ca-DOuIxWRv.js} +114 -2
  48. package/dist/cdn/chunks/AiAltTextPopover-Cnc_kUmb.js +107 -0
  49. package/dist/cdn/chunks/AiAltTextPopover-Cnc_kUmb.js.map +1 -0
  50. package/dist/cdn/chunks/{AiAltTextReview-BGLLSKLm.js → AiAltTextReview-DPeSY-7r.js} +70 -68
  51. package/dist/cdn/chunks/AiAltTextReview-DPeSY-7r.js.map +1 -0
  52. package/dist/cdn/chunks/AiChatPanel-By8Uo1nH.js +487 -0
  53. package/dist/cdn/chunks/AiChatPanel-By8Uo1nH.js.map +1 -0
  54. package/dist/cdn/chunks/{AiPanels-0wBarZSH.js → AiPanels-BblCSkQy.js} +11 -11
  55. package/dist/cdn/chunks/{AiPanels-0wBarZSH.js.map → AiPanels-BblCSkQy.js.map} +1 -1
  56. package/dist/cdn/chunks/{AiRewriteMenu-qf-cfEpy.js → AiRewriteMenu-C4btyN4W.js} +79 -79
  57. package/dist/cdn/chunks/AiRewriteMenu-C4btyN4W.js.map +1 -0
  58. package/dist/cdn/chunks/BlockIssueBadge-D3Plo_wt.js +34 -0
  59. package/dist/cdn/chunks/BlockIssueBadge-D3Plo_wt.js.map +1 -0
  60. package/dist/cdn/chunks/BlockPreviewCanvas-CTKmBPsq.js +142 -0
  61. package/dist/cdn/chunks/{BlockPreviewCanvas-DGBh6mqe.js.map → BlockPreviewCanvas-CTKmBPsq.js.map} +1 -1
  62. package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js → CloudHeaderExtras-BtqdN777.js} +4 -4
  63. package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js.map → CloudHeaderExtras-BtqdN777.js.map} +1 -1
  64. package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js → CloudPanels-COU26R83.js} +45 -45
  65. package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js.map → CloudPanels-COU26R83.js.map} +1 -1
  66. package/dist/cdn/chunks/CollaborationNotices-DraFUhyo.js +67 -0
  67. package/dist/cdn/chunks/CollaborationNotices-DraFUhyo.js.map +1 -0
  68. package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js → CollaboratorBar-0OEH3hrj.js} +17 -17
  69. package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js.map → CollaboratorBar-0OEH3hrj.js.map} +1 -1
  70. package/dist/cdn/chunks/CommentsPanel-tZZswofV.js +18 -0
  71. package/dist/cdn/chunks/{CommentsPanel-DoJnKLXI.js.map → CommentsPanel-tZZswofV.js.map} +1 -1
  72. package/dist/cdn/chunks/CommentsSidebar-7Hfl3Hdj.js +496 -0
  73. package/dist/cdn/chunks/CommentsSidebar-7Hfl3Hdj.js.map +1 -0
  74. package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js → CountdownBlock-CjMhMhnv.js} +22 -22
  75. package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js.map → CountdownBlock-CjMhMhnv.js.map} +1 -1
  76. package/dist/cdn/chunks/CountdownToolbar-CNgsNL5-.js +260 -0
  77. package/dist/cdn/chunks/CountdownToolbar-CNgsNL5-.js.map +1 -0
  78. package/dist/cdn/chunks/{IssuesPanel-C7LfxaAY.js → IssuesPanel-Duic0mIs.js} +133 -121
  79. package/dist/cdn/chunks/IssuesPanel-Duic0mIs.js.map +1 -0
  80. package/dist/cdn/chunks/LanguageMenu-B1Aue_lf.js +359 -0
  81. package/dist/cdn/chunks/LanguageMenu-B1Aue_lf.js.map +1 -0
  82. package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js → LoadingTrack-DUYcDHOV.js} +2 -2
  83. package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js.map → LoadingTrack-DUYcDHOV.js.map} +1 -1
  84. package/dist/cdn/chunks/LocaleNotices-8J2DRWeg.js +47 -0
  85. package/dist/cdn/chunks/LocaleNotices-8J2DRWeg.js.map +1 -0
  86. package/dist/{LogicTagInsertButton-CfscnwCn.js → cdn/chunks/LogicTagInsertButton-Bhvi0nWz.js} +422 -449
  87. package/dist/cdn/chunks/LogicTagInsertButton-Bhvi0nWz.js.map +1 -0
  88. package/dist/cdn/chunks/{MediaEditModal-Cpcod6_U.js → MediaEditModal-Dz972UFx.js} +421 -421
  89. package/dist/cdn/chunks/MediaEditModal-Dz972UFx.js.map +1 -0
  90. package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js → MediaPanels-C6Hqtp1H.js} +5 -5
  91. package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js.map → MediaPanels-C6Hqtp1H.js.map} +1 -1
  92. package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js → MergeTagInput-CrhZm-AW.js} +28 -28
  93. package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js.map → MergeTagInput-CrhZm-AW.js.map} +1 -1
  94. package/dist/cdn/chunks/{MergeTagModeToggle-BgKEVUtV.js → MergeTagModeToggle-CWVtXLYa.js} +52 -52
  95. package/dist/cdn/chunks/MergeTagModeToggle-CWVtXLYa.js.map +1 -0
  96. package/dist/cdn/chunks/MergeTagTextarea-hTIBwX0F.js +128 -0
  97. package/dist/cdn/chunks/MergeTagTextarea-hTIBwX0F.js.map +1 -0
  98. package/dist/cdn/chunks/ParagraphEditor-B2UU1Q5I.js +660 -0
  99. package/dist/cdn/chunks/ParagraphEditor-B2UU1Q5I.js.map +1 -0
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js → RestoreVersionDialog-C1Y5Ewo_.js} +22 -22
  101. package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js.map → RestoreVersionDialog-C1Y5Ewo_.js.map} +1 -1
  102. package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js → RichTextEditorContent-up4AqL7D.js} +44 -44
  103. package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js.map → RichTextEditorContent-up4AqL7D.js.map} +1 -1
  104. package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js → SaveBlockDialog-B9lwEP_T.js} +77 -77
  105. package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js.map → SaveBlockDialog-B9lwEP_T.js.map} +1 -1
  106. package/dist/{SavedBlocksBrowserModal-CE8n4EBS.js → cdn/chunks/SavedBlocksBrowserModal-fAeHUyxb.js} +103 -106
  107. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BPYcRoGa.js.map → SavedBlocksBrowserModal-fAeHUyxb.js.map} +1 -1
  108. package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js → SavedBlocksPanels-DRDTLDyZ.js} +9 -9
  109. package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js.map → SavedBlocksPanels-DRDTLDyZ.js.map} +1 -1
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js → SavedBlocksPickBar-B6b5z-o3.js} +16 -16
  111. package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js.map → SavedBlocksPickBar-B6b5z-o3.js.map} +1 -1
  112. package/dist/cdn/chunks/TemplateSettings-CWUpUKJb.js +266 -0
  113. package/dist/cdn/chunks/TemplateSettings-CWUpUKJb.js.map +1 -0
  114. package/dist/cdn/chunks/TestEmailModal-DQxnW5Q5.js +212 -0
  115. package/dist/cdn/chunks/TestEmailModal-DQxnW5Q5.js.map +1 -0
  116. package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js → TestEmailPanel-BcO_-16H.js} +5 -5
  117. package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js.map → TestEmailPanel-BcO_-16H.js.map} +1 -1
  118. package/dist/cdn/chunks/TitleEditor-pmycpmTd.js +202 -0
  119. package/dist/cdn/chunks/TitleEditor-pmycpmTd.js.map +1 -0
  120. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js +45 -0
  121. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js.map +1 -0
  122. package/dist/cdn/chunks/Toolbar-BlWVQRcA.js +3626 -0
  123. package/dist/cdn/chunks/Toolbar-BlWVQRcA.js.map +1 -0
  124. package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js → TplModal-ClSSGX7a.js} +20 -20
  125. package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js.map → TplModal-ClSSGX7a.js.map} +1 -1
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js → VersionHistoryMenu-CZury5gU.js} +33 -33
  127. package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js.map → VersionHistoryMenu-CZury5gU.js.map} +1 -1
  128. package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js → VersionHistoryPanels-B8GPBKMq.js} +6 -6
  129. package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js.map → VersionHistoryPanels-B8GPBKMq.js.map} +1 -1
  130. package/dist/cdn/chunks/VersionPreviewBanner-C4Ji8nu4.js +39 -0
  131. package/dist/cdn/chunks/VersionPreviewBanner-C4Ji8nu4.js.map +1 -0
  132. package/dist/cdn/chunks/WrapperBlock-BoUflYwY.js +46 -0
  133. package/dist/cdn/chunks/WrapperBlock-BoUflYwY.js.map +1 -0
  134. package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js → blockTypeIcons-Cc6RJ27V.js} +5 -5
  135. package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js.map → blockTypeIcons-Cc6RJ27V.js.map} +1 -1
  136. package/dist/{ca-CD-Kt1qz.js → cdn/chunks/ca-DOuIxWRv.js} +116 -0
  137. package/dist/cdn/chunks/ca-DOuIxWRv.js.map +1 -0
  138. package/dist/cdn/chunks/composables-C1KU4ZHw.js +3039 -0
  139. package/dist/cdn/chunks/composables-C1KU4ZHw.js.map +1 -0
  140. package/dist/cdn/chunks/{createCloudRuntime-Cth2JCEh.js → createCloudRuntime-C2Zs5F1O.js} +75 -73
  141. package/dist/cdn/chunks/createCloudRuntime-C2Zs5F1O.js.map +1 -0
  142. package/dist/{de-CeFJ6wbM.js → cdn/chunks/de-DaOUfYBX.js} +116 -0
  143. package/dist/cdn/chunks/de-DaOUfYBX.js.map +1 -0
  144. package/dist/cdn/chunks/{dist-8ym3y-pH.js → dist-BzXULHvI.js} +48 -48
  145. package/dist/cdn/chunks/{dist-8ym3y-pH.js.map → dist-BzXULHvI.js.map} +1 -1
  146. package/dist/cdn/chunks/{dist-BMzNabtD.js → dist-DqGgijFI.js} +114 -114
  147. package/dist/cdn/chunks/{dist-BMzNabtD.js.map → dist-DqGgijFI.js.map} +1 -1
  148. package/dist/cdn/chunks/{draggable-Du8AUMFT.js → draggable-DepKdldn.js} +1491 -1486
  149. package/dist/cdn/chunks/draggable-DepKdldn.js.map +1 -0
  150. package/dist/cdn/chunks/{editor-modal-CyCe560f.js → editor-modal-erQEOHZN.js} +781 -781
  151. package/dist/cdn/chunks/{editor-modal-CyCe560f.js.map → editor-modal-erQEOHZN.js.map} +1 -1
  152. package/dist/cdn/chunks/en-B6tLGRHq.js +1 -0
  153. package/dist/{en-D14i5nFh.js → cdn/chunks/en-C0pHHMiR.js} +116 -0
  154. package/dist/cdn/chunks/en-C0pHHMiR.js.map +1 -0
  155. package/dist/{es-zDacbMhs.js → cdn/chunks/es-CxyEKr6n.js} +116 -0
  156. package/dist/cdn/chunks/es-CxyEKr6n.js.map +1 -0
  157. package/dist/cdn/chunks/{extensions-CFF2KWy-.js → extensions-DcMKZpzh.js} +59 -59
  158. package/dist/cdn/chunks/{extensions-CFF2KWy-.js.map → extensions-DcMKZpzh.js.map} +1 -1
  159. package/dist/{fr-CSgYtjOd.js → cdn/chunks/fr-CYbamiI6.js} +116 -0
  160. package/dist/cdn/chunks/fr-CYbamiI6.js.map +1 -0
  161. package/dist/cdn/chunks/{icons-okSPsLOa.js → icons-Da9GKjPx.js} +188 -147
  162. package/dist/cdn/chunks/icons-Da9GKjPx.js.map +1 -0
  163. package/dist/{ja-B7H3ID8O.js → cdn/chunks/ja-DfaIAoGI.js} +116 -0
  164. package/dist/cdn/chunks/ja-DfaIAoGI.js.map +1 -0
  165. package/dist/cdn/chunks/keys-CoQtCqNv.js +11 -0
  166. package/dist/cdn/chunks/keys-CoQtCqNv.js.map +1 -0
  167. package/dist/cdn/chunks/languageName-DEEOhDWI.js +12 -0
  168. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +1 -0
  169. package/dist/{nl-176ySmc5.js → cdn/chunks/nl-DkrB-VKZ.js} +116 -0
  170. package/dist/cdn/chunks/nl-DkrB-VKZ.js.map +1 -0
  171. package/dist/cdn/chunks/normalizeMergeTagMarkup-cC32Ox6A.js +290 -0
  172. package/dist/cdn/chunks/normalizeMergeTagMarkup-cC32Ox6A.js.map +1 -0
  173. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js +16 -0
  174. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js.map +1 -0
  175. package/dist/cdn/chunks/plural-CyxrJXL1.js +17 -0
  176. package/dist/cdn/chunks/plural-CyxrJXL1.js.map +1 -0
  177. package/dist/{preRenderCustomBlocks--_xc0XK3.js → cdn/chunks/preRenderCustomBlocks-f7GEKdvw.js} +5 -3
  178. package/dist/cdn/chunks/{preRenderCustomBlocks-BcXIz7oJ.js.map → preRenderCustomBlocks-f7GEKdvw.js.map} +1 -1
  179. package/dist/{pt-BR-dDlTwX18.js → cdn/chunks/pt-BR-CY5Ye7eP.js} +116 -0
  180. package/dist/cdn/chunks/pt-BR-CY5Ye7eP.js.map +1 -0
  181. package/dist/cdn/chunks/sanitizeHtml-WTfz9lZd.js +61 -0
  182. package/dist/cdn/chunks/sanitizeHtml-WTfz9lZd.js.map +1 -0
  183. package/dist/cdn/chunks/socialIcons-DeCYorUT.js +2638 -0
  184. package/dist/cdn/chunks/socialIcons-DeCYorUT.js.map +1 -0
  185. package/dist/cdn/chunks/{src-DEd87i_U.js → src-A_cKeTM_.js} +618 -461
  186. package/dist/cdn/chunks/src-A_cKeTM_.js.map +1 -0
  187. package/dist/cdn/chunks/src-BQUv2CYU.js +2606 -0
  188. package/dist/cdn/chunks/src-BQUv2CYU.js.map +1 -0
  189. package/dist/cdn/chunks/src-BWX_xVxO.js +671 -0
  190. package/dist/cdn/chunks/src-BWX_xVxO.js.map +1 -0
  191. package/dist/{styleConstants-B8xVRiwX.js → cdn/chunks/styleConstants-CgiNKdnc.js} +7 -5
  192. package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +1 -0
  193. package/dist/cdn/chunks/templateSettingsFields-cjlP-jdw.js.map +1 -1
  194. package/dist/cdn/chunks/{tiptap-CbiTlECY.js → tiptap-Dipw_zOQ.js} +40 -40
  195. package/dist/cdn/chunks/{tiptap-CbiTlECY.js.map → tiptap-Dipw_zOQ.js.map} +1 -1
  196. package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js → useCloudI18n-Cc5NZqiI.js} +3 -3
  197. package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js.map → useCloudI18n-Cc5NZqiI.js.map} +1 -1
  198. package/dist/cdn/chunks/useEditorRoot-D_LuZ_hE.js +9 -0
  199. package/dist/cdn/chunks/{useEditorRoot-vjZJwKrV.js.map → useEditorRoot-D_LuZ_hE.js.map} +1 -1
  200. package/dist/cdn/chunks/{useI18n-D8pY4LTq.js → useI18n-BnJYydPv.js} +3 -3
  201. package/dist/cdn/chunks/{useI18n-D8pY4LTq.js.map → useI18n-BnJYydPv.js.map} +1 -1
  202. package/dist/cdn/chunks/useLocalizedDisplay-aGfnO90D.js +33 -0
  203. package/dist/cdn/chunks/useLocalizedDisplay-aGfnO90D.js.map +1 -0
  204. package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js → useLogicTag-DtYe8HIq.js} +5 -5
  205. package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js.map → useLogicTag-DtYe8HIq.js.map} +1 -1
  206. package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js → useMergeTag-B8ULmsnp.js} +6 -6
  207. package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js.map → useMergeTag-B8ULmsnp.js.map} +1 -1
  208. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js +78 -0
  209. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js.map +1 -0
  210. package/dist/cdn/chunks/{useScrollToBlock-vjQ0fe-L.js → useScrollToBlock-Ct1AwLD-.js} +5 -5
  211. package/dist/cdn/chunks/useScrollToBlock-Ct1AwLD-.js.map +1 -0
  212. package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js → withCurrentFont-MK8ga9q9.js} +2 -2
  213. package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js.map → withCurrentFont-MK8ga9q9.js.map} +1 -1
  214. package/dist/cdn/editor.css +1 -1
  215. package/dist/cdn/editor.js +2189 -1495
  216. package/dist/cdn/editor.js.map +1 -1
  217. package/dist/{check-BZ8o0eet.js → check-XMnOOIEC.js} +1 -1
  218. package/dist/{chevron-down-DfAAfILv.js → chevron-down-DmamTEWQ.js} +1 -1
  219. package/dist/{chevron-right-Bk4mGdr7.js → chevron-right-BEFXOH27.js} +1 -1
  220. package/dist/{chevron-up-MhUf_azW.js → chevron-up-Dw7woXj8.js} +1 -1
  221. package/dist/{circle-alert-CShJwVFv.js → circle-alert-BTKC9vkq.js} +1 -1
  222. package/dist/{clock-CTfD6OCt.js → clock-BVT5u2uG.js} +1 -1
  223. package/dist/composables-CMIrGXJ1.js +4517 -0
  224. package/dist/{createCloudRuntime-DCgO4A1r.js → createCloudRuntime-DGV5a5Af.js} +54 -52
  225. package/dist/{createLucideIcon-CvhTA2KG.js → createLucideIcon-CgDE3xAR.js} +16 -16
  226. package/dist/{cdn/chunks/de-CeFJ6wbM.js → de-DaOUfYBX.js} +114 -2
  227. package/dist/{dist-ByCWA2Tv.js → dist-0alKVRc_.js} +101 -101
  228. package/dist/{dist-Cy8I5scI.js → dist-54VCNoC0.js} +2 -2
  229. package/dist/dist-6DU0me3E.js +4 -0
  230. package/dist/{dist-p3wymUDt.js → dist-B8dY8drK.js} +2 -2
  231. package/dist/{dist-Dd5MU2Ev.js → dist-B9a7iVye.js} +2 -2
  232. package/dist/{dist-V7W1UhVr.js → dist-BWflWcpW.js} +2 -2
  233. package/dist/{dist-D6fZec6r.js → dist-C3hu_C3w.js} +2 -2
  234. package/dist/{dist-CVy-7PHQ.js → dist-CX7skkvG.js} +48 -48
  235. package/dist/dist-CcOn7WCo.js +4 -0
  236. package/dist/dist-Cdkm20M6.js +2542 -0
  237. package/dist/{dist-BS5uKktL.js → dist-ChOb5XHW.js} +2 -2
  238. package/dist/{dist-BF5zEHop.js → dist-DZ3X-uB8.js} +2 -2
  239. package/dist/{dist-CWSG7Kj0.js → dist-D_XrUEET.js} +5 -5
  240. package/dist/{dist-txQLT2sF.js → dist-TAv500j6.js} +2 -2
  241. package/dist/{dist-D6cMdrfG.js → dist-fqSers8_.js} +55 -55
  242. package/dist/{editor-modal-zaZHcmlO.js → editor-modal-BeX6otLk.js} +953 -952
  243. package/dist/{cdn/chunks/en-D14i5nFh.js → en-C0pHHMiR.js} +114 -2
  244. package/dist/en-Do0SU6tR.js +1 -0
  245. package/dist/{cdn/chunks/es-zDacbMhs.js → es-CxyEKr6n.js} +114 -2
  246. package/dist/{extensions-fo_c-vqf.js → extensions-BJ184osp.js} +173 -173
  247. package/dist/{eye-7W4t5e0Q.js → eye-ByMgHeA_.js} +1 -1
  248. package/dist/{cdn/chunks/fr-CSgYtjOd.js → fr-CYbamiI6.js} +114 -2
  249. package/dist/{image-BDiRFzSd.js → image-Ch8tR35K.js} +1 -1
  250. package/dist/index.d.ts +182 -14
  251. package/dist/{info-Cxi3-Kh9.js → info-DzSD-Wpk.js} +1 -1
  252. package/dist/{cdn/chunks/ja-B7H3ID8O.js → ja-DfaIAoGI.js} +114 -2
  253. package/dist/keys-BCqskl51.js +9 -0
  254. package/dist/languageName-DEEOhDWI.js +10 -0
  255. package/dist/{link-ju_2Cmir.js → link-oDn9AR2w.js} +1 -1
  256. package/dist/{list-DYZJf0aZ.js → list-C5t07dp8.js} +1 -1
  257. package/dist/{loader-circle-BZRD0a4I.js → loader-circle-k6xvKgUB.js} +1 -1
  258. package/dist/{message-circle-DuEw4Zfx.js → message-circle-C23R6OJR.js} +1 -1
  259. package/dist/{cdn/chunks/nl-176ySmc5.js → nl-DkrB-VKZ.js} +114 -2
  260. package/dist/normalizeMergeTagMarkup-CUCo7B5X.js +288 -0
  261. package/dist/noticeTones-D7BPu-Le.js +14 -0
  262. package/dist/{package-CePMr2kK.js → package-C90eQ7NU.js} +1 -1
  263. package/dist/{pencil-D3aFCL7c.js → pencil-BK7GrQuA.js} +1 -1
  264. package/dist/plural-CyxrJXL1.js +15 -0
  265. package/dist/plus-Cr0Mis63.js +13 -0
  266. package/dist/{cdn/chunks/preRenderCustomBlocks-BcXIz7oJ.js → preRenderCustomBlocks-Bs3N9no-.js} +4 -6
  267. package/dist/{cdn/chunks/pt-BR-dDlTwX18.js → pt-BR-CY5Ye7eP.js} +114 -2
  268. package/dist/{refresh-cw-xnro7_Sk.js → refresh-cw-_ZLOIEvA.js} +2 -12
  269. package/dist/rotate-ccw-CB5wsHwv.js +13 -0
  270. package/dist/{runtime-dom.esm-bundler-BURR-bj5.js → runtime-dom.esm-bundler-DlHp8xgy.js} +154 -154
  271. package/dist/sanitizeHtml-2rjV0r-6.js +962 -0
  272. package/dist/{search-CDrstRBv.js → search-BmrQNox8.js} +1 -1
  273. package/dist/{send-DROkPOaX.js → send-blAsIBBg.js} +1 -1
  274. package/dist/{smartphone-Bx6u_tjn.js → smartphone-BPpWYrwV.js} +1 -1
  275. package/dist/socialIcons-TFiOkpoU.js +2705 -0
  276. package/dist/{sparkles-CdaTtvoz.js → sparkles-OqIxrNp-.js} +1 -1
  277. package/dist/{square-BbCROH_f.js → square-BP-V7iT-.js} +1 -1
  278. package/dist/style.css +1 -1
  279. package/dist/{cdn/chunks/styleConstants-B8xVRiwX.js → styleConstants-CgiNKdnc.js} +5 -7
  280. package/dist/templatical-editor.js +2438 -1752
  281. package/dist/{text-align-start-CGacJ9Vw.js → text-align-start-4mwX2o-F.js} +13 -13
  282. package/dist/{trash-DxCd7zIy.js → trash-B99WixTA.js} +1 -1
  283. package/dist/{triangle-alert-7_oaitpf.js → triangle-alert-CHMiDkHa.js} +1 -1
  284. package/dist/{upload-DuFEOi_0.js → upload-Cp8o-hrN.js} +1 -1
  285. package/dist/{useCloudI18n-DEMmUKuO.js → useCloudI18n-Dh2iydo1.js} +4 -4
  286. package/dist/useEditorRoot-DY3mgcHm.js +7 -0
  287. package/dist/{useI18n-BBrHTdu8.js → useI18n-CgtvtF4C.js} +4 -4
  288. package/dist/useLocalizedDisplay-DNNwDRxL.js +31 -0
  289. package/dist/{useLogicTag-ZPC39rfH.js → useLogicTag-BXXXQQmi.js} +4 -4
  290. package/dist/{useMergeTag-BQ4qqWpQ.js → useMergeTag-C9Okr87y.js} +5 -5
  291. package/dist/usePopoverPosition-VDQjyX_A.js +76 -0
  292. package/dist/{useScrollToBlock-BSyAV4pk.js → useScrollToBlock-B35ObCGK.js} +5 -5
  293. package/dist/{vue.runtime.esm-bundler-CnEeTfhs.js → vue.runtime.esm-bundler-BJXc_Mri.js} +1373 -1368
  294. package/dist/withCurrentFont-DJiQqZzL.js +18 -0
  295. package/dist/{x-BpfG7v9g.js → x-BIBStNMS.js} +1 -1
  296. package/package.json +21 -21
  297. package/dist/AiAltTextPopover-DawbUywc.js +0 -105
  298. package/dist/AiChatPanel-CupPhmsN.js +0 -548
  299. package/dist/BlockIssueBadge-BxpDy3u-.js +0 -33
  300. package/dist/BlockPreviewCanvas-B-4bmJ3t.js +0 -140
  301. package/dist/CollaborationNotices-CTw4JThq.js +0 -75
  302. package/dist/CommentsPanel-DwwFuh1h.js +0 -16
  303. package/dist/CommentsSidebar-9ZfiC2DO.js +0 -500
  304. package/dist/CountdownToolbar-BqoYzf_6.js +0 -197
  305. package/dist/IssuesPanel-4ykrf1ax.js +0 -359
  306. package/dist/MergeTagTextarea-CPFEjJZd.js +0 -69
  307. package/dist/ParagraphEditor-CWXfurGh.js +0 -796
  308. package/dist/TemplateSettings-CS0f1Ues.js +0 -236
  309. package/dist/TestEmailModal-DBD0X5nV.js +0 -209
  310. package/dist/TitleEditor-DSqtle77.js +0 -198
  311. package/dist/ToggleSwitch-JykPyD_8.js +0 -36
  312. package/dist/Toolbar-BZPFfKrf.js +0 -3145
  313. package/dist/VersionPreviewBanner-DECaBwLq.js +0 -37
  314. package/dist/WrapperBlock-BsJv_Fiw.js +0 -44
  315. package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js +0 -106
  316. package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js.map +0 -1
  317. package/dist/cdn/chunks/AiAltTextReview-BGLLSKLm.js.map +0 -1
  318. package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js +0 -474
  319. package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js.map +0 -1
  320. package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +0 -1
  321. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +0 -34
  322. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +0 -1
  323. package/dist/cdn/chunks/BlockPreviewCanvas-DGBh6mqe.js +0 -142
  324. package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js +0 -77
  325. package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js.map +0 -1
  326. package/dist/cdn/chunks/CommentsPanel-DoJnKLXI.js +0 -18
  327. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js +0 -470
  328. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +0 -1
  329. package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js +0 -199
  330. package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js.map +0 -1
  331. package/dist/cdn/chunks/IssuesPanel-C7LfxaAY.js.map +0 -1
  332. package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js +0 -1051
  333. package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js.map +0 -1
  334. package/dist/cdn/chunks/MediaEditModal-Cpcod6_U.js.map +0 -1
  335. package/dist/cdn/chunks/MergeTagModeToggle-BgKEVUtV.js.map +0 -1
  336. package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js +0 -71
  337. package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js.map +0 -1
  338. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js +0 -631
  339. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +0 -1
  340. package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js +0 -208
  341. package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js.map +0 -1
  342. package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js +0 -209
  343. package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js.map +0 -1
  344. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js +0 -198
  345. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +0 -1
  346. package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js +0 -38
  347. package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js.map +0 -1
  348. package/dist/cdn/chunks/Toolbar-CdpsvNOR.js +0 -3061
  349. package/dist/cdn/chunks/Toolbar-CdpsvNOR.js.map +0 -1
  350. package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js +0 -39
  351. package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js.map +0 -1
  352. package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js +0 -46
  353. package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js.map +0 -1
  354. package/dist/cdn/chunks/ca-CD-Kt1qz.js.map +0 -1
  355. package/dist/cdn/chunks/createCloudRuntime-Cth2JCEh.js.map +0 -1
  356. package/dist/cdn/chunks/de-CeFJ6wbM.js.map +0 -1
  357. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +0 -1
  358. package/dist/cdn/chunks/en-D14i5nFh.js.map +0 -1
  359. package/dist/cdn/chunks/en-TIqv4ag3.js +0 -1
  360. package/dist/cdn/chunks/es-zDacbMhs.js.map +0 -1
  361. package/dist/cdn/chunks/fr-CSgYtjOd.js.map +0 -1
  362. package/dist/cdn/chunks/icons-okSPsLOa.js.map +0 -1
  363. package/dist/cdn/chunks/ja-B7H3ID8O.js.map +0 -1
  364. package/dist/cdn/chunks/keys-CUj6UA38.js +0 -11
  365. package/dist/cdn/chunks/keys-CUj6UA38.js.map +0 -1
  366. package/dist/cdn/chunks/nl-176ySmc5.js.map +0 -1
  367. package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js +0 -198
  368. package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js.map +0 -1
  369. package/dist/cdn/chunks/pt-BR-dDlTwX18.js.map +0 -1
  370. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +0 -72
  371. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +0 -1
  372. package/dist/cdn/chunks/socialIcons-jsTDmkbb.js +0 -2008
  373. package/dist/cdn/chunks/socialIcons-jsTDmkbb.js.map +0 -1
  374. package/dist/cdn/chunks/src-C7bkofBL.js +0 -647
  375. package/dist/cdn/chunks/src-C7bkofBL.js.map +0 -1
  376. package/dist/cdn/chunks/src-DEd87i_U.js.map +0 -1
  377. package/dist/cdn/chunks/src-DwWrYnUj.js +0 -1404
  378. package/dist/cdn/chunks/src-DwWrYnUj.js.map +0 -1
  379. package/dist/cdn/chunks/styleConstants-B8xVRiwX.js.map +0 -1
  380. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +0 -2582
  381. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +0 -1
  382. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +0 -9
  383. package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js +0 -70
  384. package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js.map +0 -1
  385. package/dist/cdn/chunks/useScrollToBlock-vjQ0fe-L.js.map +0 -1
  386. package/dist/dist-CKi_npZM.js +0 -1344
  387. package/dist/dist-DyFArF_G.js +0 -4
  388. package/dist/dist-pA3ooG6N.js +0 -4
  389. package/dist/en-Db76vJbY.js +0 -1
  390. package/dist/keys-BgRERHzu.js +0 -9
  391. package/dist/normalizeMergeTagMarkup-CELnOlgK.js +0 -196
  392. package/dist/sanitizeHtml-BzfzpYJY.js +0 -942
  393. package/dist/socialIcons-D7MGsg0d.js +0 -2075
  394. package/dist/useEditorCore-BSo2sSID.js +0 -4059
  395. package/dist/useEditorRoot-BMcoCLBx.js +0 -7
  396. package/dist/usePopoverPosition-DV1PxL66.js +0 -68
  397. package/dist/withCurrentFont-B22FXAF5.js +0 -18
@@ -0,0 +1,825 @@
1
+ import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
+ import { Ft as t, L as n, M as r, Mt as i, P as a, Pt as o, Y as s, _ as c, a as l, c as u, ct as d, d as f, et as p, f as m, g as h, l as g, r as _, u as v, v as y, w as b, y as x } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
3
+ import { c as S, s as C } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
4
+ import { Rt as w } from "./dist-Cdkm20M6.js";
5
+ import { t as T } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
+ import { t as E } from "./createLucideIcon-CgDE3xAR.js";
7
+ import { B as D, L as O, R as k, V as A } from "./composables-CMIrGXJ1.js";
8
+ import { c as j, l as M, u as N } from "./LogicTagInsertButton-DgTJ6Lvx.js";
9
+ import { i as P, n as ee, r as te, t as ne } from "./RichTextEditorContent-Dstovi0m.js";
10
+ import { t as F } from "./link-oDn9AR2w.js";
11
+ import { t as re } from "./list-C5t07dp8.js";
12
+ import { t as ie } from "./loader-circle-k6xvKgUB.js";
13
+ import { n as ae, r as oe, t as se } from "./text-align-start-4mwX2o-F.js";
14
+ import { I as ce, M as le, b as ue, d as de, et as fe, it as pe, ot as me, v as I } from "./keys-BCqskl51.js";
15
+ import { t as L } from "./useI18n-CgtvtF4C.js";
16
+ import { n as R } from "./useLocalizedDisplay-DNNwDRxL.js";
17
+ import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-CgiNKdnc.js";
18
+ import { t as z } from "./dist-0alKVRc_.js";
19
+ import { n as B } from "./usePopoverPosition-VDQjyX_A.js";
20
+ import { n as ye, t as be } from "./withCurrentFont-DJiQqZzL.js";
21
+ var V = E({
22
+ name: "face-slightly-smiling",
23
+ size: 24,
24
+ node: [
25
+ ["path", {
26
+ d: "M15 10V9",
27
+ key: "4dkmfx"
28
+ }],
29
+ ["path", {
30
+ d: "M16.472 15a6 6 0 01-8.943 0",
31
+ key: "7qomzy"
32
+ }],
33
+ ["path", {
34
+ d: "M9 10V9",
35
+ key: "1lazqi"
36
+ }],
37
+ ["circle", {
38
+ cx: "12",
39
+ cy: "12",
40
+ r: "10",
41
+ key: "1mglay"
42
+ }]
43
+ ],
44
+ aliases: ["smile"]
45
+ }), xe = E({
46
+ name: "list-ordered",
47
+ size: 24,
48
+ node: [
49
+ ["path", {
50
+ d: "M11 5h10",
51
+ key: "1cz7ny"
52
+ }],
53
+ ["path", {
54
+ d: "M11 12h10",
55
+ key: "1438ji"
56
+ }],
57
+ ["path", {
58
+ d: "M11 19h10",
59
+ key: "11t30w"
60
+ }],
61
+ ["path", {
62
+ d: "M4 4h1v5",
63
+ key: "10yrso"
64
+ }],
65
+ ["path", {
66
+ d: "M4 9h2",
67
+ key: "r1h2o0"
68
+ }],
69
+ ["path", {
70
+ d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",
71
+ key: "xtkcd5"
72
+ }]
73
+ ]
74
+ }), Se = E({
75
+ name: "remove-formatting",
76
+ size: 24,
77
+ node: [
78
+ ["path", {
79
+ d: "M4 7V4h16v3",
80
+ key: "9msm58"
81
+ }],
82
+ ["path", {
83
+ d: "M5 20h6",
84
+ key: "1h6pxn"
85
+ }],
86
+ ["path", {
87
+ d: "M13 4 8 20",
88
+ key: "kqq6aj"
89
+ }],
90
+ ["path", {
91
+ d: "m15 15 5 5",
92
+ key: "me55sn"
93
+ }],
94
+ ["path", {
95
+ d: "m20 15-5 5",
96
+ key: "11p7ol"
97
+ }]
98
+ ]
99
+ }), Ce = E({
100
+ name: "strikethrough",
101
+ size: 24,
102
+ node: [
103
+ ["path", {
104
+ d: "M16 4H9a3 3 0 0 0-2.83 4",
105
+ key: "43sutm"
106
+ }],
107
+ ["path", {
108
+ d: "M14 12a4 4 0 0 1 0 8H6",
109
+ key: "nlfj13"
110
+ }],
111
+ ["line", {
112
+ x1: "4",
113
+ x2: "20",
114
+ y1: "12",
115
+ y2: "12",
116
+ key: "1e0a9i"
117
+ }]
118
+ ]
119
+ }), we = E({
120
+ name: "subscript",
121
+ size: 24,
122
+ node: [
123
+ ["path", {
124
+ d: "m4 5 8 8",
125
+ key: "1eunvl"
126
+ }],
127
+ ["path", {
128
+ d: "m12 5-8 8",
129
+ key: "1ah0jp"
130
+ }],
131
+ ["path", {
132
+ 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",
133
+ key: "e8ta8j"
134
+ }]
135
+ ]
136
+ }), Te = E({
137
+ name: "superscript",
138
+ size: 24,
139
+ node: [
140
+ ["path", {
141
+ d: "m4 19 8-8",
142
+ key: "hr47gm"
143
+ }],
144
+ ["path", {
145
+ d: "m12 19-8-8",
146
+ key: "1dhhmo"
147
+ }],
148
+ ["path", {
149
+ d: "M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",
150
+ key: "1dfcux"
151
+ }]
152
+ ]
153
+ }), Ee = E({
154
+ name: "text-align-justify",
155
+ size: 24,
156
+ node: [
157
+ ["path", {
158
+ d: "M3 5h18",
159
+ key: "1u36vt"
160
+ }],
161
+ ["path", {
162
+ d: "M3 12h18",
163
+ key: "1i2n21"
164
+ }],
165
+ ["path", {
166
+ d: "M3 19h18",
167
+ key: "awlh7x"
168
+ }]
169
+ ],
170
+ aliases: ["align-justify"]
171
+ }), De = E({
172
+ name: "underline",
173
+ size: 24,
174
+ node: [["path", {
175
+ d: "M6 4v6a6 6 0 0 0 12 0V4",
176
+ key: "9kb039"
177
+ }], ["line", {
178
+ x1: "4",
179
+ x2: "20",
180
+ y1: "20",
181
+ y2: "20",
182
+ key: "nun2al"
183
+ }]]
184
+ }), H = [
185
+ "value",
186
+ "aria-label",
187
+ "title"
188
+ ], U = { value: "" }, W = ["value"], G = /* @__PURE__ */ x({
189
+ __name: "ToolbarSelect",
190
+ props: {
191
+ modelValue: {},
192
+ options: {},
193
+ label: {},
194
+ placeholder: {},
195
+ widthClass: {}
196
+ },
197
+ emits: ["update:modelValue"],
198
+ setup(e, { emit: n }) {
199
+ let o = e, s = n;
200
+ function c(e) {
201
+ s("update:modelValue", e.target.value);
202
+ }
203
+ function l(e) {
204
+ return typeof e == "string" ? e : e.value;
205
+ }
206
+ function d(e) {
207
+ return typeof e == "string" ? e : e.label;
208
+ }
209
+ let f = /* @__PURE__ */ new Set([
210
+ "inherit",
211
+ "initial",
212
+ "unset",
213
+ "revert",
214
+ "revert-layer"
215
+ ]), p = u(() => f.has(o.modelValue) ? "" : o.modelValue), h = u(() => {
216
+ let e = p.value;
217
+ return e === "" || o.options.some((t) => l(t) === e) ? o.options : [e, ...o.options];
218
+ });
219
+ return (n, o) => (r(), m("select", {
220
+ class: i(["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"]),
221
+ value: p.value,
222
+ "aria-label": e.label,
223
+ title: e.label,
224
+ onChange: c
225
+ }, [g("option", U, t(e.placeholder ?? ""), 1), (r(!0), m(_, null, a(h.value, (e) => (r(), m("option", {
226
+ key: l(e),
227
+ value: l(e)
228
+ }, t(d(e)), 9, W))), 128))], 42, H));
229
+ }
230
+ }), K = [
231
+ "aria-label",
232
+ "title",
233
+ "aria-expanded"
234
+ ], q = ["aria-label"], J = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, Y = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, X = ["aria-label", "onClick"], Oe = /* @__PURE__ */ x({
235
+ __name: "EmojiPickerDropdown",
236
+ emits: ["insert"],
237
+ setup(e, { emit: n }) {
238
+ let o = n, { categories: s, isOpen: l, toggle: h, close: v } = D(), { t: y, format: b } = L(), x = p(null), w = p(null), T = u(() => l.value);
239
+ A(x, T), z(w, () => {
240
+ l.value && v();
241
+ });
242
+ function E(e) {
243
+ o("insert", e), v();
244
+ }
245
+ return (e, n) => (r(), m("div", {
246
+ ref_key: "rootRef",
247
+ ref: w,
248
+ class: "tpl:relative"
249
+ }, [g("button", {
250
+ type: "button",
251
+ class: i(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": d(l) }]),
252
+ "aria-label": d(y).paragraphEditor.insertEmoji,
253
+ title: d(y).paragraphEditor.insertEmoji,
254
+ "aria-expanded": d(l),
255
+ "aria-haspopup": "dialog",
256
+ "aria-controls": "tpl-emoji-picker",
257
+ onClick: n[0] ||= (...e) => d(h) && d(h)(...e)
258
+ }, [c(d(V), {
259
+ size: 16,
260
+ "stroke-width": 2
261
+ })], 10, K), d(l) ? (r(), m("div", {
262
+ key: 0,
263
+ id: "tpl-emoji-picker",
264
+ ref_key: "pickerRef",
265
+ ref: x,
266
+ role: "dialog",
267
+ "aria-modal": "false",
268
+ "aria-label": d(y).paragraphEditor.insertEmoji,
269
+ tabindex: "-1",
270
+ 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)]",
271
+ onKeydown: n[1] ||= C(S((...e) => d(v) && d(v)(...e), ["stop", "prevent"]), ["esc"])
272
+ }, [(r(!0), m(_, null, a(d(s), (e) => (r(), m("div", {
273
+ key: e.key,
274
+ class: "tpl:mb-2 tpl:last:mb-0"
275
+ }, [g("div", J, t(d(y).emoji[e.key]), 1), g("div", Y, [(r(!0), m(_, null, a(e.emojis, (e) => (r(), m("button", {
276
+ key: e,
277
+ type: "button",
278
+ "aria-label": d(b)(d(y).paragraphEditor.emojiItemLabel, { emoji: e }),
279
+ class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
280
+ onClick: (t) => E(e)
281
+ }, t(e), 9, X))), 128))])]))), 128))], 40, q)) : f("", !0)], 512));
282
+ }
283
+ }), Z = [
284
+ "aria-label",
285
+ "title",
286
+ "aria-pressed"
287
+ ], Q = /* @__PURE__ */ x({
288
+ __name: "ToolbarIconButton",
289
+ props: {
290
+ icon: {},
291
+ label: {},
292
+ active: { type: Boolean },
293
+ strokeWidth: {},
294
+ size: {}
295
+ },
296
+ setup(e) {
297
+ return (t, a) => (r(), m("button", {
298
+ type: "button",
299
+ class: i(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
300
+ "aria-label": e.label,
301
+ title: e.label,
302
+ "aria-pressed": e.active ? "true" : "false"
303
+ }, [(r(), v(n(e.icon), {
304
+ size: e.size ?? 16,
305
+ "stroke-width": e.strokeWidth ?? 2
306
+ }, null, 8, ["size", "stroke-width"]))], 10, Z));
307
+ }
308
+ }), ke = {}, Ae = {
309
+ class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
310
+ "aria-hidden": "true"
311
+ };
312
+ function je(e, t) {
313
+ return r(), m("span", Ae);
314
+ }
315
+ var $ = /*#__PURE__*/ T(ke, [["render", je]]);
316
+ // src/utils/richTextColor.ts
317
+ function Me(e, t) {
318
+ return e || t || "#000000";
319
+ }
320
+ // src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
321
+ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ie = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Le = ["aria-label", "title"], Re = ["aria-label", "title"], ze = {
322
+ key: 1,
323
+ class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
324
+ }, Be = /* @__PURE__ */ x({
325
+ __name: "ParagraphToolbar",
326
+ props: {
327
+ editor: {},
328
+ toolbarPosition: {},
329
+ isLoading: { type: Boolean },
330
+ isEditable: { type: Boolean },
331
+ canRequestMergeTag: { type: Boolean },
332
+ canInsertLogicTag: { type: Boolean }
333
+ },
334
+ emits: [
335
+ "open-link-dialog",
336
+ "add-merge-tag",
337
+ "add-logic-tag"
338
+ ],
339
+ setup(e, { emit: n }) {
340
+ let i = y(() => import("./AiRewriteMenu-CIHUnPud.js")), a = e, s = b(de, {}), p = u(() => s.ai?.isFeatureEnabled("rewrite") ?? !1), x = n, S = b(fe, null), C = b(pe, null), w = me(ue, "ParagraphToolbar"), T = B(), E = b(ce, null), D = b(le, null), O = b(I, null), k = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: A } = L(), ee = w.fonts, ne = _e.map((e) => ({
341
+ value: e,
342
+ label: e === "normal" ? A.paragraphEditor.letterSpacingNormal : e
343
+ }));
344
+ function R(e) {
345
+ a.isEditable !== !1 && a.editor?.chain().focus().insertContent(e).run();
346
+ }
347
+ function z(e) {
348
+ return a.editor?.getAttributes("textStyle")[e] || "";
349
+ }
350
+ function V(e) {
351
+ let t = a.editor?.chain().focus();
352
+ e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
353
+ }
354
+ function H(e) {
355
+ let t = a.editor?.chain().focus();
356
+ e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
357
+ }
358
+ function U() {
359
+ return a.editor?.isActive("link") ?? !1;
360
+ }
361
+ function W() {
362
+ return a.editor?.getAttributes("link").color || "";
363
+ }
364
+ function K(e) {
365
+ if (a.isEditable === !1) return;
366
+ let t = a.editor?.chain().focus();
367
+ t && (U() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
368
+ }
369
+ function q() {
370
+ let e = O?.content.value.settings;
371
+ return U() ? Me(W(), e?.linkColor || e?.textColor) : Me(z("color"), e?.textColor);
372
+ }
373
+ function J() {
374
+ return U() ? W() : z("color");
375
+ }
376
+ function Y() {
377
+ return a.editor?.getAttributes("paragraph").lineHeight || "";
378
+ }
379
+ function X(e) {
380
+ let t = a.editor?.chain().focus();
381
+ e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
382
+ }
383
+ function Z(e) {
384
+ let t = a.editor?.chain().focus();
385
+ e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
386
+ }
387
+ function ke() {
388
+ return a.editor?.getAttributes("highlight").color || "";
389
+ }
390
+ function Ae(e) {
391
+ if (a.isEditable === !1) return;
392
+ let t = a.editor?.chain().focus();
393
+ e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
394
+ }
395
+ return (n, a) => d(T) && !k.value ? (r(), v(l, {
396
+ key: 0,
397
+ to: d(T)
398
+ }, [g("div", {
399
+ "data-tpl-theme": d(C),
400
+ role: "toolbar",
401
+ "aria-label": d(A).paragraphEditor.toolbar,
402
+ 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)]",
403
+ style: o({
404
+ ...d(S),
405
+ top: `${e.toolbarPosition.top}px`,
406
+ left: `${e.toolbarPosition.left}px`,
407
+ transform: "translateY(-100%)",
408
+ flexDirection: "column"
409
+ })
410
+ }, [g("fieldset", {
411
+ disabled: e.isEditable === !1,
412
+ inert: e.isEditable === !1,
413
+ class: "tpl:contents"
414
+ }, [!e.isLoading && e.editor ? (r(), m(_, { key: 0 }, [g("div", Fe, [
415
+ c(G, {
416
+ "model-value": d(be)(z("fontFamily")),
417
+ options: d(ye)(d(ee), z("fontFamily")),
418
+ label: d(A).paragraphEditor.fontFamily,
419
+ placeholder: d(A).paragraphEditor.defaultFont,
420
+ "width-class": "tpl:w-32",
421
+ "onUpdate:modelValue": V
422
+ }, null, 8, [
423
+ "model-value",
424
+ "options",
425
+ "label",
426
+ "placeholder"
427
+ ]),
428
+ c(G, {
429
+ "model-value": z("fontSize"),
430
+ options: d(he),
431
+ label: d(A).paragraphEditor.fontSize,
432
+ placeholder: d(A).paragraphEditor.defaultSize,
433
+ "width-class": "tpl:w-20",
434
+ "onUpdate:modelValue": H
435
+ }, null, 8, [
436
+ "model-value",
437
+ "options",
438
+ "label",
439
+ "placeholder"
440
+ ]),
441
+ c($),
442
+ c(j, {
443
+ "swatch-only": "",
444
+ disabled: e.isEditable === !1,
445
+ size: "sm",
446
+ "data-testid": "text-color-picker",
447
+ "model-value": J(),
448
+ "seed-color": q(),
449
+ "aria-label": d(A).paragraphEditor.textColor,
450
+ "onUpdate:modelValue": K
451
+ }, null, 8, [
452
+ "disabled",
453
+ "model-value",
454
+ "seed-color",
455
+ "aria-label"
456
+ ]),
457
+ c(j, {
458
+ "swatch-only": "",
459
+ disabled: e.isEditable === !1,
460
+ size: "sm",
461
+ "data-testid": "highlight-color-picker",
462
+ "model-value": ke(),
463
+ "seed-color": d(ge),
464
+ "aria-label": d(A).paragraphEditor.highlightColor,
465
+ "onUpdate:modelValue": Ae
466
+ }, null, 8, [
467
+ "disabled",
468
+ "model-value",
469
+ "seed-color",
470
+ "aria-label"
471
+ ]),
472
+ c($),
473
+ c(Q, {
474
+ icon: d(te),
475
+ label: d(A).paragraphEditor.bold,
476
+ active: e.editor.isActive("bold"),
477
+ "stroke-width": 2.5,
478
+ onClick: a[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
479
+ }, null, 8, [
480
+ "icon",
481
+ "label",
482
+ "active"
483
+ ]),
484
+ c(Q, {
485
+ icon: d(P),
486
+ label: d(A).paragraphEditor.italic,
487
+ active: e.editor.isActive("italic"),
488
+ onClick: a[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
489
+ }, null, 8, [
490
+ "icon",
491
+ "label",
492
+ "active"
493
+ ]),
494
+ c(Q, {
495
+ icon: d(De),
496
+ label: d(A).paragraphEditor.underline,
497
+ active: e.editor.isActive("underline"),
498
+ onClick: a[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
499
+ }, null, 8, [
500
+ "icon",
501
+ "label",
502
+ "active"
503
+ ]),
504
+ c(Q, {
505
+ icon: d(Ce),
506
+ label: d(A).paragraphEditor.strikethrough,
507
+ active: e.editor.isActive("strike"),
508
+ onClick: a[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
509
+ }, null, 8, [
510
+ "icon",
511
+ "label",
512
+ "active"
513
+ ]),
514
+ c($),
515
+ c(Q, {
516
+ icon: d(we),
517
+ label: d(A).paragraphEditor.subscript,
518
+ active: e.editor.isActive("subscript"),
519
+ onClick: a[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
520
+ }, null, 8, [
521
+ "icon",
522
+ "label",
523
+ "active"
524
+ ]),
525
+ c(Q, {
526
+ icon: d(Te),
527
+ label: d(A).paragraphEditor.superscript,
528
+ active: e.editor.isActive("superscript"),
529
+ onClick: a[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
530
+ }, null, 8, [
531
+ "icon",
532
+ "label",
533
+ "active"
534
+ ]),
535
+ c($),
536
+ c(Q, {
537
+ icon: d(F),
538
+ label: d(A).paragraphEditor.addLink,
539
+ active: e.editor.isActive("link"),
540
+ onClick: a[6] ||= (e) => x("open-link-dialog")
541
+ }, null, 8, [
542
+ "icon",
543
+ "label",
544
+ "active"
545
+ ])
546
+ ]), g("div", Ie, [
547
+ c(Q, {
548
+ icon: d(re),
549
+ label: d(A).paragraphEditor.bulletList,
550
+ active: e.editor.isActive("bulletList"),
551
+ onClick: a[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
552
+ }, null, 8, [
553
+ "icon",
554
+ "label",
555
+ "active"
556
+ ]),
557
+ c(Q, {
558
+ icon: d(xe),
559
+ label: d(A).paragraphEditor.numberedList,
560
+ active: e.editor.isActive("orderedList"),
561
+ onClick: a[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
562
+ }, null, 8, [
563
+ "icon",
564
+ "label",
565
+ "active"
566
+ ]),
567
+ c($),
568
+ c(Q, {
569
+ icon: d(se),
570
+ label: d(A).paragraphEditor.alignLeft,
571
+ active: e.editor.isActive({ textAlign: "left" }),
572
+ onClick: a[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
573
+ }, null, 8, [
574
+ "icon",
575
+ "label",
576
+ "active"
577
+ ]),
578
+ c(Q, {
579
+ icon: d(ae),
580
+ label: d(A).paragraphEditor.alignCenter,
581
+ active: e.editor.isActive({ textAlign: "center" }),
582
+ onClick: a[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
583
+ }, null, 8, [
584
+ "icon",
585
+ "label",
586
+ "active"
587
+ ]),
588
+ c(Q, {
589
+ icon: d(oe),
590
+ label: d(A).paragraphEditor.alignRight,
591
+ active: e.editor.isActive({ textAlign: "right" }),
592
+ onClick: a[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
593
+ }, null, 8, [
594
+ "icon",
595
+ "label",
596
+ "active"
597
+ ]),
598
+ c(Q, {
599
+ icon: d(Ee),
600
+ label: d(A).paragraphEditor.alignJustify,
601
+ active: e.editor.isActive({ textAlign: "justify" }),
602
+ onClick: a[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
603
+ }, null, 8, [
604
+ "icon",
605
+ "label",
606
+ "active"
607
+ ]),
608
+ c($),
609
+ c(G, {
610
+ "model-value": Y(),
611
+ options: d(ve),
612
+ label: d(A).paragraphEditor.lineHeight,
613
+ placeholder: d(A).paragraphEditor.lineHeightShort,
614
+ "width-class": "tpl:w-16",
615
+ "onUpdate:modelValue": X
616
+ }, null, 8, [
617
+ "model-value",
618
+ "options",
619
+ "label",
620
+ "placeholder"
621
+ ]),
622
+ c(G, {
623
+ "model-value": z("letterSpacing"),
624
+ options: d(ne),
625
+ label: d(A).paragraphEditor.letterSpacing,
626
+ placeholder: d(A).paragraphEditor.letterSpacingShort,
627
+ "width-class": "tpl:w-20",
628
+ "onUpdate:modelValue": Z
629
+ }, null, 8, [
630
+ "model-value",
631
+ "options",
632
+ "label",
633
+ "placeholder"
634
+ ]),
635
+ c($),
636
+ c(Q, {
637
+ icon: d(Se),
638
+ label: d(A).paragraphEditor.clearFormatting,
639
+ onClick: a[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
640
+ }, null, 8, ["icon", "label"]),
641
+ c($),
642
+ c(Oe, { onInsert: R }),
643
+ e.canRequestMergeTag ? (r(), m(_, { key: 0 }, [c($), g("button", {
644
+ type: "button",
645
+ 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": d(A).mergeTag.insert,
647
+ title: d(A).mergeTag.insert,
648
+ onClick: a[14] ||= (e) => x("add-merge-tag")
649
+ }, [c(d(M), {
650
+ size: 16,
651
+ "stroke-width": 2
652
+ }), h(" " + t(d(A).mergeTag.insertShort), 1)], 8, Le)], 64)) : f("", !0),
653
+ e.canInsertLogicTag ? (r(), m(_, { key: 1 }, [c($), g("button", {
654
+ type: "button",
655
+ 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)]",
656
+ "aria-label": d(A).logicTag.insert,
657
+ title: d(A).logicTag.insert,
658
+ "data-testid": "insert-logic-button",
659
+ onClick: a[15] ||= (e) => x("add-logic-tag")
660
+ }, [c(d(N), {
661
+ size: 16,
662
+ "stroke-width": 2
663
+ }), h(" " + t(d(A).logicTag.insertShort), 1)], 8, Re)], 64)) : f("", !0),
664
+ p.value ? (r(), m(_, { key: 2 }, [c($), c(d(i), { editor: e.editor }, null, 8, ["editor"])], 64)) : f("", !0)
665
+ ])], 64)) : (r(), m("div", ze, [c(d(ie), {
666
+ class: "tpl-spinner",
667
+ size: 14,
668
+ "stroke-width": 2
669
+ }), h(" " + t(d(A).errors.editorLoading), 1)]))], 8, Pe)], 12, Ne)], 8, ["to"])) : f("", !0);
670
+ }
671
+ }), Ve = { class: "tpl-text-editor-wrapper tpl:relative" }, He = /*@__PURE__*/ x({
672
+ __name: "ParagraphEditor",
673
+ props: {
674
+ block: {},
675
+ toolbarPosition: {}
676
+ },
677
+ emits: ["done"],
678
+ setup(e, { emit: t }) {
679
+ let n = e, i = t, a = B(), o = b(I, null), l = o?.content ? R(o) : null, f = u(() => w(l?.settings.value ?? { locale: "en" }) === "rtl" ? "right" : "left"), { editor: p, EditorContent: h, isLoading: g, isEditable: _, initError: v, retry: y, showLinkDialog: x, linkUrl: S, linkColor: C, linkDialogRef: T, canRequestMergeTag: E, canInsertLogicTag: D, openLinkDialog: A, insertLink: j, removeLink: M, closeLinkDialog: N, handleLinkKeydown: P, handleAddMergeTag: te, handleAddLogicTag: F } = O({
680
+ blockId: () => n.block.id,
681
+ blockContent: () => n.block.content,
682
+ onDone: () => i("done"),
683
+ editorName: "ParagraphEditor",
684
+ async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
685
+ let [{ Editor: o, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
686
+ import("./dist-fqSers8_.js").then((e) => e.r),
687
+ import("./dist-D_XrUEET.js"),
688
+ import("./dist-TAv500j6.js"),
689
+ import("./dist-B9a7iVye.js"),
690
+ import("./dist-DZ3X-uB8.js"),
691
+ import("./dist-54VCNoC0.js"),
692
+ import("./dist-ChOb5XHW.js"),
693
+ import("./dist-B8dY8drK.js"),
694
+ import("./dist-CcOn7WCo.js"),
695
+ import("./dist-6DU0me3E.js"),
696
+ import("./dist-C3hu_C3w.js"),
697
+ import("./extensions-BJ184osp.js")
698
+ ]);
699
+ return {
700
+ TiptapEditor: o,
701
+ EC: s,
702
+ extensions: [
703
+ c.configure({
704
+ heading: !1,
705
+ codeBlock: !1,
706
+ blockquote: !1,
707
+ horizontalRule: !1,
708
+ link: !1,
709
+ underline: !1
710
+ }),
711
+ u,
712
+ d,
713
+ p,
714
+ k(l).configure({
715
+ openOnClick: !1,
716
+ HTMLAttributes: {
717
+ target: "_blank",
718
+ rel: "noopener noreferrer"
719
+ }
720
+ }),
721
+ m.extend({
722
+ addOptions() {
723
+ return {
724
+ ...this.parent(),
725
+ types: ["paragraph"],
726
+ defaultAlignment: f.value
727
+ };
728
+ },
729
+ addGlobalAttributes() {
730
+ return [{
731
+ types: this.options.types,
732
+ attributes: { textAlign: {
733
+ default: null,
734
+ parseHTML: (e) => this.options.alignments.includes(e.style.textAlign) ? e.style.textAlign : null,
735
+ renderHTML: (e) => e.textAlign !== f.value && this.options.alignments.includes(e.textAlign) ? { style: `text-align: ${e.textAlign}` } : {}
736
+ } }
737
+ }];
738
+ }
739
+ }),
740
+ h,
741
+ g,
742
+ _,
743
+ v.configure({ multicolor: !0 }),
744
+ S,
745
+ C,
746
+ w,
747
+ y.configure({
748
+ mergeTags: () => e.value,
749
+ syntax: t
750
+ }),
751
+ x.configure({ syntax: t }),
752
+ T,
753
+ ...r && n && e.value.length > 0 ? [b.configure({
754
+ mergeTags: () => e.value,
755
+ char: n,
756
+ emptyText: i,
757
+ popoverRoot: a
758
+ })] : []
759
+ ]
760
+ };
761
+ }
762
+ });
763
+ return (t, n) => (r(), m("div", Ve, [
764
+ c(Be, {
765
+ editor: d(p),
766
+ "toolbar-position": e.toolbarPosition,
767
+ "is-loading": d(g),
768
+ "is-editable": d(_),
769
+ "can-request-merge-tag": d(E),
770
+ "can-insert-logic-tag": d(D),
771
+ onOpenLinkDialog: d(A),
772
+ onAddMergeTag: d(te),
773
+ onAddLogicTag: d(F)
774
+ }, null, 8, [
775
+ "editor",
776
+ "toolbar-position",
777
+ "is-loading",
778
+ "is-editable",
779
+ "can-request-merge-tag",
780
+ "can-insert-logic-tag",
781
+ "onOpenLinkDialog",
782
+ "onAddMergeTag",
783
+ "onAddLogicTag"
784
+ ]),
785
+ c(ne, {
786
+ editor: d(p),
787
+ "editor-content": d(h),
788
+ "is-loading": d(g),
789
+ "init-error": d(v),
790
+ onRetry: d(y)
791
+ }, null, 8, [
792
+ "editor",
793
+ "editor-content",
794
+ "is-loading",
795
+ "init-error",
796
+ "onRetry"
797
+ ]),
798
+ c(ee, {
799
+ visible: d(x),
800
+ "is-editing-link": d(p)?.isActive("link") ?? !1,
801
+ "dialog-ref": d(T),
802
+ "onUpdate:dialogRef": n[0] ||= (e) => s(T) ? T.value = e : null,
803
+ "link-url": d(S),
804
+ "onUpdate:linkUrl": n[1] ||= (e) => s(S) ? S.value = e : null,
805
+ "link-color": d(C),
806
+ "onUpdate:linkColor": n[2] ||= (e) => s(C) ? C.value = e : null,
807
+ onClose: d(N),
808
+ onInsert: d(j),
809
+ onRemove: d(M),
810
+ onKeydown: d(P)
811
+ }, null, 8, [
812
+ "visible",
813
+ "is-editing-link",
814
+ "dialog-ref",
815
+ "link-url",
816
+ "link-color",
817
+ "onClose",
818
+ "onInsert",
819
+ "onRemove",
820
+ "onKeydown"
821
+ ])
822
+ ]));
823
+ }
824
+ }), Ue = /* @__PURE__ */ e({ default: () => We }), We = He;
825
+ export { We as default, G as n, Ue as t };