@uva-glass/component-library 1.52.1 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Lexical.prod-zUeT_jIr.js → Lexical.prod-DNRTKPfN.js} +72 -66
- package/dist/Lexical.prod-DNRTKPfN.js.map +1 -0
- package/dist/{LexicalUtils.prod-DtRifALg.js → LexicalUtils.prod-D_BPEjfg.js} +2 -2
- package/dist/{LexicalUtils.prod-DtRifALg.js.map → LexicalUtils.prod-D_BPEjfg.js.map} +1 -1
- package/dist/{ListPlugin-CxyYg2bv.js → ListPlugin-CgNBzfIl.js} +4 -4
- package/dist/{ListPlugin-CxyYg2bv.js.map → ListPlugin-CgNBzfIl.js.map} +1 -1
- package/dist/RteEditor.module-BjGyWKhW.js +26 -0
- package/dist/RteEditor.module-BjGyWKhW.js.map +1 -0
- package/dist/assets/RteEditor.css +1 -1
- package/dist/components/Icon/icons/index.d.ts +9 -0
- package/dist/components/Icon/icons/index.js +52 -37
- package/dist/components/Icon/icons/index.js.map +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +2 -2
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.d.ts +1 -0
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +62 -0
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js.map +1 -0
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.d.ts +1 -0
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +5 -0
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js.map +1 -0
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/ListPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +22 -20
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/index.d.ts +2 -0
- package/dist/components/RteEditor/Plugins/index.js +10 -6
- package/dist/components/RteEditor/Plugins/index.js.map +1 -1
- package/dist/components/RteEditor/RteEditor.js +567 -462
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
- package/dist/{helpers-DpGAANJ8.js → helpers-TSjo3aAv.js} +3 -3
- package/dist/{helpers-DpGAANJ8.js.map → helpers-TSjo3aAv.js.map} +1 -1
- package/package.json +2 -2
- package/dist/Lexical.prod-zUeT_jIr.js.map +0 -1
- package/dist/RteEditor.module--4R0Ql6Y.js +0 -26
- package/dist/RteEditor.module--4R0Ql6Y.js.map +0 -1
|
@@ -22,7 +22,7 @@ function Yi() {
|
|
|
22
22
|
function eo(n) {
|
|
23
23
|
return {};
|
|
24
24
|
}
|
|
25
|
-
const kn = {}, to = {}, Ms = {}, yt = {}, gt = {}, Zn = {}, je = {}, zr = {}, Gn = {}, mt = {}, xt = {}, we = {}, Br = {}, Rr = {}, Ws = {}, zs = {}, Bs = {}, Rs = {}, Ks = {}, $s = {}, Js = {}, un = {}, Us = {}, Vs = {}, js = {}, Hs = {}, qs = {}, no = {}, ro = {}, so = {}, Qs = {}, io = {}, Xs = {}, Zs = {}, Gs = {}, Kr = {}, $r = {}, Yn = {}, Ys = {}, ei = {}, ti = {}, ne = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, ni = ne && "documentMode" in document ? document.documentMode : null, Y = ne && /Mac|iPod|iPhone|iPad/.test(navigator.platform), xe = ne && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), vt = !(!ne || !("InputEvent" in window) || ni) && "getTargetRanges" in new window.InputEvent("input"), bn = ne && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), It = ne && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, ri = ne && /Android/.test(navigator.userAgent), Jr = ne && /^(?=.*Chrome).*/i.test(navigator.userAgent), si = ne && ri && Jr, wn = ne && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !Jr, nt = 1, Te = 3, Ee = 0, Ur = 1, Ae = 2, ii = 0, oi = 1, li = 2, St = 4, Tt = 8, Nn = 128, ci = 112 | (3 | St | Tt) | Nn, En = 1, Pn = 2, Fn = 3, Dn = 4, Ln = 5, On = 6, At = bn || It || wn ? " " : "", ae = `
|
|
25
|
+
const kn = {}, to = {}, Ms = {}, yt = {}, gt = {}, Zn = {}, je = {}, zr = {}, Gn = {}, mt = {}, xt = {}, we = {}, Br = {}, Rr = {}, Ws = {}, zs = {}, Bs = {}, Rs = {}, Ks = {}, $s = {}, Js = {}, un = {}, Us = {}, Vs = {}, js = {}, Hs = {}, qs = {}, no = {}, ro = {}, so = {}, Qs = {}, io = {}, Xs = {}, Zs = {}, Gs = {}, Kr = {}, $r = {}, Yn = {}, oo = {}, lo = {}, co = {}, ao = {}, Ys = {}, ei = {}, ti = {}, ne = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, ni = ne && "documentMode" in document ? document.documentMode : null, Y = ne && /Mac|iPod|iPhone|iPad/.test(navigator.platform), xe = ne && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), vt = !(!ne || !("InputEvent" in window) || ni) && "getTargetRanges" in new window.InputEvent("input"), bn = ne && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), It = ne && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, ri = ne && /Android/.test(navigator.userAgent), Jr = ne && /^(?=.*Chrome).*/i.test(navigator.userAgent), si = ne && ri && Jr, wn = ne && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !Jr, nt = 1, Te = 3, Ee = 0, Ur = 1, Ae = 2, ii = 0, oi = 1, li = 2, St = 4, Tt = 8, Nn = 128, ci = 112 | (3 | St | Tt) | Nn, En = 1, Pn = 2, Fn = 3, Dn = 4, Ln = 5, On = 6, At = bn || It || wn ? " " : "", ae = `
|
|
26
26
|
|
|
27
27
|
`, ai = xe ? " " : At, Vr = "֑-߿יִ-﷽ﹰ-ﻼ", jr = "A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--", ui = new RegExp("^[^" + jr + "]*[" + Vr + "]"), fi = new RegExp("^[^" + Vr + "]*[" + jr + "]"), ce = { bold: 1, code: 16, highlight: Nn, italic: 2, strikethrough: St, subscript: 32, superscript: 64, underline: Tt }, di = { directionless: 1, unmergeable: 2 }, er = { center: Pn, end: On, justify: Dn, left: En, right: Fn, start: Ln }, hi = { [Pn]: "center", [On]: "end", [Dn]: "justify", [En]: "left", [Fn]: "right", [Ln]: "start" }, gi = { normal: 0, segmented: 2, token: 1 }, _i = { [ii]: "normal", [li]: "segmented", [oi]: "token" };
|
|
28
28
|
function pi(n) {
|
|
@@ -240,7 +240,7 @@ function bt(n, e, t) {
|
|
|
240
240
|
let s = n ^ r;
|
|
241
241
|
return e === "subscript" ? s &= ~ce.superscript : e === "superscript" && (s &= ~ce.subscript), s;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function uo(n) {
|
|
244
244
|
return N(n) || Ie(n) || A(n);
|
|
245
245
|
}
|
|
246
246
|
function bi(n, e) {
|
|
@@ -456,7 +456,7 @@ function Ke(n) {
|
|
|
456
456
|
function ur(n, e, t) {
|
|
457
457
|
return n.toLowerCase() === "a" && Ue(e, t);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function fo() {
|
|
460
460
|
const n = G();
|
|
461
461
|
ue(Si(n.select(0, n.getChildrenSize())));
|
|
462
462
|
}
|
|
@@ -597,13 +597,13 @@ function Ei(n, e, t) {
|
|
|
597
597
|
function se(n) {
|
|
598
598
|
return ne ? (n || window).getSelection() : null;
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function ho(n) {
|
|
601
601
|
return Kn(n) && n.tagName === "A";
|
|
602
602
|
}
|
|
603
603
|
function Kn(n) {
|
|
604
604
|
return n.nodeType === 1;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function go(n) {
|
|
607
607
|
return n.nodeType === 11;
|
|
608
608
|
}
|
|
609
609
|
function Pi(n) {
|
|
@@ -625,7 +625,7 @@ function $e(n, e) {
|
|
|
625
625
|
for (; t !== null && t.getParent() !== null && !e(t); ) t = t.getParentOrThrow();
|
|
626
626
|
return e(t) ? t : null;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function _o() {
|
|
629
629
|
return M();
|
|
630
630
|
}
|
|
631
631
|
const gr = /* @__PURE__ */ new WeakMap(), Fi = /* @__PURE__ */ new Map();
|
|
@@ -2738,14 +2738,14 @@ function Ts(n, e, t, r, s, i) {
|
|
|
2738
2738
|
}
|
|
2739
2739
|
return Ss(o, l, i), [o, l];
|
|
2740
2740
|
}
|
|
2741
|
-
function
|
|
2741
|
+
function po(n) {
|
|
2742
2742
|
return S(n) && !n.isInline();
|
|
2743
2743
|
}
|
|
2744
2744
|
function Cs(n, e, t, r, s, i) {
|
|
2745
2745
|
const o = fe(), l = new Ce(ie(n, e, s), ie(t, r, i), 0, "");
|
|
2746
2746
|
return l.dirty = !0, o._selection = l, l;
|
|
2747
2747
|
}
|
|
2748
|
-
function
|
|
2748
|
+
function yo() {
|
|
2749
2749
|
const n = ie("root", 0, "element"), e = ie("root", 0, "element");
|
|
2750
2750
|
return new Ce(n, e, 0, "");
|
|
2751
2751
|
}
|
|
@@ -2880,7 +2880,7 @@ function Vi(n, e, t, r, s, i, o) {
|
|
|
2880
2880
|
vn = !0;
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
|
-
function
|
|
2883
|
+
function mo(n) {
|
|
2884
2884
|
let e = I() || ot();
|
|
2885
2885
|
e === null && (e = G().selectEnd()), e.insertNodes(n);
|
|
2886
2886
|
}
|
|
@@ -2968,7 +2968,7 @@ function ws(n, e) {
|
|
|
2968
2968
|
Array.isArray(e) || (r = [e]);
|
|
2969
2969
|
for (const s of r) t.add(s);
|
|
2970
2970
|
}
|
|
2971
|
-
function
|
|
2971
|
+
function xo(n) {
|
|
2972
2972
|
return Vn(n, M()._nodes);
|
|
2973
2973
|
}
|
|
2974
2974
|
function Vn(n, e) {
|
|
@@ -3710,14 +3710,14 @@ function ve() {
|
|
|
3710
3710
|
function Cn(n) {
|
|
3711
3711
|
return n instanceof We;
|
|
3712
3712
|
}
|
|
3713
|
-
const
|
|
3713
|
+
const vo = 0, So = 1, To = 4;
|
|
3714
3714
|
function Fs(n, e, t, r) {
|
|
3715
3715
|
const s = n._keyToDOMMap;
|
|
3716
3716
|
s.clear(), n._editorState = jn(), n._pendingEditorState = r, n._compositionKey = null, n._dirtyType = Ee, n._cloneNotNeeded.clear(), n._dirtyLeaves = /* @__PURE__ */ new Set(), n._dirtyElements.clear(), n._normalizedNodes = /* @__PURE__ */ new Set(), n._updateTags = /* @__PURE__ */ new Set(), n._updates = [], n._blockCursorElement = null;
|
|
3717
3717
|
const i = n._observer;
|
|
3718
3718
|
i !== null && (i.disconnect(), n._observer = null), e !== null && (e.textContent = ""), t !== null && (t.textContent = "", s.set("root", t));
|
|
3719
3719
|
}
|
|
3720
|
-
function
|
|
3720
|
+
function Co(n) {
|
|
3721
3721
|
const e = n || {}, t = Hi(), r = e.theme || {}, s = n === void 0 ? t : e.parentEditor || null, i = e.disableEvents || !1, o = jn(), l = e.namespace || (s !== null ? s._config.namespace : ns()), c = e.editorState, a = [ct, Me, st, it, We, Qi, ...e.nodes || []], { onError: f, html: h } = e, u = e.editable === void 0 || e.editable;
|
|
3722
3722
|
let d;
|
|
3723
3723
|
if (n === void 0 && t !== null) d = t._nodes;
|
|
@@ -3969,82 +3969,88 @@ class Qt {
|
|
|
3969
3969
|
}
|
|
3970
3970
|
Qt.version = "0.18.0+prod.esm";
|
|
3971
3971
|
export {
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3972
|
+
ao as $,
|
|
3973
|
+
to as A,
|
|
3974
|
+
xo as B,
|
|
3975
3975
|
hr as C,
|
|
3976
|
-
|
|
3977
|
-
|
|
3976
|
+
To as D,
|
|
3977
|
+
po as E,
|
|
3978
3978
|
Cn as F,
|
|
3979
|
-
|
|
3980
|
-
|
|
3979
|
+
Mt as G,
|
|
3980
|
+
_o as H,
|
|
3981
3981
|
I,
|
|
3982
3982
|
Ie as J,
|
|
3983
|
-
|
|
3984
|
-
|
|
3983
|
+
co as K,
|
|
3984
|
+
So as L,
|
|
3985
3985
|
Kr as M,
|
|
3986
|
-
|
|
3987
|
-
|
|
3986
|
+
zr as N,
|
|
3987
|
+
Xr as O,
|
|
3988
3988
|
ve as P,
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3989
|
+
vo as Q,
|
|
3990
|
+
$r as R,
|
|
3991
|
+
go as S,
|
|
3992
3992
|
br as T,
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3993
|
+
Yn as U,
|
|
3994
|
+
fo as V,
|
|
3995
|
+
Co as W,
|
|
3996
3996
|
dr as X,
|
|
3997
3997
|
Me as Y,
|
|
3998
|
-
|
|
3999
|
-
|
|
3998
|
+
Zs as Z,
|
|
3999
|
+
uo as _,
|
|
4000
4000
|
Zn as a,
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4001
|
+
zt as a0,
|
|
4002
|
+
Xs as a1,
|
|
4003
|
+
Qs as a2,
|
|
4004
|
+
yo as a3,
|
|
4005
|
+
Si as a4,
|
|
4006
|
+
ue as a5,
|
|
4007
|
+
js as a6,
|
|
4008
|
+
un as a7,
|
|
4009
|
+
gt as a8,
|
|
4010
|
+
Hs as a9,
|
|
4011
|
+
yt as aa,
|
|
4012
|
+
Vs as ab,
|
|
4013
|
+
so as ac,
|
|
4014
|
+
zs as ad,
|
|
4015
|
+
Rs as ae,
|
|
4016
|
+
Js as af,
|
|
4017
|
+
$s as ag,
|
|
4018
|
+
ro as ah,
|
|
4019
|
+
no as ai,
|
|
4020
|
+
mo as aj,
|
|
4021
|
+
io as ak,
|
|
4022
|
+
Gn as al,
|
|
4023
|
+
je as am,
|
|
4024
|
+
xt as an,
|
|
4025
|
+
mt as ao,
|
|
4026
|
+
Ms as ap,
|
|
4027
|
+
Zr as aq,
|
|
4028
|
+
lo as ar,
|
|
4029
|
+
oo as as,
|
|
4024
4030
|
rt as b,
|
|
4025
4031
|
jt as c,
|
|
4026
4032
|
we as d,
|
|
4027
4033
|
As as e,
|
|
4028
4034
|
$t as f,
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4035
|
+
Rr as g,
|
|
4036
|
+
Br as h,
|
|
4037
|
+
Gi as i,
|
|
4038
|
+
A as j,
|
|
4039
|
+
Z as k,
|
|
4034
4040
|
N as l,
|
|
4035
4041
|
F as m,
|
|
4036
|
-
|
|
4042
|
+
Qi as n,
|
|
4037
4043
|
$ as o,
|
|
4038
4044
|
Ht as p,
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4045
|
+
tt as q,
|
|
4046
|
+
Li as r,
|
|
4047
|
+
Pi as s,
|
|
4042
4048
|
eo as t,
|
|
4043
4049
|
Yi as u,
|
|
4044
4050
|
Kn as v,
|
|
4045
4051
|
G as w,
|
|
4046
|
-
|
|
4052
|
+
ho as x,
|
|
4047
4053
|
S as y,
|
|
4048
|
-
|
|
4054
|
+
Jn as z
|
|
4049
4055
|
};
|
|
4050
|
-
//# sourceMappingURL=Lexical.prod-
|
|
4056
|
+
//# sourceMappingURL=Lexical.prod-DNRTKPfN.js.map
|