@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.
- package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
- package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
- package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
- package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
- package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
- package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
- package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
- package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
- package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
- package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
- package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
- package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
- package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
- package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
- package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
- package/dist/IssuesPanel-4ykrf1ax.js +359 -0
- package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
- package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
- package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
- package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
- package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
- package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
- package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
- package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
- package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
- package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
- package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
- package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
- package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
- package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
- package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
- package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
- package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
- package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
- package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
- package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
- package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
- package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
- package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
- package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
- package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
- package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
- package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
- package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
- package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
- package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
- package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
- package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
- package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
- package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
- package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
- package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
- package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
- package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
- package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
- package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
- package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
- package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
- package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
- package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
- package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
- package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
- package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
- package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
- package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
- package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
- package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
- package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
- package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
- package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
- package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
- package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
- package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
- package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
- package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
- package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
- package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
- package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
- package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
- package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
- package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
- package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
- package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
- package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
- package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
- package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
- package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
- package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
- package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
- package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
- package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
- package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
- package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
- package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
- package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
- package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
- package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
- package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
- package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
- package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
- package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
- package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
- package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
- package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1422 -1422
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
- package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
- package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
- package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
- package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
- package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
- package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
- package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
- package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
- package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
- package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
- package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
- package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
- package/dist/en-Db76vJbY.js +1 -0
- package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
- package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
- package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
- package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
- package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
- package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
- package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
- package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
- package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
- package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
- package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
- package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
- package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
- package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
- package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
- package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
- package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
- package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
- package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
- package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
- package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
- package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +1096 -1096
- package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
- package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
- package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
- package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
- package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
- package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
- package/dist/useEditorRoot-BMcoCLBx.js +7 -0
- package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
- package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
- package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
- package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
- package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
- package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
- package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
- package/package.json +10 -10
- package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
- package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
- package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
- package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
- package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
- package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
- package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
- package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
- package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
- package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
- package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
- package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
- package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
- package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
- package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
- package/dist/en-CyEE7FPY.js +0 -1
- package/dist/useEditorRoot-BKr6nNkC.js +0 -7
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
|
|
2
|
-
import {
|
|
3
|
-
import { $ as w } from "./src-
|
|
4
|
-
import { t as T } from "./dist-
|
|
5
|
-
import { S as E, v as D, x as O, y as k } from "./useEditorCore-
|
|
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-
|
|
7
|
-
import { t as re } from "./useI18n-
|
|
8
|
-
import { n as F } from "./usePopoverPosition-
|
|
9
|
-
import {
|
|
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-
|
|
13
|
-
import { n as Te, t as Ee } from "./withCurrentFont-
|
|
14
|
-
import { n as z, t as B } from "./RichTextEditorContent-
|
|
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__ */
|
|
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,
|
|
32
|
-
function
|
|
33
|
-
|
|
31
|
+
let n = e, a = t;
|
|
32
|
+
function o(e) {
|
|
33
|
+
a("update:modelValue", e.target.value);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
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
|
-
]),
|
|
48
|
-
let e =
|
|
49
|
-
return e === "" || n.options.some((t) =>
|
|
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) => (
|
|
52
|
-
class:
|
|
53
|
-
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:
|
|
57
|
-
}, [_("option", H,
|
|
58
|
-
key:
|
|
59
|
-
value:
|
|
60
|
-
},
|
|
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__ */
|
|
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:
|
|
70
|
-
let
|
|
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
|
-
|
|
72
|
+
o.value && u();
|
|
73
73
|
});
|
|
74
74
|
function k(e) {
|
|
75
|
-
|
|
75
|
+
n("insert", e), u();
|
|
76
76
|
}
|
|
77
|
-
return (e, t) => (
|
|
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:
|
|
84
|
-
"aria-label":
|
|
85
|
-
title:
|
|
86
|
-
"aria-expanded":
|
|
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) =>
|
|
90
|
-
}, [S(
|
|
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),
|
|
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":
|
|
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] ||=
|
|
104
|
-
}, [(
|
|
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,
|
|
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":
|
|
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
|
-
},
|
|
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__ */
|
|
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) => (
|
|
129
|
+
return (t, n) => (i(), s("button", {
|
|
130
130
|
type: "button",
|
|
131
|
-
class:
|
|
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
|
-
}, [(
|
|
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
|
|
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__ */
|
|
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
|
|
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
|
-
|
|
176
|
+
o.editor?.chain().focus().insertContent(e).run();
|
|
177
177
|
}
|
|
178
178
|
function V(e) {
|
|
179
|
-
return
|
|
179
|
+
return o.editor?.getAttributes("textStyle")[e] || "";
|
|
180
180
|
}
|
|
181
181
|
function H(e) {
|
|
182
|
-
let t =
|
|
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 =
|
|
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
|
|
190
|
+
return o.editor?.isActive("link") ?? !1;
|
|
191
191
|
}
|
|
192
192
|
function K() {
|
|
193
|
-
return
|
|
193
|
+
return o.editor?.getAttributes("link").color || "";
|
|
194
194
|
}
|
|
195
195
|
function q(e) {
|
|
196
|
-
let t =
|
|
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
|
|
207
|
+
return o.editor?.getAttributes("paragraph").lineHeight || "";
|
|
208
208
|
}
|
|
209
209
|
function Oe(e) {
|
|
210
|
-
let t =
|
|
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 =
|
|
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
|
|
218
|
+
return o.editor?.getAttributes("highlight").color || "";
|
|
219
219
|
}
|
|
220
220
|
function Le(e) {
|
|
221
|
-
let t =
|
|
221
|
+
let t = o.editor?.chain().focus();
|
|
222
222
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
223
223
|
}
|
|
224
|
-
return (t,
|
|
224
|
+
return (t, n) => y(T) && !k.value ? (i(), h(f, {
|
|
225
225
|
key: 0,
|
|
226
|
-
to:
|
|
226
|
+
to: y(T)
|
|
227
227
|
}, [_("div", {
|
|
228
|
-
"data-tpl-theme":
|
|
228
|
+
"data-tpl-theme": y(C),
|
|
229
229
|
role: "toolbar",
|
|
230
|
-
"aria-label":
|
|
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:
|
|
233
|
-
...
|
|
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 ? (
|
|
239
|
+
}, [!e.isLoading && e.editor ? (i(), s(b, { key: 0 }, [_("div", Me, [
|
|
240
240
|
S(W, {
|
|
241
|
-
"model-value":
|
|
242
|
-
options:
|
|
243
|
-
label:
|
|
244
|
-
placeholder:
|
|
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:
|
|
256
|
-
label:
|
|
257
|
-
placeholder:
|
|
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":
|
|
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":
|
|
286
|
-
"aria-label":
|
|
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:
|
|
296
|
-
label:
|
|
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:
|
|
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:
|
|
307
|
-
label:
|
|
306
|
+
icon: y(me),
|
|
307
|
+
label: y(I).paragraphEditor.italic,
|
|
308
308
|
active: e.editor.isActive("italic"),
|
|
309
|
-
onClick:
|
|
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:
|
|
317
|
-
label:
|
|
316
|
+
icon: y(ye),
|
|
317
|
+
label: y(I).paragraphEditor.underline,
|
|
318
318
|
active: e.editor.isActive("underline"),
|
|
319
|
-
onClick:
|
|
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:
|
|
327
|
-
label:
|
|
326
|
+
icon: y(ie),
|
|
327
|
+
label: y(I).paragraphEditor.strikethrough,
|
|
328
328
|
active: e.editor.isActive("strike"),
|
|
329
|
-
onClick:
|
|
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:
|
|
338
|
-
label:
|
|
337
|
+
icon: y(se),
|
|
338
|
+
label: y(I).paragraphEditor.subscript,
|
|
339
339
|
active: e.editor.isActive("subscript"),
|
|
340
|
-
onClick:
|
|
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:
|
|
348
|
-
label:
|
|
347
|
+
icon: y(de),
|
|
348
|
+
label: y(I).paragraphEditor.superscript,
|
|
349
349
|
active: e.editor.isActive("superscript"),
|
|
350
|
-
onClick:
|
|
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:
|
|
359
|
-
label:
|
|
358
|
+
icon: y(he),
|
|
359
|
+
label: y(I).paragraphEditor.addLink,
|
|
360
360
|
active: e.editor.isActive("link"),
|
|
361
|
-
onClick:
|
|
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:
|
|
370
|
-
label:
|
|
369
|
+
icon: y(_e),
|
|
370
|
+
label: y(I).paragraphEditor.bulletList,
|
|
371
371
|
active: e.editor.isActive("bulletList"),
|
|
372
|
-
onClick:
|
|
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:
|
|
380
|
-
label:
|
|
379
|
+
icon: y(ve),
|
|
380
|
+
label: y(I).paragraphEditor.numberedList,
|
|
381
381
|
active: e.editor.isActive("orderedList"),
|
|
382
|
-
onClick:
|
|
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:
|
|
391
|
-
label:
|
|
390
|
+
icon: y(ge),
|
|
391
|
+
label: y(I).paragraphEditor.alignLeft,
|
|
392
392
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
393
|
-
onClick:
|
|
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:
|
|
401
|
-
label:
|
|
400
|
+
icon: y(be),
|
|
401
|
+
label: y(I).paragraphEditor.alignCenter,
|
|
402
402
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
403
|
-
onClick:
|
|
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:
|
|
411
|
-
label:
|
|
410
|
+
icon: y(le),
|
|
411
|
+
label: y(I).paragraphEditor.alignRight,
|
|
412
412
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
413
|
-
onClick:
|
|
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:
|
|
421
|
-
label:
|
|
420
|
+
icon: y(pe),
|
|
421
|
+
label: y(I).paragraphEditor.alignJustify,
|
|
422
422
|
active: e.editor.isActive({ textAlign: "justify" }),
|
|
423
|
-
onClick:
|
|
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:
|
|
433
|
-
label:
|
|
434
|
-
placeholder:
|
|
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:
|
|
446
|
-
label:
|
|
447
|
-
placeholder:
|
|
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:
|
|
459
|
-
label:
|
|
460
|
-
onClick:
|
|
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 ? (
|
|
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":
|
|
468
|
-
title:
|
|
469
|
-
onClick:
|
|
470
|
-
}, [S(
|
|
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
|
-
}),
|
|
474
|
-
e.canInsertLogicTag ? (
|
|
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":
|
|
478
|
-
title:
|
|
477
|
+
"aria-label": y(I).logicTag.insert,
|
|
478
|
+
title: y(I).logicTag.insert,
|
|
479
479
|
"data-testid": "insert-logic-button",
|
|
480
|
-
onClick:
|
|
481
|
-
}, [S(
|
|
480
|
+
onClick: n[15] ||= (e) => g("add-logic-tag")
|
|
481
|
+
}, [S(y(ce), {
|
|
482
482
|
size: 16,
|
|
483
483
|
"stroke-width": 2
|
|
484
|
-
}),
|
|
485
|
-
|
|
486
|
-
])], 64)) : (
|
|
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
|
-
}),
|
|
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__*/
|
|
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
|
|
501
|
-
blockId: () =>
|
|
502
|
-
blockContent: () =>
|
|
503
|
-
onDone: () =>
|
|
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:
|
|
507
|
-
import("./tiptap-
|
|
508
|
-
import("./tiptap-
|
|
509
|
-
import("./tiptap-
|
|
510
|
-
import("./tiptap-
|
|
511
|
-
import("./tiptap-
|
|
512
|
-
import("./tiptap-
|
|
513
|
-
import("./tiptap-
|
|
514
|
-
import("./tiptap-
|
|
515
|
-
import("./tiptap-
|
|
516
|
-
import("./tiptap-
|
|
517
|
-
import("./tiptap-
|
|
518
|
-
import("./extensions-
|
|
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
|
-
|
|
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:
|
|
563
|
+
popoverRoot: c
|
|
564
564
|
})] : []
|
|
565
565
|
]
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
|
-
return (t, n) => (
|
|
569
|
+
return (t, n) => (i(), s("div", Re, [
|
|
570
570
|
S(Le, {
|
|
571
|
-
editor:
|
|
571
|
+
editor: y(d),
|
|
572
572
|
"toolbar-position": e.toolbarPosition,
|
|
573
|
-
"is-loading":
|
|
574
|
-
"can-request-merge-tag":
|
|
575
|
-
"can-insert-logic-tag":
|
|
576
|
-
onOpenLinkDialog:
|
|
577
|
-
onAddMergeTag:
|
|
578
|
-
onAddLogicTag:
|
|
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:
|
|
591
|
-
"editor-content":
|
|
592
|
-
"is-loading":
|
|
593
|
-
"init-error":
|
|
594
|
-
onRetry:
|
|
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:
|
|
604
|
-
"is-editing-link":
|
|
605
|
-
"dialog-ref":
|
|
606
|
-
"onUpdate:dialogRef": n[0] ||= (e) =>
|
|
607
|
-
"link-url":
|
|
608
|
-
"onUpdate:linkUrl": n[1] ||= (e) =>
|
|
609
|
-
"link-color": v
|
|
610
|
-
"onUpdate:linkColor": n[2] ||= (e) =>
|
|
611
|
-
onClose:
|
|
612
|
-
onInsert:
|
|
613
|
-
onRemove:
|
|
614
|
-
onKeydown:
|
|
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-
|
|
631
|
+
//# sourceMappingURL=ParagraphEditor-B3Rj_cWF.js.map
|