@templatical/editor 0.35.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiChatSidebar-DPHbCGu4.js → AiChatSidebar-tu4eLcf_.js} +57 -57
- package/dist/{AiFeatureMenu--8z7qvg1.js → AiFeatureMenu-BF0i0vA4.js} +17 -17
- package/dist/{BlockIssueBadge-BGCsJqqM.js → BlockIssueBadge-DT-FqKeC.js} +9 -9
- package/dist/{BlockPreviewCanvas-DKspIy8V.js → BlockPreviewCanvas-DDCmMram.js} +28 -28
- package/dist/CloudHeaderExtras-NPhudovT.js +59 -0
- package/dist/{CloudPanels-Bp5gFtaL.js → CloudPanels-Iwnky0iA.js} +78 -108
- package/dist/{CollaboratorBar-DvwZm5u7.js → CollaboratorBar-DAITu0hz.js} +17 -17
- package/dist/{ColorPicker-DtozuN75.js → ColorPicker-BqlZ_TqG.js} +193 -193
- package/dist/{CommentsPanel-3C-DsEjy.js → CommentsPanel-CDvgmWP1.js} +3 -3
- package/dist/{CommentsSidebar-go1FnjDW.js → CommentsSidebar-X_xqM3dR.js} +158 -158
- package/dist/{CountdownBlock-D1fsNsyS.js → CountdownBlock-ZFJIdbP6.js} +12 -12
- package/dist/{CountdownToolbar-SLBuij7Q.js → CountdownToolbar-DBFoG3a6.js} +67 -67
- package/dist/{DesignReferenceSidebar-rcE_BvUd.js → DesignReferenceSidebar--QtXjLrw.js} +57 -57
- package/dist/{FieldRow-BWt7ECqo.js → FieldRow-C8nOknr_.js} +39 -39
- package/dist/{IssuesPanel-Cig46N1i.js → IssuesPanel-BLbNFMSX.js} +38 -38
- package/dist/{LoadingTrack-SQXoZVf2.js → LoadingTrack-BlTL4zFv.js} +2 -2
- package/dist/MediaPanels-CMTAhDXB.js +43 -0
- package/dist/{MergeTagInput-D1hzsn2b.js → MergeTagInput-BEjzj4Iu.js} +115 -115
- package/dist/{MergeTagModeToggle-CH9wR5YF.js → MergeTagModeToggle-DKN6ihI5.js} +40 -40
- package/dist/{MergeTagSuggestion-CoCuzEmW.js → MergeTagSuggestion-DKoLEeoj.js} +21 -21
- package/dist/{ParagraphEditor-CT2AdMdZ.js → ParagraphEditor-1E9yzOfk.js} +231 -258
- package/dist/{RestoreVersionDialog-mdqgQxFR.js → RestoreVersionDialog-BMGUkcd8.js} +28 -28
- package/dist/{RichTextEditorContent-riOB-rKD.js → RichTextEditorContent-BnxbQUV9.js} +49 -59
- package/dist/{SaveBlockDialog-Cn2v4Lpj.js → SaveBlockDialog-WKASpCCT.js} +78 -78
- package/dist/SavedBlocksBrowserModal-AYEXTMtQ.js +323 -0
- package/dist/{SavedBlocksPanels-ffBnWuVU.js → SavedBlocksPanels-D_CpacTl.js} +6 -6
- package/dist/{SavedBlocksPickBar-BmQC2tWN.js → SavedBlocksPickBar-BHMwg-1G.js} +11 -11
- package/dist/{TemplateScoringPanel-CxAtdreR.js → TemplateScoringPanel-CSin43YM.js} +99 -98
- package/dist/{TestEmailModal-Cjn1padY.js → TestEmailModal-BxizsRCd.js} +59 -59
- package/dist/{TestEmailPanel-Bf3XZ1jn.js → TestEmailPanel-vd2e5HzT.js} +3 -3
- package/dist/TitleEditor-CLJ68Ty4.js +199 -0
- package/dist/TplModal-Q9fDgS1M.js +51 -0
- package/dist/{VersionHistoryMenu-CrNrGsaa.js → VersionHistoryMenu-eGYVhM4H.js} +41 -47
- package/dist/{VersionHistoryPanels-CsuQk6W3.js → VersionHistoryPanels-C7Ntrrfq.js} +4 -4
- package/dist/{VersionPreviewBanner-BqbO0Zss.js → VersionPreviewBanner-BbQXnR0M.js} +9 -9
- package/dist/{blockTypeIcons-D_4HdaY9.js → blockTypeIcons-5qD4bB76.js} +5 -17
- package/dist/bundle-stats.json +8 -8
- package/dist/ca-Jx2CDwtn.js +83 -0
- package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js → AiChatSidebar-dyqqHAcI.js} +4 -4
- package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js.map → AiChatSidebar-dyqqHAcI.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js → AiFeatureMenu-BjVMwhW8.js} +5 -5
- package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js.map → AiFeatureMenu-BjVMwhW8.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js → BlockIssueBadge-BJ__oEtm.js} +4 -4
- package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js.map → BlockIssueBadge-BJ__oEtm.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js → BlockPreviewCanvas-B5f26eLE.js} +5 -5
- package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js.map → BlockPreviewCanvas-B5f26eLE.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js → CloudHeaderExtras-D5P5IEKA.js} +4 -4
- package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js.map → CloudHeaderExtras-D5P5IEKA.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js → CloudPanels-DkmR05nB.js} +15 -45
- package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js.map → CloudPanels-DkmR05nB.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js → CollaboratorBar-Yn7KSpt4.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js.map → CollaboratorBar-Yn7KSpt4.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js → ColorPicker-LcrzgMoW.js} +7 -7
- package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js.map → ColorPicker-LcrzgMoW.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js → CommentsPanel-CntwwocI.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js.map → CommentsPanel-CntwwocI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js → CommentsSidebar-BLDKnKy7.js} +4 -4
- package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js.map → CommentsSidebar-BLDKnKy7.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js → CountdownBlock-B4AfqJwb.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js.map → CountdownBlock-B4AfqJwb.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js → CountdownToolbar-CA1dpuOI.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js.map → CountdownToolbar-CA1dpuOI.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js → DesignReferenceSidebar-D1Y9Hswe.js} +5 -5
- package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js.map → DesignReferenceSidebar-D1Y9Hswe.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js → IssuesPanel-Q62LTqvd.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js.map → IssuesPanel-Q62LTqvd.js.map} +1 -1
- package/dist/cdn/chunks/MediaPanels-D21M6shx.js +45 -0
- package/dist/cdn/chunks/MediaPanels-D21M6shx.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js → MergeTagInput-l7paaAml.js} +7 -7
- package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js.map → MergeTagInput-l7paaAml.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js → MergeTagModeToggle-DYxkAGtA.js} +4 -4
- package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js.map → MergeTagModeToggle-DYxkAGtA.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js → ParagraphEditor-Bd-GQXee.js} +15 -15
- package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js.map → ParagraphEditor-Bd-GQXee.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js → RestoreVersionDialog-2X9RpM9A.js} +4 -4
- package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js.map → RestoreVersionDialog-2X9RpM9A.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js → RichTextEditorContent-D_rb0rmU.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js.map → RichTextEditorContent-D_rb0rmU.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js → SaveBlockDialog-CufdTomT.js} +15 -15
- package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js.map → SaveBlockDialog-CufdTomT.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js → SavedBlocksBrowserModal-CqpaNsk7.js} +8 -8
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js.map → SavedBlocksBrowserModal-CqpaNsk7.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js → SavedBlocksPanels-DpxYxddo.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js.map → SavedBlocksPanels-DpxYxddo.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js → SavedBlocksPickBar-Drpoav1B.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js.map → SavedBlocksPickBar-Drpoav1B.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js → TemplateScoringPanel-DBjUNULq.js} +5 -5
- package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js.map → TemplateScoringPanel-DBjUNULq.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js → TestEmailModal-BTNlSW6f.js} +10 -10
- package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js.map → TestEmailModal-BTNlSW6f.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js → TestEmailPanel-D0A9Zgxr.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js.map → TestEmailPanel-D0A9Zgxr.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js → TitleEditor-CrnuIq62.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js.map → TitleEditor-CrnuIq62.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-DxOMcVwp.js → TplModal-DYXrTz42.js} +5 -5
- package/dist/cdn/chunks/{TplModal-DxOMcVwp.js.map → TplModal-DYXrTz42.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-BfVUvWHT.js → VersionHistoryMenu-bDGnE4hb.js} +4 -4
- package/dist/cdn/chunks/VersionHistoryMenu-bDGnE4hb.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js → VersionHistoryPanels-82P0Q0HM.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js.map → VersionHistoryPanels-82P0Q0HM.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js → VersionPreviewBanner-BJiwKkVC.js} +3 -3
- package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js.map → VersionPreviewBanner-BJiwKkVC.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js → blockTypeIcons-CNjJSFun.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js.map → blockTypeIcons-CNjJSFun.js.map} +1 -1
- package/dist/cdn/chunks/{ca-CNRWAMHI.js → ca-Jx2CDwtn.js} +2 -6
- package/dist/cdn/chunks/ca-Jx2CDwtn.js.map +1 -0
- package/dist/cdn/chunks/{cloud-CullB76F.js → cloud-BLgCKP7Z.js} +452 -227
- package/dist/cdn/chunks/cloud-BLgCKP7Z.js.map +1 -0
- package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js +385 -0
- package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js.map +1 -0
- package/dist/cdn/chunks/{de-DFYCT4QU.js → de-Ck0pBGHu.js} +2 -6
- package/dist/cdn/chunks/de-Ck0pBGHu.js.map +1 -0
- package/dist/cdn/chunks/{src-CaXeO-gG.js → editor-modal-MXgtarMl.js} +1474 -1935
- package/dist/cdn/chunks/editor-modal-MXgtarMl.js.map +1 -0
- package/dist/cdn/chunks/en-C9U7N77n.js +2 -0
- package/dist/cdn/chunks/{es-OgkdMZGX.js → es-lagTvUfX.js} +2 -6
- package/dist/cdn/chunks/es-lagTvUfX.js.map +1 -0
- package/dist/cdn/chunks/{extensions-BpXY7jO5.js → extensions-B8_jnIkD.js} +3 -3
- package/dist/cdn/chunks/{extensions-BpXY7jO5.js.map → extensions-B8_jnIkD.js.map} +1 -1
- package/dist/cdn/chunks/{fr-Dswns199.js → fr-C4hVl5Lk.js} +2 -6
- package/dist/cdn/chunks/fr-C4hVl5Lk.js.map +1 -0
- package/dist/cdn/chunks/{icons-BLxcQUck.js → icons-BUlqGSgd.js} +24 -24
- package/dist/cdn/chunks/{icons-BLxcQUck.js.map → icons-BUlqGSgd.js.map} +1 -1
- package/dist/cdn/chunks/{keys-DQp8x7Nx.js → keys-DBFhDFng.js} +4 -4
- package/dist/cdn/chunks/{keys-DQp8x7Nx.js.map → keys-DBFhDFng.js.map} +1 -1
- package/dist/cdn/chunks/{nl-CbcPJlrL.js → nl-CReD7Apd.js} +2 -6
- package/dist/cdn/chunks/nl-CReD7Apd.js.map +1 -0
- package/dist/cdn/chunks/{pt-BR-BibOQm-o.js → pt-BR-BRA0-vGP.js} +2 -6
- package/dist/cdn/chunks/pt-BR-BRA0-vGP.js.map +1 -0
- package/dist/cdn/chunks/{src-BC-eolWY.js → src-DZ0C9mH7.js} +2 -2
- package/dist/cdn/chunks/{src-BC-eolWY.js.map → src-DZ0C9mH7.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js → useCloudI18n-DSWSGj-A.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js.map → useCloudI18n-DSWSGj-A.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-D4MytYB9.js → useEditorCore-Cs7rYVBo.js} +488 -406
- package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +1 -0
- package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js → useEditorRoot-B0zW2nT4.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js.map → useEditorRoot-B0zW2nT4.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js → useI18n-Dlo7R9RA.js} +2 -2
- package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js.map → useI18n-Dlo7R9RA.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js → useMergeTag-BYAifvh8.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js.map → useMergeTag-BYAifvh8.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js → usePopoverPosition-ElP3ABaV.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js.map → usePopoverPosition-ElP3ABaV.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js → useScrollToBlock-nTbWkgaU.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js.map → useScrollToBlock-nTbWkgaU.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1091 -1004
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-CY-Ec6FV.js → check-DWtkBzBU.js} +1 -1
- package/dist/{chevron-down-BghbWA9p.js → chevron-down-C-Fjxcqj.js} +1 -1
- package/dist/chevron-right-SOkn2d4P.js +11 -0
- package/dist/{chevron-up-n3qFAPS3.js → chevron-up-lntU1ypp.js} +1 -1
- package/dist/{circle-alert-L5uGGFRP.js → circle-alert-CjzUTwy3.js} +1 -1
- package/dist/{clock-Dgnwp18n.js → clock-pB2QKPsJ.js} +1 -1
- package/dist/{cloud-B1c4XIsn.js → cloud-DdidMW6f.js} +445 -200
- package/dist/copy-CId1E038.js +19 -0
- package/dist/createCloudRuntime-x5WZm3p8.js +383 -0
- package/dist/{createLucideIcon-05lB8iWe.js → createLucideIcon-Cwf_nTzE.js} +6 -6
- package/dist/de-Ck0pBGHu.js +83 -0
- package/dist/{dist-BxFbxpgW.js → dist-BVqAYoRB.js} +125 -125
- package/dist/dist-D8i1ixHK.js +177 -0
- package/dist/dist-DBirAJIs.js +410 -0
- package/dist/editor-modal-B_LaQf0s.js +5998 -0
- package/dist/en-DcmpWV53.js +2 -0
- package/dist/es-lagTvUfX.js +83 -0
- package/dist/{extensions-Bawm4BOM.js → extensions-CHOBZRab.js} +42 -42
- package/dist/eye-BuGtFUoJ.js +16 -0
- package/dist/fr-C4hVl5Lk.js +83 -0
- package/dist/{image-up-ovhjl9u9.js → image-up-gH4JEpU5.js} +1 -1
- package/dist/index.d.ts +77 -11
- package/dist/{info-c3KI927I.js → info-BQ60P82u.js} +1 -1
- package/dist/{keys-C3P1yxnr.js → keys-DQA2i1k1.js} +4 -4
- package/dist/link-3R8it3J7.js +14 -0
- package/dist/list-Ccdgj46T.js +33 -0
- package/dist/{loader-circle-B2Y8xZQb.js → loader-circle-B_tAD4k6.js} +1 -1
- package/dist/{message-circle-B7K-naUa.js → message-circle-P-KSc6V0.js} +1 -1
- package/dist/nl-CReD7Apd.js +83 -0
- package/dist/{pencil-BhWTFcp4.js → pencil-9ZiwqS4r.js} +1 -1
- package/dist/plus-BwJEzCaO.js +14 -0
- package/dist/pt-BR-BRA0-vGP.js +83 -0
- package/dist/{refresh-cw-BqUR5vgO.js → refresh-cw-DEgfb2FK.js} +2 -14
- package/dist/{runtime-dom.esm-bundler-BuG03jBM.js → runtime-dom.esm-bundler-PnoZU512.js} +106 -106
- package/dist/search-DqQ8Li5E.js +16 -0
- package/dist/{send-D1vvuW79.js → send-CE6uvqop.js} +1 -1
- package/dist/{shield-check-DjK54PnW.js → shield-check-DhD1Z3rd.js} +1 -1
- package/dist/{sparkles-DNdS9V_3.js → sparkles-R0ZQHa6F.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +2488 -2407
- package/dist/{text-align-start-Bcmo_VUY.js → text-align-start-DSux2UNn.js} +1 -1
- package/dist/{trash-C9bMXvw4.js → trash-Cf_SqsER.js} +1 -1
- package/dist/{triangle-alert-Bn8Bd2Yv.js → triangle-alert-C6tGa6jw.js} +1 -1
- package/dist/{upload-DKgg1gno.js → upload-DusKjpVr.js} +1 -1
- package/dist/{useAliveFlag-PVmp95MT.js → useAliveFlag-oyByIcjy.js} +1 -1
- package/dist/{useCloudI18n-BKoiYsWZ.js → useCloudI18n-BLyh_e2T.js} +2 -2
- package/dist/{useEditorCore-CYGvurZa.js → useEditorCore-DhlKOYwe.js} +1552 -1486
- package/dist/{useEditorRoot-DkRGTQRs.js → useEditorRoot-ds57-l6F.js} +2 -2
- package/dist/{useI18n-CL6RfPzK.js → useI18n-BbdxxpOE.js} +2 -2
- package/dist/{useMergeTag-C9GEpljB.js → useMergeTag-DlvOBW_B.js} +3 -3
- package/dist/{usePopoverPosition-CWxaIWd3.js → usePopoverPosition-CprM5p-c.js} +2 -2
- package/dist/{useScrollToBlock-oUx1HIZ2.js → useScrollToBlock-BTFw0b9O.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-D9JUcKrV.js → vue.runtime.esm-bundler-DShF3P6k.js} +1192 -1181
- package/dist/{x-BPKoRPTG.js → x-D_-42Ukq.js} +1 -1
- package/package.json +9 -12
- package/dist/CloudHeaderExtras-CRUQvgSV.js +0 -59
- package/dist/SavedBlocksBrowserModal-BORqqASb.js +0 -322
- package/dist/TitleEditor-pYEUX6lR.js +0 -198
- package/dist/TplModal-DRx4ytx8.js +0 -51
- package/dist/cdn/chunks/VersionHistoryMenu-BfVUvWHT.js.map +0 -1
- package/dist/cdn/chunks/ca-CNRWAMHI.js.map +0 -1
- package/dist/cdn/chunks/cloud-CullB76F.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js +0 -443
- package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js.map +0 -1
- package/dist/cdn/chunks/de-DFYCT4QU.js.map +0 -1
- package/dist/cdn/chunks/en-rGHphLWo.js +0 -2
- package/dist/cdn/chunks/es-OgkdMZGX.js.map +0 -1
- package/dist/cdn/chunks/fr-Dswns199.js.map +0 -1
- package/dist/cdn/chunks/nl-CbcPJlrL.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-BibOQm-o.js.map +0 -1
- package/dist/cdn/chunks/src-CaXeO-gG.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-D4MytYB9.js.map +0 -1
- package/dist/createCloudRuntime-PevFSH74.js +0 -441
- package/dist/dist-dNiknO7j.js +0 -251
- package/dist/dist-heatwAdo.js +0 -150
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { r as
|
|
4
|
-
import { $ as
|
|
2
|
+
import { $ as t, D as n, E as r, O as i, U as a, Y as o, Z as s, at as c, b as l, ct as u, et as ee, j as d, q as f, v as p, y as m, z as te } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
3
|
+
import { r as h } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
4
|
+
import { $ as ne, $t as re, A as ie, An as ae, At as oe, B as se, Bt as ce, C as le, Cn as ue, Ct as de, D as fe, Dn as g, Dt as _, E as v, En as y, Et as b, F as x, Fn as S, Ft as C, G as w, Gt as T, H as E, Ht as D, I as O, In as k, It as A, J as j, Jt as M, K as N, Kt as P, L as F, Ln as I, Lt as L, M as R, Mn as z, Mt as B, N as V, Nn as pe, Nt as me, O as he, On as ge, Ot as _e, P as ve, Pn as ye, Pt as be, Q as xe, Qt as Se, R as Ce, Rn as we, Rt as Te, S as Ee, Sn as De, St as Oe, T as ke, Tn as Ae, Tt as je, U as Me, Ut as H, V as Ne, Vt as Pe, W as Fe, Wt as Ie, X as Le, Xt as Re, Y as ze, Yt as Be, Z as Ve, Zt as He, _ as U, _n as Ue, _t as We, a as Ge, an as Ke, at as qe, b as Je, bn as Ye, bt as Xe, c as Ze, cn as Qe, ct as $e, d as et, dn as tt, dt as nt, en as rt, et as it, f as at, fn as ot, ft as st, g as ct, gn as lt, gt as ut, h as dt, hn as ft, ht as pt, i as mt, in as ht, it as gt, j as _t, jn as vt, jt as yt, k as bt, kn as xt, kt as St, l as Ct, ln as wt, lt as Tt, m as Et, mn as Dt, mt as Ot, n as kt, nn as At, nt as jt, o as Mt, on as Nt, ot as Pt, p as W, pn as Ft, pt as It, q as Lt, qt as Rt, r as zt, rn as Bt, rt as Vt, s as Ht, sn as Ut, st as Wt, t as Gt, tn as Kt, tt as qt, u as Jt, un as Yt, ut as Xt, v as Zt, vn as Qt, vt as $t, w as en, wn as tn, wt as nn, x as rn, xn as an, xt as on, y as sn, yn as cn, yt as ln, z as un, zn as dn, zt as fn } from "./dist-DL9334yz.js";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.31.3_@floating-ui+dom@1.8.0_@tiptap+core@3.31.3_@tiptap+pm@3.31.3__@tip_80c22fe0535da859084edc93b89fa747/node_modules/@tiptap/vue-3/dist/index.js
|
|
6
|
-
var
|
|
7
|
-
CommandManager: () =>
|
|
8
|
-
DECORATION_MANAGER_PLUGIN_KEY: () =>
|
|
9
|
-
Decoration: () =>
|
|
10
|
-
DecorationManager: () =>
|
|
11
|
-
Editor: () =>
|
|
12
|
-
EditorContent: () =>
|
|
13
|
-
Extendable: () =>
|
|
14
|
-
Extension: () =>
|
|
6
|
+
var pn = /* @__PURE__ */ e({
|
|
7
|
+
CommandManager: () => Gt,
|
|
8
|
+
DECORATION_MANAGER_PLUGIN_KEY: () => kt,
|
|
9
|
+
Decoration: () => zt,
|
|
10
|
+
DecorationManager: () => mt,
|
|
11
|
+
Editor: () => K,
|
|
12
|
+
EditorContent: () => mn,
|
|
13
|
+
Extendable: () => Mt,
|
|
14
|
+
Extension: () => Ht,
|
|
15
15
|
Fragment: () => Ze,
|
|
16
|
-
InlineDecoration: () =>
|
|
17
|
-
InputRule: () =>
|
|
16
|
+
InlineDecoration: () => Ct,
|
|
17
|
+
InputRule: () => Jt,
|
|
18
18
|
MappablePosition: () => et,
|
|
19
|
-
Mark: () =>
|
|
20
|
-
MarkView: () =>
|
|
19
|
+
Mark: () => at,
|
|
20
|
+
MarkView: () => W,
|
|
21
21
|
MarkViewContent: () => _n,
|
|
22
|
-
Node: () =>
|
|
23
|
-
NodeDecoration: () =>
|
|
24
|
-
NodePos: () =>
|
|
22
|
+
Node: () => Et,
|
|
23
|
+
NodeDecoration: () => dt,
|
|
24
|
+
NodePos: () => ct,
|
|
25
25
|
NodeView: () => U,
|
|
26
|
-
NodeViewContent: () =>
|
|
26
|
+
NodeViewContent: () => q,
|
|
27
27
|
NodeViewWrapper: () => J,
|
|
28
|
-
PasteRule: () =>
|
|
29
|
-
ResizableNodeView: () =>
|
|
28
|
+
PasteRule: () => Zt,
|
|
29
|
+
ResizableNodeView: () => sn,
|
|
30
30
|
ResizableNodeview: () => Je,
|
|
31
|
-
Tracker: () =>
|
|
31
|
+
Tracker: () => rn,
|
|
32
32
|
VueMarkView: () => X,
|
|
33
33
|
VueMarkViewRenderer: () => vn,
|
|
34
34
|
VueNodeViewRenderer: () => Z,
|
|
35
35
|
VueRenderer: () => Y,
|
|
36
36
|
VueWidgetRenderer: () => wn,
|
|
37
37
|
WidgetDecoration: () => Ee,
|
|
38
|
-
attrsEqual: () =>
|
|
39
|
-
callOrReturn: () =>
|
|
38
|
+
attrsEqual: () => le,
|
|
39
|
+
callOrReturn: () => en,
|
|
40
40
|
canInsertNode: () => ke,
|
|
41
41
|
combineTransactionSteps: () => v,
|
|
42
|
-
commands: () =>
|
|
42
|
+
commands: () => fe,
|
|
43
43
|
createAtomBlockMarkdownSpec: () => he,
|
|
44
|
-
createBlockMarkdownSpec: () =>
|
|
45
|
-
createChainableState: () =>
|
|
46
|
-
createDocument: () =>
|
|
44
|
+
createBlockMarkdownSpec: () => bt,
|
|
45
|
+
createChainableState: () => ie,
|
|
46
|
+
createDocument: () => _t,
|
|
47
47
|
createElement: () => b,
|
|
48
48
|
createInlineMarkdownSpec: () => R,
|
|
49
49
|
createMappablePosition: () => V,
|
|
@@ -52,53 +52,53 @@ var fn = /* @__PURE__ */ e({
|
|
|
52
52
|
createWidgetDecoration: () => O,
|
|
53
53
|
decodeHtmlEntities: () => F,
|
|
54
54
|
defaultBlockAt: () => Ce,
|
|
55
|
-
deleteProps: () =>
|
|
56
|
-
elementFromString: () =>
|
|
55
|
+
deleteProps: () => un,
|
|
56
|
+
elementFromString: () => se,
|
|
57
57
|
encodeHtmlEntities: () => Ne,
|
|
58
58
|
escapeForRegEx: () => E,
|
|
59
59
|
extensions: () => Me,
|
|
60
60
|
findChildren: () => Fe,
|
|
61
61
|
findChildrenInRange: () => w,
|
|
62
62
|
findDuplicates: () => N,
|
|
63
|
-
findParentNode: () =>
|
|
63
|
+
findParentNode: () => Lt,
|
|
64
64
|
findParentNodeClosestToPos: () => j,
|
|
65
65
|
flattenExtensions: () => ze,
|
|
66
66
|
fromString: () => Le,
|
|
67
67
|
generateHTML: () => Ve,
|
|
68
68
|
generateJSON: () => xe,
|
|
69
|
-
generateText: () =>
|
|
70
|
-
getAttributes: () =>
|
|
71
|
-
getAttributesFromExtensions: () =>
|
|
72
|
-
getChangedRanges: () =>
|
|
73
|
-
getDebugJSON: () =>
|
|
74
|
-
getExtensionField: () =>
|
|
69
|
+
generateText: () => ne,
|
|
70
|
+
getAttributes: () => it,
|
|
71
|
+
getAttributesFromExtensions: () => qt,
|
|
72
|
+
getChangedRanges: () => jt,
|
|
73
|
+
getDebugJSON: () => Vt,
|
|
74
|
+
getExtensionField: () => gt,
|
|
75
75
|
getHTMLFromFragment: () => qe,
|
|
76
|
-
getMarkAttributes: () =>
|
|
77
|
-
getMarkRange: () =>
|
|
76
|
+
getMarkAttributes: () => Pt,
|
|
77
|
+
getMarkRange: () => Wt,
|
|
78
78
|
getMarkType: () => $e,
|
|
79
|
-
getMarksBetween: () =>
|
|
80
|
-
getNodeAtPosition: () =>
|
|
81
|
-
getNodeAttributes: () =>
|
|
82
|
-
getNodeType: () =>
|
|
83
|
-
getPreviousBlockSibling: () =>
|
|
84
|
-
getRenderedAttributes: () =>
|
|
85
|
-
getSchema: () =>
|
|
86
|
-
getSchemaByResolvedExtensions: () =>
|
|
79
|
+
getMarksBetween: () => Tt,
|
|
80
|
+
getNodeAtPosition: () => Xt,
|
|
81
|
+
getNodeAttributes: () => nt,
|
|
82
|
+
getNodeType: () => st,
|
|
83
|
+
getPreviousBlockSibling: () => It,
|
|
84
|
+
getRenderedAttributes: () => Ot,
|
|
85
|
+
getSchema: () => pt,
|
|
86
|
+
getSchemaByResolvedExtensions: () => ut,
|
|
87
87
|
getSchemaTypeByName: () => We,
|
|
88
|
-
getSchemaTypeNameByName: () =>
|
|
89
|
-
getSplittedAttributes: () =>
|
|
88
|
+
getSchemaTypeNameByName: () => $t,
|
|
89
|
+
getSplittedAttributes: () => ln,
|
|
90
90
|
getStyleProperty: () => Xe,
|
|
91
|
-
getText: () =>
|
|
91
|
+
getText: () => on,
|
|
92
92
|
getTextBetween: () => Oe,
|
|
93
|
-
getTextContentFromNodes: () =>
|
|
94
|
-
getTextSerializersFromSchema: () =>
|
|
93
|
+
getTextContentFromNodes: () => de,
|
|
94
|
+
getTextSerializersFromSchema: () => nn,
|
|
95
95
|
getUpdatedPosition: () => je,
|
|
96
96
|
h: () => b,
|
|
97
97
|
injectExtensionAttributesToParseRule: () => _,
|
|
98
98
|
inputRulesPlugin: () => _e,
|
|
99
|
-
isActive: () =>
|
|
100
|
-
isAndroid: () =>
|
|
101
|
-
isAtEndOfNode: () =>
|
|
99
|
+
isActive: () => St,
|
|
100
|
+
isAndroid: () => oe,
|
|
101
|
+
isAtEndOfNode: () => yt,
|
|
102
102
|
isAtStartOfNode: () => B,
|
|
103
103
|
isEmptyObject: () => me,
|
|
104
104
|
isExtensionRulesEnabled: () => be,
|
|
@@ -106,55 +106,55 @@ var fn = /* @__PURE__ */ e({
|
|
|
106
106
|
isFunction: () => A,
|
|
107
107
|
isList: () => L,
|
|
108
108
|
isMacOS: () => Te,
|
|
109
|
-
isMarkActive: () =>
|
|
110
|
-
isNodeActive: () =>
|
|
109
|
+
isMarkActive: () => fn,
|
|
110
|
+
isNodeActive: () => ce,
|
|
111
111
|
isNodeEmpty: () => Pe,
|
|
112
112
|
isNodeSelection: () => D,
|
|
113
113
|
isNodeViewSelected: () => H,
|
|
114
114
|
isNumber: () => Ie,
|
|
115
115
|
isPlainObject: () => T,
|
|
116
116
|
isProseMirrorAddMarkStep: () => P,
|
|
117
|
-
isProseMirrorAddNodeMarkStep: () =>
|
|
117
|
+
isProseMirrorAddNodeMarkStep: () => Rt,
|
|
118
118
|
isProseMirrorAttrStep: () => M,
|
|
119
119
|
isProseMirrorCellSelection: () => Be,
|
|
120
120
|
isProseMirrorDocAttrStep: () => Re,
|
|
121
121
|
isProseMirrorFragment: () => He,
|
|
122
122
|
isProseMirrorNodeSelection: () => Se,
|
|
123
|
-
isProseMirrorRemoveMarkStep: () =>
|
|
124
|
-
isProseMirrorRemoveNodeMarkStep: () =>
|
|
125
|
-
isProseMirrorReplaceAroundStep: () =>
|
|
126
|
-
isProseMirrorReplaceStep: () =>
|
|
127
|
-
isProseMirrorSlice: () =>
|
|
128
|
-
isProseMirrorStep: () =>
|
|
123
|
+
isProseMirrorRemoveMarkStep: () => re,
|
|
124
|
+
isProseMirrorRemoveNodeMarkStep: () => rt,
|
|
125
|
+
isProseMirrorReplaceAroundStep: () => Kt,
|
|
126
|
+
isProseMirrorReplaceStep: () => At,
|
|
127
|
+
isProseMirrorSlice: () => Bt,
|
|
128
|
+
isProseMirrorStep: () => ht,
|
|
129
129
|
isProseMirrorStepResult: () => Ke,
|
|
130
|
-
isRegExp: () =>
|
|
131
|
-
isSafari: () =>
|
|
130
|
+
isRegExp: () => Nt,
|
|
131
|
+
isSafari: () => Ut,
|
|
132
132
|
isString: () => Qe,
|
|
133
|
-
isTextSelection: () =>
|
|
134
|
-
isiOS: () =>
|
|
133
|
+
isTextSelection: () => wt,
|
|
134
|
+
isiOS: () => Yt,
|
|
135
135
|
liveWidgetKeys: () => tt,
|
|
136
|
-
markInputRule: () =>
|
|
137
|
-
markPasteRule: () =>
|
|
136
|
+
markInputRule: () => ot,
|
|
137
|
+
markPasteRule: () => Ft,
|
|
138
138
|
markViewProps: () => gn,
|
|
139
|
-
markdown: () =>
|
|
140
|
-
marksEqual: () =>
|
|
141
|
-
mergeAttributes: () =>
|
|
139
|
+
markdown: () => Dt,
|
|
140
|
+
marksEqual: () => ft,
|
|
141
|
+
mergeAttributes: () => lt,
|
|
142
142
|
mergeDeep: () => Ue,
|
|
143
|
-
minMax: () =>
|
|
144
|
-
nodeInputRule: () =>
|
|
143
|
+
minMax: () => Qt,
|
|
144
|
+
nodeInputRule: () => cn,
|
|
145
145
|
nodePasteRule: () => Ye,
|
|
146
146
|
nodeViewProps: () => yn,
|
|
147
|
-
objectIncludes: () =>
|
|
147
|
+
objectIncludes: () => an,
|
|
148
148
|
parseAttributes: () => De,
|
|
149
|
-
parseIndentedBlocks: () =>
|
|
150
|
-
pasteRulesPlugin: () =>
|
|
149
|
+
parseIndentedBlocks: () => ue,
|
|
150
|
+
pasteRulesPlugin: () => tn,
|
|
151
151
|
posToDOMRect: () => Ae,
|
|
152
152
|
removeDuplicates: () => y,
|
|
153
153
|
renderNestedMarkdownContent: () => g,
|
|
154
154
|
resolveExtensions: () => ge,
|
|
155
|
-
resolveFocusPosition: () =>
|
|
156
|
-
rewriteUnknownContent: () =>
|
|
157
|
-
selectionToInsertionEnd: () =>
|
|
155
|
+
resolveFocusPosition: () => xt,
|
|
156
|
+
rewriteUnknownContent: () => ae,
|
|
157
|
+
selectionToInsertionEnd: () => vt,
|
|
158
158
|
serializeAttributes: () => z,
|
|
159
159
|
sortExtensions: () => pe,
|
|
160
160
|
splitExtensions: () => ye,
|
|
@@ -163,9 +163,9 @@ var fn = /* @__PURE__ */ e({
|
|
|
163
163
|
textblockTypeInputRule: () => I,
|
|
164
164
|
updateMarkViewAttributes: () => we,
|
|
165
165
|
useEditor: () => hn,
|
|
166
|
-
wrappingInputRule: () =>
|
|
166
|
+
wrappingInputRule: () => dn
|
|
167
167
|
});
|
|
168
|
-
function
|
|
168
|
+
function G(e) {
|
|
169
169
|
return a((t, n) => ({
|
|
170
170
|
get() {
|
|
171
171
|
return t(), e;
|
|
@@ -179,11 +179,11 @@ function K(e) {
|
|
|
179
179
|
}
|
|
180
180
|
}));
|
|
181
181
|
}
|
|
182
|
-
var
|
|
182
|
+
var K = class extends Ge {
|
|
183
183
|
constructor(e = {}) {
|
|
184
|
-
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState =
|
|
184
|
+
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = G(this.view.state), this.reactiveExtensionStorage = G(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
|
|
185
185
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
186
|
-
}),
|
|
186
|
+
}), f(this);
|
|
187
187
|
}
|
|
188
188
|
get state() {
|
|
189
189
|
return this.reactiveState ? this.reactiveState.value : this.view.state;
|
|
@@ -199,35 +199,35 @@ var q = class extends Ge {
|
|
|
199
199
|
let t = super.unregisterPlugin(e);
|
|
200
200
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
201
201
|
}
|
|
202
|
-
},
|
|
202
|
+
}, mn = p({
|
|
203
203
|
name: "EditorContent",
|
|
204
204
|
props: { editor: {
|
|
205
205
|
default: null,
|
|
206
206
|
type: Object
|
|
207
207
|
} },
|
|
208
208
|
setup(e) {
|
|
209
|
-
let t =
|
|
209
|
+
let t = s(), i = m();
|
|
210
210
|
return te(() => {
|
|
211
|
-
let
|
|
212
|
-
|
|
213
|
-
if (!t.value || !
|
|
214
|
-
let e =
|
|
215
|
-
t.value.append(...
|
|
216
|
-
...
|
|
217
|
-
provides:
|
|
218
|
-
}),
|
|
211
|
+
let n = e.editor;
|
|
212
|
+
n && n.options.element && t.value && r(() => {
|
|
213
|
+
if (!t.value || !n.view.dom?.parentNode) return;
|
|
214
|
+
let e = c(t.value);
|
|
215
|
+
t.value.append(...n.view.dom.parentNode.childNodes), n.contentComponent = i.ctx._, i && (n.appContext = {
|
|
216
|
+
...i.appContext,
|
|
217
|
+
provides: i.provides
|
|
218
|
+
}), n.setOptions({ element: e }), n.createNodeViews();
|
|
219
219
|
});
|
|
220
|
-
}),
|
|
220
|
+
}), n(() => {
|
|
221
221
|
let t = e.editor;
|
|
222
222
|
t && (t.contentComponent = null, t.appContext = null);
|
|
223
223
|
}), { rootEl: t };
|
|
224
224
|
},
|
|
225
225
|
render() {
|
|
226
|
-
return
|
|
226
|
+
return l("div", { ref: (e) => {
|
|
227
227
|
this.rootEl = e;
|
|
228
228
|
} });
|
|
229
229
|
}
|
|
230
|
-
}),
|
|
230
|
+
}), q = p({
|
|
231
231
|
name: "NodeViewContent",
|
|
232
232
|
props: { as: {
|
|
233
233
|
type: String,
|
|
@@ -243,7 +243,7 @@ var q = class extends Ge {
|
|
|
243
243
|
e && e(null);
|
|
244
244
|
},
|
|
245
245
|
render() {
|
|
246
|
-
return
|
|
246
|
+
return l(this.as, {
|
|
247
247
|
style: { whiteSpace: "pre-wrap" },
|
|
248
248
|
"data-node-view-content": ""
|
|
249
249
|
});
|
|
@@ -257,7 +257,7 @@ var q = class extends Ge {
|
|
|
257
257
|
inject: ["onDragStart", "decorationClasses"],
|
|
258
258
|
render() {
|
|
259
259
|
var e;
|
|
260
|
-
return
|
|
260
|
+
return l(this.as, {
|
|
261
261
|
class: this.decorationClasses,
|
|
262
262
|
style: { whiteSpace: "normal" },
|
|
263
263
|
"data-node-view-wrapper": "",
|
|
@@ -265,16 +265,16 @@ var q = class extends Ge {
|
|
|
265
265
|
}, (e = this.$slots).default?.call(e));
|
|
266
266
|
}
|
|
267
267
|
}), hn = (e = {}) => {
|
|
268
|
-
let
|
|
269
|
-
return
|
|
270
|
-
|
|
271
|
-
}),
|
|
268
|
+
let r = t();
|
|
269
|
+
return i(() => {
|
|
270
|
+
r.value = new K(e);
|
|
271
|
+
}), n(() => {
|
|
272
272
|
var e;
|
|
273
|
-
(e =
|
|
274
|
-
}),
|
|
273
|
+
(e = r.value) == null || e.destroy();
|
|
274
|
+
}), r;
|
|
275
275
|
}, Y = class {
|
|
276
276
|
constructor(e, { props: t = {}, editor: n }) {
|
|
277
|
-
this.destroyed = !1, this.editor = n, this.component =
|
|
277
|
+
this.destroyed = !1, this.editor = n, this.component = f(e), this.el = document.createElement("div"), this.props = o(t), this.renderedComponent = this.renderComponent();
|
|
278
278
|
}
|
|
279
279
|
get element() {
|
|
280
280
|
return this.renderedComponent.el;
|
|
@@ -285,11 +285,11 @@ var q = class extends Ge {
|
|
|
285
285
|
}
|
|
286
286
|
renderComponent() {
|
|
287
287
|
if (this.destroyed) return this.renderedComponent;
|
|
288
|
-
let e =
|
|
289
|
-
return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el &&
|
|
288
|
+
let e = l(this.component, this.props);
|
|
289
|
+
return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el && h(e, this.el), {
|
|
290
290
|
vNode: e,
|
|
291
291
|
destroy: () => {
|
|
292
|
-
this.el &&
|
|
292
|
+
this.el && h(null, this.el), this.el = null, e = null;
|
|
293
293
|
},
|
|
294
294
|
el: this.el ? this.el.firstElementChild : null
|
|
295
295
|
};
|
|
@@ -338,12 +338,12 @@ var q = class extends Ge {
|
|
|
338
338
|
default: "span"
|
|
339
339
|
} },
|
|
340
340
|
render() {
|
|
341
|
-
return
|
|
341
|
+
return l(this.as, {
|
|
342
342
|
style: { whiteSpace: "inherit" },
|
|
343
343
|
"data-mark-view-content": ""
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
|
-
}), X = class extends
|
|
346
|
+
}), X = class extends W {
|
|
347
347
|
constructor(e, t, n) {
|
|
348
348
|
super(e, t, n);
|
|
349
349
|
let r = {
|
|
@@ -371,8 +371,8 @@ var q = class extends Ge {
|
|
|
371
371
|
return this.dom.querySelector("[data-mark-view-content]");
|
|
372
372
|
}
|
|
373
373
|
updateAttributes(e) {
|
|
374
|
-
let
|
|
375
|
-
super.updateAttributes(e,
|
|
374
|
+
let t = ee(this.mark);
|
|
375
|
+
super.updateAttributes(e, t);
|
|
376
376
|
}
|
|
377
377
|
destroy() {
|
|
378
378
|
this.renderer.destroy();
|
|
@@ -455,15 +455,15 @@ var yn = {
|
|
|
455
455
|
getPos: () => this.getPos(),
|
|
456
456
|
updateAttributes: (e = {}) => this.updateAttributes(e),
|
|
457
457
|
deleteNode: () => this.deleteNode()
|
|
458
|
-
}, t = e,
|
|
459
|
-
this.decorationClasses =
|
|
460
|
-
let
|
|
458
|
+
}, t = e, n = this.onDragStart.bind(this);
|
|
459
|
+
this.decorationClasses = s(this.getDecorationClasses());
|
|
460
|
+
let r = p({
|
|
461
461
|
extends: { ...this.component },
|
|
462
462
|
props: Object.keys(e),
|
|
463
463
|
template: this.component.template,
|
|
464
464
|
setup: (e) => {
|
|
465
465
|
var t;
|
|
466
|
-
return
|
|
466
|
+
return d("onDragStart", n), d("decorationClasses", this.decorationClasses), d("nodeViewContentRef", (e) => {
|
|
467
467
|
if (e && e !== this.contentDOMElement) {
|
|
468
468
|
if (this.contentDOMElement) for (; this.contentDOMElement.firstChild;) e.appendChild(this.contentDOMElement.firstChild);
|
|
469
469
|
this.contentDOMElement = e;
|
|
@@ -475,7 +475,7 @@ var yn = {
|
|
|
475
475
|
__name: this.component.__name,
|
|
476
476
|
__file: this.component.__file
|
|
477
477
|
});
|
|
478
|
-
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.node.isLeaf || (this.contentDOMElement = this.options.contentDOMElementTag ? document.createElement(this.options.contentDOMElementTag) : document.createElement(this.node.isInline ? "span" : "div"), this.contentDOMElement.style.whiteSpace = "inherit", this.contentDOMElement.dataset.nodeViewContentVue = ""), this.renderer = new Y(
|
|
478
|
+
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.node.isLeaf || (this.contentDOMElement = this.options.contentDOMElementTag ? document.createElement(this.options.contentDOMElementTag) : document.createElement(this.node.isInline ? "span" : "div"), this.contentDOMElement.style.whiteSpace = "inherit", this.contentDOMElement.dataset.nodeViewContentVue = ""), this.renderer = new Y(r, {
|
|
479
479
|
editor: this.editor,
|
|
480
480
|
props: t
|
|
481
481
|
});
|
|
@@ -558,7 +558,7 @@ function Q(e, t) {
|
|
|
558
558
|
if (!r) return;
|
|
559
559
|
(n = r.mixins) == null || n.forEach((e) => Q(e, t)), Q(r.extends, t);
|
|
560
560
|
let { props: i } = r;
|
|
561
|
-
Array.isArray(i) ? i.forEach((e) => t.add(
|
|
561
|
+
Array.isArray(i) ? i.forEach((e) => t.add(u(e))) : i && Object.keys(i).forEach((e) => t.add(u(e)));
|
|
562
562
|
}
|
|
563
563
|
function $(e, t) {
|
|
564
564
|
let n = /* @__PURE__ */ new Set();
|
|
@@ -568,7 +568,7 @@ function $(e, t) {
|
|
|
568
568
|
"editor",
|
|
569
569
|
"getPos",
|
|
570
570
|
...Object.keys(t)
|
|
571
|
-
]) n.has(
|
|
571
|
+
]) n.has(u(e)) || (r[e] = null);
|
|
572
572
|
return r;
|
|
573
573
|
}
|
|
574
574
|
function xn(e, t) {
|
|
@@ -589,7 +589,7 @@ function wn(e, t) {
|
|
|
589
589
|
props: r,
|
|
590
590
|
cacheKey: Cn,
|
|
591
591
|
context: (e) => ({
|
|
592
|
-
editor:
|
|
592
|
+
editor: f(n),
|
|
593
593
|
getPos: e
|
|
594
594
|
}),
|
|
595
595
|
create: (e) => new Y(i, {
|
|
@@ -615,4 +615,4 @@ function En(e, t) {
|
|
|
615
615
|
});
|
|
616
616
|
}
|
|
617
617
|
//#endregion
|
|
618
|
-
export { Z as n,
|
|
618
|
+
export { Z as n, pn as r, J as t };
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { $ as e, E as t, J as n, K as r, O as i, Q as a, R as o, S as s, W as c, Z as l, rt as u, x as d, y as f } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.42_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
|
+
function p(e, t) {
|
|
4
|
+
return c() ? (n(e, t), !0) : !1;
|
|
5
|
+
}
|
|
6
|
+
function m() {
|
|
7
|
+
let e = /* @__PURE__ */ new Set(), t = (t) => {
|
|
8
|
+
e.delete(t);
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
on: (n) => {
|
|
12
|
+
e.add(n);
|
|
13
|
+
let r = () => t(n);
|
|
14
|
+
return p(r), { off: r };
|
|
15
|
+
},
|
|
16
|
+
off: t,
|
|
17
|
+
trigger: (...t) => Promise.all(Array.from(e).map((e) => e(...t))),
|
|
18
|
+
clear: () => {
|
|
19
|
+
e.clear();
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
var h = /* @__PURE__ */ new WeakMap(), g = (...e) => {
|
|
24
|
+
let t = e[0], n = f()?.proxy ?? c();
|
|
25
|
+
if (n == null && !d()) throw Error("injectLocal must be called in setup");
|
|
26
|
+
return n && h.has(n) && t in h.get(n) ? h.get(n)[t] : s(...e);
|
|
27
|
+
}, _ = typeof window < "u" && typeof document < "u";
|
|
28
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
29
|
+
var v = (e) => e != null, y = Object.prototype.toString, b = (e) => y.call(e) === "[object Object]", x = () => {}, S = (e, t) => Object.hasOwn(e, t), C = /* #__PURE__ */ w();
|
|
30
|
+
function w() {
|
|
31
|
+
var e, t;
|
|
32
|
+
return _ && !!((e = window) != null && (e = e.navigator) != null && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
|
|
33
|
+
}
|
|
34
|
+
function T(e, t) {
|
|
35
|
+
function n(...n) {
|
|
36
|
+
return new Promise((r, i) => {
|
|
37
|
+
Promise.resolve(e(() => t.apply(this, n), {
|
|
38
|
+
fn: t,
|
|
39
|
+
thisArg: this,
|
|
40
|
+
args: n
|
|
41
|
+
})).then(r).catch(i);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
return "cancel" in e && Object.assign(n, {
|
|
45
|
+
cancel: e.cancel,
|
|
46
|
+
flush: e.flush,
|
|
47
|
+
isPending: e.isPending
|
|
48
|
+
}), n;
|
|
49
|
+
}
|
|
50
|
+
var E = (e) => e();
|
|
51
|
+
function D(t, n = {}) {
|
|
52
|
+
let r, i, o = x, s = x, c = e(!1), l = (e) => {
|
|
53
|
+
clearTimeout(e), o(), o = x;
|
|
54
|
+
}, d;
|
|
55
|
+
return Object.assign((e) => {
|
|
56
|
+
let a = u(t), f = u(n.maxWait);
|
|
57
|
+
return r && l(r), a <= 0 || f !== void 0 && f <= 0 ? (i &&= (l(i), void 0), c.value = !1, Promise.resolve(e())) : (c.value = !0, new Promise((t, u) => {
|
|
58
|
+
o = n.rejectOnCancel ? u : t, s = t, d = e, f && !i && (i = setTimeout(() => {
|
|
59
|
+
r && l(r), i = void 0, c.value = !1, t(d());
|
|
60
|
+
}, f)), r = setTimeout(() => {
|
|
61
|
+
i && l(i), i = void 0, c.value = !1, t(e());
|
|
62
|
+
}, a);
|
|
63
|
+
}));
|
|
64
|
+
}, {
|
|
65
|
+
cancel: () => {
|
|
66
|
+
r &&= (l(r), void 0), i &&= (l(i), void 0), c.value = !1, s = x;
|
|
67
|
+
},
|
|
68
|
+
flush: () => {
|
|
69
|
+
if (c.value) {
|
|
70
|
+
r &&= (clearTimeout(r), void 0), i &&= (clearTimeout(i), void 0), c.value = !1;
|
|
71
|
+
let e = s;
|
|
72
|
+
o = x, s = x, e(d());
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
isPending: a(c)
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function O(e) {
|
|
79
|
+
let t;
|
|
80
|
+
function n() {
|
|
81
|
+
return t ||= e(), t;
|
|
82
|
+
}
|
|
83
|
+
return n.reset = async () => {
|
|
84
|
+
let e = t;
|
|
85
|
+
t = void 0, e && await e;
|
|
86
|
+
}, n;
|
|
87
|
+
}
|
|
88
|
+
function k(e) {
|
|
89
|
+
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
90
|
+
}
|
|
91
|
+
function A(e) {
|
|
92
|
+
return Array.isArray(e) ? e : [e];
|
|
93
|
+
}
|
|
94
|
+
function j(e) {
|
|
95
|
+
return e || f();
|
|
96
|
+
}
|
|
97
|
+
function M(e, t = 200, n = {}) {
|
|
98
|
+
return T(D(t, n), e);
|
|
99
|
+
}
|
|
100
|
+
function N(e, t = 200, n = {}) {
|
|
101
|
+
let r = l(u(e)), i = M(() => {
|
|
102
|
+
r.value = e.value;
|
|
103
|
+
}, t, n);
|
|
104
|
+
return o(e, () => i()), a(r);
|
|
105
|
+
}
|
|
106
|
+
function P(e, t, n = {}) {
|
|
107
|
+
let { eventFilter: r = E, ...i } = n;
|
|
108
|
+
return o(e, T(r, t), i);
|
|
109
|
+
}
|
|
110
|
+
function F(e, n = !0, r) {
|
|
111
|
+
j(r) ? i(e, r) : n ? e() : t(e);
|
|
112
|
+
}
|
|
113
|
+
function I(t, n = 1e3, i = {}) {
|
|
114
|
+
let { immediate: s = !0, immediateCallback: c = !1 } = i, l = null, d = e(!1);
|
|
115
|
+
function f() {
|
|
116
|
+
l &&= (clearInterval(l), null);
|
|
117
|
+
}
|
|
118
|
+
function m() {
|
|
119
|
+
d.value = !1, f();
|
|
120
|
+
}
|
|
121
|
+
function h() {
|
|
122
|
+
let e = u(n);
|
|
123
|
+
e <= 0 || (d.value = !0, c && t(), f(), d.value && (l = setInterval(t, e)));
|
|
124
|
+
}
|
|
125
|
+
return s && _ && h(), (r(n) || typeof n == "function") && p(o(n, () => {
|
|
126
|
+
d.value && _ && h();
|
|
127
|
+
})), p(m), {
|
|
128
|
+
isActive: a(d),
|
|
129
|
+
pause: m,
|
|
130
|
+
resume: h
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function L(t, n, r = {}) {
|
|
134
|
+
let { immediate: i = !0, immediateCallback: o = !1 } = r, s = e(!1), c;
|
|
135
|
+
function l() {
|
|
136
|
+
c &&= (clearTimeout(c), void 0);
|
|
137
|
+
}
|
|
138
|
+
function d() {
|
|
139
|
+
s.value = !1, l();
|
|
140
|
+
}
|
|
141
|
+
function f(...e) {
|
|
142
|
+
o && t(), l(), s.value = !0, c = setTimeout(() => {
|
|
143
|
+
s.value = !1, c = void 0, t(...e);
|
|
144
|
+
}, u(n));
|
|
145
|
+
}
|
|
146
|
+
return i && (s.value = !0, _ && f()), p(d), {
|
|
147
|
+
isPending: a(s),
|
|
148
|
+
start: f,
|
|
149
|
+
stop: d
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
function R(t = !1, n = {}) {
|
|
153
|
+
let { truthyValue: i = !0, falsyValue: a = !1 } = n, o = r(t), s = e(t);
|
|
154
|
+
function c(e) {
|
|
155
|
+
if (arguments.length) return s.value = e, s.value;
|
|
156
|
+
{
|
|
157
|
+
let e = u(i);
|
|
158
|
+
return s.value = s.value === e ? u(a) : e, s.value;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return o ? c : [s, c];
|
|
162
|
+
}
|
|
163
|
+
function z(e, t, n = {}) {
|
|
164
|
+
let { debounce: r = 0, maxWait: i = void 0, ...a } = n;
|
|
165
|
+
return P(e, t, {
|
|
166
|
+
...a,
|
|
167
|
+
eventFilter: D(r, { maxWait: i })
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
function B(e, t, n) {
|
|
171
|
+
return o(e, t, {
|
|
172
|
+
...n,
|
|
173
|
+
immediate: !0
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
//#endregion
|
|
177
|
+
export { L as _, _ as a, B as b, x as c, N as d, A as f, I as g, M as h, g as i, v as l, p as m, O as n, C as o, F as p, S as r, b as s, m as t, k as u, R as v, z as y };
|