@templatical/editor 0.8.1 → 0.8.3
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-B74X6tIx.js → AiChatSidebar-CXpsSTbt.js} +13 -13
- package/dist/{AiFeatureMenu-BPOVM_Ou.js → AiFeatureMenu-De9ow6Ej.js} +7 -7
- package/dist/{BlockIssueBadge-DJTiT1eF.js → BlockIssueBadge-FEuyG1p0.js} +5 -5
- package/dist/{CloudEditor-wAkx8TH_.js → CloudEditor-Ccoru8Up.js} +19 -19
- package/dist/{CollaboratorBar-DIr5ZUv9.js → CollaboratorBar-CmHq6XiL.js} +4 -4
- package/dist/{CommentsSidebar-Qvppl-DR.js → CommentsSidebar-DaWP5ZGl.js} +12 -12
- package/dist/{CountdownBlock-D0IiMliC.js → CountdownBlock-C51M6s-J.js} +3 -3
- package/dist/{CountdownToolbar-BVVT8U5C.js → CountdownToolbar-C2QkG8S0.js} +3 -3
- package/dist/{DesignReferenceSidebar-ucgtoDll.js → DesignReferenceSidebar-BwIRFmpA.js} +9 -9
- package/dist/{IssuesPanel-XVdvrgmq.js → IssuesPanel-B6ukjc1i.js} +8 -8
- package/dist/{LoadingTrack-CFkDkjBb.js → LoadingTrack-CZ6tO326.js} +1 -1
- package/dist/{ModuleBrowserModal-VqGNisDp.js → ModuleBrowserModal-0n6DoZtA.js} +11 -11
- package/dist/{ModulePreviewCanvas-DmzW6I_9.js → ModulePreviewCanvas-DEtTEvMM.js} +3 -3
- package/dist/{NumberWithSuffix-n-cr7lpU.js → NumberWithSuffix-wOM0319c.js} +3 -3
- package/dist/{ParagraphEditor-BQTPI8j8.js → ParagraphEditor-PQZp1plL.js} +25 -25
- package/dist/{RichTextEditorContent-Cu9NEkKd.js → RichTextEditorContent-C02UzFoS.js} +6 -6
- package/dist/{SaveModuleDialog-DhgHOGgX.js → SaveModuleDialog-WWMn87Oi.js} +7 -7
- package/dist/{SnapshotHistory-DJOsWv4i.js → SnapshotHistory-Dy_Iy7VG.js} +9 -9
- package/dist/{TemplateScoringPanel-BzDVdfOx.js → TemplateScoringPanel-BpQgtaDl.js} +14 -14
- package/dist/{TestEmailModal-Dqj50aHe.js → TestEmailModal--4EVFj1A.js} +5 -5
- package/dist/{TitleEditor-PQYXfY6W.js → TitleEditor-C6z6Jzeg.js} +12 -12
- package/dist/{TplModal-Dy6RXBV_.js → TplModal-D5xlYbls.js} +4 -4
- package/dist/{blockTypeIcons-qnUeTls5.js → blockTypeIcons-jZR-IBPY.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-Cr6_Q9Zv.js → AiFeatureMenu-8gbvVwXD.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-Cr6_Q9Zv.js.map → AiFeatureMenu-8gbvVwXD.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-D0_mYpkl.js → BlockIssueBadge-CYoY-wyI.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-D0_mYpkl.js.map → BlockIssueBadge-CYoY-wyI.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-BtAkuQB4.js → CloudEditor-DGAV0qxk.js} +8 -8
- package/dist/cdn/chunks/{CloudEditor-BtAkuQB4.js.map → CloudEditor-DGAV0qxk.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-C-P00I9l.js → CollaboratorBar-BrzkrQJM.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-C-P00I9l.js.map → CollaboratorBar-BrzkrQJM.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BEWsiqgw.js → CountdownBlock-BSEKrpZY.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-BEWsiqgw.js.map → CountdownBlock-BSEKrpZY.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CdjFGEI7.js → CountdownToolbar-DME9toD5.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-CdjFGEI7.js.map → CountdownToolbar-DME9toD5.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-DJOLYNAJ.js → IssuesPanel-BqGOXisb.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-DJOLYNAJ.js.map → IssuesPanel-BqGOXisb.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-hnbUUl8w.js → ModuleBrowserModal-Bz2oCRS9.js} +6 -6
- package/dist/cdn/chunks/{ModuleBrowserModal-hnbUUl8w.js.map → ModuleBrowserModal-Bz2oCRS9.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-_DoUZGQh.js → ModulePreviewCanvas-8i2U3rd6.js} +3 -3
- package/dist/cdn/chunks/{ModulePreviewCanvas-_DoUZGQh.js.map → ModulePreviewCanvas-8i2U3rd6.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-ryhWFnCJ.js → NumberWithSuffix-C6HZCvvh.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-ryhWFnCJ.js.map → NumberWithSuffix-C6HZCvvh.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BtzinrI_.js → ParagraphEditor-DfKVmv1W.js} +19 -19
- package/dist/cdn/chunks/{ParagraphEditor-BtzinrI_.js.map → ParagraphEditor-DfKVmv1W.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-CRlcjuMH.js → RichTextEditorContent-B-HY9asd.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-CRlcjuMH.js.map → RichTextEditorContent-B-HY9asd.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-D-g-nYuL.js → SaveModuleDialog-BgwBxW_S.js} +3 -3
- package/dist/cdn/chunks/{SaveModuleDialog-D-g-nYuL.js.map → SaveModuleDialog-BgwBxW_S.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Bzsbpajt.js → TitleEditor-C2p3SosJ.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-Bzsbpajt.js.map → TitleEditor-C2p3SosJ.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-B_klsmQ1.js → blockTypeIcons-Bck6aYVw.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-B_klsmQ1.js.map → blockTypeIcons-Bck6aYVw.js.map} +1 -1
- package/dist/cdn/chunks/de-BBEGQDsd.js.map +1 -1
- package/dist/cdn/chunks/de-DG1WWVXM.js.map +1 -1
- package/dist/cdn/chunks/de-RQrZR56a.js.map +1 -1
- package/dist/cdn/chunks/{draggable-P6QWzy4g.js → draggable-CLpL3kf8.js} +6 -6
- package/dist/cdn/chunks/draggable-CLpL3kf8.js.map +1 -0
- package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +1 -1
- package/dist/cdn/chunks/en-BE6OV83-.js.map +1 -1
- package/dist/cdn/chunks/en-Bl1ecfRF.js.map +1 -1
- package/dist/cdn/chunks/en-CHha-_ta.js.map +1 -1
- package/dist/cdn/chunks/{extensions-DIHxPVrP.js → extensions-DdH6DxVo.js} +4 -4
- package/dist/cdn/chunks/{extensions-DIHxPVrP.js.map → extensions-DdH6DxVo.js.map} +1 -1
- package/dist/cdn/chunks/{features-BsW4aFcn.js → features-BOcQhi9B.js} +69 -48
- package/dist/cdn/chunks/features-BOcQhi9B.js.map +1 -0
- package/dist/cdn/chunks/{icons-BgPk6tUq.js → icons-BVyDCkxF.js} +12 -12
- package/dist/cdn/chunks/{icons-BgPk6tUq.js.map → icons-BVyDCkxF.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js → liquid.browser-cpFt-Vmw.js} +674 -612
- package/dist/cdn/chunks/liquid.browser-cpFt-Vmw.js.map +1 -0
- package/dist/cdn/chunks/{media-library-C1Ue4At9.js → media-library-CPZI4Yxq.js} +6 -5
- package/dist/cdn/chunks/{media-library-C1Ue4At9.js.map → media-library-CPZI4Yxq.js.map} +1 -1
- package/dist/cdn/chunks/pt-BR-BYRTP5Ww.js.map +1 -1
- package/dist/cdn/chunks/pt-BR-CFomv2R8.js.map +1 -1
- package/dist/cdn/chunks/pt-BR-CQl2JxRp.js.map +1 -1
- package/dist/cdn/chunks/pusher-bjpcqCZG.js.map +1 -1
- package/dist/cdn/chunks/quality-Cytz80Z5.js +2140 -0
- package/dist/cdn/chunks/quality-Cytz80Z5.js.map +1 -0
- package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +1 -1
- package/dist/cdn/chunks/{renderer-BdjvKDwC.js → renderer-Bsqzjvsr.js} +11 -5
- package/dist/cdn/chunks/{renderer-BdjvKDwC.js.map → renderer-Bsqzjvsr.js.map} +1 -1
- package/dist/cdn/chunks/{src-BI22RLP6.js → src-BRhJ_W0W.js} +5 -5
- package/dist/cdn/chunks/{src-BI22RLP6.js.map → src-BRhJ_W0W.js.map} +1 -1
- package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +1 -1
- package/dist/cdn/chunks/{styles-BkubbXy8.js → styles-MrOGXwzJ.js} +17 -17
- package/dist/cdn/chunks/{styles-BkubbXy8.js.map → styles-MrOGXwzJ.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-BwTCLVWl.js → tiptap-BCvhHXDe.js} +711 -692
- package/dist/cdn/chunks/tiptap-BCvhHXDe.js.map +1 -0
- package/dist/cdn/editor.js +6 -6
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-BF4bEbCU.js → check-DwVS7v3N.js} +1 -1
- package/dist/{chevron-down-4NzWtv6Y.js → chevron-down-CytfFjil.js} +1 -1
- package/dist/{circle-alert-CPIth9bC.js → circle-alert-9J8Q4fwU.js} +1 -1
- package/dist/{clock-B9-ct9r_.js → clock-CL2fYWmc.js} +1 -1
- package/dist/{cloud-k0DgeCo2.js → cloud-DHsOqOnH.js} +1 -1
- package/dist/{createLucideIcon-Di4mqmGn.js → createLucideIcon-DTECxBv6.js} +4 -4
- package/dist/{dist-DVwOAodp.js → dist-3RAjjDZq.js} +2 -2
- package/dist/{dist-hfu7I2rO.js → dist-B5FKze93.js} +375 -353
- package/dist/dist-BWVK8w_m.js +5 -0
- package/dist/{dist-CISFttkF.js → dist-BjSjVZRA.js} +2 -2
- package/dist/{dist-DD-9hatO.js → dist-BoGj0ys1.js} +8 -8
- package/dist/{dist-BzRLLpfq.js → dist-CkhqaMca.js} +6 -5
- package/dist/{dist-U5guDm2w.js → dist-D8IxYzaU.js} +125 -125
- package/dist/{dist-B2jcQhv8.js → dist-DPiqL9q5.js} +17 -17
- package/dist/{dist-v8h02hhE.js → dist-DgD8K8y0.js} +2 -2
- package/dist/{dist-DxD1kSdH.js → dist-DiYYRj9J.js} +22 -48
- package/dist/{dist-CQQS9SRN.js → dist-DpF3BN6Y.js} +85 -62
- package/dist/dist-UekZXGFH.js +5 -0
- package/dist/{dist-DUvhjQ2-.js → dist-qFGe50Kc.js} +2 -2
- package/dist/{extensions-C-FpnfJn.js → extensions-BTheidN4.js} +19 -19
- package/dist/{image-up-CubAveUO.js → image-up-YgXg9o1y.js} +1 -1
- package/dist/index.d.ts +39 -92
- package/dist/{info-DiINxXfZ.js → info-W-213KLD.js} +1 -1
- package/dist/{keys-CY3tkCsv.js → keys-XS_XrjqL.js} +1 -1
- package/dist/{liquid.browser-DX8ZHRdq.js → liquid.browser-Dc30h4PN.js} +673 -611
- package/dist/{list-checks-CMtEXe9l.js → list-checks-BQrZlWzC.js} +1 -1
- package/dist/{loader-circle-_9bP23op.js → loader-circle-BQPHssrF.js} +1 -1
- package/dist/{message-circle-gzy2ZGJ3.js → message-circle-iMgHXBeH.js} +1 -1
- package/dist/{refresh-cw-C9_M6yB3.js → refresh-cw-DFozdLYp.js} +1 -1
- package/dist/{scan-line-DUEg6DoT.js → scan-line-D3NN0Gre.js} +1 -1
- package/dist/{send-BatIZC9a.js → send-DBhq0GU2.js} +1 -1
- package/dist/{shield-check-C5Gv2cM1.js → shield-check-DquM3-E5.js} +1 -1
- package/dist/{sparkles-D1IGi_cC.js → sparkles-CTGknLJy.js} +1 -1
- package/dist/{styles-BEhOSxt5.js → styles-DfdDKEGV.js} +33 -33
- package/dist/templatical-editor.js +4 -4
- package/dist/{text-align-start-DG3aAH7Y.js → text-align-end-BPOHCD7K.js} +11 -11
- package/dist/{trash-2-424iqbpN.js → trash-2-VyX2kcG0.js} +1 -1
- package/dist/{triangle-alert-DWQySIE2.js → triangle-alert-HIqW9Hwv.js} +1 -1
- package/dist/{useAliveFlag-D8GoB4VE.js → useAliveFlag-t3e0dokQ.js} +1 -1
- package/dist/{useCloudI18n-BPUHj2CZ.js → useCloudI18n-oETj4WiF.js} +2 -2
- package/dist/{useEditorCore-DnCOsekL.js → useEditorCore-YaOoz7QB.js} +37 -31
- package/dist/{useI18n-CWX9ZTCW.js → useI18n-tMHqPsE4.js} +2 -2
- package/dist/{useMergeTag-B3F9VR04.js → useMergeTag-Bv8ASt6n.js} +2 -2
- package/dist/usePopoverRoot-Bs6kLsI3.js +8 -0
- package/dist/{vue.runtime.esm-bundler-Bxqkjqhc.js → vue.runtime.esm-bundler-xiAB6UTz.js} +15 -12
- package/dist/{x-Dlaenqta.js → x-C1j-AamY.js} +1 -1
- package/package.json +33 -34
- package/dist/cdn/chunks/draggable-P6QWzy4g.js.map +0 -1
- package/dist/cdn/chunks/features-BsW4aFcn.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +0 -1
- package/dist/cdn/chunks/quality-BDr54nMA.js +0 -1878
- package/dist/cdn/chunks/quality-BDr54nMA.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BwTCLVWl.js.map +0 -1
- package/dist/dist-BYt3jdCR.js +0 -5
- package/dist/dist-CfQPBf15.js +0 -5
- package/dist/usePopoverRoot-BKJcxsst.js +0 -8
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FontFamily as e } from "./dist-DiYYRj9J.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-font-family@3.23.4_@tiptap+extension-text-style@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4__/node_modules/@tiptap/extension-font-family/dist/index.js
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { e as FontFamily, t as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.
|
|
1
|
+
import { Kt as e, c as t } from "./dist-DpF3BN6Y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4__@tiptap+pm@3.23.4/node_modules/@tiptap/extension-superscript/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "superscript",
|
|
5
5
|
addOptions() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.
|
|
3
|
-
var
|
|
1
|
+
import { Kt as e, Ut as t, Wt as n, c as r, ft as i } from "./dist-DpF3BN6Y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4_/node_modules/@tiptap/extension-highlight/dist/index.js
|
|
3
|
+
var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, s = r.create({
|
|
4
4
|
name: "highlight",
|
|
5
5
|
addOptions() {
|
|
6
6
|
return {
|
|
@@ -11,7 +11,7 @@ var i = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, a = /(?:^|\s)(==(?!\s+==
|
|
|
11
11
|
addAttributes() {
|
|
12
12
|
return this.options.multicolor ? { color: {
|
|
13
13
|
default: null,
|
|
14
|
-
parseHTML: (e) => e.getAttribute("data-color") || e.style.backgroundColor,
|
|
14
|
+
parseHTML: (e) => e.getAttribute("data-color") || i(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`
|
|
@@ -59,16 +59,16 @@ var i = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, a = /(?:^|\s)(==(?!\s+==
|
|
|
59
59
|
},
|
|
60
60
|
addInputRules() {
|
|
61
61
|
return [t({
|
|
62
|
-
find:
|
|
62
|
+
find: a,
|
|
63
63
|
type: this.type
|
|
64
64
|
})];
|
|
65
65
|
},
|
|
66
66
|
addPasteRules() {
|
|
67
67
|
return [n({
|
|
68
|
-
find:
|
|
68
|
+
find: o,
|
|
69
69
|
type: this.type
|
|
70
70
|
})];
|
|
71
71
|
}
|
|
72
|
-
}),
|
|
72
|
+
}), c = s;
|
|
73
73
|
//#endregion
|
|
74
|
-
export {
|
|
74
|
+
export { s as Highlight, c as default, a as inputRegex, o as pasteRegex };
|
|
@@ -1,5 +1,5 @@
|
|
|
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, Z as c, d as l, q as u, rt as d, tt as f, w as p, x as m } from "./vue.runtime.esm-bundler-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@vueuse+shared@14.
|
|
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, Z as c, d as l, q as u, rt as d, tt as f, w as p, x as m } from "./vue.runtime.esm-bundler-xiAB6UTz.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.34_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
3
|
function h(e, t) {
|
|
4
4
|
return s() ? (u(e, t), !0) : !1;
|
|
5
5
|
}
|
|
@@ -125,7 +125,7 @@ function R(e, t, n) {
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
128
|
-
//#region ../../node_modules/.pnpm/@vueuse+core@14.
|
|
128
|
+
//#region ../../node_modules/.pnpm/@vueuse+core@14.3.0_vue@3.5.34_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
129
129
|
var z = v ? window : void 0;
|
|
130
130
|
v && window.document, v && window.navigator, v && window.location;
|
|
131
131
|
function B(e) {
|
|
@@ -202,8 +202,9 @@ function U(e, t, n = {}) {
|
|
|
202
202
|
}, { passive: !0 }),
|
|
203
203
|
o && V(r, "blur", (n) => {
|
|
204
204
|
setTimeout(() => {
|
|
205
|
-
let i = B(e);
|
|
206
|
-
|
|
205
|
+
let i = B(e), a = r.document.activeElement;
|
|
206
|
+
for (; a?.shadowRoot;) a = a.shadowRoot.activeElement;
|
|
207
|
+
a?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
|
|
207
208
|
}, 0);
|
|
208
209
|
}, { passive: !0 })
|
|
209
210
|
].filter(Boolean), g = () => h.forEach((e) => e());
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { $ as t, D as n, E as r, H as i, J as a, K as o, O as
|
|
3
|
-
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as de, D as fe, Dt as p, E as m, Et as h, F as g, Ft as _, G as v, Gt as y, H as b, Ht as x, I as S, It as C, J as w, Jt as T, K as E, Kt as D, L as O, Lt as k, M as A, Mt as j, N as M, Nt as N, O as P, Ot as F, P as I, Pt as L, Q as R, Qt as z, R as B, Rt as V, S as pe, St as me, T as he, Tt as ge, U as _e, Ut as ve, V as ye, Vt as be, W as xe, Wt as Se, X as Ce, Xt as we, Y as Te, Yt as Ee, Z as De, Zt as Oe, _ as ke, _t as
|
|
4
|
-
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.
|
|
5
|
-
var
|
|
6
|
-
CommandManager: () =>
|
|
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-xiAB6UTz.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 de, D as fe, Dt as p, E as m, Et as h, F as g, Ft as _, G as v, Gt as y, H as b, Ht as x, I as S, It as C, J as w, Jt as T, K as E, Kt as D, L as O, Lt as k, M as A, Mt as j, N as M, Nt as N, O as P, Ot as F, P as I, Pt as L, Q as R, Qt as z, R as B, Rt as V, S as pe, St as me, T as he, Tt as ge, U as _e, Ut as ve, V as ye, Vt as be, W as xe, Wt as Se, X as Ce, Xt as we, Y as Te, Yt as Ee, Z as De, Zt as Oe, _ as ke, _t as Ae, a as je, an as Me, at as Ne, b as Pe, bt as Fe, c as Ie, cn as Le, ct as Re, d as ze, dn as Be, dt as Ve, en as He, et as Ue, f as H, fn as We, ft as Ge, g as Ke, gn as qe, gt as Je, h as Ye, hn as Xe, ht as Ze, i as Qe, in as $e, it as et, j as tt, jt as nt, k as rt, kt as it, l as U, ln as at, lt as ot, m as st, mn as ct, mt as lt, n as ut, nn as dt, nt as ft, o as pt, on as mt, ot as ht, p as gt, pn as _t, pt as vt, q as yt, qt as bt, r as xt, rn as St, rt as Ct, s as wt, sn as W, st as Tt, t as Et, tn as Dt, tt as Ot, u as kt, un as At, ut as jt, v as Mt, vt as G, w as Nt, wt as Pt, x as Ft, xt as It, y as K, yt as Lt, z as Rt, zt } from "./dist-DpF3BN6Y.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.23.4_@floating-ui+dom@1.7.6_@tiptap+core@3.23.4_@tiptap+pm@3.23.4__@tip_f27b5980fcbc79288d7d128a126b5167/node_modules/@tiptap/vue-3/dist/index.js
|
|
5
|
+
var q = /* @__PURE__ */ e({
|
|
6
|
+
CommandManager: () => Et,
|
|
7
7
|
Editor: () => Y,
|
|
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: () =>
|
|
8
|
+
EditorContent: () => Bt,
|
|
9
|
+
Extendable: () => xt,
|
|
10
|
+
Extension: () => Qe,
|
|
11
|
+
Fragment: () => je,
|
|
12
|
+
InputRule: () => pt,
|
|
13
|
+
MappablePosition: () => wt,
|
|
14
|
+
Mark: () => Ie,
|
|
15
|
+
MarkView: () => U,
|
|
16
|
+
MarkViewContent: () => Wt,
|
|
17
|
+
Node: () => kt,
|
|
18
|
+
NodePos: () => ze,
|
|
19
|
+
NodeView: () => H,
|
|
20
|
+
NodeViewContent: () => Vt,
|
|
21
21
|
NodeViewWrapper: () => X,
|
|
22
|
-
PasteRule: () =>
|
|
23
|
-
ResizableNodeView: () =>
|
|
24
|
-
ResizableNodeview: () =>
|
|
25
|
-
Tracker: () =>
|
|
22
|
+
PasteRule: () => gt,
|
|
23
|
+
ResizableNodeView: () => st,
|
|
24
|
+
ResizableNodeview: () => Ye,
|
|
25
|
+
Tracker: () => Ke,
|
|
26
26
|
VueMarkView: () => Q,
|
|
27
|
-
VueMarkViewRenderer: () =>
|
|
27
|
+
VueMarkViewRenderer: () => Gt,
|
|
28
28
|
VueNodeViewRenderer: () => $,
|
|
29
29
|
VueRenderer: () => Z,
|
|
30
30
|
callOrReturn: () => ke,
|
|
31
|
-
canInsertNode: () =>
|
|
32
|
-
cancelPositionCheck: () =>
|
|
33
|
-
combineTransactionSteps: () =>
|
|
34
|
-
commands: () =>
|
|
31
|
+
canInsertNode: () => Mt,
|
|
32
|
+
cancelPositionCheck: () => K,
|
|
33
|
+
combineTransactionSteps: () => Pe,
|
|
34
|
+
commands: () => Ft,
|
|
35
35
|
createAtomBlockMarkdownSpec: () => pe,
|
|
36
36
|
createBlockMarkdownSpec: () => ue,
|
|
37
|
-
createChainableState: () =>
|
|
37
|
+
createChainableState: () => Nt,
|
|
38
38
|
createDocument: () => he,
|
|
39
|
-
createElement: () =>
|
|
39
|
+
createElement: () => G,
|
|
40
40
|
createInlineMarkdownSpec: () => m,
|
|
41
41
|
createMappablePosition: () => fe,
|
|
42
42
|
createNodeFromContent: () => P,
|
|
43
|
-
createStyleTag: () =>
|
|
43
|
+
createStyleTag: () => rt,
|
|
44
44
|
decodeHtmlEntities: () => oe,
|
|
45
|
-
defaultBlockAt: () =>
|
|
45
|
+
defaultBlockAt: () => tt,
|
|
46
46
|
deleteProps: () => A,
|
|
47
47
|
elementFromString: () => M,
|
|
48
48
|
encodeHtmlEntities: () => I,
|
|
@@ -50,7 +50,7 @@ var Rt = /* @__PURE__ */ e({
|
|
|
50
50
|
extensions: () => S,
|
|
51
51
|
findChildren: () => O,
|
|
52
52
|
findChildrenInRange: () => B,
|
|
53
|
-
findDuplicates: () =>
|
|
53
|
+
findDuplicates: () => Rt,
|
|
54
54
|
findParentNode: () => ce,
|
|
55
55
|
findParentNodeClosestToPos: () => ye,
|
|
56
56
|
flattenExtensions: () => b,
|
|
@@ -58,85 +58,86 @@ var Rt = /* @__PURE__ */ e({
|
|
|
58
58
|
generateHTML: () => xe,
|
|
59
59
|
generateJSON: () => v,
|
|
60
60
|
generateText: () => E,
|
|
61
|
-
getAttributes: () =>
|
|
61
|
+
getAttributes: () => yt,
|
|
62
62
|
getAttributesFromExtensions: () => w,
|
|
63
63
|
getChangedRanges: () => Te,
|
|
64
64
|
getDebugJSON: () => Ce,
|
|
65
65
|
getExtensionField: () => De,
|
|
66
66
|
getHTMLFromFragment: () => R,
|
|
67
67
|
getMarkAttributes: () => ie,
|
|
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
|
-
|
|
81
|
-
|
|
82
|
-
|
|
68
|
+
getMarkRange: () => Ue,
|
|
69
|
+
getMarkType: () => Ot,
|
|
70
|
+
getMarksBetween: () => ft,
|
|
71
|
+
getNodeAtPosition: () => Ct,
|
|
72
|
+
getNodeAttributes: () => et,
|
|
73
|
+
getNodeType: () => Ne,
|
|
74
|
+
getRenderedAttributes: () => ht,
|
|
75
|
+
getSchema: () => Tt,
|
|
76
|
+
getSchemaByResolvedExtensions: () => Re,
|
|
77
|
+
getSchemaTypeByName: () => ot,
|
|
78
|
+
getSchemaTypeNameByName: () => jt,
|
|
79
|
+
getSplittedAttributes: () => Ve,
|
|
80
|
+
getStyleProperty: () => Ge,
|
|
81
|
+
getText: () => vt,
|
|
82
|
+
getTextBetween: () => lt,
|
|
83
|
+
getTextContentFromNodes: () => Ze,
|
|
83
84
|
getTextSerializersFromSchema: () => Je,
|
|
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
|
-
mergeAttributes: () =>
|
|
115
|
-
mergeDeep: () =>
|
|
116
|
-
minMax: () =>
|
|
117
|
-
nodeInputRule: () =>
|
|
118
|
-
nodePasteRule: () =>
|
|
119
|
-
nodeViewProps: () =>
|
|
120
|
-
objectIncludes: () =>
|
|
121
|
-
parseAttributes: () =>
|
|
122
|
-
parseIndentedBlocks: () =>
|
|
123
|
-
pasteRulesPlugin: () =>
|
|
124
|
-
posToDOMRect: () =>
|
|
125
|
-
removeDuplicates: () =>
|
|
126
|
-
renderNestedMarkdownContent: () =>
|
|
127
|
-
resolveExtensions: () =>
|
|
128
|
-
resolveFocusPosition: () =>
|
|
129
|
-
rewriteUnknownContent: () =>
|
|
130
|
-
schedulePositionCheck: () =>
|
|
131
|
-
selectionToInsertionEnd: () =>
|
|
132
|
-
serializeAttributes: () =>
|
|
133
|
-
sortExtensions: () =>
|
|
134
|
-
splitExtensions: () =>
|
|
135
|
-
textInputRule: () =>
|
|
136
|
-
textPasteRule: () =>
|
|
137
|
-
textblockTypeInputRule: () =>
|
|
138
|
-
updateMarkViewAttributes: () =>
|
|
139
|
-
useEditor: () =>
|
|
85
|
+
getUpdatedPosition: () => Ae,
|
|
86
|
+
h: () => G,
|
|
87
|
+
injectExtensionAttributesToParseRule: () => Lt,
|
|
88
|
+
inputRulesPlugin: () => Fe,
|
|
89
|
+
isActive: () => It,
|
|
90
|
+
isAndroid: () => me,
|
|
91
|
+
isAtEndOfNode: () => de,
|
|
92
|
+
isAtStartOfNode: () => Pt,
|
|
93
|
+
isEmptyObject: () => ge,
|
|
94
|
+
isExtensionRulesEnabled: () => h,
|
|
95
|
+
isFirefox: () => p,
|
|
96
|
+
isFunction: () => F,
|
|
97
|
+
isList: () => it,
|
|
98
|
+
isMacOS: () => se,
|
|
99
|
+
isMarkActive: () => nt,
|
|
100
|
+
isNodeActive: () => j,
|
|
101
|
+
isNodeEmpty: () => N,
|
|
102
|
+
isNodeSelection: () => L,
|
|
103
|
+
isNodeViewSelected: () => _,
|
|
104
|
+
isNumber: () => C,
|
|
105
|
+
isPlainObject: () => k,
|
|
106
|
+
isRegExp: () => V,
|
|
107
|
+
isSafari: () => zt,
|
|
108
|
+
isString: () => le,
|
|
109
|
+
isTextSelection: () => be,
|
|
110
|
+
isiOS: () => x,
|
|
111
|
+
markInputRule: () => ve,
|
|
112
|
+
markPasteRule: () => Se,
|
|
113
|
+
markViewProps: () => Ut,
|
|
114
|
+
markdown: () => y,
|
|
115
|
+
mergeAttributes: () => D,
|
|
116
|
+
mergeDeep: () => bt,
|
|
117
|
+
minMax: () => T,
|
|
118
|
+
nodeInputRule: () => Ee,
|
|
119
|
+
nodePasteRule: () => we,
|
|
120
|
+
nodeViewProps: () => Kt,
|
|
121
|
+
objectIncludes: () => Oe,
|
|
122
|
+
parseAttributes: () => z,
|
|
123
|
+
parseIndentedBlocks: () => ae,
|
|
124
|
+
pasteRulesPlugin: () => He,
|
|
125
|
+
posToDOMRect: () => Dt,
|
|
126
|
+
removeDuplicates: () => dt,
|
|
127
|
+
renderNestedMarkdownContent: () => St,
|
|
128
|
+
resolveExtensions: () => $e,
|
|
129
|
+
resolveFocusPosition: () => Me,
|
|
130
|
+
rewriteUnknownContent: () => mt,
|
|
131
|
+
schedulePositionCheck: () => W,
|
|
132
|
+
selectionToInsertionEnd: () => Le,
|
|
133
|
+
serializeAttributes: () => at,
|
|
134
|
+
sortExtensions: () => At,
|
|
135
|
+
splitExtensions: () => Be,
|
|
136
|
+
textInputRule: () => We,
|
|
137
|
+
textPasteRule: () => _t,
|
|
138
|
+
textblockTypeInputRule: () => ct,
|
|
139
|
+
updateMarkViewAttributes: () => Xe,
|
|
140
|
+
useEditor: () => Ht,
|
|
140
141
|
wrappingInputRule: () => qe
|
|
141
142
|
});
|
|
142
143
|
function J(e) {
|
|
@@ -153,7 +154,7 @@ function J(e) {
|
|
|
153
154
|
}
|
|
154
155
|
}));
|
|
155
156
|
}
|
|
156
|
-
var Y = class extends
|
|
157
|
+
var Y = class extends ut {
|
|
157
158
|
constructor(e = {}) {
|
|
158
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 }) => {
|
|
159
160
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
@@ -173,7 +174,7 @@ var Y = class extends st {
|
|
|
173
174
|
let t = super.unregisterPlugin(e);
|
|
174
175
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
175
176
|
}
|
|
176
|
-
},
|
|
177
|
+
}, Bt = u({
|
|
177
178
|
name: "EditorContent",
|
|
178
179
|
props: { editor: {
|
|
179
180
|
default: null,
|
|
@@ -181,7 +182,7 @@ var Y = class extends st {
|
|
|
181
182
|
} },
|
|
182
183
|
setup(e) {
|
|
183
184
|
let t = l(), i = re();
|
|
184
|
-
return
|
|
185
|
+
return s(() => {
|
|
185
186
|
let n = e.editor;
|
|
186
187
|
n && n.options.element && t.value && r(() => {
|
|
187
188
|
if (!t.value || !n.view.dom?.parentNode) return;
|
|
@@ -201,7 +202,7 @@ var Y = class extends st {
|
|
|
201
202
|
this.rootEl = e;
|
|
202
203
|
} });
|
|
203
204
|
}
|
|
204
|
-
}),
|
|
205
|
+
}), Vt = u({
|
|
205
206
|
name: "NodeViewContent",
|
|
206
207
|
props: { as: {
|
|
207
208
|
type: String,
|
|
@@ -229,14 +230,13 @@ var Y = class extends st {
|
|
|
229
230
|
onDragstart: this.onDragStart
|
|
230
231
|
}, (e = this.$slots).default?.call(e));
|
|
231
232
|
}
|
|
232
|
-
}),
|
|
233
|
-
let t =
|
|
234
|
-
return
|
|
233
|
+
}), Ht = (e = {}) => {
|
|
234
|
+
let t = te();
|
|
235
|
+
return ee(() => {
|
|
235
236
|
t.value = new Y(e);
|
|
236
237
|
}), n(() => {
|
|
237
|
-
var e
|
|
238
|
-
|
|
239
|
-
(e = r?.parentNode) == null || e.replaceChild(i, r), (n = t.value) == null || n.destroy();
|
|
238
|
+
var e;
|
|
239
|
+
(e = t.value) == null || e.destroy();
|
|
240
240
|
}), t;
|
|
241
241
|
}, Z = class {
|
|
242
242
|
constructor(e, { props: t = {}, editor: n }) {
|
|
@@ -267,7 +267,7 @@ var Y = class extends st {
|
|
|
267
267
|
destroy() {
|
|
268
268
|
this.destroyed || (this.destroyed = !0, this.renderedComponent.destroy());
|
|
269
269
|
}
|
|
270
|
-
},
|
|
270
|
+
}, Ut = {
|
|
271
271
|
editor: {
|
|
272
272
|
type: Object,
|
|
273
273
|
required: !0
|
|
@@ -296,7 +296,7 @@ var Y = class extends st {
|
|
|
296
296
|
type: Object,
|
|
297
297
|
required: !0
|
|
298
298
|
}
|
|
299
|
-
},
|
|
299
|
+
}, Wt = u({
|
|
300
300
|
name: "MarkViewContent",
|
|
301
301
|
props: { as: {
|
|
302
302
|
type: String,
|
|
@@ -308,7 +308,7 @@ var Y = class extends st {
|
|
|
308
308
|
"data-mark-view-content": ""
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
|
-
}), Q = class extends
|
|
311
|
+
}), Q = class extends U {
|
|
312
312
|
constructor(e, t, n) {
|
|
313
313
|
super(e, t, n);
|
|
314
314
|
let r = {
|
|
@@ -343,10 +343,10 @@ var Y = class extends st {
|
|
|
343
343
|
this.renderer.destroy();
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
|
-
function
|
|
346
|
+
function Gt(e, t = {}) {
|
|
347
347
|
return (n) => n.editor.contentComponent ? new Q(e, n, t) : {};
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Kt = {
|
|
350
350
|
editor: {
|
|
351
351
|
type: Object,
|
|
352
352
|
required: !0
|
|
@@ -391,7 +391,7 @@ var Gt = {
|
|
|
391
391
|
type: Object,
|
|
392
392
|
required: !0
|
|
393
393
|
}
|
|
394
|
-
},
|
|
394
|
+
}, qt = class extends H {
|
|
395
395
|
constructor() {
|
|
396
396
|
super(...arguments), this.positionCheckCallback = null, this.cachedExtensionWithSyncedStorage = null;
|
|
397
397
|
}
|
|
@@ -436,7 +436,7 @@ var Gt = {
|
|
|
436
436
|
if (!this.renderer) return;
|
|
437
437
|
let e = this.getPos();
|
|
438
438
|
typeof e != "number" || e === this.currentPos || (this.currentPos = e, this.renderer.updateProps({ getPos: () => this.getPos() }));
|
|
439
|
-
},
|
|
439
|
+
}, W(this.editor, this.positionCheckCallback), this.renderer = new Z(n, {
|
|
440
440
|
editor: this.editor,
|
|
441
441
|
props: e
|
|
442
442
|
});
|
|
@@ -450,7 +450,7 @@ var Gt = {
|
|
|
450
450
|
}
|
|
451
451
|
handleSelectionUpdate() {
|
|
452
452
|
let e = this.getPos();
|
|
453
|
-
if (typeof e == "number") if (
|
|
453
|
+
if (typeof e == "number") if (_({
|
|
454
454
|
selection: this.editor.state.selection,
|
|
455
455
|
pos: e,
|
|
456
456
|
nodeSize: this.node.nodeSize,
|
|
@@ -509,11 +509,11 @@ var Gt = {
|
|
|
509
509
|
return this.decorations.flatMap((e) => e.type.attrs.class).join(" ");
|
|
510
510
|
}
|
|
511
511
|
destroy() {
|
|
512
|
-
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.positionCheckCallback &&= (
|
|
512
|
+
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.positionCheckCallback &&= (K(this.editor, this.positionCheckCallback), null);
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
515
|
function $(e, t) {
|
|
516
|
-
return (n) => n.editor.contentComponent ? new
|
|
516
|
+
return (n) => n.editor.contentComponent ? new qt(typeof e == "function" && "__vccOpts" in e ? e.__vccOpts : e, n, t) : {};
|
|
517
517
|
}
|
|
518
518
|
//#endregion
|
|
519
|
-
export { $ as n,
|
|
519
|
+
export { $ as n, q as r, X as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/linkifyjs@4.3.
|
|
3
|
-
var u = "
|
|
1
|
+
import { Kt as e, R as t, Sn as n, Wt as r, Y as i, b as a, c as o, nt as s, q as c, xn as l } from "./dist-DpF3BN6Y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
|
|
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) {
|
|
5
5
|
return e in t || (t[e] = []), t[e];
|
|
6
6
|
}
|
|
@@ -415,7 +415,7 @@ function st({ groups: e }) {
|
|
|
415
415
|
let p = Z(rt);
|
|
416
416
|
w(f, e.tld, p), w(f, e.utld, p), E(l, O, p);
|
|
417
417
|
let m = E(d, B);
|
|
418
|
-
E(m, B, m), w(m, e.domain, d), w(p, e.domain, d), E(p, z, f), E(p, B, m)
|
|
418
|
+
E(m, B, m), w(m, e.domain, d), w(p, e.domain, d), E(p, z, f), E(p, B, m);
|
|
419
419
|
let h = E(o, B), g = E(o, z);
|
|
420
420
|
E(h, B, h), w(h, e.domain, o), w(g, r, a), w(g, e.domain, o);
|
|
421
421
|
let _ = Z(ot);
|
|
@@ -438,11 +438,11 @@ function st({ groups: e }) {
|
|
|
438
438
|
];
|
|
439
439
|
for (let e = 0; e < S.length; e++) {
|
|
440
440
|
let [r, i] = S[e], a = E(v, r);
|
|
441
|
-
E(y, r, a)
|
|
441
|
+
E(y, r, a);
|
|
442
442
|
let o = Z(ot);
|
|
443
443
|
w(a, t, o);
|
|
444
444
|
let s = Z();
|
|
445
|
-
w(a, n), w(o, t, o), w(o, n, s), w(s, t, o), w(s, n, s), E(o, i, v), E(s, i, v);
|
|
445
|
+
w(a, n, s), E(a, i, v), w(o, t, o), w(o, n, s), w(s, t, o), w(s, n, s), E(o, i, v), E(s, i, v);
|
|
446
446
|
}
|
|
447
447
|
return E(i, O, _), E(i, de, at), {
|
|
448
448
|
start: i,
|
|
@@ -510,19 +510,19 @@ 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.
|
|
513
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4__@tiptap+pm@3.23.4/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
|
-
return new
|
|
520
|
-
key: new
|
|
521
|
-
appendTransaction: (n,
|
|
522
|
-
let c = n.some((e) => e.docChanged) && !
|
|
519
|
+
return new l({
|
|
520
|
+
key: new n("autolink"),
|
|
521
|
+
appendTransaction: (n, r, o) => {
|
|
522
|
+
let c = n.some((e) => e.docChanged) && !r.doc.eq(o.doc), l = n.some((e) => e.getMeta("preventAutolink"));
|
|
523
523
|
if (!c || l) return;
|
|
524
524
|
let { tr: u } = o;
|
|
525
|
-
if (
|
|
525
|
+
if (i(a(r.doc, [...n])).forEach(({ newRange: n }) => {
|
|
526
526
|
let r = t(o.doc, n, (e) => e.isTextblock), i, a;
|
|
527
527
|
if (r.length > 1) i = r[0], a = o.doc.textBetween(i.pos, i.pos + i.node.nodeSize, void 0, " ");
|
|
528
528
|
else if (r.length) {
|
|
@@ -550,8 +550,8 @@ function St(e) {
|
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
552
|
function Ct(e) {
|
|
553
|
-
return new
|
|
554
|
-
key: new
|
|
553
|
+
return new l({
|
|
554
|
+
key: new n("handleClickLink"),
|
|
555
555
|
props: { handleClick: (t, n, r) => {
|
|
556
556
|
if (r.button !== 0 || !t.editable) return !1;
|
|
557
557
|
let i = null;
|
|
@@ -573,8 +573,8 @@ function Ct(e) {
|
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
function wt(e) {
|
|
576
|
-
return new
|
|
577
|
-
key: new
|
|
576
|
+
return new l({
|
|
577
|
+
key: new n("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 [r({
|
|
729
729
|
find: (e) => {
|
|
730
730
|
let t = [];
|
|
731
731
|
if (e) {
|
|
@@ -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-DpF3BN6Y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|
|
5
5
|
addOptions() {
|