@v1nt1248/3nclient-lib 0.1.97 → 0.1.98
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/ui3n-components.js +208 -208
- package/package.json +11 -11
package/dist/ui3n-components.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var RU = Object.defineProperty;
|
|
2
2
|
var FU = (Q, C, I) => C in Q ? RU(Q, C, { enumerable: !0, configurable: !0, writable: !0, value: I }) : Q[C] = I;
|
|
3
3
|
var XI = (Q, C, I) => FU(Q, typeof C != "symbol" ? C + "" : C, I);
|
|
4
|
-
import { defineComponent as Eg, useCssVars as xI, computed as
|
|
4
|
+
import { defineComponent as Eg, useCssVars as xI, computed as nA, createElementBlock as uA, openBlock as sA, normalizeStyle as bI, normalizeClass as EA, useCssModule as vQ, ref as yA, watch as tg, onMounted as _g, withDirectives as YQ, withKeys as Sg, createBlock as EI, createCommentVNode as zA, renderSlot as Ig, unref as dA, useSlots as PC, createElementVNode as GA, withModifiers as uI, toDisplayString as wg, mergeProps as hQ, toHandlers as AC, onBeforeMount as Xr, createVNode as UI, Transition as Xw, withCtx as lQ, createTextVNode as DB, Fragment as GI, renderList as wQ, nextTick as _r, resolveDynamicComponent as fU, shallowRef as GU, getCurrentScope as UU, onScopeDispose as NU, shallowReadonly as PB, getCurrentInstance as ke, onBeforeUnmount as _w, inject as dU, provide as MU, vModelText as SU } from "vue";
|
|
5
5
|
var HQ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function xQ(Q) {
|
|
7
7
|
return Q && Q.__esModule && Object.prototype.hasOwnProperty.call(Q, "default") ? Q.default : Q;
|
|
@@ -2763,6 +2763,9 @@ function ve() {
|
|
|
2763
2763
|
return s;
|
|
2764
2764
|
}
|
|
2765
2765
|
class a {
|
|
2766
|
+
get proxyOf() {
|
|
2767
|
+
return this;
|
|
2768
|
+
}
|
|
2766
2769
|
constructor(n = {}) {
|
|
2767
2770
|
this.raws = {}, this[B] = !1, this[e] = !0;
|
|
2768
2771
|
for (let u in n)
|
|
@@ -2856,18 +2859,18 @@ function ve() {
|
|
|
2856
2859
|
if (n.index)
|
|
2857
2860
|
u = this.positionInside(n.index);
|
|
2858
2861
|
else if (n.word) {
|
|
2859
|
-
let
|
|
2860
|
-
o(
|
|
2861
|
-
o(
|
|
2862
|
+
let c = "document" in this.source.input ? this.source.input.document : this.source.input.css, t = c.slice(
|
|
2863
|
+
o(c, this.source.start),
|
|
2864
|
+
o(c, this.source.end)
|
|
2862
2865
|
).indexOf(n.word);
|
|
2863
|
-
|
|
2866
|
+
t !== -1 && (u = this.positionInside(t));
|
|
2864
2867
|
}
|
|
2865
2868
|
return u;
|
|
2866
2869
|
}
|
|
2867
2870
|
positionInside(n) {
|
|
2868
|
-
let u = this.source.start.column, c = this.source.start.line, s =
|
|
2869
|
-
for (let
|
|
2870
|
-
|
|
2871
|
+
let u = this.source.start.column, c = this.source.start.line, s = "document" in this.source.input ? this.source.input.document : this.source.input.css, t = o(s, this.source.start), l = t + n;
|
|
2872
|
+
for (let R = t; R < l; R++)
|
|
2873
|
+
s[R] === `
|
|
2871
2874
|
` ? (u = 1, c += 1) : u += 1;
|
|
2872
2875
|
return { column: u, line: c };
|
|
2873
2876
|
}
|
|
@@ -2888,12 +2891,12 @@ function ve() {
|
|
|
2888
2891
|
line: u.line
|
|
2889
2892
|
};
|
|
2890
2893
|
if (n.word) {
|
|
2891
|
-
let
|
|
2892
|
-
o(
|
|
2893
|
-
o(
|
|
2894
|
+
let s = "document" in this.source.input ? this.source.input.document : this.source.input.css, l = s.slice(
|
|
2895
|
+
o(s, this.source.start),
|
|
2896
|
+
o(s, this.source.end)
|
|
2894
2897
|
).indexOf(n.word);
|
|
2895
|
-
|
|
2896
|
-
|
|
2898
|
+
l !== -1 && (u = this.positionInside(l), c = this.positionInside(
|
|
2899
|
+
l + n.word.length
|
|
2897
2900
|
));
|
|
2898
2901
|
} else
|
|
2899
2902
|
n.start ? u = {
|
|
@@ -2964,9 +2967,6 @@ function ve() {
|
|
|
2964
2967
|
for (let t in c) s[t] = c[t];
|
|
2965
2968
|
return n.warn(u, s);
|
|
2966
2969
|
}
|
|
2967
|
-
get proxyOf() {
|
|
2968
|
-
return this;
|
|
2969
|
-
}
|
|
2970
2970
|
}
|
|
2971
2971
|
return wt = a, a.default = a, wt;
|
|
2972
2972
|
}
|
|
@@ -2988,12 +2988,12 @@ function qe() {
|
|
|
2988
2988
|
r0 = 1;
|
|
2989
2989
|
let Q = ve();
|
|
2990
2990
|
class C extends Q {
|
|
2991
|
-
constructor(B) {
|
|
2992
|
-
B && typeof B.value < "u" && typeof B.value != "string" && (B = { ...B, value: String(B.value) }), super(B), this.type = "decl";
|
|
2993
|
-
}
|
|
2994
2991
|
get variable() {
|
|
2995
2992
|
return this.prop.startsWith("--") || this.prop[0] === "$";
|
|
2996
2993
|
}
|
|
2994
|
+
constructor(B) {
|
|
2995
|
+
B && typeof B.value < "u" && typeof B.value != "string" && (B = { ...B, value: String(B.value) }), super(B), this.type = "decl";
|
|
2996
|
+
}
|
|
2997
2997
|
}
|
|
2998
2998
|
return lt = C, C.default = C, lt;
|
|
2999
2999
|
}
|
|
@@ -3011,6 +3011,14 @@ function hB() {
|
|
|
3011
3011
|
u(t);
|
|
3012
3012
|
}
|
|
3013
3013
|
class c extends I {
|
|
3014
|
+
get first() {
|
|
3015
|
+
if (this.proxyOf.nodes)
|
|
3016
|
+
return this.proxyOf.nodes[0];
|
|
3017
|
+
}
|
|
3018
|
+
get last() {
|
|
3019
|
+
if (this.proxyOf.nodes)
|
|
3020
|
+
return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
|
|
3021
|
+
}
|
|
3014
3022
|
append(...t) {
|
|
3015
3023
|
for (let l of t) {
|
|
3016
3024
|
let R = this.normalize(l, this.last);
|
|
@@ -3190,14 +3198,6 @@ function hB() {
|
|
|
3190
3198
|
return l(R, F);
|
|
3191
3199
|
}));
|
|
3192
3200
|
}
|
|
3193
|
-
get first() {
|
|
3194
|
-
if (this.proxyOf.nodes)
|
|
3195
|
-
return this.proxyOf.nodes[0];
|
|
3196
|
-
}
|
|
3197
|
-
get last() {
|
|
3198
|
-
if (this.proxyOf.nodes)
|
|
3199
|
-
return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
|
|
3200
|
-
}
|
|
3201
3201
|
}
|
|
3202
3202
|
return c.registerParse = (s) => {
|
|
3203
3203
|
o = s;
|
|
@@ -3256,12 +3256,12 @@ function _U() {
|
|
|
3256
3256
|
D0 = 1;
|
|
3257
3257
|
let Q = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
3258
3258
|
return ft = { nanoid: (B = 21) => {
|
|
3259
|
-
let e = "", E = B;
|
|
3259
|
+
let e = "", E = B | 0;
|
|
3260
3260
|
for (; E--; )
|
|
3261
3261
|
e += Q[Math.random() * 64 | 0];
|
|
3262
3262
|
return e;
|
|
3263
3263
|
}, customAlphabet: (B, e = 21) => (E = e) => {
|
|
3264
|
-
let o = "", a = E;
|
|
3264
|
+
let o = "", a = E | 0;
|
|
3265
3265
|
for (; a--; )
|
|
3266
3266
|
o += B[Math.random() * B.length | 0];
|
|
3267
3267
|
return o;
|
|
@@ -3361,10 +3361,13 @@ function Ve() {
|
|
|
3361
3361
|
w0 = 1;
|
|
3362
3362
|
let { nanoid: Q } = /* @__PURE__ */ _U(), { isAbsolute: C, resolve: I } = HI, { SourceMapConsumer: B, SourceMapGenerator: e } = HI, { fileURLToPath: E, pathToFileURL: o } = HI, a = zr(), h = Qh(), n = HI, u = Symbol("fromOffsetCache"), c = !!(B && e), s = !!(I && C);
|
|
3363
3363
|
class t {
|
|
3364
|
+
get from() {
|
|
3365
|
+
return this.file || this.id;
|
|
3366
|
+
}
|
|
3364
3367
|
constructor(R, F = {}) {
|
|
3365
3368
|
if (R === null || typeof R > "u" || typeof R == "object" && !R.toString)
|
|
3366
3369
|
throw new Error(`PostCSS received ${R} instead of CSS string`);
|
|
3367
|
-
if (this.css = R.toString(), this.css[0] === "\uFEFF" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, F.from && (!s || /^\w+:\/\//.test(F.from) || C(F.from) ? this.file = F.from : this.file = I(F.from)), s && c) {
|
|
3370
|
+
if (this.css = R.toString(), this.css[0] === "\uFEFF" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, F.document && (this.document = F.document.toString()), F.from && (!s || /^\w+:\/\//.test(F.from) || C(F.from) ? this.file = F.from : this.file = I(F.from)), s && c) {
|
|
3368
3371
|
let y = new h(this.css, F);
|
|
3369
3372
|
if (y.text) {
|
|
3370
3373
|
this.map = y;
|
|
@@ -3478,9 +3481,6 @@ function Ve() {
|
|
|
3478
3481
|
this[F] != null && (R[F] = this[F]);
|
|
3479
3482
|
return this.map && (R.map = { ...this.map }, R.map.consumerCache && (R.map.consumerCache = void 0)), R;
|
|
3480
3483
|
}
|
|
3481
|
-
get from() {
|
|
3482
|
-
return this.file || this.id;
|
|
3483
|
-
}
|
|
3484
3484
|
}
|
|
3485
3485
|
return Ut = t, t.default = t, n && n.registerInput && n.registerInput(t), Ut;
|
|
3486
3486
|
}
|
|
@@ -3546,9 +3546,6 @@ function In() {
|
|
|
3546
3546
|
y0 = 1;
|
|
3547
3547
|
let Q = hB(), C = Bh();
|
|
3548
3548
|
class I extends Q {
|
|
3549
|
-
constructor(e) {
|
|
3550
|
-
super(e), this.type = "rule", this.nodes || (this.nodes = []);
|
|
3551
|
-
}
|
|
3552
3549
|
get selectors() {
|
|
3553
3550
|
return C.comma(this.selector);
|
|
3554
3551
|
}
|
|
@@ -3556,6 +3553,9 @@ function In() {
|
|
|
3556
3553
|
let E = this.selector ? this.selector.match(/,\s*/) : null, o = E ? E[0] : "," + this.raw("between", "beforeOpen");
|
|
3557
3554
|
this.selector = e.join(o);
|
|
3558
3555
|
}
|
|
3556
|
+
constructor(e) {
|
|
3557
|
+
super(e), this.type = "rule", this.nodes || (this.nodes = []);
|
|
3558
|
+
}
|
|
3559
3559
|
}
|
|
3560
3560
|
return Mt = I, I.default = I, Q.registerRule(I), Mt;
|
|
3561
3561
|
}
|
|
@@ -3780,7 +3780,7 @@ function $U() {
|
|
|
3780
3780
|
function yg($) {
|
|
3781
3781
|
if ($A.length) return $A.pop();
|
|
3782
3782
|
if (wA >= WA) return;
|
|
3783
|
-
let
|
|
3783
|
+
let rA = $ ? $.ignoreUnclosed : !1;
|
|
3784
3784
|
switch (W = x.charCodeAt(wA), W) {
|
|
3785
3785
|
case e:
|
|
3786
3786
|
case E:
|
|
@@ -3810,7 +3810,7 @@ function $U() {
|
|
|
3810
3810
|
q = wA;
|
|
3811
3811
|
do {
|
|
3812
3812
|
if (gA = !1, q = x.indexOf(")", q + 1), q === -1)
|
|
3813
|
-
if (Y ||
|
|
3813
|
+
if (Y || rA) {
|
|
3814
3814
|
q = wA;
|
|
3815
3815
|
break;
|
|
3816
3816
|
} else
|
|
@@ -3828,7 +3828,7 @@ function $U() {
|
|
|
3828
3828
|
O = W === Q ? "'" : '"', q = wA;
|
|
3829
3829
|
do {
|
|
3830
3830
|
if (gA = !1, q = x.indexOf(O, q + 1), q === -1)
|
|
3831
|
-
if (Y ||
|
|
3831
|
+
if (Y || rA) {
|
|
3832
3832
|
q = wA + 1;
|
|
3833
3833
|
break;
|
|
3834
3834
|
} else
|
|
@@ -3855,7 +3855,7 @@ function $U() {
|
|
|
3855
3855
|
break;
|
|
3856
3856
|
}
|
|
3857
3857
|
default: {
|
|
3858
|
-
W === B && x.charCodeAt(wA + 1) === F ? (q = x.indexOf("*/", wA + 2) + 1, q === 0 && (Y ||
|
|
3858
|
+
W === B && x.charCodeAt(wA + 1) === F ? (q = x.indexOf("*/", wA + 2) + 1, q === 0 && (Y || rA ? q = x.length : ag("comment")), _ = ["comment", x.slice(wA, q + 1), wA, q], wA = q) : (d.lastIndex = wA + 1, d.test(x), d.lastIndex === 0 ? q = x.length - 1 : q = d.lastIndex - 2, _ = ["word", x.slice(wA, q + 1), wA, q], ZA.push(_), wA = q);
|
|
3859
3859
|
break;
|
|
3860
3860
|
}
|
|
3861
3861
|
}
|
|
@@ -4030,7 +4030,7 @@ function AN() {
|
|
|
4030
4030
|
freeSemicolon(u) {
|
|
4031
4031
|
if (this.spaces += u[1], this.current.nodes) {
|
|
4032
4032
|
let c = this.current.nodes[this.current.nodes.length - 1];
|
|
4033
|
-
c && c.type === "rule" && !c.raws.ownSemicolon && (c.raws.ownSemicolon = this.spaces, this.spaces = "");
|
|
4033
|
+
c && c.type === "rule" && !c.raws.ownSemicolon && (c.raws.ownSemicolon = this.spaces, this.spaces = "", c.source.end = this.getPosition(u[2]), c.source.end.offset += c.raws.ownSemicolon.length);
|
|
4034
4034
|
}
|
|
4035
4035
|
}
|
|
4036
4036
|
// Helpers
|
|
@@ -4170,7 +4170,7 @@ function AN() {
|
|
|
4170
4170
|
}
|
|
4171
4171
|
unknownWord(u) {
|
|
4172
4172
|
throw this.input.error(
|
|
4173
|
-
"Unknown word",
|
|
4173
|
+
"Unknown word " + u[0][1],
|
|
4174
4174
|
{ offset: u[0][2] },
|
|
4175
4175
|
{ offset: u[0][2] + u[0][1].length }
|
|
4176
4176
|
);
|
|
@@ -4232,6 +4232,9 @@ function Bn() {
|
|
|
4232
4232
|
d0 = 1;
|
|
4233
4233
|
let Q = Eh();
|
|
4234
4234
|
class C {
|
|
4235
|
+
get content() {
|
|
4236
|
+
return this.css;
|
|
4237
|
+
}
|
|
4235
4238
|
constructor(B, e, E) {
|
|
4236
4239
|
this.processor = B, this.messages = [], this.root = e, this.opts = E, this.css = void 0, this.map = void 0;
|
|
4237
4240
|
}
|
|
@@ -4246,9 +4249,6 @@ function Bn() {
|
|
|
4246
4249
|
warnings() {
|
|
4247
4250
|
return this.messages.filter((B) => B.type === "warning");
|
|
4248
4251
|
}
|
|
4249
|
-
get content() {
|
|
4250
|
-
return this.css;
|
|
4251
|
-
}
|
|
4252
4252
|
}
|
|
4253
4253
|
return Yt = C, C.default = C, Yt;
|
|
4254
4254
|
}
|
|
@@ -4324,6 +4324,30 @@ function ih() {
|
|
|
4324
4324
|
}
|
|
4325
4325
|
let f = {};
|
|
4326
4326
|
class M {
|
|
4327
|
+
get content() {
|
|
4328
|
+
return this.stringify().content;
|
|
4329
|
+
}
|
|
4330
|
+
get css() {
|
|
4331
|
+
return this.stringify().css;
|
|
4332
|
+
}
|
|
4333
|
+
get map() {
|
|
4334
|
+
return this.stringify().map;
|
|
4335
|
+
}
|
|
4336
|
+
get messages() {
|
|
4337
|
+
return this.sync().messages;
|
|
4338
|
+
}
|
|
4339
|
+
get opts() {
|
|
4340
|
+
return this.result.opts;
|
|
4341
|
+
}
|
|
4342
|
+
get processor() {
|
|
4343
|
+
return this.result.processor;
|
|
4344
|
+
}
|
|
4345
|
+
get root() {
|
|
4346
|
+
return this.sync().root;
|
|
4347
|
+
}
|
|
4348
|
+
get [Symbol.toStringTag]() {
|
|
4349
|
+
return "LazyResult";
|
|
4350
|
+
}
|
|
4327
4351
|
constructor(G, J, L) {
|
|
4328
4352
|
this.stringified = !1, this.processed = !1;
|
|
4329
4353
|
let S;
|
|
@@ -4566,17 +4590,30 @@ function ih() {
|
|
|
4566
4590
|
warnings() {
|
|
4567
4591
|
return this.sync().warnings();
|
|
4568
4592
|
}
|
|
4593
|
+
}
|
|
4594
|
+
return M.registerPostcss = (d) => {
|
|
4595
|
+
f = d;
|
|
4596
|
+
}, bt = M, M.default = M, E.registerLazyResult(M), C.registerLazyResult(M), bt;
|
|
4597
|
+
}
|
|
4598
|
+
var mt, L0;
|
|
4599
|
+
function gN() {
|
|
4600
|
+
if (L0) return mt;
|
|
4601
|
+
L0 = 1;
|
|
4602
|
+
let Q = Ch(), C = Qn();
|
|
4603
|
+
const I = Bn();
|
|
4604
|
+
let B = me(), e = eh();
|
|
4605
|
+
class E {
|
|
4569
4606
|
get content() {
|
|
4570
|
-
return this.
|
|
4607
|
+
return this.result.css;
|
|
4571
4608
|
}
|
|
4572
4609
|
get css() {
|
|
4573
|
-
return this.
|
|
4610
|
+
return this.result.css;
|
|
4574
4611
|
}
|
|
4575
4612
|
get map() {
|
|
4576
|
-
return this.
|
|
4613
|
+
return this.result.map;
|
|
4577
4614
|
}
|
|
4578
4615
|
get messages() {
|
|
4579
|
-
return
|
|
4616
|
+
return [];
|
|
4580
4617
|
}
|
|
4581
4618
|
get opts() {
|
|
4582
4619
|
return this.result.opts;
|
|
@@ -4585,24 +4622,21 @@ function ih() {
|
|
|
4585
4622
|
return this.result.processor;
|
|
4586
4623
|
}
|
|
4587
4624
|
get root() {
|
|
4588
|
-
|
|
4625
|
+
if (this._root)
|
|
4626
|
+
return this._root;
|
|
4627
|
+
let a, h = C;
|
|
4628
|
+
try {
|
|
4629
|
+
a = h(this._css, this._opts);
|
|
4630
|
+
} catch (n) {
|
|
4631
|
+
this.error = n;
|
|
4632
|
+
}
|
|
4633
|
+
if (this.error)
|
|
4634
|
+
throw this.error;
|
|
4635
|
+
return this._root = a, a;
|
|
4589
4636
|
}
|
|
4590
4637
|
get [Symbol.toStringTag]() {
|
|
4591
|
-
return "
|
|
4638
|
+
return "NoWorkResult";
|
|
4592
4639
|
}
|
|
4593
|
-
}
|
|
4594
|
-
return M.registerPostcss = (d) => {
|
|
4595
|
-
f = d;
|
|
4596
|
-
}, bt = M, M.default = M, E.registerLazyResult(M), C.registerLazyResult(M), bt;
|
|
4597
|
-
}
|
|
4598
|
-
var mt, L0;
|
|
4599
|
-
function gN() {
|
|
4600
|
-
if (L0) return mt;
|
|
4601
|
-
L0 = 1;
|
|
4602
|
-
let Q = Ch(), C = Qn();
|
|
4603
|
-
const I = Bn();
|
|
4604
|
-
let B = me(), e = eh();
|
|
4605
|
-
class E {
|
|
4606
4640
|
constructor(a, h, n) {
|
|
4607
4641
|
h = h.toString(), this.stringified = !1, this._processor = a, this._css = h, this._opts = n, this._map = void 0;
|
|
4608
4642
|
let u, c = B;
|
|
@@ -4644,40 +4678,6 @@ function gN() {
|
|
|
4644
4678
|
warnings() {
|
|
4645
4679
|
return [];
|
|
4646
4680
|
}
|
|
4647
|
-
get content() {
|
|
4648
|
-
return this.result.css;
|
|
4649
|
-
}
|
|
4650
|
-
get css() {
|
|
4651
|
-
return this.result.css;
|
|
4652
|
-
}
|
|
4653
|
-
get map() {
|
|
4654
|
-
return this.result.map;
|
|
4655
|
-
}
|
|
4656
|
-
get messages() {
|
|
4657
|
-
return [];
|
|
4658
|
-
}
|
|
4659
|
-
get opts() {
|
|
4660
|
-
return this.result.opts;
|
|
4661
|
-
}
|
|
4662
|
-
get processor() {
|
|
4663
|
-
return this.result.processor;
|
|
4664
|
-
}
|
|
4665
|
-
get root() {
|
|
4666
|
-
if (this._root)
|
|
4667
|
-
return this._root;
|
|
4668
|
-
let a, h = C;
|
|
4669
|
-
try {
|
|
4670
|
-
a = h(this._css, this._opts);
|
|
4671
|
-
} catch (n) {
|
|
4672
|
-
this.error = n;
|
|
4673
|
-
}
|
|
4674
|
-
if (this.error)
|
|
4675
|
-
throw this.error;
|
|
4676
|
-
return this._root = a, a;
|
|
4677
|
-
}
|
|
4678
|
-
get [Symbol.toStringTag]() {
|
|
4679
|
-
return "NoWorkResult";
|
|
4680
|
-
}
|
|
4681
4681
|
}
|
|
4682
4682
|
return mt = E, E.default = E, mt;
|
|
4683
4683
|
}
|
|
@@ -4688,7 +4688,7 @@ function IN() {
|
|
|
4688
4688
|
let Q = gn(), C = ih(), I = gN(), B = XC();
|
|
4689
4689
|
class e {
|
|
4690
4690
|
constructor(o = []) {
|
|
4691
|
-
this.version = "8.
|
|
4691
|
+
this.version = "8.5.3", this.plugins = this.normalize(o);
|
|
4692
4692
|
}
|
|
4693
4693
|
normalize(o) {
|
|
4694
4694
|
let a = [];
|
|
@@ -4797,9 +4797,9 @@ function BN() {
|
|
|
4797
4797
|
return "";
|
|
4798
4798
|
typeof F == "number" && (F = F.toString());
|
|
4799
4799
|
let M = "", d = "";
|
|
4800
|
-
function G($,
|
|
4800
|
+
function G($, rA) {
|
|
4801
4801
|
const tA = this;
|
|
4802
|
-
this.tag = $, this.attribs =
|
|
4802
|
+
this.tag = $, this.attribs = rA || {}, this.tagPosition = M.length, this.text = "", this.openingTagLength = 0, this.mediaChildren = [], this.updateParentNodeText = function() {
|
|
4803
4803
|
if (O.length) {
|
|
4804
4804
|
const oA = O[O.length - 1];
|
|
4805
4805
|
oA.text += tA.text;
|
|
@@ -4829,42 +4829,42 @@ and ensure you are accounting for this risk.
|
|
|
4829
4829
|
"option"
|
|
4830
4830
|
];
|
|
4831
4831
|
let S, p;
|
|
4832
|
-
y.allowedAttributes && (S = {}, p = {}, h(y.allowedAttributes, function($,
|
|
4833
|
-
S[
|
|
4832
|
+
y.allowedAttributes && (S = {}, p = {}, h(y.allowedAttributes, function($, rA) {
|
|
4833
|
+
S[rA] = [];
|
|
4834
4834
|
const tA = [];
|
|
4835
4835
|
$.forEach(function(oA) {
|
|
4836
|
-
typeof oA == "string" && oA.indexOf("*") >= 0 ? tA.push(C(oA).replace(/\\\*/g, ".*")) : S[
|
|
4837
|
-
}), tA.length && (p[
|
|
4836
|
+
typeof oA == "string" && oA.indexOf("*") >= 0 ? tA.push(C(oA).replace(/\\\*/g, ".*")) : S[rA].push(oA);
|
|
4837
|
+
}), tA.length && (p[rA] = new RegExp("^(" + tA.join("|") + ")$"));
|
|
4838
4838
|
}));
|
|
4839
4839
|
const x = {}, Y = {}, W = {};
|
|
4840
|
-
h(y.allowedClasses, function($,
|
|
4841
|
-
if (S && (n(S,
|
|
4840
|
+
h(y.allowedClasses, function($, rA) {
|
|
4841
|
+
if (S && (n(S, rA) || (S[rA] = []), S[rA].push("class")), x[rA] = $, Array.isArray($)) {
|
|
4842
4842
|
const tA = [];
|
|
4843
|
-
x[
|
|
4844
|
-
typeof oA == "string" && oA.indexOf("*") >= 0 ? tA.push(C(oA).replace(/\\\*/g, ".*")) : oA instanceof RegExp ? W[
|
|
4845
|
-
}), tA.length && (Y[
|
|
4843
|
+
x[rA] = [], W[rA] = [], $.forEach(function(oA) {
|
|
4844
|
+
typeof oA == "string" && oA.indexOf("*") >= 0 ? tA.push(C(oA).replace(/\\\*/g, ".*")) : oA instanceof RegExp ? W[rA].push(oA) : x[rA].push(oA);
|
|
4845
|
+
}), tA.length && (Y[rA] = new RegExp("^(" + tA.join("|") + ")$"));
|
|
4846
4846
|
}
|
|
4847
4847
|
});
|
|
4848
4848
|
const j = {};
|
|
4849
4849
|
let P;
|
|
4850
|
-
h(y.transformTags, function($,
|
|
4850
|
+
h(y.transformTags, function($, rA) {
|
|
4851
4851
|
let tA;
|
|
4852
|
-
typeof $ == "function" ? tA = $ : typeof $ == "string" && (tA = l.simpleTransform($)),
|
|
4852
|
+
typeof $ == "function" ? tA = $ : typeof $ == "string" && (tA = l.simpleTransform($)), rA === "*" ? P = tA : j[rA] = tA;
|
|
4853
4853
|
});
|
|
4854
4854
|
let q, O, _, gA, aA, DA, fA = !1;
|
|
4855
4855
|
wA();
|
|
4856
4856
|
const WA = new Q.Parser({
|
|
4857
|
-
onopentag: function($,
|
|
4858
|
-
if (y.enforceHtmlBoundary && $ === "html" && wA(), aA) {
|
|
4857
|
+
onopentag: function($, rA) {
|
|
4858
|
+
if (y.onOpenTag && y.onOpenTag($, rA), y.enforceHtmlBoundary && $ === "html" && wA(), aA) {
|
|
4859
4859
|
DA++;
|
|
4860
4860
|
return;
|
|
4861
4861
|
}
|
|
4862
|
-
const tA = new G($,
|
|
4862
|
+
const tA = new G($, rA);
|
|
4863
4863
|
O.push(tA);
|
|
4864
4864
|
let oA = !1;
|
|
4865
4865
|
const lA = !!tA.text;
|
|
4866
4866
|
let Dg;
|
|
4867
|
-
if (n(j, $) && (Dg = j[$]($,
|
|
4867
|
+
if (n(j, $) && (Dg = j[$]($, rA), tA.attribs = rA = Dg.attribs, Dg.text !== void 0 && (tA.innerText = Dg.text), $ !== Dg.tagName && (tA.name = $ = Dg.tagName, gA[q] = Dg.tagName)), P && (Dg = P($, rA), tA.attribs = rA = Dg.attribs, $ !== Dg.tagName && (tA.name = $ = Dg.tagName, gA[q] = Dg.tagName)), (!J($) || y.disallowedTagsMode === "recursiveEscape" && !c(_) || y.nestingLimit != null && q >= y.nestingLimit) && (oA = !0, _[q] = !0, (y.disallowedTagsMode === "discard" || y.disallowedTagsMode === "completelyDiscard") && L.indexOf($) !== -1 && (aA = !0, DA = 1)), q++, oA) {
|
|
4868
4868
|
if (y.disallowedTagsMode === "discard" || y.disallowedTagsMode === "completelyDiscard") {
|
|
4869
4869
|
if (tA.innerText && !lA) {
|
|
4870
4870
|
const cA = ZA(tA.innerText);
|
|
@@ -4874,7 +4874,7 @@ and ensure you are accounting for this risk.
|
|
|
4874
4874
|
}
|
|
4875
4875
|
d = M, M = "";
|
|
4876
4876
|
}
|
|
4877
|
-
M += "<" + $, $ === "script" && (y.allowedScriptHostnames || y.allowedScriptDomains) && (tA.innerText = ""), (!S || n(S, $) || S["*"]) && h(
|
|
4877
|
+
M += "<" + $, $ === "script" && (y.allowedScriptHostnames || y.allowedScriptDomains) && (tA.innerText = ""), (!S || n(S, $) || S["*"]) && h(rA, function(cA, bA) {
|
|
4878
4878
|
if (!t.test(bA)) {
|
|
4879
4879
|
delete tA.attribs[bA];
|
|
4880
4880
|
return;
|
|
@@ -5000,9 +5000,9 @@ and ensure you are accounting for this risk.
|
|
|
5000
5000
|
ontext: function($) {
|
|
5001
5001
|
if (aA)
|
|
5002
5002
|
return;
|
|
5003
|
-
const
|
|
5003
|
+
const rA = O[O.length - 1];
|
|
5004
5004
|
let tA;
|
|
5005
|
-
if (
|
|
5005
|
+
if (rA && (tA = rA.tag, $ = rA.innerText !== void 0 ? rA.innerText : $), y.disallowedTagsMode === "completelyDiscard" && !J(tA))
|
|
5006
5006
|
$ = "";
|
|
5007
5007
|
else if ((y.disallowedTagsMode === "discard" || y.disallowedTagsMode === "completelyDiscard") && (tA === "script" || tA === "style"))
|
|
5008
5008
|
M += $;
|
|
@@ -5015,8 +5015,8 @@ and ensure you are accounting for this risk.
|
|
|
5015
5015
|
oA.text += $;
|
|
5016
5016
|
}
|
|
5017
5017
|
},
|
|
5018
|
-
onclosetag: function($,
|
|
5019
|
-
if (aA)
|
|
5018
|
+
onclosetag: function($, rA) {
|
|
5019
|
+
if (y.onCloseTag && y.onCloseTag($, rA), aA)
|
|
5020
5020
|
if (DA--, !DA)
|
|
5021
5021
|
aA = !1;
|
|
5022
5022
|
else
|
|
@@ -5049,7 +5049,7 @@ and ensure you are accounting for this risk.
|
|
|
5049
5049
|
}
|
|
5050
5050
|
if (tA.updateParentNodeMediaChildren(), tA.updateParentNodeText(), // Already output />
|
|
5051
5051
|
y.selfClosing.indexOf($) !== -1 || // Escaped tag, closing tag is implied
|
|
5052
|
-
|
|
5052
|
+
rA && !J($) && ["escape", "recursiveEscape"].indexOf(y.disallowedTagsMode) >= 0) {
|
|
5053
5053
|
oA && (M = d, d = "");
|
|
5054
5054
|
return;
|
|
5055
5055
|
}
|
|
@@ -5060,64 +5060,64 @@ and ensure you are accounting for this risk.
|
|
|
5060
5060
|
function wA() {
|
|
5061
5061
|
M = "", q = 0, O = [], _ = {}, gA = {}, aA = !1, DA = 0;
|
|
5062
5062
|
}
|
|
5063
|
-
function ZA($,
|
|
5064
|
-
return typeof $ != "string" && ($ = $ + ""), y.parser.decodeEntities && ($ = $.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"),
|
|
5063
|
+
function ZA($, rA) {
|
|
5064
|
+
return typeof $ != "string" && ($ = $ + ""), y.parser.decodeEntities && ($ = $.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), rA && ($ = $.replace(/"/g, """))), $ = $.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&").replace(/</g, "<").replace(/>/g, ">"), rA && ($ = $.replace(/"/g, """)), $;
|
|
5065
5065
|
}
|
|
5066
|
-
function $A($,
|
|
5067
|
-
for (
|
|
5068
|
-
const lA =
|
|
5066
|
+
function $A($, rA) {
|
|
5067
|
+
for (rA = rA.replace(/[\x00-\x20]+/g, ""); ; ) {
|
|
5068
|
+
const lA = rA.indexOf("<!--");
|
|
5069
5069
|
if (lA === -1)
|
|
5070
5070
|
break;
|
|
5071
|
-
const Dg =
|
|
5071
|
+
const Dg = rA.indexOf("-->", lA + 4);
|
|
5072
5072
|
if (Dg === -1)
|
|
5073
5073
|
break;
|
|
5074
|
-
|
|
5074
|
+
rA = rA.substring(0, lA) + rA.substring(Dg + 3);
|
|
5075
5075
|
}
|
|
5076
|
-
const tA =
|
|
5076
|
+
const tA = rA.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);
|
|
5077
5077
|
if (!tA)
|
|
5078
|
-
return
|
|
5078
|
+
return rA.match(/^[/\\]{2}/) ? !y.allowProtocolRelative : !1;
|
|
5079
5079
|
const oA = tA[1].toLowerCase();
|
|
5080
5080
|
return n(y.allowedSchemesByTag, $) ? y.allowedSchemesByTag[$].indexOf(oA) === -1 : !y.allowedSchemes || y.allowedSchemes.indexOf(oA) === -1;
|
|
5081
5081
|
}
|
|
5082
5082
|
function eg($) {
|
|
5083
5083
|
if ($ = $.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/, "$1//"), $.startsWith("relative:"))
|
|
5084
5084
|
throw new Error("relative: exploit attempt");
|
|
5085
|
-
let
|
|
5085
|
+
let rA = "relative://relative-site";
|
|
5086
5086
|
for (let lA = 0; lA < 100; lA++)
|
|
5087
|
-
|
|
5088
|
-
const tA = new URL($,
|
|
5087
|
+
rA += `/${lA}`;
|
|
5088
|
+
const tA = new URL($, rA);
|
|
5089
5089
|
return {
|
|
5090
5090
|
isRelativeUrl: tA && tA.hostname === "relative-site" && tA.protocol === "relative:",
|
|
5091
5091
|
url: tA
|
|
5092
5092
|
};
|
|
5093
5093
|
}
|
|
5094
|
-
function ag($,
|
|
5095
|
-
if (!
|
|
5094
|
+
function ag($, rA) {
|
|
5095
|
+
if (!rA)
|
|
5096
5096
|
return $;
|
|
5097
5097
|
const tA = $.nodes[0];
|
|
5098
5098
|
let oA;
|
|
5099
|
-
return
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
) : oA =
|
|
5099
|
+
return rA[tA.selector] && rA["*"] ? oA = B(
|
|
5100
|
+
rA[tA.selector],
|
|
5101
|
+
rA["*"]
|
|
5102
|
+
) : oA = rA[tA.selector] || rA["*"], oA && ($.nodes[0].nodes = tA.nodes.reduce(yg(oA), [])), $;
|
|
5103
5103
|
}
|
|
5104
5104
|
function ug($) {
|
|
5105
|
-
return $.nodes[0].nodes.reduce(function(
|
|
5106
|
-
return
|
|
5105
|
+
return $.nodes[0].nodes.reduce(function(rA, tA) {
|
|
5106
|
+
return rA.push(
|
|
5107
5107
|
`${tA.prop}:${tA.value}${tA.important ? " !important" : ""}`
|
|
5108
|
-
),
|
|
5108
|
+
), rA;
|
|
5109
5109
|
}, []).join(";");
|
|
5110
5110
|
}
|
|
5111
5111
|
function yg($) {
|
|
5112
|
-
return function(
|
|
5112
|
+
return function(rA, tA) {
|
|
5113
5113
|
return n($, tA.prop) && $[tA.prop].some(function(lA) {
|
|
5114
5114
|
return lA.test(tA.value);
|
|
5115
|
-
}) &&
|
|
5115
|
+
}) && rA.push(tA), rA;
|
|
5116
5116
|
};
|
|
5117
5117
|
}
|
|
5118
|
-
function jA($,
|
|
5119
|
-
return
|
|
5120
|
-
return
|
|
5118
|
+
function jA($, rA, tA) {
|
|
5119
|
+
return rA ? ($ = $.split(/\s+/), $.filter(function(oA) {
|
|
5120
|
+
return rA.indexOf(oA) !== -1 || tA.some(function(lA) {
|
|
5121
5121
|
return lA.test(oA);
|
|
5122
5122
|
});
|
|
5123
5123
|
}).join(" ")) : $;
|
|
@@ -5491,7 +5491,7 @@ function oN() {
|
|
|
5491
5491
|
["partial", G],
|
|
5492
5492
|
["partialRight", J],
|
|
5493
5493
|
["rearg", S]
|
|
5494
|
-
], $A = "[object Arguments]", eg = "[object Array]", ag = "[object AsyncFunction]", ug = "[object Boolean]", yg = "[object Date]", jA = "[object DOMException]", $ = "[object Error]",
|
|
5494
|
+
], $A = "[object Arguments]", eg = "[object Array]", ag = "[object AsyncFunction]", ug = "[object Boolean]", yg = "[object Date]", jA = "[object DOMException]", $ = "[object Error]", rA = "[object Function]", tA = "[object GeneratorFunction]", oA = "[object Map]", lA = "[object Number]", Dg = "[object Null]", cA = "[object Object]", bA = "[object Promise]", Kg = "[object Proxy]", KA = "[object RegExp]", kA = "[object Set]", sg = "[object String]", Qg = "[object Symbol]", hg = "[object Undefined]", bg = "[object WeakMap]", gQ = "[object WeakSet]", eI = "[object ArrayBuffer]", mg = "[object DataView]", FQ = "[object Float32Array]", fQ = "[object Float64Array]", pA = "[object Int8Array]", qI = "[object Int16Array]", vg = "[object Int32Array]", Gg = "[object Uint8Array]", gC = "[object Uint8ClampedArray]", cI = "[object Uint16Array]", FB = "[object Uint32Array]", BA = /\b__p \+= '';/g, IC = /\b(__p \+=) '' \+/g, pg = /(__e\(.*?\)|\b__t\)) \+\n'';/g, GQ = /&(?:amp|lt|gt|quot|#39);/g, fB = /[&<>"']/g, CE = RegExp(GQ.source), IQ = RegExp(fB.source), EE = /<%-([\s\S]+?)%>/g, $e = /<%([\s\S]+?)%>/g, QC = /<%=([\s\S]+?)%>/g, UQ = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, eE = /^\w*$/, iE = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, BC = /[\\^$.*+?()[\]{}|]/g, tE = RegExp(BC.source), CC = /^\s+/, EC = /\s/, oE = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, GB = /\{\n\/\* \[wrapped with (.+)\] \*/, wI = /,? & /, UB = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, eC = /[()=,{}\[\]\/\s]/, sE = /\\(\\)?/g, rE = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, iC = /\w*$/, VQ = /^[-+]0x[0-9a-f]+$/i, nE = /^0b[01]+$/i, NB = /^\[object .+?Constructor\]$/, aE = /^0o[0-7]+$/i, NQ = /^(?:0|[1-9]\d*)$/, tC = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, TQ = /($^)/, uE = /['\n\r\u2028\u2029\\]/g, OQ = "\\ud800-\\udfff", Ai = "\\u0300-\\u036f", DE = "\\ufe20-\\ufe2f", cE = "\\u20d0-\\u20ff", oC = Ai + DE + cE, dQ = "\\u2700-\\u27bf", dB = "a-z\\xdf-\\xf6\\xf8-\\xff", rg = "\\xac\\xb1\\xd7\\xf7", WQ = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", MB = "\\u2000-\\u206f", QQ = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", ZQ = "A-Z\\xc0-\\xd6\\xd8-\\xde", PQ = "\\ufe0e\\ufe0f", jQ = rg + WQ + MB + QQ, xg = "['’]", sC = "[" + OQ + "]", rC = "[" + jQ + "]", SB = "[" + oC + "]", LB = "\\d+", wE = "[" + dQ + "]", kB = "[" + dB + "]", nC = "[^" + OQ + jQ + LB + dQ + dB + ZQ + "]", XQ = "\\ud83c[\\udffb-\\udfff]", VI = "(?:" + SB + "|" + XQ + ")", JB = "[^" + OQ + "]", _Q = "(?:\\ud83c[\\udde6-\\uddff]){2}", BQ = "[\\ud800-\\udbff][\\udc00-\\udfff]", TI = "[" + ZQ + "]", hE = "\\u200d", aC = "(?:" + kB + "|" + nC + ")", gi = "(?:" + TI + "|" + nC + ")", uC = "(?:" + xg + "(?:d|ll|m|re|s|t|ve))?", zQ = "(?:" + xg + "(?:D|LL|M|RE|S|T|VE))?", $Q = VI + "?", DC = "[" + PQ + "]?", AB = "(?:" + hE + "(?:" + [JB, _Q, BQ].join("|") + ")" + DC + $Q + ")*", gB = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", OI = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", IB = DC + $Q + AB, lE = "(?:" + [wE, _Q, BQ].join("|") + ")" + IB, r = "(?:" + [JB + SB + "?", SB, _Q, BQ, sC].join("|") + ")", w = RegExp(xg, "g"), U = RegExp(SB, "g"), H = RegExp(XQ + "(?=" + XQ + ")|" + r + IB, "g"), m = RegExp([
|
|
5495
5495
|
TI + "?" + kB + "+" + uC + "(?=" + [rC, TI, "$"].join("|") + ")",
|
|
5496
5496
|
gi + "+" + zQ + "(?=" + [rC, TI + aC, "$"].join("|") + ")",
|
|
5497
5497
|
TI + "?" + aC + "+" + uC,
|
|
@@ -5532,9 +5532,9 @@ function oN() {
|
|
|
5532
5532
|
"parseInt",
|
|
5533
5533
|
"setTimeout"
|
|
5534
5534
|
], Ag = -1, UA = {};
|
|
5535
|
-
UA[FQ] = UA[fQ] = UA[pA] = UA[qI] = UA[vg] = UA[Gg] = UA[gC] = UA[cI] = UA[FB] = !0, UA[$A] = UA[eg] = UA[eI] = UA[ug] = UA[mg] = UA[yg] = UA[$] = UA[
|
|
5535
|
+
UA[FQ] = UA[fQ] = UA[pA] = UA[qI] = UA[vg] = UA[Gg] = UA[gC] = UA[cI] = UA[FB] = !0, UA[$A] = UA[eg] = UA[eI] = UA[ug] = UA[mg] = UA[yg] = UA[$] = UA[rA] = UA[oA] = UA[lA] = UA[cA] = UA[KA] = UA[kA] = UA[sg] = UA[bg] = !1;
|
|
5536
5536
|
var JA = {};
|
|
5537
|
-
JA[$A] = JA[eg] = JA[eI] = JA[mg] = JA[ug] = JA[yg] = JA[FQ] = JA[fQ] = JA[pA] = JA[qI] = JA[vg] = JA[oA] = JA[lA] = JA[cA] = JA[KA] = JA[kA] = JA[sg] = JA[Qg] = JA[Gg] = JA[gC] = JA[cI] = JA[FB] = !0, JA[$] = JA[
|
|
5537
|
+
JA[$A] = JA[eg] = JA[eI] = JA[mg] = JA[ug] = JA[yg] = JA[FQ] = JA[fQ] = JA[pA] = JA[qI] = JA[vg] = JA[oA] = JA[lA] = JA[cA] = JA[KA] = JA[kA] = JA[sg] = JA[Qg] = JA[Gg] = JA[gC] = JA[cI] = JA[FB] = !0, JA[$] = JA[rA] = JA[bg] = !1;
|
|
5538
5538
|
var NI = {
|
|
5539
5539
|
// Latin-1 Supplement block.
|
|
5540
5540
|
À: "A",
|
|
@@ -6347,7 +6347,7 @@ function oN() {
|
|
|
6347
6347
|
if (b = Xy(A), !v)
|
|
6348
6348
|
return gI(A, b);
|
|
6349
6349
|
} else {
|
|
6350
|
-
var iA = Hg(A), hA = iA ==
|
|
6350
|
+
var iA = Hg(A), hA = iA == rA || iA == tA;
|
|
6351
6351
|
if (pQ(A))
|
|
6352
6352
|
return wa(A, v);
|
|
6353
6353
|
if (iA == cA || iA == $A || hA && !N) {
|
|
@@ -8404,7 +8404,7 @@ function oN() {
|
|
|
8404
8404
|
if (!lg(A))
|
|
8405
8405
|
return !1;
|
|
8406
8406
|
var g = Og(A);
|
|
8407
|
-
return g ==
|
|
8407
|
+
return g == rA || g == tA || g == ag || g == Kg;
|
|
8408
8408
|
}
|
|
8409
8409
|
function tu(A) {
|
|
8410
8410
|
return typeof A == "number" && A == qA(A);
|
|
@@ -11567,17 +11567,17 @@ function cd() {
|
|
|
11567
11567
|
}, q.format = function(O) {
|
|
11568
11568
|
var _ = this, gA = this.$locale();
|
|
11569
11569
|
if (!this.isValid()) return gA.invalidDate || R;
|
|
11570
|
-
var aA = O || "YYYY-MM-DDTHH:mm:ssZ", DA = Y.z(this), fA = this.$H, WA = this.$m, wA = this.$M, ZA = gA.weekdays, $A = gA.months, eg = gA.meridiem, ag = function(jA, $,
|
|
11571
|
-
return jA && (jA[$] || jA(_, aA)) ||
|
|
11570
|
+
var aA = O || "YYYY-MM-DDTHH:mm:ssZ", DA = Y.z(this), fA = this.$H, WA = this.$m, wA = this.$M, ZA = gA.weekdays, $A = gA.months, eg = gA.meridiem, ag = function(jA, $, rA, tA) {
|
|
11571
|
+
return jA && (jA[$] || jA(_, aA)) || rA[$].slice(0, tA);
|
|
11572
11572
|
}, ug = function(jA) {
|
|
11573
11573
|
return Y.s(fA % 12 || 12, jA, "0");
|
|
11574
|
-
}, yg = eg || function(jA, $,
|
|
11574
|
+
}, yg = eg || function(jA, $, rA) {
|
|
11575
11575
|
var tA = jA < 12 ? "AM" : "PM";
|
|
11576
|
-
return
|
|
11576
|
+
return rA ? tA.toLowerCase() : tA;
|
|
11577
11577
|
};
|
|
11578
11578
|
return aA.replace(y, function(jA, $) {
|
|
11579
|
-
return $ || function(
|
|
11580
|
-
switch (
|
|
11579
|
+
return $ || function(rA) {
|
|
11580
|
+
switch (rA) {
|
|
11581
11581
|
case "YY":
|
|
11582
11582
|
return String(_.$y).slice(-2);
|
|
11583
11583
|
case "YYYY":
|
|
@@ -12187,7 +12187,7 @@ var fe = void 0, yd = function(Q) {
|
|
|
12187
12187
|
var $ = jA;
|
|
12188
12188
|
jA = E.locateFile ? E.locateFile($, c) : c + $;
|
|
12189
12189
|
}
|
|
12190
|
-
function
|
|
12190
|
+
function rA() {
|
|
12191
12191
|
var r = jA;
|
|
12192
12192
|
try {
|
|
12193
12193
|
if (r == jA && d) return new Uint8Array(d);
|
|
@@ -12203,7 +12203,7 @@ var fe = void 0, yd = function(Q) {
|
|
|
12203
12203
|
if (!r.ok) throw "failed to load wasm binary file at '" + jA + "'";
|
|
12204
12204
|
return r.arrayBuffer();
|
|
12205
12205
|
}).catch(function() {
|
|
12206
|
-
return
|
|
12206
|
+
return rA();
|
|
12207
12207
|
});
|
|
12208
12208
|
if (t) return new Promise(function(r, w) {
|
|
12209
12209
|
t(jA, function(U) {
|
|
@@ -12212,7 +12212,7 @@ var fe = void 0, yd = function(Q) {
|
|
|
12212
12212
|
});
|
|
12213
12213
|
}
|
|
12214
12214
|
return Promise.resolve().then(function() {
|
|
12215
|
-
return
|
|
12215
|
+
return rA();
|
|
12216
12216
|
});
|
|
12217
12217
|
}
|
|
12218
12218
|
var oA, lA;
|
|
@@ -13624,7 +13624,7 @@ const wY = {
|
|
|
13624
13624
|
"5042bfb2": a.width,
|
|
13625
13625
|
c373868a: a.height
|
|
13626
13626
|
}));
|
|
13627
|
-
const I = Q, B = C, e =
|
|
13627
|
+
const I = Q, B = C, e = nA(() => `ui3n-icon__${I.icon}`), E = nA(() => {
|
|
13628
13628
|
const a = {
|
|
13629
13629
|
width: `${I.width}px`,
|
|
13630
13630
|
height: `${I.height}px`,
|
|
@@ -13659,7 +13659,7 @@ const wY = {
|
|
|
13659
13659
|
},
|
|
13660
13660
|
emits: ["init", "click", "enter", "focus", "blur"],
|
|
13661
13661
|
setup(Q, { emit: C }) {
|
|
13662
|
-
const I = oh, B = Q, e = C, E = vQ(), o = yA(null), a =
|
|
13662
|
+
const I = oh, B = Q, e = C, E = vQ(), o = yA(null), a = nA(() => {
|
|
13663
13663
|
const n = [E.ui3nButton, E[B.size], E[B.type]];
|
|
13664
13664
|
return B.block && B.type !== "icon" && n.push(E.block), B.icon && n.push(E[`withIcon-${B.iconPosition}`]), B.elevation && n.push(E.elevation), n;
|
|
13665
13665
|
});
|
|
@@ -13755,10 +13755,10 @@ const wY = {
|
|
|
13755
13755
|
"39eb7e4a": u.value,
|
|
13756
13756
|
"7d5ee9c9": c.value
|
|
13757
13757
|
}));
|
|
13758
|
-
const I = Q, B = C, e = PC(), E = vQ(), o =
|
|
13758
|
+
const I = Q, B = C, e = PC(), E = vQ(), o = nA(() => `${I.height}px`), a = nA(() => Number(I.height) - 4), h = nA(() => `${I.maxWidth}px`), n = nA(() => I.color), u = nA(() => `${I.textSize}px`), c = nA(() => I.textColor), s = nA(() => !!e.left), t = nA(() => {
|
|
13759
13759
|
const F = Math.round(Number(I.height) / 3);
|
|
13760
13760
|
return s.value ? `0 ${F}px 0 4px` : `0 ${F}px`;
|
|
13761
|
-
}), l =
|
|
13761
|
+
}), l = nA(() => {
|
|
13762
13762
|
const F = [E.ui3nChip];
|
|
13763
13763
|
return I.round && F.push(E.round), I.plain && F.push(E.plain), I.closeable && F.push(E.closeable), s.value && F.push(E.withIcon), F;
|
|
13764
13764
|
});
|
|
@@ -13912,7 +13912,7 @@ const wY = {
|
|
|
13912
13912
|
},
|
|
13913
13913
|
emits: ["click"],
|
|
13914
13914
|
setup(Q, { emit: C }) {
|
|
13915
|
-
const I = Q, B = C, e = yA(null), E =
|
|
13915
|
+
const I = Q, B = C, e = yA(null), E = nA(() => GD[I.emoji]);
|
|
13916
13916
|
_g(() => {
|
|
13917
13917
|
e.value && e.value.style.setProperty("--ui3n-emoji-size", `${I.size}px`);
|
|
13918
13918
|
}), tg(
|
|
@@ -13963,13 +13963,13 @@ const wY = {
|
|
|
13963
13963
|
xI((S) => ({
|
|
13964
13964
|
62193018: c.value
|
|
13965
13965
|
}));
|
|
13966
|
-
const B = Q, e = I, E = vQ(), o = yA(null), a = yA(""), h = yA(!1), n = yA(!1), u = yA(""), c =
|
|
13966
|
+
const B = Q, e = I, E = vQ(), o = yA(null), a = yA(""), h = yA(!1), n = yA(!1), u = yA(""), c = nA(() => B.disabled ? "var(--color-icon-control-primary-disabled)" : B.iconColor || "var(--color-icon-control-primary-default)"), s = nA(() => h.value ? !u.value : !0), t = nA(() => {
|
|
13967
13967
|
const S = [E.ui3nInput];
|
|
13968
13968
|
return B.label && S.push(E.withLabel), B.icon && S.push(E.withIcon), B.clearable && a.value && S.push(E.clearable), B.disabled && S.push(E.disabled), (u.value && !s.value || B.displayStateMode === "error") && S.push(E.error), B.displayStateMode === "success" && S.push(E.success), S;
|
|
13969
|
-
}), l =
|
|
13969
|
+
}), l = nA(() => {
|
|
13970
13970
|
const S = [E.ui3nInputIcon];
|
|
13971
13971
|
return B.disabled && S.push(E.ui3nInputIconDisabled), S;
|
|
13972
|
-
}), R =
|
|
13972
|
+
}), R = nA(() => {
|
|
13973
13973
|
const S = [E.ui3nInputFieldMessage];
|
|
13974
13974
|
return (u.value || B.displayStateMode === "error" && B.displayStateMessage) && S.push(E.ui3nInputErrorMessage), B.displayStateMode === "success" && B.displayStateMessage && S.push(E.ui3nInputSuccessMessage), S;
|
|
13975
13975
|
});
|
|
@@ -14499,7 +14499,7 @@ const eS = /* @__PURE__ */ xQ(ES), iS = ["for"], tS = ["id", "multiple", "accept
|
|
|
14499
14499
|
},
|
|
14500
14500
|
emits: ["init", "input", "change", "enter", "escape", "focus", "blur", "update:text", "update:valid"],
|
|
14501
14501
|
setup(Q, { emit: C }) {
|
|
14502
|
-
const I = Q, B = C, e = yA(null), E = yA(!1), o = yA(""), a =
|
|
14502
|
+
const I = Q, B = C, e = yA(null), E = yA(!1), o = yA(""), a = nA(() => I.text ? !o.value : !0);
|
|
14503
14503
|
_g(() => {
|
|
14504
14504
|
e.value && (zN(e.value), B("init", e.value));
|
|
14505
14505
|
}), tg(
|
|
@@ -14590,10 +14590,10 @@ const eS = /* @__PURE__ */ xQ(ES), iS = ["for"], tS = ["id", "multiple", "accept
|
|
|
14590
14590
|
},
|
|
14591
14591
|
emits: ["change", "update:modelValue"],
|
|
14592
14592
|
setup(Q, { emit: C }) {
|
|
14593
|
-
const I = Q, B = C, e = PC(), E = vQ(), o = yA(null), a = yA(I.uncheckedValue || !1), h = yA(!1), n =
|
|
14593
|
+
const I = Q, B = C, e = PC(), E = vQ(), o = yA(null), a = yA(I.uncheckedValue || !1), h = yA(!1), n = nA(() => h.value ? "indeterminate" : a.value === I.checkedValue ? "checked" : "unchecked"), u = nA(() => {
|
|
14594
14594
|
const t = [E.ui3nCheckbox];
|
|
14595
14595
|
return I.disabled && t.push(E.disabled), !e.default && t.push(E.noLabel), t;
|
|
14596
|
-
}), c =
|
|
14596
|
+
}), c = nA(() => {
|
|
14597
14597
|
const t = [E.ui3nCheckboxBody];
|
|
14598
14598
|
return n.value === "unchecked" ? t.push(E.unfilled) : t.push(E.filled), t;
|
|
14599
14599
|
});
|
|
@@ -14756,7 +14756,7 @@ const eS = /* @__PURE__ */ xQ(ES), iS = ["for"], tS = ["id", "multiple", "accept
|
|
|
14756
14756
|
iconColor: "var(--error-fill-default)",
|
|
14757
14757
|
iconRotate: 180
|
|
14758
14758
|
}
|
|
14759
|
-
}, B = vQ(), e =
|
|
14759
|
+
}, B = vQ(), e = nA(() => {
|
|
14760
14760
|
const o = [B.ui3nNotification, B[`${C.type}Type`], B[`${C.position}Position`]];
|
|
14761
14761
|
return C.withIcon && o.push(B.withIcon), o;
|
|
14762
14762
|
});
|
|
@@ -14821,7 +14821,7 @@ const eS = /* @__PURE__ */ xQ(ES), iS = ["for"], tS = ["id", "multiple", "accept
|
|
|
14821
14821
|
value: {}
|
|
14822
14822
|
},
|
|
14823
14823
|
setup(Q) {
|
|
14824
|
-
const C = Q, I =
|
|
14824
|
+
const C = Q, I = nA(() => C.size ? +C.size : 16), B = nA(() => C.color || "var(--color-icon-table-primary-default)");
|
|
14825
14825
|
return (e, E) => (sA(), EI(Xw, {
|
|
14826
14826
|
mode: "out-in",
|
|
14827
14827
|
name: "fade"
|
|
@@ -14844,13 +14844,13 @@ function QL(Q, C) {
|
|
|
14844
14844
|
const I = yA(null), B = yA({
|
|
14845
14845
|
sortOrder: t(),
|
|
14846
14846
|
fieldAsRowKey: s()
|
|
14847
|
-
}), e = (L = B.value) != null && L.fieldAsRowKey ? yA([]) : yA(/* @__PURE__ */ new Set()), E = yA(!1), o =
|
|
14847
|
+
}), e = (L = B.value) != null && L.fieldAsRowKey ? yA([]) : yA(/* @__PURE__ */ new Set()), E = yA(!1), o = nA(() => !!B.value.fieldAsRowKey), a = nA(() => Q.head.filter((S) => !S.hidden)), h = nA(
|
|
14848
14848
|
() => o.value ? Q.body.content.filter(
|
|
14849
14849
|
(S) => e.value.includes(S[B.value.fieldAsRowKey])
|
|
14850
14850
|
) : Array.from(e.value)
|
|
14851
|
-
), n =
|
|
14851
|
+
), n = nA(
|
|
14852
14852
|
() => o.value ? aI.size(e.value) : e.value.size
|
|
14853
|
-
), u =
|
|
14853
|
+
), u = nA(() => {
|
|
14854
14854
|
var S;
|
|
14855
14855
|
return ((S = Q.config) == null ? void 0 : S.selectable) === "multiple" && E.value;
|
|
14856
14856
|
});
|
|
@@ -15972,8 +15972,8 @@ var cr, hw;
|
|
|
15972
15972
|
function Ph() {
|
|
15973
15973
|
if (hw) return cr;
|
|
15974
15974
|
hw = 1;
|
|
15975
|
-
var Q = XL(), C = _L(), I = qh(), B = Ak(), e = Qk(), E = Bk(), o = Ck(), a = ek(), h = ik(), n = tk(), u = Zh(), c = IE(), s = ok(), t = Dk(), l = wk(), R = RQ(), F = hn(), y = lk(), f = gE(), M = Rk(), d = Un(), G = Nn(), J = 1, L = 2, S = 4, p = "[object Arguments]", x = "[object Array]", Y = "[object Boolean]", W = "[object Date]", j = "[object Error]", P = "[object Function]", q = "[object GeneratorFunction]", O = "[object Map]", _ = "[object Number]", gA = "[object Object]", aA = "[object RegExp]", DA = "[object Set]", fA = "[object String]", WA = "[object Symbol]", wA = "[object WeakMap]", ZA = "[object ArrayBuffer]", $A = "[object DataView]", eg = "[object Float32Array]", ag = "[object Float64Array]", ug = "[object Int8Array]", yg = "[object Int16Array]", jA = "[object Int32Array]", $ = "[object Uint8Array]",
|
|
15976
|
-
lA[p] = lA[x] = lA[ZA] = lA[$A] = lA[Y] = lA[W] = lA[eg] = lA[ag] = lA[ug] = lA[yg] = lA[jA] = lA[O] = lA[_] = lA[gA] = lA[aA] = lA[DA] = lA[fA] = lA[WA] = lA[$] = lA[
|
|
15975
|
+
var Q = XL(), C = _L(), I = qh(), B = Ak(), e = Qk(), E = Bk(), o = Ck(), a = ek(), h = ik(), n = tk(), u = Zh(), c = IE(), s = ok(), t = Dk(), l = wk(), R = RQ(), F = hn(), y = lk(), f = gE(), M = Rk(), d = Un(), G = Nn(), J = 1, L = 2, S = 4, p = "[object Arguments]", x = "[object Array]", Y = "[object Boolean]", W = "[object Date]", j = "[object Error]", P = "[object Function]", q = "[object GeneratorFunction]", O = "[object Map]", _ = "[object Number]", gA = "[object Object]", aA = "[object RegExp]", DA = "[object Set]", fA = "[object String]", WA = "[object Symbol]", wA = "[object WeakMap]", ZA = "[object ArrayBuffer]", $A = "[object DataView]", eg = "[object Float32Array]", ag = "[object Float64Array]", ug = "[object Int8Array]", yg = "[object Int16Array]", jA = "[object Int32Array]", $ = "[object Uint8Array]", rA = "[object Uint8ClampedArray]", tA = "[object Uint16Array]", oA = "[object Uint32Array]", lA = {};
|
|
15976
|
+
lA[p] = lA[x] = lA[ZA] = lA[$A] = lA[Y] = lA[W] = lA[eg] = lA[ag] = lA[ug] = lA[yg] = lA[jA] = lA[O] = lA[_] = lA[gA] = lA[aA] = lA[DA] = lA[fA] = lA[WA] = lA[$] = lA[rA] = lA[tA] = lA[oA] = !0, lA[j] = lA[P] = lA[wA] = !1;
|
|
15977
15977
|
function Dg(cA, bA, Kg, KA, kA, sg) {
|
|
15978
15978
|
var Qg, hg = bA & J, bg = bA & L, gQ = bA & S;
|
|
15979
15979
|
if (Kg && (Qg = kA ? Kg(cA, KA, kA, sg) : Kg(cA)), Qg !== void 0)
|
|
@@ -16334,7 +16334,7 @@ const Wk = ["id"], Zk = /* @__PURE__ */ Eg({
|
|
|
16334
16334
|
},
|
|
16335
16335
|
emits: ["open", "before-close", "close", "confirm", "cancel", "click-overlay"],
|
|
16336
16336
|
setup(Q, { emit: C }) {
|
|
16337
|
-
const I = Q, B = C, e =
|
|
16337
|
+
const I = Q, B = C, e = nA(() => {
|
|
16338
16338
|
var S, p, x, Y, W, j, P, q, O, _, gA, aA, DA, fA, WA, wA, ZA, $A, eg, ag;
|
|
16339
16339
|
return {
|
|
16340
16340
|
title: ((S = I.dialogProps) == null ? void 0 : S.title) || "",
|
|
@@ -16360,7 +16360,7 @@ const Wk = ["id"], Zk = /* @__PURE__ */ Eg({
|
|
|
16360
16360
|
top: 0,
|
|
16361
16361
|
shiftX: 0,
|
|
16362
16362
|
shiftY: 0
|
|
16363
|
-
}), s =
|
|
16363
|
+
}), s = nA(() => {
|
|
16364
16364
|
var S;
|
|
16365
16365
|
return {
|
|
16366
16366
|
width: Ok({ width: e.value.width, style: e.value.cssStyle }),
|
|
@@ -16370,7 +16370,7 @@ const Wk = ["id"], Zk = /* @__PURE__ */ Eg({
|
|
|
16370
16370
|
top: `${c.value.top}px`
|
|
16371
16371
|
}
|
|
16372
16372
|
};
|
|
16373
|
-
}), t =
|
|
16373
|
+
}), t = nA(() => {
|
|
16374
16374
|
var S;
|
|
16375
16375
|
return (S = I.dialogProps) != null && S.icon ? typeof I.dialogProps.icon == "string" ? {
|
|
16376
16376
|
icon: I.dialogProps.icon,
|
|
@@ -16599,19 +16599,19 @@ function Vw(Q, C) {
|
|
|
16599
16599
|
}
|
|
16600
16600
|
function zh(Q, C, I) {
|
|
16601
16601
|
I === void 0 && (I = {});
|
|
16602
|
-
const B = I.whileElementsMounted, e =
|
|
16602
|
+
const B = I.whileElementsMounted, e = nA(() => {
|
|
16603
16603
|
var L;
|
|
16604
16604
|
return (L = jB(I.open)) != null ? L : !0;
|
|
16605
|
-
}), E =
|
|
16605
|
+
}), E = nA(() => jB(I.middleware)), o = nA(() => {
|
|
16606
16606
|
var L;
|
|
16607
16607
|
return (L = jB(I.placement)) != null ? L : "bottom";
|
|
16608
|
-
}), a =
|
|
16608
|
+
}), a = nA(() => {
|
|
16609
16609
|
var L;
|
|
16610
16610
|
return (L = jB(I.strategy)) != null ? L : "absolute";
|
|
16611
|
-
}), h =
|
|
16611
|
+
}), h = nA(() => {
|
|
16612
16612
|
var L;
|
|
16613
16613
|
return (L = jB(I.transform)) != null ? L : !0;
|
|
16614
|
-
}), n =
|
|
16614
|
+
}), n = nA(() => jr(Q.value)), u = nA(() => jr(C.value)), c = yA(0), s = yA(0), t = yA(a.value), l = yA(o.value), R = GU({}), F = yA(!1), y = nA(() => {
|
|
16615
16615
|
const L = {
|
|
16616
16616
|
position: t.value,
|
|
16617
16617
|
left: "0",
|
|
@@ -16698,12 +16698,12 @@ const iJ = /* @__PURE__ */ Eg({
|
|
|
16698
16698
|
"605a30b2": h.value,
|
|
16699
16699
|
"0bf82670": n.value
|
|
16700
16700
|
}));
|
|
16701
|
-
const I = Q, B = C, e = yA(null), E = yA(null), o = yA(null), a = yA(!1), h =
|
|
16701
|
+
const I = Q, B = C, e = yA(null), E = yA(null), o = yA(null), a = yA(!1), h = nA(() => {
|
|
16702
16702
|
if (typeof I.contentBorderRadius == "number")
|
|
16703
16703
|
return `${I.contentBorderRadius}px`;
|
|
16704
16704
|
const [R, F, y, f] = I.contentBorderRadius;
|
|
16705
16705
|
return `${R}px ${F}px ${y}px ${f}px`;
|
|
16706
|
-
}), n =
|
|
16706
|
+
}), n = nA(() => I.zIndex), { floatingStyles: u, isPositioned: c } = zh(
|
|
16707
16707
|
E,
|
|
16708
16708
|
o,
|
|
16709
16709
|
{
|
|
@@ -16841,15 +16841,15 @@ const iJ = /* @__PURE__ */ Eg({
|
|
|
16841
16841
|
renderAhead: { default: 20 }
|
|
16842
16842
|
},
|
|
16843
16843
|
setup(Q) {
|
|
16844
|
-
const C = Q, I = yA(0), B = yA(), e = yA(null), E =
|
|
16844
|
+
const C = Q, I = yA(0), B = yA(), e = yA(null), E = nA(
|
|
16845
16845
|
() => e.value ? e.value.clientHeight : 0
|
|
16846
|
-
), o =
|
|
16846
|
+
), o = nA(() => C.items.length), a = nA(() => o.value * C.minChildHeight), h = nA(() => {
|
|
16847
16847
|
const t = Math.floor(I.value / C.minChildHeight) - C.renderAhead;
|
|
16848
16848
|
return Math.max(0, t);
|
|
16849
|
-
}), n =
|
|
16849
|
+
}), n = nA(() => {
|
|
16850
16850
|
const t = Math.ceil(E.value / C.minChildHeight) + 2 * C.renderAhead;
|
|
16851
16851
|
return Math.min(o.value - h.value, t);
|
|
16852
|
-
}), u =
|
|
16852
|
+
}), u = nA(() => h.value * C.minChildHeight), c = nA(() => C.items.slice(h.value, h.value + n.value)), s = (t) => {
|
|
16853
16853
|
B.value && cancelAnimationFrame(B.value), B.value = requestAnimationFrame(() => I.value = t.target.scrollTop);
|
|
16854
16854
|
};
|
|
16855
16855
|
return _g(() => {
|
|
@@ -16909,7 +16909,7 @@ const iJ = /* @__PURE__ */ Eg({
|
|
|
16909
16909
|
"4d6b5686": a.value,
|
|
16910
16910
|
"45c086eb": n.value
|
|
16911
16911
|
}));
|
|
16912
|
-
const I = Q, B = C, e = vQ(), E = yA(null), o = yA(null), a =
|
|
16912
|
+
const I = Q, B = C, e = vQ(), E = yA(null), o = yA(null), a = nA(() => I.activeColor), h = nA(() => I.inactiveColor), n = nA(() => I.indicatorColor), u = nA(() => `${I.indicatorSize}px`), c = nA(() => I.indicatorPosition === "reverse" ? "100%" : "0");
|
|
16913
16913
|
tg(
|
|
16914
16914
|
() => I.modelValue,
|
|
16915
16915
|
(R) => t(R)
|
|
@@ -17011,7 +17011,7 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17011
17011
|
position: { default: "right-top" }
|
|
17012
17012
|
},
|
|
17013
17013
|
setup(Q) {
|
|
17014
|
-
const C = Q, I = PC(), B = yA(), e =
|
|
17014
|
+
const C = Q, I = PC(), B = yA(), e = nA(() => !!I.default), E = nA(() => {
|
|
17015
17015
|
const [o, a] = C.position.split("-");
|
|
17016
17016
|
return {
|
|
17017
17017
|
...o === "right" && { right: `-${Ne(B.value, "width", 0) / 2}px` },
|
|
@@ -17061,17 +17061,17 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17061
17061
|
},
|
|
17062
17062
|
emits: ["click"],
|
|
17063
17063
|
setup(Q, { emit: C }) {
|
|
17064
|
-
const I = Q, B = C, e = vQ(), E =
|
|
17064
|
+
const I = Q, B = C, e = vQ(), E = nA(() => {
|
|
17065
17065
|
var u;
|
|
17066
17066
|
if (I.separator)
|
|
17067
17067
|
return I.separator;
|
|
17068
17068
|
const n = ke();
|
|
17069
17069
|
return ((u = n == null ? void 0 : n.parent) == null ? void 0 : u.props.separator) || "/";
|
|
17070
|
-
}), o =
|
|
17070
|
+
}), o = nA(() => {
|
|
17071
17071
|
var u;
|
|
17072
17072
|
const n = ke();
|
|
17073
17073
|
return ((u = n == null ? void 0 : n.parent) == null ? void 0 : u.props.disabled) || !1;
|
|
17074
|
-
}), a =
|
|
17074
|
+
}), a = nA(() => {
|
|
17075
17075
|
const n = [e.ui3nBreadcrumb];
|
|
17076
17076
|
return I.isActive && n.push(e.ui3nBreadcrumbActive), (I.disabled || o.value) && n.push(e.ui3nBreadcrumbDisabled), n;
|
|
17077
17077
|
}), h = (n) => {
|
|
@@ -17226,7 +17226,7 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17226
17226
|
"44f09cb6": a.bgColor,
|
|
17227
17227
|
a923080a: a.color
|
|
17228
17228
|
}));
|
|
17229
|
-
const C = Q, I =
|
|
17229
|
+
const C = Q, I = nA(() => C.withText && !C.indeterminate), B = nA(() => aI.toNumber(C.height)), e = nA(() => `${B.value}px`), E = nA(() => aI.toNumber(C.value)), o = nA(
|
|
17230
17230
|
() => C.indeterminate ? "20%" : `${Math.min(E.value, 100)}%`
|
|
17231
17231
|
);
|
|
17232
17232
|
return (a, h) => (sA(), uA("div", {
|
|
@@ -17280,12 +17280,12 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17280
17280
|
a7f9f0e2: f.bgColor,
|
|
17281
17281
|
"4cc06dd8": f.color
|
|
17282
17282
|
}));
|
|
17283
|
-
const C = [1, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 85, 90, 95, 99], I = Q, B = vQ(), e = yA(), E =
|
|
17283
|
+
const C = [1, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 85, 90, 95, 99], I = Q, B = vQ(), e = yA(), E = nA(() => I.withText && !I.indeterminate), o = nA(() => aI.toNumber(I.size)), a = nA(() => `${o.value}px`), h = nA(() => {
|
|
17284
17284
|
if (I.width)
|
|
17285
17285
|
return aI.toNumber(I.width);
|
|
17286
17286
|
const f = o.value - XK;
|
|
17287
17287
|
return f <= 0 ? Math.round(o.value / 10) : 6 + Math.round(f / 20);
|
|
17288
|
-
}), n =
|
|
17288
|
+
}), n = nA(() => `${h.value}px`), u = nA(() => aI.toNumber(I.value)), c = nA(() => `${Math.floor((o.value - 2 * h.value) / 3.2)}px`), s = nA(() => Math.round(o.value / 2) - Math.round(h.value / 2)), t = nA(() => Math.round(Math.PI * 2 * s.value)), l = yA(), R = yA(0), F = nA(() => {
|
|
17289
17289
|
const f = I.indeterminate ? R.value : u.value, M = Math.round(t.value * f / 100), d = t.value - M;
|
|
17290
17290
|
return `${M} ${d}`;
|
|
17291
17291
|
});
|
|
@@ -17365,10 +17365,10 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17365
17365
|
"7edc6fc1": n.value,
|
|
17366
17366
|
"7c74c869": h.value
|
|
17367
17367
|
}));
|
|
17368
|
-
const I = Q, B = C, e = yA(!1), E = yA(null), o = yA(null), a = yA(null), h =
|
|
17368
|
+
const I = Q, B = C, e = yA(!1), E = yA(null), o = yA(null), a = yA(null), h = nA(() => "-5px"), n = nA(() => `${vC}px`), u = nA(() => {
|
|
17369
17369
|
const [f, M] = I.placement.split("-");
|
|
17370
17370
|
return f;
|
|
17371
|
-
}), c =
|
|
17371
|
+
}), c = nA(() => {
|
|
17372
17372
|
const f = {
|
|
17373
17373
|
mainAxis: 0,
|
|
17374
17374
|
crossAxis: 0
|
|
@@ -17479,7 +17479,7 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17479
17479
|
} = a ? dU(`radio-group-${a}`) : {
|
|
17480
17480
|
groupValue: null,
|
|
17481
17481
|
updateGroupValue: null
|
|
17482
|
-
}, c = yA(a ? n.value : I.modelValue), s =
|
|
17482
|
+
}, c = yA(a ? n.value : I.modelValue), s = nA(() => c.value === I.checkedValue);
|
|
17483
17483
|
function t(y) {
|
|
17484
17484
|
if (y.preventDefault(), !a) {
|
|
17485
17485
|
c.value = s.value ? I.uncheckedValue : I.checkedValue, B("change", c.value), B("update:modelValue", c.value);
|
|
@@ -17630,12 +17630,12 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17630
17630
|
e8728980: t.value,
|
|
17631
17631
|
"14b55124": l.value
|
|
17632
17632
|
}));
|
|
17633
|
-
const I = oh, B = th, e = Q, E = C, o = yA(null), a = yA(null), h = yA("auto"), n = yA(null), u = yA(e.modelValue), c = yA(e.modelValue), s = yA(!1), t =
|
|
17633
|
+
const I = oh, B = th, e = Q, E = C, o = yA(null), a = yA(null), h = yA("auto"), n = yA(null), u = yA(e.modelValue), c = yA(e.modelValue), s = yA(!1), t = nA(() => `${Zw}px`), l = nA(() => {
|
|
17634
17634
|
if (!e.maxWidth)
|
|
17635
17635
|
return "100%";
|
|
17636
17636
|
const L = Number(e.maxWidth);
|
|
17637
17637
|
return Number.isNaN(L) ? e.maxWidth : `${L}px`;
|
|
17638
|
-
}), R =
|
|
17638
|
+
}), R = nA(() => n.value ? n.value.scrollWidth > n.value.clientWidth : !1), F = nA(() => e.disallowEmptyValue ? !!u.value : !0);
|
|
17639
17639
|
function y() {
|
|
17640
17640
|
a.value.textContent = u.value || e.placeholder || "...";
|
|
17641
17641
|
const L = Math.max(a.value.scrollWidth, Zw);
|
|
@@ -17795,7 +17795,7 @@ const jw = /* @__PURE__ */ xQ(zp), $p = ["placeholder", "disabled"], AY = ["id",
|
|
|
17795
17795
|
},
|
|
17796
17796
|
emits: ["update:modelValue", "update:search", "update:focused", "valid:new-value"],
|
|
17797
17797
|
setup(Q, { emit: C }) {
|
|
17798
|
-
const I = eN, B = Q, e = C, E = `auto-${be(4)}`, o = yA(""), a = yA(!1), h = yA(null), n = yA(null), u = yA(null), c = yA(null), s = yA(!0), t =
|
|
17798
|
+
const I = eN, B = Q, e = C, E = `auto-${be(4)}`, o = yA(""), a = yA(!1), h = yA(null), n = yA(null), u = yA(null), c = yA(null), s = yA(!0), t = nA(() => B.returnObject ? B.modelValue.map((p) => p.id) : B.modelValue), l = nA(() => B.chips ? "" : B.returnObject ? B.modelValue.map((p) => p[B.itemTitle] || "?").join(", ") : B.modelValue.join(", ")), R = nA(() => B.customFilter ? B.items.filter((p) => B.customFilter(p, o.value)).filter((p) => B.hideSelected ? B.returnObject ? !t.value.includes(p.id) : !t.value.includes(p[B.itemValue]) : !0) : B.items.filter((p) => p[B.itemTitle].toLowerCase().includes(o.value.toLowerCase())).filter((p) => B.hideSelected ? B.returnObject ? !t.value.includes(p.id) : !t.value.includes(p[B.itemValue]) : !0));
|
|
17799
17799
|
function F() {
|
|
17800
17800
|
e("update:search", o.value);
|
|
17801
17801
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@v1nt1248/3nclient-lib",
|
|
3
3
|
"license": "AGPL-3.0-or-later",
|
|
4
4
|
"author": "v1nt1248",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.98",
|
|
6
6
|
"description": "Library for 3NWeb clients",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"dayjs": "1.11.13",
|
|
57
57
|
"lodash": "4.17.21",
|
|
58
58
|
"mitt": "3.0.1",
|
|
59
|
-
"sanitize-html": "2.
|
|
59
|
+
"sanitize-html": "2.16.0",
|
|
60
60
|
"tslib": "2.8.1",
|
|
61
61
|
"vuedraggable": "4.1.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"pinia": "
|
|
64
|
+
"pinia": "3.0.2",
|
|
65
65
|
"vue": "3.5.13"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
@@ -84,25 +84,25 @@
|
|
|
84
84
|
"eslint-plugin-vue": "9.27.0",
|
|
85
85
|
"jackspeak": "4.0.1",
|
|
86
86
|
"path": "0.12.7",
|
|
87
|
-
"pinia": "
|
|
87
|
+
"pinia": "3.0.2",
|
|
88
88
|
"postcss-html": "1.7.0",
|
|
89
89
|
"prettier": "^3.3.3",
|
|
90
|
-
"sass": "1.
|
|
90
|
+
"sass": "1.87.0",
|
|
91
91
|
"stylelint": "16.8.1",
|
|
92
92
|
"stylelint-config-recommended-scss": "14.1.0",
|
|
93
93
|
"stylelint-config-recommended-vue": "1.5.0",
|
|
94
94
|
"stylelint-config-standard": "36.0.1",
|
|
95
95
|
"stylelint-scss": "6.5.0",
|
|
96
96
|
"typescript": "5.8.3",
|
|
97
|
-
"vite": "6.
|
|
97
|
+
"vite": "6.3.3",
|
|
98
98
|
"vite-plugin-css-injected-by-js": "3.5.2",
|
|
99
|
-
"vite-plugin-dts": "4.5.
|
|
100
|
-
"vite-plugin-vue-devtools": "^7.7.
|
|
101
|
-
"vitepress": "1.
|
|
99
|
+
"vite-plugin-dts": "4.5.3",
|
|
100
|
+
"vite-plugin-vue-devtools": "^7.7.5",
|
|
101
|
+
"vitepress": "1.6.3",
|
|
102
102
|
"vue": "3.5.13",
|
|
103
|
-
"vue-tsc": "2.2.
|
|
103
|
+
"vue-tsc": "2.2.10"
|
|
104
104
|
},
|
|
105
|
-
"packageManager": "pnpm@10.
|
|
105
|
+
"packageManager": "pnpm@10.9.0",
|
|
106
106
|
"pnpm": {
|
|
107
107
|
"peerDependencyRules": {
|
|
108
108
|
"ignoreMissing": [
|