@templatical/editor 0.52.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
  2. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
  3. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
  4. package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
  5. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
  6. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  7. package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
  8. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
  9. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
  10. package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
  11. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
  12. package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
  13. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  14. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
  15. package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
  16. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  17. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
  18. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
  19. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
  20. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
  21. package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
  22. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
  23. package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
  24. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
  25. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
  26. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
  27. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
  28. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  29. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
  30. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
  31. package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
  32. package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
  33. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
  34. package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
  35. package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
  36. package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
  37. package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
  38. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
  39. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
  40. package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
  41. package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
  42. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
  45. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
  47. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
  49. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
  51. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  52. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
  53. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
  54. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  55. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
  59. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  60. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
  61. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
  63. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  64. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
  65. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  68. package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
  69. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  70. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
  71. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  72. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
  73. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  74. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
  75. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  76. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
  77. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
  79. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  80. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
  81. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  82. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
  83. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
  85. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  86. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
  87. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  88. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
  89. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  90. package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
  91. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  92. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
  93. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  94. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
  95. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  96. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
  97. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  99. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  100. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
  101. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  102. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
  103. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  104. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
  105. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  106. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
  107. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  108. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
  109. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  110. package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
  111. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  112. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
  113. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  114. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
  115. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  116. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  117. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  120. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
  121. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  122. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
  123. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  124. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
  125. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  126. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  127. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
  129. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
  131. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
  132. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
  133. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
  134. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
  135. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
  137. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
  138. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  139. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
  140. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
  142. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  143. package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
  144. package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
  145. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  146. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  147. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
  148. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  149. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
  150. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  151. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
  152. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
  153. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
  154. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  155. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
  156. package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
  157. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
  158. package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
  159. package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
  160. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  161. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
  162. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
  163. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
  164. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  165. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  166. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  167. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  168. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  169. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
  170. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  171. package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
  172. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  173. package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
  174. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  175. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
  176. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  177. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
  178. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  179. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
  180. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  181. package/dist/cdn/editor.css +1 -1
  182. package/dist/cdn/editor.js +1422 -1422
  183. package/dist/cdn/editor.js.map +1 -1
  184. package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
  185. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
  186. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
  187. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
  188. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
  189. package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
  190. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
  191. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
  192. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
  193. package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
  194. package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
  195. package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
  196. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
  197. package/dist/en-Db76vJbY.js +1 -0
  198. package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
  199. package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
  200. package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
  201. package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
  202. package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
  203. package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
  204. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  205. package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
  206. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
  207. package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
  208. package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
  209. package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
  210. package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
  211. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
  212. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
  213. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
  214. package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
  215. package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
  216. package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
  217. package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
  218. package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
  219. package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
  220. package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
  221. package/dist/style.css +1 -1
  222. package/dist/templatical-editor.js +1096 -1096
  223. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
  224. package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
  225. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
  226. package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
  227. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
  228. package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
  229. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  230. package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
  231. package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
  232. package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
  233. package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
  234. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
  235. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
  236. package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
  237. package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
  238. package/package.json +10 -10
  239. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  240. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  241. package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
  242. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  243. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  244. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  245. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  246. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  247. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  248. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  249. package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
  250. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  251. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  252. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  253. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  254. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  255. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  256. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  257. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  258. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  259. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  260. package/dist/en-CyEE7FPY.js +0 -1
  261. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
@@ -1,23 +1,23 @@
1
1
  import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
- import { $ as t, C as n, D as r, I as i, J as a, P as o, S as s, _ as c, b as l, c as u, dt as d, f, g as p, h as m, l as h, lt as g, m as _, ot as v, p as y, u as b, ut as x, x as S, z as C } from "./draggable-B8hTTYFO.js";
3
- import { $ as w } from "./src-C9DTvn1H.js";
4
- import { t as T } from "./dist-CONcGNwy.js";
5
- import { S as E, v as D, x as O, y as k } from "./useEditorCore-CjaEV_01.js";
6
- import { $ as A, A as j, E as M, J as N, Z as ee, g as P, l as te, v as ne } from "./keys-BF9gazbd.js";
7
- import { t as re } from "./useI18n-11iqzC6m.js";
8
- import { n as F } from "./usePopoverPosition-AnVIwiVv.js";
9
- import { Bt as ie, C as ae, L as oe, N as se, S as ce, Tt as I, Ut as le, _ as ue, at as de, b as fe, g as pe, h as me, lt as he, ot as ge, pt as _e, st as ve, u as ye, v as be } from "./icons-HCBP93Ch.js";
2
+ import { C as t, D as n, I as r, P as i, S as a, Y as o, _ as s, b as c, c as l, dt as u, et as d, f, ft as p, g as m, h, l as g, m as _, p as v, st as y, u as b, ut as x, x as S, z as C } from "./draggable-Du8AUMFT.js";
3
+ import { $ as w } from "./src-DwWrYnUj.js";
4
+ import { t as T } from "./dist-BMzNabtD.js";
5
+ import { S as E, v as D, x as O, y as k } from "./useEditorCore-BrY66C2y.js";
6
+ import { $ as A, A as j, E as M, J as N, Z as ee, g as P, l as te, v as ne } from "./keys-CUj6UA38.js";
7
+ import { t as re } from "./useI18n-D8pY4LTq.js";
8
+ import { n as F } from "./usePopoverPosition-DSMtmu2W.js";
9
+ import { C as ie, Et as I, L as ae, N as oe, S as se, Vt as ce, _ as le, at as ue, b as de, dt as fe, g as pe, ht as me, lt as he, m as ge, ot as _e, st as ve, u as ye, v as be } from "./icons-okSPsLOa.js";
10
10
  import { t as L } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
11
11
  import { a as xe, n as Se, o as Ce, s as we } from "./styleConstants-B8xVRiwX.js";
12
- import { c as R } from "./LogicTagInsertButton-B_ldj3TO.js";
13
- import { n as Te, t as Ee } from "./withCurrentFont-C3CquBQN.js";
14
- import { n as z, t as B } from "./RichTextEditorContent-DaY63kye.js";
12
+ import { c as R } from "./LogicTagInsertButton-BIi05UQu.js";
13
+ import { n as Te, t as Ee } from "./withCurrentFont-hZTvYBHO.js";
14
+ import { n as z, t as B } from "./RichTextEditorContent-DNjR_sNN.js";
15
15
  // src/components/toolbar/ToolbarSelect.vue?vue&type=script&setup=true&lang.ts
16
16
  var V = [
17
17
  "value",
18
18
  "aria-label",
19
19
  "title"
20
- ], H = { value: "" }, U = ["value"], W = /* @__PURE__ */ n({
20
+ ], H = { value: "" }, U = ["value"], W = /* @__PURE__ */ t({
21
21
  __name: "ToolbarSelect",
22
22
  props: {
23
23
  modelValue: {},
@@ -28,11 +28,11 @@ var V = [
28
28
  },
29
29
  emits: ["update:modelValue"],
30
30
  setup(e, { emit: t }) {
31
- let n = e, r = t;
32
- function a(e) {
33
- r("update:modelValue", e.target.value);
31
+ let n = e, a = t;
32
+ function o(e) {
33
+ a("update:modelValue", e.target.value);
34
34
  }
35
- function s(e) {
35
+ function c(e) {
36
36
  return typeof e == "string" ? e : e.value;
37
37
  }
38
38
  function l(e) {
@@ -44,79 +44,79 @@ var V = [
44
44
  "unset",
45
45
  "revert",
46
46
  "revert-layer"
47
- ]), f = y(() => u.has(n.modelValue) ? "" : n.modelValue), p = y(() => {
48
- let e = f.value;
49
- return e === "" || n.options.some((t) => s(t) === e) ? n.options : [e, ...n.options];
47
+ ]), d = v(() => u.has(n.modelValue) ? "" : n.modelValue), f = v(() => {
48
+ let e = d.value;
49
+ return e === "" || n.options.some((t) => c(t) === e) ? n.options : [e, ...n.options];
50
50
  });
51
- return (t, n) => (o(), c("select", {
52
- class: g(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
53
- value: f.value,
51
+ return (t, n) => (i(), s("select", {
52
+ class: x(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
53
+ value: d.value,
54
54
  "aria-label": e.label,
55
55
  title: e.label,
56
- onChange: a
57
- }, [_("option", H, d(e.placeholder ?? ""), 1), (o(!0), c(b, null, i(p.value, (e) => (o(), c("option", {
58
- key: s(e),
59
- value: s(e)
60
- }, d(l(e)), 9, U))), 128))], 42, V));
56
+ onChange: o
57
+ }, [_("option", H, p(e.placeholder ?? ""), 1), (i(!0), s(b, null, r(f.value, (e) => (i(), s("option", {
58
+ key: c(e),
59
+ value: c(e)
60
+ }, p(l(e)), 9, U))), 128))], 42, V));
61
61
  }
62
62
  }), G = [
63
63
  "aria-label",
64
64
  "title",
65
65
  "aria-expanded"
66
- ], K = ["aria-label"], q = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, J = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, Y = ["aria-label", "onClick"], De = /* @__PURE__ */ n({
66
+ ], K = ["aria-label"], q = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, J = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, Y = ["aria-label", "onClick"], De = /* @__PURE__ */ t({
67
67
  __name: "EmojiPickerDropdown",
68
68
  emits: ["insert"],
69
- setup(e, { emit: n }) {
70
- let r = n, { categories: a, isOpen: s, toggle: l, close: f } = O(), { t: m, format: x } = re(), C = t(null), w = t(null), D = y(() => s.value);
69
+ setup(e, { emit: t }) {
70
+ let n = t, { categories: a, isOpen: o, toggle: c, close: u } = O(), { t: f, format: h } = re(), C = d(null), w = d(null), D = v(() => o.value);
71
71
  E(C, D), T(w, () => {
72
- s.value && f();
72
+ o.value && u();
73
73
  });
74
74
  function k(e) {
75
- r("insert", e), f();
75
+ n("insert", e), u();
76
76
  }
77
- return (e, t) => (o(), c("div", {
77
+ return (e, t) => (i(), s("div", {
78
78
  ref_key: "rootRef",
79
79
  ref: w,
80
80
  class: "tpl:relative"
81
81
  }, [_("button", {
82
82
  type: "button",
83
- class: g(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(s) }]),
84
- "aria-label": v(m).paragraphEditor.insertEmoji,
85
- title: v(m).paragraphEditor.insertEmoji,
86
- "aria-expanded": v(s),
83
+ class: x(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": y(o) }]),
84
+ "aria-label": y(f).paragraphEditor.insertEmoji,
85
+ title: y(f).paragraphEditor.insertEmoji,
86
+ "aria-expanded": y(o),
87
87
  "aria-haspopup": "dialog",
88
88
  "aria-controls": "tpl-emoji-picker",
89
- onClick: t[0] ||= (...e) => v(l) && v(l)(...e)
90
- }, [S(v(I), {
89
+ onClick: t[0] ||= (...e) => y(c) && y(c)(...e)
90
+ }, [S(y(I), {
91
91
  size: 16,
92
92
  "stroke-width": 2
93
- })], 10, G), v(s) ? (o(), c("div", {
93
+ })], 10, G), y(o) ? (i(), s("div", {
94
94
  key: 0,
95
95
  id: "tpl-emoji-picker",
96
96
  ref_key: "pickerRef",
97
97
  ref: C,
98
98
  role: "dialog",
99
99
  "aria-modal": "false",
100
- "aria-label": v(m).paragraphEditor.insertEmoji,
100
+ "aria-label": y(f).paragraphEditor.insertEmoji,
101
101
  tabindex: "-1",
102
102
  class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-[var(--tpl-shadow-lg)]",
103
- onKeydown: t[1] ||= u(h((...e) => v(f) && v(f)(...e), ["stop", "prevent"]), ["esc"])
104
- }, [(o(!0), c(b, null, i(v(a), (e) => (o(), c("div", {
103
+ onKeydown: t[1] ||= l(g((...e) => y(u) && y(u)(...e), ["stop", "prevent"]), ["esc"])
104
+ }, [(i(!0), s(b, null, r(y(a), (e) => (i(), s("div", {
105
105
  key: e.key,
106
106
  class: "tpl:mb-2 tpl:last:mb-0"
107
- }, [_("div", q, d(v(m).emoji[e.key]), 1), _("div", J, [(o(!0), c(b, null, i(e.emojis, (e) => (o(), c("button", {
107
+ }, [_("div", q, p(y(f).emoji[e.key]), 1), _("div", J, [(i(!0), s(b, null, r(e.emojis, (e) => (i(), s("button", {
108
108
  key: e,
109
109
  type: "button",
110
- "aria-label": v(x)(v(m).paragraphEditor.emojiItemLabel, { emoji: e }),
110
+ "aria-label": y(h)(y(f).paragraphEditor.emojiItemLabel, { emoji: e }),
111
111
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
112
112
  onClick: (t) => k(e)
113
- }, d(e), 9, Y))), 128))])]))), 128))], 40, K)) : p("", !0)], 512));
113
+ }, p(e), 9, Y))), 128))])]))), 128))], 40, K)) : m("", !0)], 512));
114
114
  }
115
115
  }), X = [
116
116
  "aria-label",
117
117
  "title",
118
118
  "aria-pressed"
119
- ], Z = /* @__PURE__ */ n({
119
+ ], Z = /* @__PURE__ */ t({
120
120
  __name: "ToolbarIconButton",
121
121
  props: {
122
122
  icon: {},
@@ -126,13 +126,13 @@ var V = [
126
126
  size: {}
127
127
  },
128
128
  setup(e) {
129
- return (t, n) => (o(), c("button", {
129
+ return (t, n) => (i(), s("button", {
130
130
  type: "button",
131
- class: g(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
131
+ class: x(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
132
132
  "aria-label": e.label,
133
133
  title: e.label,
134
134
  "aria-pressed": e.active ? "true" : "false"
135
- }, [(o(), m(C(e.icon), {
135
+ }, [(i(), h(C(e.icon), {
136
136
  size: e.size ?? 16,
137
137
  "stroke-width": e.strokeWidth ?? 2
138
138
  }, null, 8, ["size", "stroke-width"]))], 10, X));
@@ -142,7 +142,7 @@ var V = [
142
142
  "aria-hidden": "true"
143
143
  };
144
144
  function Ae(e, t) {
145
- return o(), c("span", ke);
145
+ return i(), s("span", ke);
146
146
  }
147
147
  var Q = /*#__PURE__*/ L(Oe, [["render", Ae]]);
148
148
  // src/utils/richTextColor.ts
@@ -153,7 +153,7 @@ function $(e, t) {
153
153
  var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ne = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Pe = ["aria-label", "title"], Fe = ["aria-label", "title"], Ie = {
154
154
  key: 1,
155
155
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
156
- }, Le = /* @__PURE__ */ n({
156
+ }, Le = /* @__PURE__ */ t({
157
157
  __name: "ParagraphToolbar",
158
158
  props: {
159
159
  editor: {},
@@ -168,32 +168,32 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
168
168
  "add-logic-tag"
169
169
  ],
170
170
  setup(e, { emit: t }) {
171
- let n = s(() => import("./AiRewriteMenu-4F6vwhJ5.js")), i = e, a = r(te, {}), u = y(() => a.ai?.isFeatureEnabled("rewrite") ?? !1), h = t, g = r(N, null), C = r(ee, null), w = A(ne, "ParagraphToolbar"), T = F(), E = r(j, null), D = r(M, null), O = r(P, null), k = y(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: I } = re(), L = w.fonts, z = Ce.map((e) => ({
171
+ let r = a(() => import("./AiRewriteMenu-qf-cfEpy.js")), o = e, l = n(te, {}), d = v(() => l.ai?.isFeatureEnabled("rewrite") ?? !1), g = t, x = n(N, null), C = n(ee, null), w = A(ne, "ParagraphToolbar"), T = F(), E = n(j, null), D = n(M, null), O = n(P, null), k = v(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: I } = re(), L = w.fonts, z = Ce.map((e) => ({
172
172
  value: e,
173
173
  label: e === "normal" ? I.paragraphEditor.letterSpacingNormal : e
174
174
  }));
175
175
  function B(e) {
176
- i.editor?.chain().focus().insertContent(e).run();
176
+ o.editor?.chain().focus().insertContent(e).run();
177
177
  }
178
178
  function V(e) {
179
- return i.editor?.getAttributes("textStyle")[e] || "";
179
+ return o.editor?.getAttributes("textStyle")[e] || "";
180
180
  }
181
181
  function H(e) {
182
- let t = i.editor?.chain().focus();
182
+ let t = o.editor?.chain().focus();
183
183
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
184
184
  }
185
185
  function U(e) {
186
- let t = i.editor?.chain().focus();
186
+ let t = o.editor?.chain().focus();
187
187
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
188
188
  }
189
189
  function G() {
190
- return i.editor?.isActive("link") ?? !1;
190
+ return o.editor?.isActive("link") ?? !1;
191
191
  }
192
192
  function K() {
193
- return i.editor?.getAttributes("link").color || "";
193
+ return o.editor?.getAttributes("link").color || "";
194
194
  }
195
195
  function q(e) {
196
- let t = i.editor?.chain().focus();
196
+ let t = o.editor?.chain().focus();
197
197
  t && (G() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
198
198
  }
199
199
  function J() {
@@ -204,44 +204,44 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
204
204
  return G() ? K() : V("color");
205
205
  }
206
206
  function X() {
207
- return i.editor?.getAttributes("paragraph").lineHeight || "";
207
+ return o.editor?.getAttributes("paragraph").lineHeight || "";
208
208
  }
209
209
  function Oe(e) {
210
- let t = i.editor?.chain().focus();
210
+ let t = o.editor?.chain().focus();
211
211
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
212
212
  }
213
213
  function ke(e) {
214
- let t = i.editor?.chain().focus();
214
+ let t = o.editor?.chain().focus();
215
215
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
216
216
  }
217
217
  function Ae() {
218
- return i.editor?.getAttributes("highlight").color || "";
218
+ return o.editor?.getAttributes("highlight").color || "";
219
219
  }
220
220
  function Le(e) {
221
- let t = i.editor?.chain().focus();
221
+ let t = o.editor?.chain().focus();
222
222
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
223
223
  }
224
- return (t, r) => v(T) && !k.value ? (o(), m(f, {
224
+ return (t, n) => y(T) && !k.value ? (i(), h(f, {
225
225
  key: 0,
226
- to: v(T)
226
+ to: y(T)
227
227
  }, [_("div", {
228
- "data-tpl-theme": v(C),
228
+ "data-tpl-theme": y(C),
229
229
  role: "toolbar",
230
- "aria-label": v(I).paragraphEditor.toolbar,
230
+ "aria-label": y(I).paragraphEditor.toolbar,
231
231
  class: "tpl tpl-text-toolbar tpl:absolute tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
232
- style: x({
233
- ...v(g),
232
+ style: u({
233
+ ...y(x),
234
234
  top: `${e.toolbarPosition.top}px`,
235
235
  left: `${e.toolbarPosition.left}px`,
236
236
  transform: "translateY(-100%)",
237
237
  flexDirection: "column"
238
238
  })
239
- }, [!e.isLoading && e.editor ? (o(), c(b, { key: 0 }, [_("div", Me, [
239
+ }, [!e.isLoading && e.editor ? (i(), s(b, { key: 0 }, [_("div", Me, [
240
240
  S(W, {
241
- "model-value": v(Ee)(V("fontFamily")),
242
- options: v(Te)(v(L), V("fontFamily")),
243
- label: v(I).paragraphEditor.fontFamily,
244
- placeholder: v(I).paragraphEditor.defaultFont,
241
+ "model-value": y(Ee)(V("fontFamily")),
242
+ options: y(Te)(y(L), V("fontFamily")),
243
+ label: y(I).paragraphEditor.fontFamily,
244
+ placeholder: y(I).paragraphEditor.defaultFont,
245
245
  "width-class": "tpl:w-32",
246
246
  "onUpdate:modelValue": H
247
247
  }, null, 8, [
@@ -252,9 +252,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
252
252
  ]),
253
253
  S(W, {
254
254
  "model-value": V("fontSize"),
255
- options: v(xe),
256
- label: v(I).paragraphEditor.fontSize,
257
- placeholder: v(I).paragraphEditor.defaultSize,
255
+ options: y(xe),
256
+ label: y(I).paragraphEditor.fontSize,
257
+ placeholder: y(I).paragraphEditor.defaultSize,
258
258
  "width-class": "tpl:w-20",
259
259
  "onUpdate:modelValue": U
260
260
  }, null, 8, [
@@ -270,7 +270,7 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
270
270
  "data-testid": "text-color-picker",
271
271
  "model-value": Y(),
272
272
  "seed-color": J(),
273
- "aria-label": v(I).paragraphEditor.textColor,
273
+ "aria-label": y(I).paragraphEditor.textColor,
274
274
  "onUpdate:modelValue": q
275
275
  }, null, 8, [
276
276
  "model-value",
@@ -282,8 +282,8 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
282
282
  size: "sm",
283
283
  "data-testid": "highlight-color-picker",
284
284
  "model-value": Ae(),
285
- "seed-color": v(Se),
286
- "aria-label": v(I).paragraphEditor.highlightColor,
285
+ "seed-color": y(Se),
286
+ "aria-label": y(I).paragraphEditor.highlightColor,
287
287
  "onUpdate:modelValue": Le
288
288
  }, null, 8, [
289
289
  "model-value",
@@ -292,41 +292,41 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
292
292
  ]),
293
293
  S(Q),
294
294
  S(Z, {
295
- icon: v(le),
296
- label: v(I).paragraphEditor.bold,
295
+ icon: y(fe),
296
+ label: y(I).paragraphEditor.bold,
297
297
  active: e.editor.isActive("bold"),
298
298
  "stroke-width": 2.5,
299
- onClick: r[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
299
+ onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
300
300
  }, null, 8, [
301
301
  "icon",
302
302
  "label",
303
303
  "active"
304
304
  ]),
305
305
  S(Z, {
306
- icon: v(_e),
307
- label: v(I).paragraphEditor.italic,
306
+ icon: y(me),
307
+ label: y(I).paragraphEditor.italic,
308
308
  active: e.editor.isActive("italic"),
309
- onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
309
+ onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
310
310
  }, null, 8, [
311
311
  "icon",
312
312
  "label",
313
313
  "active"
314
314
  ]),
315
315
  S(Z, {
316
- icon: v(ye),
317
- label: v(I).paragraphEditor.underline,
316
+ icon: y(ye),
317
+ label: y(I).paragraphEditor.underline,
318
318
  active: e.editor.isActive("underline"),
319
- onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
319
+ onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
320
320
  }, null, 8, [
321
321
  "icon",
322
322
  "label",
323
323
  "active"
324
324
  ]),
325
325
  S(Z, {
326
- icon: v(ae),
327
- label: v(I).paragraphEditor.strikethrough,
326
+ icon: y(ie),
327
+ label: y(I).paragraphEditor.strikethrough,
328
328
  active: e.editor.isActive("strike"),
329
- onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
329
+ onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
330
330
  }, null, 8, [
331
331
  "icon",
332
332
  "label",
@@ -334,20 +334,20 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
334
334
  ]),
335
335
  S(Q),
336
336
  S(Z, {
337
- icon: v(ce),
338
- label: v(I).paragraphEditor.subscript,
337
+ icon: y(se),
338
+ label: y(I).paragraphEditor.subscript,
339
339
  active: e.editor.isActive("subscript"),
340
- onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
340
+ onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
341
341
  }, null, 8, [
342
342
  "icon",
343
343
  "label",
344
344
  "active"
345
345
  ]),
346
346
  S(Z, {
347
- icon: v(fe),
348
- label: v(I).paragraphEditor.superscript,
347
+ icon: y(de),
348
+ label: y(I).paragraphEditor.superscript,
349
349
  active: e.editor.isActive("superscript"),
350
- onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
350
+ onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
351
351
  }, null, 8, [
352
352
  "icon",
353
353
  "label",
@@ -355,10 +355,10 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
355
355
  ]),
356
356
  S(Q),
357
357
  S(Z, {
358
- icon: v(he),
359
- label: v(I).paragraphEditor.addLink,
358
+ icon: y(he),
359
+ label: y(I).paragraphEditor.addLink,
360
360
  active: e.editor.isActive("link"),
361
- onClick: r[6] ||= (e) => h("open-link-dialog")
361
+ onClick: n[6] ||= (e) => g("open-link-dialog")
362
362
  }, null, 8, [
363
363
  "icon",
364
364
  "label",
@@ -366,20 +366,20 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
366
366
  ])
367
367
  ]), _("div", Ne, [
368
368
  S(Z, {
369
- icon: v(ge),
370
- label: v(I).paragraphEditor.bulletList,
369
+ icon: y(_e),
370
+ label: y(I).paragraphEditor.bulletList,
371
371
  active: e.editor.isActive("bulletList"),
372
- onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
372
+ onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
373
373
  }, null, 8, [
374
374
  "icon",
375
375
  "label",
376
376
  "active"
377
377
  ]),
378
378
  S(Z, {
379
- icon: v(ve),
380
- label: v(I).paragraphEditor.numberedList,
379
+ icon: y(ve),
380
+ label: y(I).paragraphEditor.numberedList,
381
381
  active: e.editor.isActive("orderedList"),
382
- onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
382
+ onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
383
383
  }, null, 8, [
384
384
  "icon",
385
385
  "label",
@@ -387,40 +387,40 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
387
387
  ]),
388
388
  S(Q),
389
389
  S(Z, {
390
- icon: v(me),
391
- label: v(I).paragraphEditor.alignLeft,
390
+ icon: y(ge),
391
+ label: y(I).paragraphEditor.alignLeft,
392
392
  active: e.editor.isActive({ textAlign: "left" }),
393
- onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
393
+ onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
394
394
  }, null, 8, [
395
395
  "icon",
396
396
  "label",
397
397
  "active"
398
398
  ]),
399
399
  S(Z, {
400
- icon: v(be),
401
- label: v(I).paragraphEditor.alignCenter,
400
+ icon: y(be),
401
+ label: y(I).paragraphEditor.alignCenter,
402
402
  active: e.editor.isActive({ textAlign: "center" }),
403
- onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
403
+ onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
404
404
  }, null, 8, [
405
405
  "icon",
406
406
  "label",
407
407
  "active"
408
408
  ]),
409
409
  S(Z, {
410
- icon: v(ue),
411
- label: v(I).paragraphEditor.alignRight,
410
+ icon: y(le),
411
+ label: y(I).paragraphEditor.alignRight,
412
412
  active: e.editor.isActive({ textAlign: "right" }),
413
- onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
413
+ onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
414
414
  }, null, 8, [
415
415
  "icon",
416
416
  "label",
417
417
  "active"
418
418
  ]),
419
419
  S(Z, {
420
- icon: v(pe),
421
- label: v(I).paragraphEditor.alignJustify,
420
+ icon: y(pe),
421
+ label: y(I).paragraphEditor.alignJustify,
422
422
  active: e.editor.isActive({ textAlign: "justify" }),
423
- onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
423
+ onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
424
424
  }, null, 8, [
425
425
  "icon",
426
426
  "label",
@@ -429,9 +429,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
429
429
  S(Q),
430
430
  S(W, {
431
431
  "model-value": X(),
432
- options: v(we),
433
- label: v(I).paragraphEditor.lineHeight,
434
- placeholder: v(I).paragraphEditor.lineHeightShort,
432
+ options: y(we),
433
+ label: y(I).paragraphEditor.lineHeight,
434
+ placeholder: y(I).paragraphEditor.lineHeightShort,
435
435
  "width-class": "tpl:w-16",
436
436
  "onUpdate:modelValue": Oe
437
437
  }, null, 8, [
@@ -442,9 +442,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
442
442
  ]),
443
443
  S(W, {
444
444
  "model-value": V("letterSpacing"),
445
- options: v(z),
446
- label: v(I).paragraphEditor.letterSpacing,
447
- placeholder: v(I).paragraphEditor.letterSpacingShort,
445
+ options: y(z),
446
+ label: y(I).paragraphEditor.letterSpacing,
447
+ placeholder: y(I).paragraphEditor.letterSpacingShort,
448
448
  "width-class": "tpl:w-20",
449
449
  "onUpdate:modelValue": ke
450
450
  }, null, 8, [
@@ -455,41 +455,41 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
455
455
  ]),
456
456
  S(Q),
457
457
  S(Z, {
458
- icon: v(oe),
459
- label: v(I).paragraphEditor.clearFormatting,
460
- onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
458
+ icon: y(ae),
459
+ label: y(I).paragraphEditor.clearFormatting,
460
+ onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
461
461
  }, null, 8, ["icon", "label"]),
462
462
  S(Q),
463
463
  S(De, { onInsert: B }),
464
- e.canRequestMergeTag ? (o(), c(b, { key: 0 }, [S(Q), _("button", {
464
+ e.canRequestMergeTag ? (i(), s(b, { key: 0 }, [S(Q), _("button", {
465
465
  type: "button",
466
466
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
467
- "aria-label": v(I).mergeTag.insert,
468
- title: v(I).mergeTag.insert,
469
- onClick: r[14] ||= (e) => h("add-merge-tag")
470
- }, [S(v(se), {
467
+ "aria-label": y(I).mergeTag.insert,
468
+ title: y(I).mergeTag.insert,
469
+ onClick: n[14] ||= (e) => g("add-merge-tag")
470
+ }, [S(y(oe), {
471
471
  size: 16,
472
472
  "stroke-width": 2
473
- }), l(" " + d(v(I).mergeTag.insertShort), 1)], 8, Pe)], 64)) : p("", !0),
474
- e.canInsertLogicTag ? (o(), c(b, { key: 1 }, [S(Q), _("button", {
473
+ }), c(" " + p(y(I).mergeTag.insertShort), 1)], 8, Pe)], 64)) : m("", !0),
474
+ e.canInsertLogicTag ? (i(), s(b, { key: 1 }, [S(Q), _("button", {
475
475
  type: "button",
476
476
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
477
- "aria-label": v(I).logicTag.insert,
478
- title: v(I).logicTag.insert,
477
+ "aria-label": y(I).logicTag.insert,
478
+ title: y(I).logicTag.insert,
479
479
  "data-testid": "insert-logic-button",
480
- onClick: r[15] ||= (e) => h("add-logic-tag")
481
- }, [S(v(ie), {
480
+ onClick: n[15] ||= (e) => g("add-logic-tag")
481
+ }, [S(y(ce), {
482
482
  size: 16,
483
483
  "stroke-width": 2
484
- }), l(" " + d(v(I).logicTag.insertShort), 1)], 8, Fe)], 64)) : p("", !0),
485
- u.value ? (o(), c(b, { key: 2 }, [S(Q), S(v(n), { editor: e.editor }, null, 8, ["editor"])], 64)) : p("", !0)
486
- ])], 64)) : (o(), c("div", Ie, [S(v(de), {
484
+ }), c(" " + p(y(I).logicTag.insertShort), 1)], 8, Fe)], 64)) : m("", !0),
485
+ d.value ? (i(), s(b, { key: 2 }, [S(Q), S(y(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : m("", !0)
486
+ ])], 64)) : (i(), s("div", Ie, [S(y(ue), {
487
487
  class: "tpl-spinner",
488
488
  size: 14,
489
489
  "stroke-width": 2
490
- }), l(" " + d(v(I).errors.editorLoading), 1)]))], 12, je)], 8, ["to"])) : p("", !0);
490
+ }), c(" " + p(y(I).errors.editorLoading), 1)]))], 12, je)], 8, ["to"])) : m("", !0);
491
491
  }
492
- }), Re = { class: "tpl-text-editor-wrapper tpl:relative" }, ze = /*@__PURE__*/ n({
492
+ }), Re = { class: "tpl-text-editor-wrapper tpl:relative" }, ze = /*@__PURE__*/ t({
493
493
  __name: "ParagraphEditor",
494
494
  props: {
495
495
  block: {},
@@ -497,31 +497,31 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
497
497
  },
498
498
  emits: ["done"],
499
499
  setup(e, { emit: t }) {
500
- let n = e, i = t, s = F(), l = r(P, null), u = w(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: f, isLoading: p, initError: m, retry: h, showLinkDialog: g, linkUrl: _, linkColor: y, linkDialogRef: b, canRequestMergeTag: x, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: O, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: N } = D({
501
- blockId: () => n.block.id,
502
- blockContent: () => n.block.content,
503
- onDone: () => i("done"),
500
+ let r = e, a = t, c = F(), l = n(P, null), u = w(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: f, isLoading: p, initError: m, retry: h, showLinkDialog: g, linkUrl: _, linkColor: v, linkDialogRef: b, canRequestMergeTag: x, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: O, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: N } = D({
501
+ blockId: () => r.block.id,
502
+ blockContent: () => r.block.content,
503
+ onDone: () => a("done"),
504
504
  editorName: "ParagraphEditor",
505
505
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
506
- let [{ Editor: a, EditorContent: o }, { default: c }, { default: l }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
507
- import("./tiptap-ChSZybTi.js").then((e) => e.i),
508
- import("./tiptap-ChSZybTi.js").then((e) => e.a),
509
- import("./tiptap-ChSZybTi.js").then((e) => e.u),
510
- import("./tiptap-ChSZybTi.js").then((e) => e.o),
511
- import("./tiptap-ChSZybTi.js").then((e) => e.l),
512
- import("./tiptap-ChSZybTi.js").then((e) => e.c),
513
- import("./tiptap-ChSZybTi.js").then((e) => e.s),
514
- import("./tiptap-ChSZybTi.js").then((e) => e.m),
515
- import("./tiptap-ChSZybTi.js").then((e) => e.p),
516
- import("./tiptap-ChSZybTi.js").then((e) => e.f),
517
- import("./tiptap-ChSZybTi.js").then((e) => e.d),
518
- import("./extensions-ClDhn88e.js")
506
+ let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
507
+ import("./tiptap-CbiTlECY.js").then((e) => e.i),
508
+ import("./tiptap-CbiTlECY.js").then((e) => e.a),
509
+ import("./tiptap-CbiTlECY.js").then((e) => e.u),
510
+ import("./tiptap-CbiTlECY.js").then((e) => e.o),
511
+ import("./tiptap-CbiTlECY.js").then((e) => e.l),
512
+ import("./tiptap-CbiTlECY.js").then((e) => e.c),
513
+ import("./tiptap-CbiTlECY.js").then((e) => e.s),
514
+ import("./tiptap-CbiTlECY.js").then((e) => e.m),
515
+ import("./tiptap-CbiTlECY.js").then((e) => e.p),
516
+ import("./tiptap-CbiTlECY.js").then((e) => e.f),
517
+ import("./tiptap-CbiTlECY.js").then((e) => e.d),
518
+ import("./extensions-CFF2KWy-.js")
519
519
  ]);
520
520
  return {
521
521
  TiptapEditor: a,
522
522
  EC: o,
523
523
  extensions: [
524
- c.configure({
524
+ s.configure({
525
525
  heading: !1,
526
526
  codeBlock: !1,
527
527
  blockquote: !1,
@@ -560,22 +560,22 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
560
560
  mergeTags: () => e.value,
561
561
  char: n,
562
562
  emptyText: i,
563
- popoverRoot: s
563
+ popoverRoot: c
564
564
  })] : []
565
565
  ]
566
566
  };
567
567
  }
568
568
  });
569
- return (t, n) => (o(), c("div", Re, [
569
+ return (t, n) => (i(), s("div", Re, [
570
570
  S(Le, {
571
- editor: v(d),
571
+ editor: y(d),
572
572
  "toolbar-position": e.toolbarPosition,
573
- "is-loading": v(p),
574
- "can-request-merge-tag": v(x),
575
- "can-insert-logic-tag": v(C),
576
- onOpenLinkDialog: v(T),
577
- onAddMergeTag: v(M),
578
- onAddLogicTag: v(N)
573
+ "is-loading": y(p),
574
+ "can-request-merge-tag": y(x),
575
+ "can-insert-logic-tag": y(C),
576
+ onOpenLinkDialog: y(T),
577
+ onAddMergeTag: y(M),
578
+ onAddLogicTag: y(N)
579
579
  }, null, 8, [
580
580
  "editor",
581
581
  "toolbar-position",
@@ -587,11 +587,11 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
587
587
  "onAddLogicTag"
588
588
  ]),
589
589
  S(B, {
590
- editor: v(d),
591
- "editor-content": v(f),
592
- "is-loading": v(p),
593
- "init-error": v(m),
594
- onRetry: v(h)
590
+ editor: y(d),
591
+ "editor-content": y(f),
592
+ "is-loading": y(p),
593
+ "init-error": y(m),
594
+ onRetry: y(h)
595
595
  }, null, 8, [
596
596
  "editor",
597
597
  "editor-content",
@@ -600,18 +600,18 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
600
600
  "onRetry"
601
601
  ]),
602
602
  S(z, {
603
- visible: v(g),
604
- "is-editing-link": v(d)?.isActive("link") ?? !1,
605
- "dialog-ref": v(b),
606
- "onUpdate:dialogRef": n[0] ||= (e) => a(b) ? b.value = e : null,
607
- "link-url": v(_),
608
- "onUpdate:linkUrl": n[1] ||= (e) => a(_) ? _.value = e : null,
609
- "link-color": v(y),
610
- "onUpdate:linkColor": n[2] ||= (e) => a(y) ? y.value = e : null,
611
- onClose: v(A),
612
- onInsert: v(E),
613
- onRemove: v(O),
614
- onKeydown: v(j)
603
+ visible: y(g),
604
+ "is-editing-link": y(d)?.isActive("link") ?? !1,
605
+ "dialog-ref": y(b),
606
+ "onUpdate:dialogRef": n[0] ||= (e) => o(b) ? b.value = e : null,
607
+ "link-url": y(_),
608
+ "onUpdate:linkUrl": n[1] ||= (e) => o(_) ? _.value = e : null,
609
+ "link-color": y(v),
610
+ "onUpdate:linkColor": n[2] ||= (e) => o(v) ? v.value = e : null,
611
+ onClose: y(A),
612
+ onInsert: y(E),
613
+ onRemove: y(O),
614
+ onKeydown: y(j)
615
615
  }, null, 8, [
616
616
  "visible",
617
617
  "is-editing-link",
@@ -628,4 +628,4 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
628
628
  }), Be = /* @__PURE__ */ e({ default: () => Ve }), Ve = ze;
629
629
  export { Ve as default, W as n, Be as t };
630
630
 
631
- //# sourceMappingURL=ParagraphEditor-DsPLVAgm.js.map
631
+ //# sourceMappingURL=ParagraphEditor-B3Rj_cWF.js.map