@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
@@ -1,796 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { $ as t, C as n, I as r, J as i, Mt as a, N as o, Nt as s, _ as c, a as l, c as u, d, f, g as p, j as m, jt as h, l as g, r as _, st as v, u as y, v as b, y as x } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
3
- import { c as S, s as C } from "./runtime-dom.esm-bundler-BURR-bj5.js";
4
- import { gt as w } from "./dist-CKi_npZM.js";
5
- import { t as T } from "./dist-ByCWA2Tv.js";
6
- import { C as E, S as D, b as O, y as k } from "./useEditorCore-BSo2sSID.js";
7
- import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-BgRERHzu.js";
8
- import { t as N } from "./useI18n-BBrHTdu8.js";
9
- import { n as P } from "./usePopoverPosition-DV1PxL66.js";
10
- import { t as F } from "./createLucideIcon-CvhTA2KG.js";
11
- import { c as I, l as ae, u as oe } from "./LogicTagInsertButton-CfscnwCn.js";
12
- import { i as se, n as L, r as ce, t as R } from "./RichTextEditorContent-o6HmE8GR.js";
13
- import { t as le } from "./link-ju_2Cmir.js";
14
- import { t as ue } from "./list-DYZJf0aZ.js";
15
- import { t as de } from "./loader-circle-BZRD0a4I.js";
16
- import { n as fe, r as pe, t as me } from "./text-align-start-CGacJ9Vw.js";
17
- import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
- import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-B8xVRiwX.js";
19
- import { n as ye, t as be } from "./withCurrentFont-B22FXAF5.js";
20
- var B = F({
21
- name: "face-slightly-smiling",
22
- size: 24,
23
- node: [
24
- ["path", {
25
- d: "M15 10V9",
26
- key: "4dkmfx"
27
- }],
28
- ["path", {
29
- d: "M16.472 15a6 6 0 01-8.943 0",
30
- key: "7qomzy"
31
- }],
32
- ["path", {
33
- d: "M9 10V9",
34
- key: "1lazqi"
35
- }],
36
- ["circle", {
37
- cx: "12",
38
- cy: "12",
39
- r: "10",
40
- key: "1mglay"
41
- }]
42
- ],
43
- aliases: ["smile"]
44
- }), xe = F({
45
- name: "list-ordered",
46
- size: 24,
47
- node: [
48
- ["path", {
49
- d: "M11 5h10",
50
- key: "1cz7ny"
51
- }],
52
- ["path", {
53
- d: "M11 12h10",
54
- key: "1438ji"
55
- }],
56
- ["path", {
57
- d: "M11 19h10",
58
- key: "11t30w"
59
- }],
60
- ["path", {
61
- d: "M4 4h1v5",
62
- key: "10yrso"
63
- }],
64
- ["path", {
65
- d: "M4 9h2",
66
- key: "r1h2o0"
67
- }],
68
- ["path", {
69
- d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",
70
- key: "xtkcd5"
71
- }]
72
- ]
73
- }), Se = F({
74
- name: "remove-formatting",
75
- size: 24,
76
- node: [
77
- ["path", {
78
- d: "M4 7V4h16v3",
79
- key: "9msm58"
80
- }],
81
- ["path", {
82
- d: "M5 20h6",
83
- key: "1h6pxn"
84
- }],
85
- ["path", {
86
- d: "M13 4 8 20",
87
- key: "kqq6aj"
88
- }],
89
- ["path", {
90
- d: "m15 15 5 5",
91
- key: "me55sn"
92
- }],
93
- ["path", {
94
- d: "m20 15-5 5",
95
- key: "11p7ol"
96
- }]
97
- ]
98
- }), Ce = F({
99
- name: "strikethrough",
100
- size: 24,
101
- node: [
102
- ["path", {
103
- d: "M16 4H9a3 3 0 0 0-2.83 4",
104
- key: "43sutm"
105
- }],
106
- ["path", {
107
- d: "M14 12a4 4 0 0 1 0 8H6",
108
- key: "nlfj13"
109
- }],
110
- ["line", {
111
- x1: "4",
112
- x2: "20",
113
- y1: "12",
114
- y2: "12",
115
- key: "1e0a9i"
116
- }]
117
- ]
118
- }), we = F({
119
- name: "subscript",
120
- size: 24,
121
- node: [
122
- ["path", {
123
- d: "m4 5 8 8",
124
- key: "1eunvl"
125
- }],
126
- ["path", {
127
- d: "m12 5-8 8",
128
- key: "1ah0jp"
129
- }],
130
- ["path", {
131
- d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
132
- key: "e8ta8j"
133
- }]
134
- ]
135
- }), Te = F({
136
- name: "superscript",
137
- size: 24,
138
- node: [
139
- ["path", {
140
- d: "m4 19 8-8",
141
- key: "hr47gm"
142
- }],
143
- ["path", {
144
- d: "m12 19-8-8",
145
- key: "1dhhmo"
146
- }],
147
- ["path", {
148
- 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",
149
- key: "1dfcux"
150
- }]
151
- ]
152
- }), Ee = F({
153
- name: "text-align-justify",
154
- size: 24,
155
- node: [
156
- ["path", {
157
- d: "M3 5h18",
158
- key: "1u36vt"
159
- }],
160
- ["path", {
161
- d: "M3 12h18",
162
- key: "1i2n21"
163
- }],
164
- ["path", {
165
- d: "M3 19h18",
166
- key: "awlh7x"
167
- }]
168
- ],
169
- aliases: ["align-justify"]
170
- }), De = F({
171
- name: "underline",
172
- size: 24,
173
- node: [["path", {
174
- d: "M6 4v6a6 6 0 0 0 12 0V4",
175
- key: "9kb039"
176
- }], ["line", {
177
- x1: "4",
178
- x2: "20",
179
- y1: "20",
180
- y2: "20",
181
- key: "nun2al"
182
- }]]
183
- }), V = [
184
- "value",
185
- "aria-label",
186
- "title"
187
- ], H = { value: "" }, U = ["value"], W = /* @__PURE__ */ x({
188
- __name: "ToolbarSelect",
189
- props: {
190
- modelValue: {},
191
- options: {},
192
- label: {},
193
- placeholder: {},
194
- widthClass: {}
195
- },
196
- emits: ["update:modelValue"],
197
- setup(e, { emit: t }) {
198
- let n = e, r = t;
199
- function i(e) {
200
- r("update:modelValue", e.target.value);
201
- }
202
- function a(e) {
203
- return typeof e == "string" ? e : e.value;
204
- }
205
- function c(e) {
206
- return typeof e == "string" ? e : e.label;
207
- }
208
- let l = /* @__PURE__ */ new Set([
209
- "inherit",
210
- "initial",
211
- "unset",
212
- "revert",
213
- "revert-layer"
214
- ]), d = u(() => l.has(n.modelValue) ? "" : n.modelValue), p = u(() => {
215
- let e = d.value;
216
- return e === "" || n.options.some((t) => a(t) === e) ? n.options : [e, ...n.options];
217
- });
218
- return (t, n) => (m(), f("select", {
219
- class: h(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
220
- value: d.value,
221
- "aria-label": e.label,
222
- title: e.label,
223
- onChange: i
224
- }, [g("option", H, s(e.placeholder ?? ""), 1), (m(!0), f(_, null, o(p.value, (e) => (m(), f("option", {
225
- key: a(e),
226
- value: a(e)
227
- }, s(c(e)), 9, U))), 128))], 42, V));
228
- }
229
- }), G = [
230
- "aria-label",
231
- "title",
232
- "aria-expanded"
233
- ], 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"], Oe = /* @__PURE__ */ x({
234
- __name: "EmojiPickerDropdown",
235
- emits: ["insert"],
236
- setup(e, { emit: n }) {
237
- let r = n, { categories: i, isOpen: a, toggle: l, close: p } = D(), { t: y, format: b } = N(), x = t(null), w = t(null), O = u(() => a.value);
238
- E(x, O), T(w, () => {
239
- a.value && p();
240
- });
241
- function k(e) {
242
- r("insert", e), p();
243
- }
244
- return (e, t) => (m(), f("div", {
245
- ref_key: "rootRef",
246
- ref: w,
247
- class: "tpl:relative"
248
- }, [g("button", {
249
- type: "button",
250
- class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(a) }]),
251
- "aria-label": v(y).paragraphEditor.insertEmoji,
252
- title: v(y).paragraphEditor.insertEmoji,
253
- "aria-expanded": v(a),
254
- "aria-haspopup": "dialog",
255
- "aria-controls": "tpl-emoji-picker",
256
- onClick: t[0] ||= (...e) => v(l) && v(l)(...e)
257
- }, [c(v(B), {
258
- size: 16,
259
- "stroke-width": 2
260
- })], 10, G), v(a) ? (m(), f("div", {
261
- key: 0,
262
- id: "tpl-emoji-picker",
263
- ref_key: "pickerRef",
264
- ref: x,
265
- role: "dialog",
266
- "aria-modal": "false",
267
- "aria-label": v(y).paragraphEditor.insertEmoji,
268
- tabindex: "-1",
269
- class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-[var(--tpl-shadow-lg)]",
270
- onKeydown: t[1] ||= C(S((...e) => v(p) && v(p)(...e), ["stop", "prevent"]), ["esc"])
271
- }, [(m(!0), f(_, null, o(v(i), (e) => (m(), f("div", {
272
- key: e.key,
273
- class: "tpl:mb-2 tpl:last:mb-0"
274
- }, [g("div", q, s(v(y).emoji[e.key]), 1), g("div", J, [(m(!0), f(_, null, o(e.emojis, (e) => (m(), f("button", {
275
- key: e,
276
- type: "button",
277
- "aria-label": v(b)(v(y).paragraphEditor.emojiItemLabel, { emoji: e }),
278
- class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
279
- onClick: (t) => k(e)
280
- }, s(e), 9, Y))), 128))])]))), 128))], 40, K)) : d("", !0)], 512));
281
- }
282
- }), X = [
283
- "aria-label",
284
- "title",
285
- "aria-pressed"
286
- ], Z = /* @__PURE__ */ x({
287
- __name: "ToolbarIconButton",
288
- props: {
289
- icon: {},
290
- label: {},
291
- active: { type: Boolean },
292
- strokeWidth: {},
293
- size: {}
294
- },
295
- setup(e) {
296
- return (t, n) => (m(), f("button", {
297
- type: "button",
298
- class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
299
- "aria-label": e.label,
300
- title: e.label,
301
- "aria-pressed": e.active ? "true" : "false"
302
- }, [(m(), y(r(e.icon), {
303
- size: e.size ?? 16,
304
- "stroke-width": e.strokeWidth ?? 2
305
- }, null, 8, ["size", "stroke-width"]))], 10, X));
306
- }
307
- }), Q = {}, ke = {
308
- class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
309
- "aria-hidden": "true"
310
- };
311
- function Ae(e, t) {
312
- return m(), f("span", ke);
313
- }
314
- var $ = /*#__PURE__*/ z(Q, [["render", Ae]]);
315
- // src/utils/richTextColor.ts
316
- function je(e, t) {
317
- return e || t || "#000000";
318
- }
319
- // src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
320
- var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Pe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Fe = ["aria-label", "title"], Ie = ["aria-label", "title"], Le = {
321
- key: 1,
322
- class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
323
- }, Re = /* @__PURE__ */ x({
324
- __name: "ParagraphToolbar",
325
- props: {
326
- editor: {},
327
- toolbarPosition: {},
328
- isLoading: { type: Boolean },
329
- canRequestMergeTag: { type: Boolean },
330
- canInsertLogicTag: { type: Boolean }
331
- },
332
- emits: [
333
- "open-link-dialog",
334
- "add-merge-tag",
335
- "add-logic-tag"
336
- ],
337
- setup(e, { emit: t }) {
338
- let r = b(() => import("./AiRewriteMenu-28agTycW.js")), i = e, o = n(re, {}), h = u(() => o.ai?.isFeatureEnabled("rewrite") ?? !1), x = t, S = n(te, null), C = n(ne, null), w = A(ie, "ParagraphToolbar"), T = P(), E = n(j, null), D = n(ee, null), O = n(M, null), k = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: F } = N(), L = w.fonts, R = _e.map((e) => ({
339
- value: e,
340
- label: e === "normal" ? F.paragraphEditor.letterSpacingNormal : e
341
- }));
342
- function z(e) {
343
- i.editor?.chain().focus().insertContent(e).run();
344
- }
345
- function B(e) {
346
- return i.editor?.getAttributes("textStyle")[e] || "";
347
- }
348
- function V(e) {
349
- let t = i.editor?.chain().focus();
350
- e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
351
- }
352
- function H(e) {
353
- let t = i.editor?.chain().focus();
354
- e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
355
- }
356
- function U() {
357
- return i.editor?.isActive("link") ?? !1;
358
- }
359
- function G() {
360
- return i.editor?.getAttributes("link").color || "";
361
- }
362
- function K(e) {
363
- let t = i.editor?.chain().focus();
364
- t && (U() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
365
- }
366
- function q() {
367
- let e = O?.content.value.settings;
368
- return U() ? je(G(), e?.linkColor || e?.textColor) : je(B("color"), e?.textColor);
369
- }
370
- function J() {
371
- return U() ? G() : B("color");
372
- }
373
- function Y() {
374
- return i.editor?.getAttributes("paragraph").lineHeight || "";
375
- }
376
- function X(e) {
377
- let t = i.editor?.chain().focus();
378
- e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
379
- }
380
- function Q(e) {
381
- let t = i.editor?.chain().focus();
382
- e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
383
- }
384
- function ke() {
385
- return i.editor?.getAttributes("highlight").color || "";
386
- }
387
- function Ae(e) {
388
- let t = i.editor?.chain().focus();
389
- e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
390
- }
391
- return (t, n) => v(T) && !k.value ? (m(), y(l, {
392
- key: 0,
393
- to: v(T)
394
- }, [g("div", {
395
- "data-tpl-theme": v(C),
396
- role: "toolbar",
397
- "aria-label": v(F).paragraphEditor.toolbar,
398
- class: "tpl tpl-text-toolbar tpl:absolute tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
399
- style: a({
400
- ...v(S),
401
- top: `${e.toolbarPosition.top}px`,
402
- left: `${e.toolbarPosition.left}px`,
403
- transform: "translateY(-100%)",
404
- flexDirection: "column"
405
- })
406
- }, [!e.isLoading && e.editor ? (m(), f(_, { key: 0 }, [g("div", Ne, [
407
- c(W, {
408
- "model-value": v(be)(B("fontFamily")),
409
- options: v(ye)(v(L), B("fontFamily")),
410
- label: v(F).paragraphEditor.fontFamily,
411
- placeholder: v(F).paragraphEditor.defaultFont,
412
- "width-class": "tpl:w-32",
413
- "onUpdate:modelValue": V
414
- }, null, 8, [
415
- "model-value",
416
- "options",
417
- "label",
418
- "placeholder"
419
- ]),
420
- c(W, {
421
- "model-value": B("fontSize"),
422
- options: v(he),
423
- label: v(F).paragraphEditor.fontSize,
424
- placeholder: v(F).paragraphEditor.defaultSize,
425
- "width-class": "tpl:w-20",
426
- "onUpdate:modelValue": H
427
- }, null, 8, [
428
- "model-value",
429
- "options",
430
- "label",
431
- "placeholder"
432
- ]),
433
- c($),
434
- c(I, {
435
- "swatch-only": "",
436
- size: "sm",
437
- "data-testid": "text-color-picker",
438
- "model-value": J(),
439
- "seed-color": q(),
440
- "aria-label": v(F).paragraphEditor.textColor,
441
- "onUpdate:modelValue": K
442
- }, null, 8, [
443
- "model-value",
444
- "seed-color",
445
- "aria-label"
446
- ]),
447
- c(I, {
448
- "swatch-only": "",
449
- size: "sm",
450
- "data-testid": "highlight-color-picker",
451
- "model-value": ke(),
452
- "seed-color": v(ge),
453
- "aria-label": v(F).paragraphEditor.highlightColor,
454
- "onUpdate:modelValue": Ae
455
- }, null, 8, [
456
- "model-value",
457
- "seed-color",
458
- "aria-label"
459
- ]),
460
- c($),
461
- c(Z, {
462
- icon: v(ce),
463
- label: v(F).paragraphEditor.bold,
464
- active: e.editor.isActive("bold"),
465
- "stroke-width": 2.5,
466
- onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
467
- }, null, 8, [
468
- "icon",
469
- "label",
470
- "active"
471
- ]),
472
- c(Z, {
473
- icon: v(se),
474
- label: v(F).paragraphEditor.italic,
475
- active: e.editor.isActive("italic"),
476
- onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
477
- }, null, 8, [
478
- "icon",
479
- "label",
480
- "active"
481
- ]),
482
- c(Z, {
483
- icon: v(De),
484
- label: v(F).paragraphEditor.underline,
485
- active: e.editor.isActive("underline"),
486
- onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
487
- }, null, 8, [
488
- "icon",
489
- "label",
490
- "active"
491
- ]),
492
- c(Z, {
493
- icon: v(Ce),
494
- label: v(F).paragraphEditor.strikethrough,
495
- active: e.editor.isActive("strike"),
496
- onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
497
- }, null, 8, [
498
- "icon",
499
- "label",
500
- "active"
501
- ]),
502
- c($),
503
- c(Z, {
504
- icon: v(we),
505
- label: v(F).paragraphEditor.subscript,
506
- active: e.editor.isActive("subscript"),
507
- onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
508
- }, null, 8, [
509
- "icon",
510
- "label",
511
- "active"
512
- ]),
513
- c(Z, {
514
- icon: v(Te),
515
- label: v(F).paragraphEditor.superscript,
516
- active: e.editor.isActive("superscript"),
517
- onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
518
- }, null, 8, [
519
- "icon",
520
- "label",
521
- "active"
522
- ]),
523
- c($),
524
- c(Z, {
525
- icon: v(le),
526
- label: v(F).paragraphEditor.addLink,
527
- active: e.editor.isActive("link"),
528
- onClick: n[6] ||= (e) => x("open-link-dialog")
529
- }, null, 8, [
530
- "icon",
531
- "label",
532
- "active"
533
- ])
534
- ]), g("div", Pe, [
535
- c(Z, {
536
- icon: v(ue),
537
- label: v(F).paragraphEditor.bulletList,
538
- active: e.editor.isActive("bulletList"),
539
- onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
540
- }, null, 8, [
541
- "icon",
542
- "label",
543
- "active"
544
- ]),
545
- c(Z, {
546
- icon: v(xe),
547
- label: v(F).paragraphEditor.numberedList,
548
- active: e.editor.isActive("orderedList"),
549
- onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
550
- }, null, 8, [
551
- "icon",
552
- "label",
553
- "active"
554
- ]),
555
- c($),
556
- c(Z, {
557
- icon: v(me),
558
- label: v(F).paragraphEditor.alignLeft,
559
- active: e.editor.isActive({ textAlign: "left" }),
560
- onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
561
- }, null, 8, [
562
- "icon",
563
- "label",
564
- "active"
565
- ]),
566
- c(Z, {
567
- icon: v(pe),
568
- label: v(F).paragraphEditor.alignCenter,
569
- active: e.editor.isActive({ textAlign: "center" }),
570
- onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
571
- }, null, 8, [
572
- "icon",
573
- "label",
574
- "active"
575
- ]),
576
- c(Z, {
577
- icon: v(fe),
578
- label: v(F).paragraphEditor.alignRight,
579
- active: e.editor.isActive({ textAlign: "right" }),
580
- onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
581
- }, null, 8, [
582
- "icon",
583
- "label",
584
- "active"
585
- ]),
586
- c(Z, {
587
- icon: v(Ee),
588
- label: v(F).paragraphEditor.alignJustify,
589
- active: e.editor.isActive({ textAlign: "justify" }),
590
- onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
591
- }, null, 8, [
592
- "icon",
593
- "label",
594
- "active"
595
- ]),
596
- c($),
597
- c(W, {
598
- "model-value": Y(),
599
- options: v(ve),
600
- label: v(F).paragraphEditor.lineHeight,
601
- placeholder: v(F).paragraphEditor.lineHeightShort,
602
- "width-class": "tpl:w-16",
603
- "onUpdate:modelValue": X
604
- }, null, 8, [
605
- "model-value",
606
- "options",
607
- "label",
608
- "placeholder"
609
- ]),
610
- c(W, {
611
- "model-value": B("letterSpacing"),
612
- options: v(R),
613
- label: v(F).paragraphEditor.letterSpacing,
614
- placeholder: v(F).paragraphEditor.letterSpacingShort,
615
- "width-class": "tpl:w-20",
616
- "onUpdate:modelValue": Q
617
- }, null, 8, [
618
- "model-value",
619
- "options",
620
- "label",
621
- "placeholder"
622
- ]),
623
- c($),
624
- c(Z, {
625
- icon: v(Se),
626
- label: v(F).paragraphEditor.clearFormatting,
627
- onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
628
- }, null, 8, ["icon", "label"]),
629
- c($),
630
- c(Oe, { onInsert: z }),
631
- e.canRequestMergeTag ? (m(), f(_, { key: 0 }, [c($), g("button", {
632
- type: "button",
633
- class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
634
- "aria-label": v(F).mergeTag.insert,
635
- title: v(F).mergeTag.insert,
636
- onClick: n[14] ||= (e) => x("add-merge-tag")
637
- }, [c(v(ae), {
638
- size: 16,
639
- "stroke-width": 2
640
- }), p(" " + s(v(F).mergeTag.insertShort), 1)], 8, Fe)], 64)) : d("", !0),
641
- e.canInsertLogicTag ? (m(), f(_, { key: 1 }, [c($), g("button", {
642
- type: "button",
643
- class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
644
- "aria-label": v(F).logicTag.insert,
645
- title: v(F).logicTag.insert,
646
- "data-testid": "insert-logic-button",
647
- onClick: n[15] ||= (e) => x("add-logic-tag")
648
- }, [c(v(oe), {
649
- size: 16,
650
- "stroke-width": 2
651
- }), p(" " + s(v(F).logicTag.insertShort), 1)], 8, Ie)], 64)) : d("", !0),
652
- h.value ? (m(), f(_, { key: 2 }, [c($), c(v(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : d("", !0)
653
- ])], 64)) : (m(), f("div", Le, [c(v(de), {
654
- class: "tpl-spinner",
655
- size: 14,
656
- "stroke-width": 2
657
- }), p(" " + s(v(F).errors.editorLoading), 1)]))], 12, Me)], 8, ["to"])) : d("", !0);
658
- }
659
- }), ze = { class: "tpl-text-editor-wrapper tpl:relative" }, Be = /*@__PURE__*/ x({
660
- __name: "ParagraphEditor",
661
- props: {
662
- block: {},
663
- toolbarPosition: {}
664
- },
665
- emits: ["done"],
666
- setup(e, { emit: t }) {
667
- let r = e, a = t, o = P(), s = n(M, null), l = w(s?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: u, EditorContent: d, isLoading: p, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: S, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: D, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: ee, handleAddLogicTag: te } = k({
668
- blockId: () => r.block.id,
669
- blockContent: () => r.block.content,
670
- onDone: () => a("done"),
671
- editorName: "ParagraphEditor",
672
- async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
673
- let [{ Editor: a, EditorContent: s }, { default: c }, { default: u }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
674
- import("./dist-D6cMdrfG.js").then((e) => e.r),
675
- import("./dist-CWSG7Kj0.js"),
676
- import("./dist-txQLT2sF.js"),
677
- import("./dist-Dd5MU2Ev.js"),
678
- import("./dist-BF5zEHop.js"),
679
- import("./dist-Cy8I5scI.js"),
680
- import("./dist-BS5uKktL.js"),
681
- import("./dist-p3wymUDt.js"),
682
- import("./dist-pA3ooG6N.js"),
683
- import("./dist-DyFArF_G.js"),
684
- import("./dist-D6fZec6r.js"),
685
- import("./extensions-fo_c-vqf.js")
686
- ]);
687
- return {
688
- TiptapEditor: a,
689
- EC: s,
690
- extensions: [
691
- c.configure({
692
- heading: !1,
693
- codeBlock: !1,
694
- blockquote: !1,
695
- horizontalRule: !1,
696
- link: !1,
697
- underline: !1
698
- }),
699
- d,
700
- f,
701
- p,
702
- O(u).configure({
703
- openOnClick: !1,
704
- HTMLAttributes: {
705
- target: "_blank",
706
- rel: "noopener noreferrer"
707
- }
708
- }),
709
- m.configure({
710
- types: ["paragraph"],
711
- defaultAlignment: l
712
- }),
713
- h,
714
- g,
715
- _,
716
- v.configure({ multicolor: !0 }),
717
- S,
718
- C,
719
- w,
720
- y.configure({
721
- mergeTags: () => e.value,
722
- syntax: t
723
- }),
724
- x.configure({ syntax: t }),
725
- T,
726
- ...r && n && e.value.length > 0 ? [b.configure({
727
- mergeTags: () => e.value,
728
- char: n,
729
- emptyText: i,
730
- popoverRoot: o
731
- })] : []
732
- ]
733
- };
734
- }
735
- });
736
- return (t, n) => (m(), f("div", ze, [
737
- c(Re, {
738
- editor: v(u),
739
- "toolbar-position": e.toolbarPosition,
740
- "is-loading": v(p),
741
- "can-request-merge-tag": v(S),
742
- "can-insert-logic-tag": v(C),
743
- onOpenLinkDialog: v(T),
744
- onAddMergeTag: v(ee),
745
- onAddLogicTag: v(te)
746
- }, null, 8, [
747
- "editor",
748
- "toolbar-position",
749
- "is-loading",
750
- "can-request-merge-tag",
751
- "can-insert-logic-tag",
752
- "onOpenLinkDialog",
753
- "onAddMergeTag",
754
- "onAddLogicTag"
755
- ]),
756
- c(R, {
757
- editor: v(u),
758
- "editor-content": v(d),
759
- "is-loading": v(p),
760
- "init-error": v(h),
761
- onRetry: v(g)
762
- }, null, 8, [
763
- "editor",
764
- "editor-content",
765
- "is-loading",
766
- "init-error",
767
- "onRetry"
768
- ]),
769
- c(L, {
770
- visible: v(_),
771
- "is-editing-link": v(u)?.isActive("link") ?? !1,
772
- "dialog-ref": v(x),
773
- "onUpdate:dialogRef": n[0] ||= (e) => i(x) ? x.value = e : null,
774
- "link-url": v(y),
775
- "onUpdate:linkUrl": n[1] ||= (e) => i(y) ? y.value = e : null,
776
- "link-color": v(b),
777
- "onUpdate:linkColor": n[2] ||= (e) => i(b) ? b.value = e : null,
778
- onClose: v(A),
779
- onInsert: v(E),
780
- onRemove: v(D),
781
- onKeydown: v(j)
782
- }, null, 8, [
783
- "visible",
784
- "is-editing-link",
785
- "dialog-ref",
786
- "link-url",
787
- "link-color",
788
- "onClose",
789
- "onInsert",
790
- "onRemove",
791
- "onKeydown"
792
- ])
793
- ]));
794
- }
795
- }), Ve = /* @__PURE__ */ e({ default: () => He }), He = Be;
796
- export { He as default, W as n, Ve as t };