@v1nt1248/3nclient-lib 0.2.3 → 0.2.5
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
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 rA, 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 HI, toDisplayString as wg, mergeProps as hQ, toHandlers as AC, onBeforeMount as Xr, createVNode as GI, Transition as Xw, withCtx as lQ, createTextVNode as DB, Fragment as fI, 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;
|
|
@@ -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 nA = $ ? $.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 || nA) {
|
|
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 || nA) {
|
|
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 || nA ? 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
|
}
|
|
@@ -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($, nA) {
|
|
4801
4801
|
const tA = this;
|
|
4802
|
-
this.tag = $, this.attribs =
|
|
4802
|
+
this.tag = $, this.attribs = nA || {}, 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($, nA) {
|
|
4833
|
+
S[nA] = [];
|
|
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[nA].push(oA);
|
|
4837
|
+
}), tA.length && (p[nA] = 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($, nA) {
|
|
4841
|
+
if (S && (n(S, nA) || (S[nA] = []), S[nA].push("class")), x[nA] = $, 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[nA] = [], W[nA] = [], $.forEach(function(oA) {
|
|
4844
|
+
typeof oA == "string" && oA.indexOf("*") >= 0 ? tA.push(C(oA).replace(/\\\*/g, ".*")) : oA instanceof RegExp ? W[nA].push(oA) : x[nA].push(oA);
|
|
4845
|
+
}), tA.length && (Y[nA] = 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($, nA) {
|
|
4851
4851
|
let tA;
|
|
4852
|
-
typeof $ == "function" ? tA = $ : typeof $ == "string" && (tA = l.simpleTransform($)),
|
|
4852
|
+
typeof $ == "function" ? tA = $ : typeof $ == "string" && (tA = l.simpleTransform($)), nA === "*" ? P = tA : j[nA] = 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.onOpenTag && y.onOpenTag($,
|
|
4857
|
+
onopentag: function($, nA) {
|
|
4858
|
+
if (y.onOpenTag && y.onOpenTag($, nA), y.enforceHtmlBoundary && $ === "html" && wA(), aA) {
|
|
4859
4859
|
DA++;
|
|
4860
4860
|
return;
|
|
4861
4861
|
}
|
|
4862
|
-
const tA = new G($,
|
|
4862
|
+
const tA = new G($, nA);
|
|
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[$]($, nA), tA.attribs = nA = Dg.attribs, Dg.text !== void 0 && (tA.innerText = Dg.text), $ !== Dg.tagName && (tA.name = $ = Dg.tagName, gA[q] = Dg.tagName)), P && (Dg = P($, nA), tA.attribs = nA = 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(nA, 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 nA = O[O.length - 1];
|
|
5004
5004
|
let tA;
|
|
5005
|
-
if (
|
|
5005
|
+
if (nA && (tA = nA.tag, $ = nA.innerText !== void 0 ? nA.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 (y.onCloseTag && y.onCloseTag($,
|
|
5018
|
+
onclosetag: function($, nA) {
|
|
5019
|
+
if (y.onCloseTag && y.onCloseTag($, nA), 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
|
+
nA && !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($, nA) {
|
|
5064
|
+
return typeof $ != "string" && ($ = $ + ""), y.parser.decodeEntities && ($ = $.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), nA && ($ = $.replace(/"/g, """))), $ = $.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&").replace(/</g, "<").replace(/>/g, ">"), nA && ($ = $.replace(/"/g, """)), $;
|
|
5065
5065
|
}
|
|
5066
|
-
function $A($,
|
|
5067
|
-
for (
|
|
5068
|
-
const lA =
|
|
5066
|
+
function $A($, nA) {
|
|
5067
|
+
for (nA = nA.replace(/[\x00-\x20]+/g, ""); ; ) {
|
|
5068
|
+
const lA = nA.indexOf("<!--");
|
|
5069
5069
|
if (lA === -1)
|
|
5070
5070
|
break;
|
|
5071
|
-
const Dg =
|
|
5071
|
+
const Dg = nA.indexOf("-->", lA + 4);
|
|
5072
5072
|
if (Dg === -1)
|
|
5073
5073
|
break;
|
|
5074
|
-
|
|
5074
|
+
nA = nA.substring(0, lA) + nA.substring(Dg + 3);
|
|
5075
5075
|
}
|
|
5076
|
-
const tA =
|
|
5076
|
+
const tA = nA.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);
|
|
5077
5077
|
if (!tA)
|
|
5078
|
-
return
|
|
5078
|
+
return nA.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 nA = "relative://relative-site";
|
|
5086
5086
|
for (let lA = 0; lA < 100; lA++)
|
|
5087
|
-
|
|
5088
|
-
const tA = new URL($,
|
|
5087
|
+
nA += `/${lA}`;
|
|
5088
|
+
const tA = new URL($, nA);
|
|
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($, nA) {
|
|
5095
|
+
if (!nA)
|
|
5096
5096
|
return $;
|
|
5097
5097
|
const tA = $.nodes[0];
|
|
5098
5098
|
let oA;
|
|
5099
|
-
return
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
) : oA =
|
|
5099
|
+
return nA[tA.selector] && nA["*"] ? oA = B(
|
|
5100
|
+
nA[tA.selector],
|
|
5101
|
+
nA["*"]
|
|
5102
|
+
) : oA = nA[tA.selector] || nA["*"], 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(nA, tA) {
|
|
5106
|
+
return nA.push(
|
|
5107
5107
|
`${tA.prop}:${tA.value}${tA.important ? " !important" : ""}`
|
|
5108
|
-
),
|
|
5108
|
+
), nA;
|
|
5109
5109
|
}, []).join(";");
|
|
5110
5110
|
}
|
|
5111
5111
|
function yg($) {
|
|
5112
|
-
return function(
|
|
5112
|
+
return function(nA, tA) {
|
|
5113
5113
|
return n($, tA.prop) && $[tA.prop].some(function(lA) {
|
|
5114
5114
|
return lA.test(tA.value);
|
|
5115
|
-
}) &&
|
|
5115
|
+
}) && nA.push(tA), nA;
|
|
5116
5116
|
};
|
|
5117
5117
|
}
|
|
5118
|
-
function jA($,
|
|
5119
|
-
return
|
|
5120
|
-
return
|
|
5118
|
+
function jA($, nA, tA) {
|
|
5119
|
+
return nA ? ($ = $.split(/\s+/), $.filter(function(oA) {
|
|
5120
|
+
return nA.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]", nA = "[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]", DI = "[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 (.+)\] \*/, cI = /,? & /, 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[DI] = 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[DI] = UA[FB] = !0, UA[$A] = UA[eg] = UA[eI] = UA[ug] = UA[mg] = UA[yg] = UA[$] = UA[nA] = 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[DI] = 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[DI] = JA[FB] = !0, JA[$] = JA[nA] = JA[bg] = !1;
|
|
5538
5538
|
var UI = {
|
|
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 == nA || 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 == nA || 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, $, nA, tA) {
|
|
11571
|
+
return jA && (jA[$] || jA(_, aA)) || nA[$].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, $, nA) {
|
|
11575
11575
|
var tA = jA < 12 ? "AM" : "PM";
|
|
11576
|
-
return
|
|
11576
|
+
return nA ? tA.toLowerCase() : tA;
|
|
11577
11577
|
};
|
|
11578
11578
|
return aA.replace(y, function(jA, $) {
|
|
11579
|
-
return $ || function(
|
|
11580
|
-
switch (
|
|
11579
|
+
return $ || function(nA) {
|
|
11580
|
+
switch (nA) {
|
|
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 nA() {
|
|
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 nA();
|
|
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 nA();
|
|
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 = rA(() => `ui3n-icon__${I.icon}`), E = rA(() => {
|
|
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 = rA(() => {
|
|
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 = rA(() => `${I.height}px`), a = rA(() => Number(I.height) - 4), h = rA(() => `${I.maxWidth}px`), n = rA(() => I.color), u = rA(() => `${I.textSize}px`), c = rA(() => I.textColor), s = rA(() => !!e.left), t = rA(() => {
|
|
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 = rA(() => {
|
|
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 = rA(() => 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 = rA(() => B.disabled ? "var(--color-icon-control-primary-disabled)" : B.iconColor || "var(--color-icon-control-primary-default)"), s = rA(() => h.value ? !u.value : !0), t = rA(() => {
|
|
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 = rA(() => {
|
|
13970
13970
|
const S = [E.ui3nInputIcon];
|
|
13971
13971
|
return B.disabled && S.push(E.ui3nInputIconDisabled), S;
|
|
13972
|
-
}), R =
|
|
13972
|
+
}), R = rA(() => {
|
|
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 = rA(() => 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 = rA(() => h.value ? "indeterminate" : a.value === I.checkedValue ? "checked" : "unchecked"), u = rA(() => {
|
|
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 = rA(() => {
|
|
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 = rA(() => {
|
|
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 = rA(() => C.size ? +C.size : 16), B = rA(() => 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 = rA(() => !!B.value.fieldAsRowKey), a = rA(() => Q.head.filter((S) => !S.hidden)), h = rA(
|
|
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 = rA(
|
|
14852
14852
|
() => o.value ? aI.size(e.value) : e.value.size
|
|
14853
|
-
), u =
|
|
14853
|
+
), u = rA(() => {
|
|
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]", nA = "[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[nA] = 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 = rA(() => {
|
|
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 = rA(() => {
|
|
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 = rA(() => {
|
|
16374
16374
|
var S;
|
|
16375
16375
|
return (S = I.dialogProps) != null && S.icon ? typeof I.dialogProps.icon == "string" ? {
|
|
16376
16376
|
icon: I.dialogProps.icon,
|
|
@@ -16593,19 +16593,19 @@ function Vw(Q, C) {
|
|
|
16593
16593
|
}
|
|
16594
16594
|
function zh(Q, C, I) {
|
|
16595
16595
|
I === void 0 && (I = {});
|
|
16596
|
-
const B = I.whileElementsMounted, e =
|
|
16596
|
+
const B = I.whileElementsMounted, e = rA(() => {
|
|
16597
16597
|
var L;
|
|
16598
16598
|
return (L = jB(I.open)) != null ? L : !0;
|
|
16599
|
-
}), E =
|
|
16599
|
+
}), E = rA(() => jB(I.middleware)), o = rA(() => {
|
|
16600
16600
|
var L;
|
|
16601
16601
|
return (L = jB(I.placement)) != null ? L : "bottom";
|
|
16602
|
-
}), a =
|
|
16602
|
+
}), a = rA(() => {
|
|
16603
16603
|
var L;
|
|
16604
16604
|
return (L = jB(I.strategy)) != null ? L : "absolute";
|
|
16605
|
-
}), h =
|
|
16605
|
+
}), h = rA(() => {
|
|
16606
16606
|
var L;
|
|
16607
16607
|
return (L = jB(I.transform)) != null ? L : !0;
|
|
16608
|
-
}), n =
|
|
16608
|
+
}), n = rA(() => jr(Q.value)), u = rA(() => jr(C.value)), c = yA(0), s = yA(0), t = yA(a.value), l = yA(o.value), R = GU({}), F = yA(!1), y = rA(() => {
|
|
16609
16609
|
const L = {
|
|
16610
16610
|
position: t.value,
|
|
16611
16611
|
left: "0",
|
|
@@ -16676,6 +16676,7 @@ const iJ = /* @__PURE__ */ Eg({
|
|
|
16676
16676
|
__name: "ui3n-menu",
|
|
16677
16677
|
props: {
|
|
16678
16678
|
modelValue: { type: Boolean },
|
|
16679
|
+
triggerElement: {},
|
|
16679
16680
|
positionStrategy: { default: "absolute" },
|
|
16680
16681
|
positionAutoupdate: { type: Boolean },
|
|
16681
16682
|
offsetX: { default: 0 },
|
|
@@ -16688,79 +16689,72 @@ const iJ = /* @__PURE__ */ Eg({
|
|
|
16688
16689
|
},
|
|
16689
16690
|
emits: ["open", "opened", "close", "closed", "click-outside", "update:modelValue"],
|
|
16690
16691
|
setup(Q, { emit: C }) {
|
|
16691
|
-
xI((
|
|
16692
|
-
"
|
|
16693
|
-
|
|
16692
|
+
xI((F) => ({
|
|
16693
|
+
"4984eb56": n.value,
|
|
16694
|
+
bc567dfc: u.value
|
|
16694
16695
|
}));
|
|
16695
|
-
const I = Q, B = C, e = yA(null), E = yA(null), o = yA(null), a = yA(!1), h =
|
|
16696
|
+
const I = Q, B = C, e = yA(null), E = yA(null), o = yA(null), a = yA(!1), h = rA(() => I.triggerElement || null), n = rA(() => {
|
|
16696
16697
|
if (typeof I.contentBorderRadius == "number")
|
|
16697
16698
|
return `${I.contentBorderRadius}px`;
|
|
16698
|
-
const [
|
|
16699
|
-
return `${
|
|
16700
|
-
}),
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
|
|
16710
|
-
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
|
|
16715
|
-
|
|
16716
|
-
|
|
16717
|
-
|
|
16718
|
-
whileElementsMounted: I.positionAutoupdate || I.positionStrategy === "fixed" ? nn : void 0
|
|
16719
|
-
}
|
|
16720
|
-
);
|
|
16721
|
-
function s() {
|
|
16699
|
+
const [F, y, f, M] = I.contentBorderRadius;
|
|
16700
|
+
return `${F}px ${y}px ${f}px ${M}px`;
|
|
16701
|
+
}), u = rA(() => I.zIndex), { floatingStyles: c, isPositioned: s } = zh(h || E, o, {
|
|
16702
|
+
placement: "bottom-start",
|
|
16703
|
+
strategy: I.positionStrategy,
|
|
16704
|
+
middleware: [
|
|
16705
|
+
an({
|
|
16706
|
+
mainAxis: I.offsetY,
|
|
16707
|
+
crossAxis: I.offsetX + 2
|
|
16708
|
+
}),
|
|
16709
|
+
VN({
|
|
16710
|
+
fallbackAxisSideDirection: "end",
|
|
16711
|
+
flipAlignment: !1,
|
|
16712
|
+
fallbackPlacements: ["bottom-end"]
|
|
16713
|
+
}),
|
|
16714
|
+
qN()
|
|
16715
|
+
],
|
|
16716
|
+
whileElementsMounted: I.positionAutoupdate || I.positionStrategy === "fixed" ? nn : void 0
|
|
16717
|
+
});
|
|
16718
|
+
function t() {
|
|
16722
16719
|
I.disabled || (a.value = !a.value, a.value ? B("open") : B("close"), B("update:modelValue", a.value));
|
|
16723
16720
|
}
|
|
16724
|
-
function
|
|
16721
|
+
function l() {
|
|
16725
16722
|
a.value = !1, B("close"), B("update:modelValue", a.value);
|
|
16726
16723
|
}
|
|
16727
|
-
function
|
|
16724
|
+
function R() {
|
|
16728
16725
|
B("click-outside"), I.closeOnClickOutside && (a.value = !1, B("close"), B("update:modelValue", a.value));
|
|
16729
16726
|
}
|
|
16730
|
-
return tg(
|
|
16731
|
-
|
|
16732
|
-
|
|
16733
|
-
B(R ? "opened" : "closed");
|
|
16734
|
-
}
|
|
16735
|
-
), tg(
|
|
16727
|
+
return tg(s, (F) => {
|
|
16728
|
+
B(F ? "opened" : "closed");
|
|
16729
|
+
}), tg(
|
|
16736
16730
|
() => I.modelValue,
|
|
16737
|
-
(
|
|
16738
|
-
a.value !==
|
|
16731
|
+
(F) => {
|
|
16732
|
+
a.value !== F && (a.value = F);
|
|
16739
16733
|
},
|
|
16740
16734
|
{ immediate: !0 }
|
|
16741
|
-
), (
|
|
16735
|
+
), (F, y) => (sA(), uA("div", {
|
|
16742
16736
|
ref_key: "menuElement",
|
|
16743
16737
|
ref: e,
|
|
16744
|
-
class: EA(
|
|
16738
|
+
class: EA(F.$style.ui3nMenu)
|
|
16745
16739
|
}, [
|
|
16746
16740
|
GA("div", {
|
|
16747
16741
|
ref_key: "menuTriggerElement",
|
|
16748
16742
|
ref: E,
|
|
16749
|
-
class: EA([
|
|
16750
|
-
onClick: HI(
|
|
16743
|
+
class: EA([F.$style.ui3nMenuTrigger, F.disabled && F.$style.ui3nMenuTriggerDisabled]),
|
|
16744
|
+
onClick: HI(t, ["stop"])
|
|
16751
16745
|
}, [
|
|
16752
|
-
Ig(
|
|
16746
|
+
Ig(F.$slots, "default")
|
|
16753
16747
|
], 2),
|
|
16754
16748
|
a.value ? YQ((sA(), uA("div", hQ({
|
|
16755
16749
|
key: 0,
|
|
16756
16750
|
ref_key: "menuContentElement",
|
|
16757
16751
|
ref: o,
|
|
16758
|
-
style: dA(
|
|
16759
|
-
class:
|
|
16760
|
-
}, AC(
|
|
16761
|
-
Ig(
|
|
16752
|
+
style: dA(c),
|
|
16753
|
+
class: F.$style.ui3nMenuContent
|
|
16754
|
+
}, AC(F.closeOnClick ? { click: l } : {}, !0)), [
|
|
16755
|
+
Ig(F.$slots, "menu")
|
|
16762
16756
|
], 16)), [
|
|
16763
|
-
[dA(th),
|
|
16757
|
+
[dA(th), R]
|
|
16764
16758
|
]) : zA("", !0)
|
|
16765
16759
|
], 2));
|
|
16766
16760
|
}
|
|
@@ -16835,15 +16829,15 @@ const iJ = /* @__PURE__ */ Eg({
|
|
|
16835
16829
|
renderAhead: { default: 20 }
|
|
16836
16830
|
},
|
|
16837
16831
|
setup(Q) {
|
|
16838
|
-
const C = Q, I = yA(0), B = yA(), e = yA(null), E =
|
|
16832
|
+
const C = Q, I = yA(0), B = yA(), e = yA(null), E = rA(
|
|
16839
16833
|
() => e.value ? e.value.clientHeight : 0
|
|
16840
|
-
), o =
|
|
16834
|
+
), o = rA(() => C.items.length), a = rA(() => o.value * C.minChildHeight), h = rA(() => {
|
|
16841
16835
|
const t = Math.floor(I.value / C.minChildHeight) - C.renderAhead;
|
|
16842
16836
|
return Math.max(0, t);
|
|
16843
|
-
}), n =
|
|
16837
|
+
}), n = rA(() => {
|
|
16844
16838
|
const t = Math.ceil(E.value / C.minChildHeight) + 2 * C.renderAhead;
|
|
16845
16839
|
return Math.min(o.value - h.value, t);
|
|
16846
|
-
}), u =
|
|
16840
|
+
}), u = rA(() => h.value * C.minChildHeight), c = rA(() => C.items.slice(h.value, h.value + n.value)), s = (t) => {
|
|
16847
16841
|
B.value && cancelAnimationFrame(B.value), B.value = requestAnimationFrame(() => I.value = t.target.scrollTop);
|
|
16848
16842
|
};
|
|
16849
16843
|
return _g(() => {
|
|
@@ -16903,7 +16897,7 @@ const iJ = /* @__PURE__ */ Eg({
|
|
|
16903
16897
|
"4d6b5686": a.value,
|
|
16904
16898
|
"45c086eb": n.value
|
|
16905
16899
|
}));
|
|
16906
|
-
const I = Q, B = C, e = vQ(), E = yA(null), o = yA(null), a =
|
|
16900
|
+
const I = Q, B = C, e = vQ(), E = yA(null), o = yA(null), a = rA(() => I.activeColor), h = rA(() => I.inactiveColor), n = rA(() => I.indicatorColor), u = rA(() => `${I.indicatorSize}px`), c = rA(() => I.indicatorPosition === "reverse" ? "100%" : "0");
|
|
16907
16901
|
tg(
|
|
16908
16902
|
() => I.modelValue,
|
|
16909
16903
|
(R) => t(R)
|
|
@@ -17005,7 +16999,7 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17005
16999
|
position: { default: "right-top" }
|
|
17006
17000
|
},
|
|
17007
17001
|
setup(Q) {
|
|
17008
|
-
const C = Q, I = PC(), B = yA(), e =
|
|
17002
|
+
const C = Q, I = PC(), B = yA(), e = rA(() => !!I.default), E = rA(() => {
|
|
17009
17003
|
const [o, a] = C.position.split("-");
|
|
17010
17004
|
return {
|
|
17011
17005
|
...o === "right" && { right: `-${Ne(B.value, "width", 0) / 2}px` },
|
|
@@ -17055,17 +17049,17 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17055
17049
|
},
|
|
17056
17050
|
emits: ["click"],
|
|
17057
17051
|
setup(Q, { emit: C }) {
|
|
17058
|
-
const I = Q, B = C, e = vQ(), E =
|
|
17052
|
+
const I = Q, B = C, e = vQ(), E = rA(() => {
|
|
17059
17053
|
var u;
|
|
17060
17054
|
if (I.separator)
|
|
17061
17055
|
return I.separator;
|
|
17062
17056
|
const n = ke();
|
|
17063
17057
|
return ((u = n == null ? void 0 : n.parent) == null ? void 0 : u.props.separator) || "/";
|
|
17064
|
-
}), o =
|
|
17058
|
+
}), o = rA(() => {
|
|
17065
17059
|
var u;
|
|
17066
17060
|
const n = ke();
|
|
17067
17061
|
return ((u = n == null ? void 0 : n.parent) == null ? void 0 : u.props.disabled) || !1;
|
|
17068
|
-
}), a =
|
|
17062
|
+
}), a = rA(() => {
|
|
17069
17063
|
const n = [e.ui3nBreadcrumb];
|
|
17070
17064
|
return I.isActive && n.push(e.ui3nBreadcrumbActive), (I.disabled || o.value) && n.push(e.ui3nBreadcrumbDisabled), n;
|
|
17071
17065
|
}), h = (n) => {
|
|
@@ -17220,7 +17214,7 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17220
17214
|
"44f09cb6": a.bgColor,
|
|
17221
17215
|
a923080a: a.color
|
|
17222
17216
|
}));
|
|
17223
|
-
const C = Q, I =
|
|
17217
|
+
const C = Q, I = rA(() => C.withText && !C.indeterminate), B = rA(() => aI.toNumber(C.height)), e = rA(() => `${B.value}px`), E = rA(() => aI.toNumber(C.value)), o = rA(
|
|
17224
17218
|
() => C.indeterminate ? "20%" : `${Math.min(E.value, 100)}%`
|
|
17225
17219
|
);
|
|
17226
17220
|
return (a, h) => (sA(), uA("div", {
|
|
@@ -17274,12 +17268,12 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17274
17268
|
a7f9f0e2: f.bgColor,
|
|
17275
17269
|
"4cc06dd8": f.color
|
|
17276
17270
|
}));
|
|
17277
|
-
const C = [1, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 85, 90, 95, 99], I = Q, B = vQ(), e = yA(), E =
|
|
17271
|
+
const C = [1, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 85, 90, 95, 99], I = Q, B = vQ(), e = yA(), E = rA(() => I.withText && !I.indeterminate), o = rA(() => aI.toNumber(I.size)), a = rA(() => `${o.value}px`), h = rA(() => {
|
|
17278
17272
|
if (I.width)
|
|
17279
17273
|
return aI.toNumber(I.width);
|
|
17280
17274
|
const f = o.value - XK;
|
|
17281
17275
|
return f <= 0 ? Math.round(o.value / 10) : 6 + Math.round(f / 20);
|
|
17282
|
-
}), n =
|
|
17276
|
+
}), n = rA(() => `${h.value}px`), u = rA(() => aI.toNumber(I.value)), c = rA(() => `${Math.floor((o.value - 2 * h.value) / 3.2)}px`), s = rA(() => Math.round(o.value / 2) - Math.round(h.value / 2)), t = rA(() => Math.round(Math.PI * 2 * s.value)), l = yA(), R = yA(0), F = rA(() => {
|
|
17283
17277
|
const f = I.indeterminate ? R.value : u.value, M = Math.round(t.value * f / 100), d = t.value - M;
|
|
17284
17278
|
return `${M} ${d}`;
|
|
17285
17279
|
});
|
|
@@ -17359,10 +17353,10 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17359
17353
|
"7edc6fc1": n.value,
|
|
17360
17354
|
"7c74c869": h.value
|
|
17361
17355
|
}));
|
|
17362
|
-
const I = Q, B = C, e = yA(!1), E = yA(null), o = yA(null), a = yA(null), h =
|
|
17356
|
+
const I = Q, B = C, e = yA(!1), E = yA(null), o = yA(null), a = yA(null), h = rA(() => "-5px"), n = rA(() => `${vC}px`), u = rA(() => {
|
|
17363
17357
|
const [f, M] = I.placement.split("-");
|
|
17364
17358
|
return f;
|
|
17365
|
-
}), c =
|
|
17359
|
+
}), c = rA(() => {
|
|
17366
17360
|
const f = {
|
|
17367
17361
|
mainAxis: 0,
|
|
17368
17362
|
crossAxis: 0
|
|
@@ -17473,7 +17467,7 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17473
17467
|
} = a ? dU(`radio-group-${a}`) : {
|
|
17474
17468
|
groupValue: null,
|
|
17475
17469
|
updateGroupValue: null
|
|
17476
|
-
}, c = yA(a ? n.value : I.modelValue), s =
|
|
17470
|
+
}, c = yA(a ? n.value : I.modelValue), s = rA(() => c.value === I.checkedValue);
|
|
17477
17471
|
function t(y) {
|
|
17478
17472
|
if (y.preventDefault(), !a) {
|
|
17479
17473
|
c.value = s.value ? I.uncheckedValue : I.checkedValue, B("change", c.value), B("update:modelValue", c.value);
|
|
@@ -17624,12 +17618,12 @@ const Ne = /* @__PURE__ */ xQ(TJ), OJ = /* @__PURE__ */ Eg({
|
|
|
17624
17618
|
e8728980: t.value,
|
|
17625
17619
|
"14b55124": l.value
|
|
17626
17620
|
}));
|
|
17627
|
-
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 =
|
|
17621
|
+
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 = rA(() => `${Zw}px`), l = rA(() => {
|
|
17628
17622
|
if (!e.maxWidth)
|
|
17629
17623
|
return "100%";
|
|
17630
17624
|
const L = Number(e.maxWidth);
|
|
17631
17625
|
return Number.isNaN(L) ? e.maxWidth : `${L}px`;
|
|
17632
|
-
}), R =
|
|
17626
|
+
}), R = rA(() => n.value ? n.value.scrollWidth > n.value.clientWidth : !1), F = rA(() => e.disallowEmptyValue ? !!u.value : !0);
|
|
17633
17627
|
function y() {
|
|
17634
17628
|
a.value.textContent = u.value || e.placeholder || "...";
|
|
17635
17629
|
const L = Math.max(a.value.scrollWidth, Zw);
|
|
@@ -17789,7 +17783,7 @@ const jw = /* @__PURE__ */ xQ(zp), $p = ["placeholder", "disabled"], AY = ["id",
|
|
|
17789
17783
|
},
|
|
17790
17784
|
emits: ["update:modelValue", "update:search", "update:focused", "valid:new-value"],
|
|
17791
17785
|
setup(Q, { emit: C }) {
|
|
17792
|
-
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 =
|
|
17786
|
+
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 = rA(() => B.returnObject ? B.modelValue.map((p) => p.id) : B.modelValue), l = rA(() => B.chips ? "" : B.returnObject ? B.modelValue.map((p) => p[B.itemTitle] || "?").join(", ") : B.modelValue.join(", ")), R = rA(() => 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));
|
|
17793
17787
|
function F() {
|
|
17794
17788
|
e("update:search", o.value);
|
|
17795
17789
|
}
|