@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,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import {
|
|
3
|
-
import { c as S, s as C } from "./runtime-dom.esm-bundler-
|
|
4
|
-
import { gt as w } from "./dist-
|
|
5
|
-
import { t as T } from "./dist-
|
|
6
|
-
import { C as E, S as D, b as O, y as k } from "./useEditorCore-
|
|
7
|
-
import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-
|
|
8
|
-
import { t as N } from "./useI18n-
|
|
9
|
-
import { n as P } from "./usePopoverPosition-
|
|
10
|
-
import { t as F } from "./createLucideIcon-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as le } from "./link-
|
|
14
|
-
import { t as ue } from "./list-
|
|
15
|
-
import { t as de } from "./loader-circle-
|
|
16
|
-
import { n as fe, r as pe, t as me } from "./text-align-start-
|
|
2
|
+
import { $ as t, C as n, I as r, J as i, Mt as a, N as o, Nt as s, _ as c, a as l, c as u, d, f, g as p, j as m, jt as h, l as g, r as _, st as v, u as y, v as b, y as x } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
|
|
3
|
+
import { c as S, s as C } from "./runtime-dom.esm-bundler-BURR-bj5.js";
|
|
4
|
+
import { gt as w } from "./dist-CKi_npZM.js";
|
|
5
|
+
import { t as T } from "./dist-ByCWA2Tv.js";
|
|
6
|
+
import { C as E, S as D, b as O, y as k } from "./useEditorCore-BSo2sSID.js";
|
|
7
|
+
import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-BgRERHzu.js";
|
|
8
|
+
import { t as N } from "./useI18n-BBrHTdu8.js";
|
|
9
|
+
import { n as P } from "./usePopoverPosition-DV1PxL66.js";
|
|
10
|
+
import { t as F } from "./createLucideIcon-CvhTA2KG.js";
|
|
11
|
+
import { c as I, l as ae, u as oe } from "./LogicTagInsertButton-CfscnwCn.js";
|
|
12
|
+
import { i as se, n as L, r as ce, t as R } from "./RichTextEditorContent-o6HmE8GR.js";
|
|
13
|
+
import { t as le } from "./link-ju_2Cmir.js";
|
|
14
|
+
import { t as ue } from "./list-DYZJf0aZ.js";
|
|
15
|
+
import { t as de } from "./loader-circle-BZRD0a4I.js";
|
|
16
|
+
import { n as fe, r as pe, t as me } from "./text-align-start-CGacJ9Vw.js";
|
|
17
17
|
import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
18
18
|
import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-B8xVRiwX.js";
|
|
19
|
-
import { n as ye, t as be } from "./withCurrentFont-
|
|
19
|
+
import { n as ye, t as be } from "./withCurrentFont-B22FXAF5.js";
|
|
20
20
|
var B = F({
|
|
21
21
|
name: "face-slightly-smiling",
|
|
22
22
|
size: 24,
|
|
@@ -194,37 +194,37 @@ var B = F({
|
|
|
194
194
|
widthClass: {}
|
|
195
195
|
},
|
|
196
196
|
emits: ["update:modelValue"],
|
|
197
|
-
setup(e, { emit:
|
|
198
|
-
let
|
|
199
|
-
function
|
|
200
|
-
|
|
197
|
+
setup(e, { emit: t }) {
|
|
198
|
+
let n = e, r = t;
|
|
199
|
+
function i(e) {
|
|
200
|
+
r("update:modelValue", e.target.value);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function a(e) {
|
|
203
203
|
return typeof e == "string" ? e : e.value;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function c(e) {
|
|
206
206
|
return typeof e == "string" ? e : e.label;
|
|
207
207
|
}
|
|
208
|
-
let
|
|
208
|
+
let l = /* @__PURE__ */ new Set([
|
|
209
209
|
"inherit",
|
|
210
210
|
"initial",
|
|
211
211
|
"unset",
|
|
212
212
|
"revert",
|
|
213
213
|
"revert-layer"
|
|
214
|
-
]),
|
|
215
|
-
let e =
|
|
216
|
-
return e === "" ||
|
|
214
|
+
]), d = u(() => l.has(n.modelValue) ? "" : n.modelValue), p = u(() => {
|
|
215
|
+
let e = d.value;
|
|
216
|
+
return e === "" || n.options.some((t) => a(t) === e) ? n.options : [e, ...n.options];
|
|
217
217
|
});
|
|
218
|
-
return (
|
|
219
|
-
class:
|
|
220
|
-
value:
|
|
218
|
+
return (t, n) => (m(), f("select", {
|
|
219
|
+
class: h(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
|
|
220
|
+
value: d.value,
|
|
221
221
|
"aria-label": e.label,
|
|
222
222
|
title: e.label,
|
|
223
|
-
onChange:
|
|
224
|
-
}, [
|
|
225
|
-
key:
|
|
226
|
-
value:
|
|
227
|
-
},
|
|
223
|
+
onChange: i
|
|
224
|
+
}, [g("option", H, s(e.placeholder ?? ""), 1), (m(!0), f(_, null, o(p.value, (e) => (m(), f("option", {
|
|
225
|
+
key: a(e),
|
|
226
|
+
value: a(e)
|
|
227
|
+
}, s(c(e)), 9, U))), 128))], 42, V));
|
|
228
228
|
}
|
|
229
229
|
}), G = [
|
|
230
230
|
"aria-label",
|
|
@@ -234,50 +234,50 @@ var B = F({
|
|
|
234
234
|
__name: "EmojiPickerDropdown",
|
|
235
235
|
emits: ["insert"],
|
|
236
236
|
setup(e, { emit: n }) {
|
|
237
|
-
let r = n, { categories:
|
|
237
|
+
let r = n, { categories: i, isOpen: a, toggle: l, close: p } = D(), { t: y, format: b } = N(), x = t(null), w = t(null), O = u(() => a.value);
|
|
238
238
|
E(x, O), T(w, () => {
|
|
239
|
-
|
|
239
|
+
a.value && p();
|
|
240
240
|
});
|
|
241
241
|
function k(e) {
|
|
242
|
-
r("insert", e),
|
|
242
|
+
r("insert", e), p();
|
|
243
243
|
}
|
|
244
|
-
return (e,
|
|
244
|
+
return (e, t) => (m(), f("div", {
|
|
245
245
|
ref_key: "rootRef",
|
|
246
246
|
ref: w,
|
|
247
247
|
class: "tpl:relative"
|
|
248
|
-
}, [
|
|
248
|
+
}, [g("button", {
|
|
249
249
|
type: "button",
|
|
250
|
-
class:
|
|
251
|
-
"aria-label":
|
|
252
|
-
title:
|
|
253
|
-
"aria-expanded":
|
|
250
|
+
class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(a) }]),
|
|
251
|
+
"aria-label": v(y).paragraphEditor.insertEmoji,
|
|
252
|
+
title: v(y).paragraphEditor.insertEmoji,
|
|
253
|
+
"aria-expanded": v(a),
|
|
254
254
|
"aria-haspopup": "dialog",
|
|
255
255
|
"aria-controls": "tpl-emoji-picker",
|
|
256
|
-
onClick:
|
|
257
|
-
}, [
|
|
256
|
+
onClick: t[0] ||= (...e) => v(l) && v(l)(...e)
|
|
257
|
+
}, [c(v(B), {
|
|
258
258
|
size: 16,
|
|
259
259
|
"stroke-width": 2
|
|
260
|
-
})], 10, G),
|
|
260
|
+
})], 10, G), v(a) ? (m(), f("div", {
|
|
261
261
|
key: 0,
|
|
262
262
|
id: "tpl-emoji-picker",
|
|
263
263
|
ref_key: "pickerRef",
|
|
264
264
|
ref: x,
|
|
265
265
|
role: "dialog",
|
|
266
266
|
"aria-modal": "false",
|
|
267
|
-
"aria-label":
|
|
267
|
+
"aria-label": v(y).paragraphEditor.insertEmoji,
|
|
268
268
|
tabindex: "-1",
|
|
269
269
|
class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
270
|
-
onKeydown:
|
|
271
|
-
}, [(
|
|
270
|
+
onKeydown: t[1] ||= C(S((...e) => v(p) && v(p)(...e), ["stop", "prevent"]), ["esc"])
|
|
271
|
+
}, [(m(!0), f(_, null, o(v(i), (e) => (m(), f("div", {
|
|
272
272
|
key: e.key,
|
|
273
273
|
class: "tpl:mb-2 tpl:last:mb-0"
|
|
274
|
-
}, [
|
|
274
|
+
}, [g("div", q, s(v(y).emoji[e.key]), 1), g("div", J, [(m(!0), f(_, null, o(e.emojis, (e) => (m(), f("button", {
|
|
275
275
|
key: e,
|
|
276
276
|
type: "button",
|
|
277
|
-
"aria-label":
|
|
277
|
+
"aria-label": v(b)(v(y).paragraphEditor.emojiItemLabel, { emoji: e }),
|
|
278
278
|
class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
279
279
|
onClick: (t) => k(e)
|
|
280
|
-
},
|
|
280
|
+
}, s(e), 9, Y))), 128))])]))), 128))], 40, K)) : d("", !0)], 512));
|
|
281
281
|
}
|
|
282
282
|
}), X = [
|
|
283
283
|
"aria-label",
|
|
@@ -293,13 +293,13 @@ var B = F({
|
|
|
293
293
|
size: {}
|
|
294
294
|
},
|
|
295
295
|
setup(e) {
|
|
296
|
-
return (
|
|
296
|
+
return (t, n) => (m(), f("button", {
|
|
297
297
|
type: "button",
|
|
298
|
-
class:
|
|
298
|
+
class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
|
|
299
299
|
"aria-label": e.label,
|
|
300
300
|
title: e.label,
|
|
301
301
|
"aria-pressed": e.active ? "true" : "false"
|
|
302
|
-
}, [(
|
|
302
|
+
}, [(m(), y(r(e.icon), {
|
|
303
303
|
size: e.size ?? 16,
|
|
304
304
|
"stroke-width": e.strokeWidth ?? 2
|
|
305
305
|
}, null, 8, ["size", "stroke-width"]))], 10, X));
|
|
@@ -309,7 +309,7 @@ var B = F({
|
|
|
309
309
|
"aria-hidden": "true"
|
|
310
310
|
};
|
|
311
311
|
function Ae(e, t) {
|
|
312
|
-
return
|
|
312
|
+
return m(), f("span", ke);
|
|
313
313
|
}
|
|
314
314
|
var $ = /*#__PURE__*/ z(Q, [["render", Ae]]);
|
|
315
315
|
// src/utils/richTextColor.ts
|
|
@@ -335,32 +335,32 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
335
335
|
"add-logic-tag"
|
|
336
336
|
],
|
|
337
337
|
setup(e, { emit: t }) {
|
|
338
|
-
let r = b(() => import("./AiRewriteMenu-
|
|
338
|
+
let r = b(() => import("./AiRewriteMenu-28agTycW.js")), i = e, o = n(re, {}), h = u(() => o.ai?.isFeatureEnabled("rewrite") ?? !1), x = t, S = n(te, null), C = n(ne, null), w = A(ie, "ParagraphToolbar"), T = P(), E = n(j, null), D = n(ee, null), O = n(M, null), k = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: F } = N(), L = w.fonts, R = _e.map((e) => ({
|
|
339
339
|
value: e,
|
|
340
340
|
label: e === "normal" ? F.paragraphEditor.letterSpacingNormal : e
|
|
341
341
|
}));
|
|
342
342
|
function z(e) {
|
|
343
|
-
|
|
343
|
+
i.editor?.chain().focus().insertContent(e).run();
|
|
344
344
|
}
|
|
345
345
|
function B(e) {
|
|
346
|
-
return
|
|
346
|
+
return i.editor?.getAttributes("textStyle")[e] || "";
|
|
347
347
|
}
|
|
348
348
|
function V(e) {
|
|
349
|
-
let t =
|
|
349
|
+
let t = i.editor?.chain().focus();
|
|
350
350
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
351
351
|
}
|
|
352
352
|
function H(e) {
|
|
353
|
-
let t =
|
|
353
|
+
let t = i.editor?.chain().focus();
|
|
354
354
|
e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
|
|
355
355
|
}
|
|
356
356
|
function U() {
|
|
357
|
-
return
|
|
357
|
+
return i.editor?.isActive("link") ?? !1;
|
|
358
358
|
}
|
|
359
359
|
function G() {
|
|
360
|
-
return
|
|
360
|
+
return i.editor?.getAttributes("link").color || "";
|
|
361
361
|
}
|
|
362
362
|
function K(e) {
|
|
363
|
-
let t =
|
|
363
|
+
let t = i.editor?.chain().focus();
|
|
364
364
|
t && (U() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
|
|
365
365
|
}
|
|
366
366
|
function q() {
|
|
@@ -371,44 +371,44 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
371
371
|
return U() ? G() : B("color");
|
|
372
372
|
}
|
|
373
373
|
function Y() {
|
|
374
|
-
return
|
|
374
|
+
return i.editor?.getAttributes("paragraph").lineHeight || "";
|
|
375
375
|
}
|
|
376
376
|
function X(e) {
|
|
377
|
-
let t =
|
|
377
|
+
let t = i.editor?.chain().focus();
|
|
378
378
|
e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
|
|
379
379
|
}
|
|
380
380
|
function Q(e) {
|
|
381
|
-
let t =
|
|
381
|
+
let t = i.editor?.chain().focus();
|
|
382
382
|
e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
|
|
383
383
|
}
|
|
384
384
|
function ke() {
|
|
385
|
-
return
|
|
385
|
+
return i.editor?.getAttributes("highlight").color || "";
|
|
386
386
|
}
|
|
387
387
|
function Ae(e) {
|
|
388
|
-
let t =
|
|
388
|
+
let t = i.editor?.chain().focus();
|
|
389
389
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
390
390
|
}
|
|
391
|
-
return (t, n) =>
|
|
391
|
+
return (t, n) => v(T) && !k.value ? (m(), y(l, {
|
|
392
392
|
key: 0,
|
|
393
|
-
to:
|
|
394
|
-
}, [
|
|
395
|
-
"data-tpl-theme":
|
|
393
|
+
to: v(T)
|
|
394
|
+
}, [g("div", {
|
|
395
|
+
"data-tpl-theme": v(C),
|
|
396
396
|
role: "toolbar",
|
|
397
|
-
"aria-label":
|
|
397
|
+
"aria-label": v(F).paragraphEditor.toolbar,
|
|
398
398
|
class: "tpl tpl-text-toolbar tpl:absolute tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
399
|
-
style:
|
|
400
|
-
...
|
|
399
|
+
style: a({
|
|
400
|
+
...v(S),
|
|
401
401
|
top: `${e.toolbarPosition.top}px`,
|
|
402
402
|
left: `${e.toolbarPosition.left}px`,
|
|
403
403
|
transform: "translateY(-100%)",
|
|
404
404
|
flexDirection: "column"
|
|
405
405
|
})
|
|
406
|
-
}, [!e.isLoading && e.editor ? (
|
|
407
|
-
|
|
408
|
-
"model-value":
|
|
409
|
-
options:
|
|
410
|
-
label:
|
|
411
|
-
placeholder:
|
|
406
|
+
}, [!e.isLoading && e.editor ? (m(), f(_, { key: 0 }, [g("div", Ne, [
|
|
407
|
+
c(W, {
|
|
408
|
+
"model-value": v(be)(B("fontFamily")),
|
|
409
|
+
options: v(ye)(v(L), B("fontFamily")),
|
|
410
|
+
label: v(F).paragraphEditor.fontFamily,
|
|
411
|
+
placeholder: v(F).paragraphEditor.defaultFont,
|
|
412
412
|
"width-class": "tpl:w-32",
|
|
413
413
|
"onUpdate:modelValue": V
|
|
414
414
|
}, null, 8, [
|
|
@@ -417,11 +417,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
417
417
|
"label",
|
|
418
418
|
"placeholder"
|
|
419
419
|
]),
|
|
420
|
-
|
|
420
|
+
c(W, {
|
|
421
421
|
"model-value": B("fontSize"),
|
|
422
|
-
options:
|
|
423
|
-
label:
|
|
424
|
-
placeholder:
|
|
422
|
+
options: v(he),
|
|
423
|
+
label: v(F).paragraphEditor.fontSize,
|
|
424
|
+
placeholder: v(F).paragraphEditor.defaultSize,
|
|
425
425
|
"width-class": "tpl:w-20",
|
|
426
426
|
"onUpdate:modelValue": H
|
|
427
427
|
}, null, 8, [
|
|
@@ -430,37 +430,37 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
430
430
|
"label",
|
|
431
431
|
"placeholder"
|
|
432
432
|
]),
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
c($),
|
|
434
|
+
c(I, {
|
|
435
435
|
"swatch-only": "",
|
|
436
436
|
size: "sm",
|
|
437
437
|
"data-testid": "text-color-picker",
|
|
438
438
|
"model-value": J(),
|
|
439
439
|
"seed-color": q(),
|
|
440
|
-
"aria-label":
|
|
440
|
+
"aria-label": v(F).paragraphEditor.textColor,
|
|
441
441
|
"onUpdate:modelValue": K
|
|
442
442
|
}, null, 8, [
|
|
443
443
|
"model-value",
|
|
444
444
|
"seed-color",
|
|
445
445
|
"aria-label"
|
|
446
446
|
]),
|
|
447
|
-
|
|
447
|
+
c(I, {
|
|
448
448
|
"swatch-only": "",
|
|
449
449
|
size: "sm",
|
|
450
450
|
"data-testid": "highlight-color-picker",
|
|
451
451
|
"model-value": ke(),
|
|
452
|
-
"seed-color":
|
|
453
|
-
"aria-label":
|
|
452
|
+
"seed-color": v(ge),
|
|
453
|
+
"aria-label": v(F).paragraphEditor.highlightColor,
|
|
454
454
|
"onUpdate:modelValue": Ae
|
|
455
455
|
}, null, 8, [
|
|
456
456
|
"model-value",
|
|
457
457
|
"seed-color",
|
|
458
458
|
"aria-label"
|
|
459
459
|
]),
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
icon:
|
|
463
|
-
label:
|
|
460
|
+
c($),
|
|
461
|
+
c(Z, {
|
|
462
|
+
icon: v(ce),
|
|
463
|
+
label: v(F).paragraphEditor.bold,
|
|
464
464
|
active: e.editor.isActive("bold"),
|
|
465
465
|
"stroke-width": 2.5,
|
|
466
466
|
onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
|
|
@@ -469,9 +469,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
469
469
|
"label",
|
|
470
470
|
"active"
|
|
471
471
|
]),
|
|
472
|
-
|
|
473
|
-
icon:
|
|
474
|
-
label:
|
|
472
|
+
c(Z, {
|
|
473
|
+
icon: v(se),
|
|
474
|
+
label: v(F).paragraphEditor.italic,
|
|
475
475
|
active: e.editor.isActive("italic"),
|
|
476
476
|
onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
|
|
477
477
|
}, null, 8, [
|
|
@@ -479,9 +479,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
479
479
|
"label",
|
|
480
480
|
"active"
|
|
481
481
|
]),
|
|
482
|
-
|
|
483
|
-
icon:
|
|
484
|
-
label:
|
|
482
|
+
c(Z, {
|
|
483
|
+
icon: v(De),
|
|
484
|
+
label: v(F).paragraphEditor.underline,
|
|
485
485
|
active: e.editor.isActive("underline"),
|
|
486
486
|
onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
|
|
487
487
|
}, null, 8, [
|
|
@@ -489,9 +489,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
489
489
|
"label",
|
|
490
490
|
"active"
|
|
491
491
|
]),
|
|
492
|
-
|
|
493
|
-
icon:
|
|
494
|
-
label:
|
|
492
|
+
c(Z, {
|
|
493
|
+
icon: v(Ce),
|
|
494
|
+
label: v(F).paragraphEditor.strikethrough,
|
|
495
495
|
active: e.editor.isActive("strike"),
|
|
496
496
|
onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
|
|
497
497
|
}, null, 8, [
|
|
@@ -499,10 +499,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
499
499
|
"label",
|
|
500
500
|
"active"
|
|
501
501
|
]),
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
icon:
|
|
505
|
-
label:
|
|
502
|
+
c($),
|
|
503
|
+
c(Z, {
|
|
504
|
+
icon: v(we),
|
|
505
|
+
label: v(F).paragraphEditor.subscript,
|
|
506
506
|
active: e.editor.isActive("subscript"),
|
|
507
507
|
onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
|
|
508
508
|
}, null, 8, [
|
|
@@ -510,9 +510,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
510
510
|
"label",
|
|
511
511
|
"active"
|
|
512
512
|
]),
|
|
513
|
-
|
|
514
|
-
icon:
|
|
515
|
-
label:
|
|
513
|
+
c(Z, {
|
|
514
|
+
icon: v(Te),
|
|
515
|
+
label: v(F).paragraphEditor.superscript,
|
|
516
516
|
active: e.editor.isActive("superscript"),
|
|
517
517
|
onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
|
|
518
518
|
}, null, 8, [
|
|
@@ -520,10 +520,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
520
520
|
"label",
|
|
521
521
|
"active"
|
|
522
522
|
]),
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
icon:
|
|
526
|
-
label:
|
|
523
|
+
c($),
|
|
524
|
+
c(Z, {
|
|
525
|
+
icon: v(le),
|
|
526
|
+
label: v(F).paragraphEditor.addLink,
|
|
527
527
|
active: e.editor.isActive("link"),
|
|
528
528
|
onClick: n[6] ||= (e) => x("open-link-dialog")
|
|
529
529
|
}, null, 8, [
|
|
@@ -531,10 +531,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
531
531
|
"label",
|
|
532
532
|
"active"
|
|
533
533
|
])
|
|
534
|
-
]),
|
|
535
|
-
|
|
536
|
-
icon:
|
|
537
|
-
label:
|
|
534
|
+
]), g("div", Pe, [
|
|
535
|
+
c(Z, {
|
|
536
|
+
icon: v(ue),
|
|
537
|
+
label: v(F).paragraphEditor.bulletList,
|
|
538
538
|
active: e.editor.isActive("bulletList"),
|
|
539
539
|
onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
|
|
540
540
|
}, null, 8, [
|
|
@@ -542,9 +542,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
542
542
|
"label",
|
|
543
543
|
"active"
|
|
544
544
|
]),
|
|
545
|
-
|
|
546
|
-
icon:
|
|
547
|
-
label:
|
|
545
|
+
c(Z, {
|
|
546
|
+
icon: v(xe),
|
|
547
|
+
label: v(F).paragraphEditor.numberedList,
|
|
548
548
|
active: e.editor.isActive("orderedList"),
|
|
549
549
|
onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
|
|
550
550
|
}, null, 8, [
|
|
@@ -552,10 +552,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
552
552
|
"label",
|
|
553
553
|
"active"
|
|
554
554
|
]),
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
icon:
|
|
558
|
-
label:
|
|
555
|
+
c($),
|
|
556
|
+
c(Z, {
|
|
557
|
+
icon: v(me),
|
|
558
|
+
label: v(F).paragraphEditor.alignLeft,
|
|
559
559
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
560
560
|
onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
|
|
561
561
|
}, null, 8, [
|
|
@@ -563,9 +563,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
563
563
|
"label",
|
|
564
564
|
"active"
|
|
565
565
|
]),
|
|
566
|
-
|
|
567
|
-
icon:
|
|
568
|
-
label:
|
|
566
|
+
c(Z, {
|
|
567
|
+
icon: v(pe),
|
|
568
|
+
label: v(F).paragraphEditor.alignCenter,
|
|
569
569
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
570
570
|
onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
571
571
|
}, null, 8, [
|
|
@@ -573,9 +573,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
573
573
|
"label",
|
|
574
574
|
"active"
|
|
575
575
|
]),
|
|
576
|
-
|
|
577
|
-
icon:
|
|
578
|
-
label:
|
|
576
|
+
c(Z, {
|
|
577
|
+
icon: v(fe),
|
|
578
|
+
label: v(F).paragraphEditor.alignRight,
|
|
579
579
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
580
580
|
onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
581
581
|
}, null, 8, [
|
|
@@ -583,9 +583,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
583
583
|
"label",
|
|
584
584
|
"active"
|
|
585
585
|
]),
|
|
586
|
-
|
|
587
|
-
icon:
|
|
588
|
-
label:
|
|
586
|
+
c(Z, {
|
|
587
|
+
icon: v(Ee),
|
|
588
|
+
label: v(F).paragraphEditor.alignJustify,
|
|
589
589
|
active: e.editor.isActive({ textAlign: "justify" }),
|
|
590
590
|
onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
|
|
591
591
|
}, null, 8, [
|
|
@@ -593,12 +593,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
593
593
|
"label",
|
|
594
594
|
"active"
|
|
595
595
|
]),
|
|
596
|
-
|
|
597
|
-
|
|
596
|
+
c($),
|
|
597
|
+
c(W, {
|
|
598
598
|
"model-value": Y(),
|
|
599
|
-
options:
|
|
600
|
-
label:
|
|
601
|
-
placeholder:
|
|
599
|
+
options: v(ve),
|
|
600
|
+
label: v(F).paragraphEditor.lineHeight,
|
|
601
|
+
placeholder: v(F).paragraphEditor.lineHeightShort,
|
|
602
602
|
"width-class": "tpl:w-16",
|
|
603
603
|
"onUpdate:modelValue": X
|
|
604
604
|
}, null, 8, [
|
|
@@ -607,11 +607,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
607
607
|
"label",
|
|
608
608
|
"placeholder"
|
|
609
609
|
]),
|
|
610
|
-
|
|
610
|
+
c(W, {
|
|
611
611
|
"model-value": B("letterSpacing"),
|
|
612
|
-
options:
|
|
613
|
-
label:
|
|
614
|
-
placeholder:
|
|
612
|
+
options: v(R),
|
|
613
|
+
label: v(F).paragraphEditor.letterSpacing,
|
|
614
|
+
placeholder: v(F).paragraphEditor.letterSpacingShort,
|
|
615
615
|
"width-class": "tpl:w-20",
|
|
616
616
|
"onUpdate:modelValue": Q
|
|
617
617
|
}, null, 8, [
|
|
@@ -620,41 +620,41 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
620
620
|
"label",
|
|
621
621
|
"placeholder"
|
|
622
622
|
]),
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
icon:
|
|
626
|
-
label:
|
|
623
|
+
c($),
|
|
624
|
+
c(Z, {
|
|
625
|
+
icon: v(Se),
|
|
626
|
+
label: v(F).paragraphEditor.clearFormatting,
|
|
627
627
|
onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
628
628
|
}, null, 8, ["icon", "label"]),
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
e.canRequestMergeTag ? (
|
|
629
|
+
c($),
|
|
630
|
+
c(Oe, { onInsert: z }),
|
|
631
|
+
e.canRequestMergeTag ? (m(), f(_, { key: 0 }, [c($), g("button", {
|
|
632
632
|
type: "button",
|
|
633
633
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
634
|
-
"aria-label":
|
|
635
|
-
title:
|
|
634
|
+
"aria-label": v(F).mergeTag.insert,
|
|
635
|
+
title: v(F).mergeTag.insert,
|
|
636
636
|
onClick: n[14] ||= (e) => x("add-merge-tag")
|
|
637
|
-
}, [
|
|
637
|
+
}, [c(v(ae), {
|
|
638
638
|
size: 16,
|
|
639
639
|
"stroke-width": 2
|
|
640
|
-
}),
|
|
641
|
-
e.canInsertLogicTag ? (
|
|
640
|
+
}), p(" " + s(v(F).mergeTag.insertShort), 1)], 8, Fe)], 64)) : d("", !0),
|
|
641
|
+
e.canInsertLogicTag ? (m(), f(_, { key: 1 }, [c($), g("button", {
|
|
642
642
|
type: "button",
|
|
643
643
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
644
|
-
"aria-label":
|
|
645
|
-
title:
|
|
644
|
+
"aria-label": v(F).logicTag.insert,
|
|
645
|
+
title: v(F).logicTag.insert,
|
|
646
646
|
"data-testid": "insert-logic-button",
|
|
647
647
|
onClick: n[15] ||= (e) => x("add-logic-tag")
|
|
648
|
-
}, [
|
|
648
|
+
}, [c(v(oe), {
|
|
649
649
|
size: 16,
|
|
650
650
|
"stroke-width": 2
|
|
651
|
-
}),
|
|
652
|
-
|
|
653
|
-
])], 64)) : (
|
|
651
|
+
}), p(" " + s(v(F).logicTag.insertShort), 1)], 8, Ie)], 64)) : d("", !0),
|
|
652
|
+
h.value ? (m(), f(_, { key: 2 }, [c($), c(v(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : d("", !0)
|
|
653
|
+
])], 64)) : (m(), f("div", Le, [c(v(de), {
|
|
654
654
|
class: "tpl-spinner",
|
|
655
655
|
size: 14,
|
|
656
656
|
"stroke-width": 2
|
|
657
|
-
}),
|
|
657
|
+
}), p(" " + s(v(F).errors.editorLoading), 1)]))], 12, Me)], 8, ["to"])) : d("", !0);
|
|
658
658
|
}
|
|
659
659
|
}), ze = { class: "tpl-text-editor-wrapper tpl:relative" }, Be = /*@__PURE__*/ x({
|
|
660
660
|
__name: "ParagraphEditor",
|
|
@@ -664,14 +664,14 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
664
664
|
},
|
|
665
665
|
emits: ["done"],
|
|
666
666
|
setup(e, { emit: t }) {
|
|
667
|
-
let r = e,
|
|
667
|
+
let r = e, a = t, o = P(), s = n(M, null), l = w(s?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: u, EditorContent: d, isLoading: p, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: S, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: D, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: ee, handleAddLogicTag: te } = k({
|
|
668
668
|
blockId: () => r.block.id,
|
|
669
669
|
blockContent: () => r.block.content,
|
|
670
|
-
onDone: () =>
|
|
670
|
+
onDone: () => a("done"),
|
|
671
671
|
editorName: "ParagraphEditor",
|
|
672
672
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
673
|
-
let [{ Editor:
|
|
674
|
-
import("./dist-
|
|
673
|
+
let [{ Editor: a, EditorContent: s }, { default: c }, { default: u }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
|
|
674
|
+
import("./dist-D6cMdrfG.js").then((e) => e.r),
|
|
675
675
|
import("./dist-CWSG7Kj0.js"),
|
|
676
676
|
import("./dist-txQLT2sF.js"),
|
|
677
677
|
import("./dist-Dd5MU2Ev.js"),
|
|
@@ -682,13 +682,13 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
682
682
|
import("./dist-pA3ooG6N.js"),
|
|
683
683
|
import("./dist-DyFArF_G.js"),
|
|
684
684
|
import("./dist-D6fZec6r.js"),
|
|
685
|
-
import("./extensions-
|
|
685
|
+
import("./extensions-fo_c-vqf.js")
|
|
686
686
|
]);
|
|
687
687
|
return {
|
|
688
|
-
TiptapEditor:
|
|
688
|
+
TiptapEditor: a,
|
|
689
689
|
EC: s,
|
|
690
690
|
extensions: [
|
|
691
|
-
|
|
691
|
+
c.configure({
|
|
692
692
|
heading: !1,
|
|
693
693
|
codeBlock: !1,
|
|
694
694
|
blockquote: !1,
|
|
@@ -708,7 +708,7 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
708
708
|
}),
|
|
709
709
|
m.configure({
|
|
710
710
|
types: ["paragraph"],
|
|
711
|
-
defaultAlignment:
|
|
711
|
+
defaultAlignment: l
|
|
712
712
|
}),
|
|
713
713
|
h,
|
|
714
714
|
g,
|
|
@@ -727,22 +727,22 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
727
727
|
mergeTags: () => e.value,
|
|
728
728
|
char: n,
|
|
729
729
|
emptyText: i,
|
|
730
|
-
popoverRoot:
|
|
730
|
+
popoverRoot: o
|
|
731
731
|
})] : []
|
|
732
732
|
]
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
735
|
});
|
|
736
|
-
return (t, n) => (
|
|
737
|
-
|
|
738
|
-
editor:
|
|
736
|
+
return (t, n) => (m(), f("div", ze, [
|
|
737
|
+
c(Re, {
|
|
738
|
+
editor: v(u),
|
|
739
739
|
"toolbar-position": e.toolbarPosition,
|
|
740
|
-
"is-loading":
|
|
741
|
-
"can-request-merge-tag":
|
|
742
|
-
"can-insert-logic-tag":
|
|
743
|
-
onOpenLinkDialog:
|
|
744
|
-
onAddMergeTag:
|
|
745
|
-
onAddLogicTag:
|
|
740
|
+
"is-loading": v(p),
|
|
741
|
+
"can-request-merge-tag": v(S),
|
|
742
|
+
"can-insert-logic-tag": v(C),
|
|
743
|
+
onOpenLinkDialog: v(T),
|
|
744
|
+
onAddMergeTag: v(ee),
|
|
745
|
+
onAddLogicTag: v(te)
|
|
746
746
|
}, null, 8, [
|
|
747
747
|
"editor",
|
|
748
748
|
"toolbar-position",
|
|
@@ -753,12 +753,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
753
753
|
"onAddMergeTag",
|
|
754
754
|
"onAddLogicTag"
|
|
755
755
|
]),
|
|
756
|
-
|
|
757
|
-
editor:
|
|
758
|
-
"editor-content":
|
|
759
|
-
"is-loading":
|
|
760
|
-
"init-error":
|
|
761
|
-
onRetry: g
|
|
756
|
+
c(R, {
|
|
757
|
+
editor: v(u),
|
|
758
|
+
"editor-content": v(d),
|
|
759
|
+
"is-loading": v(p),
|
|
760
|
+
"init-error": v(h),
|
|
761
|
+
onRetry: v(g)
|
|
762
762
|
}, null, 8, [
|
|
763
763
|
"editor",
|
|
764
764
|
"editor-content",
|
|
@@ -766,19 +766,19 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
766
766
|
"init-error",
|
|
767
767
|
"onRetry"
|
|
768
768
|
]),
|
|
769
|
-
|
|
770
|
-
visible:
|
|
771
|
-
"is-editing-link":
|
|
772
|
-
"dialog-ref":
|
|
773
|
-
"onUpdate:dialogRef": n[0] ||= (e) =>
|
|
774
|
-
"link-url":
|
|
775
|
-
"onUpdate:linkUrl": n[1] ||= (e) =>
|
|
776
|
-
"link-color":
|
|
777
|
-
"onUpdate:linkColor": n[2] ||= (e) =>
|
|
778
|
-
onClose:
|
|
779
|
-
onInsert:
|
|
780
|
-
onRemove:
|
|
781
|
-
onKeydown:
|
|
769
|
+
c(L, {
|
|
770
|
+
visible: v(_),
|
|
771
|
+
"is-editing-link": v(u)?.isActive("link") ?? !1,
|
|
772
|
+
"dialog-ref": v(x),
|
|
773
|
+
"onUpdate:dialogRef": n[0] ||= (e) => i(x) ? x.value = e : null,
|
|
774
|
+
"link-url": v(y),
|
|
775
|
+
"onUpdate:linkUrl": n[1] ||= (e) => i(y) ? y.value = e : null,
|
|
776
|
+
"link-color": v(b),
|
|
777
|
+
"onUpdate:linkColor": n[2] ||= (e) => i(b) ? b.value = e : null,
|
|
778
|
+
onClose: v(A),
|
|
779
|
+
onInsert: v(E),
|
|
780
|
+
onRemove: v(D),
|
|
781
|
+
onKeydown: v(j)
|
|
782
782
|
}, null, 8, [
|
|
783
783
|
"visible",
|
|
784
784
|
"is-editing-link",
|