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