@harbour-enterprises/superdoc 0.10.15 → 0.10.17
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/chunks/{super-editor.es-DjyKUhdd.es.js → super-editor.es-4JFeRMC3.es.js} +67 -66
- package/dist/chunks/{super-editor.es-BTtjkrY9.cjs → super-editor.es-C32h3748.cjs} +8 -8
- package/dist/super-editor/chunks/{converter-Cy4sh4X1.js → converter-TDn-QeQW.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-Y758nVr2.js → docx-zipper-Czpx1Z0Z.js} +1 -1
- package/dist/super-editor/chunks/{editor-CQhQmf2I.js → editor-BCaKWQzj.js} +4 -3
- package/dist/super-editor/chunks/{toolbar-CpGnl37U.js → toolbar-BQX5DNr7.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/index.d.ts +1 -0
- package/dist/super-editor/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +137 -136
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +169 -169
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as De from "yjs";
|
|
2
2
|
import { UndoManager as vS, Item as xS, ContentType as kS, Text as SS, XmlElement as AS } from "yjs";
|
|
3
|
-
import { g as Ah, c as pb, r as ye, a as Ee, b as Te, o as Ce, F as yt, d as Mn, n as an, w as Qn, e as at, t as ln, f as Ke, i as xt, h as rp, j as Cn, k as
|
|
3
|
+
import { g as Ah, c as pb, r as ye, a as Ee, b as Te, o as Ce, F as yt, d as Mn, n as an, w as Qn, e as at, t as ln, f as Ke, i as xt, h as rp, j as Cn, k as zn, l as bn, m as bt, q as Ri, s as hb, u as Ur, v as Ft, x as ze, y as $c, z as yi, A as sn, B as be, C as Rt, D as Bn, E as Li, G as Do, H as Ad, I as Cd, J as CS, T as ES, K as wi, L as Ed, M as fl, N as op, O as pl, P as TS, Q as ip, R as $S, S as OS, U as MS, V as DS, W as _S, X as IS } from "./vue-BDbTsTMu.es.js";
|
|
4
4
|
var NS = Object.defineProperty, mb = (t) => {
|
|
5
5
|
throw TypeError(t);
|
|
6
6
|
}, FS = (t, e, n) => e in t ? NS(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, ma = (t, e, n) => FS(t, typeof e != "symbol" ? e + "" : e, n), RS = (t, e, n) => e.has(t) || mb("Cannot " + n), gb = (t, e, n) => e.has(t) ? mb("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), br = (t, e, n) => (RS(t, e, "access private method"), n), Zt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof Ah < "u" ? Ah : typeof self < "u" ? self : {};
|
|
@@ -8964,7 +8964,7 @@ let ia = class rs extends Kt {
|
|
|
8964
8964
|
return Qt.fromReplace(e, this.from, this.to, i);
|
|
8965
8965
|
}
|
|
8966
8966
|
invert() {
|
|
8967
|
-
return new
|
|
8967
|
+
return new Ln(this.from, this.to, this.mark);
|
|
8968
8968
|
}
|
|
8969
8969
|
map(e) {
|
|
8970
8970
|
let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
|
|
@@ -8991,7 +8991,7 @@ let ia = class rs extends Kt {
|
|
|
8991
8991
|
}
|
|
8992
8992
|
};
|
|
8993
8993
|
Kt.jsonID("addMark", ia);
|
|
8994
|
-
let
|
|
8994
|
+
let Ln = class is extends Kt {
|
|
8995
8995
|
/**
|
|
8996
8996
|
Create a mark-removing step.
|
|
8997
8997
|
*/
|
|
@@ -9029,7 +9029,7 @@ let Rn = class is extends Kt {
|
|
|
9029
9029
|
return new is(n.from, n.to, e.markFromJSON(n.mark));
|
|
9030
9030
|
}
|
|
9031
9031
|
};
|
|
9032
|
-
Kt.jsonID("removeMark",
|
|
9032
|
+
Kt.jsonID("removeMark", Ln);
|
|
9033
9033
|
let yp = class ss extends Kt {
|
|
9034
9034
|
/**
|
|
9035
9035
|
Create a node mark step.
|
|
@@ -9242,7 +9242,7 @@ function aE(t, e, n, r) {
|
|
|
9242
9242
|
if (!r.isInSet(d) && u.type.allowsMarkType(r.type)) {
|
|
9243
9243
|
let f = Math.max(c, e), p = Math.min(c + l.nodeSize, n), h = r.addToSet(d);
|
|
9244
9244
|
for (let m = 0; m < d.length; m++)
|
|
9245
|
-
d[m].isInSet(h) || (s && s.to == f && s.mark.eq(d[m]) ? s.to = p : o.push(s = new
|
|
9245
|
+
d[m].isInSet(h) || (s && s.to == f && s.mark.eq(d[m]) ? s.to = p : o.push(s = new Ln(f, p, d[m])));
|
|
9246
9246
|
a && a.to == f ? a.to = p : i.push(a = new ia(f, p, r));
|
|
9247
9247
|
}
|
|
9248
9248
|
}), o.forEach((l) => t.step(l)), i.forEach((l) => t.step(l));
|
|
@@ -9270,7 +9270,7 @@ function lE(t, e, n, r) {
|
|
|
9270
9270
|
f ? (f.to = c, f.step = i) : o.push({ style: d, from: Math.max(a, e), to: c, step: i });
|
|
9271
9271
|
}
|
|
9272
9272
|
}
|
|
9273
|
-
}), o.forEach((s) => t.step(new
|
|
9273
|
+
}), o.forEach((s) => t.step(new Ln(s.from, s.to, s.style)));
|
|
9274
9274
|
}
|
|
9275
9275
|
function bp(t, e, n, r = n.contentMatch, o = !0) {
|
|
9276
9276
|
let i = t.doc.nodeAt(e), s = [], a = e + 1;
|
|
@@ -9281,7 +9281,7 @@ function bp(t, e, n, r = n.contentMatch, o = !0) {
|
|
|
9281
9281
|
else {
|
|
9282
9282
|
r = d;
|
|
9283
9283
|
for (let f = 0; f < c.marks.length; f++)
|
|
9284
|
-
n.allowsMarkType(c.marks[f].type) || t.step(new
|
|
9284
|
+
n.allowsMarkType(c.marks[f].type) || t.step(new Ln(a, u, c.marks[f]));
|
|
9285
9285
|
if (o && c.isText && n.whitespace != "pre") {
|
|
9286
9286
|
let f, p = /\r?\n|\r/g, h;
|
|
9287
9287
|
for (; f = p.exec(c.text); )
|
|
@@ -16255,7 +16255,7 @@ const fs = class v1 {
|
|
|
16255
16255
|
return;
|
|
16256
16256
|
}
|
|
16257
16257
|
}
|
|
16258
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.10.
|
|
16258
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.10.17") {
|
|
16259
16259
|
const r = "docProps/custom.xml";
|
|
16260
16260
|
e[r] || (e[r] = x1());
|
|
16261
16261
|
const o = e["docProps/custom.xml"];
|
|
@@ -16480,7 +16480,7 @@ function p6(t) {
|
|
|
16480
16480
|
function x1() {
|
|
16481
16481
|
return GE;
|
|
16482
16482
|
}
|
|
16483
|
-
function k1(t = 2, e = "0.10.
|
|
16483
|
+
function k1(t = 2, e = "0.10.17") {
|
|
16484
16484
|
return {
|
|
16485
16485
|
type: "element",
|
|
16486
16486
|
name: "property",
|
|
@@ -19514,8 +19514,8 @@ function R6(t, e, n) {
|
|
|
19514
19514
|
return { node: r.startContainer, offset: Math.min(On(r.startContainer), r.startOffset) };
|
|
19515
19515
|
}
|
|
19516
19516
|
}
|
|
19517
|
-
const or = typeof navigator < "u" ? navigator : null, ay = typeof document < "u" ? document : null, oo = or && or.userAgent || "", Kd = /Edge\/(\d+)/.exec(oo), I1 = /MSIE \d/.exec(oo), Jd = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(oo), cn = !!(I1 || Jd || Kd), Xr = I1 ? document.documentMode : Jd ? +Jd[1] : Kd ? +Kd[1] : 0,
|
|
19518
|
-
|
|
19517
|
+
const or = typeof navigator < "u" ? navigator : null, ay = typeof document < "u" ? document : null, oo = or && or.userAgent || "", Kd = /Edge\/(\d+)/.exec(oo), I1 = /MSIE \d/.exec(oo), Jd = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(oo), cn = !!(I1 || Jd || Kd), Xr = I1 ? document.documentMode : Jd ? +Jd[1] : Kd ? +Kd[1] : 0, Pn = !cn && /gecko\/(\d+)/i.test(oo);
|
|
19518
|
+
Pn && +(/Firefox\/(\d+)/.exec(oo) || [0, 0])[1];
|
|
19519
19519
|
const Xd = !cn && /Chrome\/(\d+)/.exec(oo), Ut = !!Xd, N1 = Xd ? +Xd[1] : 0, en = !cn && !!or && /Apple Computer/.test(or.vendor), Ti = en && (/Mobile\/\w+/.test(oo) || !!or && or.maxTouchPoints > 2), $n = Ti || (or ? /Mac/.test(or.platform) : !1), L6 = or ? /Win/.test(or.platform) : !1, xr = /Android \d/.test(oo), la = !!ay && "webkitFontSmoothing" in ay.documentElement.style, B6 = la ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
19520
19520
|
function P6(t) {
|
|
19521
19521
|
let e = t.defaultView && t.defaultView.visualViewport;
|
|
@@ -19706,7 +19706,7 @@ function K6(t, e) {
|
|
|
19706
19706
|
for (let c = s; r && c; c = Ei(c))
|
|
19707
19707
|
c.draggable && (r = void 0);
|
|
19708
19708
|
if (s = H6(s, e), r) {
|
|
19709
|
-
if (
|
|
19709
|
+
if (Pn && r.nodeType == 1 && (o = Math.min(o, r.childNodes.length), o < r.childNodes.length)) {
|
|
19710
19710
|
let u = r.childNodes[o], d;
|
|
19711
19711
|
u.nodeName == "IMG" && (d = u.getBoundingClientRect()).right <= e.left && d.bottom > e.top && o++;
|
|
19712
19712
|
}
|
|
@@ -19731,11 +19731,11 @@ function Fr(t, e) {
|
|
|
19731
19731
|
}
|
|
19732
19732
|
const J6 = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
|
|
19733
19733
|
function P1(t, e, n) {
|
|
19734
|
-
let { node: r, offset: o, atom: i } = t.docView.domFromPos(e, n < 0 ? -1 : 1), s = la ||
|
|
19734
|
+
let { node: r, offset: o, atom: i } = t.docView.domFromPos(e, n < 0 ? -1 : 1), s = la || Pn;
|
|
19735
19735
|
if (r.nodeType == 3)
|
|
19736
19736
|
if (s && (J6.test(r.nodeValue) || (n < 0 ? !o : o == r.nodeValue.length))) {
|
|
19737
19737
|
let a = Fr(mr(r, o, o), n);
|
|
19738
|
-
if (
|
|
19738
|
+
if (Pn && o && /\s/.test(r.nodeValue[o - 1]) && o < r.nodeValue.length) {
|
|
19739
19739
|
let l = Fr(mr(r, o - 1, o - 1), -1);
|
|
19740
19740
|
if (l.top == a.top) {
|
|
19741
19741
|
let c = Fr(mr(r, o, o + 1), -1);
|
|
@@ -20110,7 +20110,7 @@ class ca {
|
|
|
20110
20110
|
h = y;
|
|
20111
20111
|
}
|
|
20112
20112
|
let a = this.domFromPos(e, e ? -1 : 1), l = n == e ? a : this.domFromPos(n, n ? -1 : 1), c = r.root.getSelection(), u = r.domSelectionRange(), d = !1;
|
|
20113
|
-
if ((
|
|
20113
|
+
if ((Pn || en) && e == n) {
|
|
20114
20114
|
let { node: p, offset: h } = a;
|
|
20115
20115
|
if (p.nodeType == 3) {
|
|
20116
20116
|
if (d = !!(h && p.nodeValue[h - 1] == `
|
|
@@ -20129,7 +20129,7 @@ class ca {
|
|
|
20129
20129
|
d = m && (m.nodeName == "BR" || m.contentEditable == "false");
|
|
20130
20130
|
}
|
|
20131
20131
|
}
|
|
20132
|
-
if (
|
|
20132
|
+
if (Pn && u.focusNode && u.focusNode != l.node && u.focusNode.nodeType == 1) {
|
|
20133
20133
|
let p = u.focusNode.childNodes[u.focusOffset];
|
|
20134
20134
|
p && p.contentEditable == "false" && (o = !0);
|
|
20135
20135
|
}
|
|
@@ -21036,7 +21036,7 @@ function f$(t) {
|
|
|
21036
21036
|
if (!n)
|
|
21037
21037
|
return;
|
|
21038
21038
|
let o, i, s = !1;
|
|
21039
|
-
for (
|
|
21039
|
+
for (Pn && n.nodeType == 1 && r < El(n) && xs(n.childNodes[r], -1) && (s = !0); ; )
|
|
21040
21040
|
if (r > 0) {
|
|
21041
21041
|
if (n.nodeType != 1)
|
|
21042
21042
|
break;
|
|
@@ -21599,7 +21599,7 @@ let B$ = class {
|
|
|
21599
21599
|
node: i,
|
|
21600
21600
|
pos: s,
|
|
21601
21601
|
addAttr: !!(this.target && !this.target.draggable),
|
|
21602
|
-
setUneditable: !!(this.target &&
|
|
21602
|
+
setUneditable: !!(this.target && Pn && !this.target.hasAttribute("contentEditable"))
|
|
21603
21603
|
}), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
|
|
21604
21604
|
this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
|
|
21605
21605
|
}, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Vr(e, "pointer");
|
|
@@ -21645,7 +21645,7 @@ nn.compositionstart = nn.compositionupdate = (t) => {
|
|
|
21645
21645
|
let { state: e } = t, n = e.selection.$to;
|
|
21646
21646
|
if (e.selection instanceof Ve && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1)))
|
|
21647
21647
|
t.markCursor = t.state.storedMarks || n.marks(), Tl(t, !0), t.markCursor = null;
|
|
21648
|
-
else if (Tl(t, !e.selection.empty),
|
|
21648
|
+
else if (Tl(t, !e.selection.empty), Pn && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
|
|
21649
21649
|
let r = t.domSelectionRange();
|
|
21650
21650
|
for (let o = r.focusNode, i = r.focusOffset; o && o.nodeType == 1 && i != 0; ) {
|
|
21651
21651
|
let s = i < 0 ? o.lastChild : o.childNodes[i - 1];
|
|
@@ -22473,7 +22473,7 @@ let X$ = class {
|
|
|
22473
22473
|
let d = this.registerMutation(n[u], l);
|
|
22474
22474
|
d && (i = i < 0 ? d.from : Math.min(d.from, i), s = s < 0 ? d.to : Math.max(d.to, s), d.typeOver && (a = !0));
|
|
22475
22475
|
}
|
|
22476
|
-
if (
|
|
22476
|
+
if (Pn && l.length) {
|
|
22477
22477
|
let u = l.filter((d) => d.nodeName == "BR");
|
|
22478
22478
|
if (u.length == 2) {
|
|
22479
22479
|
let [d, f] = u;
|
|
@@ -22524,7 +22524,7 @@ let X$ = class {
|
|
|
22524
22524
|
}, My = /* @__PURE__ */ new WeakMap(), Dy = !1;
|
|
22525
22525
|
function Z$(t) {
|
|
22526
22526
|
if (!My.has(t) && (My.set(t, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace) !== -1)) {
|
|
22527
|
-
if (t.requiresGeckoHackNode =
|
|
22527
|
+
if (t.requiresGeckoHackNode = Pn, Dy)
|
|
22528
22528
|
return;
|
|
22529
22529
|
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), Dy = !0;
|
|
22530
22530
|
}
|
|
@@ -28529,7 +28529,7 @@ const lx = ({ state: t, tr: e, step: n, newTr: r, map: o, doc: i, user: s, date:
|
|
|
28529
28529
|
doc: f,
|
|
28530
28530
|
user: n,
|
|
28531
28531
|
date: l
|
|
28532
|
-
}), console.debug("[track-changes]: addMarkStep")) : d instanceof
|
|
28532
|
+
}), console.debug("[track-changes]: addMarkStep")) : d instanceof Ln ? (ux({
|
|
28533
28533
|
state: e,
|
|
28534
28534
|
tr: t,
|
|
28535
28535
|
step: d,
|
|
@@ -28936,7 +28936,7 @@ const XD = class wx extends J5 {
|
|
|
28936
28936
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
28937
28937
|
*/
|
|
28938
28938
|
processCollaborationMigrations() {
|
|
28939
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
28939
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.17"), !this.options.ydoc) return;
|
|
28940
28940
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
28941
28941
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
28942
28942
|
const n = ew(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|
|
@@ -29197,7 +29197,7 @@ let Bl = XD, st = class bx {
|
|
|
29197
29197
|
static create(...e) {
|
|
29198
29198
|
return new bx(...e);
|
|
29199
29199
|
}
|
|
29200
|
-
},
|
|
29200
|
+
}, Rn = class vx {
|
|
29201
29201
|
constructor(e) {
|
|
29202
29202
|
Pe(this, "type", "mark"), Pe(this, "name", "mark"), Pe(this, "options"), Pe(this, "storage"), Pe(this, "config", {
|
|
29203
29203
|
name: this.name
|
|
@@ -30920,7 +30920,7 @@ const Rx = st.create({
|
|
|
30920
30920
|
}
|
|
30921
30921
|
};
|
|
30922
30922
|
}
|
|
30923
|
-
}), U_ =
|
|
30923
|
+
}), U_ = Rn.create({
|
|
30924
30924
|
name: vn,
|
|
30925
30925
|
group: "comments",
|
|
30926
30926
|
excludes: "",
|
|
@@ -34261,7 +34261,7 @@ const Eo = new ct("ImagePlaceholder"), gI = (t = {}) => new it({
|
|
|
34261
34261
|
renderDOM({ htmlAttributes: t }) {
|
|
34262
34262
|
return ["span", Ne.mergeAttributes(this.options.htmlAttributes, t), 0];
|
|
34263
34263
|
}
|
|
34264
|
-
}), ck =
|
|
34264
|
+
}), ck = Rn.create({
|
|
34265
34265
|
name: "textStyle",
|
|
34266
34266
|
addOptions() {
|
|
34267
34267
|
return {
|
|
@@ -34290,7 +34290,7 @@ const Eo = new ct("ImagePlaceholder"), gI = (t = {}) => new it({
|
|
|
34290
34290
|
}
|
|
34291
34291
|
};
|
|
34292
34292
|
}
|
|
34293
|
-
}), uk =
|
|
34293
|
+
}), uk = Rn.create({
|
|
34294
34294
|
name: "bold",
|
|
34295
34295
|
addOptions() {
|
|
34296
34296
|
return {
|
|
@@ -34322,7 +34322,7 @@ const Eo = new ct("ImagePlaceholder"), gI = (t = {}) => new it({
|
|
|
34322
34322
|
"Mod-B": () => this.editor.commands.toggleBold()
|
|
34323
34323
|
};
|
|
34324
34324
|
}
|
|
34325
|
-
}), dk =
|
|
34325
|
+
}), dk = Rn.create({
|
|
34326
34326
|
name: "italic",
|
|
34327
34327
|
addOptions() {
|
|
34328
34328
|
return {
|
|
@@ -34354,7 +34354,7 @@ const Eo = new ct("ImagePlaceholder"), gI = (t = {}) => new it({
|
|
|
34354
34354
|
"Mod-I": () => this.editor.commands.toggleItalic()
|
|
34355
34355
|
};
|
|
34356
34356
|
}
|
|
34357
|
-
}), fk =
|
|
34357
|
+
}), fk = Rn.create({
|
|
34358
34358
|
name: "underline",
|
|
34359
34359
|
addOptions() {
|
|
34360
34360
|
return {
|
|
@@ -34392,7 +34392,7 @@ const Eo = new ct("ImagePlaceholder"), gI = (t = {}) => new it({
|
|
|
34392
34392
|
"Mod-U": () => this.editor.commands.toggleUnderline()
|
|
34393
34393
|
};
|
|
34394
34394
|
}
|
|
34395
|
-
}), pk =
|
|
34395
|
+
}), pk = Rn.create({
|
|
34396
34396
|
name: "highlight",
|
|
34397
34397
|
addOptions() {
|
|
34398
34398
|
return {
|
|
@@ -34430,7 +34430,7 @@ const Eo = new ct("ImagePlaceholder"), gI = (t = {}) => new it({
|
|
|
34430
34430
|
"Mod-Shift-h": () => this.editor.commands.toggleHighlight()
|
|
34431
34431
|
};
|
|
34432
34432
|
}
|
|
34433
|
-
}), hk =
|
|
34433
|
+
}), hk = Rn.create({
|
|
34434
34434
|
name: "strike",
|
|
34435
34435
|
addOptions() {
|
|
34436
34436
|
return {
|
|
@@ -34459,7 +34459,7 @@ const Eo = new ct("ImagePlaceholder"), gI = (t = {}) => new it({
|
|
|
34459
34459
|
"Mod-Shift-s": () => this.editor.commands.toggleStrike()
|
|
34460
34460
|
};
|
|
34461
34461
|
}
|
|
34462
|
-
}), mk =
|
|
34462
|
+
}), mk = Rn.create({
|
|
34463
34463
|
name: "link",
|
|
34464
34464
|
priority: 1e3,
|
|
34465
34465
|
keepOnSplit: !1,
|
|
@@ -34518,7 +34518,7 @@ function Ow(t, e) {
|
|
|
34518
34518
|
o && n.push(o);
|
|
34519
34519
|
}), !t || t.replace(xI, "").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`, "i"));
|
|
34520
34520
|
}
|
|
34521
|
-
const kI = "track-insert", gk =
|
|
34521
|
+
const kI = "track-insert", gk = Rn.create({
|
|
34522
34522
|
name: Wt,
|
|
34523
34523
|
group: "track",
|
|
34524
34524
|
inclusive: !1,
|
|
@@ -34567,7 +34567,7 @@ const kI = "track-insert", gk = zn.create({
|
|
|
34567
34567
|
renderDOM({ htmlAttributes: t }) {
|
|
34568
34568
|
return ["span", Ne.mergeAttributes(this.options.htmlAttributes, t), 0];
|
|
34569
34569
|
}
|
|
34570
|
-
}), SI = "track-delete", yk =
|
|
34570
|
+
}), SI = "track-delete", yk = Rn.create({
|
|
34571
34571
|
name: wt,
|
|
34572
34572
|
group: "track",
|
|
34573
34573
|
inclusive: !1,
|
|
@@ -34639,7 +34639,7 @@ const kI = "track-insert", gk = zn.create({
|
|
|
34639
34639
|
replaceAroundStep: GD,
|
|
34640
34640
|
replaceStep: lx,
|
|
34641
34641
|
trackedTransaction: dx
|
|
34642
|
-
}, Symbol.toStringTag, { value: "Module" })), AI = "track-format", wk =
|
|
34642
|
+
}, Symbol.toStringTag, { value: "Module" })), AI = "track-format", wk = Rn.create({
|
|
34643
34643
|
name: $t,
|
|
34644
34644
|
group: "track",
|
|
34645
34645
|
inclusive: !1,
|
|
@@ -34729,7 +34729,7 @@ const kI = "track-insert", gk = zn.create({
|
|
|
34729
34729
|
} else if (a.marks && a.marks.find((c) => c.type.name === Wt)) {
|
|
34730
34730
|
const c = a.marks.find((u) => u.type.name === Wt);
|
|
34731
34731
|
o.step(
|
|
34732
|
-
new
|
|
34732
|
+
new Ln(
|
|
34733
34733
|
s.map(Math.max(l, t)),
|
|
34734
34734
|
s.map(Math.min(l + a.nodeSize, e)),
|
|
34735
34735
|
c
|
|
@@ -34738,7 +34738,7 @@ const kI = "track-insert", gk = zn.create({
|
|
|
34738
34738
|
} else if (a.marks && a.marks.find((c) => c.type.name === $t)) {
|
|
34739
34739
|
const c = a.marks.find((u) => u.type.name === $t);
|
|
34740
34740
|
o.step(
|
|
34741
|
-
new
|
|
34741
|
+
new Ln(
|
|
34742
34742
|
s.map(Math.max(l, t)),
|
|
34743
34743
|
s.map(Math.min(l + a.nodeSize, e)),
|
|
34744
34744
|
c
|
|
@@ -34755,7 +34755,7 @@ const kI = "track-insert", gk = zn.create({
|
|
|
34755
34755
|
if (a.marks && a.marks.find((c) => c.type.name === wt)) {
|
|
34756
34756
|
const c = a.marks.find((u) => u.type.name === wt);
|
|
34757
34757
|
o.step(
|
|
34758
|
-
new
|
|
34758
|
+
new Ln(
|
|
34759
34759
|
s.map(Math.max(l, t)),
|
|
34760
34760
|
s.map(Math.min(l + a.nodeSize, e)),
|
|
34761
34761
|
c
|
|
@@ -34780,14 +34780,14 @@ const kI = "track-insert", gk = zn.create({
|
|
|
34780
34780
|
);
|
|
34781
34781
|
}), c.attrs.after.forEach((u) => {
|
|
34782
34782
|
o.step(
|
|
34783
|
-
new
|
|
34783
|
+
new Ln(
|
|
34784
34784
|
s.map(Math.max(l, t)),
|
|
34785
34785
|
s.map(Math.min(l + a.nodeSize, e)),
|
|
34786
34786
|
a.marks.find((d) => d.type.name === u.type)
|
|
34787
34787
|
)
|
|
34788
34788
|
);
|
|
34789
34789
|
}), o.step(
|
|
34790
|
-
new
|
|
34790
|
+
new Ln(
|
|
34791
34791
|
s.map(Math.max(l, t)),
|
|
34792
34792
|
s.map(Math.min(l + a.nodeSize, e)),
|
|
34793
34793
|
c
|
|
@@ -38335,7 +38335,7 @@ function xL(t) {
|
|
|
38335
38335
|
Ms || ll?.then(() => {
|
|
38336
38336
|
e || t();
|
|
38337
38337
|
});
|
|
38338
|
-
}),
|
|
38338
|
+
}), zn(() => {
|
|
38339
38339
|
e = !0;
|
|
38340
38340
|
});
|
|
38341
38341
|
}
|
|
@@ -38427,7 +38427,7 @@ function CL(t = {}, e) {
|
|
|
38427
38427
|
l ? (At("keydown", document, i), At("keyup", document, s)) : (dt("keydown", document, i), dt("keyup", document, s));
|
|
38428
38428
|
});
|
|
38429
38429
|
};
|
|
38430
|
-
return wL() ? (rp(a),
|
|
38430
|
+
return wL() ? (rp(a), zn(() => {
|
|
38431
38431
|
(e === void 0 || e.value) && (dt("keydown", document, i), dt("keyup", document, s));
|
|
38432
38432
|
})) : a(), fl(n);
|
|
38433
38433
|
}
|
|
@@ -38441,7 +38441,7 @@ function Fi(t) {
|
|
|
38441
38441
|
};
|
|
38442
38442
|
Cn(() => {
|
|
38443
38443
|
At("fullscreenchange", document, s);
|
|
38444
|
-
}),
|
|
38444
|
+
}), zn(() => {
|
|
38445
38445
|
dt("fullscreenchange", document, s);
|
|
38446
38446
|
});
|
|
38447
38447
|
}
|
|
@@ -38595,7 +38595,7 @@ const a3 = bt({
|
|
|
38595
38595
|
},
|
|
38596
38596
|
setup(t) {
|
|
38597
38597
|
var e;
|
|
38598
|
-
|
|
38598
|
+
Bn("VBinder", (e = Ri()) === null || e === void 0 ? void 0 : e.proxy);
|
|
38599
38599
|
const n = xt("VBinder", null), r = ye(null), o = (g) => {
|
|
38600
38600
|
r.value = g, n && t.syncTargetWithParent && n.setTargetRef(g);
|
|
38601
38601
|
};
|
|
@@ -38625,7 +38625,7 @@ const a3 = bt({
|
|
|
38625
38625
|
}, y = () => {
|
|
38626
38626
|
p.forEach((g) => g());
|
|
38627
38627
|
};
|
|
38628
|
-
return
|
|
38628
|
+
return zn(() => {
|
|
38629
38629
|
dt("resize", window, y), a();
|
|
38630
38630
|
}), {
|
|
38631
38631
|
targetRef: r,
|
|
@@ -39141,7 +39141,7 @@ const KL = Ra([
|
|
|
39141
39141
|
head: !0,
|
|
39142
39142
|
anchorMetaName: zL,
|
|
39143
39143
|
ssr: a
|
|
39144
|
-
}),
|
|
39144
|
+
}), zn(() => {
|
|
39145
39145
|
s();
|
|
39146
39146
|
}), xL(() => {
|
|
39147
39147
|
n.value && l();
|
|
@@ -39551,7 +39551,7 @@ const E0 = new gB(), T0 = bt({
|
|
|
39551
39551
|
return;
|
|
39552
39552
|
}
|
|
39553
39553
|
o.nextElementSibling !== null && (E0.registerHandler(o.nextElementSibling, r), e = !0);
|
|
39554
|
-
}),
|
|
39554
|
+
}), zn(() => {
|
|
39555
39555
|
e && E0.unregisterHandler(n.$el.nextElementSibling);
|
|
39556
39556
|
});
|
|
39557
39557
|
},
|
|
@@ -39640,7 +39640,7 @@ const wB = bt({
|
|
|
39640
39640
|
}, {
|
|
39641
39641
|
immediate: !0
|
|
39642
39642
|
});
|
|
39643
|
-
}),
|
|
39643
|
+
}), zn(() => {
|
|
39644
39644
|
dt("keydown", document, l), o && f();
|
|
39645
39645
|
});
|
|
39646
39646
|
function c(y) {
|
|
@@ -41574,7 +41574,7 @@ const M7 = {
|
|
|
41574
41574
|
Ae && (q ? Ae.classList.remove(`${ge}-scrollbar-rail--disabled`) : Ae.classList.add(`${ge}-scrollbar-rail--disabled`)), $e && (te ? $e.classList.remove(`${ge}-scrollbar-rail--disabled`) : $e.classList.add(`${ge}-scrollbar-rail--disabled`));
|
|
41575
41575
|
}), Cn(() => {
|
|
41576
41576
|
t.container || he();
|
|
41577
|
-
}),
|
|
41577
|
+
}), zn(() => {
|
|
41578
41578
|
O !== void 0 && window.clearTimeout(O), M !== void 0 && window.clearTimeout(M), dt("mousemove", window, $, !0), dt("mouseup", window, D, !0);
|
|
41579
41579
|
});
|
|
41580
41580
|
const J = Ee(() => {
|
|
@@ -42519,7 +42519,7 @@ const cj = bt({
|
|
|
42519
42519
|
}), m = i ? vc("popover", void 0, p, t) : void 0;
|
|
42520
42520
|
l.setBodyInstance({
|
|
42521
42521
|
syncPosition: y
|
|
42522
|
-
}),
|
|
42522
|
+
}), zn(() => {
|
|
42523
42523
|
l.setBodyInstance(null);
|
|
42524
42524
|
}), bn(Rt(t, "show"), (M) => {
|
|
42525
42525
|
t.animated || (M ? u.value = !0 : u.value = !1);
|
|
@@ -42543,7 +42543,7 @@ const cj = bt({
|
|
|
42543
42543
|
function T() {
|
|
42544
42544
|
return l.getTriggerElement();
|
|
42545
42545
|
}
|
|
42546
|
-
|
|
42546
|
+
Bn(yc, c), Bn(ih, null), Bn(sh, null);
|
|
42547
42547
|
function O() {
|
|
42548
42548
|
if (m?.onRender(), !(t.displayDirective === "show" || t.show || t.animated && d.value))
|
|
42549
42549
|
return null;
|
|
@@ -42880,7 +42880,7 @@ const Cc = {
|
|
|
42880
42880
|
function U(C) {
|
|
42881
42881
|
d = C;
|
|
42882
42882
|
}
|
|
42883
|
-
return
|
|
42883
|
+
return Bn("NPopover", {
|
|
42884
42884
|
getTriggerElement: _,
|
|
42885
42885
|
handleKeydown: W,
|
|
42886
42886
|
handleMouseEnter: T,
|
|
@@ -43422,7 +43422,7 @@ const Y3 = bt({
|
|
|
43422
43422
|
} = i;
|
|
43423
43423
|
return X !== null ? F.includes(V) : de !== null ? F.includes(V) && F[F.length - 1] !== V : Q !== null ? F.includes(V) : !1;
|
|
43424
43424
|
}), M = Ee(() => r.value === null && !a.value), N = TL(O, 300, M), S = Ee(() => !!y?.enteringSubmenuRef.value), W = ye(!1);
|
|
43425
|
-
|
|
43425
|
+
Bn(cb, {
|
|
43426
43426
|
enteringSubmenuRef: W
|
|
43427
43427
|
});
|
|
43428
43428
|
function oe() {
|
|
@@ -43667,7 +43667,7 @@ const Y3 = bt({
|
|
|
43667
43667
|
renderIconRef: e,
|
|
43668
43668
|
childrenFieldRef: n
|
|
43669
43669
|
} = xt(Ec);
|
|
43670
|
-
|
|
43670
|
+
Bn(Sh, {
|
|
43671
43671
|
showIconRef: Ee(() => {
|
|
43672
43672
|
const o = e.value;
|
|
43673
43673
|
return t.tmNodes.some((i) => {
|
|
@@ -43700,7 +43700,7 @@ const Y3 = bt({
|
|
|
43700
43700
|
})
|
|
43701
43701
|
});
|
|
43702
43702
|
const r = ye(null);
|
|
43703
|
-
return
|
|
43703
|
+
return Bn(sh, null), Bn(ih, null), Bn(yc, r), {
|
|
43704
43704
|
bodyRef: r
|
|
43705
43705
|
};
|
|
43706
43706
|
},
|
|
@@ -43964,7 +43964,7 @@ const Y3 = bt({
|
|
|
43964
43964
|
mergedClsPrefixRef: f,
|
|
43965
43965
|
inlineThemeDisabled: p
|
|
43966
43966
|
} = Hi(t), h = mn("Dropdown", "-dropdown", _j, gj, t, f);
|
|
43967
|
-
|
|
43967
|
+
Bn(Ec, {
|
|
43968
43968
|
labelFieldRef: Rt(t, "labelField"),
|
|
43969
43969
|
childrenFieldRef: Rt(t, "childrenField"),
|
|
43970
43970
|
renderLabelRef: Rt(t, "renderLabel"),
|
|
@@ -46335,7 +46335,7 @@ const lU = (t, e) => {
|
|
|
46335
46335
|
const T = i.value.getPageStyles(), { pageMargins: O } = T, M = { ...O, [x]: w };
|
|
46336
46336
|
i.value?.updatePageStyle({ pageMargins: M });
|
|
46337
46337
|
};
|
|
46338
|
-
return
|
|
46338
|
+
return zn(() => {
|
|
46339
46339
|
c(), i.value?.destroy(), i.value = null;
|
|
46340
46340
|
}), (x, w) => (Ce(), Te("div", pU, [
|
|
46341
46341
|
t.options.rulers && i.value ? (Ce(), Ur(fU, {
|
|
@@ -46468,7 +46468,7 @@ const lU = (t, e) => {
|
|
|
46468
46468
|
};
|
|
46469
46469
|
return Cn(() => {
|
|
46470
46470
|
u();
|
|
46471
|
-
}),
|
|
46471
|
+
}), zn(() => {
|
|
46472
46472
|
o.value?.destroy(), o.value = null;
|
|
46473
46473
|
}), (p, h) => (Ce(), Te("div", {
|
|
46474
46474
|
class: an(["super-editor super-input", { "super-input-active": s.value }]),
|
|
@@ -46490,7 +46490,8 @@ const lU = (t, e) => {
|
|
|
46490
46490
|
Node: st,
|
|
46491
46491
|
Attribute: Ne,
|
|
46492
46492
|
Extension: ft,
|
|
46493
|
-
Plugin: it
|
|
46493
|
+
Plugin: it,
|
|
46494
|
+
Mark: Rn
|
|
46494
46495
|
};
|
|
46495
46496
|
export {
|
|
46496
46497
|
rx as A,
|
|
@@ -46499,18 +46500,18 @@ export {
|
|
|
46499
46500
|
Hj as I,
|
|
46500
46501
|
ny as N,
|
|
46501
46502
|
tV as X,
|
|
46502
|
-
|
|
46503
|
-
iU as Z,
|
|
46503
|
+
iU as Y,
|
|
46504
46504
|
Io as a,
|
|
46505
|
-
|
|
46505
|
+
aV as b,
|
|
46506
46506
|
oV as c,
|
|
46507
46507
|
Tt as d,
|
|
46508
46508
|
lc as e,
|
|
46509
46509
|
qk as f,
|
|
46510
|
-
|
|
46510
|
+
nV as g,
|
|
46511
46511
|
Nt as h,
|
|
46512
46512
|
Bl as j,
|
|
46513
|
-
|
|
46514
|
-
|
|
46515
|
-
|
|
46513
|
+
lV as k,
|
|
46514
|
+
iV as v,
|
|
46515
|
+
cV as w,
|
|
46516
|
+
sV as y
|
|
46516
46517
|
};
|