@zipify/wysiwyg 1.0.0-dev.65 → 1.0.0-dev.66
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/wysiwyg.mjs +175 -109
- package/lib/__tests__/utils/index.js +0 -1
- package/lib/composables/__tests__/useEditor.test.js +1 -1
- package/lib/extensions/__tests__/Alignment.test.js +1 -2
- package/lib/extensions/__tests__/BackgroundColor.test.js +1 -2
- package/lib/extensions/__tests__/CaseStyle.test.js +1 -2
- package/lib/extensions/__tests__/FontColor.test.js +1 -2
- package/lib/extensions/__tests__/FontFamily.test.js +1 -2
- package/lib/extensions/__tests__/FontSize.test.js +1 -2
- package/lib/extensions/__tests__/FontStyle.test.js +1 -2
- package/lib/extensions/__tests__/FontWeight.test.js +1 -2
- package/lib/extensions/__tests__/LineHeight.test.js +1 -2
- package/lib/extensions/__tests__/Link.test.js +1 -2
- package/lib/extensions/__tests__/StylePreset.test.js +1 -2
- package/lib/extensions/__tests__/TextDecoration.test.js +1 -2
- package/lib/extensions/core/__tests__/NodeProcessor.test.js +1 -2
- package/lib/extensions/core/__tests__/SelectionProcessor.test.js +1 -2
- package/lib/extensions/core/__tests__/TextProcessor.test.js +1 -2
- package/lib/extensions/list/__tests__/List.test.js +1 -2
- package/lib/index.js +2 -0
- package/lib/{__tests__/utils → services}/NodeFactory.js +1 -1
- package/lib/services/__tests__/ContentNormalizer.test.js +1 -1
- package/lib/services/index.js +1 -0
- package/package.json +1 -1
package/dist/wysiwyg.mjs
CHANGED
|
@@ -9234,16 +9234,16 @@ function ef(r) {
|
|
|
9234
9234
|
}
|
|
9235
9235
|
var j = Object.assign({
|
|
9236
9236
|
position: a
|
|
9237
|
-
}, u && cS),
|
|
9237
|
+
}, u && cS), ee = c === !0 ? uS({
|
|
9238
9238
|
x: h,
|
|
9239
9239
|
y: m
|
|
9240
9240
|
}) : {
|
|
9241
9241
|
x: h,
|
|
9242
9242
|
y: m
|
|
9243
9243
|
};
|
|
9244
|
-
if (h =
|
|
9245
|
-
var
|
|
9246
|
-
return Object.assign({}, j, (
|
|
9244
|
+
if (h = ee.x, m = ee.y, l) {
|
|
9245
|
+
var Y;
|
|
9246
|
+
return Object.assign({}, j, (Y = {}, Y[_] = y ? "0" : "", Y[D] = g ? "0" : "", Y.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", Y));
|
|
9247
9247
|
}
|
|
9248
9248
|
return Object.assign({}, j, (e = {}, e[_] = y ? m + "px" : "", e[D] = g ? h + "px" : "", e.transform = "", e));
|
|
9249
9249
|
}
|
|
@@ -9462,8 +9462,8 @@ function ii(r, e) {
|
|
|
9462
9462
|
if (c === Cn && F) {
|
|
9463
9463
|
var V = F[i];
|
|
9464
9464
|
Object.keys(E).forEach(function(j) {
|
|
9465
|
-
var
|
|
9466
|
-
E[j] += V[
|
|
9465
|
+
var ee = [He, Ve].indexOf(j) >= 0 ? 1 : -1, Y = [Ce, Ve].indexOf(j) >= 0 ? "y" : "x";
|
|
9466
|
+
E[j] += V[Y] * ee;
|
|
9467
9467
|
});
|
|
9468
9468
|
}
|
|
9469
9469
|
return E;
|
|
@@ -9507,25 +9507,25 @@ function wS(r) {
|
|
|
9507
9507
|
allowedAutoPlacements: m
|
|
9508
9508
|
}) : At);
|
|
9509
9509
|
}, []), x = e.rects.reference, b = e.rects.popper, C = /* @__PURE__ */ new Map(), E = !0, F = _[0], V = 0; V < _.length; V++) {
|
|
9510
|
-
var j = _[V],
|
|
9510
|
+
var j = _[V], ee = et(j), Y = dn(j) === ln, at = [Ce, Ve].indexOf(ee) >= 0, Ee = at ? "width" : "height", X = ii(e, {
|
|
9511
9511
|
placement: j,
|
|
9512
9512
|
boundary: c,
|
|
9513
9513
|
rootBoundary: f,
|
|
9514
9514
|
altBoundary: d,
|
|
9515
9515
|
padding: u
|
|
9516
|
-
}), De = at ?
|
|
9516
|
+
}), De = at ? Y ? He : Oe : Y ? Ve : Ce;
|
|
9517
9517
|
x[Ee] > b[Ee] && (De = Wi(De));
|
|
9518
|
-
var Tr = Wi(De),
|
|
9519
|
-
if (o &&
|
|
9518
|
+
var Tr = Wi(De), G = [];
|
|
9519
|
+
if (o && G.push(X[ee] <= 0), a && G.push(X[De] <= 0, X[Tr] <= 0), G.every(function(Mr) {
|
|
9520
9520
|
return Mr;
|
|
9521
9521
|
})) {
|
|
9522
9522
|
F = j, E = !1;
|
|
9523
9523
|
break;
|
|
9524
9524
|
}
|
|
9525
|
-
C.set(j,
|
|
9525
|
+
C.set(j, G);
|
|
9526
9526
|
}
|
|
9527
9527
|
if (E)
|
|
9528
|
-
for (var
|
|
9528
|
+
for (var Z = p ? 3 : 1, St = function(At) {
|
|
9529
9529
|
var wn = _.find(function(bi) {
|
|
9530
9530
|
var er = C.get(bi);
|
|
9531
9531
|
if (er)
|
|
@@ -9535,7 +9535,7 @@ function wS(r) {
|
|
|
9535
9535
|
});
|
|
9536
9536
|
if (wn)
|
|
9537
9537
|
return F = wn, "break";
|
|
9538
|
-
}, Dn =
|
|
9538
|
+
}, Dn = Z; Dn > 0; Dn--) {
|
|
9539
9539
|
var yi = St(Dn);
|
|
9540
9540
|
if (yi === "break")
|
|
9541
9541
|
break;
|
|
@@ -9650,23 +9650,23 @@ function IS(r) {
|
|
|
9650
9650
|
} : Object.assign({
|
|
9651
9651
|
mainAxis: 0,
|
|
9652
9652
|
altAxis: 0
|
|
9653
|
-
}, F), j = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null,
|
|
9653
|
+
}, F), j = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, ee = {
|
|
9654
9654
|
x: 0,
|
|
9655
9655
|
y: 0
|
|
9656
9656
|
};
|
|
9657
9657
|
if (!!b) {
|
|
9658
9658
|
if (o) {
|
|
9659
|
-
var
|
|
9659
|
+
var Y, at = _ === "y" ? Ce : Oe, Ee = _ === "y" ? Ve : He, X = _ === "y" ? "height" : "width", De = b[_], Tr = De + v[at], G = De - v[Ee], Z = h ? -E[X] / 2 : 0, St = y === ln ? C[X] : E[X], Dn = y === ln ? -E[X] : -C[X], yi = e.elements.arrow, Mr = h && yi ? Vl(yi) : {
|
|
9660
9660
|
width: 0,
|
|
9661
9661
|
height: 0
|
|
9662
|
-
}, At = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Pm(), wn = At[at], bi = At[Ee], er = Wn(0, C[
|
|
9663
|
-
b[_] = Vc,
|
|
9662
|
+
}, At = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Pm(), wn = At[at], bi = At[Ee], er = Wn(0, C[X], Mr[X]), ys = D ? C[X] / 2 - Z - er - wn - V.mainAxis : St - er - wn - V.mainAxis, Gg = D ? -C[X] / 2 + Z + er + bi + V.mainAxis : Dn + er + bi + V.mainAxis, bs = e.elements.arrow && fi(e.elements.arrow), Jg = bs ? _ === "y" ? bs.clientTop || 0 : bs.clientLeft || 0 : 0, jc = (Y = j == null ? void 0 : j[_]) != null ? Y : 0, Yg = De + ys - jc - Jg, Xg = De + Gg - jc, Vc = Wn(h ? po(Tr, Yg) : Tr, De, h ? pr(G, Xg) : G);
|
|
9663
|
+
b[_] = Vc, ee[_] = Vc - De;
|
|
9664
9664
|
}
|
|
9665
9665
|
if (a) {
|
|
9666
9666
|
var Hc, Zg = _ === "x" ? Ce : Oe, Qg = _ === "x" ? Ve : He, tr = b[x], _i = x === "y" ? "height" : "width", Wc = tr + v[Zg], qc = tr - v[Qg], _s = [Ce, Oe].indexOf(g) !== -1, Uc = (Hc = j == null ? void 0 : j[x]) != null ? Hc : 0, Kc = _s ? Wc : tr - C[_i] - E[_i] - Uc + V.altAxis, Gc = _s ? tr + C[_i] + E[_i] - Uc - V.altAxis : qc, Jc = h && _s ? iS(Kc, tr, Gc) : Wn(h ? Kc : Wc, tr, h ? Gc : qc);
|
|
9667
|
-
b[x] = Jc,
|
|
9667
|
+
b[x] = Jc, ee[x] = Jc - tr;
|
|
9668
9668
|
}
|
|
9669
|
-
e.modifiersData[n] =
|
|
9669
|
+
e.modifiersData[n] = ee;
|
|
9670
9670
|
}
|
|
9671
9671
|
}
|
|
9672
9672
|
const NS = {
|
|
@@ -9854,13 +9854,13 @@ function GS(r) {
|
|
|
9854
9854
|
return j.enabled;
|
|
9855
9855
|
}), process.env.NODE_ENV !== "production") {
|
|
9856
9856
|
var _ = qS([].concat(D, c.options.modifiers), function(j) {
|
|
9857
|
-
var
|
|
9858
|
-
return
|
|
9857
|
+
var ee = j.name;
|
|
9858
|
+
return ee;
|
|
9859
9859
|
});
|
|
9860
9860
|
if (WS(_), et(c.options.placement) === es) {
|
|
9861
9861
|
var x = c.orderedModifiers.find(function(j) {
|
|
9862
|
-
var
|
|
9863
|
-
return
|
|
9862
|
+
var ee = j.name;
|
|
9863
|
+
return ee === "flip";
|
|
9864
9864
|
});
|
|
9865
9865
|
x || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
|
|
9866
9866
|
}
|
|
@@ -10013,7 +10013,7 @@ const XS = {
|
|
|
10013
10013
|
this.JUSTIFY
|
|
10014
10014
|
];
|
|
10015
10015
|
}
|
|
10016
|
-
}),
|
|
10016
|
+
}), U = Object.freeze({
|
|
10017
10017
|
DOCUMENT: "doc",
|
|
10018
10018
|
PARAGRAPH: "paragraph",
|
|
10019
10019
|
HEADING: "heading",
|
|
@@ -10530,17 +10530,17 @@ var xe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
10530
10530
|
license: "https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE",
|
|
10531
10531
|
source: "https://github.com/zloirock/core-js"
|
|
10532
10532
|
});
|
|
10533
|
-
var
|
|
10533
|
+
var J = function(r) {
|
|
10534
10534
|
try {
|
|
10535
10535
|
return !!r();
|
|
10536
10536
|
} catch {
|
|
10537
10537
|
return !0;
|
|
10538
10538
|
}
|
|
10539
|
-
}, uD =
|
|
10539
|
+
}, uD = J, ns = !uD(function() {
|
|
10540
10540
|
var r = function() {
|
|
10541
10541
|
}.bind();
|
|
10542
10542
|
return typeof r != "function" || r.hasOwnProperty("prototype");
|
|
10543
|
-
}), Km = ns, Gm = Function.prototype, fD = Gm.bind, rl = Gm.call, dD = Km && fD.bind(rl, rl),
|
|
10543
|
+
}), Km = ns, Gm = Function.prototype, fD = Gm.bind, rl = Gm.call, dD = Km && fD.bind(rl, rl), K = Km ? function(r) {
|
|
10544
10544
|
return r && dD(r);
|
|
10545
10545
|
} : function(r) {
|
|
10546
10546
|
return r && function() {
|
|
@@ -10552,9 +10552,9 @@ var G = function(r) {
|
|
|
10552
10552
|
return r;
|
|
10553
10553
|
}, pD = vn, mD = Object, gn = function(r) {
|
|
10554
10554
|
return mD(pD(r));
|
|
10555
|
-
}, vD =
|
|
10555
|
+
}, vD = K, gD = gn, yD = vD({}.hasOwnProperty), it = Object.hasOwn || function(e, t) {
|
|
10556
10556
|
return yD(gD(e), t);
|
|
10557
|
-
}, bD =
|
|
10557
|
+
}, bD = K, _D = 0, SD = Math.random(), ED = bD(1 .toString), Yl = function(r) {
|
|
10558
10558
|
return "Symbol(" + (r === void 0 ? "" : r) + ")_" + ED(++_D + SD, 36);
|
|
10559
10559
|
}, re = function(r) {
|
|
10560
10560
|
return typeof r == "function";
|
|
@@ -10565,7 +10565,7 @@ var G = function(r) {
|
|
|
10565
10565
|
}, xD = di, CD = xD("navigator", "userAgent") || "", Jm = le, Hs = CD, bf = Jm.process, _f = Jm.Deno, Sf = bf && bf.versions || _f && _f.version, Ef = Sf && Sf.v8, Ge, vo;
|
|
10566
10566
|
Ef && (Ge = Ef.split("."), vo = Ge[0] > 0 && Ge[0] < 4 ? 1 : +(Ge[0] + Ge[1]));
|
|
10567
10567
|
!vo && Hs && (Ge = Hs.match(/Edge\/(\d+)/), (!Ge || Ge[1] >= 74) && (Ge = Hs.match(/Chrome\/(\d+)/), Ge && (vo = +Ge[1])));
|
|
10568
|
-
var Xl = vo, Df = Xl, OD =
|
|
10568
|
+
var Xl = vo, Df = Xl, OD = J, Ym = !!Object.getOwnPropertySymbols && !OD(function() {
|
|
10569
10569
|
var r = Symbol();
|
|
10570
10570
|
return !String(r) || !(Object(r) instanceof Symbol) || !Symbol.sham && Df && Df < 41;
|
|
10571
10571
|
}), kD = Ym, Xm = kD && !Symbol.sham && typeof Symbol.iterator == "symbol", AD = le, TD = rs.exports, wf = it, MD = Yl, xf = Ym, Zm = Xm, Ir = TD("wks"), mr = AD.Symbol, Cf = mr && mr.for, $D = Zm ? mr : mr && mr.withoutSetter || MD, Se = function(r) {
|
|
@@ -10576,7 +10576,7 @@ var Xl = vo, Df = Xl, OD = G, Ym = !!Object.getOwnPropertySymbols && !OD(functio
|
|
|
10576
10576
|
return Ir[r];
|
|
10577
10577
|
}, FD = Se, ID = FD("toStringTag"), Qm = {};
|
|
10578
10578
|
Qm[ID] = "z";
|
|
10579
|
-
var Zl = String(Qm) === "[object z]", ot = {}, ND =
|
|
10579
|
+
var Zl = String(Qm) === "[object z]", ot = {}, ND = J, st = !ND(function() {
|
|
10580
10580
|
return Object.defineProperty({}, 1, { get: function() {
|
|
10581
10581
|
return 7;
|
|
10582
10582
|
} })[1] != 7;
|
|
@@ -10584,13 +10584,13 @@ var Zl = String(Qm) === "[object z]", ot = {}, ND = G, st = !ND(function() {
|
|
|
10584
10584
|
return typeof r == "object" ? r !== null : RD(r);
|
|
10585
10585
|
}, PD = le, Of = We, nl = PD.document, BD = Of(nl) && Of(nl.createElement), Ql = function(r) {
|
|
10586
10586
|
return BD ? nl.createElement(r) : {};
|
|
10587
|
-
}, LD = st, zD =
|
|
10587
|
+
}, LD = st, zD = J, jD = Ql, ev = !LD && !zD(function() {
|
|
10588
10588
|
return Object.defineProperty(jD("div"), "a", {
|
|
10589
10589
|
get: function() {
|
|
10590
10590
|
return 7;
|
|
10591
10591
|
}
|
|
10592
10592
|
}).a != 7;
|
|
10593
|
-
}), VD = st, HD =
|
|
10593
|
+
}), VD = st, HD = J, tv = VD && HD(function() {
|
|
10594
10594
|
return Object.defineProperty(function() {
|
|
10595
10595
|
}, "prototype", {
|
|
10596
10596
|
value: 42,
|
|
@@ -10602,7 +10602,7 @@ var Zl = String(Qm) === "[object z]", ot = {}, ND = G, st = !ND(function() {
|
|
|
10602
10602
|
throw UD(qD(r) + " is not an object");
|
|
10603
10603
|
}, KD = ns, Ci = Function.prototype.call, qe = KD ? Ci.bind(Ci) : function() {
|
|
10604
10604
|
return Ci.apply(Ci, arguments);
|
|
10605
|
-
}, GD =
|
|
10605
|
+
}, GD = K, ec = GD({}.isPrototypeOf), JD = di, YD = re, XD = ec, ZD = Xm, QD = Object, rv = ZD ? function(r) {
|
|
10606
10606
|
return typeof r == "symbol";
|
|
10607
10607
|
} : function(r) {
|
|
10608
10608
|
var e = JD("Symbol");
|
|
@@ -10664,7 +10664,7 @@ var nv = { exports: {} }, il = st, Sw = it, iv = Function.prototype, Ew = il &&
|
|
|
10664
10664
|
EXISTS: nc,
|
|
10665
10665
|
PROPER: Dw,
|
|
10666
10666
|
CONFIGURABLE: ww
|
|
10667
|
-
}, xw =
|
|
10667
|
+
}, xw = K, Cw = re, ol = Jl, Ow = xw(Function.toString);
|
|
10668
10668
|
Cw(ol.inspectSource) || (ol.inspectSource = function(r) {
|
|
10669
10669
|
return Ow(r);
|
|
10670
10670
|
});
|
|
@@ -10681,7 +10681,7 @@ var oc = ol.inspectSource, kw = le, Aw = re, Tw = oc, Mf = kw.WeakMap, ov = Aw(M
|
|
|
10681
10681
|
return r[e] = t, r;
|
|
10682
10682
|
}, Iw = rs.exports, Nw = Yl, $f = Iw("keys"), sc = function(r) {
|
|
10683
10683
|
return $f[r] || ($f[r] = Nw(r));
|
|
10684
|
-
}, as = {}, Rw = ov, sv = le, Xs =
|
|
10684
|
+
}, as = {}, Rw = ov, sv = le, Xs = K, Pw = We, Bw = yn, Zs = it, Qs = Jl, Lw = sc, zw = as, Ff = "Object already initialized", sl = sv.TypeError, jw = sv.WeakMap, go, oi, yo, Vw = function(r) {
|
|
10685
10685
|
return yo(r) ? oi(r) : go(r, {});
|
|
10686
10686
|
}, Hw = function(r) {
|
|
10687
10687
|
return function(e) {
|
|
@@ -10720,7 +10720,7 @@ var bn = {
|
|
|
10720
10720
|
has: yo,
|
|
10721
10721
|
enforce: Vw,
|
|
10722
10722
|
getterFor: Hw
|
|
10723
|
-
}, Uw =
|
|
10723
|
+
}, Uw = J, Kw = re, ki = it, al = st, Gw = ic.CONFIGURABLE, Jw = oc, av = bn, Yw = av.enforce, Xw = av.get, qi = Object.defineProperty, Zw = al && !Uw(function() {
|
|
10724
10724
|
return qi(function() {
|
|
10725
10725
|
}, "length", { value: 8 }).length !== 8;
|
|
10726
10726
|
}), Qw = String(String).split("String"), ex = nv.exports = function(r, e, t) {
|
|
@@ -10753,7 +10753,7 @@ var tx = re, rx = ot, nx = nv.exports, ix = Gl, xr = function(r, e, t, n) {
|
|
|
10753
10753
|
});
|
|
10754
10754
|
}
|
|
10755
10755
|
return r;
|
|
10756
|
-
}, lv =
|
|
10756
|
+
}, lv = K, ox = lv({}.toString), sx = lv("".slice), Cr = function(r) {
|
|
10757
10757
|
return sx(ox(r), 8, -1);
|
|
10758
10758
|
}, ax = Zl, lx = re, Ui = Cr, cx = Se, ux = cx("toStringTag"), fx = Object, dx = Ui(function() {
|
|
10759
10759
|
return arguments;
|
|
@@ -10801,11 +10801,11 @@ var cv = {
|
|
|
10801
10801
|
TextTrackCueList: 0,
|
|
10802
10802
|
TextTrackList: 0,
|
|
10803
10803
|
TouchList: 0
|
|
10804
|
-
}, _x = Ql, ea = _x("span").classList, Nf = ea && ea.constructor && ea.constructor.prototype, uv = Nf === Object.prototype ? void 0 : Nf, Rf =
|
|
10804
|
+
}, _x = Ql, ea = _x("span").classList, Nf = ea && ea.constructor && ea.constructor.prototype, uv = Nf === Object.prototype ? void 0 : Nf, Rf = K, Sx = is, Ex = ns, Dx = Rf(Rf.bind), fv = function(r, e) {
|
|
10805
10805
|
return Sx(r), e === void 0 ? r : Ex ? Dx(r, e) : function() {
|
|
10806
10806
|
return r.apply(e, arguments);
|
|
10807
10807
|
};
|
|
10808
|
-
}, wx =
|
|
10808
|
+
}, wx = K, xx = J, Cx = Cr, ta = Object, Ox = wx("".split), cs = xx(function() {
|
|
10809
10809
|
return !ta("z").propertyIsEnumerable(0);
|
|
10810
10810
|
}) ? function(r) {
|
|
10811
10811
|
return Cx(r) == "String" ? Ox(r, "") : ta(r);
|
|
@@ -10821,7 +10821,7 @@ var cv = {
|
|
|
10821
10821
|
return Ix(r.length);
|
|
10822
10822
|
}, Nx = Cr, Rx = Array.isArray || function(e) {
|
|
10823
10823
|
return Nx(e) == "Array";
|
|
10824
|
-
}, Px =
|
|
10824
|
+
}, Px = K, Bx = J, dv = re, Lx = ls, zx = di, jx = oc, hv = function() {
|
|
10825
10825
|
}, Vx = [], pv = zx("Reflect", "construct"), lc = /^\s*(?:class|function)\b/, Hx = Px(lc.exec), Wx = !lc.exec(hv), On = function(e) {
|
|
10826
10826
|
if (!dv(e))
|
|
10827
10827
|
return !1;
|
|
@@ -10856,7 +10856,7 @@ var qx = !pv || Bx(function() {
|
|
|
10856
10856
|
return Pf(r) && (e = r.constructor, Ux(e) && (e === Bf || Pf(e.prototype)) ? e = void 0 : Kx(e) && (e = e[Jx], e === null && (e = void 0))), e === void 0 ? Bf : e;
|
|
10857
10857
|
}, Xx = Yx, Zx = function(r, e) {
|
|
10858
10858
|
return new (Xx(r))(e === 0 ? 0 : e);
|
|
10859
|
-
}, Qx = fv, eC =
|
|
10859
|
+
}, Qx = fv, eC = K, tC = cs, rC = gn, nC = pi, iC = Zx, Lf = eC([].push), $t = function(r) {
|
|
10860
10860
|
var e = r == 1, t = r == 2, n = r == 3, i = r == 4, o = r == 6, s = r == 7, a = r == 5 || o;
|
|
10861
10861
|
return function(l, u, c, f) {
|
|
10862
10862
|
for (var d = rC(l), h = tC(d), p = Qx(u, c), m = nC(h), v = 0, g = f || iC, y = e ? g(l, m) : t || s ? g(l, 0) : void 0, D, _; m > v; v++)
|
|
@@ -10892,7 +10892,7 @@ var qx = !pv || Bx(function() {
|
|
|
10892
10892
|
find: $t(5),
|
|
10893
10893
|
findIndex: $t(6),
|
|
10894
10894
|
filterReject: $t(7)
|
|
10895
|
-
}, oC =
|
|
10895
|
+
}, oC = J, vv = function(r, e) {
|
|
10896
10896
|
var t = [][r];
|
|
10897
10897
|
return !!t && oC(function() {
|
|
10898
10898
|
t.call(null, e || function() {
|
|
@@ -10948,7 +10948,7 @@ var fs = {}, wC = us, xC = Math.max, CC = Math.min, _v = function(r, e) {
|
|
|
10948
10948
|
}, TC = {
|
|
10949
10949
|
includes: Hf(!0),
|
|
10950
10950
|
indexOf: Hf(!1)
|
|
10951
|
-
}, MC =
|
|
10951
|
+
}, MC = K, ia = it, $C = _n, FC = TC.indexOf, IC = as, Wf = MC([].push), Sv = function(r, e) {
|
|
10952
10952
|
var t = $C(r), n = 0, i = [], o;
|
|
10953
10953
|
for (o in t)
|
|
10954
10954
|
!ia(IC, o) && ia(t, o) && Wf(i, o);
|
|
@@ -10969,7 +10969,7 @@ fs.f = Object.getOwnPropertyNames || function(e) {
|
|
|
10969
10969
|
};
|
|
10970
10970
|
var pc = {};
|
|
10971
10971
|
pc.f = Object.getOwnPropertySymbols;
|
|
10972
|
-
var BC = di, LC =
|
|
10972
|
+
var BC = di, LC = K, zC = fs, jC = pc, VC = Re, HC = LC([].concat), WC = BC("Reflect", "ownKeys") || function(e) {
|
|
10973
10973
|
var t = zC.f(VC(e)), n = jC.f;
|
|
10974
10974
|
return n ? HC(t, n(e)) : t;
|
|
10975
10975
|
}, qf = it, qC = WC, UC = fc, KC = ot, GC = function(r, e, t) {
|
|
@@ -10977,7 +10977,7 @@ var BC = di, LC = U, zC = fs, jC = pc, VC = Re, HC = LC([].concat), WC = BC("Ref
|
|
|
10977
10977
|
var a = n[s];
|
|
10978
10978
|
!qf(r, a) && !(t && qf(t, a)) && i(r, a, o(e, a));
|
|
10979
10979
|
}
|
|
10980
|
-
}, JC =
|
|
10980
|
+
}, JC = J, YC = re, XC = /#|\.prototype\./, mi = function(r, e) {
|
|
10981
10981
|
var t = QC[ZC(r)];
|
|
10982
10982
|
return t == tO ? !0 : t == eO ? !1 : YC(e) ? JC(e) : !!e;
|
|
10983
10983
|
}, ZC = mi.normalize = function(r) {
|
|
@@ -10998,7 +10998,7 @@ var BC = di, LC = U, zC = fs, jC = pc, VC = Re, HC = LC([].concat), WC = BC("Ref
|
|
|
10998
10998
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
10999
10999
|
return cO(r);
|
|
11000
11000
|
}, Dv = `
|
|
11001
|
-
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`, uO =
|
|
11001
|
+
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`, uO = K, fO = vn, dO = Or, hO = Dv, Uf = uO("".replace), bo = "[" + hO + "]", pO = RegExp("^" + bo + bo + "*"), mO = RegExp(bo + bo + "*$"), sa = function(r) {
|
|
11002
11002
|
return function(e) {
|
|
11003
11003
|
var t = dO(fO(e));
|
|
11004
11004
|
return r & 1 && (t = Uf(t, pO, "")), r & 2 && (t = Uf(t, mO, "")), t;
|
|
@@ -11007,7 +11007,7 @@ var BC = di, LC = U, zC = fs, jC = pc, VC = Re, HC = LC([].concat), WC = BC("Ref
|
|
|
11007
11007
|
start: sa(1),
|
|
11008
11008
|
end: sa(2),
|
|
11009
11009
|
trim: sa(3)
|
|
11010
|
-
}, wv = le, gO =
|
|
11010
|
+
}, wv = le, gO = J, yO = K, bO = Or, _O = vO.trim, Kf = Dv, Un = wv.parseInt, Gf = wv.Symbol, Jf = Gf && Gf.iterator, xv = /^[+-]?0x/i, SO = yO(xv.exec), EO = Un(Kf + "08") !== 8 || Un(Kf + "0x16") !== 22 || Jf && !gO(function() {
|
|
11011
11011
|
Un(Object(Jf));
|
|
11012
11012
|
}), DO = EO ? function(e, t) {
|
|
11013
11013
|
var n = _O(bO(e));
|
|
@@ -11018,7 +11018,7 @@ wO({ global: !0, forced: parseInt != Yf }, {
|
|
|
11018
11018
|
});
|
|
11019
11019
|
var xO = Sv, CO = hc, Cv = Object.keys || function(e) {
|
|
11020
11020
|
return xO(e, CO);
|
|
11021
|
-
}, Xf = st, OO =
|
|
11021
|
+
}, Xf = st, OO = K, kO = qe, AO = J, aa = Cv, TO = pc, MO = dc, $O = gn, FO = cs, Rr = Object.assign, Zf = Object.defineProperty, IO = OO([].concat), NO = !Rr || AO(function() {
|
|
11022
11022
|
if (Xf && Rr({ b: 1 }, Rr(Zf({}, "a", {
|
|
11023
11023
|
enumerable: !0,
|
|
11024
11024
|
get: function() {
|
|
@@ -11042,7 +11042,7 @@ var xO = Sv, CO = hc, Cv = Object.keys || function(e) {
|
|
|
11042
11042
|
RO({ target: "Object", stat: !0, arity: 2, forced: Object.assign !== Qf }, {
|
|
11043
11043
|
assign: Qf
|
|
11044
11044
|
});
|
|
11045
|
-
var PO =
|
|
11045
|
+
var PO = J, BO = Se, LO = Xl, zO = BO("species"), jO = function(r) {
|
|
11046
11046
|
return LO >= 51 || !PO(function() {
|
|
11047
11047
|
var e = [], t = e.constructor = {};
|
|
11048
11048
|
return t[zO] = function() {
|
|
@@ -11093,7 +11093,7 @@ fl[ul] == null && ck(fl, ul, {
|
|
|
11093
11093
|
});
|
|
11094
11094
|
var uk = function(r) {
|
|
11095
11095
|
fl[ul][r] = !0;
|
|
11096
|
-
}, vi = {}, fk =
|
|
11096
|
+
}, vi = {}, fk = J, dk = !fk(function() {
|
|
11097
11097
|
function r() {
|
|
11098
11098
|
}
|
|
11099
11099
|
return r.prototype.constructor = null, Object.getPrototypeOf(new r()) !== r.prototype;
|
|
@@ -11103,7 +11103,7 @@ var uk = function(r) {
|
|
|
11103
11103
|
return e[id];
|
|
11104
11104
|
var t = e.constructor;
|
|
11105
11105
|
return pk(t) && e instanceof t ? t.prototype : e instanceof dl ? yk : null;
|
|
11106
|
-
}, bk =
|
|
11106
|
+
}, bk = J, _k = re, od = Tv, Sk = xr, Ek = Se, hl = Ek("iterator"), Mv = !1, Er, ca, ua;
|
|
11107
11107
|
[].keys && (ua = [].keys(), "next" in ua ? (ca = od(od(ua)), ca !== Object.prototype && (Er = ca)) : Mv = !0);
|
|
11108
11108
|
var Dk = Er == null || bk(function() {
|
|
11109
11109
|
var r = {};
|
|
@@ -11127,7 +11127,7 @@ var $v = {
|
|
|
11127
11127
|
if (typeof r == "object" || Ik(r))
|
|
11128
11128
|
return r;
|
|
11129
11129
|
throw Rk("Can't set " + Nk(r) + " as a prototype");
|
|
11130
|
-
}, Bk =
|
|
11130
|
+
}, Bk = K, Lk = Re, zk = Pk, Fv = Object.setPrototypeOf || ("__proto__" in {} ? function() {
|
|
11131
11131
|
var r = !1, e = {}, t;
|
|
11132
11132
|
try {
|
|
11133
11133
|
t = Bk(Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set), t(e, []), r = e instanceof Array;
|
|
@@ -11195,7 +11195,7 @@ if (tA && hd.name !== "values")
|
|
|
11195
11195
|
Qk(hd, "name", { value: "values" });
|
|
11196
11196
|
} catch {
|
|
11197
11197
|
}
|
|
11198
|
-
var yc =
|
|
11198
|
+
var yc = K, oA = us, sA = Or, aA = vn, lA = yc("".charAt), pd = yc("".charCodeAt), cA = yc("".slice), md = function(r) {
|
|
11199
11199
|
return function(e, t) {
|
|
11200
11200
|
var n = sA(aA(e)), i = oA(t), o = n.length, s, a;
|
|
11201
11201
|
return i < 0 || i >= o ? r ? "" : void 0 : (s = pd(n, i), s < 55296 || s > 56319 || i + 1 === o || (a = pd(n, i + 1)) < 56320 || a > 57343 ? r ? lA(n, i) : s : r ? cA(n, i, i + 2) : (s - 55296 << 10) + (a - 56320) + 65536);
|
|
@@ -11235,18 +11235,18 @@ var mA = xr, Vv = function(r, e, t) {
|
|
|
11235
11235
|
Hv.f = function(e) {
|
|
11236
11236
|
return qv && xA(e) == "Window" ? kA(e) : Wv(CA(e));
|
|
11237
11237
|
};
|
|
11238
|
-
var AA =
|
|
11238
|
+
var AA = J, TA = AA(function() {
|
|
11239
11239
|
if (typeof ArrayBuffer == "function") {
|
|
11240
11240
|
var r = new ArrayBuffer(8);
|
|
11241
11241
|
Object.isExtensible(r) && Object.defineProperty(r, "a", { value: 8 });
|
|
11242
11242
|
}
|
|
11243
|
-
}), MA =
|
|
11243
|
+
}), MA = J, $A = We, FA = Cr, gd = TA, Gi = Object.isExtensible, IA = MA(function() {
|
|
11244
11244
|
Gi(1);
|
|
11245
11245
|
}), Uv = IA || gd ? function(e) {
|
|
11246
11246
|
return !$A(e) || gd && FA(e) == "ArrayBuffer" ? !1 : Gi ? Gi(e) : !0;
|
|
11247
|
-
} : Gi, NA =
|
|
11247
|
+
} : Gi, NA = J, RA = !NA(function() {
|
|
11248
11248
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
11249
|
-
}), PA = Zt, BA =
|
|
11249
|
+
}), PA = Zt, BA = K, LA = as, zA = We, bc = it, jA = ot.f, yd = fs, VA = Hv, _c = Uv, HA = Yl, WA = RA, Kv = !1, kt = HA("meta"), qA = 0, Sc = function(r) {
|
|
11250
11250
|
jA(r, kt, { value: {
|
|
11251
11251
|
objectID: "O" + qA++,
|
|
11252
11252
|
weakData: {}
|
|
@@ -11393,7 +11393,7 @@ var AT = function(r, e) {
|
|
|
11393
11393
|
}, TT = re, MT = We, xd = Fv, $T = function(r, e, t) {
|
|
11394
11394
|
var n, i;
|
|
11395
11395
|
return xd && TT(n = e.constructor) && n !== t && MT(i = n.prototype) && i !== t.prototype && xd(r, i), r;
|
|
11396
|
-
}, FT = Zt, IT = le, NT =
|
|
11396
|
+
}, FT = Zt, IT = le, NT = K, Cd = Ev, RT = xr, PT = ds.exports, BT = Jv, LT = Yv, zT = re, da = We, ha = J, jT = AT, VT = vc, HT = $T, WT = function(r, e, t) {
|
|
11397
11397
|
var n = r.indexOf("Map") !== -1, i = r.indexOf("Weak") !== -1, o = n ? "set" : "add", s = IT[r], a = s && s.prototype, l = s, u = {}, c = function(g) {
|
|
11398
11398
|
var y = NT(a[g]);
|
|
11399
11399
|
RT(
|
|
@@ -11436,7 +11436,7 @@ var AT = function(r, e) {
|
|
|
11436
11436
|
}), l.prototype = a, a.constructor = l), (p || v) && (c("delete"), c("has"), n && c("get")), (v || h) && c(o), i && a.clear && delete a.clear;
|
|
11437
11437
|
}
|
|
11438
11438
|
return u[r] = l, FT({ global: !0, constructor: !0, forced: l != s }, u), VT(l, r), i || t.setStrong(l, r, n), l;
|
|
11439
|
-
}, qT =
|
|
11439
|
+
}, qT = K, Od = Vv, Mi = ds.exports.getWeakData, UT = Re, pa = We, KT = Yv, GT = Jv, Qv = cc, kd = it, eg = bn, JT = eg.set, YT = eg.getterFor, XT = Qv.find, ZT = Qv.findIndex, QT = qT([].splice), e2 = 0, $i = function(r) {
|
|
11440
11440
|
return r.frozen || (r.frozen = new tg());
|
|
11441
11441
|
}, tg = function() {
|
|
11442
11442
|
this.entries = [];
|
|
@@ -11509,7 +11509,7 @@ var t2 = {
|
|
|
11509
11509
|
}
|
|
11510
11510
|
}), i;
|
|
11511
11511
|
}
|
|
11512
|
-
}, Ad = le, Fi =
|
|
11512
|
+
}, Ad = le, Fi = K, r2 = Vv, n2 = ds.exports, i2 = WT, rg = t2, Ii = We, Ni = Uv, Ri = bn.enforce, o2 = ov, s2 = !Ad.ActiveXObject && "ActiveXObject" in Ad, Tn, ng = function(r) {
|
|
11513
11513
|
return function() {
|
|
11514
11514
|
return r(this, arguments.length ? arguments[0] : void 0);
|
|
11515
11515
|
};
|
|
@@ -11990,13 +11990,13 @@ var gr = function(r) {
|
|
|
11990
11990
|
return Bi.get(r);
|
|
11991
11991
|
if (mg(r))
|
|
11992
11992
|
return Bi.set(r, qd), qd;
|
|
11993
|
-
var t = getComputedStyle(r), n = wc(r) && r.ownerSVGElement && r.getBBox(), i = !$M && t.boxSizing === "border-box", o = MM.test(t.writingMode || ""), s = !n && Wd.test(t.overflowY || ""), a = !n && Wd.test(t.overflowX || ""), l = n ? 0 : lt(t.paddingTop), u = n ? 0 : lt(t.paddingRight), c = n ? 0 : lt(t.paddingBottom), f = n ? 0 : lt(t.paddingLeft), d = n ? 0 : lt(t.borderTopWidth), h = n ? 0 : lt(t.borderRightWidth), p = n ? 0 : lt(t.borderBottomWidth), m = n ? 0 : lt(t.borderLeftWidth), v = f + u, g = l + c, y = m + h, D = d + p, _ = a ? r.offsetHeight - D - r.clientHeight : 0, x = s ? r.offsetWidth - y - r.clientWidth : 0, b = i ? v + y : 0, C = i ? g + D : 0, E = n ? n.width : lt(t.width) - b - x, F = n ? n.height : lt(t.height) - C - _, V = E + v + x + y, j = F + g + _ + D,
|
|
11993
|
+
var t = getComputedStyle(r), n = wc(r) && r.ownerSVGElement && r.getBBox(), i = !$M && t.boxSizing === "border-box", o = MM.test(t.writingMode || ""), s = !n && Wd.test(t.overflowY || ""), a = !n && Wd.test(t.overflowX || ""), l = n ? 0 : lt(t.paddingTop), u = n ? 0 : lt(t.paddingRight), c = n ? 0 : lt(t.paddingBottom), f = n ? 0 : lt(t.paddingLeft), d = n ? 0 : lt(t.borderTopWidth), h = n ? 0 : lt(t.borderRightWidth), p = n ? 0 : lt(t.borderBottomWidth), m = n ? 0 : lt(t.borderLeftWidth), v = f + u, g = l + c, y = m + h, D = d + p, _ = a ? r.offsetHeight - D - r.clientHeight : 0, x = s ? r.offsetWidth - y - r.clientWidth : 0, b = i ? v + y : 0, C = i ? g + D : 0, E = n ? n.width : lt(t.width) - b - x, F = n ? n.height : lt(t.height) - C - _, V = E + v + x + y, j = F + g + _ + D, ee = gr({
|
|
11994
11994
|
devicePixelContentBoxSize: tn(Math.round(E * devicePixelRatio), Math.round(F * devicePixelRatio), o),
|
|
11995
11995
|
borderBoxSize: tn(V, j, o),
|
|
11996
11996
|
contentBoxSize: tn(E, F, o),
|
|
11997
11997
|
contentRect: new pg(f, l, E, F)
|
|
11998
11998
|
});
|
|
11999
|
-
return Bi.set(r,
|
|
11999
|
+
return Bi.set(r, ee), ee;
|
|
12000
12000
|
}, gg = function(r, e, t) {
|
|
12001
12001
|
var n = vg(r, t), i = n.borderBoxSize, o = n.contentBoxSize, s = n.devicePixelContentBoxSize;
|
|
12002
12002
|
switch (e) {
|
|
@@ -12224,7 +12224,7 @@ r$({ target: "Array", proto: !0, forced: !s$ || a$ }, {
|
|
|
12224
12224
|
var l$ = Re, c$ = function() {
|
|
12225
12225
|
var r = l$(this), e = "";
|
|
12226
12226
|
return r.hasIndices && (e += "d"), r.global && (e += "g"), r.ignoreCase && (e += "i"), r.multiline && (e += "m"), r.dotAll && (e += "s"), r.unicode && (e += "u"), r.unicodeSets && (e += "v"), r.sticky && (e += "y"), e;
|
|
12227
|
-
}, xc =
|
|
12227
|
+
}, xc = J, u$ = le, Cc = u$.RegExp, Oc = xc(function() {
|
|
12228
12228
|
var r = Cc("a", "y");
|
|
12229
12229
|
return r.lastIndex = 2, r.exec("abcd") != null;
|
|
12230
12230
|
}), f$ = Oc || xc(function() {
|
|
@@ -12236,14 +12236,14 @@ var l$ = Re, c$ = function() {
|
|
|
12236
12236
|
BROKEN_CARET: d$,
|
|
12237
12237
|
MISSED_STICKY: f$,
|
|
12238
12238
|
UNSUPPORTED_Y: Oc
|
|
12239
|
-
}, p$ =
|
|
12239
|
+
}, p$ = J, m$ = le, v$ = m$.RegExp, g$ = p$(function() {
|
|
12240
12240
|
var r = v$(".", "s");
|
|
12241
12241
|
return !(r.dotAll && r.exec(`
|
|
12242
12242
|
`) && r.flags === "s");
|
|
12243
|
-
}), y$ =
|
|
12243
|
+
}), y$ = J, b$ = le, _$ = b$.RegExp, S$ = y$(function() {
|
|
12244
12244
|
var r = _$("(?<a>b)", "g");
|
|
12245
12245
|
return r.exec("b").groups.a !== "b" || "b".replace(r, "$<a>c") !== "bc";
|
|
12246
|
-
}), qr = qe, ms =
|
|
12246
|
+
}), qr = qe, ms = K, E$ = Or, D$ = c$, w$ = h$, x$ = rs.exports, C$ = mc, O$ = bn.get, k$ = g$, A$ = S$, T$ = x$("native-string-replace", String.prototype.replace), So = RegExp.prototype.exec, vl = So, M$ = ms("".charAt), $$ = ms("".indexOf), F$ = ms("".replace), xa = ms("".slice), gl = function() {
|
|
12247
12247
|
var r = /a/, e = /b*/g;
|
|
12248
12248
|
return qr(So, r, "a"), qr(So, e, "a"), r.lastIndex !== 0 || e.lastIndex !== 0;
|
|
12249
12249
|
}(), _g = w$.BROKEN_CARET, yl = /()??/.exec("")[1] !== void 0, I$ = gl || yl || _g || k$ || A$;
|
|
@@ -12265,7 +12265,7 @@ var kc = vl, N$ = Zt, Qd = kc;
|
|
|
12265
12265
|
N$({ target: "RegExp", proto: !0, forced: /./.exec !== Qd }, {
|
|
12266
12266
|
exec: Qd
|
|
12267
12267
|
});
|
|
12268
|
-
var eh =
|
|
12268
|
+
var eh = K, th = xr, R$ = kc, rh = J, Sg = Se, P$ = yn, B$ = Sg("species"), Ca = RegExp.prototype, Eg = function(r, e, t, n) {
|
|
12269
12269
|
var i = Sg(r), o = !rh(function() {
|
|
12270
12270
|
var u = {};
|
|
12271
12271
|
return u[i] = function() {
|
|
@@ -12321,7 +12321,7 @@ U$("match", function(r, e, t) {
|
|
|
12321
12321
|
}
|
|
12322
12322
|
];
|
|
12323
12323
|
});
|
|
12324
|
-
var Z$ = st, Q$ = ic.EXISTS, xg =
|
|
12324
|
+
var Z$ = st, Q$ = ic.EXISTS, xg = K, eF = ot.f, Cg = Function.prototype, tF = xg(Cg.toString), Og = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/, rF = xg(Og.exec), nF = "name";
|
|
12325
12325
|
Z$ && !Q$ && eF(Cg, nF, {
|
|
12326
12326
|
configurable: !0,
|
|
12327
12327
|
get: function() {
|
|
@@ -12334,7 +12334,7 @@ Z$ && !Q$ && eF(Cg, nF, {
|
|
|
12334
12334
|
});
|
|
12335
12335
|
var iF = ns, kg = Function.prototype, oh = kg.apply, sh = kg.call, oF = typeof Reflect == "object" && Reflect.apply || (iF ? sh.bind(oh) : function() {
|
|
12336
12336
|
return sh.apply(oh, arguments);
|
|
12337
|
-
}), Ac =
|
|
12337
|
+
}), Ac = K, sF = gn, aF = Math.floor, ka = Ac("".charAt), lF = Ac("".replace), Aa = Ac("".slice), cF = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, uF = /\$([$&'`]|\d{1,2})/g, fF = function(r, e, t, n, i, o) {
|
|
12338
12338
|
var s = t + r.length, a = n.length, l = uF;
|
|
12339
12339
|
return i !== void 0 && (i = sF(i), l = cF), lF(o, l, function(u, c) {
|
|
12340
12340
|
var f;
|
|
@@ -12362,7 +12362,7 @@ var iF = ns, kg = Function.prototype, oh = kg.apply, sh = kg.call, oF = typeof R
|
|
|
12362
12362
|
}
|
|
12363
12363
|
return f === void 0 ? "" : f;
|
|
12364
12364
|
});
|
|
12365
|
-
}, dF = oF, ah = qe, vs =
|
|
12365
|
+
}, dF = oF, ah = qe, vs = K, hF = Eg, pF = J, mF = Re, vF = re, gF = us, yF = ac, Pr = Or, bF = vn, _F = Dg, SF = hi, EF = fF, DF = wg, wF = Se, bl = wF("replace"), xF = Math.max, CF = Math.min, OF = vs([].concat), Ta = vs([].push), lh = vs("".indexOf), ch = vs("".slice), kF = function(r) {
|
|
12366
12366
|
return r === void 0 ? r : String(r);
|
|
12367
12367
|
}, AF = function() {
|
|
12368
12368
|
return "a".replace(/./, "$0") === "$0";
|
|
@@ -12467,7 +12467,7 @@ function dh(r) {
|
|
|
12467
12467
|
}
|
|
12468
12468
|
return zr;
|
|
12469
12469
|
}
|
|
12470
|
-
var
|
|
12470
|
+
var Q = /* @__PURE__ */ function() {
|
|
12471
12471
|
function r(t, n) {
|
|
12472
12472
|
var i = this;
|
|
12473
12473
|
this.onScroll = function() {
|
|
@@ -12690,7 +12690,7 @@ var Z = /* @__PURE__ */ function() {
|
|
|
12690
12690
|
})[0];
|
|
12691
12691
|
}, r;
|
|
12692
12692
|
}();
|
|
12693
|
-
|
|
12693
|
+
Q.defaultOptions = {
|
|
12694
12694
|
autoHide: !0,
|
|
12695
12695
|
forceVisible: !1,
|
|
12696
12696
|
clickOnTrack: !0,
|
|
@@ -12716,36 +12716,36 @@ Z.defaultOptions = {
|
|
|
12716
12716
|
scrollbarMaxSize: 0,
|
|
12717
12717
|
timeout: 1e3
|
|
12718
12718
|
};
|
|
12719
|
-
|
|
12720
|
-
|
|
12719
|
+
Q.instances = /* @__PURE__ */ new WeakMap();
|
|
12720
|
+
Q.initDOMLoadedElements = function() {
|
|
12721
12721
|
document.removeEventListener("DOMContentLoaded", this.initDOMLoadedElements), window.removeEventListener("load", this.initDOMLoadedElements), Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"), function(r) {
|
|
12722
|
-
r.getAttribute("data-simplebar") !== "init" && !
|
|
12722
|
+
r.getAttribute("data-simplebar") !== "init" && !Q.instances.has(r) && new Q(r, Eo(r.attributes));
|
|
12723
12723
|
});
|
|
12724
12724
|
};
|
|
12725
|
-
|
|
12725
|
+
Q.removeObserver = function() {
|
|
12726
12726
|
this.globalObserver.disconnect();
|
|
12727
12727
|
};
|
|
12728
|
-
|
|
12729
|
-
this.initDOMLoadedElements = this.initDOMLoadedElements.bind(this), typeof MutationObserver < "u" && (this.globalObserver = new MutationObserver(
|
|
12728
|
+
Q.initHtmlApi = function() {
|
|
12729
|
+
this.initDOMLoadedElements = this.initDOMLoadedElements.bind(this), typeof MutationObserver < "u" && (this.globalObserver = new MutationObserver(Q.handleMutations), this.globalObserver.observe(document, {
|
|
12730
12730
|
childList: !0,
|
|
12731
12731
|
subtree: !0
|
|
12732
12732
|
})), document.readyState === "complete" || document.readyState !== "loading" && !document.documentElement.doScroll ? window.setTimeout(this.initDOMLoadedElements) : (document.addEventListener("DOMContentLoaded", this.initDOMLoadedElements), window.addEventListener("load", this.initDOMLoadedElements));
|
|
12733
12733
|
};
|
|
12734
|
-
|
|
12734
|
+
Q.handleMutations = function(r) {
|
|
12735
12735
|
r.forEach(function(e) {
|
|
12736
12736
|
Array.prototype.forEach.call(e.addedNodes, function(t) {
|
|
12737
|
-
t.nodeType === 1 && (t.hasAttribute("data-simplebar") ? !
|
|
12738
|
-
n.getAttribute("data-simplebar") !== "init" && !
|
|
12737
|
+
t.nodeType === 1 && (t.hasAttribute("data-simplebar") ? !Q.instances.has(t) && document.documentElement.contains(t) && new Q(t, Eo(t.attributes)) : Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"), function(n) {
|
|
12738
|
+
n.getAttribute("data-simplebar") !== "init" && !Q.instances.has(n) && document.documentElement.contains(n) && new Q(n, Eo(n.attributes));
|
|
12739
12739
|
}));
|
|
12740
12740
|
}), Array.prototype.forEach.call(e.removedNodes, function(t) {
|
|
12741
|
-
t.nodeType === 1 && (t.getAttribute("data-simplebar") === "init" ?
|
|
12742
|
-
|
|
12741
|
+
t.nodeType === 1 && (t.getAttribute("data-simplebar") === "init" ? Q.instances.has(t) && !document.documentElement.contains(t) && Q.instances.get(t).unMount() : Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'), function(n) {
|
|
12742
|
+
Q.instances.has(n) && !document.documentElement.contains(n) && Q.instances.get(n).unMount();
|
|
12743
12743
|
}));
|
|
12744
12744
|
});
|
|
12745
12745
|
});
|
|
12746
12746
|
};
|
|
12747
|
-
|
|
12748
|
-
uc &&
|
|
12747
|
+
Q.getOptions = Eo;
|
|
12748
|
+
uc && Q.initHtmlApi();
|
|
12749
12749
|
function hh({ validations: r }) {
|
|
12750
12750
|
const e = q(null);
|
|
12751
12751
|
function t() {
|
|
@@ -12892,7 +12892,7 @@ const PF = {
|
|
|
12892
12892
|
setup() {
|
|
12893
12893
|
const r = q(null), e = q(null);
|
|
12894
12894
|
return Ke($g, e), hp(() => {
|
|
12895
|
-
const t =
|
|
12895
|
+
const t = Q.getOptions(r.value.attributes), n = new Q(r.value, t);
|
|
12896
12896
|
e.value = n.getScrollElement();
|
|
12897
12897
|
}), { hostRef: r };
|
|
12898
12898
|
}
|
|
@@ -13337,6 +13337,70 @@ $r(wt, "PARSER", new DOMParser()), $r(wt, "BLOCK_STYLES", ["text-align", "line-h
|
|
|
13337
13337
|
ignore: /text-decoration(.+)?/
|
|
13338
13338
|
}
|
|
13339
13339
|
]);
|
|
13340
|
+
class fL {
|
|
13341
|
+
static doc(e) {
|
|
13342
|
+
return {
|
|
13343
|
+
type: U.DOCUMENT,
|
|
13344
|
+
content: e
|
|
13345
|
+
};
|
|
13346
|
+
}
|
|
13347
|
+
static list(e, t) {
|
|
13348
|
+
return {
|
|
13349
|
+
type: U.LIST,
|
|
13350
|
+
attrs: { bullet: { type: e } },
|
|
13351
|
+
content: t.map((n) => this.listItem([].concat(n)))
|
|
13352
|
+
};
|
|
13353
|
+
}
|
|
13354
|
+
static listItem(e) {
|
|
13355
|
+
return {
|
|
13356
|
+
type: U.LIST_ITEM,
|
|
13357
|
+
content: e
|
|
13358
|
+
};
|
|
13359
|
+
}
|
|
13360
|
+
static heading(e, ...t) {
|
|
13361
|
+
var i;
|
|
13362
|
+
const n = this._textBlock(t);
|
|
13363
|
+
return (i = n.attrs) != null || (n.attrs = {}), n.attrs.level = e, {
|
|
13364
|
+
type: U.HEADING,
|
|
13365
|
+
...n
|
|
13366
|
+
};
|
|
13367
|
+
}
|
|
13368
|
+
static paragraph(...e) {
|
|
13369
|
+
return {
|
|
13370
|
+
type: U.PARAGRAPH,
|
|
13371
|
+
...this._textBlock(e)
|
|
13372
|
+
};
|
|
13373
|
+
}
|
|
13374
|
+
static _textBlock(e) {
|
|
13375
|
+
const t = e.length === 1 ? null : e[0], n = e.length === 1 ? e[0] : e[1];
|
|
13376
|
+
return {
|
|
13377
|
+
content: typeof n == "string" ? [this.text(n)] : n,
|
|
13378
|
+
...t ? { attrs: t } : {}
|
|
13379
|
+
};
|
|
13380
|
+
}
|
|
13381
|
+
static text(e, t) {
|
|
13382
|
+
return {
|
|
13383
|
+
type: U.TEXT,
|
|
13384
|
+
...t ? { marks: t } : {},
|
|
13385
|
+
text: e
|
|
13386
|
+
};
|
|
13387
|
+
}
|
|
13388
|
+
static mark(e, t) {
|
|
13389
|
+
return { type: e, attrs: t };
|
|
13390
|
+
}
|
|
13391
|
+
static link(e) {
|
|
13392
|
+
return {
|
|
13393
|
+
type: "text",
|
|
13394
|
+
marks: [
|
|
13395
|
+
{
|
|
13396
|
+
type: "link",
|
|
13397
|
+
attrs: { ...e }
|
|
13398
|
+
}
|
|
13399
|
+
],
|
|
13400
|
+
text: e.text
|
|
13401
|
+
};
|
|
13402
|
+
}
|
|
13403
|
+
}
|
|
13340
13404
|
const ji = /* @__PURE__ */ new WeakMap();
|
|
13341
13405
|
function Ma(r, e) {
|
|
13342
13406
|
const t = ["click", e, { capture: !0 }], n = r ? "addEventListener" : "removeEventListener";
|
|
@@ -16204,7 +16268,7 @@ const tB = te.create({
|
|
|
16204
16268
|
addGlobalAttributes() {
|
|
16205
16269
|
return [
|
|
16206
16270
|
{
|
|
16207
|
-
types: [
|
|
16271
|
+
types: [U.PARAGRAPH, U.HEADING],
|
|
16208
16272
|
attributes: {
|
|
16209
16273
|
preset: {
|
|
16210
16274
|
isRequired: !1,
|
|
@@ -16242,7 +16306,7 @@ const tB = te.create({
|
|
|
16242
16306
|
}),
|
|
16243
16307
|
applyPreset: O(({ commands: e, chain: t }, n) => {
|
|
16244
16308
|
var l, u;
|
|
16245
|
-
const i = e.getPresetList().value, o = r(i, n), s = (u = (l = o.node) == null ? void 0 : l.type) != null ? u :
|
|
16309
|
+
const i = e.getPresetList().value, o = r(i, n), s = (u = (l = o.node) == null ? void 0 : l.type) != null ? u : U.PARAGRAPH, a = {
|
|
16246
16310
|
preset: { id: n }
|
|
16247
16311
|
};
|
|
16248
16312
|
o.node && (a.level = o.node.level);
|
|
@@ -16254,7 +16318,7 @@ const tB = te.create({
|
|
|
16254
16318
|
e.applyPreset(this.options.defaultId);
|
|
16255
16319
|
}),
|
|
16256
16320
|
removePreset: O(({ commands: e }) => {
|
|
16257
|
-
e.setNode(
|
|
16321
|
+
e.setNode(U.PARAGRAPH, { preset: null });
|
|
16258
16322
|
}),
|
|
16259
16323
|
getPresetCustomization: O(({ editor: e }) => {
|
|
16260
16324
|
const t = fe(e, "state");
|
|
@@ -16272,7 +16336,7 @@ const tB = te.create({
|
|
|
16272
16336
|
});
|
|
16273
16337
|
}),
|
|
16274
16338
|
removePresetCustomization: O(({ chain: e }) => {
|
|
16275
|
-
e().storeSelection().expandSelectionToBlock().unsetMarks(ne.marks).resetAttributes(
|
|
16339
|
+
e().storeSelection().expandSelectionToBlock().unsetMarks(ne.marks).resetAttributes(U.PARAGRAPH, ne.attributes).resetAttributes(U.HEADING, ne.attributes).restoreSelection().run();
|
|
16276
16340
|
}),
|
|
16277
16341
|
removeFormat: O(({ chain: e }) => {
|
|
16278
16342
|
e().storeSelection().expandSelectionToBlock().unsetAllMarks().applyDefaultPreset().restoreSelection().run();
|
|
@@ -16701,7 +16765,7 @@ const tB = te.create({
|
|
|
16701
16765
|
name: ne.ALIGNMENT,
|
|
16702
16766
|
addGlobalAttributes: () => [
|
|
16703
16767
|
{
|
|
16704
|
-
types: [
|
|
16768
|
+
types: [U.PARAGRAPH, U.HEADING],
|
|
16705
16769
|
attributes: {
|
|
16706
16770
|
[ne.ALIGNMENT]: {
|
|
16707
16771
|
isRequired: !1,
|
|
@@ -16761,7 +16825,7 @@ const tB = te.create({
|
|
|
16761
16825
|
addGlobalAttributes() {
|
|
16762
16826
|
return [
|
|
16763
16827
|
{
|
|
16764
|
-
types: [
|
|
16828
|
+
types: [U.PARAGRAPH, U.HEADING],
|
|
16765
16829
|
attributes: {
|
|
16766
16830
|
[ne.LINE_HEIGHT]: {
|
|
16767
16831
|
isRequired: !1,
|
|
@@ -16834,14 +16898,14 @@ const tB = te.create({
|
|
|
16834
16898
|
};
|
|
16835
16899
|
}
|
|
16836
16900
|
}), hB = dB.extend({
|
|
16837
|
-
name:
|
|
16901
|
+
name: U.LIST_ITEM,
|
|
16838
16902
|
addKeyboardShortcuts() {
|
|
16839
16903
|
const { Enter: r } = this.parent();
|
|
16840
16904
|
return { Enter: r };
|
|
16841
16905
|
}
|
|
16842
16906
|
}), pB = Ot.create({
|
|
16843
|
-
name:
|
|
16844
|
-
content: `${
|
|
16907
|
+
name: U.LIST,
|
|
16908
|
+
content: `${U.LIST_ITEM}+`,
|
|
16845
16909
|
group: "block list",
|
|
16846
16910
|
addExtensions: () => [
|
|
16847
16911
|
hB
|
|
@@ -16899,9 +16963,9 @@ const tB = te.create({
|
|
|
16899
16963
|
}
|
|
16900
16964
|
return e().applyDefaultPreset()._addList(t).run();
|
|
16901
16965
|
}),
|
|
16902
|
-
_addList: O(({ chain: r }, e) => r().toggleList(
|
|
16966
|
+
_addList: O(({ chain: r }, e) => r().toggleList(U.LIST, U.LIST_ITEM).setBlockAttributes("bullet", { type: e }).run()),
|
|
16903
16967
|
removeList: O(({ commands: r }) => {
|
|
16904
|
-
r.liftListItem(
|
|
16968
|
+
r.liftListItem(U.LIST_ITEM);
|
|
16905
16969
|
})
|
|
16906
16970
|
};
|
|
16907
16971
|
},
|
|
@@ -17201,12 +17265,12 @@ var zg = Ar("email", {
|
|
|
17201
17265
|
Url: Nt
|
|
17202
17266
|
});
|
|
17203
17267
|
function DB() {
|
|
17204
|
-
var r = W(), e = W(), t = W(), n = W(), i = W(), o = W(), s = W(), a = M(Nt), l = W(), u = M(Nt), c = M(Nt), f = W(), d = W(), h = W(), p = W(), m = W(), v = M(Nt), g = M(Nt), y = M(Nt), D = M(Nt), _ = W(), x = W(), b = W(), C = W(), E = W(), F = W(), V = M(_l), j = W(),
|
|
17205
|
-
w(r, Nc, Tr), w(r, hn, e), w(r, Ic, t), w(e, xt, n), w(n, xt, i), w(r, ct, o), w(r, Ue, o), w(r, Dt, a), w(r, Pe, o), w(i, ct, c), w(i, Ue, c), w(i, Pe, c), w(i, Dt, c), w(o, Rt, s), w(E, Rt, F), w(s, ct, a), w(s, Ue, o), w(s, Pe, o), w(s, Dt, o), w(F, ct, V), w(F, Ue, E), w(F, Pe, E), w(F, Dt, E), w(a, Rt, s), w(V, Rt, F), w(a, Xn, l), w(a, xt, c), w(l, Pe, u), w(u, xt, c), w(V, Xn, j), w(j, Pe,
|
|
17206
|
-
var
|
|
17207
|
-
w(c, Ur, d), w(c, Gn, h), w(c, Jn, p), w(c, Yn, m), w(f, Ur, d), w(f, Gn, h), w(f, Jn, p), w(f, Yn, m), w(d, sr, c), w(h, Kr, c), w(p, Gr, c), w(m, Jr, c), w(v, sr, c), w(g, Kr, c), w(y, Gr, c), w(D, Jr, c), w(_, sr, c), w(x, Kr, c), w(b, Gr, c), w(C, Jr, c), N(d,
|
|
17268
|
+
var r = W(), e = W(), t = W(), n = W(), i = W(), o = W(), s = W(), a = M(Nt), l = W(), u = M(Nt), c = M(Nt), f = W(), d = W(), h = W(), p = W(), m = W(), v = M(Nt), g = M(Nt), y = M(Nt), D = M(Nt), _ = W(), x = W(), b = W(), C = W(), E = W(), F = W(), V = M(_l), j = W(), ee = M(_l), Y = M(zg), at = W(), Ee = W(), X = W(), De = W(), Tr = M(jg);
|
|
17269
|
+
w(r, Nc, Tr), w(r, hn, e), w(r, Ic, t), w(e, xt, n), w(n, xt, i), w(r, ct, o), w(r, Ue, o), w(r, Dt, a), w(r, Pe, o), w(i, ct, c), w(i, Ue, c), w(i, Pe, c), w(i, Dt, c), w(o, Rt, s), w(E, Rt, F), w(s, ct, a), w(s, Ue, o), w(s, Pe, o), w(s, Dt, o), w(F, ct, V), w(F, Ue, E), w(F, Pe, E), w(F, Dt, E), w(a, Rt, s), w(V, Rt, F), w(a, Xn, l), w(a, xt, c), w(l, Pe, u), w(u, xt, c), w(V, Xn, j), w(j, Pe, ee);
|
|
17270
|
+
var G = [xo, Oo, Yr, ko, Ao, To, Mo, Ue, $o, Fo, Dt, Pe, Io, No, Ro, Po, hn, xt, jo, Lo, ct, zo], Z = [Co, Gr, sr, Kr, Jr, Xn, Rc, Rt, Pc, Jn, Ur, Gn, Yn, Bo, Bc, Lc];
|
|
17271
|
+
w(c, Ur, d), w(c, Gn, h), w(c, Jn, p), w(c, Yn, m), w(f, Ur, d), w(f, Gn, h), w(f, Jn, p), w(f, Yn, m), w(d, sr, c), w(h, Kr, c), w(p, Gr, c), w(m, Jr, c), w(v, sr, c), w(g, Kr, c), w(y, Gr, c), w(D, Jr, c), w(_, sr, c), w(x, Kr, c), w(b, Gr, c), w(C, Jr, c), N(d, G, v), N(h, G, g), N(p, G, y), N(m, G, D), N(d, Z, _), N(h, Z, x), N(p, Z, b), N(m, Z, C), N(v, G, v), N(g, G, g), N(y, G, y), N(D, G, D), N(v, Z, v), N(g, Z, g), N(y, Z, y), N(D, Z, D), N(_, G, v), N(x, G, g), N(b, G, y), N(C, G, D), N(_, Z, _), N(x, Z, x), N(b, Z, b), N(C, Z, C), N(c, G, c), N(f, G, c), N(c, Z, f), N(f, Z, f), w(t, ct, Y), w(t, Ue, Y), w(t, Pe, Y), w(t, Dt, Y), N(Y, G, Y), N(Y, Z, at), N(at, G, Y), N(at, Z, at);
|
|
17208
17272
|
var St = [xo, Co, Oo, ko, Ao, To, sr, Mo, Ue, $o, Fo, Pe, Ur, Io, No, Ro, Po, Bo, xt, jo, Lo, ct, zo];
|
|
17209
|
-
return N(o, St, Ee), w(o, Yr,
|
|
17273
|
+
return N(o, St, Ee), w(o, Yr, X), N(a, St, Ee), w(a, Yr, X), N(s, St, Ee), N(Ee, St, Ee), w(Ee, Yr, X), w(Ee, Rt, De), N(De, St, Ee), w(X, ct, E), w(X, Ue, E), w(X, Pe, E), w(X, Dt, V), r;
|
|
17210
17274
|
}
|
|
17211
17275
|
function wB(r, e, t) {
|
|
17212
17276
|
for (var n = t.length, i = 0, o = [], s = []; i < n; ) {
|
|
@@ -17954,7 +18018,7 @@ const Ug = (r, e) => {
|
|
|
17954
18018
|
setBlockAttributes: O(({ commands: r }, e, t, n = {}) => {
|
|
17955
18019
|
var o;
|
|
17956
18020
|
const i = (o = r.getBlockAttributes(e).value) != null ? o : {};
|
|
17957
|
-
for (const s of
|
|
18021
|
+
for (const s of U.blocks)
|
|
17958
18022
|
r.updateAttributes(s, {
|
|
17959
18023
|
[e]: { ...n, ...i, ...t }
|
|
17960
18024
|
});
|
|
@@ -17962,7 +18026,7 @@ const Ug = (r, e) => {
|
|
|
17962
18026
|
getBlockAttributes: O(({ editor: r }, e, t) => A(() => {
|
|
17963
18027
|
var i;
|
|
17964
18028
|
let n = Object.assign({}, t || {});
|
|
17965
|
-
for (const o of
|
|
18029
|
+
for (const o of U.blocks)
|
|
17966
18030
|
Object.assign(n, ((i = r.getAttributes(o)) == null ? void 0 : i[e]) || {});
|
|
17967
18031
|
return Object.keys(n).length ? n : null;
|
|
17968
18032
|
}))
|
|
@@ -18009,7 +18073,7 @@ const Ug = (r, e) => {
|
|
|
18009
18073
|
expandSelectionToBlock: O(({ state: r, commands: e }) => {
|
|
18010
18074
|
let t = r.selection.from, n = r.selection.to;
|
|
18011
18075
|
r.doc.nodesBetween(t, n, (i, o, s) => {
|
|
18012
|
-
s.type.name ===
|
|
18076
|
+
s.type.name === U.DOCUMENT && (t = Math.min(t, o + 1), n = Math.max(n, o + i.nodeSize - 1));
|
|
18013
18077
|
}), e.setTextSelection({ from: t, to: n });
|
|
18014
18078
|
})
|
|
18015
18079
|
};
|
|
@@ -18051,7 +18115,7 @@ class ZB extends XB {
|
|
|
18051
18115
|
_expandSelectionToBlocks({ selection: e, doc: t }) {
|
|
18052
18116
|
let n = e.from, i = e.to;
|
|
18053
18117
|
return t.nodesBetween(n, i, (o, s, a) => {
|
|
18054
|
-
a.type.name ===
|
|
18118
|
+
a.type.name === U.DOCUMENT && (n = Math.min(n, s + 1), i = Math.max(i, s + o.nodeSize - 1));
|
|
18055
18119
|
}), { from: n, to: i };
|
|
18056
18120
|
}
|
|
18057
18121
|
_isMatchPosition(e, t) {
|
|
@@ -18304,9 +18368,11 @@ function aL(r) {
|
|
|
18304
18368
|
for (let e in fp)
|
|
18305
18369
|
this[e] = fp[e];
|
|
18306
18370
|
}
|
|
18307
|
-
const
|
|
18371
|
+
const dL = /* @__PURE__ */ function() {
|
|
18308
18372
|
return sL.exports;
|
|
18309
18373
|
}();
|
|
18310
18374
|
export {
|
|
18311
|
-
fL as
|
|
18375
|
+
fL as NodeFactory,
|
|
18376
|
+
U as NodeTypes,
|
|
18377
|
+
dL as Wysiwyg
|
|
18312
18378
|
};
|
|
@@ -2,7 +2,7 @@ import { h, ref, toRef } from 'vue';
|
|
|
2
2
|
import { EditorContent } from '@tiptap/vue-2';
|
|
3
3
|
import { shallowMount } from '@vue/test-utils';
|
|
4
4
|
import { useEditor } from '../useEditor';
|
|
5
|
-
import { NodeFactory } from '../../
|
|
5
|
+
import { NodeFactory } from '../../services';
|
|
6
6
|
import { buildCoreExtensions } from '../../extensions/core';
|
|
7
7
|
|
|
8
8
|
const TestComponent = {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { Alignment } from '../Alignment';
|
|
6
5
|
import { DeviceManager } from '../DeviceManager';
|
|
7
6
|
import { Alignments } from '../../enums';
|
|
8
|
-
import { ContentNormalizer } from '../../services';
|
|
7
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
9
8
|
import { buildCoreExtensions } from '../core';
|
|
10
9
|
|
|
11
10
|
const MockStylePreset = Extension.create({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { BackgroundColor } from '../BackgroundColor';
|
|
6
|
-
import { ContentNormalizer } from '../../services';
|
|
5
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
7
6
|
import { buildCoreExtensions } from '../core';
|
|
8
7
|
|
|
9
8
|
const MockStylePreset = Extension.create({
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Editor } from '@tiptap/vue-2';
|
|
2
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
3
2
|
import { CaseStyles } from '../../enums';
|
|
4
3
|
import { CaseStyle } from '../CaseStyle';
|
|
5
|
-
import { ContentNormalizer } from '../../services';
|
|
4
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
6
5
|
import { buildCoreExtensions } from '../core';
|
|
7
6
|
|
|
8
7
|
function createEditor({ content }) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { FontColor } from '../FontColor';
|
|
6
|
-
import { ContentNormalizer } from '../../services';
|
|
5
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
7
6
|
import { buildCoreExtensions } from '../core';
|
|
8
7
|
|
|
9
8
|
const MockStylePreset = Extension.create({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { Font } from '../../models';
|
|
6
5
|
import { FontFamily } from '../FontFamily';
|
|
7
6
|
import { FontWeight } from '../FontWeight';
|
|
8
7
|
import { FontStyle } from '../FontStyle';
|
|
9
|
-
import { ContentNormalizer } from '../../services';
|
|
8
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
10
9
|
import { buildCoreExtensions } from '../core';
|
|
11
10
|
|
|
12
11
|
const MockStylePreset = Extension.create({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { FontSize } from '../FontSize';
|
|
6
5
|
import { DeviceManager } from '../DeviceManager';
|
|
7
|
-
import { ContentNormalizer } from '../../services';
|
|
6
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
8
7
|
import { buildCoreExtensions } from '../core';
|
|
9
8
|
|
|
10
9
|
const MockStylePreset = Extension.create({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { FontStyle } from '../FontStyle';
|
|
6
5
|
import { FontFamily } from '../FontFamily';
|
|
7
6
|
import { Font } from '../../models';
|
|
8
7
|
import { FontWeight } from '../FontWeight';
|
|
9
|
-
import { ContentNormalizer } from '../../services';
|
|
8
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
10
9
|
import { buildCoreExtensions } from '../core';
|
|
11
10
|
|
|
12
11
|
const MockStylePreset = Extension.create({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { Font } from '../../models';
|
|
6
5
|
import { FontWeight } from '../FontWeight';
|
|
7
6
|
import { FontFamily } from '../FontFamily';
|
|
8
7
|
import { FontStyle } from '../FontStyle';
|
|
9
|
-
import { ContentNormalizer } from '../../services';
|
|
8
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
10
9
|
import { buildCoreExtensions } from '../core';
|
|
11
10
|
|
|
12
11
|
const MockStylePreset = Extension.create({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { DeviceManager } from '../DeviceManager';
|
|
6
5
|
import { LineHeight } from '../LineHeight';
|
|
7
|
-
import { ContentNormalizer } from '../../services';
|
|
6
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
8
7
|
import { buildCoreExtensions } from '../core';
|
|
9
8
|
|
|
10
9
|
const MockStylePreset = Extension.create({
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ref } from 'vue';
|
|
2
2
|
import { Editor } from '@tiptap/vue-2';
|
|
3
|
-
import { ContentNormalizer } from '../../services';
|
|
3
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
4
4
|
import { Link } from '../Link';
|
|
5
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
6
5
|
import { buildCoreExtensions } from '../core';
|
|
7
6
|
|
|
8
7
|
function createEditor({ content }) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Editor, Extension, Mark } from '@tiptap/vue-2';
|
|
2
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
3
2
|
import { StylePreset } from '../StylePreset';
|
|
4
3
|
import { List } from '../list';
|
|
5
4
|
import { ListTypes, NodeTypes, TextSettings } from '../../enums';
|
|
6
|
-
import { ContentNormalizer } from '../../services';
|
|
5
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
7
6
|
import { buildCoreExtensions } from '../core';
|
|
8
7
|
|
|
9
8
|
const MockFontSize = Mark.create({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { NodeFactory } from '../../__tests__/utils';
|
|
4
3
|
import { createCommand } from '../../utils';
|
|
5
4
|
import { TextDecoration } from '../TextDecoration';
|
|
6
|
-
import { ContentNormalizer } from '../../services';
|
|
5
|
+
import { ContentNormalizer, NodeFactory } from '../../services';
|
|
7
6
|
import { buildCoreExtensions } from '../core';
|
|
8
7
|
|
|
9
8
|
const MockStylePreset = Extension.create({
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Editor, Extension } from '@tiptap/vue-2';
|
|
2
|
-
import { NodeFactory } from '../../../__tests__/utils';
|
|
3
2
|
import { NodeTypes } from '../../../enums';
|
|
4
|
-
import { ContentNormalizer } from '../../../services';
|
|
3
|
+
import { ContentNormalizer, NodeFactory } from '../../../services';
|
|
5
4
|
import { buildCoreExtensions } from '../index';
|
|
6
5
|
|
|
7
6
|
const LineHeight = Extension.create({
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Editor } from '@tiptap/vue-2';
|
|
2
|
-
import { NodeFactory } from '../../../
|
|
3
|
-
import { ContentNormalizer } from '../../../services';
|
|
2
|
+
import { ContentNormalizer, NodeFactory } from '../../../services';
|
|
4
3
|
import { buildCoreExtensions } from '../index';
|
|
5
4
|
|
|
6
5
|
function createEditor() {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Editor, Mark, Extension } from '@tiptap/vue-2';
|
|
2
|
-
import { NodeFactory } from '../../../
|
|
3
|
-
import { ContentNormalizer } from '../../../services';
|
|
2
|
+
import { ContentNormalizer, NodeFactory } from '../../../services';
|
|
4
3
|
import { NodeTypes, TextSettings } from '../../../enums';
|
|
5
4
|
import { buildCoreExtensions } from '../index';
|
|
6
5
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Editor } from '@tiptap/vue-2';
|
|
2
|
-
import { NodeFactory } from '../../../__tests__/utils';
|
|
3
2
|
import { ListTypes } from '../../../enums';
|
|
4
3
|
import { StylePreset } from '../../StylePreset';
|
|
5
4
|
import { List } from '../List';
|
|
6
|
-
import { ContentNormalizer } from '../../../services';
|
|
5
|
+
import { ContentNormalizer, NodeFactory } from '../../../services';
|
|
7
6
|
import { buildCoreExtensions } from '../../core';
|
|
8
7
|
|
|
9
8
|
function createEditor({ content }) {
|
package/lib/index.js
CHANGED
package/lib/services/index.js
CHANGED