@templatical/editor 0.8.4 → 0.9.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-CnRXeK77.js → AiChatSidebar-BUKj9n02.js} +5 -5
- package/dist/{AiFeatureMenu-BYDDrpj6.js → AiFeatureMenu-Co14YVJt.js} +3 -3
- package/dist/{BlockIssueBadge-DM-vXeD6.js → BlockIssueBadge-DThKKeub.js} +2 -2
- package/dist/{CloudEditor-B9a_K6Cm.js → CloudEditor-CAtw_sFC.js} +218 -217
- package/dist/{CollaboratorBar-HN4whzM-.js → CollaboratorBar-Bc6q0gB9.js} +2 -2
- package/dist/{CommentsSidebar-_llWQ4VT.js → CommentsSidebar-DiH4R4F0.js} +3 -3
- package/dist/{CountdownBlock-I99sC0C5.js → CountdownBlock-BTPefclD.js} +2 -2
- package/dist/{CountdownToolbar-BUhOUiQ9.js → CountdownToolbar-Dvr2icg-.js} +2 -2
- package/dist/{DesignReferenceSidebar-0GwjUn2V.js → DesignReferenceSidebar-BP32MgpS.js} +3 -3
- package/dist/{IssuesPanel-4MKZe8yP.js → IssuesPanel-B1LT91IX.js} +2 -2
- package/dist/{ModuleBrowserModal-DPZBsvqk.js → ModuleBrowserModal-CWegFoOA.js} +77 -85
- package/dist/{ModulePreviewCanvas-CK4j11-e.js → ModulePreviewCanvas-D9WUSSRT.js} +2 -2
- package/dist/{NumberWithSuffix-CxMFy_j3.js → NumberWithSuffix-CxUBW_V2.js} +2 -2
- package/dist/{ParagraphEditor-DBus_iHH.js → ParagraphEditor-DrAz2yot.js} +126 -126
- package/dist/{RichTextEditorContent-B_KCY6T1.js → RichTextEditorContent-gR169m1-.js} +4 -4
- package/dist/{SaveModuleDialog-DORRSbBo.js → SaveModuleDialog-DWidA0c9.js} +6 -6
- package/dist/{SnapshotHistory-DTMVEk03.js → SnapshotHistory-CIo2Jaw-.js} +4 -4
- package/dist/{TemplateScoringPanel-BIwEwFxD.js → TemplateScoringPanel-seBvvn8O.js} +2 -2
- package/dist/{TestEmailModal-DJmYp0Qi.js → TestEmailModal-BuCuWp3N.js} +3 -3
- package/dist/{TitleEditor-70d9AF1V.js → TitleEditor-BmW0uMl7.js} +67 -67
- package/dist/{TplModal-BEfwlvPC.js → TplModal-YFpBaiLj.js} +4 -4
- package/dist/{blockTypeIcons-2DRoPa3K.js → blockTypeIcons-DCkHXPhx.js} +19 -11
- package/dist/bundle-stats.json +8 -8
- package/dist/cdn/chunks/{AiFeatureMenu-CcuKnisc.js → AiFeatureMenu-Dayzk2H7.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-CcuKnisc.js.map → AiFeatureMenu-Dayzk2H7.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-Sr3is7Wr.js → BlockIssueBadge-D_US2wqo.js} +4 -4
- package/dist/cdn/chunks/{BlockIssueBadge-Sr3is7Wr.js.map → BlockIssueBadge-D_US2wqo.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-Bi10d2Gq.js → CloudEditor-CyJItWsK.js} +186 -185
- package/dist/cdn/chunks/{CloudEditor-Bi10d2Gq.js.map → CloudEditor-CyJItWsK.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-C0zeecvl.js → CollaboratorBar-C4CFs5EJ.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-C0zeecvl.js.map → CollaboratorBar-C4CFs5EJ.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-CpSUUDDs.js → CountdownBlock-D6lCXhZA.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-CpSUUDDs.js.map → CountdownBlock-D6lCXhZA.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BBzdR-00.js → CountdownToolbar-BsGUxoRv.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-BBzdR-00.js.map → CountdownToolbar-BsGUxoRv.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-Bthq6qoZ.js → IssuesPanel-DeHTmRDz.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-Bthq6qoZ.js.map → IssuesPanel-DeHTmRDz.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-CFMd6M7E.js → ModuleBrowserModal-Cgjz4xAz.js} +8 -8
- package/dist/cdn/chunks/ModuleBrowserModal-Cgjz4xAz.js.map +1 -0
- package/dist/cdn/chunks/{ModulePreviewCanvas-BkcPcF5C.js → ModulePreviewCanvas-CeS9PsAA.js} +2 -2
- package/dist/cdn/chunks/{ModulePreviewCanvas-BkcPcF5C.js.map → ModulePreviewCanvas-CeS9PsAA.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-C2hH_ZIK.js → NumberWithSuffix-Bp-idLCc.js} +2 -2
- package/dist/cdn/chunks/{NumberWithSuffix-C2hH_ZIK.js.map → NumberWithSuffix-Bp-idLCc.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BIWXLPfu.js → ParagraphEditor-fM9aFu8T.js} +116 -116
- package/dist/cdn/chunks/ParagraphEditor-fM9aFu8T.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-DU0gc4bi.js → RichTextEditorContent-DwNPE5H5.js} +4 -4
- package/dist/cdn/chunks/{RichTextEditorContent-DU0gc4bi.js.map → RichTextEditorContent-DwNPE5H5.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-DR9EZlWe.js → SaveModuleDialog-BrtDXzIz.js} +4 -4
- package/dist/cdn/chunks/SaveModuleDialog-BrtDXzIz.js.map +1 -0
- package/dist/cdn/chunks/TitleEditor-D0rSnye0.js +175 -0
- package/dist/cdn/chunks/TitleEditor-D0rSnye0.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-eVGGIdne.js → blockTypeIcons-YOEe5mDE.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-eVGGIdne.js.map → blockTypeIcons-YOEe5mDE.js.map} +1 -1
- package/dist/{de-ED7c5RpG.js → cdn/chunks/de-CATfXDKV.js} +14 -1
- package/dist/cdn/chunks/{de-ED7c5RpG.js.map → de-CATfXDKV.js.map} +1 -1
- package/dist/cdn/chunks/{en-ivilDUn0.js → en-CwCAgYL5.js} +13 -2
- package/dist/cdn/chunks/{en-ivilDUn0.js.map → en-CwCAgYL5.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-CvCoOuWB.js → extensions-GYsbQFPr.js} +26 -23
- package/dist/cdn/chunks/extensions-GYsbQFPr.js.map +1 -0
- package/dist/cdn/chunks/{features-CUYy5kZQ.js → features-D-2kVhHY.js} +1264 -1188
- package/dist/cdn/chunks/features-D-2kVhHY.js.map +1 -0
- package/dist/cdn/chunks/{icons-C4zY5-I3.js → icons-fZoyKV_s.js} +2 -2
- package/dist/cdn/chunks/{icons-C4zY5-I3.js.map → icons-fZoyKV_s.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-BNt3msId.js → media-library-CO2WOETY.js} +240 -240
- package/dist/cdn/chunks/{media-library-BNt3msId.js.map → media-library-CO2WOETY.js.map} +1 -1
- package/dist/{pt-BR-B5tm2iBl.js → cdn/chunks/pt-BR-D3Mg7AKe.js} +14 -1
- package/dist/cdn/chunks/{pt-BR-B5tm2iBl.js.map → pt-BR-D3Mg7AKe.js.map} +1 -1
- package/dist/cdn/chunks/{quality-BTPRPGB-.js → quality-BxPiS-wv.js} +603 -577
- package/dist/cdn/chunks/{quality-BTPRPGB-.js.map → quality-BxPiS-wv.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-IOmuuZjJ.js → renderer-7z2t_bYQ.js} +142 -108
- package/dist/cdn/chunks/{renderer-IOmuuZjJ.js.map → renderer-7z2t_bYQ.js.map} +1 -1
- package/dist/cdn/chunks/{src-Dp0ZFQ4-.js → src-ftxPuuQh.js} +4 -4
- package/dist/cdn/chunks/{src-Dp0ZFQ4-.js.map → src-ftxPuuQh.js.map} +1 -1
- package/dist/cdn/chunks/{styles-DtgjgsBH.js → styles-o0HIrw9F.js} +877 -622
- package/dist/cdn/chunks/styles-o0HIrw9F.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-BErAJEvo.js → tiptap-BBbH3IT9.js} +849 -725
- package/dist/cdn/chunks/tiptap-BBbH3IT9.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +102 -101
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{cloud-Dz8Ay2FM.js → cloud-VxYMtfXC.js} +1 -1
- package/dist/{cdn/chunks/de-ED7c5RpG.js → de-CATfXDKV.js} +12 -3
- package/dist/{dist-BygsE-n3.js → dist-BDgf2G-V.js} +453 -314
- package/dist/{dist-BtDBsF3N.js → dist-BxP6TB0l.js} +2 -2
- package/dist/{dist-DWhP3Dp2.js → dist-BzuC8o3y.js} +1209 -1217
- package/dist/{dist-v-O2Subd.js → dist-C0jo8wtG.js} +2 -2
- package/dist/{dist-BTgujVMy.js → dist-C8wMh_gi.js} +2 -2
- package/dist/{dist-Cipw2HFH.js → dist-CIV3Brg-.js} +37 -4
- package/dist/{dist-HO0vjY5Z.js → dist-CNLAS2v2.js} +130 -124
- package/dist/{dist-BS5Oi67L.js → dist-CUpJmrjt.js} +2 -2
- package/dist/dist-D5lmdi1F.js +5 -0
- package/dist/{dist-T-ORzNfM.js → dist-D8C6jIXM.js} +168 -175
- package/dist/dist-DILjuzSv.js +5 -0
- package/dist/{dist-CDtcJMB2.js → dist-DXaxGLsw.js} +33 -33
- package/dist/{dist-DnGTaPRX.js → dist-DYO-w_Jf.js} +2 -2
- package/dist/{dist-CDZCyoRy.js → dist-UK-lbEBc.js} +2 -2
- package/dist/{en-ivilDUn0.js → en-CwCAgYL5.js} +12 -1
- package/dist/{extensions-BmGiz8Oo.js → extensions-Mj2-D8uK.js} +32 -29
- package/dist/{keys-B8K7Z7Ef.js → keys-BiQlvx51.js} +3 -3
- package/dist/{cdn/chunks/pt-BR-B5tm2iBl.js → pt-BR-D3Mg7AKe.js} +12 -3
- package/dist/style.css +1 -1
- package/dist/{styles-DFeOGKa_.js → styles-CJtcKmsx.js} +857 -601
- package/dist/templatical-editor.js +104 -103
- package/dist/{useCloudI18n-DFzVgYhJ.js → useCloudI18n-DKWJg6rJ.js} +1 -1
- package/dist/{useEditorCore-BXz-UXPd.js → useEditorCore-CEkf_VWX.js} +663 -633
- package/dist/{useI18n-CBbStVlD.js → useI18n-Besvmtxy.js} +1 -1
- package/dist/useMergeTag-WNzaCpXR.js +44 -0
- package/dist/{usePopoverRoot-62PlZQQ3.js → usePopoverRoot-CKt956u-.js} +1 -1
- package/package.json +21 -21
- package/dist/cdn/chunks/ModuleBrowserModal-CFMd6M7E.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-BIWXLPfu.js.map +0 -1
- package/dist/cdn/chunks/SaveModuleDialog-DR9EZlWe.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-DZcx2N4R.js +0 -175
- package/dist/cdn/chunks/TitleEditor-DZcx2N4R.js.map +0 -1
- package/dist/cdn/chunks/extensions-CvCoOuWB.js.map +0 -1
- package/dist/cdn/chunks/features-CUYy5kZQ.js.map +0 -1
- package/dist/cdn/chunks/styles-DtgjgsBH.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BErAJEvo.js.map +0 -1
- package/dist/dist-BySzGkeC.js +0 -5
- package/dist/dist-D7JUZ2Kd.js +0 -5
- package/dist/useMergeTag-CS2bmWA0.js +0 -34
|
@@ -1,146 +1,144 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
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-BDSGA5hA.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
|
|
4
|
-
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.23.
|
|
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: () =>
|
|
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 W, a as Oe, an as ke, at as Ae, b as je, bt as Me, c as Ne, cn as Pe, ct as Fe, d as Ie, dn as Le, dt as Re, en as ze, et as Be, f as G, fn as Ve, ft as He, g as Ue, gt as We, h as Ge, ht as Ke, i as qe, in as Je, it as Ye, j as Xe, jt as Ze, k as Qe, kt as $e, l as K, ln as et, lt as tt, m as nt, mn as rt, mt as it, n as at, nn as ot, nt as st, o as ct, on as lt, ot as ut, p as dt, pn as ft, pt, q as mt, qt as ht, r as gt, rn as _t, rt as vt, s as yt, sn as bt, st as xt, t as St, tn as Ct, tt as wt, u as Tt, un as Et, ut as Dt, v as Ot, vt as kt, w as At, wt as jt, x as Mt, xt as Nt, y as Pt, yt as Ft, z as It, zt as Lt } from "./dist-BzuC8o3y.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.23.6_@floating-ui+dom@1.7.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tip_22724918e2e64612c755751af7cf1745/node_modules/@tiptap/vue-3/dist/index.js
|
|
5
|
+
var Rt = /* @__PURE__ */ e({
|
|
6
|
+
CommandManager: () => St,
|
|
7
|
+
Editor: () => J,
|
|
8
|
+
EditorContent: () => zt,
|
|
9
|
+
Extendable: () => gt,
|
|
10
|
+
Extension: () => qe,
|
|
11
|
+
Fragment: () => Oe,
|
|
12
|
+
InputRule: () => ct,
|
|
13
|
+
MappablePosition: () => yt,
|
|
14
|
+
Mark: () => Ne,
|
|
15
|
+
MarkView: () => K,
|
|
16
|
+
MarkViewContent: () => Ht,
|
|
17
|
+
Node: () => Tt,
|
|
18
|
+
NodePos: () => Ie,
|
|
19
|
+
NodeView: () => G,
|
|
20
|
+
NodeViewContent: () => Bt,
|
|
21
|
+
NodeViewWrapper: () => Y,
|
|
22
|
+
PasteRule: () => dt,
|
|
23
|
+
ResizableNodeView: () => nt,
|
|
24
|
+
ResizableNodeview: () => Ge,
|
|
25
|
+
Tracker: () => Ue,
|
|
26
26
|
VueMarkView: () => Q,
|
|
27
|
-
VueMarkViewRenderer: () =>
|
|
27
|
+
VueMarkViewRenderer: () => Ut,
|
|
28
28
|
VueNodeViewRenderer: () => $,
|
|
29
|
-
VueRenderer: () =>
|
|
30
|
-
callOrReturn: () =>
|
|
31
|
-
canInsertNode: () =>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
deleteProps: () => A,
|
|
29
|
+
VueRenderer: () => X,
|
|
30
|
+
callOrReturn: () => De,
|
|
31
|
+
canInsertNode: () => Ot,
|
|
32
|
+
combineTransactionSteps: () => Pt,
|
|
33
|
+
commands: () => je,
|
|
34
|
+
createAtomBlockMarkdownSpec: () => Mt,
|
|
35
|
+
createBlockMarkdownSpec: () => de,
|
|
36
|
+
createChainableState: () => ue,
|
|
37
|
+
createDocument: () => At,
|
|
38
|
+
createElement: () => W,
|
|
39
|
+
createInlineMarkdownSpec: () => pe,
|
|
40
|
+
createMappablePosition: () => g,
|
|
41
|
+
createNodeFromContent: () => m,
|
|
42
|
+
createStyleTag: () => I,
|
|
43
|
+
decodeHtmlEntities: () => Qe,
|
|
44
|
+
defaultBlockAt: () => oe,
|
|
45
|
+
deleteProps: () => Xe,
|
|
47
46
|
elementFromString: () => M,
|
|
48
|
-
encodeHtmlEntities: () =>
|
|
49
|
-
escapeForRegEx: () =>
|
|
50
|
-
extensions: () =>
|
|
51
|
-
findChildren: () =>
|
|
52
|
-
findChildrenInRange: () =>
|
|
53
|
-
findDuplicates: () =>
|
|
54
|
-
findParentNode: () =>
|
|
55
|
-
findParentNodeClosestToPos: () =>
|
|
56
|
-
flattenExtensions: () =>
|
|
57
|
-
fromString: () =>
|
|
58
|
-
generateHTML: () =>
|
|
59
|
-
generateJSON: () =>
|
|
60
|
-
generateText: () =>
|
|
61
|
-
getAttributes: () =>
|
|
62
|
-
getAttributesFromExtensions: () =>
|
|
63
|
-
getChangedRanges: () =>
|
|
47
|
+
encodeHtmlEntities: () => P,
|
|
48
|
+
escapeForRegEx: () => R,
|
|
49
|
+
extensions: () => v,
|
|
50
|
+
findChildren: () => w,
|
|
51
|
+
findChildrenInRange: () => A,
|
|
52
|
+
findDuplicates: () => H,
|
|
53
|
+
findParentNode: () => It,
|
|
54
|
+
findParentNodeClosestToPos: () => ce,
|
|
55
|
+
flattenExtensions: () => _e,
|
|
56
|
+
fromString: () => S,
|
|
57
|
+
generateHTML: () => he,
|
|
58
|
+
generateJSON: () => ye,
|
|
59
|
+
generateText: () => b,
|
|
60
|
+
getAttributes: () => O,
|
|
61
|
+
getAttributesFromExtensions: () => mt,
|
|
62
|
+
getChangedRanges: () => E,
|
|
64
63
|
getDebugJSON: () => Ce,
|
|
65
|
-
getExtensionField: () =>
|
|
66
|
-
getHTMLFromFragment: () =>
|
|
67
|
-
getMarkAttributes: () =>
|
|
68
|
-
getMarkRange: () =>
|
|
69
|
-
getMarkType: () =>
|
|
70
|
-
getMarksBetween: () =>
|
|
71
|
-
getNodeAtPosition: () =>
|
|
72
|
-
getNodeAttributes: () =>
|
|
73
|
-
getNodeType: () =>
|
|
74
|
-
getRenderedAttributes: () =>
|
|
75
|
-
getSchema: () =>
|
|
76
|
-
getSchemaByResolvedExtensions: () =>
|
|
77
|
-
getSchemaTypeByName: () =>
|
|
78
|
-
getSchemaTypeNameByName: () =>
|
|
79
|
-
getSplittedAttributes: () =>
|
|
80
|
-
getStyleProperty: () =>
|
|
81
|
-
getText: () =>
|
|
82
|
-
getTextBetween: () =>
|
|
83
|
-
getTextContentFromNodes: () =>
|
|
84
|
-
getTextSerializersFromSchema: () =>
|
|
85
|
-
getUpdatedPosition: () =>
|
|
86
|
-
h: () =>
|
|
87
|
-
injectExtensionAttributesToParseRule: () =>
|
|
88
|
-
inputRulesPlugin: () =>
|
|
89
|
-
isActive: () =>
|
|
90
|
-
isAndroid: () =>
|
|
91
|
-
isAtEndOfNode: () =>
|
|
92
|
-
isAtStartOfNode: () =>
|
|
93
|
-
isEmptyObject: () =>
|
|
94
|
-
isExtensionRulesEnabled: () =>
|
|
95
|
-
isFirefox: () =>
|
|
96
|
-
isFunction: () =>
|
|
97
|
-
isList: () =>
|
|
98
|
-
isMacOS: () =>
|
|
99
|
-
isMarkActive: () =>
|
|
100
|
-
isNodeActive: () =>
|
|
64
|
+
getExtensionField: () => xe,
|
|
65
|
+
getHTMLFromFragment: () => Te,
|
|
66
|
+
getMarkAttributes: () => B,
|
|
67
|
+
getMarkRange: () => ie,
|
|
68
|
+
getMarkType: () => Be,
|
|
69
|
+
getMarksBetween: () => wt,
|
|
70
|
+
getNodeAtPosition: () => st,
|
|
71
|
+
getNodeAttributes: () => vt,
|
|
72
|
+
getNodeType: () => Ye,
|
|
73
|
+
getRenderedAttributes: () => Ae,
|
|
74
|
+
getSchema: () => ut,
|
|
75
|
+
getSchemaByResolvedExtensions: () => xt,
|
|
76
|
+
getSchemaTypeByName: () => Fe,
|
|
77
|
+
getSchemaTypeNameByName: () => tt,
|
|
78
|
+
getSplittedAttributes: () => Dt,
|
|
79
|
+
getStyleProperty: () => Re,
|
|
80
|
+
getText: () => He,
|
|
81
|
+
getTextBetween: () => pt,
|
|
82
|
+
getTextContentFromNodes: () => it,
|
|
83
|
+
getTextSerializersFromSchema: () => Ke,
|
|
84
|
+
getUpdatedPosition: () => We,
|
|
85
|
+
h: () => W,
|
|
86
|
+
injectExtensionAttributesToParseRule: () => kt,
|
|
87
|
+
inputRulesPlugin: () => Ft,
|
|
88
|
+
isActive: () => Me,
|
|
89
|
+
isAndroid: () => Nt,
|
|
90
|
+
isAtEndOfNode: () => fe,
|
|
91
|
+
isAtStartOfNode: () => p,
|
|
92
|
+
isEmptyObject: () => jt,
|
|
93
|
+
isExtensionRulesEnabled: () => me,
|
|
94
|
+
isFirefox: () => _,
|
|
95
|
+
isFunction: () => h,
|
|
96
|
+
isList: () => L,
|
|
97
|
+
isMacOS: () => $e,
|
|
98
|
+
isMarkActive: () => se,
|
|
99
|
+
isNodeActive: () => Ze,
|
|
101
100
|
isNodeEmpty: () => N,
|
|
102
|
-
isNodeSelection: () =>
|
|
103
|
-
isNodeViewSelected: () =>
|
|
104
|
-
isNumber: () =>
|
|
105
|
-
isPlainObject: () =>
|
|
106
|
-
isRegExp: () =>
|
|
107
|
-
isSafari: () =>
|
|
108
|
-
isString: () =>
|
|
109
|
-
isTextSelection: () =>
|
|
110
|
-
isiOS: () =>
|
|
111
|
-
markInputRule: () =>
|
|
112
|
-
markPasteRule: () =>
|
|
113
|
-
markViewProps: () =>
|
|
114
|
-
markdown: () =>
|
|
115
|
-
mergeAttributes: () =>
|
|
116
|
-
mergeDeep: () =>
|
|
117
|
-
minMax: () =>
|
|
118
|
-
nodeInputRule: () =>
|
|
101
|
+
isNodeSelection: () => F,
|
|
102
|
+
isNodeViewSelected: () => z,
|
|
103
|
+
isNumber: () => y,
|
|
104
|
+
isPlainObject: () => T,
|
|
105
|
+
isRegExp: () => j,
|
|
106
|
+
isSafari: () => U,
|
|
107
|
+
isString: () => Lt,
|
|
108
|
+
isTextSelection: () => le,
|
|
109
|
+
isiOS: () => ve,
|
|
110
|
+
markInputRule: () => C,
|
|
111
|
+
markPasteRule: () => ge,
|
|
112
|
+
markViewProps: () => Z,
|
|
113
|
+
markdown: () => be,
|
|
114
|
+
mergeAttributes: () => x,
|
|
115
|
+
mergeDeep: () => k,
|
|
116
|
+
minMax: () => ht,
|
|
117
|
+
nodeInputRule: () => D,
|
|
119
118
|
nodePasteRule: () => we,
|
|
120
|
-
nodeViewProps: () =>
|
|
121
|
-
objectIncludes: () =>
|
|
122
|
-
parseAttributes: () =>
|
|
123
|
-
parseIndentedBlocks: () =>
|
|
124
|
-
pasteRulesPlugin: () =>
|
|
125
|
-
posToDOMRect: () =>
|
|
126
|
-
removeDuplicates: () =>
|
|
127
|
-
renderNestedMarkdownContent: () =>
|
|
128
|
-
resolveExtensions: () =>
|
|
129
|
-
resolveFocusPosition: () =>
|
|
130
|
-
rewriteUnknownContent: () =>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
wrappingInputRule: () => qe
|
|
119
|
+
nodeViewProps: () => Wt,
|
|
120
|
+
objectIncludes: () => Se,
|
|
121
|
+
parseAttributes: () => Ee,
|
|
122
|
+
parseIndentedBlocks: () => V,
|
|
123
|
+
pasteRulesPlugin: () => ae,
|
|
124
|
+
posToDOMRect: () => ze,
|
|
125
|
+
removeDuplicates: () => Ct,
|
|
126
|
+
renderNestedMarkdownContent: () => ot,
|
|
127
|
+
resolveExtensions: () => _t,
|
|
128
|
+
resolveFocusPosition: () => Je,
|
|
129
|
+
rewriteUnknownContent: () => ke,
|
|
130
|
+
selectionToInsertionEnd: () => lt,
|
|
131
|
+
serializeAttributes: () => bt,
|
|
132
|
+
sortExtensions: () => Pe,
|
|
133
|
+
splitExtensions: () => et,
|
|
134
|
+
textInputRule: () => Et,
|
|
135
|
+
textPasteRule: () => Le,
|
|
136
|
+
textblockTypeInputRule: () => Ve,
|
|
137
|
+
updateMarkViewAttributes: () => ft,
|
|
138
|
+
useEditor: () => Vt,
|
|
139
|
+
wrappingInputRule: () => rt
|
|
142
140
|
});
|
|
143
|
-
function
|
|
141
|
+
function q(e) {
|
|
144
142
|
return i((t, n) => ({
|
|
145
143
|
get() {
|
|
146
144
|
return t(), e;
|
|
@@ -154,9 +152,9 @@ function J(e) {
|
|
|
154
152
|
}
|
|
155
153
|
}));
|
|
156
154
|
}
|
|
157
|
-
var
|
|
155
|
+
var J = class extends at {
|
|
158
156
|
constructor(e = {}) {
|
|
159
|
-
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState =
|
|
157
|
+
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = q(this.view.state), this.reactiveExtensionStorage = q(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
|
|
160
158
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
161
159
|
}), o(this);
|
|
162
160
|
}
|
|
@@ -174,7 +172,7 @@ var Y = class extends ut {
|
|
|
174
172
|
let t = super.unregisterPlugin(e);
|
|
175
173
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
176
174
|
}
|
|
177
|
-
},
|
|
175
|
+
}, zt = u({
|
|
178
176
|
name: "EditorContent",
|
|
179
177
|
props: { editor: {
|
|
180
178
|
default: null,
|
|
@@ -202,7 +200,7 @@ var Y = class extends ut {
|
|
|
202
200
|
this.rootEl = e;
|
|
203
201
|
} });
|
|
204
202
|
}
|
|
205
|
-
}),
|
|
203
|
+
}), Bt = u({
|
|
206
204
|
name: "NodeViewContent",
|
|
207
205
|
props: { as: {
|
|
208
206
|
type: String,
|
|
@@ -214,7 +212,7 @@ var Y = class extends ut {
|
|
|
214
212
|
"data-node-view-content": ""
|
|
215
213
|
});
|
|
216
214
|
}
|
|
217
|
-
}),
|
|
215
|
+
}), Y = u({
|
|
218
216
|
name: "NodeViewWrapper",
|
|
219
217
|
props: { as: {
|
|
220
218
|
type: String,
|
|
@@ -230,15 +228,15 @@ var Y = class extends ut {
|
|
|
230
228
|
onDragstart: this.onDragStart
|
|
231
229
|
}, (e = this.$slots).default?.call(e));
|
|
232
230
|
}
|
|
233
|
-
}),
|
|
231
|
+
}), Vt = (e = {}) => {
|
|
234
232
|
let t = te();
|
|
235
233
|
return ee(() => {
|
|
236
|
-
t.value = new
|
|
234
|
+
t.value = new J(e);
|
|
237
235
|
}), n(() => {
|
|
238
236
|
var e;
|
|
239
237
|
(e = t.value) == null || e.destroy();
|
|
240
238
|
}), t;
|
|
241
|
-
},
|
|
239
|
+
}, X = class {
|
|
242
240
|
constructor(e, { props: t = {}, editor: n }) {
|
|
243
241
|
this.destroyed = !1, this.editor = n, this.component = o(e), this.el = document.createElement("div"), this.props = a(t), this.renderedComponent = this.renderComponent();
|
|
244
242
|
}
|
|
@@ -267,7 +265,7 @@ var Y = class extends ut {
|
|
|
267
265
|
destroy() {
|
|
268
266
|
this.destroyed || (this.destroyed = !0, this.renderedComponent.destroy());
|
|
269
267
|
}
|
|
270
|
-
},
|
|
268
|
+
}, Z = {
|
|
271
269
|
editor: {
|
|
272
270
|
type: Object,
|
|
273
271
|
required: !0
|
|
@@ -296,7 +294,7 @@ var Y = class extends ut {
|
|
|
296
294
|
type: Object,
|
|
297
295
|
required: !0
|
|
298
296
|
}
|
|
299
|
-
},
|
|
297
|
+
}, Ht = u({
|
|
300
298
|
name: "MarkViewContent",
|
|
301
299
|
props: { as: {
|
|
302
300
|
type: String,
|
|
@@ -308,7 +306,7 @@ var Y = class extends ut {
|
|
|
308
306
|
"data-mark-view-content": ""
|
|
309
307
|
});
|
|
310
308
|
}
|
|
311
|
-
}), Q = class extends
|
|
309
|
+
}), Q = class extends K {
|
|
312
310
|
constructor(e, t, n) {
|
|
313
311
|
super(e, t, n);
|
|
314
312
|
let r = {
|
|
@@ -324,7 +322,7 @@ var Y = class extends ut {
|
|
|
324
322
|
__name: e.__name,
|
|
325
323
|
__file: e.__file
|
|
326
324
|
});
|
|
327
|
-
this.renderer = new
|
|
325
|
+
this.renderer = new X(i, {
|
|
328
326
|
editor: this.editor,
|
|
329
327
|
props: r
|
|
330
328
|
});
|
|
@@ -343,10 +341,10 @@ var Y = class extends ut {
|
|
|
343
341
|
this.renderer.destroy();
|
|
344
342
|
}
|
|
345
343
|
};
|
|
346
|
-
function
|
|
344
|
+
function Ut(e, t = {}) {
|
|
347
345
|
return (n) => n.editor.contentComponent ? new Q(e, n, t) : {};
|
|
348
346
|
}
|
|
349
|
-
var
|
|
347
|
+
var Wt = {
|
|
350
348
|
editor: {
|
|
351
349
|
type: Object,
|
|
352
350
|
required: !0
|
|
@@ -391,9 +389,12 @@ var Kt = {
|
|
|
391
389
|
type: Object,
|
|
392
390
|
required: !0
|
|
393
391
|
}
|
|
394
|
-
},
|
|
395
|
-
constructor() {
|
|
396
|
-
super(
|
|
392
|
+
}, Gt = class extends G {
|
|
393
|
+
constructor(e, t, n) {
|
|
394
|
+
super(e, t, n), this.cachedExtensionWithSyncedStorage = null, this.handlePositionUpdate = () => {
|
|
395
|
+
let e = this.getPos();
|
|
396
|
+
typeof e != "number" || e === this.currentPos || (this.currentPos = e, this.renderer.updateProps({ getPos: () => this.getPos() }));
|
|
397
|
+
}, this.options.trackNodeViewPosition && this.editor.on("update", this.handlePositionUpdate);
|
|
397
398
|
}
|
|
398
399
|
get extensionWithSyncedStorage() {
|
|
399
400
|
if (!this.cachedExtensionWithSyncedStorage) {
|
|
@@ -417,28 +418,24 @@ var Kt = {
|
|
|
417
418
|
getPos: () => this.getPos(),
|
|
418
419
|
updateAttributes: (e = {}) => this.updateAttributes(e),
|
|
419
420
|
deleteNode: () => this.deleteNode()
|
|
420
|
-
}, t = this.onDragStart.bind(this);
|
|
421
|
+
}, t = e, n = this.onDragStart.bind(this);
|
|
421
422
|
this.decorationClasses = l(this.getDecorationClasses());
|
|
422
|
-
let
|
|
423
|
+
let r = u({
|
|
423
424
|
extends: { ...this.component },
|
|
424
425
|
props: Object.keys(e),
|
|
425
426
|
template: this.component.template,
|
|
426
427
|
setup: (e) => {
|
|
427
|
-
var
|
|
428
|
-
return d("onDragStart",
|
|
428
|
+
var t;
|
|
429
|
+
return d("onDragStart", n), d("decorationClasses", this.decorationClasses), (t = this.component).setup?.call(t, e, { expose: () => void 0 });
|
|
429
430
|
},
|
|
430
431
|
__scopeId: this.component.__scopeId,
|
|
431
432
|
__cssModules: this.component.__cssModules,
|
|
432
433
|
__name: this.component.__name,
|
|
433
434
|
__file: this.component.__file
|
|
434
435
|
});
|
|
435
|
-
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.
|
|
436
|
-
if (!this.renderer) return;
|
|
437
|
-
let e = this.getPos();
|
|
438
|
-
typeof e != "number" || e === this.currentPos || (this.currentPos = e, this.renderer.updateProps({ getPos: () => this.getPos() }));
|
|
439
|
-
}, W(this.editor, this.positionCheckCallback), this.renderer = new Z(n, {
|
|
436
|
+
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.renderer = new X(r, {
|
|
440
437
|
editor: this.editor,
|
|
441
|
-
props:
|
|
438
|
+
props: t
|
|
442
439
|
});
|
|
443
440
|
}
|
|
444
441
|
get dom() {
|
|
@@ -450,7 +447,7 @@ var Kt = {
|
|
|
450
447
|
}
|
|
451
448
|
handleSelectionUpdate() {
|
|
452
449
|
let e = this.getPos();
|
|
453
|
-
if (typeof e == "number") if (
|
|
450
|
+
if (typeof e == "number") if (z({
|
|
454
451
|
selection: this.editor.state.selection,
|
|
455
452
|
pos: e,
|
|
456
453
|
nodeSize: this.node.nodeSize,
|
|
@@ -469,7 +466,7 @@ var Kt = {
|
|
|
469
466
|
};
|
|
470
467
|
if (typeof this.options.update == "function") {
|
|
471
468
|
let i = this.node, a = this.decorations, o = this.innerDecorations;
|
|
472
|
-
return this.node = e, this.decorations = t, this.innerDecorations = n, this.
|
|
469
|
+
return this.node = e, this.decorations = t, this.innerDecorations = n, this.options.update({
|
|
473
470
|
oldNode: i,
|
|
474
471
|
oldDecorations: a,
|
|
475
472
|
newNode: e,
|
|
@@ -485,19 +482,15 @@ var Kt = {
|
|
|
485
482
|
});
|
|
486
483
|
}
|
|
487
484
|
if (e.type !== this.node.type) return !1;
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
decorations: t,
|
|
492
|
-
innerDecorations: n,
|
|
493
|
-
extension: this.extensionWithSyncedStorage,
|
|
494
|
-
getPos: () => this.getPos()
|
|
495
|
-
}), !0) : (this.node = e, this.decorations = t, this.innerDecorations = n, this.currentPos = i, r({
|
|
485
|
+
if (e === this.node) return this.node = e, this.decorations = t, this.innerDecorations = n, this.decorationClasses.value = this.getDecorationClasses(), !0;
|
|
486
|
+
this.node = e, this.decorations = t, this.innerDecorations = n, this.currentPos = this.getPos();
|
|
487
|
+
let i = {
|
|
496
488
|
node: e,
|
|
497
489
|
decorations: t,
|
|
498
490
|
innerDecorations: n,
|
|
499
491
|
extension: this.extensionWithSyncedStorage
|
|
500
|
-
}
|
|
492
|
+
};
|
|
493
|
+
return this.options.trackNodeViewPosition && (i.getPos = () => this.getPos()), r(i), !0;
|
|
501
494
|
}
|
|
502
495
|
selectNode() {
|
|
503
496
|
this.renderer.updateProps({ selected: !0 }), this.renderer.element && this.renderer.element.classList.add("ProseMirror-selectednode");
|
|
@@ -509,11 +502,11 @@ var Kt = {
|
|
|
509
502
|
return this.decorations.flatMap((e) => e.type.attrs.class).join(" ");
|
|
510
503
|
}
|
|
511
504
|
destroy() {
|
|
512
|
-
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.
|
|
505
|
+
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.options.trackNodeViewPosition && this.editor.off("update", this.handlePositionUpdate);
|
|
513
506
|
}
|
|
514
507
|
};
|
|
515
508
|
function $(e, t) {
|
|
516
|
-
return (n) => n.editor.contentComponent ? new
|
|
509
|
+
return (n) => n.editor.contentComponent ? new Gt(typeof e == "function" && "__vccOpts" in e ? e.__vccOpts : e, n, t) : {};
|
|
517
510
|
}
|
|
518
511
|
//#endregion
|
|
519
|
-
export { $ as n,
|
|
512
|
+
export { $ as n, Rt as r, Y as t };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Color as e } from "./dist-C0jo8wtG.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-color@3.23.6_@tiptap+extension-text-style@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__/node_modules/@tiptap/extension-color/dist/index.js
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { e as Color, t as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as e, J as t, K as n, L as r, Ut as i, bn as a, c as o, tt as s, y as c, yn as l } from "./dist-BzuC8o3y.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
|
|
3
3
|
var u = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", d = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", f = "numeric", p = "ascii", m = "alpha", h = "asciinumeric", g = "alphanumeric", _ = "domain", ee = "emoji", te = "scheme", v = "slashscheme", y = "whitespace";
|
|
4
4
|
function b(e, t) {
|
|
@@ -510,30 +510,30 @@ function gt(e, t = null, n = null) {
|
|
|
510
510
|
return a;
|
|
511
511
|
}
|
|
512
512
|
//#endregion
|
|
513
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.23.
|
|
513
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tiptap+pm@3.23.6/node_modules/@tiptap/extension-link/dist/index.js
|
|
514
514
|
var _t = "[\0- \xA0 -\u2029 ]", vt = new RegExp(_t), yt = RegExp(`${_t}$`), bt = new RegExp(_t, "g");
|
|
515
515
|
function xt(e) {
|
|
516
516
|
return e.length === 1 ? e[0].isLink : e.length === 3 && e[1].isLink ? ["()", "[]"].includes(e[0].value + e[2].value) : !1;
|
|
517
517
|
}
|
|
518
518
|
function St(e) {
|
|
519
519
|
return new l({
|
|
520
|
-
key: new
|
|
521
|
-
appendTransaction: (n,
|
|
522
|
-
let
|
|
523
|
-
if (!
|
|
524
|
-
let { tr: u } =
|
|
525
|
-
if (
|
|
526
|
-
let
|
|
527
|
-
if (
|
|
528
|
-
else if (
|
|
529
|
-
let e =
|
|
520
|
+
key: new a("autolink"),
|
|
521
|
+
appendTransaction: (n, i, a) => {
|
|
522
|
+
let o = n.some((e) => e.docChanged) && !i.doc.eq(a.doc), l = n.some((e) => e.getMeta("preventAutolink"));
|
|
523
|
+
if (!o || l) return;
|
|
524
|
+
let { tr: u } = a;
|
|
525
|
+
if (t(c(i.doc, [...n])).forEach(({ newRange: t }) => {
|
|
526
|
+
let n = r(a.doc, t, (e) => e.isTextblock), i, o;
|
|
527
|
+
if (n.length > 1) i = n[0], o = a.doc.textBetween(i.pos, i.pos + i.node.nodeSize, void 0, " ");
|
|
528
|
+
else if (n.length) {
|
|
529
|
+
let e = a.doc.textBetween(t.from, t.to, " ", " ");
|
|
530
530
|
if (!yt.test(e)) return;
|
|
531
|
-
i =
|
|
531
|
+
i = n[0], o = a.doc.textBetween(i.pos, t.to, void 0, " ");
|
|
532
532
|
}
|
|
533
|
-
if (i &&
|
|
534
|
-
let t =
|
|
533
|
+
if (i && o) {
|
|
534
|
+
let t = o.split(vt).filter(Boolean);
|
|
535
535
|
if (t.length <= 0) return !1;
|
|
536
|
-
let n = t[t.length - 1], r = i.pos +
|
|
536
|
+
let n = t[t.length - 1], r = i.pos + o.lastIndexOf(n);
|
|
537
537
|
if (!n) return !1;
|
|
538
538
|
let c = ht(n).map((t) => t.toObject(e.defaultProtocol));
|
|
539
539
|
if (!xt(c)) return !1;
|
|
@@ -541,8 +541,8 @@ function St(e) {
|
|
|
541
541
|
...e,
|
|
542
542
|
from: r + e.start + 1,
|
|
543
543
|
to: r + e.end + 1
|
|
544
|
-
})).filter((e) =>
|
|
545
|
-
s(t.from, t.to,
|
|
544
|
+
})).filter((e) => a.schema.marks.code ? !a.doc.rangeHasMark(e.from, e.to, a.schema.marks.code) : !0).filter((t) => e.validate(t.value)).filter((t) => e.shouldAutoLink(t.value)).forEach((t) => {
|
|
545
|
+
s(t.from, t.to, a.doc).some((t) => t.mark.type === e.type) || u.addMark(t.from, t.to, e.type.create({ href: t.href }));
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
548
|
}), u.steps.length) return u;
|
|
@@ -551,30 +551,30 @@ function St(e) {
|
|
|
551
551
|
}
|
|
552
552
|
function Ct(e) {
|
|
553
553
|
return new l({
|
|
554
|
-
key: new
|
|
555
|
-
props: { handleClick: (t,
|
|
556
|
-
if (
|
|
557
|
-
let
|
|
558
|
-
if (
|
|
554
|
+
key: new a("handleClickLink"),
|
|
555
|
+
props: { handleClick: (t, r, i) => {
|
|
556
|
+
if (i.button !== 0 || !t.editable) return !1;
|
|
557
|
+
let a = null;
|
|
558
|
+
if (i.target instanceof HTMLAnchorElement) a = i.target;
|
|
559
559
|
else {
|
|
560
|
-
let t =
|
|
560
|
+
let t = i.target;
|
|
561
561
|
if (!t) return !1;
|
|
562
562
|
let n = e.editor.view.dom;
|
|
563
|
-
|
|
563
|
+
a = t.closest("a"), a && !n.contains(a) && (a = null);
|
|
564
564
|
}
|
|
565
|
-
if (!
|
|
566
|
-
let
|
|
567
|
-
if (e.enableClickSelection && (
|
|
568
|
-
let
|
|
569
|
-
|
|
565
|
+
if (!a) return !1;
|
|
566
|
+
let o = !1;
|
|
567
|
+
if (e.enableClickSelection && (o = e.editor.commands.extendMarkRange(e.type.name)), e.openOnClick) {
|
|
568
|
+
let r = n(t.state, e.type.name), i = a.href ?? r.href, s = a.target ?? r.target;
|
|
569
|
+
i && (window.open(i, s), o = !0);
|
|
570
570
|
}
|
|
571
|
-
return
|
|
571
|
+
return o;
|
|
572
572
|
} }
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
function wt(e) {
|
|
576
576
|
return new l({
|
|
577
|
-
key: new
|
|
577
|
+
key: new a("handlePasteLink"),
|
|
578
578
|
props: { handlePaste: (t, n, r) => {
|
|
579
579
|
let { shouldAutoLink: i } = e, { state: a } = t, { selection: o } = a, { empty: s } = o;
|
|
580
580
|
if (s) return !1;
|
|
@@ -725,7 +725,7 @@ var Et = o.create({
|
|
|
725
725
|
};
|
|
726
726
|
},
|
|
727
727
|
addPasteRules() {
|
|
728
|
-
return [
|
|
728
|
+
return [i({
|
|
729
729
|
find: (e) => {
|
|
730
730
|
let t = [];
|
|
731
731
|
if (e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.23.
|
|
1
|
+
import { Gt as e, c as t } from "./dist-BzuC8o3y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "underline",
|
|
5
5
|
addOptions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.
|
|
1
|
+
import { i as e } from "./dist-BzuC8o3y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|
|
5
5
|
addOptions() {
|