@win2win/shared-ui 0.1.57 → 0.1.58
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/w2w-shared-ui.js
CHANGED
|
@@ -12,7 +12,7 @@ var al = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
12
12
|
H0.exports;
|
|
13
13
|
(function(Z, W) {
|
|
14
14
|
(function() {
|
|
15
|
-
var b, m = "4.17.21", G = 200, N = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", Y = "Expected a function", i = "Invalid `variable` option passed into `_.template`", V = "__lodash_hash_undefined__", h = 500, X = "__lodash_placeholder__", a = 1, I = 2,
|
|
15
|
+
var b, m = "4.17.21", G = 200, N = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", Y = "Expected a function", i = "Invalid `variable` option passed into `_.template`", V = "__lodash_hash_undefined__", h = 500, X = "__lodash_placeholder__", a = 1, I = 2, L = 4, T = 1, D = 2, p = 1, k = 2, g = 4, J = 8, _ = 16, v = 32, $ = 64, q = 128, Nl = 256, O = 512, H = 30, ll = "...", x = 800, bl = 16, Q = 1, Ml = 2, Xl = 3, P = 1 / 0, sl = 9007199254740991, jl = 17976931348623157e292, yl = NaN, S = 4294967295, w = S - 1, r = S >>> 1, ul = [
|
|
16
16
|
["ary", q],
|
|
17
17
|
["bind", p],
|
|
18
18
|
["bindKey", k],
|
|
@@ -22,7 +22,7 @@ H0.exports;
|
|
|
22
22
|
["partial", v],
|
|
23
23
|
["partialRight", $],
|
|
24
24
|
["rearg", Nl]
|
|
25
|
-
], il = "[object Arguments]", f = "[object Array]", ml = "[object AsyncFunction]", ol = "[object Boolean]", cl = "[object Date]", ZZ = "[object DOMException]", oZ = "[object Error]", bc = "[object Function]", OZ = "[object GeneratorFunction]", LZ = "[object Map]", CZ = "[object Number]", ac = "[object Null]", xZ = "[object Object]", Oc = "[object Promise]", mb = "[object Proxy]", Wc = "[object RegExp]", dZ = "[object Set]", XZ = "[object String]", mc = "[object Symbol]", wd = "[object Undefined]", Nd = "[object WeakMap]", Kb = "[object WeakSet]", Lc = "[object ArrayBuffer]", Cc = "[object DataView]", ed = "[object Float32Array]", Gc = "[object Float64Array]", tc = "[object Int8Array]", Kc = "[object Int16Array]", Gb = "[object Int32Array]", Md = "[object Uint8Array]", Yd = "[object Uint8ClampedArray]", xd = "[object Uint16Array]", Dd = "[object Uint32Array]", gb = /\b__p \+= '';/g, Eb = /\b(__p \+=) '' \+/g, Qb = /(__e\(.*?\)|\b__t\)) \+\n'';/g, ub = /&(?:amp|lt|gt|quot|#39);/g, Hb = /[&<>"']/g, hW = RegExp(ub.source), vb = RegExp(Hb.source), TW = /<%-([\s\S]+?)%>/g, Pb = /<%([\s\S]+?)%>/g, Xd = /<%=([\s\S]+?)%>/g, id = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gc = /^\w*$/, aW = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Nb = /[\\^$.*+?()[\]{}|]/g, LW = RegExp(Nb.source), Mb = /^\s+/, nW = /\s/, zW = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, IW = /\{\n\/\* \[wrapped with (.+)\] \*/, pW = /,? & /, RW = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ec = /[()=,{}\[\]\/\s]/, Qc = /\\(\\)?/g, nc = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, zc = /\w*$/, Yb = /^[-+]0x[0-9a-f]+$/i, oW = /^0b[01]+$/i, Bb = /^\[object .+?Constructor\]$/, rb = /^0o[0-7]+$/i, fb = /^(?:0|[1-9]\d*)$/, Ab = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
|
|
25
|
+
], il = "[object Arguments]", f = "[object Array]", ml = "[object AsyncFunction]", ol = "[object Boolean]", cl = "[object Date]", ZZ = "[object DOMException]", oZ = "[object Error]", bc = "[object Function]", OZ = "[object GeneratorFunction]", LZ = "[object Map]", CZ = "[object Number]", ac = "[object Null]", xZ = "[object Object]", Oc = "[object Promise]", mb = "[object Proxy]", Wc = "[object RegExp]", dZ = "[object Set]", XZ = "[object String]", mc = "[object Symbol]", wd = "[object Undefined]", Nd = "[object WeakMap]", Kb = "[object WeakSet]", Lc = "[object ArrayBuffer]", Cc = "[object DataView]", ed = "[object Float32Array]", Gc = "[object Float64Array]", tc = "[object Int8Array]", Kc = "[object Int16Array]", Gb = "[object Int32Array]", Md = "[object Uint8Array]", Yd = "[object Uint8ClampedArray]", xd = "[object Uint16Array]", Dd = "[object Uint32Array]", gb = /\b__p \+= '';/g, Eb = /\b(__p \+=) '' \+/g, Qb = /(__e\(.*?\)|\b__t\)) \+\n'';/g, ub = /&(?:amp|lt|gt|quot|#39);/g, Hb = /[&<>"']/g, hW = RegExp(ub.source), vb = RegExp(Hb.source), TW = /<%-([\s\S]+?)%>/g, Pb = /<%([\s\S]+?)%>/g, Xd = /<%=([\s\S]+?)%>/g, id = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gc = /^\w*$/, aW = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Nb = /[\\^$.*+?()[\]{}|]/g, LW = RegExp(Nb.source), Mb = /^\s+/, nW = /\s/, zW = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, IW = /\{\n\/\* \[wrapped with (.+)\] \*/, pW = /,? & /, RW = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ec = /[()=,{}\[\]\/\s]/, Qc = /\\(\\)?/g, nc = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, zc = /\w*$/, Yb = /^[-+]0x[0-9a-f]+$/i, oW = /^0b[01]+$/i, Bb = /^\[object .+?Constructor\]$/, rb = /^0o[0-7]+$/i, fb = /^(?:0|[1-9]\d*)$/, Ab = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, n = /($^)/, Gl = /['\n\r\u2028\u2029\\]/g, dl = "\\ud800-\\udfff", Il = "\\u0300-\\u036f", Kl = "\\ufe20-\\ufe2f", Ol = "\\u20d0-\\u20ff", NZ = Il + Kl + Ol, _l = "\\u2700-\\u27bf", Jd = "a-z\\xdf-\\xf6\\xf8-\\xff", SY = "\\xac\\xb1\\xd7\\xf7", wY = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", eY = "\\u2000-\\u206f", xY = " \\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", LG = "A-Z\\xc0-\\xd6\\xd8-\\xde", nG = "\\ufe0e\\ufe0f", zG = SY + wY + eY + xY, SW = "['’]", DY = "[" + dl + "]", IG = "[" + zG + "]", _b = "[" + NZ + "]", pG = "\\d+", JY = "[" + _l + "]", RG = "[" + Jd + "]", oG = "[^" + dl + zG + pG + _l + Jd + LG + "]", wW = "\\ud83c[\\udffb-\\udfff]", jY = "(?:" + _b + "|" + wW + ")", SG = "[^" + dl + "]", eW = "(?:\\ud83c[\\udde6-\\uddff]){2}", xW = "[\\ud800-\\udbff][\\udc00-\\udfff]", jd = "[" + LG + "]", wG = "\\u200d", eG = "(?:" + RG + "|" + oG + ")", UY = "(?:" + jd + "|" + oG + ")", xG = "(?:" + SW + "(?:d|ll|m|re|s|t|ve))?", DG = "(?:" + SW + "(?:D|LL|M|RE|S|T|VE))?", JG = jY + "?", jG = "[" + nG + "]?", kY = "(?:" + wG + "(?:" + [SG, eW, xW].join("|") + ")" + jG + JG + ")*", FY = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", OY = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", UG = jG + JG + kY, CY = "(?:" + [JY, eW, xW].join("|") + ")" + UG, KY = "(?:" + [SG + _b + "?", _b, eW, xW, DY].join("|") + ")", gY = RegExp(SW, "g"), EY = RegExp(_b, "g"), DW = RegExp(wW + "(?=" + wW + ")|" + KY + UG, "g"), QY = RegExp([
|
|
26
26
|
jd + "?" + RG + "+" + xG + "(?=" + [IG, jd, "$"].join("|") + ")",
|
|
27
27
|
UY + "+" + DG + "(?=" + [IG, jd + eG, "$"].join("|") + ")",
|
|
28
28
|
jd + "?" + eG + "+" + xG,
|
|
@@ -868,7 +868,7 @@ H0.exports;
|
|
|
868
868
|
return l === l && (d !== b && (l = l <= d ? l : d), c !== b && (l = l >= c ? l : c)), l;
|
|
869
869
|
}
|
|
870
870
|
function qZ(l, c, d, u, M, t) {
|
|
871
|
-
var y, z = c & a, e = c & I, C = c &
|
|
871
|
+
var y, z = c & a, e = c & I, C = c & L;
|
|
872
872
|
if (d && (y = M ? d(l, u, M, t) : d(l)), y !== b)
|
|
873
873
|
return y;
|
|
874
874
|
if (!cZ(l))
|
|
@@ -2862,16 +2862,16 @@ H0.exports;
|
|
|
2862
2862
|
return Rl(l) ? l : [l];
|
|
2863
2863
|
}
|
|
2864
2864
|
function XV(l) {
|
|
2865
|
-
return qZ(l,
|
|
2865
|
+
return qZ(l, L);
|
|
2866
2866
|
}
|
|
2867
2867
|
function iV(l, c) {
|
|
2868
|
-
return c = typeof c == "function" ? c : b, qZ(l,
|
|
2868
|
+
return c = typeof c == "function" ? c : b, qZ(l, L, c);
|
|
2869
2869
|
}
|
|
2870
2870
|
function sV(l) {
|
|
2871
|
-
return qZ(l, a |
|
|
2871
|
+
return qZ(l, a | L);
|
|
2872
2872
|
}
|
|
2873
2873
|
function tV(l, c) {
|
|
2874
|
-
return c = typeof c == "function" ? c : b, qZ(l, a |
|
|
2874
|
+
return c = typeof c == "function" ? c : b, qZ(l, a | L, c);
|
|
2875
2875
|
}
|
|
2876
2876
|
function VV(l, c) {
|
|
2877
2877
|
return c == null || Yu(l, c, VZ(c));
|
|
@@ -3155,7 +3155,7 @@ H0.exports;
|
|
|
3155
3155
|
var u = !1;
|
|
3156
3156
|
c = ql(c, function(t) {
|
|
3157
3157
|
return t = Ac(t, l), u || (u = t.length > 1), t;
|
|
3158
|
-
}), yc(l, tm(l), d), u && (d = qZ(d, a | I |
|
|
3158
|
+
}), yc(l, tm(l), d), u && (d = qZ(d, a | I | L, Zs));
|
|
3159
3159
|
for (var M = c.length; M--; )
|
|
3160
3160
|
Gm(d, c[M]);
|
|
3161
3161
|
return d;
|
|
@@ -3304,8 +3304,8 @@ H0.exports;
|
|
|
3304
3304
|
function Oy(l, c, d) {
|
|
3305
3305
|
var u = s.templateSettings;
|
|
3306
3306
|
d && wZ(l, c, d) && (c = b), l = Fl(l), c = k0({}, c, u, ru);
|
|
3307
|
-
var M = k0({}, c.imports, u.imports, ru), t = VZ(M), y = EW(M, t), z, e, C = 0, K = c.interpolate ||
|
|
3308
|
-
(c.escape ||
|
|
3307
|
+
var M = k0({}, c.imports, u.imports, ru), t = VZ(M), y = EW(M, t), z, e, C = 0, K = c.interpolate || n, B = "__p += '", Wl = HW(
|
|
3308
|
+
(c.escape || n).source + "|" + K.source + "|" + (K === Xd ? nc : n).source + "|" + (c.evaluate || n).source + "|$",
|
|
3309
3309
|
"g"
|
|
3310
3310
|
), tl = "//# sourceURL=" + (Cl.call(c, "sourceURL") ? (c.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++BY + "]") + `
|
|
3311
3311
|
`;
|
|
@@ -3981,8 +3981,8 @@ var tM = {}, Am = { exports: {} };
|
|
|
3981
3981
|
if (X.length !== 9 && !i(X) && !V(X)) return !1;
|
|
3982
3982
|
var a = "xyzXYZ".indexOf(X[0]) % 3, I = a.toString();
|
|
3983
3983
|
a === -1 && (I = X[0]);
|
|
3984
|
-
var
|
|
3985
|
-
return "trwagmyfpdxbnjzsqvhlcket".indexOf(X[8].toLowerCase()) ===
|
|
3984
|
+
var L = +(I + X.slice(1, 8)) % 23;
|
|
3985
|
+
return "trwagmyfpdxbnjzsqvhlcket".indexOf(X[8].toLowerCase()) === L;
|
|
3986
3986
|
}, b.normalize = function(h) {
|
|
3987
3987
|
return h.replace(/[-_\s]/gi, "").toUpperCase();
|
|
3988
3988
|
}, b.randomNIE = function() {
|
|
@@ -3992,10 +3992,10 @@ var tM = {}, Am = { exports: {} };
|
|
|
3992
3992
|
a === void 0 && (a = 1e8 * Math.random());
|
|
3993
3993
|
var I = "xyzXYZ".indexOf(h) % 3;
|
|
3994
3994
|
if (I === -1) return null;
|
|
3995
|
-
var
|
|
3996
|
-
if (
|
|
3995
|
+
var L = "trwagmyfpdxbnjzsqvhlckeTRWAGMYFPDXBNJZSQVHLCKE".indexOf(X) % 23;
|
|
3996
|
+
if (L === -1) return null;
|
|
3997
3997
|
var T = I + 1, D = +("" + I + Math.floor(1e6 * T + (9999999 - 1e6 * T - 23) * N(a)));
|
|
3998
|
-
return ("" + h + ("0" + (D - D % 23 +
|
|
3998
|
+
return ("" + h + ("0" + (D - D % 23 + L) + X).slice(-8)).toUpperCase();
|
|
3999
3999
|
}, b.randomNIF = function() {
|
|
4000
4000
|
var h = G(8);
|
|
4001
4001
|
return h + m(h).toUpperCase();
|
|
@@ -4091,11 +4091,11 @@ var Kh = Am.exports, VM = {};
|
|
|
4091
4091
|
}
|
|
4092
4092
|
X(new V("AD", 24, "F04F04A12", "AD1200012030200359100100")), X(new V("AE", 23, "F03F16", "AE070331234567890123456")), X(new V("AL", 28, "F08A16", "AL47212110090000000235698741")), X(new V("AT", 20, "F05F11", "AT611904300234573201")), X(new V("AZ", 28, "U04A20", "AZ21NABZ00000000137010001944")), X(new V("BA", 20, "F03F03F08F02", "BA391290079401028494")), X(new V("BE", 16, "F03F07F02", "BE68539007547034")), X(new V("BG", 22, "U04F04F02A08", "BG80BNBG96611020345678")), X(new V("BH", 22, "U04A14", "BH67BMAG00001299123456")), X(new V("BR", 29, "F08F05F10U01A01", "BR9700360305000010009795493P1")), X(new V("BY", 28, "A04F04A16", "BY13NBRB3600900000002Z00AB00")), X(new V("CH", 21, "F05A12", "CH9300762011623852957")), X(new V("CR", 22, "F04F14", "CR72012300000171549015")), X(new V("CY", 28, "F03F05A16", "CY17002001280000001200527600")), X(new V("CZ", 24, "F04F06F10", "CZ6508000000192000145399")), X(new V("DE", 22, "F08F10", "DE89370400440532013000")), X(new V("DK", 18, "F04F09F01", "DK5000400440116243")), X(new V("DO", 28, "U04F20", "DO28BAGR00000001212453611324")), X(new V("EE", 20, "F02F02F11F01", "EE382200221020145685")), X(new V("EG", 29, "F04F04F17", "EG800002000156789012345180002")), X(new V("ES", 24, "F04F04F01F01F10", "ES9121000418450200051332")), X(new V("FI", 18, "F06F07F01", "FI2112345600000785")), X(new V("FO", 18, "F04F09F01", "FO6264600001631634")), X(new V("FR", 27, "F05F05A11F02", "FR1420041010050500013M02606")), X(new V("GB", 22, "U04F06F08", "GB29NWBK60161331926819")), X(new V("GE", 22, "U02F16", "GE29NB0000000101904917")), X(new V("GI", 23, "U04A15", "GI75NWBK000000007099453")), X(new V("GL", 18, "F04F09F01", "GL8964710001000206")), X(new V("GR", 27, "F03F04A16", "GR1601101250000000012300695")), X(new V("GT", 28, "A04A20", "GT82TRAJ01020000001210029690")), X(new V("HR", 21, "F07F10", "HR1210010051863000160")), X(new V("HU", 28, "F03F04F01F15F01", "HU42117730161111101800000000")), X(new V("IE", 22, "U04F06F08", "IE29AIBK93115212345678")), X(new V("IL", 23, "F03F03F13", "IL620108000000099999999")), X(new V("IS", 26, "F04F02F06F10", "IS140159260076545510730339")), X(new V("IT", 27, "U01F05F05A12", "IT60X0542811101000000123456")), X(new V("IQ", 23, "U04F03A12", "IQ98NBIQ850123456789012")), X(new V("JO", 30, "A04F22", "JO15AAAA1234567890123456789012")), X(new V("KW", 30, "U04A22", "KW81CBKU0000000000001234560101")), X(new V("KZ", 20, "F03A13", "KZ86125KZT5004100100")), X(new V("LB", 28, "F04A20", "LB62099900000001001901229114")), X(new V("LC", 32, "U04F24", "LC07HEMM000100010012001200013015")), X(new V("LI", 21, "F05A12", "LI21088100002324013AA")), X(new V("LT", 20, "F05F11", "LT121000011101001000")), X(new V("LU", 20, "F03A13", "LU280019400644750000")), X(new V("LV", 21, "U04A13", "LV80BANK0000435195001")), X(new V("MC", 27, "F05F05A11F02", "MC5811222000010123456789030")), X(new V("MD", 24, "U02A18", "MD24AG000225100013104168")), X(new V("ME", 22, "F03F13F02", "ME25505000012345678951")), X(new V("MK", 19, "F03A10F02", "MK07250120000058984")), X(new V("MR", 27, "F05F05F11F02", "MR1300020001010000123456753")), X(new V("MT", 31, "U04F05A18", "MT84MALT011000012345MTLCAST001S")), X(new V("MU", 30, "U04F02F02F12F03U03", "MU17BOMM0101101030300200000MUR")), X(new V("NL", 18, "U04F10", "NL91ABNA0417164300")), X(new V("NO", 15, "F04F06F01", "NO9386011117947")), X(new V("PK", 24, "U04A16", "PK36SCBL0000001123456702")), X(new V("PL", 28, "F08F16", "PL61109010140000071219812874")), X(new V("PS", 29, "U04A21", "PS92PALS000000000400123456702")), X(new V("PT", 25, "F04F04F11F02", "PT50000201231234567890154")), X(new V("QA", 29, "U04A21", "QA30AAAA123456789012345678901")), X(new V("RO", 24, "U04A16", "RO49AAAA1B31007593840000")), X(new V("RS", 22, "F03F13F02", "RS35260005601001611379")), X(new V("SA", 24, "F02A18", "SA0380000000608010167519")), X(new V("SC", 31, "U04F04F16U03", "SC18SSCB11010000000000001497USD")), X(new V("SE", 24, "F03F16F01", "SE4550000000058398257466")), X(new V("SI", 19, "F05F08F02", "SI56263300012039086")), X(new V("SK", 24, "F04F06F10", "SK3112000000198742637541")), X(new V("SM", 27, "U01F05F05A12", "SM86U0322509800000000270100")), X(new V("ST", 25, "F08F11F02", "ST68000100010051845310112")), X(new V("SV", 28, "U04F20", "SV62CENR00000000000000700025")), X(new V("TL", 23, "F03F14F02", "TL380080012345678910157")), X(new V("TN", 24, "F02F03F13F02", "TN5910006035183598478831")), X(new V("TR", 26, "F05F01A16", "TR330006100519786457841326")), X(new V("UA", 29, "F25", "UA511234567890123456789012345")), X(new V("VA", 22, "F18", "VA59001123000012345678")), X(new V("VG", 24, "U04F16", "VG96VPVG0000012345678901")), X(new V("XK", 20, "F04F10F02", "XK051212012345678906")), X(new V("AO", 25, "F21", "AO69123456789012345678901")), X(new V("BF", 27, "F23", "BF2312345678901234567890123")), X(new V("BI", 16, "F12", "BI41123456789012")), X(new V("BJ", 28, "F24", "BJ39123456789012345678901234")), X(new V("CI", 28, "U02F22", "CI70CI1234567890123456789012")), X(new V("CM", 27, "F23", "CM9012345678901234567890123")), X(new V("CV", 25, "F21", "CV30123456789012345678901")), X(new V("DZ", 24, "F20", "DZ8612345678901234567890")), X(new V("IR", 26, "F22", "IR861234568790123456789012")), X(new V("MG", 27, "F23", "MG1812345678901234567890123")), X(new V("ML", 28, "U01F23", "ML15A12345678901234567890123")), X(new V("MZ", 25, "F21", "MZ25123456789012345678901")), X(new V("SN", 28, "U01F23", "SN52A12345678901234567890123")), X(new V("GF", 27, "F05F05A11F02", "GF121234512345123456789AB13")), X(new V("GP", 27, "F05F05A11F02", "GP791234512345123456789AB13")), X(new V("MQ", 27, "F05F05A11F02", "MQ221234512345123456789AB13")), X(new V("RE", 27, "F05F05A11F02", "RE131234512345123456789AB13")), X(new V("PF", 27, "F05F05A11F02", "PF281234512345123456789AB13")), X(new V("TF", 27, "F05F05A11F02", "TF891234512345123456789AB13")), X(new V("YT", 27, "F05F05A11F02", "YT021234512345123456789AB13")), X(new V("NC", 27, "F05F05A11F02", "NC551234512345123456789AB13")), X(new V("BL", 27, "F05F05A11F02", "BL391234512345123456789AB13")), X(new V("MF", 27, "F05F05A11F02", "MF551234512345123456789AB13")), X(new V("PM", 27, "F05F05A11F02", "PM071234512345123456789AB13")), X(new V("WF", 27, "F05F05A11F02", "WF621234512345123456789AB13"));
|
|
4093
4093
|
var a = /[^a-zA-Z0-9]/g, I = /(.{4})(?!$)/g;
|
|
4094
|
-
function
|
|
4094
|
+
function L(T) {
|
|
4095
4095
|
return typeof T == "string" || T instanceof String;
|
|
4096
4096
|
}
|
|
4097
4097
|
W.isValid = function(T) {
|
|
4098
|
-
if (!
|
|
4098
|
+
if (!L(T))
|
|
4099
4099
|
return !1;
|
|
4100
4100
|
T = i(T);
|
|
4101
4101
|
var D = h[T.slice(0, 2)];
|
|
@@ -4112,7 +4112,7 @@ var Kh = Am.exports, VM = {};
|
|
|
4112
4112
|
throw new Error("No country with code " + T);
|
|
4113
4113
|
return p.fromBBAN(i(D));
|
|
4114
4114
|
}, W.isValidBBAN = function(T, D) {
|
|
4115
|
-
if (!
|
|
4115
|
+
if (!L(D))
|
|
4116
4116
|
return !1;
|
|
4117
4117
|
var p = h[T];
|
|
4118
4118
|
return p && p.isValidBBAN(i(D));
|
|
@@ -5022,7 +5022,7 @@ const uT = 1.7778, NT = uZ({
|
|
|
5022
5022
|
const m = A(Z.initialRatio), G = GT(Z, m), N = Al(), { registerTimeout: Y, removeTimeout: i } = Jb(), { registerTimeout: V, removeTimeout: h } = Jb(), X = o(() => Z.placeholderSrc !== void 0 ? { src: Z.placeholderSrc } : null), a = o(() => Z.errorSrc !== void 0 ? { src: Z.errorSrc, __qerror: !0 } : null), I = [
|
|
5023
5023
|
A(null),
|
|
5024
5024
|
A(X.value)
|
|
5025
|
-
],
|
|
5025
|
+
], L = A(0), T = A(!1), D = A(!1), p = o(
|
|
5026
5026
|
() => `q-img q-img--${Z.noNativeMenu === !0 ? "no-" : ""}menu`
|
|
5027
5027
|
), k = o(() => ({
|
|
5028
5028
|
width: Z.width,
|
|
@@ -5055,10 +5055,10 @@ const uT = 1.7778, NT = uZ({
|
|
|
5055
5055
|
}, 50));
|
|
5056
5056
|
}
|
|
5057
5057
|
function Nl(x) {
|
|
5058
|
-
eb(N) !== !0 && (
|
|
5058
|
+
eb(N) !== !0 && (L.value = L.value ^ 1, I[L.value].value = null, v(), x.getAttribute("__qerror") !== "true" && (D.value = !1), b("load", x.currentSrc || x.src));
|
|
5059
5059
|
}
|
|
5060
5060
|
function O(x) {
|
|
5061
|
-
i(), v(), D.value = !0, I[
|
|
5061
|
+
i(), v(), D.value = !0, I[L.value].value = a.value, I[L.value ^ 1].value = X.value, b("error", x);
|
|
5062
5062
|
}
|
|
5063
5063
|
function H(x) {
|
|
5064
5064
|
const bl = I[x].value, Q = {
|
|
@@ -5077,7 +5077,7 @@ const uT = 1.7778, NT = uZ({
|
|
|
5077
5077
|
draggable: Z.draggable,
|
|
5078
5078
|
...bl
|
|
5079
5079
|
};
|
|
5080
|
-
return
|
|
5080
|
+
return L.value === x ? Object.assign(Q, {
|
|
5081
5081
|
class: Q.class + "current",
|
|
5082
5082
|
onLoad: $,
|
|
5083
5083
|
onError: O
|
|
@@ -5110,7 +5110,7 @@ const uT = 1.7778, NT = uZ({
|
|
|
5110
5110
|
sizes: Z.sizes
|
|
5111
5111
|
} : null,
|
|
5112
5112
|
(bl) => {
|
|
5113
|
-
i(), D.value = !1, bl === null ? (v(), I[
|
|
5113
|
+
i(), D.value = !1, bl === null ? (v(), I[L.value ^ 1].value = X.value) : _(), I[L.value].value = bl;
|
|
5114
5114
|
},
|
|
5115
5115
|
{ immediate: !0 }
|
|
5116
5116
|
);
|
|
@@ -5194,8 +5194,8 @@ const uT = 1.7778, NT = uZ({
|
|
|
5194
5194
|
svg: !0,
|
|
5195
5195
|
viewBox: a,
|
|
5196
5196
|
nodes: X.split("&&").map((I) => {
|
|
5197
|
-
const [
|
|
5198
|
-
return U("path", { style: T, d:
|
|
5197
|
+
const [L, T, D] = I.split("@@");
|
|
5198
|
+
return U("path", { style: T, d: L, transform: D });
|
|
5199
5199
|
})
|
|
5200
5200
|
};
|
|
5201
5201
|
}
|
|
@@ -5479,10 +5479,10 @@ const AM = {
|
|
|
5479
5479
|
function qM(Z, W) {
|
|
5480
5480
|
const { props: b, slots: m, emit: G, proxy: N } = Al(), { $q: Y } = N, i = ud(b, Y), V = A(null), { refocusTargetEl: h, refocusTarget: X } = vM(b, V), a = Cb(b, rM), I = o(
|
|
5481
5481
|
() => b.val !== void 0 && Array.isArray(b.modelValue)
|
|
5482
|
-
),
|
|
5482
|
+
), L = o(() => {
|
|
5483
5483
|
const x = $c(b.val);
|
|
5484
5484
|
return I.value === !0 ? b.modelValue.findIndex((bl) => $c(bl) === x) : -1;
|
|
5485
|
-
}), T = o(() => I.value === !0 ?
|
|
5485
|
+
}), T = o(() => I.value === !0 ? L.value !== -1 : $c(b.modelValue) === $c(b.trueValue)), D = o(() => I.value === !0 ? L.value === -1 : $c(b.modelValue) === $c(b.falseValue)), p = o(
|
|
5486
5486
|
() => T.value === !1 && D.value === !1
|
|
5487
5487
|
), k = o(() => b.disable === !0 ? -1 : b.tabindex || 0), g = o(
|
|
5488
5488
|
() => `q-${Z} cursor-pointer no-outline row inline no-wrap items-center` + (b.disable === !0 ? " disabled" : "") + (i.value === !0 ? ` q-${Z}--dark` : "") + (b.dense === !0 ? ` q-${Z}--dense` : "") + (b.leftLabel === !0 ? " reverse" : "")
|
|
@@ -5514,7 +5514,7 @@ function qM(Z, W) {
|
|
|
5514
5514
|
if (I.value === !0) {
|
|
5515
5515
|
if (T.value === !0) {
|
|
5516
5516
|
const x = b.modelValue.slice();
|
|
5517
|
-
return x.splice(
|
|
5517
|
+
return x.splice(L.value, 1), x;
|
|
5518
5518
|
}
|
|
5519
5519
|
return b.modelValue.concat([b.val]);
|
|
5520
5520
|
}
|
|
@@ -5836,12 +5836,12 @@ function OT(Z, W) {
|
|
|
5836
5836
|
zl(() => b.modelValue, () => {
|
|
5837
5837
|
Y.value = !0, X.value === !0 && b.lazyRules === !1 && p();
|
|
5838
5838
|
});
|
|
5839
|
-
function
|
|
5839
|
+
function L() {
|
|
5840
5840
|
b.lazyRules !== "ondemand" && X.value === !0 && Y.value === !0 && p();
|
|
5841
5841
|
}
|
|
5842
5842
|
zl(() => b.reactiveRules, (k) => {
|
|
5843
|
-
k === !0 ? V === void 0 && (V = zl(() => b.rules,
|
|
5844
|
-
}, { immediate: !0 }), zl(() => b.lazyRules,
|
|
5843
|
+
k === !0 ? V === void 0 && (V = zl(() => b.rules, L, { immediate: !0, deep: !0 })) : V !== void 0 && (V(), V = void 0);
|
|
5844
|
+
}, { immediate: !0 }), zl(() => b.lazyRules, L), zl(Z, (k) => {
|
|
5845
5845
|
k === !0 ? Y.value = !0 : X.value === !0 && b.lazyRules !== "ondemand" && p();
|
|
5846
5846
|
});
|
|
5847
5847
|
function T() {
|
|
@@ -6004,10 +6004,10 @@ function YG(Z) {
|
|
|
6004
6004
|
hasError: X,
|
|
6005
6005
|
errorMessage: a,
|
|
6006
6006
|
resetValidation: I
|
|
6007
|
-
} = OT(Z.focused, Z.innerLoading),
|
|
6007
|
+
} = OT(Z.focused, Z.innerLoading), L = Z.floatingLabel !== void 0 ? o(() => W.stackLabel === !0 || Z.focused.value === !0 || Z.floatingLabel.value === !0) : o(() => W.stackLabel === !0 || Z.focused.value === !0 || Z.hasValue.value === !0), T = o(
|
|
6008
6008
|
() => W.bottomSlots === !0 || W.hint !== void 0 || h.value === !0 || W.counter === !0 || W.error !== null
|
|
6009
6009
|
), D = o(() => W.filled === !0 ? "filled" : W.outlined === !0 ? "outlined" : W.borderless === !0 ? "borderless" : W.standout ? "standout" : "standard"), p = o(
|
|
6010
|
-
() => `q-field row no-wrap items-start q-field--${D.value}` + (Z.fieldClass !== void 0 ? ` ${Z.fieldClass.value}` : "") + (W.rounded === !0 ? " q-field--rounded" : "") + (W.square === !0 ? " q-field--square" : "") + (
|
|
6010
|
+
() => `q-field row no-wrap items-start q-field--${D.value}` + (Z.fieldClass !== void 0 ? ` ${Z.fieldClass.value}` : "") + (W.rounded === !0 ? " q-field--rounded" : "") + (W.square === !0 ? " q-field--square" : "") + (L.value === !0 ? " q-field--float" : "") + (g.value === !0 ? " q-field--labeled" : "") + (W.dense === !0 ? " q-field--dense" : "") + (W.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (Z.isDark.value === !0 ? " q-field--dark" : "") + (Z.getControl === void 0 ? " q-field--auto-height" : "") + (Z.focused.value === !0 ? " q-field--focused" : "") + (X.value === !0 ? " q-field--error" : "") + (X.value === !0 || Z.focused.value === !0 ? " q-field--highlighted" : "") + (W.hideBottomSpace !== !0 && T.value === !0 ? " q-field--with-bottom" : "") + (W.disable === !0 ? " q-field--disabled" : W.readonly === !0 ? " q-field--readonly" : "")
|
|
6011
6011
|
), k = o(
|
|
6012
6012
|
() => "q-field__control relative-position row no-wrap" + (W.bgColor !== void 0 ? ` bg-${W.bgColor}` : "") + (X.value === !0 ? " text-negative" : typeof W.standout == "string" && W.standout.length !== 0 && Z.focused.value === !0 ? ` ${W.standout}` : W.color !== void 0 ? ` text-${W.color}` : "")
|
|
6013
6013
|
), g = o(
|
|
@@ -6018,7 +6018,7 @@ function YG(Z) {
|
|
|
6018
6018
|
id: Z.targetUid.value,
|
|
6019
6019
|
editable: Z.editable.value,
|
|
6020
6020
|
focused: Z.focused.value,
|
|
6021
|
-
floatingLabel:
|
|
6021
|
+
floatingLabel: L.value,
|
|
6022
6022
|
modelValue: W.modelValue,
|
|
6023
6023
|
emitValue: Z.emitValue
|
|
6024
6024
|
})), v = o(() => {
|
|
@@ -6229,7 +6229,7 @@ const ET = new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + dY.jo
|
|
|
6229
6229
|
};
|
|
6230
6230
|
function HT(Z, W, b, m) {
|
|
6231
6231
|
let G, N, Y, i, V, h;
|
|
6232
|
-
const X = A(null), a = A(
|
|
6232
|
+
const X = A(null), a = A(L());
|
|
6233
6233
|
function I() {
|
|
6234
6234
|
return Z.autogrow === !0 || ["textarea", "text", "search", "url", "tel", "password"].includes(Z.type);
|
|
6235
6235
|
}
|
|
@@ -6245,7 +6245,7 @@ function HT(Z, W, b, m) {
|
|
|
6245
6245
|
}), zl(() => Z.unmaskedValue, () => {
|
|
6246
6246
|
X.value === !0 && p(a.value);
|
|
6247
6247
|
});
|
|
6248
|
-
function
|
|
6248
|
+
function L() {
|
|
6249
6249
|
if (D(), X.value === !0) {
|
|
6250
6250
|
const O = v(q(Z.modelValue));
|
|
6251
6251
|
return Z.fillMask !== !1 ? Nl(O) : O;
|
|
@@ -6525,13 +6525,13 @@ const WY = uZ({
|
|
|
6525
6525
|
const { proxy: m } = Al(), { $q: G } = m, N = {};
|
|
6526
6526
|
let Y = NaN, i, V, h = null, X;
|
|
6527
6527
|
const a = A(null), I = BM(Z), {
|
|
6528
|
-
innerValue:
|
|
6528
|
+
innerValue: L,
|
|
6529
6529
|
hasMask: T,
|
|
6530
6530
|
moveCursorForPaste: D,
|
|
6531
6531
|
updateMaskValue: p,
|
|
6532
6532
|
onMaskedKeydown: k,
|
|
6533
6533
|
onMaskedClick: g
|
|
6534
|
-
} = HT(Z, W, Xl, a), J = vT(Z), _ = o(() => kb(
|
|
6534
|
+
} = HT(Z, W, Xl, a), J = vT(Z), _ = o(() => kb(L.value)), v = bY(Q), $ = MG(), q = o(
|
|
6535
6535
|
() => Z.type === "textarea" || Z.autogrow === !0
|
|
6536
6536
|
), Nl = o(
|
|
6537
6537
|
() => q.value === !0 || ["text", "search", "url", "tel", "password"].includes(Z.type)
|
|
@@ -6571,7 +6571,7 @@ const WY = uZ({
|
|
|
6571
6571
|
if (V === !0 && (V = !1, String(w) === Y))
|
|
6572
6572
|
return;
|
|
6573
6573
|
p(w);
|
|
6574
|
-
} else
|
|
6574
|
+
} else L.value !== w && (L.value = w, Z.type === "number" && N.hasOwnProperty("value") === !0 && (i === !0 ? i = !1 : delete N.value));
|
|
6575
6575
|
Z.autogrow === !0 && tZ(P);
|
|
6576
6576
|
}), zl(() => Z.autogrow, (w) => {
|
|
6577
6577
|
w === !0 ? tZ(P) : a.value !== null && b.rows > 0 && (a.value.style.height = "auto");
|
|
@@ -6640,18 +6640,18 @@ const WY = uZ({
|
|
|
6640
6640
|
}
|
|
6641
6641
|
function jl(w) {
|
|
6642
6642
|
w !== void 0 && Tc(w), h !== null && (clearTimeout(h), h = null), X !== void 0 && X(), i = !1, V = !1, delete N.value, Z.type !== "file" && setTimeout(() => {
|
|
6643
|
-
a.value !== null && (a.value.value =
|
|
6643
|
+
a.value !== null && (a.value.value = L.value !== void 0 ? L.value : "");
|
|
6644
6644
|
});
|
|
6645
6645
|
}
|
|
6646
6646
|
function yl() {
|
|
6647
|
-
return N.hasOwnProperty("value") === !0 ? N.value :
|
|
6647
|
+
return N.hasOwnProperty("value") === !0 ? N.value : L.value !== void 0 ? L.value : "";
|
|
6648
6648
|
}
|
|
6649
6649
|
RZ(() => {
|
|
6650
6650
|
jl();
|
|
6651
6651
|
}), jc(() => {
|
|
6652
6652
|
Z.autogrow === !0 && P();
|
|
6653
6653
|
}), Object.assign($, {
|
|
6654
|
-
innerValue:
|
|
6654
|
+
innerValue: L,
|
|
6655
6655
|
fieldClass: o(
|
|
6656
6656
|
() => `q-${q.value === !0 ? "textarea" : "input"}` + (Z.autogrow === !0 ? " q-textarea--autogrow" : "")
|
|
6657
6657
|
),
|
|
@@ -6662,7 +6662,7 @@ const WY = uZ({
|
|
|
6662
6662
|
emitValue: Xl,
|
|
6663
6663
|
hasValue: _,
|
|
6664
6664
|
floatingLabel: o(
|
|
6665
|
-
() => _.value === !0 && (Z.type !== "number" || isNaN(
|
|
6665
|
+
() => _.value === !0 && (Z.type !== "number" || isNaN(L.value) === !1) || kb(Z.displayValue)
|
|
6666
6666
|
),
|
|
6667
6667
|
getControl: () => U(q.value === !0 ? "textarea" : "input", {
|
|
6668
6668
|
ref: a,
|
|
@@ -7053,10 +7053,10 @@ function RN(Z, W, b, m) {
|
|
|
7053
7053
|
const G = b.modifiers.color;
|
|
7054
7054
|
let N = b.modifiers.center;
|
|
7055
7055
|
N = N === !0 || m === !0;
|
|
7056
|
-
const Y = document.createElement("span"), i = document.createElement("span"), V = fM(Z), { left: h, top: X, width: a, height: I } = W.getBoundingClientRect(),
|
|
7056
|
+
const Y = document.createElement("span"), i = document.createElement("span"), V = fM(Z), { left: h, top: X, width: a, height: I } = W.getBoundingClientRect(), L = Math.sqrt(a * a + I * I), T = L / 2, D = `${(a - L) / 2}px`, p = N ? D : `${V.left - h - T}px`, k = `${(I - L) / 2}px`, g = N ? k : `${V.top - X - T}px`;
|
|
7057
7057
|
i.className = "q-ripple__inner", cG(i, {
|
|
7058
|
-
height: `${
|
|
7059
|
-
width: `${
|
|
7058
|
+
height: `${L}px`,
|
|
7059
|
+
width: `${L}px`,
|
|
7060
7060
|
transform: `translate3d(${p},${g},0) scale3d(.2,.2,1)`,
|
|
7061
7061
|
opacity: 0
|
|
7062
7062
|
}), Y.className = `q-ripple${G ? " text-" + G : ""}`, Y.setAttribute("dir", "ltr"), Y.appendChild(i), W.appendChild(Y);
|
|
@@ -7199,7 +7199,7 @@ function MY({ fallbackTag: Z, useDisableForRouterLinkProps: W = !0 } = {}) {
|
|
|
7199
7199
|
() => Y === !0 && m.disable !== !0 && i.value !== !0 && m.to !== void 0 && m.to !== null && m.to !== ""
|
|
7200
7200
|
) : o(
|
|
7201
7201
|
() => Y === !0 && i.value !== !0 && m.to !== void 0 && m.to !== null && m.to !== ""
|
|
7202
|
-
), h = o(() => V.value === !0 ? g(m.to) : null), X = o(() => h.value !== null), a = o(() => i.value === !0 || X.value === !0), I = o(() => m.type === "a" || a.value === !0 ? "a" : m.tag || Z || "div"),
|
|
7202
|
+
), h = o(() => V.value === !0 ? g(m.to) : null), X = o(() => h.value !== null), a = o(() => i.value === !0 || X.value === !0), I = o(() => m.type === "a" || a.value === !0 ? "a" : m.tag || Z || "div"), L = o(() => i.value === !0 ? {
|
|
7203
7203
|
href: m.href,
|
|
7204
7204
|
target: m.target
|
|
7205
7205
|
} : X.value === !0 ? {
|
|
@@ -7269,7 +7269,7 @@ function MY({ fallbackTag: Z, useDisableForRouterLinkProps: W = !0 } = {}) {
|
|
|
7269
7269
|
linkIsActive: D,
|
|
7270
7270
|
linkIsExactActive: p,
|
|
7271
7271
|
linkClass: k,
|
|
7272
|
-
linkAttrs:
|
|
7272
|
+
linkAttrs: L,
|
|
7273
7273
|
getLink: g,
|
|
7274
7274
|
navigateToRouterLink: J,
|
|
7275
7275
|
navigateOnClick: _
|
|
@@ -7352,7 +7352,7 @@ function ea(Z) {
|
|
|
7352
7352
|
() => Z.rounded === !0 || Z.fab === !0 || Z.fabMini === !0
|
|
7353
7353
|
), X = o(
|
|
7354
7354
|
() => Z.disable !== !0 && Z.loading !== !0
|
|
7355
|
-
), a = o(() => X.value === !0 ? Z.tabindex || 0 : -1), I = o(() => oa(Z, "standard")),
|
|
7355
|
+
), a = o(() => X.value === !0 ? Z.tabindex || 0 : -1), I = o(() => oa(Z, "standard")), L = o(() => {
|
|
7356
7356
|
const p = { tabindex: a.value };
|
|
7357
7357
|
return G.value === !0 ? Object.assign(p, Y.value) : Ia.includes(Z.type) === !0 && (p.type = Z.type), N.value === "a" ? (Z.disable === !0 ? p["aria-disabled"] = "true" : p.href === void 0 && (p.role = "button"), m.value !== !0 && pa.test(Z.type) === !0 && (p.type = Z.type)) : Z.disable === !0 && (p.disabled = "", p["aria-disabled"] = "true"), Z.loading === !0 && Z.percentage !== void 0 && Object.assign(p, {
|
|
7358
7358
|
role: "progressbar",
|
|
@@ -7372,7 +7372,7 @@ function ea(Z) {
|
|
|
7372
7372
|
classes: T,
|
|
7373
7373
|
style: V,
|
|
7374
7374
|
innerClasses: D,
|
|
7375
|
-
attributes:
|
|
7375
|
+
attributes: L,
|
|
7376
7376
|
hasLink: G,
|
|
7377
7377
|
linkTag: N,
|
|
7378
7378
|
navigateOnClick: i,
|
|
@@ -7400,7 +7400,7 @@ const BZ = uZ({
|
|
|
7400
7400
|
linkTag: h,
|
|
7401
7401
|
navigateOnClick: X,
|
|
7402
7402
|
isActionable: a
|
|
7403
|
-
} = ea(Z), I = A(null),
|
|
7403
|
+
} = ea(Z), I = A(null), L = A(null);
|
|
7404
7404
|
let T = null, D, p = null;
|
|
7405
7405
|
const k = o(
|
|
7406
7406
|
() => Z.label !== void 0 && Z.label !== null && Z.label !== ""
|
|
@@ -7483,7 +7483,7 @@ const BZ = uZ({
|
|
|
7483
7483
|
}
|
|
7484
7484
|
}
|
|
7485
7485
|
function x(Q) {
|
|
7486
|
-
const Ml =
|
|
7486
|
+
const Ml = L.value;
|
|
7487
7487
|
Q !== !0 && (rd === I.value || Ad === I.value) && Ml !== null && Ml !== document.activeElement && (Ml.setAttribute("tabindex", -1), Ml.focus()), rd === I.value && (T !== null && (T.removeEventListener("touchcancel", ll, cc), T.removeEventListener("touchend", ll, cc)), rd = T = null), Ad === I.value && (document.removeEventListener("mouseup", ll, cc), Ad = null), fd === I.value && (document.removeEventListener("keyup", ll, !0), I.value !== null && I.value.removeEventListener("blur", ll, cc), fd = null), I.value !== null && I.value.classList.remove("q-btn--active");
|
|
7488
7488
|
}
|
|
7489
7489
|
function bl(Q) {
|
|
@@ -7517,7 +7517,7 @@ const BZ = uZ({
|
|
|
7517
7517
|
const Ml = [
|
|
7518
7518
|
U("span", {
|
|
7519
7519
|
class: "q-focus-helper",
|
|
7520
|
-
ref:
|
|
7520
|
+
ref: L
|
|
7521
7521
|
})
|
|
7522
7522
|
];
|
|
7523
7523
|
return Z.loading === !0 && Z.percentage !== void 0 && Ml.push(
|
|
@@ -7715,9 +7715,9 @@ const BZ = uZ({
|
|
|
7715
7715
|
return { chip: p, remove: k };
|
|
7716
7716
|
});
|
|
7717
7717
|
function I(p) {
|
|
7718
|
-
p.keyCode === 13 &&
|
|
7718
|
+
p.keyCode === 13 && L(p);
|
|
7719
7719
|
}
|
|
7720
|
-
function
|
|
7720
|
+
function L(p) {
|
|
7721
7721
|
Z.disable || (b("update:selected", !Z.selected), b("click", p));
|
|
7722
7722
|
}
|
|
7723
7723
|
function T(p) {
|
|
@@ -7762,7 +7762,7 @@ const BZ = uZ({
|
|
|
7762
7762
|
return h.value === !0 && Object.assign(
|
|
7763
7763
|
p,
|
|
7764
7764
|
a.value.chip,
|
|
7765
|
-
{ onClick:
|
|
7765
|
+
{ onClick: L, onKeyup: I }
|
|
7766
7766
|
), KM(
|
|
7767
7767
|
"div",
|
|
7768
7768
|
p,
|
|
@@ -7797,18 +7797,18 @@ const BZ = uZ({
|
|
|
7797
7797
|
setup(Z, { slots: W, emit: b }) {
|
|
7798
7798
|
const { proxy: { $q: m } } = Al(), G = ud(Z, m), { hasLink: N, linkAttrs: Y, linkClass: i, linkTag: V, navigateOnClick: h } = MY(), X = A(null), a = A(null), I = o(
|
|
7799
7799
|
() => Z.clickable === !0 || N.value === !0 || Z.tag === "label"
|
|
7800
|
-
),
|
|
7800
|
+
), L = o(
|
|
7801
7801
|
() => Z.disable !== !0 && I.value === !0
|
|
7802
7802
|
), T = o(
|
|
7803
|
-
() => "q-item q-item-type row no-wrap" + (Z.dense === !0 ? " q-item--dense" : "") + (G.value === !0 ? " q-item--dark" : "") + (N.value === !0 && Z.active === null ? i.value : Z.active === !0 ? ` q-item--active${Z.activeClass !== void 0 ? ` ${Z.activeClass}` : ""}` : "") + (Z.disable === !0 ? " disabled" : "") + (
|
|
7803
|
+
() => "q-item q-item-type row no-wrap" + (Z.dense === !0 ? " q-item--dense" : "") + (G.value === !0 ? " q-item--dark" : "") + (N.value === !0 && Z.active === null ? i.value : Z.active === !0 ? ` q-item--active${Z.activeClass !== void 0 ? ` ${Z.activeClass}` : ""}` : "") + (Z.disable === !0 ? " disabled" : "") + (L.value === !0 ? " q-item--clickable q-link cursor-pointer " + (Z.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (Z.focused === !0 ? " q-manual-focusable--focused" : "") : "")
|
|
7804
7804
|
), D = o(() => Z.insetLevel === void 0 ? null : {
|
|
7805
7805
|
["padding" + (m.lang.rtl === !0 ? "Right" : "Left")]: 16 + Z.insetLevel * 56 + "px"
|
|
7806
7806
|
});
|
|
7807
7807
|
function p(J) {
|
|
7808
|
-
|
|
7808
|
+
L.value === !0 && (a.value !== null && (J.qKeyEvent !== !0 && document.activeElement === X.value ? a.value.focus() : document.activeElement === a.value && X.value.focus()), h(J));
|
|
7809
7809
|
}
|
|
7810
7810
|
function k(J) {
|
|
7811
|
-
if (
|
|
7811
|
+
if (L.value === !0 && Sd(J, [13, 32]) === !0) {
|
|
7812
7812
|
WZ(J), J.qKeyEvent = !0;
|
|
7813
7813
|
const _ = new MouseEvent("click", J);
|
|
7814
7814
|
_.qKeyEvent = !0, X.value.dispatchEvent(_);
|
|
@@ -7817,7 +7817,7 @@ const BZ = uZ({
|
|
|
7817
7817
|
}
|
|
7818
7818
|
function g() {
|
|
7819
7819
|
const J = ZT(W.default, []);
|
|
7820
|
-
return
|
|
7820
|
+
return L.value === !0 && J.unshift(
|
|
7821
7821
|
U("div", { class: "q-focus-helper", tabindex: -1, ref: a })
|
|
7822
7822
|
), J;
|
|
7823
7823
|
}
|
|
@@ -7830,7 +7830,7 @@ const BZ = uZ({
|
|
|
7830
7830
|
onClick: p,
|
|
7831
7831
|
onKeyup: k
|
|
7832
7832
|
};
|
|
7833
|
-
return
|
|
7833
|
+
return L.value === !0 ? (J.tabindex = Z.tabindex || "0", Object.assign(J, Y.value)) : I.value === !0 && (J["aria-disabled"] = "true"), U(
|
|
7834
7834
|
V.value,
|
|
7835
7835
|
J,
|
|
7836
7836
|
g()
|
|
@@ -7901,47 +7901,47 @@ function iY({
|
|
|
7901
7901
|
}) {
|
|
7902
7902
|
const { props: m, proxy: G, emit: N } = Al(), Y = A(null);
|
|
7903
7903
|
let i = null;
|
|
7904
|
-
function V(
|
|
7905
|
-
return Y.value === null ? !1 :
|
|
7904
|
+
function V(L) {
|
|
7905
|
+
return Y.value === null ? !1 : L === void 0 || L.touches === void 0 || L.touches.length <= 1;
|
|
7906
7906
|
}
|
|
7907
7907
|
const h = {};
|
|
7908
7908
|
b === void 0 && (Object.assign(h, {
|
|
7909
|
-
hide(
|
|
7910
|
-
G.hide(
|
|
7909
|
+
hide(L) {
|
|
7910
|
+
G.hide(L);
|
|
7911
7911
|
},
|
|
7912
|
-
toggle(
|
|
7913
|
-
G.toggle(
|
|
7912
|
+
toggle(L) {
|
|
7913
|
+
G.toggle(L), L.qAnchorHandled = !0;
|
|
7914
7914
|
},
|
|
7915
|
-
toggleKey(
|
|
7916
|
-
Sd(
|
|
7915
|
+
toggleKey(L) {
|
|
7916
|
+
Sd(L, 13) === !0 && h.toggle(L);
|
|
7917
7917
|
},
|
|
7918
|
-
contextClick(
|
|
7919
|
-
G.hide(
|
|
7920
|
-
G.show(
|
|
7918
|
+
contextClick(L) {
|
|
7919
|
+
G.hide(L), ic(L), tZ(() => {
|
|
7920
|
+
G.show(L), L.qAnchorHandled = !0;
|
|
7921
7921
|
});
|
|
7922
7922
|
},
|
|
7923
7923
|
prevent: ic,
|
|
7924
|
-
mobileTouch(
|
|
7925
|
-
if (h.mobileCleanup(
|
|
7924
|
+
mobileTouch(L) {
|
|
7925
|
+
if (h.mobileCleanup(L), V(L) !== !0)
|
|
7926
7926
|
return;
|
|
7927
|
-
G.hide(
|
|
7928
|
-
const T =
|
|
7927
|
+
G.hide(L), Y.value.classList.add("non-selectable");
|
|
7928
|
+
const T = L.target;
|
|
7929
7929
|
jb(h, "anchor", [
|
|
7930
7930
|
[T, "touchmove", "mobileCleanup", "passive"],
|
|
7931
7931
|
[T, "touchend", "mobileCleanup", "passive"],
|
|
7932
7932
|
[T, "touchcancel", "mobileCleanup", "passive"],
|
|
7933
7933
|
[Y.value, "contextmenu", "prevent", "notPassive"]
|
|
7934
7934
|
]), i = setTimeout(() => {
|
|
7935
|
-
i = null, G.show(
|
|
7935
|
+
i = null, G.show(L), L.qAnchorHandled = !0;
|
|
7936
7936
|
}, 300);
|
|
7937
7937
|
},
|
|
7938
|
-
mobileCleanup(
|
|
7939
|
-
Y.value.classList.remove("non-selectable"), i !== null && (clearTimeout(i), i = null), Z.value === !0 &&
|
|
7938
|
+
mobileCleanup(L) {
|
|
7939
|
+
Y.value.classList.remove("non-selectable"), i !== null && (clearTimeout(i), i = null), Z.value === !0 && L !== void 0 && dG();
|
|
7940
7940
|
}
|
|
7941
|
-
}), b = function(
|
|
7941
|
+
}), b = function(L = m.contextMenu) {
|
|
7942
7942
|
if (m.noParentEvent === !0 || Y.value === null) return;
|
|
7943
7943
|
let T;
|
|
7944
|
-
|
|
7944
|
+
L === !0 ? G.$q.platform.is.mobile === !0 ? T = [
|
|
7945
7945
|
[Y.value, "touchstart", "mobileTouch", "passive"]
|
|
7946
7946
|
] : T = [
|
|
7947
7947
|
[Y.value, "mousedown", "hide", "passive"],
|
|
@@ -7954,8 +7954,8 @@ function iY({
|
|
|
7954
7954
|
function X() {
|
|
7955
7955
|
v0(h, "anchor");
|
|
7956
7956
|
}
|
|
7957
|
-
function a(
|
|
7958
|
-
for (Y.value =
|
|
7957
|
+
function a(L) {
|
|
7958
|
+
for (Y.value = L; Y.value.classList.contains("q-anchor--skip"); )
|
|
7959
7959
|
Y.value = Y.value.parentNode;
|
|
7960
7960
|
b();
|
|
7961
7961
|
}
|
|
@@ -7965,22 +7965,22 @@ function iY({
|
|
|
7965
7965
|
else if (m.target === !0)
|
|
7966
7966
|
a(G.$el.parentNode);
|
|
7967
7967
|
else {
|
|
7968
|
-
let
|
|
7968
|
+
let L = m.target;
|
|
7969
7969
|
if (typeof m.target == "string")
|
|
7970
7970
|
try {
|
|
7971
|
-
|
|
7971
|
+
L = document.querySelector(m.target);
|
|
7972
7972
|
} catch {
|
|
7973
|
-
|
|
7973
|
+
L = void 0;
|
|
7974
7974
|
}
|
|
7975
|
-
|
|
7975
|
+
L != null ? (Y.value = L.$el || L, b()) : (Y.value = null, console.error(`Anchor: target "${m.target}" not found`));
|
|
7976
7976
|
}
|
|
7977
7977
|
}
|
|
7978
|
-
return zl(() => m.contextMenu, (
|
|
7979
|
-
Y.value !== null && (X(), b(
|
|
7978
|
+
return zl(() => m.contextMenu, (L) => {
|
|
7979
|
+
Y.value !== null && (X(), b(L));
|
|
7980
7980
|
}), zl(() => m.target, () => {
|
|
7981
7981
|
Y.value !== null && X(), I();
|
|
7982
|
-
}), zl(() => m.noParentEvent, (
|
|
7983
|
-
Y.value !== null && (
|
|
7982
|
+
}), zl(() => m.noParentEvent, (L) => {
|
|
7983
|
+
Y.value !== null && (L === !0 ? X() : b());
|
|
7984
7984
|
}), jc(() => {
|
|
7985
7985
|
I(), W !== !0 && m.modelValue === !0 && Y.value === null && N("update:modelValue", !1);
|
|
7986
7986
|
}), RZ(() => {
|
|
@@ -8046,9 +8046,9 @@ function tG({
|
|
|
8046
8046
|
const J = i["onUpdate:modelValue"] !== void 0;
|
|
8047
8047
|
J === !0 && (V("update:modelValue", !0), X = g, tZ(() => {
|
|
8048
8048
|
X === g && (X = void 0);
|
|
8049
|
-
})), (i.modelValue === null || J === !1) &&
|
|
8049
|
+
})), (i.modelValue === null || J === !1) && L(g);
|
|
8050
8050
|
}
|
|
8051
|
-
function
|
|
8051
|
+
function L(g) {
|
|
8052
8052
|
Z.value !== !0 && (Z.value = !0, V("beforeShow", g), m !== void 0 ? m(g) : V("show", g));
|
|
8053
8053
|
}
|
|
8054
8054
|
function T(g) {
|
|
@@ -8063,7 +8063,7 @@ function tG({
|
|
|
8063
8063
|
Z.value !== !1 && (Z.value = !1, V("beforeHide", g), G !== void 0 ? G(g) : V("hide", g));
|
|
8064
8064
|
}
|
|
8065
8065
|
function p(g) {
|
|
8066
|
-
i.disable === !0 && g === !0 ? i["onUpdate:modelValue"] !== void 0 && V("update:modelValue", !1) : g === !0 !== Z.value && (g === !0 ?
|
|
8066
|
+
i.disable === !0 && g === !0 ? i["onUpdate:modelValue"] !== void 0 && V("update:modelValue", !1) : g === !0 !== Z.value && (g === !0 ? L : D)(X);
|
|
8067
8067
|
}
|
|
8068
8068
|
zl(() => i.modelValue, p), b !== void 0 && gM(Y) === !0 && zl(() => h.$route.fullPath, () => {
|
|
8069
8069
|
b.value === !0 && Z.value === !0 && T();
|
|
@@ -8387,7 +8387,7 @@ function TG(Z, W = 0) {
|
|
|
8387
8387
|
const $ = document.body.style, { offsetLeft: q, offsetTop: Nl } = window.visualViewport;
|
|
8388
8388
|
q !== JN && ($.setProperty("--q-pe-left", q + "px"), JN = q), Nl !== jN && ($.setProperty("--q-pe-top", Nl + "px"), jN = Nl);
|
|
8389
8389
|
}
|
|
8390
|
-
const { scrollLeft: I, scrollTop:
|
|
8390
|
+
const { scrollLeft: I, scrollTop: L } = b, T = i === void 0 ? GL(G, h === !0 ? [0, 0] : m) : uL(G, i, m);
|
|
8391
8391
|
Object.assign(b.style, {
|
|
8392
8392
|
top: 0,
|
|
8393
8393
|
left: 0,
|
|
@@ -8423,7 +8423,7 @@ function TG(Z, W = 0) {
|
|
|
8423
8423
|
J = {
|
|
8424
8424
|
top: v.top + "px",
|
|
8425
8425
|
left: v.left + "px"
|
|
8426
|
-
}, v.maxHeight !== void 0 && (J.maxHeight = v.maxHeight + "px", T.height > v.maxHeight && (J.minHeight = J.maxHeight)), v.maxWidth !== void 0 && (J.maxWidth = v.maxWidth + "px", T.width > v.maxWidth && (J.minWidth = J.maxWidth)), Object.assign(b.style, J), b.scrollTop !==
|
|
8426
|
+
}, v.maxHeight !== void 0 && (J.maxHeight = v.maxHeight + "px", T.height > v.maxHeight && (J.minHeight = J.maxHeight)), v.maxWidth !== void 0 && (J.maxWidth = v.maxWidth + "px", T.width > v.maxWidth && (J.minWidth = J.maxWidth)), Object.assign(b.style, J), b.scrollTop !== L && (b.scrollTop = L), b.scrollLeft !== I && (b.scrollLeft = I);
|
|
8427
8427
|
}
|
|
8428
8428
|
function Hm(Z, W, b, m, G) {
|
|
8429
8429
|
const N = b.bottom, Y = b.right, i = cL(), V = window.innerHeight - i, h = document.body.clientWidth;
|
|
@@ -8503,14 +8503,14 @@ const ML = uZ({
|
|
|
8503
8503
|
],
|
|
8504
8504
|
setup(Z, { slots: W, emit: b, attrs: m }) {
|
|
8505
8505
|
let G = null, N, Y, i;
|
|
8506
|
-
const V = Al(), { proxy: h } = V, { $q: X } = h, a = A(null), I = A(!1),
|
|
8506
|
+
const V = Al(), { proxy: h } = V, { $q: X } = h, a = A(null), I = A(!1), L = o(
|
|
8507
8507
|
() => Z.persistent !== !0 && Z.noRouteDismiss !== !0
|
|
8508
8508
|
), T = ud(Z, X), { registerTick: D, removeTick: p } = hG(), { registerTimeout: k } = Jb(), { transitionProps: g, transitionStyle: J } = yG(Z), { localScrollTarget: _, changeScrollEvent: v, unconfigureScrollTarget: $ } = sY(Z, r), { anchorEl: q, canShow: Nl } = iY({ showing: I }), { hide: O } = tG({
|
|
8509
8509
|
showing: I,
|
|
8510
8510
|
canShow: Nl,
|
|
8511
8511
|
handleShow: yl,
|
|
8512
8512
|
handleHide: S,
|
|
8513
|
-
hideOnRouteChange:
|
|
8513
|
+
hideOnRouteChange: L,
|
|
8514
8514
|
processOnMount: !0
|
|
8515
8515
|
}), { showPortal: H, hidePortal: ll, renderPortal: x } = VG(V, a, ol, "menu"), bl = {
|
|
8516
8516
|
anchorEl: q,
|
|
@@ -8743,7 +8743,7 @@ const VL = {
|
|
|
8743
8743
|
let V = null, h = null, X, a;
|
|
8744
8744
|
const I = o(
|
|
8745
8745
|
() => Z.persistent !== !0 && Z.noRouteDismiss !== !0 && Z.seamless !== !0
|
|
8746
|
-
), { preventBodyScroll:
|
|
8746
|
+
), { preventBodyScroll: L } = tL(), { registerTimeout: T } = Jb(), { registerTick: D, removeTick: p } = hG(), { transitionProps: k, transitionStyle: g } = yG(
|
|
8747
8747
|
Z,
|
|
8748
8748
|
() => gN[Z.position][0],
|
|
8749
8749
|
() => gN[Z.position][1]
|
|
@@ -8767,7 +8767,7 @@ const VL = {
|
|
|
8767
8767
|
zl(() => Z.maximized, (f) => {
|
|
8768
8768
|
Y.value === !0 && S(f);
|
|
8769
8769
|
}), zl(x, (f) => {
|
|
8770
|
-
|
|
8770
|
+
L(f), f === !0 ? (aY(ul), hY(jl)) : (bG(ul), B0(jl));
|
|
8771
8771
|
});
|
|
8772
8772
|
function Ml(f) {
|
|
8773
8773
|
O(), h = Z.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, S(Z.maximized), _(), i.value = !0, Z.noFocus !== !0 ? (document.activeElement !== null && document.activeElement.blur(), D(P)) : p(), T(() => {
|
|
@@ -8815,7 +8815,7 @@ const VL = {
|
|
|
8815
8815
|
Z.seamless !== !0 && (Z.persistent === !0 || Z.noEscDismiss === !0 ? Z.maximized !== !0 && Z.noShake !== !0 && sl() : (b("escapeKey"), Nl()));
|
|
8816
8816
|
}
|
|
8817
8817
|
function yl(f) {
|
|
8818
|
-
V !== null && (clearTimeout(V), V = null), (f === !0 || Y.value === !0) && (S(!1), Z.seamless !== !0 && (
|
|
8818
|
+
V !== null && (clearTimeout(V), V = null), (f === !0 || Y.value === !0) && (S(!1), Z.seamless !== !0 && (L(!1), bG(ul), B0(jl))), f !== !0 && (h = null);
|
|
8819
8819
|
}
|
|
8820
8820
|
function S(f) {
|
|
8821
8821
|
f === !0 ? X !== !0 && (E0 < 1 && document.body.classList.add("q-body--dialog"), E0++, X = !0) : X === !0 && (E0 < 2 && document.body.classList.remove("q-body--dialog"), E0--, X = !1);
|
|
@@ -8977,7 +8977,7 @@ function LL({
|
|
|
8977
8977
|
// optional
|
|
8978
8978
|
}) {
|
|
8979
8979
|
const G = Al(), { props: N, emit: Y, proxy: i } = G, { $q: V } = i;
|
|
8980
|
-
let h, X, a, I = [],
|
|
8980
|
+
let h, X, a, I = [], L;
|
|
8981
8981
|
const T = A(0), D = A(0), p = A({}), k = A(null), g = A(null), J = A(null), _ = A({ from: 0, to: 0 }), v = o(() => N.tableColspan !== void 0 ? N.tableColspan : 100);
|
|
8982
8982
|
m === void 0 && (m = o(() => N.virtualScrollItemSize));
|
|
8983
8983
|
const $ = o(() => m.value + ";" + N.virtualScrollHorizontal), q = o(
|
|
@@ -9035,7 +9035,7 @@ function LL({
|
|
|
9035
9035
|
return;
|
|
9036
9036
|
}
|
|
9037
9037
|
a !== w.scrollViewSize && Xl(w.scrollViewSize), bl(_.value.from);
|
|
9038
|
-
const il = Math.floor(w.scrollMaxSize - Math.max(w.scrollViewSize, w.offsetEnd) - Math.min(
|
|
9038
|
+
const il = Math.floor(w.scrollMaxSize - Math.max(w.scrollViewSize, w.offsetEnd) - Math.min(L[r], w.scrollViewSize / 2));
|
|
9039
9039
|
if (il > 0 && Math.ceil(w.scrollStart) >= il) {
|
|
9040
9040
|
x(
|
|
9041
9041
|
S,
|
|
@@ -9052,7 +9052,7 @@ function LL({
|
|
|
9052
9052
|
for (let cl = 0; ml >= I[cl] && f < r; cl++)
|
|
9053
9053
|
ml -= I[cl], f += Xc;
|
|
9054
9054
|
for (; ml > 0 && f < r; )
|
|
9055
|
-
ml -=
|
|
9055
|
+
ml -= L[f], ml > -w.scrollViewSize ? (f++, ol = ml) : ol = L[f] + ml;
|
|
9056
9056
|
x(
|
|
9057
9057
|
S,
|
|
9058
9058
|
w,
|
|
@@ -9073,22 +9073,22 @@ function LL({
|
|
|
9073
9073
|
oZ === !0 && OZ !== null && OZ !== bc && OZ.contains(bc) === !0 && (OZ.addEventListener("focusout", Q), setTimeout(() => {
|
|
9074
9074
|
OZ !== null && OZ.removeEventListener("focusout", Q);
|
|
9075
9075
|
})), TL(OZ, r - cl);
|
|
9076
|
-
const LZ = ml !== void 0 ?
|
|
9076
|
+
const LZ = ml !== void 0 ? L.slice(cl, r).reduce(qd, 0) : 0;
|
|
9077
9077
|
if (oZ === !0) {
|
|
9078
9078
|
const CZ = ZZ >= _.value.from && cl <= _.value.to ? _.value.to : ZZ;
|
|
9079
|
-
_.value = { from: cl, to: CZ }, T.value = Sb(I,
|
|
9080
|
-
_.value.to !== ZZ && h === w.scrollStart && (_.value = { from: _.value.from, to: ZZ }, D.value = Sb(I,
|
|
9079
|
+
_.value = { from: cl, to: CZ }, T.value = Sb(I, L, 0, cl), D.value = Sb(I, L, ZZ, Z.value), requestAnimationFrame(() => {
|
|
9080
|
+
_.value.to !== ZZ && h === w.scrollStart && (_.value = { from: _.value.from, to: ZZ }, D.value = Sb(I, L, ZZ, Z.value));
|
|
9081
9081
|
});
|
|
9082
9082
|
}
|
|
9083
9083
|
requestAnimationFrame(() => {
|
|
9084
9084
|
if (h !== w.scrollStart)
|
|
9085
9085
|
return;
|
|
9086
9086
|
oZ === !0 && bl(cl);
|
|
9087
|
-
const CZ =
|
|
9087
|
+
const CZ = L.slice(cl, r).reduce(qd, 0), ac = CZ + w.offsetStart + T.value, xZ = ac + L[r];
|
|
9088
9088
|
let Oc = ac + ul;
|
|
9089
9089
|
if (ml !== void 0) {
|
|
9090
9090
|
const mb = CZ - LZ, Wc = w.scrollStart + mb;
|
|
9091
|
-
Oc = f !== !0 && Wc < ac && xZ < Wc + w.scrollViewSize ? Wc : ml === "end" ? xZ - w.scrollViewSize : ac - (ml === "start" ? 0 : Math.round((w.scrollViewSize -
|
|
9091
|
+
Oc = f !== !0 && Wc < ac && xZ < Wc + w.scrollViewSize ? Wc : ml === "end" ? xZ - w.scrollViewSize : ac - (ml === "start" ? 0 : Math.round((w.scrollViewSize - L[r]) / 2));
|
|
9092
9092
|
}
|
|
9093
9093
|
h = Oc, EN(
|
|
9094
9094
|
S,
|
|
@@ -9109,7 +9109,7 @@ function LL({
|
|
|
9109
9109
|
for (let cl = 0; cl < ul; ) {
|
|
9110
9110
|
for (ml = il(r[cl]), cl++; cl < ul && r[cl].classList.contains("q-virtual-scroll--with-prev") === !0; )
|
|
9111
9111
|
ml += il(r[cl]), cl++;
|
|
9112
|
-
ol = ml -
|
|
9112
|
+
ol = ml - L[f], ol !== 0 && (L[f] += ol, I[Math.floor(f / Xc)] += ol), f++;
|
|
9113
9113
|
}
|
|
9114
9114
|
}
|
|
9115
9115
|
}
|
|
@@ -9118,21 +9118,21 @@ function LL({
|
|
|
9118
9118
|
}
|
|
9119
9119
|
function Ml(S, w) {
|
|
9120
9120
|
const r = 1 * m.value;
|
|
9121
|
-
(w === !0 || Array.isArray(
|
|
9122
|
-
const ul =
|
|
9123
|
-
|
|
9121
|
+
(w === !0 || Array.isArray(L) === !1) && (L = []);
|
|
9122
|
+
const ul = L.length;
|
|
9123
|
+
L.length = Z.value;
|
|
9124
9124
|
for (let f = Z.value - 1; f >= ul; f--)
|
|
9125
|
-
|
|
9125
|
+
L[f] = r;
|
|
9126
9126
|
const il = Math.floor((Z.value - 1) / Xc);
|
|
9127
9127
|
I = [];
|
|
9128
9128
|
for (let f = 0; f <= il; f++) {
|
|
9129
9129
|
let ml = 0;
|
|
9130
9130
|
const ol = Math.min((f + 1) * Xc, Z.value);
|
|
9131
9131
|
for (let cl = f * Xc; cl < ol; cl++)
|
|
9132
|
-
ml +=
|
|
9132
|
+
ml += L[cl];
|
|
9133
9133
|
I.push(ml);
|
|
9134
9134
|
}
|
|
9135
|
-
X = -1, h = void 0, T.value = Sb(I,
|
|
9135
|
+
X = -1, h = void 0, T.value = Sb(I, L, 0, _.value.from), D.value = Sb(I, L, _.value.to, Z.value), S >= 0 ? (bl(_.value.from), tZ(() => {
|
|
9136
9136
|
H(S);
|
|
9137
9137
|
})) : jl();
|
|
9138
9138
|
}
|
|
@@ -9348,7 +9348,7 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9348
9348
|
],
|
|
9349
9349
|
setup(Z, { slots: W, emit: b }) {
|
|
9350
9350
|
const { proxy: m } = Al(), { $q: G } = m, N = A(!1), Y = A(!1), i = A(-1), V = A(""), h = A(!1), X = A(!1);
|
|
9351
|
-
let a = null, I = null,
|
|
9351
|
+
let a = null, I = null, L, T, D, p = null, k, g, J, _;
|
|
9352
9352
|
const v = A(null), $ = A(null), q = A(null), Nl = A(null), O = A(null), H = BM(Z), ll = bY(Pb), x = o(() => Array.isArray(Z.options) ? Z.options.length : 0), bl = o(() => Z.virtualScrollItemSize === void 0 ? Z.optionsDense === !0 ? 24 : 48 : Z.virtualScrollItemSize), {
|
|
9353
9353
|
virtualScrollSliceRange: Q,
|
|
9354
9354
|
virtualScrollSliceSizeComputed: Ml,
|
|
@@ -9363,27 +9363,27 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9363
9363
|
getVirtualScrollEl: ub,
|
|
9364
9364
|
virtualScrollItemSizeComputed: bl
|
|
9365
9365
|
}), S = MG(), w = o(() => {
|
|
9366
|
-
const
|
|
9366
|
+
const n = Z.mapOptions === !0 && Z.multiple !== !0, Gl = Z.modelValue !== void 0 && (Z.modelValue !== null || n === !0) ? Z.multiple === !0 && Array.isArray(Z.modelValue) ? Z.modelValue : [Z.modelValue] : [];
|
|
9367
9367
|
if (Z.mapOptions === !0 && Array.isArray(Z.options) === !0) {
|
|
9368
|
-
const dl = Z.mapOptions === !0 &&
|
|
9369
|
-
return Z.modelValue === null &&
|
|
9368
|
+
const dl = Z.mapOptions === !0 && L !== void 0 ? L : [], Il = Gl.map((Kl) => Gb(Kl, dl));
|
|
9369
|
+
return Z.modelValue === null && n === !0 ? Il.filter((Kl) => Kl !== null) : Il;
|
|
9370
9370
|
}
|
|
9371
9371
|
return Gl;
|
|
9372
9372
|
}), r = o(() => {
|
|
9373
|
-
const
|
|
9373
|
+
const n = {};
|
|
9374
9374
|
return zL.forEach((Gl) => {
|
|
9375
9375
|
const dl = Z[Gl];
|
|
9376
|
-
dl !== void 0 && (
|
|
9377
|
-
}),
|
|
9376
|
+
dl !== void 0 && (n[Gl] = dl);
|
|
9377
|
+
}), n;
|
|
9378
9378
|
}), ul = o(() => Z.optionsDark === null ? S.isDark.value : Z.optionsDark), il = o(() => kb(w.value)), f = o(() => {
|
|
9379
|
-
let
|
|
9380
|
-
return Z.hideSelected === !0 || w.value.length === 0 ? [
|
|
9379
|
+
let n = "q-field__input q-placeholder col";
|
|
9380
|
+
return Z.hideSelected === !0 || w.value.length === 0 ? [n, Z.inputClass] : (n += " q-field__input--padding", Z.inputClass === void 0 ? n : [n, Z.inputClass]);
|
|
9381
9381
|
}), ml = o(
|
|
9382
9382
|
() => (Z.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (Z.popupContentClass ? " " + Z.popupContentClass : "")
|
|
9383
9383
|
), ol = o(() => x.value === 0), cl = o(
|
|
9384
|
-
() => w.value.map((
|
|
9385
|
-
), ZZ = o(() => Z.displayValue !== void 0 ? Z.displayValue : cl.value), oZ = o(() => Z.optionsHtml === !0 ? () => !0 : (
|
|
9386
|
-
const
|
|
9384
|
+
() => w.value.map((n) => XZ.value(n)).join(", ")
|
|
9385
|
+
), ZZ = o(() => Z.displayValue !== void 0 ? Z.displayValue : cl.value), oZ = o(() => Z.optionsHtml === !0 ? () => !0 : (n) => n != null && n.html === !0), bc = o(() => Z.displayValueHtml === !0 || Z.displayValue === void 0 && (Z.optionsHtml === !0 || w.value.some(oZ.value))), OZ = o(() => S.focused.value === !0 ? Z.tabindex : -1), LZ = o(() => {
|
|
9386
|
+
const n = {
|
|
9387
9387
|
tabindex: Z.tabindex,
|
|
9388
9388
|
role: "combobox",
|
|
9389
9389
|
"aria-label": Z.label,
|
|
@@ -9392,15 +9392,15 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9392
9392
|
"aria-expanded": N.value === !0 ? "true" : "false",
|
|
9393
9393
|
"aria-controls": `${S.targetUid.value}_lb`
|
|
9394
9394
|
};
|
|
9395
|
-
return i.value >= 0 && (
|
|
9395
|
+
return i.value >= 0 && (n["aria-activedescendant"] = `${S.targetUid.value}_${i.value}`), n;
|
|
9396
9396
|
}), CZ = o(() => ({
|
|
9397
9397
|
id: `${S.targetUid.value}_lb`,
|
|
9398
9398
|
role: "listbox",
|
|
9399
9399
|
"aria-multiselectable": Z.multiple === !0 ? "true" : "false"
|
|
9400
|
-
})), ac = o(() => w.value.map((
|
|
9400
|
+
})), ac = o(() => w.value.map((n, Gl) => ({
|
|
9401
9401
|
index: Gl,
|
|
9402
|
-
opt:
|
|
9403
|
-
html: oZ.value(
|
|
9402
|
+
opt: n,
|
|
9403
|
+
html: oZ.value(n),
|
|
9404
9404
|
selected: !0,
|
|
9405
9405
|
removeAtIndex: Cc,
|
|
9406
9406
|
toggleOption: Gc,
|
|
@@ -9408,9 +9408,9 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9408
9408
|
}))), xZ = o(() => {
|
|
9409
9409
|
if (x.value === 0)
|
|
9410
9410
|
return [];
|
|
9411
|
-
const { from:
|
|
9412
|
-
return Z.options.slice(
|
|
9413
|
-
const Kl = mc.value(dl) === !0, Ol = Yd(dl) === !0, NZ =
|
|
9411
|
+
const { from: n, to: Gl } = Q.value;
|
|
9412
|
+
return Z.options.slice(n, Gl).map((dl, Il) => {
|
|
9413
|
+
const Kl = mc.value(dl) === !0, Ol = Yd(dl) === !0, NZ = n + Il, _l = {
|
|
9414
9414
|
clickable: !0,
|
|
9415
9415
|
active: Ol,
|
|
9416
9416
|
activeClass: Wc.value,
|
|
@@ -9443,8 +9443,8 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9443
9443
|
});
|
|
9444
9444
|
}), Oc = o(() => Z.dropdownIcon !== void 0 ? Z.dropdownIcon : G.iconSet.arrow.dropdown), mb = o(
|
|
9445
9445
|
() => Z.optionsCover === !1 && Z.outlined !== !0 && Z.standout !== !0 && Z.borderless !== !0 && Z.rounded !== !0
|
|
9446
|
-
), Wc = o(() => Z.optionsSelectedClass !== void 0 ? Z.optionsSelectedClass : Z.color !== void 0 ? `text-${Z.color}` : ""), dZ = o(() => Md(Z.optionValue, "value")), XZ = o(() => Md(Z.optionLabel, "label")), mc = o(() => Md(Z.optionDisable, "disable")), wd = o(() => w.value.map((
|
|
9447
|
-
const
|
|
9446
|
+
), Wc = o(() => Z.optionsSelectedClass !== void 0 ? Z.optionsSelectedClass : Z.color !== void 0 ? `text-${Z.color}` : ""), dZ = o(() => Md(Z.optionValue, "value")), XZ = o(() => Md(Z.optionLabel, "label")), mc = o(() => Md(Z.optionDisable, "disable")), wd = o(() => w.value.map((n) => dZ.value(n))), Nd = o(() => {
|
|
9447
|
+
const n = {
|
|
9448
9448
|
onInput: Pb,
|
|
9449
9449
|
// Safari < 10.2 & UIWebView doesn't fire compositionend when
|
|
9450
9450
|
// switching focus before confirming composition choice
|
|
@@ -9459,30 +9459,30 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9459
9459
|
T === !0 && Tc(Gl);
|
|
9460
9460
|
}
|
|
9461
9461
|
};
|
|
9462
|
-
return
|
|
9462
|
+
return n.onCompositionstart = n.onCompositionupdate = n.onCompositionend = ll, n;
|
|
9463
9463
|
});
|
|
9464
|
-
zl(w, (
|
|
9465
|
-
|
|
9464
|
+
zl(w, (n) => {
|
|
9465
|
+
L = n, Z.useInput === !0 && Z.fillInput === !0 && Z.multiple !== !0 && S.innerLoading.value !== !0 && (Y.value !== !0 && N.value !== !0 || il.value !== !0) && (D !== !0 && zc(), (Y.value === !0 || N.value === !0) && gc(""));
|
|
9466
9466
|
}, { immediate: !0 }), zl(() => Z.fillInput, zc), zl(N, Yb), zl(x, oW);
|
|
9467
|
-
function Kb(
|
|
9468
|
-
return Z.emitValue === !0 ? dZ.value(
|
|
9467
|
+
function Kb(n) {
|
|
9468
|
+
return Z.emitValue === !0 ? dZ.value(n) : n;
|
|
9469
9469
|
}
|
|
9470
|
-
function Lc(
|
|
9471
|
-
if (
|
|
9470
|
+
function Lc(n) {
|
|
9471
|
+
if (n !== -1 && n < w.value.length)
|
|
9472
9472
|
if (Z.multiple === !0) {
|
|
9473
9473
|
const Gl = Z.modelValue.slice();
|
|
9474
|
-
b("remove", { index:
|
|
9474
|
+
b("remove", { index: n, value: Gl.splice(n, 1)[0] }), b("update:modelValue", Gl);
|
|
9475
9475
|
} else
|
|
9476
9476
|
b("update:modelValue", null);
|
|
9477
9477
|
}
|
|
9478
|
-
function Cc(
|
|
9479
|
-
Lc(
|
|
9478
|
+
function Cc(n) {
|
|
9479
|
+
Lc(n), S.focus();
|
|
9480
9480
|
}
|
|
9481
|
-
function ed(
|
|
9482
|
-
const dl = Kb(
|
|
9481
|
+
function ed(n, Gl) {
|
|
9482
|
+
const dl = Kb(n);
|
|
9483
9483
|
if (Z.multiple !== !0) {
|
|
9484
9484
|
Z.fillInput === !0 && id(
|
|
9485
|
-
XZ.value(
|
|
9485
|
+
XZ.value(n),
|
|
9486
9486
|
!0,
|
|
9487
9487
|
!0
|
|
9488
9488
|
), b("update:modelValue", dl);
|
|
@@ -9492,25 +9492,25 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9492
9492
|
b("add", { index: 0, value: dl }), b("update:modelValue", Z.multiple === !0 ? [dl] : dl);
|
|
9493
9493
|
return;
|
|
9494
9494
|
}
|
|
9495
|
-
if (Gl === !0 && Yd(
|
|
9495
|
+
if (Gl === !0 && Yd(n) === !0 || Z.maxValues !== void 0 && Z.modelValue.length >= Z.maxValues)
|
|
9496
9496
|
return;
|
|
9497
9497
|
const Il = Z.modelValue.slice();
|
|
9498
9498
|
b("add", { index: Il.length, value: dl }), Il.push(dl), b("update:modelValue", Il);
|
|
9499
9499
|
}
|
|
9500
|
-
function Gc(
|
|
9501
|
-
if (S.editable.value !== !0 ||
|
|
9500
|
+
function Gc(n, Gl) {
|
|
9501
|
+
if (S.editable.value !== !0 || n === void 0 || mc.value(n) === !0)
|
|
9502
9502
|
return;
|
|
9503
|
-
const dl = dZ.value(
|
|
9503
|
+
const dl = dZ.value(n);
|
|
9504
9504
|
if (Z.multiple !== !0) {
|
|
9505
9505
|
Gl !== !0 && (id(
|
|
9506
|
-
Z.fillInput === !0 ? XZ.value(
|
|
9506
|
+
Z.fillInput === !0 ? XZ.value(n) : "",
|
|
9507
9507
|
!0,
|
|
9508
9508
|
!0
|
|
9509
|
-
), nc()), $.value !== null && $.value.focus(), (w.value.length === 0 || Jc(dZ.value(w.value[0]), dl) !== !0) && b("update:modelValue", Z.emitValue === !0 ? dl :
|
|
9509
|
+
), nc()), $.value !== null && $.value.focus(), (w.value.length === 0 || Jc(dZ.value(w.value[0]), dl) !== !0) && b("update:modelValue", Z.emitValue === !0 ? dl : n);
|
|
9510
9510
|
return;
|
|
9511
9511
|
}
|
|
9512
9512
|
if ((T !== !0 || h.value === !0) && S.focus(), xd(), w.value.length === 0) {
|
|
9513
|
-
const Ol = Z.emitValue === !0 ? dl :
|
|
9513
|
+
const Ol = Z.emitValue === !0 ? dl : n;
|
|
9514
9514
|
b("add", { index: 0, value: Ol }), b("update:modelValue", Z.multiple === !0 ? [Ol] : Ol);
|
|
9515
9515
|
return;
|
|
9516
9516
|
}
|
|
@@ -9520,22 +9520,22 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9520
9520
|
else {
|
|
9521
9521
|
if (Z.maxValues !== void 0 && Il.length >= Z.maxValues)
|
|
9522
9522
|
return;
|
|
9523
|
-
const Ol = Z.emitValue === !0 ? dl :
|
|
9523
|
+
const Ol = Z.emitValue === !0 ? dl : n;
|
|
9524
9524
|
b("add", { index: Il.length, value: Ol }), Il.push(Ol);
|
|
9525
9525
|
}
|
|
9526
9526
|
b("update:modelValue", Il);
|
|
9527
9527
|
}
|
|
9528
|
-
function tc(
|
|
9528
|
+
function tc(n) {
|
|
9529
9529
|
if (G.platform.is.desktop !== !0) return;
|
|
9530
|
-
const Gl =
|
|
9530
|
+
const Gl = n !== -1 && n < x.value ? n : -1;
|
|
9531
9531
|
i.value !== Gl && (i.value = Gl);
|
|
9532
9532
|
}
|
|
9533
|
-
function Kc(
|
|
9533
|
+
function Kc(n = 1, Gl) {
|
|
9534
9534
|
if (N.value === !0) {
|
|
9535
9535
|
let dl = i.value;
|
|
9536
9536
|
do
|
|
9537
9537
|
dl = HN(
|
|
9538
|
-
dl +
|
|
9538
|
+
dl + n,
|
|
9539
9539
|
-1,
|
|
9540
9540
|
x.value - 1
|
|
9541
9541
|
);
|
|
@@ -9546,31 +9546,31 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9546
9546
|
));
|
|
9547
9547
|
}
|
|
9548
9548
|
}
|
|
9549
|
-
function Gb(
|
|
9550
|
-
const dl = (Il) => Jc(dZ.value(Il),
|
|
9551
|
-
return Z.options.find(dl) || Gl.find(dl) ||
|
|
9549
|
+
function Gb(n, Gl) {
|
|
9550
|
+
const dl = (Il) => Jc(dZ.value(Il), n);
|
|
9551
|
+
return Z.options.find(dl) || Gl.find(dl) || n;
|
|
9552
9552
|
}
|
|
9553
|
-
function Md(
|
|
9554
|
-
const dl =
|
|
9553
|
+
function Md(n, Gl) {
|
|
9554
|
+
const dl = n !== void 0 ? n : Gl;
|
|
9555
9555
|
return typeof dl == "function" ? dl : (Il) => Il !== null && typeof Il == "object" && dl in Il ? Il[dl] : Il;
|
|
9556
9556
|
}
|
|
9557
|
-
function Yd(
|
|
9558
|
-
const Gl = dZ.value(
|
|
9557
|
+
function Yd(n) {
|
|
9558
|
+
const Gl = dZ.value(n);
|
|
9559
9559
|
return wd.value.find((dl) => Jc(dl, Gl)) !== void 0;
|
|
9560
9560
|
}
|
|
9561
|
-
function xd(
|
|
9562
|
-
Z.useInput === !0 && $.value !== null && (
|
|
9561
|
+
function xd(n) {
|
|
9562
|
+
Z.useInput === !0 && $.value !== null && (n === void 0 || $.value === n.target && n.target.value === cl.value) && $.value.select();
|
|
9563
9563
|
}
|
|
9564
|
-
function Dd(
|
|
9565
|
-
Sd(
|
|
9564
|
+
function Dd(n) {
|
|
9565
|
+
Sd(n, 27) === !0 && N.value === !0 && (Tc(n), nc(), zc()), b("keyup", n);
|
|
9566
9566
|
}
|
|
9567
|
-
function gb(
|
|
9568
|
-
const { value: Gl } =
|
|
9569
|
-
if (
|
|
9570
|
-
Dd(
|
|
9567
|
+
function gb(n) {
|
|
9568
|
+
const { value: Gl } = n.target;
|
|
9569
|
+
if (n.keyCode !== void 0) {
|
|
9570
|
+
Dd(n);
|
|
9571
9571
|
return;
|
|
9572
9572
|
}
|
|
9573
|
-
if (
|
|
9573
|
+
if (n.target.value = "", a !== null && (clearTimeout(a), a = null), I !== null && (clearTimeout(I), I = null), zc(), typeof Gl == "string" && Gl.length !== 0) {
|
|
9574
9574
|
const dl = Gl.toLocaleLowerCase(), Il = (Ol) => {
|
|
9575
9575
|
const NZ = Z.options.find((_l) => Ol.value(_l).toLocaleLowerCase() === dl);
|
|
9576
9576
|
return NZ === void 0 ? !1 : (w.value.indexOf(NZ) === -1 ? Gc(NZ) : nc(), !0);
|
|
@@ -9579,44 +9579,44 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9579
9579
|
};
|
|
9580
9580
|
Kl();
|
|
9581
9581
|
} else
|
|
9582
|
-
S.clearValue(
|
|
9582
|
+
S.clearValue(n);
|
|
9583
9583
|
}
|
|
9584
|
-
function Eb(
|
|
9585
|
-
b("keypress",
|
|
9584
|
+
function Eb(n) {
|
|
9585
|
+
b("keypress", n);
|
|
9586
9586
|
}
|
|
9587
|
-
function Qb(
|
|
9588
|
-
if (b("keydown",
|
|
9587
|
+
function Qb(n) {
|
|
9588
|
+
if (b("keydown", n), XG(n) === !0)
|
|
9589
9589
|
return;
|
|
9590
|
-
const Gl = V.value.length !== 0 && (Z.newValueMode !== void 0 || Z.onNewValue !== void 0), dl =
|
|
9591
|
-
if (
|
|
9592
|
-
ic(
|
|
9590
|
+
const Gl = V.value.length !== 0 && (Z.newValueMode !== void 0 || Z.onNewValue !== void 0), dl = n.shiftKey !== !0 && Z.multiple !== !0 && (i.value !== -1 || Gl === !0);
|
|
9591
|
+
if (n.keyCode === 27) {
|
|
9592
|
+
ic(n);
|
|
9593
9593
|
return;
|
|
9594
9594
|
}
|
|
9595
|
-
if (
|
|
9595
|
+
if (n.keyCode === 9 && dl === !1) {
|
|
9596
9596
|
Ec();
|
|
9597
9597
|
return;
|
|
9598
9598
|
}
|
|
9599
|
-
if (
|
|
9600
|
-
if (
|
|
9601
|
-
WZ(
|
|
9599
|
+
if (n.target === void 0 || n.target.id !== S.targetUid.value || S.editable.value !== !0) return;
|
|
9600
|
+
if (n.keyCode === 40 && S.innerLoading.value !== !0 && N.value === !1) {
|
|
9601
|
+
WZ(n), Qc();
|
|
9602
9602
|
return;
|
|
9603
9603
|
}
|
|
9604
|
-
if (
|
|
9604
|
+
if (n.keyCode === 8 && (Z.useChips === !0 || Z.clearable === !0) && Z.hideSelected !== !0 && V.value.length === 0) {
|
|
9605
9605
|
Z.multiple === !0 && Array.isArray(Z.modelValue) === !0 ? Lc(Z.modelValue.length - 1) : Z.multiple !== !0 && Z.modelValue !== null && b("update:modelValue", null);
|
|
9606
9606
|
return;
|
|
9607
9607
|
}
|
|
9608
|
-
(
|
|
9608
|
+
(n.keyCode === 35 || n.keyCode === 36) && (typeof V.value != "string" || V.value.length === 0) && (WZ(n), i.value = -1, Kc(n.keyCode === 36 ? 1 : -1, Z.multiple)), (n.keyCode === 33 || n.keyCode === 34) && Ml.value !== void 0 && (WZ(n), i.value = Math.max(
|
|
9609
9609
|
-1,
|
|
9610
9610
|
Math.min(
|
|
9611
9611
|
x.value,
|
|
9612
|
-
i.value + (
|
|
9612
|
+
i.value + (n.keyCode === 33 ? -1 : 1) * Ml.value.view
|
|
9613
9613
|
)
|
|
9614
|
-
), Kc(
|
|
9614
|
+
), Kc(n.keyCode === 33 ? 1 : -1, Z.multiple)), (n.keyCode === 38 || n.keyCode === 40) && (WZ(n), Kc(n.keyCode === 38 ? -1 : 1, Z.multiple));
|
|
9615
9615
|
const Il = x.value;
|
|
9616
|
-
if ((J === void 0 || _ < Date.now()) && (J = ""), Il > 0 && Z.useInput !== !0 &&
|
|
9617
|
-
N.value !== !0 && Qc(
|
|
9618
|
-
const Kl =
|
|
9619
|
-
_ = Date.now() + 1500, Ol === !1 && (WZ(
|
|
9616
|
+
if ((J === void 0 || _ < Date.now()) && (J = ""), Il > 0 && Z.useInput !== !0 && n.key !== void 0 && n.key.length === 1 && n.altKey === !1 && n.ctrlKey === !1 && n.metaKey === !1 && (n.keyCode !== 32 || J.length !== 0)) {
|
|
9617
|
+
N.value !== !0 && Qc(n);
|
|
9618
|
+
const Kl = n.key.toLocaleLowerCase(), Ol = J.length === 1 && J[0] === Kl;
|
|
9619
|
+
_ = Date.now() + 1500, Ol === !1 && (WZ(n), J += Kl);
|
|
9620
9620
|
const NZ = new RegExp("^" + J.split("").map((Jd) => nL.indexOf(Jd) !== -1 ? "\\" + Jd : Jd).join(".*"), "i");
|
|
9621
9621
|
let _l = i.value;
|
|
9622
9622
|
if (Ol === !0 || _l < 0 || NZ.test(XZ.value(Z.options[_l])) !== !0)
|
|
@@ -9628,8 +9628,8 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9628
9628
|
});
|
|
9629
9629
|
return;
|
|
9630
9630
|
}
|
|
9631
|
-
if (!(
|
|
9632
|
-
if (
|
|
9631
|
+
if (!(n.keyCode !== 13 && (n.keyCode !== 32 || Z.useInput === !0 || J !== "") && (n.keyCode !== 9 || dl === !1))) {
|
|
9632
|
+
if (n.keyCode !== 9 && WZ(n), i.value !== -1 && i.value < Il) {
|
|
9633
9633
|
Gc(Z.options[i.value]);
|
|
9634
9634
|
return;
|
|
9635
9635
|
}
|
|
@@ -9657,18 +9657,18 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9657
9657
|
return ub();
|
|
9658
9658
|
}
|
|
9659
9659
|
function hW() {
|
|
9660
|
-
return Z.hideSelected === !0 ? [] : W["selected-item"] !== void 0 ? ac.value.map((
|
|
9660
|
+
return Z.hideSelected === !0 ? [] : W["selected-item"] !== void 0 ? ac.value.map((n) => W["selected-item"](n)).slice() : W.selected !== void 0 ? [].concat(W.selected()) : Z.useChips === !0 ? ac.value.map((n, Gl) => U(ga, {
|
|
9661
9661
|
key: "option-" + Gl,
|
|
9662
|
-
removable: S.editable.value === !0 && mc.value(
|
|
9662
|
+
removable: S.editable.value === !0 && mc.value(n.opt) !== !0,
|
|
9663
9663
|
dense: !0,
|
|
9664
9664
|
textColor: Z.color,
|
|
9665
9665
|
tabindex: OZ.value,
|
|
9666
9666
|
onRemove() {
|
|
9667
|
-
|
|
9667
|
+
n.removeAtIndex(Gl);
|
|
9668
9668
|
}
|
|
9669
9669
|
}, () => U("span", {
|
|
9670
9670
|
class: "ellipsis",
|
|
9671
|
-
[
|
|
9671
|
+
[n.html === !0 ? "innerHTML" : "textContent"]: XZ.value(n.opt)
|
|
9672
9672
|
}))) : [
|
|
9673
9673
|
U("span", {
|
|
9674
9674
|
[bc.value === !0 ? "innerHTML" : "textContent"]: ZZ.value
|
|
@@ -9678,7 +9678,7 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9678
9678
|
function vb() {
|
|
9679
9679
|
if (ol.value === !0)
|
|
9680
9680
|
return W["no-option"] !== void 0 ? W["no-option"]({ inputValue: V.value }) : void 0;
|
|
9681
|
-
const
|
|
9681
|
+
const n = W.option !== void 0 ? W.option : (dl) => U(Ea, {
|
|
9682
9682
|
key: dl.index,
|
|
9683
9683
|
...dl.itemProps
|
|
9684
9684
|
}, () => U(
|
|
@@ -9690,10 +9690,10 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9690
9690
|
})
|
|
9691
9691
|
)
|
|
9692
9692
|
));
|
|
9693
|
-
let Gl = P("div", xZ.value.map(
|
|
9693
|
+
let Gl = P("div", xZ.value.map(n));
|
|
9694
9694
|
return W["before-options"] !== void 0 && (Gl = W["before-options"]().concat(Gl)), Zd(W["after-options"], Gl);
|
|
9695
9695
|
}
|
|
9696
|
-
function TW(
|
|
9696
|
+
function TW(n, Gl) {
|
|
9697
9697
|
const dl = Gl === !0 ? { ...LZ.value, ...S.splitAttrs.attributes.value } : void 0, Il = {
|
|
9698
9698
|
ref: Gl === !0 ? $ : void 0,
|
|
9699
9699
|
key: "i_t",
|
|
@@ -9706,36 +9706,36 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9706
9706
|
id: Gl === !0 ? S.targetUid.value : void 0,
|
|
9707
9707
|
maxlength: Z.maxlength,
|
|
9708
9708
|
autocomplete: Z.autocomplete,
|
|
9709
|
-
"data-autofocus":
|
|
9709
|
+
"data-autofocus": n === !0 || Z.autofocus === !0 || void 0,
|
|
9710
9710
|
disabled: Z.disable === !0,
|
|
9711
9711
|
readonly: Z.readonly === !0,
|
|
9712
9712
|
...Nd.value
|
|
9713
9713
|
};
|
|
9714
|
-
return
|
|
9714
|
+
return n !== !0 && T === !0 && (Array.isArray(Il.class) === !0 ? Il.class = [...Il.class, "no-pointer-events"] : Il.class += " no-pointer-events"), U("input", Il);
|
|
9715
9715
|
}
|
|
9716
|
-
function Pb(
|
|
9717
|
-
a !== null && (clearTimeout(a), a = null), I !== null && (clearTimeout(I), I = null), !(
|
|
9716
|
+
function Pb(n) {
|
|
9717
|
+
a !== null && (clearTimeout(a), a = null), I !== null && (clearTimeout(I), I = null), !(n && n.target && n.target.qComposing === !0) && (Xd(n.target.value || ""), D = !0, k = V.value, S.focused.value !== !0 && (T !== !0 || h.value === !0) && S.focus(), Z.onFilter !== void 0 && (a = setTimeout(() => {
|
|
9718
9718
|
a = null, gc(V.value);
|
|
9719
9719
|
}, Z.inputDebounce)));
|
|
9720
9720
|
}
|
|
9721
|
-
function Xd(
|
|
9722
|
-
V.value !==
|
|
9723
|
-
I = null, b("inputValue",
|
|
9721
|
+
function Xd(n, Gl) {
|
|
9722
|
+
V.value !== n && (V.value = n, Gl === !0 || Z.inputDebounce === 0 || Z.inputDebounce === "0" ? b("inputValue", n) : I = setTimeout(() => {
|
|
9723
|
+
I = null, b("inputValue", n);
|
|
9724
9724
|
}, Z.inputDebounce));
|
|
9725
9725
|
}
|
|
9726
|
-
function id(
|
|
9727
|
-
D = dl !== !0, Z.useInput === !0 && (Xd(
|
|
9726
|
+
function id(n, Gl, dl) {
|
|
9727
|
+
D = dl !== !0, Z.useInput === !0 && (Xd(n, !0), (Gl === !0 || dl !== !0) && (k = n), Gl !== !0 && gc(n));
|
|
9728
9728
|
}
|
|
9729
|
-
function gc(
|
|
9729
|
+
function gc(n, Gl, dl) {
|
|
9730
9730
|
if (Z.onFilter === void 0 || Gl !== !0 && S.focused.value !== !0)
|
|
9731
9731
|
return;
|
|
9732
|
-
S.innerLoading.value === !0 ? b("filterAbort") : (S.innerLoading.value = !0, X.value = !0),
|
|
9732
|
+
S.innerLoading.value === !0 ? b("filterAbort") : (S.innerLoading.value = !0, X.value = !0), n !== "" && Z.multiple !== !0 && w.value.length !== 0 && D !== !0 && n === XZ.value(w.value[0]) && (n = "");
|
|
9733
9733
|
const Il = setTimeout(() => {
|
|
9734
9734
|
N.value === !0 && (N.value = !1);
|
|
9735
9735
|
}, 10);
|
|
9736
9736
|
p !== null && clearTimeout(p), p = Il, b(
|
|
9737
9737
|
"filter",
|
|
9738
|
-
|
|
9738
|
+
n,
|
|
9739
9739
|
(Kl, Ol) => {
|
|
9740
9740
|
(Gl === !0 || S.focused.value === !0) && p === Il && (clearTimeout(p), typeof Kl == "function" && Kl(), X.value = !1, tZ(() => {
|
|
9741
9741
|
S.innerLoading.value = !1, S.editable.value === !0 && (Gl === !0 ? N.value === !0 && nc() : N.value === !0 ? Yb(!0) : N.value = !0), typeof Ol == "function" && tZ(() => {
|
|
@@ -9778,22 +9778,22 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9778
9778
|
onShow: LW
|
|
9779
9779
|
}, vb);
|
|
9780
9780
|
}
|
|
9781
|
-
function Nb(
|
|
9782
|
-
fb(
|
|
9781
|
+
function Nb(n) {
|
|
9782
|
+
fb(n), Ec();
|
|
9783
9783
|
}
|
|
9784
9784
|
function LW() {
|
|
9785
9785
|
yl();
|
|
9786
9786
|
}
|
|
9787
|
-
function Mb(
|
|
9788
|
-
Tc(
|
|
9787
|
+
function Mb(n) {
|
|
9788
|
+
Tc(n), $.value !== null && $.value.focus(), h.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
|
|
9789
9789
|
}
|
|
9790
|
-
function nW(
|
|
9791
|
-
Tc(
|
|
9790
|
+
function nW(n) {
|
|
9791
|
+
Tc(n), tZ(() => {
|
|
9792
9792
|
h.value = !1;
|
|
9793
9793
|
});
|
|
9794
9794
|
}
|
|
9795
9795
|
function zW() {
|
|
9796
|
-
const
|
|
9796
|
+
const n = [
|
|
9797
9797
|
U(Ca, {
|
|
9798
9798
|
class: `col-auto ${S.fieldClass.value}`,
|
|
9799
9799
|
...r.value,
|
|
@@ -9814,7 +9814,7 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9814
9814
|
after: void 0
|
|
9815
9815
|
})
|
|
9816
9816
|
];
|
|
9817
|
-
return N.value === !0 &&
|
|
9817
|
+
return N.value === !0 && n.push(
|
|
9818
9818
|
U("div", {
|
|
9819
9819
|
ref: O,
|
|
9820
9820
|
class: ml.value + " scroll",
|
|
@@ -9837,25 +9837,25 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9837
9837
|
onShow: RW
|
|
9838
9838
|
}, () => U("div", {
|
|
9839
9839
|
class: "q-select__dialog" + (ul.value === !0 ? " q-select__dialog--dark q-dark" : "") + (h.value === !0 ? " q-select__dialog--focused" : "")
|
|
9840
|
-
},
|
|
9840
|
+
}, n));
|
|
9841
9841
|
}
|
|
9842
|
-
function IW(
|
|
9843
|
-
fb(
|
|
9842
|
+
function IW(n) {
|
|
9843
|
+
fb(n), Nl.value !== null && Nl.value.__updateRefocusTarget(
|
|
9844
9844
|
S.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
|
|
9845
9845
|
), S.focused.value = !1;
|
|
9846
9846
|
}
|
|
9847
|
-
function pW(
|
|
9848
|
-
nc(), S.focused.value === !1 && b("blur",
|
|
9847
|
+
function pW(n) {
|
|
9848
|
+
nc(), S.focused.value === !1 && b("blur", n), zc();
|
|
9849
9849
|
}
|
|
9850
9850
|
function RW() {
|
|
9851
|
-
const
|
|
9852
|
-
(
|
|
9851
|
+
const n = document.activeElement;
|
|
9852
|
+
(n === null || n.id !== S.targetUid.value) && $.value !== null && $.value !== n && $.value.focus(), yl();
|
|
9853
9853
|
}
|
|
9854
9854
|
function Ec() {
|
|
9855
9855
|
Y.value !== !0 && (i.value = -1, N.value === !0 && (N.value = !1), S.focused.value === !1 && (p !== null && (clearTimeout(p), p = null), S.innerLoading.value === !0 && (b("filterAbort"), S.innerLoading.value = !1, X.value = !1)));
|
|
9856
9856
|
}
|
|
9857
|
-
function Qc(
|
|
9858
|
-
S.editable.value === !0 && (T === !0 ? (S.onControlFocusin(
|
|
9857
|
+
function Qc(n) {
|
|
9858
|
+
S.editable.value === !0 && (T === !0 ? (S.onControlFocusin(n), Y.value = !0, tZ(() => {
|
|
9859
9859
|
S.focus();
|
|
9860
9860
|
})) : S.focus(), Z.onFilter !== void 0 ? gc(V.value) : (ol.value !== !0 || W["no-option"] !== void 0) && (N.value = !0));
|
|
9861
9861
|
}
|
|
@@ -9869,9 +9869,9 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9869
9869
|
!0
|
|
9870
9870
|
);
|
|
9871
9871
|
}
|
|
9872
|
-
function Yb(
|
|
9872
|
+
function Yb(n) {
|
|
9873
9873
|
let Gl = -1;
|
|
9874
|
-
if (
|
|
9874
|
+
if (n === !0) {
|
|
9875
9875
|
if (w.value.length !== 0) {
|
|
9876
9876
|
const dl = dZ.value(w.value[0]);
|
|
9877
9877
|
Gl = Z.options.findIndex((Il) => Jc(dZ.value(Il), dl));
|
|
@@ -9880,19 +9880,19 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9880
9880
|
}
|
|
9881
9881
|
tc(Gl);
|
|
9882
9882
|
}
|
|
9883
|
-
function oW(
|
|
9883
|
+
function oW(n, Gl) {
|
|
9884
9884
|
N.value === !0 && S.innerLoading.value === !1 && (Xl(-1, !0), tZ(() => {
|
|
9885
|
-
N.value === !0 && S.innerLoading.value === !1 && (
|
|
9885
|
+
N.value === !0 && S.innerLoading.value === !1 && (n > Gl ? Xl() : Yb(!0));
|
|
9886
9886
|
}));
|
|
9887
9887
|
}
|
|
9888
9888
|
function Bb() {
|
|
9889
9889
|
Y.value === !1 && q.value !== null && q.value.updatePosition();
|
|
9890
9890
|
}
|
|
9891
|
-
function rb(
|
|
9892
|
-
|
|
9891
|
+
function rb(n) {
|
|
9892
|
+
n !== void 0 && Tc(n), b("popupShow", n), S.hasPopupOpen = !0, S.onControlFocusin(n);
|
|
9893
9893
|
}
|
|
9894
|
-
function fb(
|
|
9895
|
-
|
|
9894
|
+
function fb(n) {
|
|
9895
|
+
n !== void 0 && Tc(n), b("popupHide", n), S.hasPopupOpen = !1, S.onControlFocusout(n);
|
|
9896
9896
|
}
|
|
9897
9897
|
function Ab() {
|
|
9898
9898
|
T = G.platform.is.mobile !== !0 && Z.behavior !== "dialog" ? !1 : Z.behavior !== "menu" && (Z.useInput === !0 ? W["no-option"] !== void 0 || Z.onFilter !== void 0 || ol.value === !1 : !0), g = G.platform.is.ios === !0 && T === !0 && Z.useInput === !0 ? "fade" : Z.transitionShow;
|
|
@@ -9913,9 +9913,9 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9913
9913
|
updateInputValue: id,
|
|
9914
9914
|
isOptionSelected: Yd,
|
|
9915
9915
|
getEmittingOptionValue: Kb,
|
|
9916
|
-
isOptionDisabled: (...
|
|
9917
|
-
getOptionValue: (...
|
|
9918
|
-
getOptionLabel: (...
|
|
9916
|
+
isOptionDisabled: (...n) => mc.value.apply(null, n) === !0,
|
|
9917
|
+
getOptionValue: (...n) => dZ.value.apply(null, n),
|
|
9918
|
+
getOptionLabel: (...n) => XZ.value.apply(null, n)
|
|
9919
9919
|
}), Object.assign(S, {
|
|
9920
9920
|
innerValue: w,
|
|
9921
9921
|
fieldClass: o(
|
|
@@ -9934,26 +9934,26 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9934
9934
|
S.hasPopupOpen === !0 && (S.hasPopupOpen = !1);
|
|
9935
9935
|
},
|
|
9936
9936
|
controlEvents: {
|
|
9937
|
-
onFocusin(
|
|
9938
|
-
S.onControlFocusin(
|
|
9937
|
+
onFocusin(n) {
|
|
9938
|
+
S.onControlFocusin(n);
|
|
9939
9939
|
},
|
|
9940
|
-
onFocusout(
|
|
9941
|
-
S.onControlFocusout(
|
|
9940
|
+
onFocusout(n) {
|
|
9941
|
+
S.onControlFocusout(n, () => {
|
|
9942
9942
|
zc(), Ec();
|
|
9943
9943
|
});
|
|
9944
9944
|
},
|
|
9945
|
-
onClick(
|
|
9946
|
-
if (ic(
|
|
9945
|
+
onClick(n) {
|
|
9946
|
+
if (ic(n), T !== !0 && N.value === !0) {
|
|
9947
9947
|
Ec(), $.value !== null && $.value.focus();
|
|
9948
9948
|
return;
|
|
9949
9949
|
}
|
|
9950
|
-
Qc(
|
|
9950
|
+
Qc(n);
|
|
9951
9951
|
}
|
|
9952
9952
|
},
|
|
9953
|
-
getControl: (
|
|
9954
|
-
const Gl = hW(), dl =
|
|
9953
|
+
getControl: (n) => {
|
|
9954
|
+
const Gl = hW(), dl = n === !0 || Y.value !== !0 || T !== !0;
|
|
9955
9955
|
if (Z.useInput === !0)
|
|
9956
|
-
Gl.push(TW(
|
|
9956
|
+
Gl.push(TW(n, dl));
|
|
9957
9957
|
else if (S.editable.value === !0) {
|
|
9958
9958
|
const Kl = dl === !0 ? LZ.value : void 0;
|
|
9959
9959
|
Gl.push(
|
|
@@ -9964,7 +9964,7 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
9964
9964
|
id: dl === !0 ? S.targetUid.value : void 0,
|
|
9965
9965
|
value: ZZ.value,
|
|
9966
9966
|
readonly: !0,
|
|
9967
|
-
"data-autofocus":
|
|
9967
|
+
"data-autofocus": n === !0 || Z.autofocus === !0 || void 0,
|
|
9968
9968
|
...Kl,
|
|
9969
9969
|
onKeydown: Qb,
|
|
9970
9970
|
onKeyup: Dd,
|
|
@@ -10045,16 +10045,16 @@ const vN = (Z) => ["add", "add-unique", "toggle"].includes(Z), nL = ".*+?^${}()|
|
|
|
10045
10045
|
return;
|
|
10046
10046
|
}
|
|
10047
10047
|
I(() => {
|
|
10048
|
-
const
|
|
10048
|
+
const L = a.toLowerCase();
|
|
10049
10049
|
W.value = (V.value || []).filter(
|
|
10050
|
-
(T) => T.toLowerCase().includes(
|
|
10050
|
+
(T) => T.toLowerCase().includes(L)
|
|
10051
10051
|
);
|
|
10052
10052
|
});
|
|
10053
10053
|
}
|
|
10054
10054
|
return (a, I) => {
|
|
10055
|
-
const
|
|
10055
|
+
const L = ZW("ControlLabel");
|
|
10056
10056
|
return E(), Zl(Bl, null, [
|
|
10057
|
-
a.control.label ? (E(), gl(
|
|
10057
|
+
a.control.label ? (E(), gl(L, {
|
|
10058
10058
|
key: 0,
|
|
10059
10059
|
label: a.control.label
|
|
10060
10060
|
}, null, 8, ["label"])) : Pl("", !0),
|
|
@@ -10109,16 +10109,16 @@ function RY(Z, W) {
|
|
|
10109
10109
|
...W || {}
|
|
10110
10110
|
}, G = Wb(), N = o(
|
|
10111
10111
|
() => G.formSteps[Z]
|
|
10112
|
-
), Y = A([]), i = A([]), V = (
|
|
10113
|
-
G.setControlValue(Z,
|
|
10112
|
+
), Y = A([]), i = A([]), V = (L, T) => {
|
|
10113
|
+
G.setControlValue(Z, L);
|
|
10114
10114
|
const D = Y.value.find((g) => g.id === T);
|
|
10115
10115
|
D && (i.value = Qh(D));
|
|
10116
|
-
const p = X(
|
|
10116
|
+
const p = X(L), k = a(L);
|
|
10117
10117
|
(p || k) && h();
|
|
10118
10118
|
};
|
|
10119
10119
|
function h() {
|
|
10120
|
-
const
|
|
10121
|
-
Bh(
|
|
10120
|
+
const L = N.value.controls, T = [];
|
|
10121
|
+
Bh(L).forEach((p) => {
|
|
10122
10122
|
const k = p.controls;
|
|
10123
10123
|
if (k.every((J) => !_m.includes(J.controlType))) {
|
|
10124
10124
|
T.push(p);
|
|
@@ -10147,12 +10147,12 @@ function RY(Z, W) {
|
|
|
10147
10147
|
// recien aqui eliminamos los controles que no son visibles
|
|
10148
10148
|
}));
|
|
10149
10149
|
}
|
|
10150
|
-
function X({ id:
|
|
10150
|
+
function X({ id: L, value: T }) {
|
|
10151
10151
|
let D = !1;
|
|
10152
10152
|
const k = N.value.controls.filter(
|
|
10153
10153
|
(g) => {
|
|
10154
10154
|
var J;
|
|
10155
|
-
return ((J = g.conditions) == null ? void 0 : J.some((_) => _.id ===
|
|
10155
|
+
return ((J = g.conditions) == null ? void 0 : J.some((_) => _.id === L)) || !1;
|
|
10156
10156
|
}
|
|
10157
10157
|
);
|
|
10158
10158
|
if (k != null && k.length)
|
|
@@ -10169,13 +10169,13 @@ function RY(Z, W) {
|
|
|
10169
10169
|
_ !== v && (G.setControlVisibility(Z, g, v), D = !0);
|
|
10170
10170
|
}), D;
|
|
10171
10171
|
}
|
|
10172
|
-
function a({ id:
|
|
10172
|
+
function a({ id: L, value: T }) {
|
|
10173
10173
|
const D = Number(T || 0);
|
|
10174
10174
|
let p = !1;
|
|
10175
10175
|
const g = N.value.controls.filter(
|
|
10176
10176
|
(J) => {
|
|
10177
10177
|
var _;
|
|
10178
|
-
return J.controlType === "dynamic_array" && ((_ = J.itemsLength) == null ? void 0 : _.controlId) ===
|
|
10178
|
+
return J.controlType === "dynamic_array" && ((_ = J.itemsLength) == null ? void 0 : _.controlId) === L;
|
|
10179
10179
|
}
|
|
10180
10180
|
);
|
|
10181
10181
|
if (g != null && g.length)
|
|
@@ -10186,9 +10186,9 @@ function RY(Z, W) {
|
|
|
10186
10186
|
const { notify: I } = pY();
|
|
10187
10187
|
return zl(
|
|
10188
10188
|
i,
|
|
10189
|
-
(
|
|
10190
|
-
|
|
10191
|
-
message:
|
|
10189
|
+
(L) => {
|
|
10190
|
+
L.length && (m && I({
|
|
10191
|
+
message: L[0],
|
|
10192
10192
|
color: "negative",
|
|
10193
10193
|
position: "bottom",
|
|
10194
10194
|
timeout: 5e3,
|
|
@@ -10226,9 +10226,9 @@ const eL = {
|
|
|
10226
10226
|
() => m.value[Y.value]
|
|
10227
10227
|
), V = (X) => {
|
|
10228
10228
|
const a = lZ.toPairs(lZ.groupBy(X, "row"));
|
|
10229
|
-
return lZ.orderBy(a, ([I,
|
|
10230
|
-
([I,
|
|
10231
|
-
controls: lZ.orderBy(
|
|
10229
|
+
return lZ.orderBy(a, ([I, L]) => Number(I), "asc").map(
|
|
10230
|
+
([I, L]) => ({
|
|
10231
|
+
controls: lZ.orderBy(L, "col", "asc")
|
|
10232
10232
|
})
|
|
10233
10233
|
);
|
|
10234
10234
|
};
|
|
@@ -10277,15 +10277,15 @@ const eL = {
|
|
|
10277
10277
|
}, {
|
|
10278
10278
|
default: Hl(() => [
|
|
10279
10279
|
Vl("div", UL, [
|
|
10280
|
-
(E(!0), Zl(Bl, null, aZ(V(I.controls), (
|
|
10280
|
+
(E(!0), Zl(Bl, null, aZ(V(I.controls), (L, T) => (E(), Zl("div", {
|
|
10281
10281
|
class: "q-mb-xl",
|
|
10282
10282
|
key: T
|
|
10283
10283
|
}, [
|
|
10284
|
-
(E(!0), Zl(Bl, null, aZ(
|
|
10284
|
+
(E(!0), Zl(Bl, null, aZ(L.controls, (D, p) => (E(), Zl("div", { key: p }, [
|
|
10285
10285
|
(E(), gl(GG(h(D.controlType)), {
|
|
10286
10286
|
control: D,
|
|
10287
|
-
modelValue:
|
|
10288
|
-
"onUpdate:modelValue": [(k) =>
|
|
10287
|
+
modelValue: L.controls[p].value,
|
|
10288
|
+
"onUpdate:modelValue": [(k) => L.controls[p].value = k, (k) => hl(G)(D, I.id)]
|
|
10289
10289
|
}, null, 8, ["control", "modelValue", "onUpdate:modelValue"]))
|
|
10290
10290
|
]))), 128))
|
|
10291
10291
|
]))), 128))
|
|
@@ -10414,8 +10414,8 @@ const eL = {
|
|
|
10414
10414
|
var a;
|
|
10415
10415
|
let X = "";
|
|
10416
10416
|
return (a = V.validators) == null || a.some((I) => {
|
|
10417
|
-
const { param:
|
|
10418
|
-
return D.fn(Number(
|
|
10417
|
+
const { param: L, validator: T } = I, D = jM[T];
|
|
10418
|
+
return D.fn(Number(L))({ ...V, value: h }) ? !1 : (X = D.message, !0);
|
|
10419
10419
|
}), !X.length || X;
|
|
10420
10420
|
}
|
|
10421
10421
|
];
|
|
@@ -10433,9 +10433,9 @@ const eL = {
|
|
|
10433
10433
|
),
|
|
10434
10434
|
key: a
|
|
10435
10435
|
}, [
|
|
10436
|
-
(E(!0), Zl(Bl, null, aZ(X.controls, (I,
|
|
10436
|
+
(E(!0), Zl(Bl, null, aZ(X.controls, (I, L) => (E(), Zl("div", {
|
|
10437
10437
|
class: cd(`col-xs-12 col-sm q-pa-xs ${N(hl(b)[0].controls).length > 1 ? "col-md-6 col-12" : "col-12"}`),
|
|
10438
|
-
key:
|
|
10438
|
+
key: L
|
|
10439
10439
|
}, [
|
|
10440
10440
|
(E(), gl(GG(G(I.controlType)), {
|
|
10441
10441
|
control: I,
|
|
@@ -10475,7 +10475,7 @@ const eL = {
|
|
|
10475
10475
|
}, a = () => {
|
|
10476
10476
|
G.value === N.value ? V("submit") : b.value();
|
|
10477
10477
|
};
|
|
10478
|
-
return (I,
|
|
10478
|
+
return (I, L) => (E(), Zl("div", fL, [
|
|
10479
10479
|
Vl("div", AL, [
|
|
10480
10480
|
hl(G) === hl(N) ? (E(), Zl("div", _L, [
|
|
10481
10481
|
Vl("div", qL, [
|
|
@@ -10483,7 +10483,7 @@ const eL = {
|
|
|
10483
10483
|
color: "info",
|
|
10484
10484
|
class: "checkbox",
|
|
10485
10485
|
modelValue: h.value,
|
|
10486
|
-
"onUpdate:modelValue":
|
|
10486
|
+
"onUpdate:modelValue": L[1] || (L[1] = (T) => h.value = T)
|
|
10487
10487
|
}, {
|
|
10488
10488
|
default: Hl(() => [
|
|
10489
10489
|
Vl("div", null, [
|
|
@@ -10492,7 +10492,7 @@ const eL = {
|
|
|
10492
10492
|
sc(" personales para esta solicitud. Más info. sobre la protección de datos "),
|
|
10493
10493
|
Vl("span", {
|
|
10494
10494
|
style: { "text-decoration": "underline" },
|
|
10495
|
-
onClick:
|
|
10495
|
+
onClick: L[0] || (L[0] = (T) => X())
|
|
10496
10496
|
}, "aquí"),
|
|
10497
10497
|
sc(". ")
|
|
10498
10498
|
])
|
|
@@ -10693,7 +10693,7 @@ const eL = {
|
|
|
10693
10693
|
}, a.value.promise.then(() => {
|
|
10694
10694
|
b("onComplete");
|
|
10695
10695
|
});
|
|
10696
|
-
},
|
|
10696
|
+
}, L = A(0), T = A(1), D = A(0), p = A([]), k = A(), g = A();
|
|
10697
10697
|
let J;
|
|
10698
10698
|
const _ = A(!1), v = A(!1), $ = async () => {
|
|
10699
10699
|
v.value = !1;
|
|
@@ -10703,13 +10703,13 @@ const eL = {
|
|
|
10703
10703
|
const ul = [];
|
|
10704
10704
|
for (let il = 0; il < J.numPages; il++)
|
|
10705
10705
|
ul.push(A());
|
|
10706
|
-
h.value = ul,
|
|
10706
|
+
h.value = ul, L.value = J.numPages, b("onPdfInit", J);
|
|
10707
10707
|
}
|
|
10708
10708
|
} catch (ul) {
|
|
10709
10709
|
console.error("Error loadingTask PDF:", ul);
|
|
10710
10710
|
}
|
|
10711
10711
|
let S = 0;
|
|
10712
|
-
for (let ul = 0; ul <
|
|
10712
|
+
for (let ul = 0; ul < L.value; ul++) {
|
|
10713
10713
|
try {
|
|
10714
10714
|
const il = await J.getPage(ul + 1);
|
|
10715
10715
|
if (_.value) {
|
|
@@ -10726,7 +10726,7 @@ const eL = {
|
|
|
10726
10726
|
} catch (il) {
|
|
10727
10727
|
console.error("Error rendering PDF:", il);
|
|
10728
10728
|
}
|
|
10729
|
-
m.page && (ul === m.page - 1 || m.page >
|
|
10729
|
+
m.page && (ul === m.page - 1 || m.page > L.value && ul === L.value - 1) && k.value.scrollTo(0, (p.value[ul - 1] ?? 0) + 2), ul === L.value - 1 && (v.value = !0);
|
|
10730
10730
|
}
|
|
10731
10731
|
}, q = A(0), Nl = A(!1);
|
|
10732
10732
|
let O;
|
|
@@ -10819,7 +10819,7 @@ const eL = {
|
|
|
10819
10819
|
width: isNaN(Number(m.pdfWidth)) ? m.pdfWidth : `${m.pdfWidth}px`
|
|
10820
10820
|
}])
|
|
10821
10821
|
}, [
|
|
10822
|
-
(E(!0), Zl(Bl, null, aZ(
|
|
10822
|
+
(E(!0), Zl(Bl, null, aZ(L.value, (r) => (E(), Zl("canvas", {
|
|
10823
10823
|
style: $l([{ display: "block", "box-shadow": "#a9a9a9 0px 1px 3px 0px", "margin-left": "auto", "margin-right": "auto", width: "calc(100% - 4px)" }, {
|
|
10824
10824
|
marginBottom: `${i.value}px`
|
|
10825
10825
|
}]),
|
|
@@ -10847,11 +10847,11 @@ const eL = {
|
|
|
10847
10847
|
hl(V).pageTooltip ? _d(S.$slots, "pageTooltip", {
|
|
10848
10848
|
key: 0,
|
|
10849
10849
|
currentPage: T.value,
|
|
10850
|
-
totalPages:
|
|
10850
|
+
totalPages: L.value
|
|
10851
10851
|
}) : (E(), Zl("div", {
|
|
10852
10852
|
key: 1,
|
|
10853
|
-
style: $l([{ padding: "4px 8px", background: "rgba(0, 0, 0, 0.5)", color: "#ffffff", "font-size": "16px", "border-radius": "6px", display: "inline-block", transition: "opacity 0.3s" }, { opacity: Nl.value &&
|
|
10854
|
-
}, rl(T.value) + "/" + rl(
|
|
10853
|
+
style: $l([{ padding: "4px 8px", background: "rgba(0, 0, 0, 0.5)", color: "#ffffff", "font-size": "16px", "border-radius": "6px", display: "inline-block", transition: "opacity 0.3s" }, { opacity: Nl.value && L.value > 0 ? "1" : "0" }])
|
|
10854
|
+
}, rl(T.value) + "/" + rl(L.value), 5))
|
|
10855
10855
|
])) : Pl("", !0),
|
|
10856
10856
|
m.showBackToTopBtn ? (E(), Zl("div", {
|
|
10857
10857
|
key: 2,
|
|
@@ -11111,7 +11111,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11111
11111
|
return `q-radio__inner relative-position q-radio__inner--${h.value === !0 ? "truthy" : "falsy"}${J}`;
|
|
11112
11112
|
}), I = o(
|
|
11113
11113
|
() => (h.value === !0 ? Z.checkedIcon : Z.uncheckedIcon) || null
|
|
11114
|
-
),
|
|
11114
|
+
), L = o(() => Z.disable === !0 ? -1 : Z.tabindex || 0), T = o(() => {
|
|
11115
11115
|
const J = { type: "radio" };
|
|
11116
11116
|
return Z.name !== void 0 && Object.assign(J, {
|
|
11117
11117
|
// see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
|
|
@@ -11163,7 +11163,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11163
11163
|
), U("div", {
|
|
11164
11164
|
ref: Y,
|
|
11165
11165
|
class: X.value,
|
|
11166
|
-
tabindex:
|
|
11166
|
+
tabindex: L.value,
|
|
11167
11167
|
role: "radio",
|
|
11168
11168
|
"aria-label": Z.label,
|
|
11169
11169
|
"aria-checked": h.value === !0 ? "true" : "false",
|
|
@@ -11239,7 +11239,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11239
11239
|
D || (Y.value = p, i.value = !1, T(!0), X("save"));
|
|
11240
11240
|
}, I = () => {
|
|
11241
11241
|
i.value = !0, T(!1), X("edit");
|
|
11242
|
-
},
|
|
11242
|
+
}, L = () => {
|
|
11243
11243
|
i.value = !1, T(!1), X("cancel");
|
|
11244
11244
|
}, T = (D) => {
|
|
11245
11245
|
var p;
|
|
@@ -11269,7 +11269,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11269
11269
|
Ql(BZ, {
|
|
11270
11270
|
unelevated: "",
|
|
11271
11271
|
outline: "",
|
|
11272
|
-
onClick:
|
|
11272
|
+
onClick: L
|
|
11273
11273
|
}, {
|
|
11274
11274
|
default: Hl(() => [
|
|
11275
11275
|
sc("Cancelar")
|
|
@@ -11416,7 +11416,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11416
11416
|
],
|
|
11417
11417
|
setup(Z, { slots: W, emit: b, attrs: m }) {
|
|
11418
11418
|
let G, N;
|
|
11419
|
-
const Y = Al(), { proxy: { $q: i } } = Y, V = A(null), h = A(!1), X = o(() => q0(Z.anchor, i.lang.rtl)), a = o(() => q0(Z.self, i.lang.rtl)), I = o(() => Z.persistent !== !0), { registerTick:
|
|
11419
|
+
const Y = Al(), { proxy: { $q: i } } = Y, V = A(null), h = A(!1), X = o(() => q0(Z.anchor, i.lang.rtl)), a = o(() => q0(Z.self, i.lang.rtl)), I = o(() => Z.persistent !== !0), { registerTick: L, removeTick: T } = hG(), { registerTimeout: D } = Jb(), { transitionProps: p, transitionStyle: k } = yG(Z), { localScrollTarget: g, changeScrollEvent: J, unconfigureScrollTarget: _ } = sY(Z, yl), { anchorEl: v, canShow: $, anchorEvents: q } = iY({ showing: h, configureAnchorEl: jl }), { show: Nl, hide: O } = tG({
|
|
11420
11420
|
showing: h,
|
|
11421
11421
|
canShow: $,
|
|
11422
11422
|
handleShow: bl,
|
|
@@ -11447,7 +11447,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11447
11447
|
});
|
|
11448
11448
|
}
|
|
11449
11449
|
function bl(r) {
|
|
11450
|
-
H(),
|
|
11450
|
+
H(), L(() => {
|
|
11451
11451
|
N = new MutationObserver(() => Xl()), N.observe(V.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), Xl(), yl();
|
|
11452
11452
|
}), G === void 0 && (G = zl(
|
|
11453
11453
|
() => i.screen.width + "|" + i.screen.height + "|" + Z.self + "|" + Z.anchor + "|" + i.lang.rtl,
|
|
@@ -11546,12 +11546,12 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11546
11546
|
const W = Z, { data: b } = yW(W.id, {}), m = o(() => {
|
|
11547
11547
|
var a;
|
|
11548
11548
|
return ((a = W.content) == null ? void 0 : a.lines) || [];
|
|
11549
|
-
}), G = A([]), N = Fc("editable"), Y = (a, I,
|
|
11549
|
+
}), G = A([]), N = Fc("editable"), Y = (a, I, L) => {
|
|
11550
11550
|
if (!I)
|
|
11551
11551
|
return i(b.value, a);
|
|
11552
11552
|
const T = {};
|
|
11553
11553
|
return Object.keys(I).forEach((p) => {
|
|
11554
|
-
const k = `${
|
|
11554
|
+
const k = `${L}.${p}`;
|
|
11555
11555
|
In(T, k, I[p]);
|
|
11556
11556
|
}), i(T, a);
|
|
11557
11557
|
};
|
|
@@ -11563,8 +11563,8 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11563
11563
|
{ deep: !0, immediate: !0 }
|
|
11564
11564
|
);
|
|
11565
11565
|
function i(a, I) {
|
|
11566
|
-
const
|
|
11567
|
-
return
|
|
11566
|
+
const L = I.match(/{{(.*?)}}/g);
|
|
11567
|
+
return L ? L.reduce((T, D) => {
|
|
11568
11568
|
const p = D.replace(/{{|}}/g, "").trim(), k = oY(a, p);
|
|
11569
11569
|
return T.replace(D, k ?? p);
|
|
11570
11570
|
}, I) : I;
|
|
@@ -11581,7 +11581,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11581
11581
|
}, X = (a) => a.split(`
|
|
11582
11582
|
`);
|
|
11583
11583
|
return (a, I) => {
|
|
11584
|
-
var
|
|
11584
|
+
var L;
|
|
11585
11585
|
return E(), Zl("div", s5, [
|
|
11586
11586
|
hl(N) ? (E(), Zl("div", t5, [
|
|
11587
11587
|
Vl("div", V5, [
|
|
@@ -11605,7 +11605,7 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11605
11605
|
])
|
|
11606
11606
|
])) : Pl("", !0),
|
|
11607
11607
|
Vl("div", {
|
|
11608
|
-
style: $l(((
|
|
11608
|
+
style: $l(((L = a.styles) == null ? void 0 : L.cssRaw) || "")
|
|
11609
11609
|
}, [
|
|
11610
11610
|
(E(!0), Zl(Bl, null, aZ(G.value, ({ type: T, text: D, align: p, sourceCollection: k, styles: g }, J) => (E(), Zl("div", {
|
|
11611
11611
|
style: $l({ textAlign: p || "left" })
|
|
@@ -11701,14 +11701,14 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11701
11701
|
const b = Z, { layout: m, data: G, editable: N } = Fb(b);
|
|
11702
11702
|
Om("data", G), Om("editable", N || A(!1));
|
|
11703
11703
|
const Y = o(() => {
|
|
11704
|
-
var a;
|
|
11705
|
-
const X = m.value.sections.map((
|
|
11704
|
+
var a, I;
|
|
11705
|
+
const X = ((a = m.value) == null ? void 0 : a.sections.map((L) => ({
|
|
11706
11706
|
type: "default",
|
|
11707
|
-
section:
|
|
11708
|
-
}));
|
|
11709
|
-
return (
|
|
11710
|
-
const
|
|
11711
|
-
X.splice(
|
|
11707
|
+
section: L
|
|
11708
|
+
}))) || [];
|
|
11709
|
+
return (I = b.htmlNodes) == null || I.forEach(({ index: L, element: T }) => {
|
|
11710
|
+
const D = L > X.length ? X.length : L;
|
|
11711
|
+
X.splice(D, 0, { type: "html", section: T });
|
|
11712
11712
|
}), X;
|
|
11713
11713
|
}), i = ((h = (V = m.value) == null ? void 0 : V.styles) == null ? void 0 : h.cssRaw) || "";
|
|
11714
11714
|
return (X, a) => (E(), Zl("div", {
|
|
@@ -11718,13 +11718,13 @@ const kn = /* @__PURE__ */ kl({
|
|
|
11718
11718
|
X.pdf ? (E(), gl(zn, {
|
|
11719
11719
|
key: 0,
|
|
11720
11720
|
pdf: X.pdf
|
|
11721
|
-
}, null, 8, ["pdf"])) : (E(!0), Zl(Bl, { key: 1 }, aZ(Y.value, ({ type: I, section:
|
|
11721
|
+
}, null, 8, ["pdf"])) : (E(!0), Zl(Bl, { key: 1 }, aZ(Y.value, ({ type: I, section: L }) => (E(), Zl(Bl, null, [
|
|
11722
11722
|
I === "default" ? (E(), gl(o5, {
|
|
11723
11723
|
key: 0,
|
|
11724
|
-
section:
|
|
11724
|
+
section: L
|
|
11725
11725
|
}, null, 8, ["section"])) : (E(), gl(Yn, {
|
|
11726
11726
|
key: 1,
|
|
11727
|
-
section:
|
|
11727
|
+
section: L
|
|
11728
11728
|
}, null, 8, ["section"]))
|
|
11729
11729
|
], 64))), 256))
|
|
11730
11730
|
], 4));
|