@templatical/editor 0.10.1 → 0.10.2
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-Dz5bH1z3.js → AiChatSidebar-BMwpZx-6.js} +14 -14
- package/dist/{AiFeatureMenu-D2Xn0jFx.js → AiFeatureMenu-xgaIGUCo.js} +8 -8
- package/dist/{BlockIssueBadge-CnqD1cGo.js → BlockIssueBadge-3kNs6WoD.js} +5 -5
- package/dist/{CloudEditor-BizZwsfD.js → CloudEditor-Dm9hiaui.js} +21 -21
- package/dist/{CollaboratorBar-Bn2JDu6l.js → CollaboratorBar-Cz_evoU4.js} +4 -4
- package/dist/{CommentsSidebar-BAG6rdVC.js → CommentsSidebar-jFZj_CTo.js} +13 -13
- package/dist/{CountdownBlock-B_Hr9Bm9.js → CountdownBlock-S-SCyVye.js} +4 -4
- package/dist/{CountdownToolbar-DaqDLKLk.js → CountdownToolbar-Ckdo-3P-.js} +3 -3
- package/dist/{DesignReferenceSidebar-I9LWjvrj.js → DesignReferenceSidebar-B9QNPZNV.js} +10 -10
- package/dist/{IssuesPanel-B32Ifp4x.js → IssuesPanel-_E_fbSM8.js} +8 -8
- package/dist/{LoadingTrack-UTqOUN4O.js → LoadingTrack-BZ5KJyZ_.js} +2 -2
- package/dist/{ModuleBrowserModal-DodRped1.js → ModuleBrowserModal-BB22urqi.js} +10 -10
- package/dist/{ModulePreviewCanvas-DhcnddJF.js → ModulePreviewCanvas-CH5OdXv8.js} +3 -3
- package/dist/{NumberWithSuffix-DB7GyyCI.js → NumberWithSuffix-BHDXHMpo.js} +3 -3
- package/dist/{ParagraphEditor-pJA9BHAL.js → ParagraphEditor-BmY7LLgN.js} +24 -24
- package/dist/{RichTextEditorContent-dTGSUff_.js → RichTextEditorContent-COijbaWp.js} +8 -8
- package/dist/{SaveModuleDialog-D634e99d.js → SaveModuleDialog-D5WN-je_.js} +7 -7
- package/dist/{SnapshotHistory-m_nGAHlb.js → SnapshotHistory-BQ55Rhri.js} +9 -9
- package/dist/{TemplateScoringPanel-BOQh9neV.js → TemplateScoringPanel-Dhf_Qgr7.js} +15 -15
- package/dist/{TestEmailModal-DOcwoKkc.js → TestEmailModal-DH_Viz_m.js} +5 -5
- package/dist/{TitleEditor-t6JMWamY.js → TitleEditor-Dn613K8o.js} +12 -12
- package/dist/{TplModal-BAtbfDB0.js → TplModal-Dxa3rhHI.js} +4 -4
- package/dist/{blockTypeIcons-C4lXx3Au.js → blockTypeIcons-CrcSCTD6.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-BeOyHAoZ.js → AiFeatureMenu-CCsgxyN9.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-BeOyHAoZ.js.map → AiFeatureMenu-CCsgxyN9.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-C6YilQdl.js → BlockIssueBadge-Lc3NWFV8.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-C6YilQdl.js.map → BlockIssueBadge-Lc3NWFV8.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-DEA37rdW.js → CloudEditor-KkwvBhyt.js} +123 -123
- package/dist/cdn/chunks/{CloudEditor-DEA37rdW.js.map → CloudEditor-KkwvBhyt.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-CKW7jOW4.js → CollaboratorBar-BGIGiFSm.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-CKW7jOW4.js.map → CollaboratorBar-BGIGiFSm.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-DU9ga9Ki.js → CountdownBlock-gqnpxKp_.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-DU9ga9Ki.js.map → CountdownBlock-gqnpxKp_.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BHWsxth7.js → CountdownToolbar-xHpaWQE2.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-BHWsxth7.js.map → CountdownToolbar-xHpaWQE2.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BkYhij39.js → IssuesPanel-DHTTHu65.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-BkYhij39.js.map → IssuesPanel-DHTTHu65.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-D51w942J.js → ModuleBrowserModal-DDTjrKph.js} +6 -6
- package/dist/cdn/chunks/{ModuleBrowserModal-D51w942J.js.map → ModuleBrowserModal-DDTjrKph.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-BqTqcKHS.js → ModulePreviewCanvas-DeFq0hVi.js} +3 -3
- package/dist/cdn/chunks/{ModulePreviewCanvas-BqTqcKHS.js.map → ModulePreviewCanvas-DeFq0hVi.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-DuUcF2zG.js → NumberWithSuffix-D4wtmU9O.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-DuUcF2zG.js.map → NumberWithSuffix-D4wtmU9O.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-Bqjn3ZNm.js → ParagraphEditor-CwY8GeWa.js} +18 -18
- package/dist/cdn/chunks/{ParagraphEditor-Bqjn3ZNm.js.map → ParagraphEditor-CwY8GeWa.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-mIkkb5EK.js → RichTextEditorContent-C_bMURGF.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-mIkkb5EK.js.map → RichTextEditorContent-C_bMURGF.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-Felfmkcj.js → SaveModuleDialog-DEi8PSP6.js} +3 -3
- package/dist/cdn/chunks/{SaveModuleDialog-Felfmkcj.js.map → SaveModuleDialog-DEi8PSP6.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Dcldr8D6.js → TitleEditor-Betpo8AZ.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-Dcldr8D6.js.map → TitleEditor-Betpo8AZ.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-D05Wqf5u.js → blockTypeIcons-Xz6OBq3U.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-D05Wqf5u.js.map → blockTypeIcons-Xz6OBq3U.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-J_1CPXYc.js → draggable-BTGr7_-X.js} +19 -19
- package/dist/cdn/chunks/{draggable-J_1CPXYc.js.map → draggable-BTGr7_-X.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-CNmpC18A.js → extensions-D_j4UWxi.js} +4 -4
- package/dist/cdn/chunks/{extensions-CNmpC18A.js.map → extensions-D_j4UWxi.js.map} +1 -1
- package/dist/cdn/chunks/{features-_ar9QbVv.js → features-A28DQtjE.js} +815 -810
- package/dist/cdn/chunks/features-A28DQtjE.js.map +1 -0
- package/dist/cdn/chunks/{icons-CnwCLJX-.js → icons-C9D3N0-J.js} +2 -2
- package/dist/cdn/chunks/{icons-CnwCLJX-.js.map → icons-C9D3N0-J.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-rMoPo2t_.js → liquid.browser-DUDc3U21.js} +10 -10
- package/dist/cdn/chunks/{liquid.browser-rMoPo2t_.js.map → liquid.browser-DUDc3U21.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-9jyt7Bf9.js → media-library-CH1Wx5wP.js} +7 -7
- package/dist/cdn/chunks/{media-library-9jyt7Bf9.js.map → media-library-CH1Wx5wP.js.map} +1 -1
- package/dist/cdn/chunks/pusher-CHo5Cua0.js.map +1 -1
- package/dist/cdn/chunks/{quality-CO9mj_RH.js → quality-D4NeyFej.js} +530 -530
- package/dist/cdn/chunks/{quality-CO9mj_RH.js.map → quality-D4NeyFej.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-m6XTCWCL.js → renderer-BQnGfLhL.js} +16 -16
- package/dist/cdn/chunks/{renderer-m6XTCWCL.js.map → renderer-BQnGfLhL.js.map} +1 -1
- package/dist/cdn/chunks/{src-DfMSYqvE.js → src-BkKEyLw1.js} +6 -6
- package/dist/cdn/chunks/{src-DfMSYqvE.js.map → src-BkKEyLw1.js.map} +1 -1
- package/dist/cdn/chunks/{styles-1uFWdD5T.js → styles-BDVaiw3K.js} +142 -142
- package/dist/cdn/chunks/{styles-1uFWdD5T.js.map → styles-BDVaiw3K.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-CJbIm_hE.js → tiptap-P5abGB13.js} +4434 -2577
- package/dist/cdn/chunks/tiptap-P5abGB13.js.map +1 -0
- package/dist/cdn/editor.js +100 -100
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-Bs6_uQpm.js → check-KooI2jyS.js} +1 -1
- package/dist/{chevron-down-so1rnGwF.js → chevron-down-mnlFgueW.js} +1 -1
- package/dist/{circle-alert-CrKv0AuW.js → circle-alert-D89_hB8j.js} +1 -1
- package/dist/{clock-Cpx6GYpa.js → clock-BaadyUrg.js} +1 -1
- package/dist/{cloud-bHhCNRZa.js → cloud-D-FScaHx.js} +2 -2
- package/dist/{createLucideIcon-DFBxEm5K.js → createLucideIcon-D-6fpD2L.js} +1 -1
- package/dist/{dist-DwEpKyry.js → dist-BttO3Zdx.js} +44 -44
- package/dist/{dist-CMkZaqX1.js → dist-C1WcikEF.js} +5 -5
- package/dist/dist-CjULgTep.js +4072 -0
- package/dist/{dist-BufRk8ZY.js → dist-D6L_WdRL.js} +95 -85
- package/dist/{dist-DJ5YJLXn.js → dist-DaajG7Fo.js} +5 -5
- package/dist/dist-Df4eV6Zi.js +5 -0
- package/dist/{dist-BejBMbBX.js → dist-Dnqx5UF3.js} +171 -158
- package/dist/{dist-CIK3BYgh.js → dist-Drp5bNAu.js} +5 -5
- package/dist/dist-WJ1fVd5b.js +5 -0
- package/dist/{dist-CoaWXQ7N.js → dist-XA2i70J5.js} +8 -8
- package/dist/{dist-74n2Mqc6.js → dist-b52vYHb5.js} +2 -2
- package/dist/{dist-2-A7SaKm.js → dist-cl33Ip6W.js} +1 -1
- package/dist/{dist-0RguD1vS.js → dist-sqf7pq5q.js} +16 -16
- package/dist/{dist-B3CcePtK.js → dist-zInT3Lf6.js} +75 -57
- package/dist/{extensions-C810eSzv.js → extensions-DA-w1gVg.js} +29 -29
- package/dist/{image-up-kMLE5GsI.js → image-up-DjwfAom6.js} +1 -1
- package/dist/{info-xqRxLfNz.js → info-Db3HlTr8.js} +1 -1
- package/dist/{keys-BoYBr3PU.js → keys-BjmL5YCT.js} +1 -1
- package/dist/{liquid.browser-IgQrXHPQ.js → liquid.browser--qtl1Fqy.js} +9 -9
- package/dist/{list-checks-C81htkBJ.js → list-checks-BlAB0X8a.js} +1 -1
- package/dist/{loader-circle-C6cZPIum.js → loader-circle-EVqyIxjU.js} +1 -1
- package/dist/{message-circle-dqOBRe07.js → message-circle-BuI5pBVG.js} +1 -1
- package/dist/{refresh-cw-DCjNd6o0.js → refresh-cw-C2vM_6zQ.js} +1 -1
- package/dist/{scan-line-DXz0nZVJ.js → scan-line-AUIh_SHI.js} +1 -1
- package/dist/{send-C4uH_WaI.js → send-nrbwF7xg.js} +1 -1
- package/dist/{shield-check-B3U68ssA.js → shield-check-B55Ozmva.js} +1 -1
- package/dist/{sparkles-CsDweGUy.js → sparkles-oh1NUSFq.js} +1 -1
- package/dist/{styles-CBlNpqL9.js → styles-Byhh107n.js} +33 -33
- package/dist/templatical-editor.js +81 -80
- package/dist/{text-align-start-BkKQePFp.js → text-align-start-B2MqzZwU.js} +1 -1
- package/dist/{trash-2-BIOkaEz1.js → trash-2-DH8RBwAx.js} +1 -1
- package/dist/{triangle-alert-Bbgu6uUG.js → triangle-alert-BQHjCt3B.js} +1 -1
- package/dist/{useAliveFlag-Bc99FWyR.js → useAliveFlag-B_b9ubwD.js} +1 -1
- package/dist/{useCloudI18n-DiwsLi6z.js → useCloudI18n-BHCrmQgj.js} +2 -2
- package/dist/{useEditorCore-7c1QpPlw.js → useEditorCore-BEgc3KFu.js} +368 -375
- package/dist/{useI18n-DskZMfRJ.js → useI18n-Bb9-ha9X.js} +2 -2
- package/dist/{useMergeTag-Co4xYwG6.js → useMergeTag-HykzEtBn.js} +3 -3
- package/dist/usePopoverRoot-BZDkRRry.js +8 -0
- package/dist/{vue.runtime.esm-bundler-D0Hg03Ub.js → vue.runtime.esm-bundler-MzYCkFSH.js} +18 -18
- package/dist/{x-DWU6NCuE.js → x-DgCCENgP.js} +1 -1
- package/package.json +25 -25
- package/dist/cdn/chunks/features-_ar9QbVv.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CJbIm_hE.js.map +0 -1
- package/dist/dist-Bvje_Tqb.js +0 -5
- package/dist/dist-BxHa6kIT.js +0 -2243
- package/dist/dist-D1YvgM6p.js +0 -5
- package/dist/usePopoverRoot-DYH_gX8o.js +0 -8
|
@@ -1,144 +1,146 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, E as r, H as i, J as a, K as o, O as ee, Q as te, R as s, S as c, X as l, b as u, j as d, r as f, rt as ne, x as re } from "./vue.runtime.esm-bundler-
|
|
3
|
-
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as p, D as m, Dt as h, E as g, Et as _, F as v, Ft as y, G as b, Gt as x, H as S, Ht as C, I as w, It as T, J as E, Jt as D, K as O, Kt as k, L as A, Lt as j, M, Mt as N, N as P, Nt as F, O as I, Ot as L, P as R, Pt as z, Q as B, Qt as V, R as H, Rt as U, S as de, St as fe, T as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as Ee, _ as De, _t as
|
|
4
|
-
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.
|
|
5
|
-
var
|
|
6
|
-
CommandManager: () =>
|
|
7
|
-
Editor: () =>
|
|
8
|
-
EditorContent: () =>
|
|
9
|
-
Extendable: () =>
|
|
10
|
-
Extension: () =>
|
|
11
|
-
Fragment: () =>
|
|
12
|
-
InputRule: () =>
|
|
13
|
-
MappablePosition: () =>
|
|
14
|
-
Mark: () =>
|
|
15
|
-
MarkView: () =>
|
|
16
|
-
MarkViewContent: () =>
|
|
17
|
-
Node: () =>
|
|
18
|
-
NodePos: () =>
|
|
19
|
-
NodeView: () =>
|
|
20
|
-
NodeViewContent: () =>
|
|
21
|
-
NodeViewWrapper: () =>
|
|
22
|
-
PasteRule: () =>
|
|
23
|
-
ResizableNodeView: () =>
|
|
24
|
-
ResizableNodeview: () =>
|
|
25
|
-
Tracker: () =>
|
|
2
|
+
import { $ as t, D as n, E as r, H as i, J as a, K as o, O as ee, Q as te, R as s, S as c, X as l, b as u, j as d, r as f, rt as ne, x as re } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
|
|
3
|
+
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as p, D as m, Dt as h, E as g, Et as _, F as v, Ft as y, G as b, Gt as x, H as S, Ht as C, I as w, It as T, J as E, Jt as D, K as O, Kt as k, L as A, Lt as j, M, Mt as N, N as P, Nt as F, O as I, Ot as L, P as R, Pt as z, Q as B, Qt as V, R as H, Rt as U, S as de, St as fe, T as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as Ee, _ as De, _t as Oe, a as ke, an as Ae, at as je, b as Me, bt as Ne, c as Pe, cn as Fe, ct as Ie, d as Le, dn as Re, dt as ze, en as Be, et as Ve, f as W, fn as He, ft as Ue, g as We, gn as Ge, gt as Ke, h as qe, hn as Je, ht as Ye, i as Xe, in as Ze, it as Qe, j as $e, jt as et, k as tt, kt as nt, l as G, ln as rt, lt as it, m as at, mn as ot, mt as st, n as ct, nn as lt, nt as ut, o as dt, on as ft, ot as pt, p as mt, pn as ht, pt as gt, q as _t, qt as vt, r as yt, rn as bt, rt as xt, s as St, sn as Ct, st as wt, t as Tt, tn as Et, tt as Dt, u as Ot, un as kt, ut as At, v as jt, vt as K, w as Mt, wt as Nt, x as Pt, xt as Ft, y as It, yt as Lt, z as Rt, zt } from "./dist-zInT3Lf6.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.26.0_@floating-ui+dom@1.7.6_@tiptap+core@3.26.0_@tiptap+pm@3.26.0__@tip_9a05d44d97dee5ee441e21178985bc4e/node_modules/@tiptap/vue-3/dist/index.js
|
|
5
|
+
var q = /* @__PURE__ */ e({
|
|
6
|
+
CommandManager: () => Tt,
|
|
7
|
+
Editor: () => Y,
|
|
8
|
+
EditorContent: () => Bt,
|
|
9
|
+
Extendable: () => yt,
|
|
10
|
+
Extension: () => Xe,
|
|
11
|
+
Fragment: () => ke,
|
|
12
|
+
InputRule: () => dt,
|
|
13
|
+
MappablePosition: () => St,
|
|
14
|
+
Mark: () => Pe,
|
|
15
|
+
MarkView: () => G,
|
|
16
|
+
MarkViewContent: () => Wt,
|
|
17
|
+
Node: () => Ot,
|
|
18
|
+
NodePos: () => Le,
|
|
19
|
+
NodeView: () => W,
|
|
20
|
+
NodeViewContent: () => Vt,
|
|
21
|
+
NodeViewWrapper: () => X,
|
|
22
|
+
PasteRule: () => mt,
|
|
23
|
+
ResizableNodeView: () => at,
|
|
24
|
+
ResizableNodeview: () => qe,
|
|
25
|
+
Tracker: () => We,
|
|
26
26
|
VueMarkView: () => Q,
|
|
27
|
-
VueMarkViewRenderer: () =>
|
|
27
|
+
VueMarkViewRenderer: () => Gt,
|
|
28
28
|
VueNodeViewRenderer: () => $,
|
|
29
|
-
VueRenderer: () =>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
29
|
+
VueRenderer: () => Z,
|
|
30
|
+
attrsEqual: () => De,
|
|
31
|
+
callOrReturn: () => jt,
|
|
32
|
+
canInsertNode: () => It,
|
|
33
|
+
combineTransactionSteps: () => Me,
|
|
34
|
+
commands: () => Pt,
|
|
35
|
+
createAtomBlockMarkdownSpec: () => de,
|
|
36
|
+
createBlockMarkdownSpec: () => ue,
|
|
37
|
+
createChainableState: () => Mt,
|
|
38
|
+
createDocument: () => pe,
|
|
39
|
+
createElement: () => K,
|
|
40
|
+
createInlineMarkdownSpec: () => g,
|
|
41
|
+
createMappablePosition: () => m,
|
|
42
|
+
createNodeFromContent: () => I,
|
|
43
|
+
createStyleTag: () => tt,
|
|
44
|
+
decodeHtmlEntities: () => oe,
|
|
45
|
+
defaultBlockAt: () => $e,
|
|
46
|
+
deleteProps: () => M,
|
|
47
|
+
elementFromString: () => P,
|
|
48
|
+
encodeHtmlEntities: () => R,
|
|
49
|
+
escapeForRegEx: () => v,
|
|
50
|
+
extensions: () => w,
|
|
51
|
+
findChildren: () => A,
|
|
52
|
+
findChildrenInRange: () => H,
|
|
53
|
+
findDuplicates: () => Rt,
|
|
54
|
+
findParentNode: () => ce,
|
|
55
|
+
findParentNodeClosestToPos: () => _e,
|
|
56
|
+
flattenExtensions: () => S,
|
|
57
|
+
fromString: () => he,
|
|
58
|
+
generateHTML: () => ye,
|
|
59
|
+
generateJSON: () => b,
|
|
60
|
+
generateText: () => O,
|
|
61
|
+
getAttributes: () => _t,
|
|
62
|
+
getAttributesFromExtensions: () => E,
|
|
63
|
+
getChangedRanges: () => Ce,
|
|
64
|
+
getDebugJSON: () => xe,
|
|
65
|
+
getExtensionField: () => Te,
|
|
66
|
+
getHTMLFromFragment: () => B,
|
|
67
|
+
getMarkAttributes: () => ie,
|
|
68
|
+
getMarkRange: () => Ve,
|
|
69
|
+
getMarkType: () => Dt,
|
|
70
|
+
getMarksBetween: () => ut,
|
|
71
|
+
getNodeAtPosition: () => xt,
|
|
72
|
+
getNodeAttributes: () => Qe,
|
|
73
|
+
getNodeType: () => je,
|
|
74
|
+
getRenderedAttributes: () => pt,
|
|
75
|
+
getSchema: () => wt,
|
|
76
|
+
getSchemaByResolvedExtensions: () => Ie,
|
|
77
|
+
getSchemaTypeByName: () => it,
|
|
78
|
+
getSchemaTypeNameByName: () => At,
|
|
79
|
+
getSplittedAttributes: () => ze,
|
|
80
|
+
getStyleProperty: () => Ue,
|
|
81
|
+
getText: () => gt,
|
|
82
|
+
getTextBetween: () => st,
|
|
83
|
+
getTextContentFromNodes: () => Ye,
|
|
83
84
|
getTextSerializersFromSchema: () => Ke,
|
|
84
|
-
getUpdatedPosition: () =>
|
|
85
|
-
h: () =>
|
|
86
|
-
injectExtensionAttributesToParseRule: () =>
|
|
87
|
-
inputRulesPlugin: () =>
|
|
88
|
-
isActive: () =>
|
|
89
|
-
isAndroid: () =>
|
|
90
|
-
isAtEndOfNode: () =>
|
|
91
|
-
isAtStartOfNode: () =>
|
|
92
|
-
isEmptyObject: () =>
|
|
93
|
-
isExtensionRulesEnabled: () =>
|
|
94
|
-
isFirefox: () =>
|
|
95
|
-
isFunction: () =>
|
|
96
|
-
isList: () =>
|
|
97
|
-
isMacOS: () =>
|
|
98
|
-
isMarkActive: () =>
|
|
99
|
-
isNodeActive: () =>
|
|
100
|
-
isNodeEmpty: () =>
|
|
101
|
-
isNodeSelection: () =>
|
|
102
|
-
isNodeViewSelected: () =>
|
|
103
|
-
isNumber: () =>
|
|
104
|
-
isPlainObject: () =>
|
|
105
|
-
isRegExp: () =>
|
|
106
|
-
isSafari: () =>
|
|
107
|
-
isString: () =>
|
|
108
|
-
isTextSelection: () =>
|
|
109
|
-
isiOS: () =>
|
|
110
|
-
markInputRule: () =>
|
|
111
|
-
markPasteRule: () =>
|
|
112
|
-
markViewProps: () =>
|
|
113
|
-
markdown: () =>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
85
|
+
getUpdatedPosition: () => Oe,
|
|
86
|
+
h: () => K,
|
|
87
|
+
injectExtensionAttributesToParseRule: () => Lt,
|
|
88
|
+
inputRulesPlugin: () => Ne,
|
|
89
|
+
isActive: () => Ft,
|
|
90
|
+
isAndroid: () => fe,
|
|
91
|
+
isAtEndOfNode: () => p,
|
|
92
|
+
isAtStartOfNode: () => Nt,
|
|
93
|
+
isEmptyObject: () => me,
|
|
94
|
+
isExtensionRulesEnabled: () => _,
|
|
95
|
+
isFirefox: () => h,
|
|
96
|
+
isFunction: () => L,
|
|
97
|
+
isList: () => nt,
|
|
98
|
+
isMacOS: () => se,
|
|
99
|
+
isMarkActive: () => et,
|
|
100
|
+
isNodeActive: () => N,
|
|
101
|
+
isNodeEmpty: () => F,
|
|
102
|
+
isNodeSelection: () => z,
|
|
103
|
+
isNodeViewSelected: () => y,
|
|
104
|
+
isNumber: () => T,
|
|
105
|
+
isPlainObject: () => j,
|
|
106
|
+
isRegExp: () => U,
|
|
107
|
+
isSafari: () => zt,
|
|
108
|
+
isString: () => le,
|
|
109
|
+
isTextSelection: () => ve,
|
|
110
|
+
isiOS: () => C,
|
|
111
|
+
markInputRule: () => ge,
|
|
112
|
+
markPasteRule: () => be,
|
|
113
|
+
markViewProps: () => Ut,
|
|
114
|
+
markdown: () => x,
|
|
115
|
+
marksEqual: () => k,
|
|
116
|
+
mergeAttributes: () => vt,
|
|
117
|
+
mergeDeep: () => D,
|
|
118
|
+
minMax: () => we,
|
|
119
|
+
nodeInputRule: () => Se,
|
|
120
|
+
nodePasteRule: () => Ee,
|
|
121
|
+
nodeViewProps: () => Kt,
|
|
122
|
+
objectIncludes: () => V,
|
|
123
|
+
parseAttributes: () => ae,
|
|
124
|
+
parseIndentedBlocks: () => Be,
|
|
125
|
+
pasteRulesPlugin: () => Et,
|
|
126
|
+
posToDOMRect: () => lt,
|
|
127
|
+
removeDuplicates: () => bt,
|
|
128
|
+
renderNestedMarkdownContent: () => Ze,
|
|
129
|
+
resolveExtensions: () => Ae,
|
|
130
|
+
resolveFocusPosition: () => ft,
|
|
131
|
+
rewriteUnknownContent: () => Ct,
|
|
132
|
+
selectionToInsertionEnd: () => Fe,
|
|
133
|
+
serializeAttributes: () => rt,
|
|
134
|
+
sortExtensions: () => kt,
|
|
135
|
+
splitExtensions: () => Re,
|
|
136
|
+
textInputRule: () => He,
|
|
137
|
+
textPasteRule: () => ht,
|
|
138
|
+
textblockTypeInputRule: () => ot,
|
|
139
|
+
updateMarkViewAttributes: () => Je,
|
|
140
|
+
useEditor: () => Ht,
|
|
141
|
+
wrappingInputRule: () => Ge
|
|
140
142
|
});
|
|
141
|
-
function
|
|
143
|
+
function J(e) {
|
|
142
144
|
return i((t, n) => ({
|
|
143
145
|
get() {
|
|
144
146
|
return t(), e;
|
|
@@ -152,9 +154,9 @@ function q(e) {
|
|
|
152
154
|
}
|
|
153
155
|
}));
|
|
154
156
|
}
|
|
155
|
-
var
|
|
157
|
+
var Y = class extends ct {
|
|
156
158
|
constructor(e = {}) {
|
|
157
|
-
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState =
|
|
159
|
+
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = J(this.view.state), this.reactiveExtensionStorage = J(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
|
|
158
160
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
159
161
|
}), o(this);
|
|
160
162
|
}
|
|
@@ -172,7 +174,7 @@ var J = class extends at {
|
|
|
172
174
|
let t = super.unregisterPlugin(e);
|
|
173
175
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
174
176
|
}
|
|
175
|
-
},
|
|
177
|
+
}, Bt = u({
|
|
176
178
|
name: "EditorContent",
|
|
177
179
|
props: { editor: {
|
|
178
180
|
default: null,
|
|
@@ -200,19 +202,28 @@ var J = class extends at {
|
|
|
200
202
|
this.rootEl = e;
|
|
201
203
|
} });
|
|
202
204
|
}
|
|
203
|
-
}),
|
|
205
|
+
}), Vt = u({
|
|
204
206
|
name: "NodeViewContent",
|
|
205
207
|
props: { as: {
|
|
206
208
|
type: String,
|
|
207
209
|
default: "div"
|
|
208
210
|
} },
|
|
211
|
+
inject: { nodeViewContentRef: { default: void 0 } },
|
|
212
|
+
mounted() {
|
|
213
|
+
let e = this.nodeViewContentRef;
|
|
214
|
+
e && this.$el && e(this.$el);
|
|
215
|
+
},
|
|
216
|
+
beforeUnmount() {
|
|
217
|
+
let e = this.nodeViewContentRef;
|
|
218
|
+
e && e(null);
|
|
219
|
+
},
|
|
209
220
|
render() {
|
|
210
221
|
return c(this.as, {
|
|
211
222
|
style: { whiteSpace: "pre-wrap" },
|
|
212
223
|
"data-node-view-content": ""
|
|
213
224
|
});
|
|
214
225
|
}
|
|
215
|
-
}),
|
|
226
|
+
}), X = u({
|
|
216
227
|
name: "NodeViewWrapper",
|
|
217
228
|
props: { as: {
|
|
218
229
|
type: String,
|
|
@@ -228,15 +239,15 @@ var J = class extends at {
|
|
|
228
239
|
onDragstart: this.onDragStart
|
|
229
240
|
}, (e = this.$slots).default?.call(e));
|
|
230
241
|
}
|
|
231
|
-
}),
|
|
242
|
+
}), Ht = (e = {}) => {
|
|
232
243
|
let t = te();
|
|
233
244
|
return ee(() => {
|
|
234
|
-
t.value = new
|
|
245
|
+
t.value = new Y(e);
|
|
235
246
|
}), n(() => {
|
|
236
247
|
var e;
|
|
237
248
|
(e = t.value) == null || e.destroy();
|
|
238
249
|
}), t;
|
|
239
|
-
},
|
|
250
|
+
}, Z = class {
|
|
240
251
|
constructor(e, { props: t = {}, editor: n }) {
|
|
241
252
|
this.destroyed = !1, this.editor = n, this.component = o(e), this.el = document.createElement("div"), this.props = a(t), this.renderedComponent = this.renderComponent();
|
|
242
253
|
}
|
|
@@ -265,7 +276,7 @@ var J = class extends at {
|
|
|
265
276
|
destroy() {
|
|
266
277
|
this.destroyed || (this.destroyed = !0, this.renderedComponent.destroy());
|
|
267
278
|
}
|
|
268
|
-
},
|
|
279
|
+
}, Ut = {
|
|
269
280
|
editor: {
|
|
270
281
|
type: Object,
|
|
271
282
|
required: !0
|
|
@@ -294,7 +305,7 @@ var J = class extends at {
|
|
|
294
305
|
type: Object,
|
|
295
306
|
required: !0
|
|
296
307
|
}
|
|
297
|
-
},
|
|
308
|
+
}, Wt = u({
|
|
298
309
|
name: "MarkViewContent",
|
|
299
310
|
props: { as: {
|
|
300
311
|
type: String,
|
|
@@ -306,7 +317,7 @@ var J = class extends at {
|
|
|
306
317
|
"data-mark-view-content": ""
|
|
307
318
|
});
|
|
308
319
|
}
|
|
309
|
-
}), Q = class extends
|
|
320
|
+
}), Q = class extends G {
|
|
310
321
|
constructor(e, t, n) {
|
|
311
322
|
super(e, t, n);
|
|
312
323
|
let r = {
|
|
@@ -322,7 +333,7 @@ var J = class extends at {
|
|
|
322
333
|
__name: e.__name,
|
|
323
334
|
__file: e.__file
|
|
324
335
|
});
|
|
325
|
-
this.renderer = new
|
|
336
|
+
this.renderer = new Z(i, {
|
|
326
337
|
editor: this.editor,
|
|
327
338
|
props: r
|
|
328
339
|
});
|
|
@@ -341,10 +352,10 @@ var J = class extends at {
|
|
|
341
352
|
this.renderer.destroy();
|
|
342
353
|
}
|
|
343
354
|
};
|
|
344
|
-
function
|
|
355
|
+
function Gt(e, t = {}) {
|
|
345
356
|
return (n) => n.editor.contentComponent ? new Q(e, n, t) : {};
|
|
346
357
|
}
|
|
347
|
-
var
|
|
358
|
+
var Kt = {
|
|
348
359
|
editor: {
|
|
349
360
|
type: Object,
|
|
350
361
|
required: !0
|
|
@@ -389,7 +400,7 @@ var Wt = {
|
|
|
389
400
|
type: Object,
|
|
390
401
|
required: !0
|
|
391
402
|
}
|
|
392
|
-
},
|
|
403
|
+
}, qt = class extends W {
|
|
393
404
|
constructor(e, t, n) {
|
|
394
405
|
super(e, t, n), this.cachedExtensionWithSyncedStorage = null, this.handlePositionUpdate = () => {
|
|
395
406
|
let e = this.getPos();
|
|
@@ -426,14 +437,16 @@ var Wt = {
|
|
|
426
437
|
template: this.component.template,
|
|
427
438
|
setup: (e) => {
|
|
428
439
|
var t;
|
|
429
|
-
return d("onDragStart", n), d("decorationClasses", this.decorationClasses), (
|
|
440
|
+
return d("onDragStart", n), d("decorationClasses", this.decorationClasses), d("nodeViewContentRef", (e) => {
|
|
441
|
+
this.contentDOMElement && e && e.firstChild !== this.contentDOMElement && e.appendChild(this.contentDOMElement);
|
|
442
|
+
}), (t = this.component).setup?.call(t, e, { expose: () => void 0 });
|
|
430
443
|
},
|
|
431
444
|
__scopeId: this.component.__scopeId,
|
|
432
445
|
__cssModules: this.component.__cssModules,
|
|
433
446
|
__name: this.component.__name,
|
|
434
447
|
__file: this.component.__file
|
|
435
448
|
});
|
|
436
|
-
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.renderer = new
|
|
449
|
+
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.node.isLeaf || (this.contentDOMElement = document.createElement(this.node.isInline ? "span" : "div"), this.contentDOMElement.style.whiteSpace = "inherit", this.contentDOMElement.dataset.nodeViewContentVue = ""), this.renderer = new Z(r, {
|
|
437
450
|
editor: this.editor,
|
|
438
451
|
props: t
|
|
439
452
|
});
|
|
@@ -443,11 +456,11 @@ var Wt = {
|
|
|
443
456
|
return this.renderer.element;
|
|
444
457
|
}
|
|
445
458
|
get contentDOM() {
|
|
446
|
-
return this.node.isLeaf ? null : this.
|
|
459
|
+
return this.node.isLeaf ? null : this.contentDOMElement;
|
|
447
460
|
}
|
|
448
461
|
handleSelectionUpdate() {
|
|
449
462
|
let e = this.getPos();
|
|
450
|
-
if (typeof e == "number") if (
|
|
463
|
+
if (typeof e == "number") if (y({
|
|
451
464
|
selection: this.editor.state.selection,
|
|
452
465
|
pos: e,
|
|
453
466
|
nodeSize: this.node.nodeSize,
|
|
@@ -502,11 +515,11 @@ var Wt = {
|
|
|
502
515
|
return this.decorations.flatMap((e) => e.type.attrs.class).join(" ");
|
|
503
516
|
}
|
|
504
517
|
destroy() {
|
|
505
|
-
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.options.trackNodeViewPosition && this.editor.off("update", this.handlePositionUpdate);
|
|
518
|
+
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.options.trackNodeViewPosition && this.editor.off("update", this.handlePositionUpdate), this.contentDOMElement = null;
|
|
506
519
|
}
|
|
507
520
|
};
|
|
508
521
|
function $(e, t) {
|
|
509
|
-
return (n) => n.editor.contentComponent ? new
|
|
522
|
+
return (n) => n.editor.contentComponent ? new qt(typeof e == "function" && "__vccOpts" in e ? e.__vccOpts : e, n, t) : {};
|
|
510
523
|
}
|
|
511
524
|
//#endregion
|
|
512
|
-
export { $ as n,
|
|
525
|
+
export { $ as n, q as r, X as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.
|
|
3
|
-
var n =
|
|
1
|
+
import { c as e, qt as t } from "./dist-zInT3Lf6.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.26.0_@tiptap+core@3.26.0_@tiptap+pm@3.26.0__@tiptap+pm@3.26.0/node_modules/@tiptap/extension-superscript/dist/index.js
|
|
3
|
+
var n = e.create({
|
|
4
4
|
name: "superscript",
|
|
5
5
|
addOptions() {
|
|
6
6
|
return { HTMLAttributes: {} };
|
|
@@ -13,10 +13,10 @@ var n = t.create({
|
|
|
13
13
|
}
|
|
14
14
|
}];
|
|
15
15
|
},
|
|
16
|
-
renderHTML({ HTMLAttributes:
|
|
16
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
17
17
|
return [
|
|
18
18
|
"sup",
|
|
19
|
-
|
|
19
|
+
t(this.options.HTMLAttributes, e),
|
|
20
20
|
0
|
|
21
21
|
];
|
|
22
22
|
},
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FontFamily as e } from "./dist-sqf7pq5q.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-font-family@3.26.0_@tiptap+extension-text-style@3.26.0_@tiptap+core@3.26.0_@tiptap+pm@3.26.0__/node_modules/@tiptap/extension-font-family/dist/index.js
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { e as FontFamily, t as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.
|
|
3
|
-
var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, s =
|
|
1
|
+
import { Ut as e, Wt as t, c as n, ft as r, qt as i } from "./dist-zInT3Lf6.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.26.0_@tiptap+core@3.26.0_@tiptap+pm@3.26.0_/node_modules/@tiptap/extension-highlight/dist/index.js
|
|
3
|
+
var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, s = n.create({
|
|
4
4
|
name: "highlight",
|
|
5
5
|
addOptions() {
|
|
6
6
|
return {
|
|
@@ -11,7 +11,7 @@ var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==
|
|
|
11
11
|
addAttributes() {
|
|
12
12
|
return this.options.multicolor ? { color: {
|
|
13
13
|
default: null,
|
|
14
|
-
parseHTML: (e) => e.getAttribute("data-color") ||
|
|
14
|
+
parseHTML: (e) => e.getAttribute("data-color") || r(e, "background-color") || e.style.backgroundColor,
|
|
15
15
|
renderHTML: (e) => e.color ? {
|
|
16
16
|
"data-color": e.color,
|
|
17
17
|
style: `background-color: ${e.color}; color: inherit`
|
|
@@ -21,10 +21,10 @@ var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==
|
|
|
21
21
|
parseHTML() {
|
|
22
22
|
return [{ tag: "mark" }];
|
|
23
23
|
},
|
|
24
|
-
renderHTML({ HTMLAttributes:
|
|
24
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
25
25
|
return [
|
|
26
26
|
"mark",
|
|
27
|
-
|
|
27
|
+
i(this.options.HTMLAttributes, e),
|
|
28
28
|
0
|
|
29
29
|
];
|
|
30
30
|
},
|
|
@@ -58,13 +58,13 @@ var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==
|
|
|
58
58
|
return { "Mod-Shift-h": () => this.editor.commands.toggleHighlight() };
|
|
59
59
|
},
|
|
60
60
|
addInputRules() {
|
|
61
|
-
return [
|
|
61
|
+
return [e({
|
|
62
62
|
find: a,
|
|
63
63
|
type: this.type
|
|
64
64
|
})];
|
|
65
65
|
},
|
|
66
66
|
addPasteRules() {
|
|
67
|
-
return [
|
|
67
|
+
return [t({
|
|
68
68
|
find: o,
|
|
69
69
|
type: this.type
|
|
70
70
|
})];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.
|
|
1
|
+
import { i as e } from "./dist-zInT3Lf6.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.26.0_@tiptap+core@3.26.0_@tiptap+pm@3.26.0_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|
|
5
5
|
addOptions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, E as t, G as n, L as r, O as i, Q as a, R as o, U as s, X as c, Z as l, d as u, q as d, rt as f, tt as p, w as m, x as h } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { C as e, E as t, G as n, L as r, O as i, Q as a, R as o, U as s, X as c, Z as l, d as u, q as d, rt as f, tt as p, w as m, x as h } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.35_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
3
|
function g(e, t) {
|
|
4
4
|
return s() ? (d(e, t), !0) : !1;
|