@templatical/editor 0.20.0 → 0.21.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/README.md +1 -0
- package/dist/{AiChatSidebar-ChrE6pUq.js → AiChatSidebar-K_AehWc-.js} +9 -9
- package/dist/{AiFeatureMenu-DkQ9HhQ6.js → AiFeatureMenu-CcqQDHzJ.js} +6 -6
- package/dist/{BlockIssueBadge-B4QjePax.js → BlockIssueBadge-Dmj9rVra.js} +4 -4
- package/dist/{CloudEditor-CfX-aMiV.js → CloudEditor-Dnww6og-.js} +263 -315
- package/dist/{CollaboratorBar-DTibhQ1j.js → CollaboratorBar-Bj4NZiie.js} +3 -3
- package/dist/{ColorPicker-4vDYhdGe.js → ColorPicker-s9GHXjZs.js} +4 -4
- package/dist/CommentsSidebar-DvNEdugN.js +435 -0
- package/dist/CountdownBlock-J_Q9JRQM.js +91 -0
- package/dist/{CountdownToolbar-D7yQqnA2.js → CountdownToolbar-DPRcv3Fu.js} +3 -4
- package/dist/{DesignReferenceSidebar-DnO6ZdwS.js → DesignReferenceSidebar-DNmK3dxp.js} +8 -8
- package/dist/{IssuesPanel-X_vkNGrs.js → IssuesPanel-CEnEGFtd.js} +7 -7
- package/dist/{MergeTagSuggestion-DCuaSOPQ.js → MergeTagSuggestion-DMe4rqn0.js} +2 -2
- package/dist/NumberWithSuffix-CCPN_oCh.js +121 -0
- package/dist/{ParagraphEditor-C5ixOIYb.js → ParagraphEditor--_zWfxps.js} +47 -47
- package/dist/{RichTextEditorContent-DwhDnMsG.js → RichTextEditorContent-FbnWsh46.js} +6 -6
- package/dist/SaveBlockDialog-CYIEHABH.js +264 -0
- package/dist/SavedBlockPreviewCanvas-2-mzAnZE.js +109 -0
- package/dist/SavedBlocksBrowserModal-D5V5yF_3.js +323 -0
- package/dist/SavedBlocksPanels-Dff38YXu.js +36 -0
- package/dist/SavedBlocksPickBar-rB6iyji6.js +52 -0
- package/dist/{SnapshotHistory-DaVueFv6.js → SnapshotHistory-FtzDq8f0.js} +8 -8
- package/dist/{TemplateScoringPanel-B0UHoTLx.js → TemplateScoringPanel-ifGGGWs5.js} +14 -14
- package/dist/{TestEmailModal-BkauxF7j.js → TestEmailModal-DL2O1H8M.js} +4 -4
- package/dist/{TitleEditor-n6WDVDjW.js → TitleEditor-CPda5lh-.js} +11 -11
- package/dist/{TplModal-BDDyvT-C.js → TplModal-C7Koj5gM.js} +3 -3
- package/dist/{blockTypeIcons-4D0aFXNg.js → blockTypeIcons-CgwECCut.js} +6 -6
- package/dist/bundle-stats.json +8 -8
- package/dist/{cdn/chunks/ca-DbWoy4rG.js → ca-BBgad6y5.js} +50 -5
- package/dist/cdn/chunks/AiChatSidebar-A1CuWGY0.js +203 -0
- package/dist/cdn/chunks/AiChatSidebar-A1CuWGY0.js.map +1 -0
- package/dist/cdn/chunks/{AiFeatureMenu-CIBHAGSz.js → AiFeatureMenu-Duwg413F.js} +12 -8
- package/dist/cdn/chunks/{AiFeatureMenu-CIBHAGSz.js.map → AiFeatureMenu-Duwg413F.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CxMiLo3p.js → BlockIssueBadge-Da4yR-mh.js} +7 -5
- package/dist/cdn/chunks/{BlockIssueBadge-CxMiLo3p.js.map → BlockIssueBadge-Da4yR-mh.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-CEa3Xgqh.js → CloudEditor-B3hqbwfP.js} +275 -318
- package/dist/cdn/chunks/CloudEditor-B3hqbwfP.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-Bk1gD02G.js → CollaboratorBar-BS3rJy6-.js} +7 -6
- package/dist/cdn/chunks/{CollaboratorBar-Bk1gD02G.js.map → CollaboratorBar-BS3rJy6-.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-ll8pynws.js → ColorPicker-DZSzZ5ZP.js} +168 -164
- package/dist/cdn/chunks/{ColorPicker-ll8pynws.js.map → ColorPicker-DZSzZ5ZP.js.map} +1 -1
- package/dist/cdn/chunks/CommentsSidebar-DHdRiGPX.js +412 -0
- package/dist/cdn/chunks/CommentsSidebar-DHdRiGPX.js.map +1 -0
- package/dist/cdn/chunks/CountdownBlock-Bffpoppw.js +93 -0
- package/dist/cdn/chunks/{CountdownBlock-eGUE7hhw.js.map → CountdownBlock-Bffpoppw.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-C1bkSjUR.js → CountdownToolbar-DAnmIZjq.js} +4 -5
- package/dist/cdn/chunks/{CountdownToolbar-C1bkSjUR.js.map → CountdownToolbar-DAnmIZjq.js.map} +1 -1
- package/dist/cdn/chunks/DesignReferenceSidebar-Dre99DTH.js +223 -0
- package/dist/cdn/chunks/DesignReferenceSidebar-Dre99DTH.js.map +1 -0
- package/dist/cdn/chunks/{IssuesPanel-Csasylf_.js → IssuesPanel-D80JedOj.js} +11 -10
- package/dist/cdn/chunks/{IssuesPanel-Csasylf_.js.map → IssuesPanel-D80JedOj.js.map} +1 -1
- package/dist/cdn/chunks/LoadingTrack-D-CW2tUa.js +12 -0
- package/dist/cdn/chunks/LoadingTrack-D-CW2tUa.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagSuggestion-BmMmdcRg.js → MergeTagSuggestion-D7TsECll.js} +2 -2
- package/dist/cdn/chunks/{MergeTagSuggestion-BmMmdcRg.js.map → MergeTagSuggestion-D7TsECll.js.map} +1 -1
- package/dist/cdn/chunks/NumberWithSuffix-CjlVNIEe.js +123 -0
- package/dist/cdn/chunks/NumberWithSuffix-CjlVNIEe.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-v0_XEL-v.js → ParagraphEditor-CtaRa1vr.js} +90 -85
- package/dist/cdn/chunks/{ParagraphEditor-v0_XEL-v.js.map → ParagraphEditor-CtaRa1vr.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-NQExNsaV.js → RichTextEditorContent-BbdgJqWM.js} +9 -6
- package/dist/cdn/chunks/{RichTextEditorContent-NQExNsaV.js.map → RichTextEditorContent-BbdgJqWM.js.map} +1 -1
- package/dist/cdn/chunks/SaveBlockDialog-Bb3fdUEZ.js +263 -0
- package/dist/cdn/chunks/SaveBlockDialog-Bb3fdUEZ.js.map +1 -0
- package/dist/cdn/chunks/SavedBlockPreviewCanvas-DZOMgNsz.js +111 -0
- package/dist/cdn/chunks/SavedBlockPreviewCanvas-DZOMgNsz.js.map +1 -0
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CeUWcPv0.js +322 -0
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CeUWcPv0.js.map +1 -0
- package/dist/cdn/chunks/SavedBlocksPanels-D-pA_wfk.js +38 -0
- package/dist/cdn/chunks/SavedBlocksPanels-D-pA_wfk.js.map +1 -0
- package/dist/cdn/chunks/SavedBlocksPickBar-1rf1KpqS.js +54 -0
- package/dist/cdn/chunks/SavedBlocksPickBar-1rf1KpqS.js.map +1 -0
- package/dist/cdn/chunks/SnapshotHistory-Bf1uovti.js +121 -0
- package/dist/cdn/chunks/SnapshotHistory-Bf1uovti.js.map +1 -0
- package/dist/cdn/chunks/TemplateScoringPanel-CTk8WwxU.js +231 -0
- package/dist/cdn/chunks/TemplateScoringPanel-CTk8WwxU.js.map +1 -0
- package/dist/cdn/chunks/TestEmailModal-BJTDxFHh.js +96 -0
- package/dist/cdn/chunks/TestEmailModal-BJTDxFHh.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-CS-_MzYs.js → TitleEditor-BJ7LFykI.js} +18 -15
- package/dist/cdn/chunks/{TitleEditor-CS-_MzYs.js.map → TitleEditor-BJ7LFykI.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-CH9RzKF7.js +50 -0
- package/dist/cdn/chunks/TplModal-CH9RzKF7.js.map +1 -0
- package/dist/cdn/chunks/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/cdn/chunks/blockTypeIcons-etMMQoVv.js +21 -0
- package/dist/cdn/chunks/{blockTypeIcons-B0Hjh42a.js.map → blockTypeIcons-etMMQoVv.js.map} +1 -1
- package/dist/{ca-DbWoy4rG.js → cdn/chunks/ca-BBgad6y5.js} +52 -3
- package/dist/cdn/chunks/ca-BBgad6y5.js.map +1 -0
- package/dist/cdn/chunks/cloud-BJlbXGTJ.js +1787 -0
- package/dist/cdn/chunks/cloud-BJlbXGTJ.js.map +1 -0
- package/dist/{de-CTYXVU9v.js → cdn/chunks/de-Bw6fB5JU.js} +2 -24
- package/dist/cdn/chunks/{de-CTYXVU9v.js.map → de-Bw6fB5JU.js.map} +1 -1
- package/dist/cdn/chunks/{de-CgGOnerg.js → de-D7WbpFBR.js} +50 -3
- package/dist/cdn/chunks/de-D7WbpFBR.js.map +1 -0
- package/dist/cdn/chunks/dist-CiBEt0VR.js +163 -0
- package/dist/cdn/chunks/dist-CiBEt0VR.js.map +1 -0
- package/dist/cdn/chunks/dist-CxTt8FRE.js +403 -0
- package/dist/cdn/chunks/dist-CxTt8FRE.js.map +1 -0
- package/dist/{en-DrUV9xth.js → cdn/chunks/en-BrZ0uGK2.js} +51 -2
- package/dist/cdn/chunks/en-BrZ0uGK2.js.map +1 -0
- package/dist/{en-BtmIaJeb.js → cdn/chunks/en-DAdHJz7h.js} +2 -24
- package/dist/cdn/chunks/{en-BtmIaJeb.js.map → en-DAdHJz7h.js.map} +1 -1
- package/dist/{es-DwbKjU7q.js → cdn/chunks/es-tLSLysPs.js} +51 -2
- package/dist/cdn/chunks/es-tLSLysPs.js.map +1 -0
- package/dist/cdn/chunks/{extensions-Di3hdIRT.js → extensions-ZX2oarW6.js} +28 -26
- package/dist/cdn/chunks/{extensions-Di3hdIRT.js.map → extensions-ZX2oarW6.js.map} +1 -1
- package/dist/cdn/chunks/formatRelativeTime-CtUU-QZ8.js +12 -0
- package/dist/cdn/chunks/formatRelativeTime-CtUU-QZ8.js.map +1 -0
- package/dist/cdn/chunks/htmlparser-CZa2V5cF.js +1008 -0
- package/dist/cdn/chunks/htmlparser-CZa2V5cF.js.map +1 -0
- package/dist/cdn/chunks/icons-CYWw8Xfp.js +1190 -0
- package/dist/cdn/chunks/icons-CYWw8Xfp.js.map +1 -0
- package/dist/cdn/chunks/keys-D7kUmfpE.js +12 -0
- package/dist/cdn/chunks/keys-D7kUmfpE.js.map +1 -0
- package/dist/cdn/chunks/{pt-BR-Bcc5Tjed.js → pt-BR-BWFokdTU.js} +50 -3
- package/dist/cdn/chunks/pt-BR-BWFokdTU.js.map +1 -0
- package/dist/{pt-BR-B2ZvFlRL.js → cdn/chunks/pt-BR-w2sGzHNX.js} +2 -24
- package/dist/cdn/chunks/{pt-BR-B2ZvFlRL.js.map → pt-BR-w2sGzHNX.js.map} +1 -1
- package/dist/cdn/chunks/src-BKI1x1k7.js +546 -0
- package/dist/cdn/chunks/src-BKI1x1k7.js.map +1 -0
- package/dist/cdn/chunks/src-CM0gCvAS.js +1176 -0
- package/dist/cdn/chunks/src-CM0gCvAS.js.map +1 -0
- package/dist/cdn/chunks/{media-library-yYAkAagU.js → src-D6F_3XkE.js} +1754 -1252
- package/dist/cdn/chunks/src-D6F_3XkE.js.map +1 -0
- package/dist/cdn/chunks/{renderer-DpBGiXOg.js → src-DYji-wXB.js} +117 -133
- package/dist/cdn/chunks/src-DYji-wXB.js.map +1 -0
- package/dist/cdn/chunks/{styles-DHSmjlpX.js → styles-DMOEiSX9.js} +1448 -1354
- package/dist/cdn/chunks/styles-DMOEiSX9.js.map +1 -0
- package/dist/cdn/chunks/timeouts-Bmi_yePw.js +6 -0
- package/dist/cdn/chunks/timeouts-Bmi_yePw.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-C2indasq.js → tiptap-BMZ-OENR.js} +2012 -1863
- package/dist/cdn/chunks/tiptap-BMZ-OENR.js.map +1 -0
- package/dist/cdn/chunks/useAliveFlag-aanU8uqB.js +12 -0
- package/dist/cdn/chunks/useAliveFlag-aanU8uqB.js.map +1 -0
- package/dist/cdn/chunks/useCloudI18n-BjNENqkM.js +25 -0
- package/dist/cdn/chunks/useCloudI18n-BjNENqkM.js.map +1 -0
- package/dist/cdn/chunks/useEditorCore-BA6mspzD.js +3019 -0
- package/dist/cdn/chunks/useEditorCore-BA6mspzD.js.map +1 -0
- package/dist/cdn/chunks/useI18n-8Wd7G-cq.js +19 -0
- package/dist/cdn/chunks/useI18n-8Wd7G-cq.js.map +1 -0
- package/dist/cdn/chunks/useMergeTag-C7G31KV-.js +46 -0
- package/dist/cdn/chunks/useMergeTag-C7G31KV-.js.map +1 -0
- package/dist/cdn/chunks/usePopoverPosition-Bx0QewTv.js +61 -0
- package/dist/cdn/chunks/usePopoverPosition-Bx0QewTv.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +132 -120
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-Bl4J_tYV.js → check-BpQDKiPz.js} +1 -1
- package/dist/{chevron-down-COEcl2iP.js → chevron-down-j8GrdTyz.js} +1 -1
- package/dist/chevron-up-BACyVhyC.js +7 -0
- package/dist/{circle-alert-CvHi5etc.js → circle-alert-CgtE46ND.js} +1 -1
- package/dist/{clock-CZZw62e8.js → clock-BzKLLW5L.js} +1 -1
- package/dist/{cloud-B-RebwxI.js → cloud-Du7mnkz2.js} +19 -47
- package/dist/{createLucideIcon-_peTZQtY.js → createLucideIcon-JWHwTI6N.js} +2 -2
- package/dist/{cdn/chunks/de-CTYXVU9v.js → de-Bw6fB5JU.js} +0 -26
- package/dist/{de-CgGOnerg.js → de-D7WbpFBR.js} +49 -2
- package/dist/{dist-CgTKuIUN.js → dist-BEpCh2mG.js} +1158 -1125
- package/dist/{dist-Cx7IUM7J.js → dist-BgPYC_8-.js} +14 -6
- package/dist/{dist-BKKo5wPC.js → dist-BkM8A17N.js} +2 -2
- package/dist/{dist-CcX5sLpz.js → dist-BuNDAAVp.js} +361 -256
- package/dist/{dist-COSN3oDJ.js → dist-CBzCU-a-.js} +2 -2
- package/dist/{dist-YSCPD13F.js → dist-CDO52Rxy.js} +2 -2
- package/dist/{dist-Dk5AdwoQ.js → dist-CrjzhIxB.js} +2 -2
- package/dist/{dist-DXAZUjj3.js → dist-CtcgoC_R.js} +2 -2
- package/dist/{dist-D6M5FAY7.js → dist-CuXha2_7.js} +2 -2
- package/dist/dist-CweLDZrs.js +5 -0
- package/dist/dist-DOsdqAEZ.js +5 -0
- package/dist/{dist-8TKf-Jpg.js → dist-DYClLqy8.js} +6 -3
- package/dist/{cdn/chunks/en-DrUV9xth.js → en-BrZ0uGK2.js} +49 -4
- package/dist/{cdn/chunks/en-BtmIaJeb.js → en-DAdHJz7h.js} +0 -26
- package/dist/{cdn/chunks/es-DwbKjU7q.js → es-tLSLysPs.js} +49 -4
- package/dist/{extensions-BCA9pyer.js → extensions-ClY5Sh7S.js} +5 -5
- package/dist/{image-up-D26rNdfX.js → image-up-CQdtq8ge.js} +1 -1
- package/dist/index.d.ts +81 -4
- package/dist/{info-CE3JSTqk.js → info-BUJBXoE6.js} +1 -1
- package/dist/{keys-DFaIbGR8.js → keys-CHPcp-Nz.js} +2 -2
- package/dist/{list-checks-BQsLrtBB.js → list-checks-BGHaCSD5.js} +1 -1
- package/dist/{loader-circle-s9Rh5lLd.js → loader-circle-C-Z6kgI6.js} +1 -1
- package/dist/{message-circle-CI62d690.js → message-circle-CEm5qckV.js} +1 -1
- package/dist/pencil-DdwmkKLb.js +10 -0
- package/dist/{pt-BR-Bcc5Tjed.js → pt-BR-BWFokdTU.js} +49 -2
- package/dist/{cdn/chunks/pt-BR-B2ZvFlRL.js → pt-BR-w2sGzHNX.js} +0 -26
- package/dist/{refresh-cw-DlYfl65Y.js → refresh-cw-maKlg0dl.js} +1 -1
- package/dist/{scan-line-CHadrYVb.js → scan-line-BFgesTOY.js} +1 -1
- package/dist/{send-CbP40otC.js → send-B70aQDrA.js} +1 -1
- package/dist/{shield-check-Bnj9aRoJ.js → shield-check-B7x5OKt5.js} +1 -1
- package/dist/{sparkles-CncWT57a.js → sparkles-DVlm1Ipp.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-DkF_-uX8.js → styles-PcOPXvLO.js} +1235 -1151
- package/dist/templatical-editor.js +134 -125
- package/dist/{text-align-start-B458vzYw.js → text-align-start-Vay3Kvo2.js} +1 -1
- package/dist/{trash-2-DO0yjSU1.js → trash-2-DE8CmxAG.js} +1 -1
- package/dist/{triangle-alert-C18_ima6.js → triangle-alert-Djg6IG8N.js} +1 -1
- package/dist/{upload-DsCd2zTR.js → upload-BwwE0U6G.js} +1 -1
- package/dist/{useCloudI18n-PCDOC2kz.js → useCloudI18n-BmiygEM4.js} +1 -1
- package/dist/{useEditorCore-kKUemYY6.js → useEditorCore-CT1slufs.js} +997 -817
- package/dist/{useI18n-BNMzZTM5.js → useI18n-D2L9Mkik.js} +1 -1
- package/dist/{useMergeTag-DfEY0eK5.js → useMergeTag-BTdDq5DC.js} +1 -1
- package/dist/{usePopoverPosition-F9STHRIr.js → usePopoverPosition-BO2LNy5n.js} +1 -1
- package/dist/{x-BCFQuE_q.js → x-CkD6A1iB.js} +1 -1
- package/package.json +21 -21
- package/dist/CommentsSidebar-D-o5Stlg.js +0 -442
- package/dist/CountdownBlock-Bn5w7C-p.js +0 -92
- package/dist/ModuleBrowserModal-AJt--JPh.js +0 -202
- package/dist/ModulePreviewCanvas-BKYOcVCh.js +0 -106
- package/dist/NumberWithSuffix-Bf3rNxza.js +0 -89
- package/dist/SaveModuleDialog-B4QX9eiv.js +0 -125
- package/dist/ToggleSwitch-DUNuUPsZ.js +0 -37
- package/dist/cdn/chunks/CloudEditor-CEa3Xgqh.js.map +0 -1
- package/dist/cdn/chunks/CountdownBlock-eGUE7hhw.js +0 -93
- package/dist/cdn/chunks/ModuleBrowserModal-DznWWtBI.js +0 -198
- package/dist/cdn/chunks/ModuleBrowserModal-DznWWtBI.js.map +0 -1
- package/dist/cdn/chunks/ModulePreviewCanvas-D-h7fr87.js +0 -107
- package/dist/cdn/chunks/ModulePreviewCanvas-D-h7fr87.js.map +0 -1
- package/dist/cdn/chunks/NumberWithSuffix-Dt-0odUN.js +0 -91
- package/dist/cdn/chunks/NumberWithSuffix-Dt-0odUN.js.map +0 -1
- package/dist/cdn/chunks/SaveModuleDialog-BpFhTi-k.js +0 -120
- package/dist/cdn/chunks/SaveModuleDialog-BpFhTi-k.js.map +0 -1
- package/dist/cdn/chunks/ToggleSwitch-OrmX_w18.js +0 -39
- package/dist/cdn/chunks/ToggleSwitch-OrmX_w18.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-B0Hjh42a.js +0 -22
- package/dist/cdn/chunks/ca-DbWoy4rG.js.map +0 -1
- package/dist/cdn/chunks/de-CgGOnerg.js.map +0 -1
- package/dist/cdn/chunks/en-DrUV9xth.js.map +0 -1
- package/dist/cdn/chunks/es-DwbKjU7q.js.map +0 -1
- package/dist/cdn/chunks/features-CLIZ7Q-Y.js +0 -7657
- package/dist/cdn/chunks/features-CLIZ7Q-Y.js.map +0 -1
- package/dist/cdn/chunks/icons-GX40Qm2W.js +0 -690
- package/dist/cdn/chunks/icons-GX40Qm2W.js.map +0 -1
- package/dist/cdn/chunks/media-library-yYAkAagU.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-Bcc5Tjed.js.map +0 -1
- package/dist/cdn/chunks/quality-DffYv9j5.js +0 -2180
- package/dist/cdn/chunks/quality-DffYv9j5.js.map +0 -1
- package/dist/cdn/chunks/renderer-DpBGiXOg.js.map +0 -1
- package/dist/cdn/chunks/src-9K6uFiuK.js +0 -509
- package/dist/cdn/chunks/src-9K6uFiuK.js.map +0 -1
- package/dist/cdn/chunks/styles-DHSmjlpX.js.map +0 -1
- package/dist/cdn/chunks/tiptap-C2indasq.js.map +0 -1
- package/dist/dist-BDVm2MrW.js +0 -5
- package/dist/dist-DbekZDmJ.js +0 -5
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, m, ot as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-D840DIZB.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { D as S, E as C, S as w, x as T } from "./useEditorCore-BA6mspzD.js";
|
|
3
|
+
import { t as E } from "./dist-CxTt8FRE.js";
|
|
4
|
+
import { B as D, D as O, L as k, _ as ee, h as te, w as ne, z as re } from "./keys-D7kUmfpE.js";
|
|
5
|
+
import { t as A } from "./useI18n-8Wd7G-cq.js";
|
|
6
|
+
import { n as j } from "./usePopoverPosition-Bx0QewTv.js";
|
|
7
|
+
import { It as ie, L as ae, N as oe, T as M, _ as se, at as ce, b as le, h as ue, it as de, l as fe, lt as pe, m as me, p as he, rt as ge, st as _e, y as ve, zt as ye } from "./icons-CYWw8Xfp.js";
|
|
8
|
+
import { t as N } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
+
import { c as P, o as be, r as xe, s as Se, t as F } from "./ColorPicker-DZSzZ5ZP.js";
|
|
10
|
+
import { n as I, t as L } from "./RichTextEditorContent-BbdgJqWM.js";
|
|
6
11
|
//#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
7
12
|
var R = [
|
|
8
13
|
"aria-label",
|
|
@@ -12,16 +17,16 @@ var R = [
|
|
|
12
17
|
__name: "EmojiPickerDropdown",
|
|
13
18
|
emits: ["insert"],
|
|
14
19
|
setup(e, { emit: t }) {
|
|
15
|
-
let i = t, { categories: c, isOpen: m, toggle: _, close: y } =
|
|
16
|
-
|
|
20
|
+
let i = t, { categories: c, isOpen: m, toggle: _, close: y } = C(), { t: b, format: w } = A(), T = a(null), D = a(null);
|
|
21
|
+
S(T, l(() => m.value)), E(D, () => {
|
|
17
22
|
m.value && y();
|
|
18
23
|
});
|
|
19
|
-
function
|
|
24
|
+
function O(e) {
|
|
20
25
|
i("insert", e), y();
|
|
21
26
|
}
|
|
22
27
|
return (e, t) => (n(), u("div", {
|
|
23
28
|
ref_key: "rootRef",
|
|
24
|
-
ref:
|
|
29
|
+
ref: D,
|
|
25
30
|
class: "tpl:relative"
|
|
26
31
|
}, [g("button", {
|
|
27
32
|
type: "button",
|
|
@@ -32,14 +37,14 @@ var R = [
|
|
|
32
37
|
"aria-haspopup": "dialog",
|
|
33
38
|
"aria-controls": "tpl-emoji-picker",
|
|
34
39
|
onClick: t[0] ||= (...e) => f(_) && f(_)(...e)
|
|
35
|
-
}, [x(f(
|
|
40
|
+
}, [x(f(M), {
|
|
36
41
|
size: 16,
|
|
37
42
|
"stroke-width": 2
|
|
38
43
|
})], 10, R), f(m) ? (n(), u("div", {
|
|
39
44
|
key: 0,
|
|
40
45
|
id: "tpl-emoji-picker",
|
|
41
46
|
ref_key: "pickerRef",
|
|
42
|
-
ref:
|
|
47
|
+
ref: T,
|
|
43
48
|
role: "dialog",
|
|
44
49
|
"aria-modal": "false",
|
|
45
50
|
"aria-label": f(b).paragraphEditor.insertEmoji,
|
|
@@ -52,9 +57,9 @@ var R = [
|
|
|
52
57
|
}, [g("div", B, s(f(b).emoji[e.key]), 1), g("div", V, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
|
|
53
58
|
key: e,
|
|
54
59
|
type: "button",
|
|
55
|
-
"aria-label": f(
|
|
60
|
+
"aria-label": f(w)(f(b).paragraphEditor.emojiItemLabel, { emoji: e }),
|
|
56
61
|
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:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
57
|
-
onClick: (t) =>
|
|
62
|
+
onClick: (t) => O(e)
|
|
58
63
|
}, s(e), 9, H))), 128))])]))), 128))], 40, z)) : d("", !0)], 512));
|
|
59
64
|
}
|
|
60
65
|
}), U = [
|
|
@@ -151,8 +156,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
151
156
|
"add-logic-tag"
|
|
152
157
|
],
|
|
153
158
|
setup(e, { emit: t }) {
|
|
154
|
-
let r = e, a = t, o = i(
|
|
155
|
-
function
|
|
159
|
+
let r = e, a = t, o = i(k, null), p = i(re, null), h = D(ee, "ParagraphToolbar"), b = j(), S = i(O, null), C = i(ne, null), w = i(te, null), T = l(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = A(), M = h.fonts;
|
|
160
|
+
function N(e) {
|
|
156
161
|
r.editor?.chain().focus().insertContent(e).run();
|
|
157
162
|
}
|
|
158
163
|
function I(e) {
|
|
@@ -177,7 +182,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
177
182
|
t && (z() ? (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());
|
|
178
183
|
}
|
|
179
184
|
function H() {
|
|
180
|
-
let e =
|
|
185
|
+
let e = w?.content.value.settings;
|
|
181
186
|
return z() ? Q(B(), e?.linkColor || e?.textColor) : Q(I("color"), e?.textColor);
|
|
182
187
|
}
|
|
183
188
|
function U() {
|
|
@@ -201,13 +206,13 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
201
206
|
let t = r.editor?.chain().focus();
|
|
202
207
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
203
208
|
}
|
|
204
|
-
return (t, r) => f(b) && !
|
|
209
|
+
return (t, r) => f(b) && !T.value ? (n(), m(c, {
|
|
205
210
|
key: 0,
|
|
206
211
|
to: f(b)
|
|
207
212
|
}, [g("div", {
|
|
208
213
|
"data-tpl-theme": f(p),
|
|
209
214
|
role: "toolbar",
|
|
210
|
-
"aria-label": f(
|
|
215
|
+
"aria-label": f(E).paragraphEditor.toolbar,
|
|
211
216
|
class: "tpl tpl-text-toolbar tpl:absolute tpl:z-popover 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-lg",
|
|
212
217
|
style: _({
|
|
213
218
|
...f(o),
|
|
@@ -219,9 +224,9 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
219
224
|
}, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [g("div", Te, [
|
|
220
225
|
x(Z, {
|
|
221
226
|
"model-value": I("fontFamily"),
|
|
222
|
-
options: f(
|
|
223
|
-
label: f(
|
|
224
|
-
placeholder: f(
|
|
227
|
+
options: f(M),
|
|
228
|
+
label: f(E).paragraphEditor.fontFamily,
|
|
229
|
+
placeholder: f(E).paragraphEditor.defaultFont,
|
|
225
230
|
"width-class": "tpl:w-32",
|
|
226
231
|
"onUpdate:modelValue": L
|
|
227
232
|
}, null, 8, [
|
|
@@ -233,8 +238,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
233
238
|
x(Z, {
|
|
234
239
|
"model-value": I("fontSize"),
|
|
235
240
|
options: f(be),
|
|
236
|
-
label: f(
|
|
237
|
-
placeholder: f(
|
|
241
|
+
label: f(E).paragraphEditor.fontSize,
|
|
242
|
+
placeholder: f(E).paragraphEditor.defaultSize,
|
|
238
243
|
"width-class": "tpl:w-20",
|
|
239
244
|
"onUpdate:modelValue": R
|
|
240
245
|
}, null, 8, [
|
|
@@ -250,7 +255,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
250
255
|
"data-testid": "text-color-picker",
|
|
251
256
|
"model-value": U(),
|
|
252
257
|
"seed-color": H(),
|
|
253
|
-
"aria-label": f(
|
|
258
|
+
"aria-label": f(E).paragraphEditor.textColor,
|
|
254
259
|
"onUpdate:modelValue": V
|
|
255
260
|
}, null, 8, [
|
|
256
261
|
"model-value",
|
|
@@ -263,7 +268,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
263
268
|
"data-testid": "highlight-color-picker",
|
|
264
269
|
"model-value": Y(),
|
|
265
270
|
"seed-color": f(xe),
|
|
266
|
-
"aria-label": f(
|
|
271
|
+
"aria-label": f(E).paragraphEditor.highlightColor,
|
|
267
272
|
"onUpdate:modelValue": X
|
|
268
273
|
}, null, 8, [
|
|
269
274
|
"model-value",
|
|
@@ -272,8 +277,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
272
277
|
]),
|
|
273
278
|
x(J),
|
|
274
279
|
x(W, {
|
|
275
|
-
icon: f(
|
|
276
|
-
label: f(
|
|
280
|
+
icon: f(ye),
|
|
281
|
+
label: f(E).paragraphEditor.bold,
|
|
277
282
|
active: e.editor.isActive("bold"),
|
|
278
283
|
"stroke-width": 2.5,
|
|
279
284
|
onClick: r[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
|
|
@@ -283,8 +288,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
283
288
|
"active"
|
|
284
289
|
]),
|
|
285
290
|
x(W, {
|
|
286
|
-
icon: f(
|
|
287
|
-
label: f(
|
|
291
|
+
icon: f(pe),
|
|
292
|
+
label: f(E).paragraphEditor.italic,
|
|
288
293
|
active: e.editor.isActive("italic"),
|
|
289
294
|
onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
|
|
290
295
|
}, null, 8, [
|
|
@@ -293,8 +298,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
293
298
|
"active"
|
|
294
299
|
]),
|
|
295
300
|
x(W, {
|
|
296
|
-
icon: f(
|
|
297
|
-
label: f(
|
|
301
|
+
icon: f(fe),
|
|
302
|
+
label: f(E).paragraphEditor.underline,
|
|
298
303
|
active: e.editor.isActive("underline"),
|
|
299
304
|
onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
|
|
300
305
|
}, null, 8, [
|
|
@@ -303,8 +308,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
303
308
|
"active"
|
|
304
309
|
]),
|
|
305
310
|
x(W, {
|
|
306
|
-
icon: f(
|
|
307
|
-
label: f(
|
|
311
|
+
icon: f(ve),
|
|
312
|
+
label: f(E).paragraphEditor.strikethrough,
|
|
308
313
|
active: e.editor.isActive("strike"),
|
|
309
314
|
onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
|
|
310
315
|
}, null, 8, [
|
|
@@ -314,8 +319,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
314
319
|
]),
|
|
315
320
|
x(J),
|
|
316
321
|
x(W, {
|
|
317
|
-
icon: f(
|
|
318
|
-
label: f(
|
|
322
|
+
icon: f(le),
|
|
323
|
+
label: f(E).paragraphEditor.subscript,
|
|
319
324
|
active: e.editor.isActive("subscript"),
|
|
320
325
|
onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
|
|
321
326
|
}, null, 8, [
|
|
@@ -324,8 +329,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
324
329
|
"active"
|
|
325
330
|
]),
|
|
326
331
|
x(W, {
|
|
327
|
-
icon: f(
|
|
328
|
-
label: f(
|
|
332
|
+
icon: f(se),
|
|
333
|
+
label: f(E).paragraphEditor.superscript,
|
|
329
334
|
active: e.editor.isActive("superscript"),
|
|
330
335
|
onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
|
|
331
336
|
}, null, 8, [
|
|
@@ -335,8 +340,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
335
340
|
]),
|
|
336
341
|
x(J),
|
|
337
342
|
x(W, {
|
|
338
|
-
icon: f(
|
|
339
|
-
label: f(
|
|
343
|
+
icon: f(_e),
|
|
344
|
+
label: f(E).paragraphEditor.addLink,
|
|
340
345
|
active: e.editor.isActive("link"),
|
|
341
346
|
onClick: r[6] ||= (e) => a("open-link-dialog")
|
|
342
347
|
}, null, 8, [
|
|
@@ -346,8 +351,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
346
351
|
])
|
|
347
352
|
]), g("div", Ee, [
|
|
348
353
|
x(W, {
|
|
349
|
-
icon: f(
|
|
350
|
-
label: f(
|
|
354
|
+
icon: f(de),
|
|
355
|
+
label: f(E).paragraphEditor.bulletList,
|
|
351
356
|
active: e.editor.isActive("bulletList"),
|
|
352
357
|
onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
|
|
353
358
|
}, null, 8, [
|
|
@@ -357,7 +362,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
357
362
|
]),
|
|
358
363
|
x(W, {
|
|
359
364
|
icon: f(ce),
|
|
360
|
-
label: f(
|
|
365
|
+
label: f(E).paragraphEditor.numberedList,
|
|
361
366
|
active: e.editor.isActive("orderedList"),
|
|
362
367
|
onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
|
|
363
368
|
}, null, 8, [
|
|
@@ -367,8 +372,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
367
372
|
]),
|
|
368
373
|
x(J),
|
|
369
374
|
x(W, {
|
|
370
|
-
icon: f(
|
|
371
|
-
label: f(
|
|
375
|
+
icon: f(he),
|
|
376
|
+
label: f(E).paragraphEditor.alignLeft,
|
|
372
377
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
373
378
|
onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
|
|
374
379
|
}, null, 8, [
|
|
@@ -377,8 +382,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
377
382
|
"active"
|
|
378
383
|
]),
|
|
379
384
|
x(W, {
|
|
380
|
-
icon: f(
|
|
381
|
-
label: f(
|
|
385
|
+
icon: f(ue),
|
|
386
|
+
label: f(E).paragraphEditor.alignCenter,
|
|
382
387
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
383
388
|
onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
384
389
|
}, null, 8, [
|
|
@@ -387,8 +392,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
387
392
|
"active"
|
|
388
393
|
]),
|
|
389
394
|
x(W, {
|
|
390
|
-
icon: f(
|
|
391
|
-
label: f(
|
|
395
|
+
icon: f(me),
|
|
396
|
+
label: f(E).paragraphEditor.alignRight,
|
|
392
397
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
393
398
|
onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
394
399
|
}, null, 8, [
|
|
@@ -399,8 +404,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
399
404
|
x(J),
|
|
400
405
|
x(Z, {
|
|
401
406
|
"model-value": G(),
|
|
402
|
-
options: f(
|
|
403
|
-
label: f(
|
|
407
|
+
options: f(P),
|
|
408
|
+
label: f(E).paragraphEditor.lineHeight,
|
|
404
409
|
placeholder: "LH",
|
|
405
410
|
"width-class": "tpl:w-16",
|
|
406
411
|
"onUpdate:modelValue": K
|
|
@@ -412,7 +417,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
412
417
|
x(Z, {
|
|
413
418
|
"model-value": I("letterSpacing"),
|
|
414
419
|
options: f(Se),
|
|
415
|
-
label: f(
|
|
420
|
+
label: f(E).paragraphEditor.letterSpacing,
|
|
416
421
|
placeholder: "LS",
|
|
417
422
|
"width-class": "tpl:w-20",
|
|
418
423
|
"onUpdate:modelValue": q
|
|
@@ -424,37 +429,37 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
424
429
|
x(J),
|
|
425
430
|
x(W, {
|
|
426
431
|
icon: f(ae),
|
|
427
|
-
label: f(
|
|
432
|
+
label: f(E).paragraphEditor.clearFormatting,
|
|
428
433
|
onClick: r[12] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
429
434
|
}, null, 8, ["icon", "label"]),
|
|
430
435
|
x(J),
|
|
431
|
-
x(Ce, { onInsert:
|
|
436
|
+
x(Ce, { onInsert: N }),
|
|
432
437
|
e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(J), g("button", {
|
|
433
438
|
type: "button",
|
|
434
439
|
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:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
435
|
-
"aria-label": f(
|
|
436
|
-
title: f(
|
|
440
|
+
"aria-label": f(E).mergeTag.insert,
|
|
441
|
+
title: f(E).mergeTag.insert,
|
|
437
442
|
onClick: r[13] ||= (e) => a("add-merge-tag")
|
|
438
|
-
}, [x(f(
|
|
443
|
+
}, [x(f(oe), {
|
|
439
444
|
size: 16,
|
|
440
445
|
"stroke-width": 2
|
|
441
|
-
}), y(" " + s(f(
|
|
446
|
+
}), y(" " + s(f(E).mergeTag.insertShort), 1)], 8, De)], 64)) : d("", !0),
|
|
442
447
|
e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(J), g("button", {
|
|
443
448
|
type: "button",
|
|
444
449
|
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:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
445
|
-
"aria-label": f(
|
|
446
|
-
title: f(
|
|
450
|
+
"aria-label": f(E).logicTag.insert,
|
|
451
|
+
title: f(E).logicTag.insert,
|
|
447
452
|
"data-testid": "insert-logic-button",
|
|
448
453
|
onClick: r[14] ||= (e) => a("add-logic-tag")
|
|
449
|
-
}, [x(f(
|
|
454
|
+
}, [x(f(ie), {
|
|
450
455
|
size: 16,
|
|
451
456
|
"stroke-width": 2
|
|
452
|
-
}), y(" " + s(f(
|
|
453
|
-
])], 64)) : (n(), u("div", ke, [x(f(
|
|
457
|
+
}), y(" " + s(f(E).logicTag.insertShort), 1)], 8, Oe)], 64)) : d("", !0)
|
|
458
|
+
])], 64)) : (n(), u("div", ke, [x(f(ge), {
|
|
454
459
|
class: "tpl-spinner",
|
|
455
460
|
size: 14,
|
|
456
461
|
"stroke-width": 2
|
|
457
|
-
}), y(" " + s(f(
|
|
462
|
+
}), y(" " + s(f(E).errors.editorLoading), 1)]))], 12, $)], 8, ["to"])) : d("", !0);
|
|
458
463
|
}
|
|
459
464
|
}), je = { class: "tpl-text-editor-wrapper tpl:relative" }, Me = /* @__PURE__ */ b({
|
|
460
465
|
__name: "ParagraphEditor",
|
|
@@ -464,25 +469,25 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
464
469
|
},
|
|
465
470
|
emits: ["done"],
|
|
466
471
|
setup(t, { emit: r }) {
|
|
467
|
-
let i = t, a = r, o =
|
|
472
|
+
let i = t, a = r, o = j(), { editor: s, EditorContent: c, isLoading: l, initError: d, retry: p, showLinkDialog: m, linkUrl: h, linkColor: g, linkDialogRef: _, canRequestMergeTag: v, canInsertLogicTag: y, openLinkDialog: b, insertLink: S, removeLink: C, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: k } = T({
|
|
468
473
|
blockId: () => i.block.id,
|
|
469
474
|
blockContent: () => i.block.content,
|
|
470
475
|
onDone: () => a("done"),
|
|
471
476
|
editorName: "ParagraphEditor",
|
|
472
477
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
473
|
-
let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing:
|
|
474
|
-
import("./tiptap-
|
|
475
|
-
import("./tiptap-
|
|
476
|
-
import("./tiptap-
|
|
477
|
-
import("./tiptap-
|
|
478
|
-
import("./tiptap-
|
|
479
|
-
import("./tiptap-
|
|
480
|
-
import("./tiptap-
|
|
481
|
-
import("./tiptap-
|
|
482
|
-
import("./tiptap-
|
|
483
|
-
import("./tiptap-
|
|
484
|
-
import("./tiptap-
|
|
485
|
-
import("./extensions-
|
|
478
|
+
let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing: C }] = await Promise.all([
|
|
479
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.r),
|
|
480
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.i),
|
|
481
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.l),
|
|
482
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.a),
|
|
483
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.c),
|
|
484
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.s),
|
|
485
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.o),
|
|
486
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.p),
|
|
487
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.f),
|
|
488
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.d),
|
|
489
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.u),
|
|
490
|
+
import("./extensions-ZX2oarW6.js")
|
|
486
491
|
]);
|
|
487
492
|
return {
|
|
488
493
|
TiptapEditor: a,
|
|
@@ -499,7 +504,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
499
504
|
u,
|
|
500
505
|
d,
|
|
501
506
|
f,
|
|
502
|
-
|
|
507
|
+
w(l).configure({
|
|
503
508
|
openOnClick: !1,
|
|
504
509
|
HTMLAttributes: {
|
|
505
510
|
target: "_blank",
|
|
@@ -513,7 +518,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
513
518
|
_.configure({ multicolor: !0 }),
|
|
514
519
|
x,
|
|
515
520
|
S,
|
|
516
|
-
|
|
521
|
+
C,
|
|
517
522
|
v.configure({
|
|
518
523
|
mergeTags: e,
|
|
519
524
|
syntax: t
|
|
@@ -537,8 +542,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
537
542
|
"can-request-merge-tag": f(v),
|
|
538
543
|
"can-insert-logic-tag": f(y),
|
|
539
544
|
onOpenLinkDialog: f(b),
|
|
540
|
-
onAddMergeTag: f(
|
|
541
|
-
onAddLogicTag: f(
|
|
545
|
+
onAddMergeTag: f(O),
|
|
546
|
+
onAddLogicTag: f(k)
|
|
542
547
|
}, null, 8, [
|
|
543
548
|
"editor",
|
|
544
549
|
"toolbar-position",
|
|
@@ -571,10 +576,10 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
571
576
|
"onUpdate:linkUrl": i[1] ||= (t) => e(h) ? h.value = t : null,
|
|
572
577
|
"link-color": f(g),
|
|
573
578
|
"onUpdate:linkColor": i[2] ||= (t) => e(g) ? g.value = t : null,
|
|
574
|
-
onClose: f(
|
|
575
|
-
onInsert: f(
|
|
576
|
-
onRemove: f(
|
|
577
|
-
onKeydown: f(
|
|
579
|
+
onClose: f(E),
|
|
580
|
+
onInsert: f(S),
|
|
581
|
+
onRemove: f(C),
|
|
582
|
+
onKeydown: f(D)
|
|
578
583
|
}, null, 8, [
|
|
579
584
|
"visible",
|
|
580
585
|
"is-editing-link",
|
|
@@ -592,4 +597,4 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
592
597
|
//#endregion
|
|
593
598
|
export { Me as default };
|
|
594
599
|
|
|
595
|
-
//# sourceMappingURL=ParagraphEditor-
|
|
600
|
+
//# sourceMappingURL=ParagraphEditor-CtaRa1vr.js.map
|