@kupola/kupola 1.6.6 → 1.6.8
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/kupola.cjs.js +14 -14
- package/dist/kupola.cjs.js.map +1 -1
- package/dist/kupola.esm.js +276 -265
- package/dist/kupola.esm.js.map +1 -1
- package/dist/kupola.umd.js +16 -16
- package/dist/kupola.umd.js.map +1 -1
- package/js/theme.js +22 -3
- package/package.json +1 -1
package/dist/kupola.esm.js
CHANGED
|
@@ -202,7 +202,7 @@ class ht {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
const Ta = new ht("app");
|
|
205
|
-
function
|
|
205
|
+
function Aa(i = "app") {
|
|
206
206
|
return new ht(i);
|
|
207
207
|
}
|
|
208
208
|
const Le = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
@@ -218,10 +218,10 @@ function He(i) {
|
|
|
218
218
|
function Me(i) {
|
|
219
219
|
return i ? i.replace(/\s+$/, "") : "";
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Ie(i) {
|
|
222
222
|
return i ? i.toUpperCase() : "";
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Te(i) {
|
|
225
225
|
return i ? i.toLowerCase() : "";
|
|
226
226
|
}
|
|
227
227
|
function Ae(i) {
|
|
@@ -289,7 +289,7 @@ function Je() {
|
|
|
289
289
|
return (i === "x" ? t : t & 3 | 8).toString(16);
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
|
-
const Ze = { trim: De, trimLeft: He, trimRight: Me, toUpperCase:
|
|
292
|
+
const Ze = { trim: De, trimLeft: He, trimRight: Me, toUpperCase: Ie, toLowerCase: Te, capitalize: Ae, camelize: ze, hyphenate: Pe, padStart: $e, padEnd: Be, truncate: qe, replaceAll: Oe, format: Fe, startsWith: Ne, endsWith: Re, includes: Ve, repeat: Ke, reverse: We, countOccurrences: Ue, escapeHtml: Ye, unescapeHtml: Xe, generateRandom: je, generateUUID: Je };
|
|
293
293
|
function Ge(i) {
|
|
294
294
|
return Array.isArray(i);
|
|
295
295
|
}
|
|
@@ -415,14 +415,14 @@ function Ms(i, t) {
|
|
|
415
415
|
return e.has(n) ? !1 : (e.add(n), !0);
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function Is(i, t) {
|
|
419
419
|
if (!i || t <= 0) return [];
|
|
420
420
|
const e = [];
|
|
421
421
|
for (let s = 0; s < i.length; s += t)
|
|
422
422
|
e.push(i.slice(s, s + t));
|
|
423
423
|
return e;
|
|
424
424
|
}
|
|
425
|
-
function
|
|
425
|
+
function Ts(i) {
|
|
426
426
|
if (!i) return [];
|
|
427
427
|
const t = i.slice();
|
|
428
428
|
for (let e = t.length - 1; e > 0; e--) {
|
|
@@ -457,7 +457,7 @@ function Os(...i) {
|
|
|
457
457
|
const t = Math.max(...i.map((e) => e ? e.length : 0));
|
|
458
458
|
return Array.from({ length: t }, (e, s) => i.map((n) => n && n[s]));
|
|
459
459
|
}
|
|
460
|
-
const Fs = { isArray: Ge, isEmpty: Qe, size: ts, first: es, last: ss, get: is, slice: ns, concat: rs, join: as, indexOf: os, lastIndexOf: ls, includes: cs, push: hs, pop: ds, shift: us, unshift: ps, remove: fs, removeAt: ms, insert: gs, reverse: _s, sort: ys, sortBy: vs, filter: bs, map: xs, reduce: Es, forEach: ws, every: ks, some: Cs, find: Ss, findIndex: Ls, flat: Ds, flattenDeep: St, unique: Hs, uniqueBy: Ms, chunk:
|
|
460
|
+
const Fs = { isArray: Ge, isEmpty: Qe, size: ts, first: es, last: ss, get: is, slice: ns, concat: rs, join: as, indexOf: os, lastIndexOf: ls, includes: cs, push: hs, pop: ds, shift: us, unshift: ps, remove: fs, removeAt: ms, insert: gs, reverse: _s, sort: ys, sortBy: vs, filter: bs, map: xs, reduce: Es, forEach: ws, every: ks, some: Cs, find: Ss, findIndex: Ls, flat: Ds, flattenDeep: St, unique: Hs, uniqueBy: Ms, chunk: Is, shuffle: Ts, sum: Lt, average: As, max: zs, min: Ps, intersection: $s, union: Bs, difference: qs, zip: Os };
|
|
461
461
|
function rt(i) {
|
|
462
462
|
return i !== null && typeof i == "object" && !Array.isArray(i);
|
|
463
463
|
}
|
|
@@ -624,18 +624,18 @@ function yi(...i) {
|
|
|
624
624
|
const t = i.filter(L);
|
|
625
625
|
return t.length > 0 ? Math.max(...t) : void 0;
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function It(...i) {
|
|
628
628
|
return i.flat().filter(L).reduce((e, s) => e + s, 0);
|
|
629
629
|
}
|
|
630
630
|
function vi(...i) {
|
|
631
631
|
const t = i.flat().filter(L);
|
|
632
|
-
return t.length > 0 ?
|
|
632
|
+
return t.length > 0 ? It(t) / t.length : 0;
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function Tt(i = 0, t = 1) {
|
|
635
635
|
return Math.random() * (t - i) + i;
|
|
636
636
|
}
|
|
637
637
|
function bi(i, t) {
|
|
638
|
-
return Math.floor(
|
|
638
|
+
return Math.floor(Tt(i, t + 1));
|
|
639
639
|
}
|
|
640
640
|
function xi(i, t = 2) {
|
|
641
641
|
return L(i) ? i.toFixed(t) : String(i);
|
|
@@ -668,13 +668,13 @@ function Mi(i, t = 0) {
|
|
|
668
668
|
const e = Number(i);
|
|
669
669
|
return isNaN(e) ? t : e;
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function Ii(i, t, e = 0) {
|
|
672
672
|
return !L(i) || !L(t) || t === 0 ? e : i / t;
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function Ti(...i) {
|
|
675
675
|
return i.reduce((t, e) => !L(t) || !L(e) ? 0 : t * e, 1);
|
|
676
676
|
}
|
|
677
|
-
const Ai = { isNumber: L, isInteger: oi, isFloat: li, isPositive: ci, isNegative: hi, isZero: di, clamp: ui, round: pi, floor: fi, ceil: mi, abs: gi, min: _i, max: yi, sum:
|
|
677
|
+
const Ai = { isNumber: L, isInteger: oi, isFloat: li, isPositive: ci, isNegative: hi, isZero: di, clamp: ui, round: pi, floor: fi, ceil: mi, abs: gi, min: _i, max: yi, sum: It, average: vi, random: Tt, randomInt: bi, format: xi, formatCurrency: Ei, formatPercent: wi, toFixed: ki, toPrecision: Ci, isNaN: Si, isFinite: Li, parseInt: Di, parseFloat: Hi, toNumber: Mi, safeDivide: Ii, safeMultiply: Ti };
|
|
678
678
|
function tt() {
|
|
679
679
|
return Date.now();
|
|
680
680
|
}
|
|
@@ -934,10 +934,10 @@ function Hn(i) {
|
|
|
934
934
|
function Mn(i) {
|
|
935
935
|
return /^[a-zA-Z]+$/.test(i || "");
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function In(i) {
|
|
938
938
|
return /^[a-zA-Z0-9]+$/.test(i || "");
|
|
939
939
|
}
|
|
940
|
-
function
|
|
940
|
+
function Tn(i) {
|
|
941
941
|
return /^[\u4e00-\u9fa5]+$/.test(i || "");
|
|
942
942
|
}
|
|
943
943
|
function An(i, t, e) {
|
|
@@ -996,7 +996,7 @@ function Wn(i, t) {
|
|
|
996
996
|
}), a.length > 0 && (e[s] = a);
|
|
997
997
|
}), { valid: Object.keys(e).length === 0, errors: e };
|
|
998
998
|
}
|
|
999
|
-
const Nt = { isEmail: pn, isPhone: fn, isURL: mn, isIPv4: Pt, isIPv6: $t, isIP: gn, isIDCard: _n, isPassport: yn, isCreditCard: vn, isHexColor: Bt, isRGB: qt, isRGBA: Ot, isColor: bn, isDate: xn, isJSON: En, isEmpty: wn, isWhitespace: kn, isNumber: Cn, isInteger: Sn, isFloat: Ln, isPositive: Dn, isNegative: Hn, isAlpha: Mn, isAlphaNumeric:
|
|
999
|
+
const Nt = { isEmail: pn, isPhone: fn, isURL: mn, isIPv4: Pt, isIPv6: $t, isIP: gn, isIDCard: _n, isPassport: yn, isCreditCard: vn, isHexColor: Bt, isRGB: qt, isRGBA: Ot, isColor: bn, isDate: xn, isJSON: En, isEmpty: wn, isWhitespace: kn, isNumber: Cn, isInteger: Sn, isFloat: Ln, isPositive: Dn, isNegative: Hn, isAlpha: Mn, isAlphaNumeric: In, isChinese: Tn, isLength: An, minLength: zn, maxLength: Pn, matches: $n, equals: Bn, contains: Ft, notContains: qn, isArray: On, arrayLength: Fn, arrayMinLength: Nn, arrayMaxLength: Rn, isObject: Vn, hasKeys: Kn, validate: Wn };
|
|
1000
1000
|
function Un(i) {
|
|
1001
1001
|
const t = i ? String(i) : "", e = [1732584193, 4023233417, 2562383102, 271733878], s = [3614090360, 3905402710, 606105819, 3250441966, 4118548399, 1200080426, 2821735955, 4249261313, 1770035416, 2336552879, 4294925233, 2304563134, 1804603682, 4254626195, 2792965006, 1236535329, 4129170786, 3225465664, 643717713, 3921069994, 3593408605, 38016083, 3634488961, 3889429448, 568446438, 3275163606, 4107603335, 1163531501, 2850285829, 4243563512, 1735328473, 2368359562, 4294588738, 2272392833, 1839030562, 4259657740, 2763975236, 1272893353, 4139469664, 3200236656, 681279174, 3936430074, 3572445317, 76029189, 3654602809, 3873151461, 530742520, 3299628645, 4096336452, 1126891415, 2878612391, 4237533241, 1700485571, 2399980690, 4293915773, 2240044497, 1873313359, 4264355552, 2734768916, 1309151649, 4149444226, 3174756917, 718787259, 3951481745], n = [[7, 12, 17, 22], [5, 9, 14, 20], [4, 11, 16, 23], [6, 10, 15, 21]];
|
|
1002
1002
|
function r(d, u) {
|
|
@@ -1175,7 +1175,7 @@ function sr() {
|
|
|
1175
1175
|
function ir(i) {
|
|
1176
1176
|
B.delete(i);
|
|
1177
1177
|
}
|
|
1178
|
-
const nr = { loadImage: Z, loadImages: Gn, loadScript: Rt, loadStylesheet: Vt, loadFont: Qn, preload: tr, isLoaded: er, clearCache: sr, clearCacheByUrl: ir },
|
|
1178
|
+
const nr = { loadImage: Z, loadImages: Gn, loadScript: Rt, loadStylesheet: Vt, loadFont: Qn, preload: tr, isLoaded: er, clearCache: sr, clearCacheByUrl: ir }, za = {
|
|
1179
1179
|
string: Ze,
|
|
1180
1180
|
array: Fs,
|
|
1181
1181
|
object: ai,
|
|
@@ -1854,7 +1854,7 @@ class lr {
|
|
|
1854
1854
|
}), this.events = {}, this.delegatedEvents = {}, this.eventListeners = {};
|
|
1855
1855
|
}
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1857
|
+
function T(i = null) {
|
|
1858
1858
|
const t = {
|
|
1859
1859
|
_value: i,
|
|
1860
1860
|
_subscribers: /* @__PURE__ */ new Set()
|
|
@@ -1874,14 +1874,14 @@ function I(i = null) {
|
|
|
1874
1874
|
}
|
|
1875
1875
|
}), t;
|
|
1876
1876
|
}
|
|
1877
|
-
const O = new ar(),
|
|
1878
|
-
function
|
|
1877
|
+
const O = new ar(), Pa = new lr(), Kt = new or();
|
|
1878
|
+
function $a(i, t) {
|
|
1879
1879
|
return Kt.createStore(i, t);
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function Ba(i) {
|
|
1882
1882
|
return Kt.getStore(i);
|
|
1883
1883
|
}
|
|
1884
|
-
const
|
|
1884
|
+
const I = {
|
|
1885
1885
|
paths: {
|
|
1886
1886
|
icons: "/icons/",
|
|
1887
1887
|
base: "/"
|
|
@@ -1976,54 +1976,54 @@ const T = {
|
|
|
1976
1976
|
silentErrors: !1
|
|
1977
1977
|
}
|
|
1978
1978
|
};
|
|
1979
|
-
function
|
|
1980
|
-
Ut(
|
|
1979
|
+
function cr(i) {
|
|
1980
|
+
Ut(I, i);
|
|
1981
1981
|
}
|
|
1982
1982
|
function dt(i) {
|
|
1983
|
-
return i ?
|
|
1983
|
+
return i ? gr(I, i) : I;
|
|
1984
1984
|
}
|
|
1985
1985
|
function Wt() {
|
|
1986
|
-
return
|
|
1986
|
+
return I.paths.base + I.paths.icons.replace(/^\//, "");
|
|
1987
1987
|
}
|
|
1988
1988
|
function qa() {
|
|
1989
|
-
return
|
|
1990
|
-
}
|
|
1991
|
-
function cr() {
|
|
1992
|
-
return T.theme.default;
|
|
1989
|
+
return I.paths.base;
|
|
1993
1990
|
}
|
|
1994
1991
|
function hr() {
|
|
1995
|
-
return
|
|
1992
|
+
return I.theme.default;
|
|
1993
|
+
}
|
|
1994
|
+
function dr() {
|
|
1995
|
+
return I.theme.brand;
|
|
1996
1996
|
}
|
|
1997
1997
|
function Oa() {
|
|
1998
|
-
return
|
|
1998
|
+
return I.http;
|
|
1999
1999
|
}
|
|
2000
2000
|
function j() {
|
|
2001
|
-
return
|
|
2001
|
+
return I.ui;
|
|
2002
2002
|
}
|
|
2003
2003
|
function W() {
|
|
2004
|
-
return
|
|
2004
|
+
return I.zIndex;
|
|
2005
2005
|
}
|
|
2006
2006
|
function st() {
|
|
2007
|
-
return
|
|
2008
|
-
}
|
|
2009
|
-
function dr() {
|
|
2010
|
-
return T.performance;
|
|
2007
|
+
return I.security;
|
|
2011
2008
|
}
|
|
2012
2009
|
function ur() {
|
|
2013
|
-
return
|
|
2010
|
+
return I.performance;
|
|
2014
2011
|
}
|
|
2015
2012
|
function pr() {
|
|
2016
|
-
return
|
|
2013
|
+
return I.message;
|
|
2017
2014
|
}
|
|
2018
2015
|
function fr() {
|
|
2019
|
-
return
|
|
2016
|
+
return I.notification;
|
|
2017
|
+
}
|
|
2018
|
+
function mr() {
|
|
2019
|
+
return I.validation;
|
|
2020
2020
|
}
|
|
2021
2021
|
function Ut(i, t) {
|
|
2022
2022
|
for (const e in t)
|
|
2023
2023
|
t[e] instanceof Object && e in i && i[e] instanceof Object ? Ut(i[e], t[e]) : i[e] = t[e];
|
|
2024
2024
|
return i;
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2026
|
+
function gr(i, t) {
|
|
2027
2027
|
return t.split(".").reduce((e, s) => (e && e[s]) !== void 0 ? e[s] : void 0, i);
|
|
2028
2028
|
}
|
|
2029
2029
|
const Yt = "kupola-theme", Xt = "kupola-brand", X = [
|
|
@@ -2040,7 +2040,7 @@ const Yt = "kupola-theme", Xt = "kupola-brand", X = [
|
|
|
2040
2040
|
{ id: "roulan", name: "柔蓝", color: "#106898" }
|
|
2041
2041
|
];
|
|
2042
2042
|
function R() {
|
|
2043
|
-
return localStorage.getItem(Yt) ||
|
|
2043
|
+
return localStorage.getItem(Yt) || hr();
|
|
2044
2044
|
}
|
|
2045
2045
|
function at(i) {
|
|
2046
2046
|
if (i !== "dark" && i !== "light") return;
|
|
@@ -2056,7 +2056,7 @@ function at(i) {
|
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
2058
2058
|
function J() {
|
|
2059
|
-
return localStorage.getItem(Xt) ||
|
|
2059
|
+
return localStorage.getItem(Xt) || dr();
|
|
2060
2060
|
}
|
|
2061
2061
|
function ot(i) {
|
|
2062
2062
|
const t = X.find((n) => n.id === i);
|
|
@@ -2081,19 +2081,30 @@ function _t(i) {
|
|
|
2081
2081
|
t.src = e === "dark" ? s + "sun.svg" : s + "moon.svg";
|
|
2082
2082
|
}
|
|
2083
2083
|
}
|
|
2084
|
-
function
|
|
2085
|
-
const i =
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2084
|
+
function _r() {
|
|
2085
|
+
const i = document.querySelector("[data-theme-toggle]");
|
|
2086
|
+
if (i) {
|
|
2087
|
+
const o = i.querySelector(".theme-icon");
|
|
2088
|
+
if (o && o.src) {
|
|
2089
|
+
const l = o.src.substring(0, o.src.lastIndexOf("/") + 1), c = window.location.pathname.substring(0, window.location.pathname.lastIndexOf("/") + 1), h = l.replace(window.location.origin + c, "");
|
|
2090
|
+
h !== l && cr({
|
|
2091
|
+
paths: {
|
|
2092
|
+
icons: h,
|
|
2093
|
+
base: c
|
|
2094
|
+
}
|
|
2095
|
+
});
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
const t = R();
|
|
2099
|
+
at(t);
|
|
2100
|
+
const e = J();
|
|
2101
|
+
if (ot(e), i) {
|
|
2102
|
+
_t(i);
|
|
2103
|
+
const o = i.onclick;
|
|
2104
|
+
i.onclick = function(l) {
|
|
2094
2105
|
l.preventDefault();
|
|
2095
2106
|
const h = R() === "dark" ? "light" : "dark";
|
|
2096
|
-
at(h), _t(
|
|
2107
|
+
at(h), _t(i), typeof o == "function" && o.call(this, l);
|
|
2097
2108
|
};
|
|
2098
2109
|
}
|
|
2099
2110
|
let s = document.getElementById("brand-picker");
|
|
@@ -2219,7 +2230,7 @@ function Ua(i, t) {
|
|
|
2219
2230
|
o += r[a[l] % r.length];
|
|
2220
2231
|
return t ? `${t}_${o}` : o;
|
|
2221
2232
|
}
|
|
2222
|
-
class
|
|
2233
|
+
class yr {
|
|
2223
2234
|
constructor() {
|
|
2224
2235
|
this.initializers = /* @__PURE__ */ new Map(), this.cleanupFunctions = /* @__PURE__ */ new Map(), this.processedElements = /* @__PURE__ */ new WeakSet(), this._dataAttrs = ["data-component"], this._cssClasses = [], this._cachedSelector = null;
|
|
2225
2236
|
}
|
|
@@ -2326,7 +2337,7 @@ class _r {
|
|
|
2326
2337
|
}), await Promise.all(n);
|
|
2327
2338
|
}
|
|
2328
2339
|
}
|
|
2329
|
-
const E = new
|
|
2340
|
+
const E = new yr(), vr = [
|
|
2330
2341
|
{ attr: "data-dropdown", cls: "ds-dropdown" },
|
|
2331
2342
|
{ attr: "data-select", cls: "ds-select" },
|
|
2332
2343
|
{ attr: "data-datepicker", cls: "ds-datepicker" },
|
|
@@ -2348,7 +2359,7 @@ const E = new _r(), yr = [
|
|
|
2348
2359
|
{ cls: "ds-notification" },
|
|
2349
2360
|
{ cls: "ds-message" }
|
|
2350
2361
|
];
|
|
2351
|
-
for (const i of
|
|
2362
|
+
for (const i of vr)
|
|
2352
2363
|
i.attr && !E._dataAttrs.includes(i.attr) && E._dataAttrs.push(i.attr), i.cls && !E._cssClasses.includes(i.cls) && E._cssClasses.push(i.cls);
|
|
2353
2364
|
class G {
|
|
2354
2365
|
constructor(t) {
|
|
@@ -2497,7 +2508,7 @@ function yt(i, t) {
|
|
|
2497
2508
|
i.prototype[e] = t[e];
|
|
2498
2509
|
});
|
|
2499
2510
|
}
|
|
2500
|
-
class
|
|
2511
|
+
class br {
|
|
2501
2512
|
constructor() {
|
|
2502
2513
|
this.components = /* @__PURE__ */ new Map(), this.lazyComponents = /* @__PURE__ */ new Map(), this.loadedComponents = /* @__PURE__ */ new Map(), this.instances = /* @__PURE__ */ new Map(), this.observer = null, this.mixins = /* @__PURE__ */ new Map(), this.loadingPromises = /* @__PURE__ */ new Map();
|
|
2503
2514
|
}
|
|
@@ -2628,8 +2639,8 @@ class vr {
|
|
|
2628
2639
|
}
|
|
2629
2640
|
}
|
|
2630
2641
|
let M = null;
|
|
2631
|
-
typeof window < "u" && (M = new
|
|
2632
|
-
function
|
|
2642
|
+
typeof window < "u" && (M = new br());
|
|
2643
|
+
function xr() {
|
|
2633
2644
|
if (st().xssProtection && typeof document < "u") {
|
|
2634
2645
|
let t = document.querySelector('meta[http-equiv="X-XSS-Protection"]');
|
|
2635
2646
|
t || (t = document.createElement("meta"), t.setAttribute("http-equiv", "X-XSS-Protection"), t.setAttribute("content", "1; mode=block"), document.head.insertBefore(t, document.head.firstChild)), t = document.querySelector('meta[http-equiv="X-Content-Type-Options"]'), t || (t = document.createElement("meta"), t.setAttribute("http-equiv", "X-Content-Type-Options"), t.setAttribute("content", "nosniff"), document.head.insertBefore(t, document.head.firstChild));
|
|
@@ -2637,9 +2648,9 @@ function br() {
|
|
|
2637
2648
|
}
|
|
2638
2649
|
async function vt() {
|
|
2639
2650
|
if (typeof window < "u") {
|
|
2640
|
-
|
|
2651
|
+
xr();
|
|
2641
2652
|
const i = dt();
|
|
2642
|
-
O.loadPersisted(), O.bind(),
|
|
2653
|
+
O.loadPersisted(), O.bind(), _r(), i.components?.autoInit !== !1 && (await E.initializeAll(), M && await M.bootstrap());
|
|
2643
2654
|
}
|
|
2644
2655
|
}
|
|
2645
2656
|
typeof document < "u" && document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", vt) : typeof window < "u" && setTimeout(vt, 0);
|
|
@@ -2793,7 +2804,7 @@ function ro(i, t = {}) {
|
|
|
2793
2804
|
function ao(i, t, e = {}) {
|
|
2794
2805
|
return N.formatCurrency(i, t, e);
|
|
2795
2806
|
}
|
|
2796
|
-
class
|
|
2807
|
+
class Er {
|
|
2797
2808
|
constructor() {
|
|
2798
2809
|
this._listeners = /* @__PURE__ */ new Map(), this._scopeListeners = /* @__PURE__ */ new Map();
|
|
2799
2810
|
}
|
|
@@ -2923,7 +2934,7 @@ class xr {
|
|
|
2923
2934
|
this._listeners.clear(), this._scopeListeners.clear();
|
|
2924
2935
|
}
|
|
2925
2936
|
}
|
|
2926
|
-
const H = new
|
|
2937
|
+
const H = new Er();
|
|
2927
2938
|
function oo(i, t, e, s) {
|
|
2928
2939
|
return H.on(i, t, e, s);
|
|
2929
2940
|
}
|
|
@@ -2948,7 +2959,7 @@ function fo(i, t) {
|
|
|
2948
2959
|
function mo(i, t) {
|
|
2949
2960
|
return H.getListenerCount(i, t);
|
|
2950
2961
|
}
|
|
2951
|
-
class
|
|
2962
|
+
class wr {
|
|
2952
2963
|
constructor(t, e = {}) {
|
|
2953
2964
|
this.element = t, this.trigger = t.querySelector(".ds-dropdown__trigger"), this.menu = t.querySelector(".ds-dropdown__menu"), this.triggerText = this.trigger ? this.trigger.querySelector("span") : null, this.scope = `dropdown-${Math.random().toString(36).substr(2, 9)}`;
|
|
2954
2965
|
const s = j();
|
|
@@ -3085,7 +3096,7 @@ class Er {
|
|
|
3085
3096
|
}
|
|
3086
3097
|
function Jt(i, t) {
|
|
3087
3098
|
i._kupolaDropdown && i._kupolaDropdown.destroy();
|
|
3088
|
-
const e = new
|
|
3099
|
+
const e = new wr(i, t);
|
|
3089
3100
|
e.init(), i._kupolaDropdown = e;
|
|
3090
3101
|
}
|
|
3091
3102
|
function go(i = document) {
|
|
@@ -3102,7 +3113,7 @@ function _o() {
|
|
|
3102
3113
|
});
|
|
3103
3114
|
}
|
|
3104
3115
|
E.register("dropdown", Jt, Zt);
|
|
3105
|
-
class
|
|
3116
|
+
class kr {
|
|
3106
3117
|
constructor(t, e = {}) {
|
|
3107
3118
|
this.element = t, this.trigger = t.querySelector(".ds-select__trigger"), this.valueEl = t.querySelector(".ds-select__value") || t.querySelector(".ds-select__trigger span"), this.optionsEl = t.querySelector(".ds-select__options") || t.querySelector(".ds-select__menu"), this.nativeSelect = t.querySelector("select"), this.icon = t.querySelector(".ds-select__icon"), this.scope = `select-${Math.random().toString(36).substr(2, 9)}`, this.multiple = e.multiple || t.hasAttribute("data-select-multiple"), this.searchable = e.searchable || t.hasAttribute("data-select-search"), this.clearable = e.clearable || t.hasAttribute("data-select-clear"), this.placeholder = e.placeholder || t.getAttribute("data-select-placeholder") || "", this.disabled = e.disabled || t.hasAttribute("data-select-disabled"), this.maxSelection = e.maxSelection || parseInt(t.getAttribute("data-select-max")) || 1 / 0, this.remoteMethod = e.remoteMethod || null, this.onChange = e.onChange || null, this.appendToBody = e.appendToBody !== !1, this.isOpen = !1, this.selectedValues = /* @__PURE__ */ new Set(), this.allOptions = [], this.filteredOptions = [], this.focusIndex = -1, this.searchInput = null, this.clearBtn = null, this.tagsWrap = null, this._originalParent = null, this._originalPosition = null, this._triggerClickHandler = null, this._documentClickHandler = null, this._documentClickListener = null, this._optionClickHandler = null, this._keydownHandler = null;
|
|
3108
3119
|
}
|
|
@@ -3349,7 +3360,7 @@ class wr {
|
|
|
3349
3360
|
}
|
|
3350
3361
|
}
|
|
3351
3362
|
function Gt(i, t) {
|
|
3352
|
-
const e = new
|
|
3363
|
+
const e = new kr(i, t);
|
|
3353
3364
|
e.init(), i._kupolaSelect = e;
|
|
3354
3365
|
}
|
|
3355
3366
|
function yo(i = document) {
|
|
@@ -3357,11 +3368,11 @@ function yo(i = document) {
|
|
|
3357
3368
|
Gt(t);
|
|
3358
3369
|
});
|
|
3359
3370
|
}
|
|
3360
|
-
function
|
|
3371
|
+
function Cr(i) {
|
|
3361
3372
|
i._kupolaSelect && (i._kupolaSelect.destroy(), i._kupolaSelect = null);
|
|
3362
3373
|
}
|
|
3363
|
-
E.register("select", Gt,
|
|
3364
|
-
class
|
|
3374
|
+
E.register("select", Gt, Cr);
|
|
3375
|
+
class Sr {
|
|
3365
3376
|
constructor(t, e = {}) {
|
|
3366
3377
|
this.element = t, this.input = t.querySelector("input"), this.endInput = t.querySelector(".ds-datepicker__end-input"), this.icon = t.querySelector(".ds-datepicker__icon"), this.calendarEl = t.querySelector(".ds-datepicker__calendar"), this.scope = `datepicker-${Math.random().toString(36).substr(2, 9)}`;
|
|
3367
3378
|
const s = j(), n = s.datepicker?.weekStart !== void 0 ? s.datepicker.weekStart : 1;
|
|
@@ -3625,7 +3636,7 @@ class Cr {
|
|
|
3625
3636
|
}
|
|
3626
3637
|
}
|
|
3627
3638
|
function Qt(i, t) {
|
|
3628
|
-
const e = new
|
|
3639
|
+
const e = new Sr(i, t);
|
|
3629
3640
|
e.init(), i._kupolaDatepicker = e;
|
|
3630
3641
|
}
|
|
3631
3642
|
function vo(i = document) {
|
|
@@ -3633,11 +3644,11 @@ function vo(i = document) {
|
|
|
3633
3644
|
Qt(t);
|
|
3634
3645
|
});
|
|
3635
3646
|
}
|
|
3636
|
-
function
|
|
3647
|
+
function Lr(i) {
|
|
3637
3648
|
i._kupolaDatepicker && (i._kupolaDatepicker.destroy(), i._kupolaDatepicker = null);
|
|
3638
3649
|
}
|
|
3639
|
-
E.register("datepicker", Qt,
|
|
3640
|
-
class
|
|
3650
|
+
E.register("datepicker", Qt, Lr);
|
|
3651
|
+
class Dr {
|
|
3641
3652
|
constructor(t, e = {}) {
|
|
3642
3653
|
this.element = t, this.input = t.querySelector("input"), this.inputWrap = t.querySelector(".ds-timepicker__input-wrap"), this.panelEl = null, this.scope = `timepicker-${Math.random().toString(36).substr(2, 9)}`, this.showSeconds = e.showSeconds || t.hasAttribute("data-timepicker-seconds"), this.use12Hour = e.use12Hour || t.hasAttribute("data-timepicker-12h"), this.hourStep = e.hourStep || parseInt(t.getAttribute("data-timepicker-hour-step")) || 1, this.minuteStep = e.minuteStep || parseInt(t.getAttribute("data-timepicker-minute-step")) || 5, this.secondStep = e.secondStep || parseInt(t.getAttribute("data-timepicker-second-step")) || 5, this.minTime = e.minTime || t.getAttribute("data-timepicker-min") || null, this.maxTime = e.maxTime || t.getAttribute("data-timepicker-max") || null, this.disabledTime = e.disabledTime || null, this.placeholder = e.placeholder || t.getAttribute("data-timepicker-placeholder") || "", this.clearable = e.clearable || t.hasAttribute("data-timepicker-clear"), this.onChange = e.onChange || null, this.selectedHour = 12, this.selectedMinute = 0, this.selectedSecond = 0, this.isPM = !1, this._inputWrapClickHandler = null, this._documentClickHandler = null, this._documentClickListener = null, this._resizeHandler = null, this._resizeListener = null, this._keydownHandler = null;
|
|
3643
3654
|
}
|
|
@@ -3820,7 +3831,7 @@ class Lr {
|
|
|
3820
3831
|
}
|
|
3821
3832
|
}
|
|
3822
3833
|
function te(i, t) {
|
|
3823
|
-
const e = new
|
|
3834
|
+
const e = new Dr(i, t);
|
|
3824
3835
|
e.init(), i._kupolaTimepicker = e;
|
|
3825
3836
|
}
|
|
3826
3837
|
function bo(i = document) {
|
|
@@ -3828,11 +3839,11 @@ function bo(i = document) {
|
|
|
3828
3839
|
te(t);
|
|
3829
3840
|
});
|
|
3830
3841
|
}
|
|
3831
|
-
function
|
|
3842
|
+
function Hr(i) {
|
|
3832
3843
|
i._kupolaTimepicker && (i._kupolaTimepicker.destroy(), i._kupolaTimepicker = null);
|
|
3833
3844
|
}
|
|
3834
|
-
E.register("timepicker", te,
|
|
3835
|
-
class
|
|
3845
|
+
E.register("timepicker", te, Hr);
|
|
3846
|
+
class Mr {
|
|
3836
3847
|
constructor(t, e = {}) {
|
|
3837
3848
|
if (this.element = t, this.track = t.querySelector(".ds-slider__track"), this.fill = t.querySelector(".ds-slider__fill"), this.input = t.querySelector(".ds-slider__input"), this.valueEl = t.querySelector(".ds-slider__value"), this.range = e.range || t.hasAttribute("data-slider-range"), this.vertical = e.vertical || t.hasAttribute("data-slider-vertical"), this.disabled = e.disabled || t.hasAttribute("data-slider-disabled"), this.showTooltip = e.showTooltip !== !1, this.showMarks = e.marks || t.hasAttribute("data-slider-marks"), this.markStep = e.markStep || parseInt(t.getAttribute("data-slider-mark-step")) || 10, this.tooltipFormat = e.tooltipFormat || ((s) => s), this.onChange = e.onChange || null, this.onInput = e.onInput || null, this.inputEnd = t.querySelector(".ds-slider__input--end"), this.fillEnd = null, this.thumbStart = null, this.thumbEnd = null, this.tooltipStart = null, this.tooltipEnd = null, this.marksEl = null, this._listeners = [], this._isDragging = !1, this._activeThumb = null, !this.track || !this.fill)
|
|
3838
3849
|
throw new Error("Slider: Missing required elements");
|
|
@@ -3983,13 +3994,13 @@ class Hr {
|
|
|
3983
3994
|
function ee(i, t) {
|
|
3984
3995
|
if (!i.__kupolaInitialized)
|
|
3985
3996
|
try {
|
|
3986
|
-
const e = new
|
|
3997
|
+
const e = new Mr(i, t);
|
|
3987
3998
|
i.__kupolaInstance = e, i.__kupolaInitialized = !0;
|
|
3988
3999
|
} catch (e) {
|
|
3989
4000
|
console.error("[Slider] Error initializing:", e);
|
|
3990
4001
|
}
|
|
3991
4002
|
}
|
|
3992
|
-
function
|
|
4003
|
+
function Ir(i) {
|
|
3993
4004
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
3994
4005
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
3995
4006
|
}
|
|
@@ -3998,7 +4009,7 @@ function xo() {
|
|
|
3998
4009
|
ee(i);
|
|
3999
4010
|
});
|
|
4000
4011
|
}
|
|
4001
|
-
E.register("slider", ee,
|
|
4012
|
+
E.register("slider", ee, Ir);
|
|
4002
4013
|
class Tr {
|
|
4003
4014
|
constructor(t, e = {}) {
|
|
4004
4015
|
this.element = t, this.track = t.querySelector(".ds-carousel__track"), this.items = t.querySelectorAll(".ds-carousel__item"), this.prevBtn = t.querySelector(".ds-carousel__prev"), this.nextBtn = t.querySelector(".ds-carousel__next"), this.indicators = t.querySelectorAll(".ds-carousel__indicator"), this.autoBtn = t.querySelector(".ds-carousel__auto"), this.mode = e.mode || t.getAttribute("data-carousel-mode") || "slide", this.vertical = e.vertical || t.hasAttribute("data-carousel-vertical"), this.autoPlay = e.autoPlay !== !1, this.interval = e.interval || parseInt(t.getAttribute("data-carousel-interval")) || 3e3, this.transitionDuration = e.transitionDuration || parseInt(t.getAttribute("data-carousel-duration")) || 500, this.loop = e.loop !== !1, this.pauseOnHover = e.pauseOnHover !== !1, this.swipe = e.swipe !== !1, this.swipeThreshold = e.swipeThreshold || 50, this.keyboardNav = e.keyboardNav || t.hasAttribute("data-carousel-keyboard"), this.onChange = e.onChange || null, this.currentIndex = 0, this.totalItems = this.items.length, this.autoPlayTimer = null, this.isAutoPlaying = !1, this.isTransitioning = !1, this.touchStartX = 0, this.touchStartY = 0, this.touchDeltaX = 0, this.touchDeltaY = 0, this.isSwiping = !1, this._mouseEnterHandler = () => {
|
|
@@ -4090,12 +4101,12 @@ function Eo(i = document) {
|
|
|
4090
4101
|
se(t);
|
|
4091
4102
|
});
|
|
4092
4103
|
}
|
|
4093
|
-
function
|
|
4104
|
+
function Ar(i) {
|
|
4094
4105
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
4095
4106
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
4096
4107
|
}
|
|
4097
|
-
E.register("carousel", se,
|
|
4098
|
-
class
|
|
4108
|
+
E.register("carousel", se, Ar);
|
|
4109
|
+
class zr {
|
|
4099
4110
|
constructor(t, e = {}) {
|
|
4100
4111
|
this.element = t, this.mask = t.querySelector(".ds-drawer-mask"), this.drawerEl = t.querySelector(".ds-drawer"), this.placement = e.placement || t.getAttribute("data-drawer-placement") || "right", this.width = e.width || t.getAttribute("data-drawer-width") || "400px", this.height = e.height || t.getAttribute("data-drawer-height") || "400px", this.escClose = e.escClose !== !1, this.maskClosable = e.maskClosable !== !1, this.showMask = e.showMask !== !1, this.onOpen = e.onOpen || null, this.onClose = e.onClose || null, this.onBeforeClose = e.onBeforeClose || null, this._keydownHandler = null, this._bindEvents();
|
|
4101
4112
|
}
|
|
@@ -4134,10 +4145,10 @@ class Ar {
|
|
|
4134
4145
|
}
|
|
4135
4146
|
function lt(i, t) {
|
|
4136
4147
|
if (i.__kupolaInitialized) return;
|
|
4137
|
-
const e = new
|
|
4148
|
+
const e = new zr(i, t);
|
|
4138
4149
|
i.__kupolaInstance = e, i.__kupolaInitialized = !0;
|
|
4139
4150
|
}
|
|
4140
|
-
function
|
|
4151
|
+
function Pr(i) {
|
|
4141
4152
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
4142
4153
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
4143
4154
|
}
|
|
@@ -4156,7 +4167,7 @@ function wo() {
|
|
|
4156
4167
|
t && lt(t);
|
|
4157
4168
|
});
|
|
4158
4169
|
}
|
|
4159
|
-
E.register("drawer", lt,
|
|
4170
|
+
E.register("drawer", lt, Pr);
|
|
4160
4171
|
class $ {
|
|
4161
4172
|
constructor(t, e = {}) {
|
|
4162
4173
|
this.element = t, this.mask = t.querySelector(".ds-modal-mask"), this.modal = t.querySelector(".ds-modal"), this.closeBtn = t.querySelector(".ds-modal__close");
|
|
@@ -4289,7 +4300,7 @@ function ne(i) {
|
|
|
4289
4300
|
const t = new $(i);
|
|
4290
4301
|
i.__kupolaInstance = t, i.__kupolaInitialized = !0;
|
|
4291
4302
|
}
|
|
4292
|
-
function
|
|
4303
|
+
function $r(i) {
|
|
4293
4304
|
if (!i.__kupolaInitialized || !i.__kupolaInstance)
|
|
4294
4305
|
return;
|
|
4295
4306
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
@@ -4299,7 +4310,7 @@ function So() {
|
|
|
4299
4310
|
ne(i);
|
|
4300
4311
|
});
|
|
4301
4312
|
}
|
|
4302
|
-
E.register("modal", ne,
|
|
4313
|
+
E.register("modal", ne, $r);
|
|
4303
4314
|
class Lo {
|
|
4304
4315
|
static normal(t = {}) {
|
|
4305
4316
|
return this._create({ type: "normal", ...t });
|
|
@@ -4382,7 +4393,7 @@ const Do = {
|
|
|
4382
4393
|
this.show({ ...i, type: "info" });
|
|
4383
4394
|
},
|
|
4384
4395
|
show: function(i) {
|
|
4385
|
-
const t =
|
|
4396
|
+
const t = fr(), { title: e, message: s, type: n = "normal", duration: r = t.duration, position: a = t.position } = i, o = document.createElement("div");
|
|
4386
4397
|
o.className = `ds-notification__item ds-notification__item--${n}`;
|
|
4387
4398
|
const l = {
|
|
4388
4399
|
normal: '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="16" x2="12" y2="12"/><line x1="12" y1="8" x2="12.01" y2="8"/></svg>',
|
|
@@ -4435,7 +4446,7 @@ const Mo = {
|
|
|
4435
4446
|
this.show(i, "info", t);
|
|
4436
4447
|
},
|
|
4437
4448
|
show: function(i, t = "normal", e = {}) {
|
|
4438
|
-
const s =
|
|
4449
|
+
const s = pr(), { duration: n = s.duration, position: r = s.position } = e, a = s.maxCount || 5, o = document.createElement("div");
|
|
4439
4450
|
o.className = `ds-message__item ds-message__item--${t}`;
|
|
4440
4451
|
const l = {
|
|
4441
4452
|
normal: '<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="16" x2="12" y2="12"/><line x1="12" y1="8" x2="12.01" y2="8"/></svg>',
|
|
@@ -4466,12 +4477,12 @@ const Mo = {
|
|
|
4466
4477
|
}, n);
|
|
4467
4478
|
}
|
|
4468
4479
|
};
|
|
4469
|
-
function
|
|
4480
|
+
function Io() {
|
|
4470
4481
|
}
|
|
4471
4482
|
function bt(i) {
|
|
4472
4483
|
return i ? i.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'") : "";
|
|
4473
4484
|
}
|
|
4474
|
-
class
|
|
4485
|
+
class Br {
|
|
4475
4486
|
constructor(t) {
|
|
4476
4487
|
this.element = t, this.dropzone = t.querySelector(".ds-fileupload__dropzone"), this.input = t.querySelector(".ds-fileupload__input"), this.list = t.querySelector(".ds-fileupload__list"), this.progress = t.querySelector(".ds-fileupload__preview"), this.files = [], this.maxSize = parseInt(t.getAttribute("data-max-size")) || 0, this.maxCount = parseInt(t.getAttribute("data-max-count")) || 0, this._listeners = [], this.init();
|
|
4477
4488
|
}
|
|
@@ -4631,20 +4642,20 @@ class $r {
|
|
|
4631
4642
|
}
|
|
4632
4643
|
function re(i) {
|
|
4633
4644
|
if (i.__kupolaInitialized) return;
|
|
4634
|
-
const t = new
|
|
4645
|
+
const t = new Br(i);
|
|
4635
4646
|
i.__kupolaInstance = t, i.__kupolaInitialized = !0;
|
|
4636
4647
|
}
|
|
4637
|
-
function
|
|
4648
|
+
function qr(i) {
|
|
4638
4649
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
4639
4650
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
4640
4651
|
}
|
|
4641
|
-
function
|
|
4652
|
+
function To() {
|
|
4642
4653
|
document.querySelectorAll(".ds-fileupload").forEach((i) => {
|
|
4643
4654
|
re(i);
|
|
4644
4655
|
});
|
|
4645
4656
|
}
|
|
4646
|
-
E.register("fileupload", re,
|
|
4647
|
-
class
|
|
4657
|
+
E.register("fileupload", re, qr);
|
|
4658
|
+
class Or {
|
|
4648
4659
|
constructor(t, e = {}) {
|
|
4649
4660
|
this.element = t, this.headers = [], this._listeners = [], this.accordion = e.accordion || t.hasAttribute("data-collapse-accordion"), this.animationDuration = e.animationDuration || parseInt(t.getAttribute("data-collapse-duration")) || 300, this.disabledItems = e.disabledItems || [], this.defaultExpanded = e.defaultExpanded || [], this._init();
|
|
4650
4661
|
}
|
|
@@ -4728,10 +4739,10 @@ class qr {
|
|
|
4728
4739
|
}
|
|
4729
4740
|
function ae(i, t) {
|
|
4730
4741
|
if (i.__kupolaInitialized) return;
|
|
4731
|
-
const e = new
|
|
4742
|
+
const e = new Or(i, t);
|
|
4732
4743
|
i.__kupolaInstance = e, i.__kupolaInitialized = !0;
|
|
4733
4744
|
}
|
|
4734
|
-
function
|
|
4745
|
+
function Fr(i) {
|
|
4735
4746
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
4736
4747
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
4737
4748
|
}
|
|
@@ -4740,8 +4751,8 @@ function Ao() {
|
|
|
4740
4751
|
ae(i);
|
|
4741
4752
|
});
|
|
4742
4753
|
}
|
|
4743
|
-
E.register("collapse", ae,
|
|
4744
|
-
class
|
|
4754
|
+
E.register("collapse", ae, Fr);
|
|
4755
|
+
class Nr {
|
|
4745
4756
|
constructor(t, e = {}) {
|
|
4746
4757
|
this.element = t, this.trigger = t.querySelector(".ds-color-picker__trigger"), this.panel = t.querySelector(".ds-color-picker__panel"), this.valueSpan = t.querySelector(".ds-color-picker__value"), this.customInput = t.querySelector(".ds-color-picker__input"), this.scope = `colorpicker-${Math.random().toString(36).substr(2, 9)}`, this.options = e, this.value = e.value || "#007bff", this.showAlpha = e.showAlpha !== !1, this.mode = e.mode || "hex", this.previousColors = e.previousColors || this._getStoredColors(), this.previousColorsLimit = e.previousColorsLimit || 12, this._triggerClickHandler = null, this._documentClickHandler = null, this._documentClickListener = null, this._colorClickHandler = null, this._inputInputHandler = null, this._alphaChangeHandler = null, this._modeChangeHandler = null, this._hueChangeHandler = null, this._saturationChangeHandler = null, this._valueChangeHandler = null, this.hue = 210, this.saturation = 100, this.brightness = 50, this.alpha = 100, this._colorStringToHSB(this.value);
|
|
4747
4758
|
}
|
|
@@ -4907,7 +4918,7 @@ class Fr {
|
|
|
4907
4918
|
}
|
|
4908
4919
|
}
|
|
4909
4920
|
function oe(i, t) {
|
|
4910
|
-
const e = new
|
|
4921
|
+
const e = new Nr(i, t);
|
|
4911
4922
|
e.init(), i._kupolaColorPicker = e;
|
|
4912
4923
|
}
|
|
4913
4924
|
function zo(i = document) {
|
|
@@ -4915,11 +4926,11 @@ function zo(i = document) {
|
|
|
4915
4926
|
oe(t);
|
|
4916
4927
|
});
|
|
4917
4928
|
}
|
|
4918
|
-
function
|
|
4929
|
+
function Rr(i) {
|
|
4919
4930
|
i._kupolaColorPicker && (i._kupolaColorPicker.destroy(), i._kupolaColorPicker = null);
|
|
4920
4931
|
}
|
|
4921
|
-
E.register("color-picker", oe,
|
|
4922
|
-
class
|
|
4932
|
+
E.register("color-picker", oe, Rr);
|
|
4933
|
+
class Vr {
|
|
4923
4934
|
constructor(t, e = {}) {
|
|
4924
4935
|
if (this.element = t, this.titleEl = t.querySelector(".ds-calendar__title"), this.daysEl = t.querySelector(".ds-calendar__days"), this.prevBtn = t.querySelector(".ds-calendar__nav--prev"), this.nextBtn = t.querySelector(".ds-calendar__nav--next"), this.todayBtn = t.querySelector(".ds-calendar__nav--today"), this._listeners = [], !this.titleEl || !this.daysEl)
|
|
4925
4936
|
throw new Error("Calendar: Missing required elements");
|
|
@@ -5119,13 +5130,13 @@ class Rr {
|
|
|
5119
5130
|
function le(i, t) {
|
|
5120
5131
|
if (!i.__kupolaInitialized)
|
|
5121
5132
|
try {
|
|
5122
|
-
const e = new
|
|
5133
|
+
const e = new Vr(i, t);
|
|
5123
5134
|
i.__kupolaInstance = e, i.__kupolaInitialized = !0;
|
|
5124
5135
|
} catch (e) {
|
|
5125
5136
|
console.error("[Calendar] Error initializing:", e);
|
|
5126
5137
|
}
|
|
5127
5138
|
}
|
|
5128
|
-
function
|
|
5139
|
+
function Kr(i) {
|
|
5129
5140
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
5130
5141
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
5131
5142
|
}
|
|
@@ -5134,8 +5145,8 @@ function Po() {
|
|
|
5134
5145
|
le(i);
|
|
5135
5146
|
});
|
|
5136
5147
|
}
|
|
5137
|
-
E.register("calendar", le,
|
|
5138
|
-
class
|
|
5148
|
+
E.register("calendar", le, Kr);
|
|
5149
|
+
class Wr {
|
|
5139
5150
|
constructor(t, e = {}) {
|
|
5140
5151
|
this.element = t, this.input = t.querySelector(".ds-dynamic-tags__input"), this._listeners = [], this.maxCount = e.maxCount || parseInt(t.getAttribute("data-dynamic-tags-max")) || 1 / 0, this.allowDuplicates = e.allowDuplicates !== !1, this.color = e.color || t.getAttribute("data-dynamic-tags-color") || "default", this.init();
|
|
5141
5152
|
}
|
|
@@ -5283,10 +5294,10 @@ class Kr {
|
|
|
5283
5294
|
}
|
|
5284
5295
|
function ce(i, t) {
|
|
5285
5296
|
if (i.__kupolaInitialized) return;
|
|
5286
|
-
const e = new
|
|
5297
|
+
const e = new Wr(i, t);
|
|
5287
5298
|
i.__kupolaInstance = e, i.__kupolaInitialized = !0;
|
|
5288
5299
|
}
|
|
5289
|
-
function
|
|
5300
|
+
function Ur(i) {
|
|
5290
5301
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
5291
5302
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
5292
5303
|
}
|
|
@@ -5295,7 +5306,7 @@ function $o() {
|
|
|
5295
5306
|
ce(i);
|
|
5296
5307
|
});
|
|
5297
5308
|
}
|
|
5298
|
-
E.register("dynamic-tags", ce,
|
|
5309
|
+
E.register("dynamic-tags", ce, Ur);
|
|
5299
5310
|
class he {
|
|
5300
5311
|
constructor(t = {}) {
|
|
5301
5312
|
this.images = t.images || [], this.currentIndex = t.currentIndex || 0, this.overlay = null, this.closeHandler = this.close.bind(this), this.keyHandler = this.handleKeydown.bind(this), this.clickHandler = this.handleOverlayClick.bind(this), this.zoom = 1, this.rotation = 0, this.zoomStep = t.zoomStep || 0.2, this.minZoom = t.minZoom || 0.5, this.maxZoom = t.maxZoom || 3, this.init();
|
|
@@ -5499,7 +5510,7 @@ function Bo() {
|
|
|
5499
5510
|
function qo(i, t = 0) {
|
|
5500
5511
|
V || (V = new he()), V.show(i, t);
|
|
5501
5512
|
}
|
|
5502
|
-
class
|
|
5513
|
+
class Yr {
|
|
5503
5514
|
constructor(t, e = {}) {
|
|
5504
5515
|
this.element = t, this.closeBtn = t.querySelector(".ds-tag__close"), this.checkbox = t.querySelector(".ds-tag__checkbox"), this.editInput = t.querySelector(".ds-tag__input"), this._listeners = [], this.color = e.color || t.getAttribute("data-tag-color") || "default", this.size = e.size || t.getAttribute("data-tag-size") || "default", this.checkable = e.checkable || t.hasAttribute("data-tag-checkable"), this.checked = e.checked || t.hasAttribute("data-tag-checked"), this.editable = e.editable || t.hasAttribute("data-tag-editable"), this.maxLength = e.maxLength || parseInt(t.getAttribute("data-tag-maxlength")) || 50, this.init();
|
|
5505
5516
|
}
|
|
@@ -5631,10 +5642,10 @@ class Ur {
|
|
|
5631
5642
|
}
|
|
5632
5643
|
function de(i, t) {
|
|
5633
5644
|
if (i.__kupolaInitialized) return;
|
|
5634
|
-
const e = new
|
|
5645
|
+
const e = new Yr(i, t);
|
|
5635
5646
|
i.__kupolaInstance = e, i.__kupolaInitialized = !0;
|
|
5636
5647
|
}
|
|
5637
|
-
function
|
|
5648
|
+
function Xr(i) {
|
|
5638
5649
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
5639
5650
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
5640
5651
|
}
|
|
@@ -5643,8 +5654,8 @@ function Oo() {
|
|
|
5643
5654
|
de(i);
|
|
5644
5655
|
});
|
|
5645
5656
|
}
|
|
5646
|
-
E.register("tag", de,
|
|
5647
|
-
class
|
|
5657
|
+
E.register("tag", de, Xr);
|
|
5658
|
+
class jr {
|
|
5648
5659
|
constructor(t) {
|
|
5649
5660
|
this.element = t, this.valueElement = t.querySelector(".ds-statcard__value"), this.progressFill = t.querySelector(".ds-statcard__progress-fill"), this.animated = !1, this._observer = null, this.init();
|
|
5650
5661
|
}
|
|
@@ -5706,10 +5717,10 @@ class Xr {
|
|
|
5706
5717
|
}
|
|
5707
5718
|
function ue(i) {
|
|
5708
5719
|
if (i.__kupolaInitialized) return;
|
|
5709
|
-
const t = new
|
|
5720
|
+
const t = new jr(i);
|
|
5710
5721
|
i.__kupolaInstance = t, i.__kupolaInitialized = !0;
|
|
5711
5722
|
}
|
|
5712
|
-
function
|
|
5723
|
+
function Jr(i) {
|
|
5713
5724
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
5714
5725
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
5715
5726
|
}
|
|
@@ -5718,8 +5729,8 @@ function Fo() {
|
|
|
5718
5729
|
ue(i);
|
|
5719
5730
|
});
|
|
5720
5731
|
}
|
|
5721
|
-
E.register("statcard", ue,
|
|
5722
|
-
class
|
|
5732
|
+
E.register("statcard", ue, Jr);
|
|
5733
|
+
class Zr {
|
|
5723
5734
|
constructor(t, e = {}) {
|
|
5724
5735
|
this.element = t, this.data = e.data || [], this.startDate = e.startDate || this.getOneYearAgo(), this.endDate = e.endDate || /* @__PURE__ */ new Date(), this.cellSize = e.cellSize || 14, this.onCellClick = e.onCellClick || null, this.tooltip = null, this.baseColor = e.color || t.getAttribute("data-color") || "#22c55e", this._listeners = [], this.init();
|
|
5725
5736
|
}
|
|
@@ -5886,14 +5897,14 @@ function pe(i) {
|
|
|
5886
5897
|
}
|
|
5887
5898
|
else
|
|
5888
5899
|
e = xt();
|
|
5889
|
-
const s = new
|
|
5900
|
+
const s = new Zr(i, {
|
|
5890
5901
|
data: e,
|
|
5891
5902
|
onCellClick: (n) => {
|
|
5892
5903
|
}
|
|
5893
5904
|
});
|
|
5894
5905
|
i.__kupolaInstance = s, i.__kupolaInitialized = !0;
|
|
5895
5906
|
}
|
|
5896
|
-
function
|
|
5907
|
+
function Gr(i) {
|
|
5897
5908
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
5898
5909
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
5899
5910
|
}
|
|
@@ -5914,8 +5925,8 @@ function xt() {
|
|
|
5914
5925
|
}
|
|
5915
5926
|
return i;
|
|
5916
5927
|
}
|
|
5917
|
-
E.register("heatmap", pe,
|
|
5918
|
-
class
|
|
5928
|
+
E.register("heatmap", pe, Gr);
|
|
5929
|
+
class Qr {
|
|
5919
5930
|
constructor(t, e = {}) {
|
|
5920
5931
|
this.element = t, this.tooltipEl = null, this.options = e;
|
|
5921
5932
|
const s = j(), n = s.tooltip?.delay !== void 0 ? s.tooltip.delay : 300;
|
|
@@ -6017,7 +6028,7 @@ class Gr {
|
|
|
6017
6028
|
}
|
|
6018
6029
|
}
|
|
6019
6030
|
function fe(i, t) {
|
|
6020
|
-
const e = new
|
|
6031
|
+
const e = new Qr(i, t);
|
|
6021
6032
|
e.init(), i._kupolaTooltip = e;
|
|
6022
6033
|
}
|
|
6023
6034
|
function Ro(i = document) {
|
|
@@ -6025,11 +6036,11 @@ function Ro(i = document) {
|
|
|
6025
6036
|
fe(t);
|
|
6026
6037
|
});
|
|
6027
6038
|
}
|
|
6028
|
-
function
|
|
6039
|
+
function ta(i) {
|
|
6029
6040
|
i._kupolaTooltip && (i._kupolaTooltip.destroy(), i._kupolaTooltip = null);
|
|
6030
6041
|
}
|
|
6031
|
-
E.register("tooltip", fe,
|
|
6032
|
-
class
|
|
6042
|
+
E.register("tooltip", fe, ta);
|
|
6043
|
+
class ea {
|
|
6033
6044
|
constructor() {
|
|
6034
6045
|
this.validators = {
|
|
6035
6046
|
required: this.validateRequired,
|
|
@@ -6255,7 +6266,7 @@ class ta {
|
|
|
6255
6266
|
}[t] || "Invalid input";
|
|
6256
6267
|
}
|
|
6257
6268
|
}
|
|
6258
|
-
const P = new
|
|
6269
|
+
const P = new ea();
|
|
6259
6270
|
window.__kupolaValidationInitialized || (window.__kupolaValidationInitialized = !0, document.addEventListener("DOMContentLoaded", () => {
|
|
6260
6271
|
document.querySelectorAll("form[data-validation]").forEach((i) => {
|
|
6261
6272
|
i.addEventListener("submit", async (t) => {
|
|
@@ -6285,7 +6296,7 @@ window.__kupolaValidationInitialized || (window.__kupolaValidationInitialized =
|
|
|
6285
6296
|
r && r.focus();
|
|
6286
6297
|
}
|
|
6287
6298
|
}), i.querySelectorAll("[data-validate]").forEach((t) => {
|
|
6288
|
-
const e =
|
|
6299
|
+
const e = mr(), s = e.trigger || "blur", n = () => {
|
|
6289
6300
|
e.showErrors && setTimeout(() => {
|
|
6290
6301
|
const l = document.activeElement;
|
|
6291
6302
|
if (l && l.closest(".ds-select"))
|
|
@@ -6299,7 +6310,7 @@ window.__kupolaValidationInitialized || (window.__kupolaValidationInitialized =
|
|
|
6299
6310
|
return (...d) => {
|
|
6300
6311
|
clearTimeout(h), h = setTimeout(() => l(...d), c);
|
|
6301
6312
|
};
|
|
6302
|
-
}, a =
|
|
6313
|
+
}, a = ur(), o = r(() => {
|
|
6303
6314
|
if (!e.showErrors)
|
|
6304
6315
|
return;
|
|
6305
6316
|
const l = P.getValue(t);
|
|
@@ -6311,7 +6322,7 @@ window.__kupolaValidationInitialized || (window.__kupolaValidationInitialized =
|
|
|
6311
6322
|
});
|
|
6312
6323
|
});
|
|
6313
6324
|
}));
|
|
6314
|
-
class
|
|
6325
|
+
class sa {
|
|
6315
6326
|
constructor(t, e = {}) {
|
|
6316
6327
|
this.element = t, this.data = e.data || [], this.itemHeight = e.itemHeight || 48, this.itemWidth = e.itemWidth || 200, this.bufferSize = e.bufferSize || 5, this.renderItem = e.renderItem || this.defaultRenderItem, this.onItemClick = e.onItemClick || null, this.onItemSelect = e.onItemSelect || null, this.onScroll = e.onScroll || null, this.onScrollEnd = e.onScrollEnd || null, this.selectedKey = e.selectedKey || null, this.keyField = e.keyField || "id", this.useDynamicHeight = e.useDynamicHeight || !1, this.dynamicHeightCache = /* @__PURE__ */ new Map(), this.estimatedHeight = e.estimatedHeight || 48, this.container = null, this.scrollbarTrack = null, this.scrollbarThumb = null, this.totalHeight = 0, this.startIndex = 0, this.endIndex = 0, this.isScrolling = !1, this.scrollTimeout = null, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.init();
|
|
6317
6328
|
}
|
|
@@ -6563,7 +6574,7 @@ function Et(i = 1e3) {
|
|
|
6563
6574
|
}
|
|
6564
6575
|
return t;
|
|
6565
6576
|
}
|
|
6566
|
-
function
|
|
6577
|
+
function ia(i) {
|
|
6567
6578
|
if (i.__kupolaInitialized) return;
|
|
6568
6579
|
const t = i.getAttribute("data-virtual-list");
|
|
6569
6580
|
let e = [];
|
|
@@ -6575,7 +6586,7 @@ function sa(i) {
|
|
|
6575
6586
|
}
|
|
6576
6587
|
else
|
|
6577
6588
|
e = Et(1e3);
|
|
6578
|
-
const s = new
|
|
6589
|
+
const s = new sa(i, {
|
|
6579
6590
|
data: e,
|
|
6580
6591
|
onItemClick: (n) => {
|
|
6581
6592
|
},
|
|
@@ -6584,12 +6595,12 @@ function sa(i) {
|
|
|
6584
6595
|
});
|
|
6585
6596
|
i.__kupolaInstance = s, i.__kupolaInitialized = !0;
|
|
6586
6597
|
}
|
|
6587
|
-
function
|
|
6598
|
+
function na(i) {
|
|
6588
6599
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
6589
6600
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
6590
6601
|
}
|
|
6591
|
-
E.register("virtual-list",
|
|
6592
|
-
const
|
|
6602
|
+
E.register("virtual-list", ia, na);
|
|
6603
|
+
const ra = 'xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="butt" stroke-linejoin="miter"', me = {
|
|
6593
6604
|
globe: '<circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 0 20"/><path d="M12 2a15.3 15.3 0 0 0 0 20"/>',
|
|
6594
6605
|
dashboard: '<rect x="3" y="3" width="7" height="9"/><rect x="14" y="3" width="7" height="5"/><rect x="14" y="12" width="7" height="9"/><rect x="3" y="16" width="7" height="5"/>',
|
|
6595
6606
|
mouse: '<rect x="6" y="2" width="12" height="20" rx="6"/><line x1="12" y1="6" x2="12" y2="11"/>',
|
|
@@ -6701,7 +6712,7 @@ const na = 'xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0
|
|
|
6701
6712
|
};
|
|
6702
6713
|
function ge(i, t = 16, e = "0 0 24 24") {
|
|
6703
6714
|
const s = me[i];
|
|
6704
|
-
return s ? `<svg ${
|
|
6715
|
+
return s ? `<svg ${ra.replace('width="16"', `width="${t}"`).replace('height="16"', `height="${t}"`).replace('viewBox="0 0 24 24"', `viewBox="${e}"`)}>${s}</svg>` : "";
|
|
6705
6716
|
}
|
|
6706
6717
|
function ct(i = document) {
|
|
6707
6718
|
i.querySelectorAll("[data-icon]").forEach((t) => {
|
|
@@ -6711,7 +6722,7 @@ function ct(i = document) {
|
|
|
6711
6722
|
}
|
|
6712
6723
|
const Vo = { svg: ge, render: ct, PATHS: me };
|
|
6713
6724
|
typeof document < "u" && (document.readyState !== "loading" ? ct() : document.addEventListener("DOMContentLoaded", () => ct()));
|
|
6714
|
-
class
|
|
6725
|
+
class aa {
|
|
6715
6726
|
constructor(t) {
|
|
6716
6727
|
this.element = t, this.hoursEl = t.querySelector(".ds-countdown__item--hours .ds-countdown__value"), this.minutesEl = t.querySelector(".ds-countdown__item--minutes .ds-countdown__value"), this.secondsEl = t.querySelector(".ds-countdown__item--seconds .ds-countdown__value"), this.endTime = this.parseEndTime(), this.interval = null, this.init();
|
|
6717
6728
|
}
|
|
@@ -6765,10 +6776,10 @@ class ra {
|
|
|
6765
6776
|
}
|
|
6766
6777
|
function _e(i) {
|
|
6767
6778
|
if (i.__kupolaInitialized) return;
|
|
6768
|
-
const t = new
|
|
6779
|
+
const t = new aa(i);
|
|
6769
6780
|
i.__kupolaInstance = t, i.__kupolaInitialized = !0;
|
|
6770
6781
|
}
|
|
6771
|
-
function
|
|
6782
|
+
function oa(i) {
|
|
6772
6783
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
6773
6784
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
6774
6785
|
}
|
|
@@ -6777,8 +6788,8 @@ function Ko() {
|
|
|
6777
6788
|
_e(t);
|
|
6778
6789
|
});
|
|
6779
6790
|
}
|
|
6780
|
-
E.register("countdown", _e,
|
|
6781
|
-
class
|
|
6791
|
+
E.register("countdown", _e, oa);
|
|
6792
|
+
class la {
|
|
6782
6793
|
constructor(t) {
|
|
6783
6794
|
if (this.element = t, this.minusBtn = t.querySelector(".ds-number-input__btn--decrease"), this.plusBtn = t.querySelector(".ds-number-input__btn--increase"), this.inputEl = t.querySelector(".ds-number-input__input"), this._listeners = [], !this.minusBtn || !this.plusBtn || !this.inputEl)
|
|
6784
6795
|
throw new Error("NumberInput: Missing required elements");
|
|
@@ -6832,13 +6843,13 @@ class oa {
|
|
|
6832
6843
|
function ye(i) {
|
|
6833
6844
|
if (!i.__kupolaInitialized)
|
|
6834
6845
|
try {
|
|
6835
|
-
const t = new
|
|
6846
|
+
const t = new la(i);
|
|
6836
6847
|
i.__kupolaInstance = t, i.__kupolaInitialized = !0;
|
|
6837
6848
|
} catch (t) {
|
|
6838
6849
|
console.error("[NumberInput] Error initializing:", t);
|
|
6839
6850
|
}
|
|
6840
6851
|
}
|
|
6841
|
-
function
|
|
6852
|
+
function ca(i) {
|
|
6842
6853
|
if (!i.__kupolaInitialized || !i.__kupolaInstance) return;
|
|
6843
6854
|
i.__kupolaInstance.destroy(), i.__kupolaInstance = null, i.__kupolaInitialized = !1;
|
|
6844
6855
|
}
|
|
@@ -6847,8 +6858,8 @@ function Wo() {
|
|
|
6847
6858
|
ye(i);
|
|
6848
6859
|
});
|
|
6849
6860
|
}
|
|
6850
|
-
E.register("number-input", ye,
|
|
6851
|
-
class
|
|
6861
|
+
E.register("number-input", ye, ca);
|
|
6862
|
+
class ha {
|
|
6852
6863
|
constructor(t) {
|
|
6853
6864
|
this.container = t, this.track = t.querySelector(".ds-slider-captcha__track"), this.btn = t.querySelector(".ds-slider-captcha__btn"), this.text = t.querySelector(".ds-slider-captcha__text"), this.progress = t.querySelector(".ds-slider-captcha__progress"), this.statusEl = t.querySelector(".ds-slider-captcha__status"), this.refreshBtn = t.querySelector(".ds-slider-captcha__refresh"), this.footerRefreshBtn = t.querySelector(".ds-slider-captcha__footer-refresh"), this.config = {
|
|
6854
6865
|
tolerance: 6,
|
|
@@ -6991,22 +7002,22 @@ class ca {
|
|
|
6991
7002
|
this.container._initialized && (this.btn && this._mouseDownHandler && this.btn.removeEventListener("mousedown", this._mouseDownHandler), this.btn && this._touchStartHandler && this.btn.removeEventListener("touchstart", this._touchStartHandler), this.refreshBtn && this.refreshBtn.removeEventListener("click", () => this.loadCaptcha()), this.footerRefreshBtn && this.footerRefreshBtn.removeEventListener("click", () => this.loadCaptcha()), this._mouseMoveListener && this._mouseMoveListener.unsubscribe ? this._mouseMoveListener.unsubscribe() : this._mouseMoveHandler && document.removeEventListener("mousemove", this._mouseMoveHandler), this._mouseUpListener && this._mouseUpListener.unsubscribe ? this._mouseUpListener.unsubscribe() : this._mouseUpHandler && document.removeEventListener("mouseup", this._mouseUpHandler), this._touchMoveListener && this._touchMoveListener.unsubscribe ? this._touchMoveListener.unsubscribe() : this._touchMoveHandler && document.removeEventListener("touchmove", this._touchMoveHandler), this._touchEndListener && this._touchEndListener.unsubscribe ? this._touchEndListener.unsubscribe() : this._touchEndHandler && document.removeEventListener("touchend", this._touchEndHandler), this.container._initialized = !1);
|
|
6992
7003
|
}
|
|
6993
7004
|
}
|
|
6994
|
-
function
|
|
7005
|
+
function da() {
|
|
6995
7006
|
document.querySelectorAll(".ds-slider-captcha").forEach((i) => {
|
|
6996
|
-
const t = new
|
|
7007
|
+
const t = new ha(i);
|
|
6997
7008
|
t.init(), i._kupolaSlideCaptcha = t;
|
|
6998
7009
|
});
|
|
6999
7010
|
}
|
|
7000
|
-
function
|
|
7011
|
+
function ua(i) {
|
|
7001
7012
|
i._kupolaSlideCaptcha && (i._kupolaSlideCaptcha.destroy(), i._kupolaSlideCaptcha = null);
|
|
7002
7013
|
}
|
|
7003
|
-
function
|
|
7014
|
+
function pa() {
|
|
7004
7015
|
document.querySelectorAll(".ds-slider-captcha").forEach((i) => {
|
|
7005
|
-
|
|
7016
|
+
ua(i);
|
|
7006
7017
|
});
|
|
7007
7018
|
}
|
|
7008
|
-
E.register("slide-captcha",
|
|
7009
|
-
class
|
|
7019
|
+
E.register("slide-captcha", da, pa);
|
|
7020
|
+
class fa {
|
|
7010
7021
|
constructor(t) {
|
|
7011
7022
|
this.form = t, this.fields = [], this.validators = {}, this.errorMessages = {}, this._submitHandler = null, this._fieldHandlers = /* @__PURE__ */ new Map(), this._init();
|
|
7012
7023
|
}
|
|
@@ -7146,11 +7157,11 @@ class pa {
|
|
|
7146
7157
|
}), this._submitHandler = null, this._fieldHandlers.clear(), this._fieldHandlers = null, this.fields = null, this.validators = null, this.errorMessages = null, this.form = null;
|
|
7147
7158
|
}
|
|
7148
7159
|
}
|
|
7149
|
-
function
|
|
7160
|
+
function ma(i) {
|
|
7150
7161
|
const t = document.querySelectorAll(i || ".ds-form");
|
|
7151
7162
|
return t.forEach((e) => {
|
|
7152
7163
|
if (e._kupolaForm) return;
|
|
7153
|
-
const s = new
|
|
7164
|
+
const s = new fa(e);
|
|
7154
7165
|
e._kupolaForm = s;
|
|
7155
7166
|
}), t.length;
|
|
7156
7167
|
}
|
|
@@ -7161,8 +7172,8 @@ function Yo(i) {
|
|
|
7161
7172
|
const t = i._kupolaForm;
|
|
7162
7173
|
return t ? t.validate() : !1;
|
|
7163
7174
|
}
|
|
7164
|
-
E.register("form-validation",
|
|
7165
|
-
class
|
|
7175
|
+
E.register("form-validation", ma);
|
|
7176
|
+
class ga {
|
|
7166
7177
|
constructor() {
|
|
7167
7178
|
this._queue = /* @__PURE__ */ new Set(), this._scheduled = !1, this._flushDepth = 0, this._maxDepth = 10;
|
|
7168
7179
|
}
|
|
@@ -7189,8 +7200,8 @@ class ma {
|
|
|
7189
7200
|
this._flushDepth--;
|
|
7190
7201
|
}
|
|
7191
7202
|
}
|
|
7192
|
-
const
|
|
7193
|
-
class
|
|
7203
|
+
const _a = new ga();
|
|
7204
|
+
class ya {
|
|
7194
7205
|
constructor(t, e) {
|
|
7195
7206
|
this.data = t, this.createdAt = Date.now(), this.ttl = e;
|
|
7196
7207
|
}
|
|
@@ -7210,7 +7221,7 @@ class ve {
|
|
|
7210
7221
|
return e || null;
|
|
7211
7222
|
}
|
|
7212
7223
|
set(t, e, s = 6e4) {
|
|
7213
|
-
this._store.set(t, new
|
|
7224
|
+
this._store.set(t, new ya(e, s));
|
|
7214
7225
|
}
|
|
7215
7226
|
has(t) {
|
|
7216
7227
|
return this._store.has(t);
|
|
@@ -7255,7 +7266,7 @@ class U {
|
|
|
7255
7266
|
};
|
|
7256
7267
|
}
|
|
7257
7268
|
notify() {
|
|
7258
|
-
|
|
7269
|
+
_a.schedule(() => {
|
|
7259
7270
|
this.subscribers.forEach((t) => {
|
|
7260
7271
|
try {
|
|
7261
7272
|
t();
|
|
@@ -7303,7 +7314,7 @@ class U {
|
|
|
7303
7314
|
this.subscribers = [], this.pending = null;
|
|
7304
7315
|
}
|
|
7305
7316
|
}
|
|
7306
|
-
class
|
|
7317
|
+
class va extends U {
|
|
7307
7318
|
constructor(t, e) {
|
|
7308
7319
|
super(t, e), this.method = t.method || "GET", this.headers = t.headers || {}, this.queryParams = t.query || {};
|
|
7309
7320
|
}
|
|
@@ -7360,7 +7371,7 @@ class be extends U {
|
|
|
7360
7371
|
super.destroy(), this._storageHandler && window.removeEventListener("storage", this._storageHandler);
|
|
7361
7372
|
}
|
|
7362
7373
|
}
|
|
7363
|
-
class
|
|
7374
|
+
class ba extends U {
|
|
7364
7375
|
constructor(t, e) {
|
|
7365
7376
|
super(t, e), this.paramName = t.source.replace("route:", "");
|
|
7366
7377
|
}
|
|
@@ -7370,12 +7381,12 @@ class va extends U {
|
|
|
7370
7381
|
return e ? decodeURIComponent(e[1]) : new URLSearchParams(location.search).get(this.paramName) || "";
|
|
7371
7382
|
}
|
|
7372
7383
|
}
|
|
7373
|
-
class
|
|
7384
|
+
class xa extends U {
|
|
7374
7385
|
async fetch(t) {
|
|
7375
7386
|
return await this.config.source(t);
|
|
7376
7387
|
}
|
|
7377
7388
|
}
|
|
7378
|
-
class
|
|
7389
|
+
class Ea extends U {
|
|
7379
7390
|
async fetch() {
|
|
7380
7391
|
return this.config.source;
|
|
7381
7392
|
}
|
|
@@ -7422,7 +7433,7 @@ class xe extends U {
|
|
|
7422
7433
|
}
|
|
7423
7434
|
function Ee(i, t) {
|
|
7424
7435
|
const e = i.source;
|
|
7425
|
-
return typeof e == "function" ? new
|
|
7436
|
+
return typeof e == "function" ? new xa(i, t) : typeof e == "string" && (e.startsWith("ws://") || e.startsWith("wss://")) ? new xe(i, t) : typeof e == "string" && (e.startsWith("/") || e.startsWith("http")) ? new va(i, t) : typeof e == "string" && e.startsWith("localStorage:") ? new be(i, t) : typeof e == "string" && e.startsWith("route:") ? new ba(i, t) : new Ea(i, t);
|
|
7426
7437
|
}
|
|
7427
7438
|
function Zo(i, t) {
|
|
7428
7439
|
const e = {}, s = new ve(), n = [];
|
|
@@ -7434,7 +7445,7 @@ function Zo(i, t) {
|
|
|
7434
7445
|
const o = {
|
|
7435
7446
|
...a,
|
|
7436
7447
|
cacheKey: a.cacheKey || `${r}-${JSON.stringify(wt(i))}`
|
|
7437
|
-
}, l = Ee(o, s), c =
|
|
7448
|
+
}, l = Ee(o, s), c = T(null), h = T(!0), d = T(null), u = T(null);
|
|
7438
7449
|
let f = 0;
|
|
7439
7450
|
async function m() {
|
|
7440
7451
|
const b = ++f;
|
|
@@ -7492,7 +7503,7 @@ function Zo(i, t) {
|
|
|
7492
7503
|
}, window.__kupolaDepInstances || (window.__kupolaDepInstances = []), window.__kupolaDepInstances.push(e), e;
|
|
7493
7504
|
}
|
|
7494
7505
|
function Go(i) {
|
|
7495
|
-
const t = new ve(), e = Ee(i, t), s =
|
|
7506
|
+
const t = new ve(), e = Ee(i, t), s = T(null), n = T(!0), r = T(null);
|
|
7496
7507
|
let a = 0;
|
|
7497
7508
|
async function o() {
|
|
7498
7509
|
const l = ++a;
|
|
@@ -7530,9 +7541,9 @@ function wt(i) {
|
|
|
7530
7541
|
}
|
|
7531
7542
|
function Qo() {
|
|
7532
7543
|
}
|
|
7533
|
-
class
|
|
7544
|
+
class wa {
|
|
7534
7545
|
constructor(t, e = {}) {
|
|
7535
|
-
this.element = typeof t == "string" ? document.querySelector(t) : t, this.options = e, this.columns = (e.columns || []).map((s, n) => ({ ...s, _index: n })), this.rowKey = e.rowKey || "id", this._data = [], this._loading = !1, this.striped = e.striped !== !1, this.bordered = e.bordered || !1, this.hoverable = e.hoverable !== !1, this.compact = e.compact || !1, this.emptyText = e.emptyText || "暂无数据", this.loadingText = e.loadingText || "加载中...", this.multiSort = e.multiSort || !1, this._sorts = [], this._filterText = "", this._showPagination = e.pagination !== !1, this._pageSizes = e.pageSizes || [10, 20, 50, 100], this._pageSize = e.pageSize || 10, this._currentPage = 1, this._total = 0, this.selection = e.selection || null, this._selectedKeys = /* @__PURE__ */ new Set(), this.selectionColumnTitle = e.selectionColumnTitle || "", this.expandable = e.expandable || null, this._expandedKeys = /* @__PURE__ */ new Set(), this.expandColumnTitle = e.expandColumnTitle || "", this.editable = e.editable || !1, this._editingCell = null, this._editBuffer = {}, this.resizable = e.resizable || !1, this.draggable = e.draggable || !1, this._dragState = null, this.tree = e.tree || null, this._treeExpandedKeys = /* @__PURE__ */ new Set(), e.tree?.defaultExpandAll && (this._treeExpandAll = !0), this.virtualScroll = e.virtualScroll || null, this._scrollContainer = null, this._scrollHandler = null, this._resizeCleanups = [], this._filterDebounceTimer = null, this._reactiveCleanups = [], this.mergeCells = e.mergeCells || null, this.onSort = e.onSort || null, this.onPageChange = e.onPageChange || null, this.onRowClick = e.onRowClick || null, this.onFilter = e.onFilter || null, this.onSelect = e.onSelect || null, this.onExpand = e.onExpand || null, this.onEditSave = e.onEditSave || null, this.onEditCancel = e.onEditCancel || null, this.onRowDragEnd = e.onRowDragEnd || null, this.onColumnResize = e.onColumnResize || null, this.sortKey =
|
|
7546
|
+
this.element = typeof t == "string" ? document.querySelector(t) : t, this.options = e, this.columns = (e.columns || []).map((s, n) => ({ ...s, _index: n })), this.rowKey = e.rowKey || "id", this._data = [], this._loading = !1, this.striped = e.striped !== !1, this.bordered = e.bordered || !1, this.hoverable = e.hoverable !== !1, this.compact = e.compact || !1, this.emptyText = e.emptyText || "暂无数据", this.loadingText = e.loadingText || "加载中...", this.multiSort = e.multiSort || !1, this._sorts = [], this._filterText = "", this._showPagination = e.pagination !== !1, this._pageSizes = e.pageSizes || [10, 20, 50, 100], this._pageSize = e.pageSize || 10, this._currentPage = 1, this._total = 0, this.selection = e.selection || null, this._selectedKeys = /* @__PURE__ */ new Set(), this.selectionColumnTitle = e.selectionColumnTitle || "", this.expandable = e.expandable || null, this._expandedKeys = /* @__PURE__ */ new Set(), this.expandColumnTitle = e.expandColumnTitle || "", this.editable = e.editable || !1, this._editingCell = null, this._editBuffer = {}, this.resizable = e.resizable || !1, this.draggable = e.draggable || !1, this._dragState = null, this.tree = e.tree || null, this._treeExpandedKeys = /* @__PURE__ */ new Set(), e.tree?.defaultExpandAll && (this._treeExpandAll = !0), this.virtualScroll = e.virtualScroll || null, this._scrollContainer = null, this._scrollHandler = null, this._resizeCleanups = [], this._filterDebounceTimer = null, this._reactiveCleanups = [], this.mergeCells = e.mergeCells || null, this.onSort = e.onSort || null, this.onPageChange = e.onPageChange || null, this.onRowClick = e.onRowClick || null, this.onFilter = e.onFilter || null, this.onSelect = e.onSelect || null, this.onExpand = e.onExpand || null, this.onEditSave = e.onEditSave || null, this.onEditCancel = e.onEditCancel || null, this.onRowDragEnd = e.onRowDragEnd || null, this.onColumnResize = e.onColumnResize || null, this.sortKey = T(null), this.sortOrder = T(null), this.currentPage = T(1), this.filterText = T(""), this.selectedKeys = T([]), this._init();
|
|
7536
7547
|
}
|
|
7537
7548
|
_init() {
|
|
7538
7549
|
this.element.classList.add("kupola-table-wrapper"), this.virtualScroll && this.element.classList.add("kupola-table-virtual-wrapper"), this.render();
|
|
@@ -8071,7 +8082,7 @@ class Ea {
|
|
|
8071
8082
|
}
|
|
8072
8083
|
}
|
|
8073
8084
|
function we(i, t) {
|
|
8074
|
-
return new
|
|
8085
|
+
return new wa(i, t);
|
|
8075
8086
|
}
|
|
8076
8087
|
function tl() {
|
|
8077
8088
|
document.querySelectorAll("[data-kupola-table]").forEach((i) => {
|
|
@@ -8086,9 +8097,9 @@ function tl() {
|
|
|
8086
8097
|
});
|
|
8087
8098
|
}
|
|
8088
8099
|
E.register("table", we);
|
|
8089
|
-
class
|
|
8100
|
+
class ka {
|
|
8090
8101
|
constructor(t, e = {}) {
|
|
8091
|
-
this.element = typeof t == "string" ? document.querySelector(t) : t, this.options = e, this._current = e.current || 1, this._total = e.total || 0, this._pageSize = e.pageSize || 10, this._maxPages = e.maxPages || 7, this._showTotal = e.showTotal !== !1, this._showSizeChanger = e.showSizeChanger || !1, this._pageSizes = e.pageSizes || [10, 20, 50, 100], this._simple = e.simple || !1, this.current =
|
|
8102
|
+
this.element = typeof t == "string" ? document.querySelector(t) : t, this.options = e, this._current = e.current || 1, this._total = e.total || 0, this._pageSize = e.pageSize || 10, this._maxPages = e.maxPages || 7, this._showTotal = e.showTotal !== !1, this._showSizeChanger = e.showSizeChanger || !1, this._pageSizes = e.pageSizes || [10, 20, 50, 100], this._simple = e.simple || !1, this.current = T(this._current), this.total = T(this._total), this.onChange = e.onChange || null, this.onPageSizeChange = e.onPageSizeChange || null, this._init();
|
|
8092
8103
|
}
|
|
8093
8104
|
_init() {
|
|
8094
8105
|
this.element.classList.add("kupola-pagination"), this.render();
|
|
@@ -8187,7 +8198,7 @@ class wa {
|
|
|
8187
8198
|
}
|
|
8188
8199
|
}
|
|
8189
8200
|
let kt = !1;
|
|
8190
|
-
function
|
|
8201
|
+
function Ca() {
|
|
8191
8202
|
if (kt || typeof document > "u") return;
|
|
8192
8203
|
const i = document.createElement("style");
|
|
8193
8204
|
i.textContent = `
|
|
@@ -8207,10 +8218,10 @@ function ka() {
|
|
|
8207
8218
|
`, document.head.appendChild(i), kt = !0;
|
|
8208
8219
|
}
|
|
8209
8220
|
function el(i, t) {
|
|
8210
|
-
return
|
|
8221
|
+
return Ca(), new ka(i, t);
|
|
8211
8222
|
}
|
|
8212
8223
|
let Ct = !1;
|
|
8213
|
-
class
|
|
8224
|
+
class Sa extends HTMLElement {
|
|
8214
8225
|
static get observedAttributes() {
|
|
8215
8226
|
return ["open"];
|
|
8216
8227
|
}
|
|
@@ -8232,7 +8243,7 @@ class Ca extends HTMLElement {
|
|
|
8232
8243
|
}
|
|
8233
8244
|
}
|
|
8234
8245
|
}
|
|
8235
|
-
class
|
|
8246
|
+
class La extends HTMLElement {
|
|
8236
8247
|
static get observedAttributes() {
|
|
8237
8248
|
return ["title", "position"];
|
|
8238
8249
|
}
|
|
@@ -8247,7 +8258,7 @@ class Sa extends HTMLElement {
|
|
|
8247
8258
|
}
|
|
8248
8259
|
}
|
|
8249
8260
|
}
|
|
8250
|
-
class
|
|
8261
|
+
class Da extends HTMLElement {
|
|
8251
8262
|
connectedCallback() {
|
|
8252
8263
|
this._render();
|
|
8253
8264
|
}
|
|
@@ -8265,13 +8276,13 @@ class La extends HTMLElement {
|
|
|
8265
8276
|
}), this.innerHTML = "", this.appendChild(t);
|
|
8266
8277
|
}
|
|
8267
8278
|
}
|
|
8268
|
-
class
|
|
8279
|
+
class Ha extends HTMLElement {
|
|
8269
8280
|
static get observedAttributes() {
|
|
8270
8281
|
return ["title"];
|
|
8271
8282
|
}
|
|
8272
8283
|
// Content is read by parent <k-collapse> during its connectedCallback
|
|
8273
8284
|
}
|
|
8274
|
-
class
|
|
8285
|
+
class Ma extends HTMLElement {
|
|
8275
8286
|
static get observedAttributes() {
|
|
8276
8287
|
return ["position", "open"];
|
|
8277
8288
|
}
|
|
@@ -8289,7 +8300,7 @@ class Ha extends HTMLElement {
|
|
|
8289
8300
|
}
|
|
8290
8301
|
}
|
|
8291
8302
|
}
|
|
8292
|
-
class
|
|
8303
|
+
class Ia extends HTMLElement {
|
|
8293
8304
|
static get observedAttributes() {
|
|
8294
8305
|
return ["title", "open"];
|
|
8295
8306
|
}
|
|
@@ -8336,107 +8347,107 @@ function sl() {
|
|
|
8336
8347
|
if (Ct || typeof customElements > "u") return;
|
|
8337
8348
|
Ct = !0;
|
|
8338
8349
|
const i = [
|
|
8339
|
-
["k-dropdown",
|
|
8340
|
-
["k-tooltip",
|
|
8341
|
-
["k-collapse",
|
|
8342
|
-
["k-collapse-item",
|
|
8343
|
-
["k-drawer",
|
|
8344
|
-
["k-modal",
|
|
8350
|
+
["k-dropdown", Sa],
|
|
8351
|
+
["k-tooltip", La],
|
|
8352
|
+
["k-collapse", Da],
|
|
8353
|
+
["k-collapse-item", Ha],
|
|
8354
|
+
["k-drawer", Ma],
|
|
8355
|
+
["k-modal", Ia]
|
|
8345
8356
|
];
|
|
8346
8357
|
for (const [t, e] of i)
|
|
8347
8358
|
customElements.get(t) || customElements.define(t, e);
|
|
8348
8359
|
}
|
|
8349
8360
|
export {
|
|
8350
8361
|
X as BRAND_OPTIONS,
|
|
8351
|
-
|
|
8362
|
+
ya as CacheEntry,
|
|
8352
8363
|
ve as CacheManager,
|
|
8353
|
-
|
|
8364
|
+
Vr as Calendar,
|
|
8354
8365
|
Tr as Carousel,
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8366
|
+
Or as Collapse,
|
|
8367
|
+
Nr as ColorPicker,
|
|
8368
|
+
yr as ComponentInitializerRegistry,
|
|
8369
|
+
aa as Countdown,
|
|
8370
|
+
Sr as Datepicker,
|
|
8360
8371
|
F as DependsError,
|
|
8361
8372
|
U as DependsSource,
|
|
8362
8373
|
Lo as Dialog,
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8374
|
+
zr as Drawer,
|
|
8375
|
+
wr as Dropdown,
|
|
8376
|
+
Wr as DynamicTags,
|
|
8377
|
+
va as FetchedSource,
|
|
8378
|
+
Br as FileUpload,
|
|
8379
|
+
xa as FunctionSource,
|
|
8380
|
+
Er as GlobalEvents,
|
|
8381
|
+
Zr as Heatmap,
|
|
8371
8382
|
Vo as Icons,
|
|
8372
8383
|
he as ImagePreview,
|
|
8373
8384
|
G as KupolaComponent,
|
|
8374
|
-
|
|
8385
|
+
br as KupolaComponentRegistry,
|
|
8375
8386
|
ar as KupolaDataBind,
|
|
8376
8387
|
lr as KupolaEventBus,
|
|
8377
|
-
|
|
8388
|
+
fa as KupolaForm,
|
|
8378
8389
|
jt as KupolaI18n,
|
|
8379
8390
|
ht as KupolaLifecycle,
|
|
8380
|
-
|
|
8391
|
+
ka as KupolaPagination,
|
|
8381
8392
|
gt as KupolaStore,
|
|
8382
8393
|
or as KupolaStoreManager,
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8394
|
+
wa as KupolaTable,
|
|
8395
|
+
za as KupolaUtils,
|
|
8396
|
+
ea as KupolaValidator,
|
|
8386
8397
|
Mo as Message,
|
|
8387
8398
|
$ as Modal,
|
|
8388
8399
|
Do as Notification,
|
|
8389
|
-
|
|
8400
|
+
la as NumberInput,
|
|
8390
8401
|
me as PATHS,
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8402
|
+
ba as RouteSource,
|
|
8403
|
+
ga as Scheduler,
|
|
8404
|
+
kr as Select,
|
|
8405
|
+
ha as SlideCaptcha,
|
|
8406
|
+
Mr as Slider,
|
|
8407
|
+
jr as StatCard,
|
|
8408
|
+
Ea as StaticSource,
|
|
8398
8409
|
be as StorageSource,
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8410
|
+
Yr as Tag,
|
|
8411
|
+
Dr as Timepicker,
|
|
8412
|
+
Qr as Tooltip,
|
|
8413
|
+
sa as VirtualList,
|
|
8403
8414
|
xe as WebSocketSource,
|
|
8404
8415
|
Co as alertModal,
|
|
8405
8416
|
yt as applyMixin,
|
|
8406
8417
|
Fs as arrayUtils,
|
|
8407
8418
|
ja as bootstrapComponents,
|
|
8408
8419
|
_o as cleanupAllDropdowns,
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8420
|
+
pa as cleanupAllSlideCaptchas,
|
|
8421
|
+
Kr as cleanupCalendar,
|
|
8422
|
+
Ar as cleanupCarousel,
|
|
8423
|
+
Fr as cleanupCollapse,
|
|
8424
|
+
Rr as cleanupColorPicker,
|
|
8425
|
+
oa as cleanupCountdown,
|
|
8426
|
+
Lr as cleanupDatepicker,
|
|
8427
|
+
Pr as cleanupDrawer,
|
|
8417
8428
|
Zt as cleanupDropdown,
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8429
|
+
Ur as cleanupDynamicTags,
|
|
8430
|
+
qr as cleanupFileUpload,
|
|
8431
|
+
Gr as cleanupHeatmap,
|
|
8432
|
+
$r as cleanupModal,
|
|
8433
|
+
ca as cleanupNumberInput,
|
|
8434
|
+
Cr as cleanupSelect,
|
|
8435
|
+
ua as cleanupSlideCaptcha,
|
|
8436
|
+
Ir as cleanupSlider,
|
|
8437
|
+
Jr as cleanupStatCard,
|
|
8438
|
+
Xr as cleanupTag,
|
|
8439
|
+
Hr as cleanupTimepicker,
|
|
8440
|
+
ta as cleanupTooltip,
|
|
8441
|
+
na as cleanupVirtualList,
|
|
8431
8442
|
Qo as clearCache,
|
|
8432
8443
|
Xo as configureHttpClient,
|
|
8433
8444
|
ko as confirmModal,
|
|
8434
8445
|
Na as createBrandPicker,
|
|
8435
8446
|
Qa as createI18n,
|
|
8436
|
-
|
|
8447
|
+
Aa as createLifecycle,
|
|
8437
8448
|
ie as createModal,
|
|
8438
8449
|
Ee as createSource,
|
|
8439
|
-
|
|
8450
|
+
$a as createStore,
|
|
8440
8451
|
Fa as createThemeToggle,
|
|
8441
8452
|
Zn as cryptoUtils,
|
|
8442
8453
|
hn as dateUtils,
|
|
@@ -8453,22 +8464,22 @@ export {
|
|
|
8453
8464
|
qa as getBasePath,
|
|
8454
8465
|
J as getBrand,
|
|
8455
8466
|
dt as getConfig,
|
|
8456
|
-
|
|
8457
|
-
|
|
8467
|
+
dr as getDefaultBrand,
|
|
8468
|
+
hr as getDefaultTheme,
|
|
8458
8469
|
Uo as getFormInstance,
|
|
8459
8470
|
jo as getHttpClient,
|
|
8460
8471
|
Oa as getHttpConfig,
|
|
8461
8472
|
Wt as getIconsPath,
|
|
8462
8473
|
mo as getListenerCount,
|
|
8463
8474
|
io as getLocale,
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8475
|
+
pr as getMessageConfig,
|
|
8476
|
+
fr as getNotificationConfig,
|
|
8477
|
+
ur as getPerformanceConfig,
|
|
8467
8478
|
st as getSecurityConfig,
|
|
8468
|
-
|
|
8479
|
+
Ba as getStore,
|
|
8469
8480
|
R as getTheme,
|
|
8470
8481
|
j as getUiConfig,
|
|
8471
|
-
|
|
8482
|
+
mr as getValidationConfig,
|
|
8472
8483
|
H as globalEvents,
|
|
8473
8484
|
tl as initAllTables,
|
|
8474
8485
|
le as initCalendar,
|
|
@@ -8490,12 +8501,12 @@ export {
|
|
|
8490
8501
|
ce as initDynamicTags,
|
|
8491
8502
|
$o as initDynamicTagsAll,
|
|
8492
8503
|
re as initFileUpload,
|
|
8493
|
-
|
|
8494
|
-
|
|
8504
|
+
To as initFileUploads,
|
|
8505
|
+
ma as initFormValidation,
|
|
8495
8506
|
pe as initHeatmap,
|
|
8496
8507
|
No as initHeatmaps,
|
|
8497
8508
|
Bo as initImagePreview,
|
|
8498
|
-
|
|
8509
|
+
Io as initMessages,
|
|
8499
8510
|
ne as initModal,
|
|
8500
8511
|
So as initModals,
|
|
8501
8512
|
Ho as initNotifications,
|
|
@@ -8504,7 +8515,7 @@ export {
|
|
|
8504
8515
|
el as initPagination,
|
|
8505
8516
|
Gt as initSelect,
|
|
8506
8517
|
yo as initSelects,
|
|
8507
|
-
|
|
8518
|
+
da as initSlideCaptchas,
|
|
8508
8519
|
ee as initSlider,
|
|
8509
8520
|
xo as initSliders,
|
|
8510
8521
|
ue as initStatCard,
|
|
@@ -8512,15 +8523,15 @@ export {
|
|
|
8512
8523
|
we as initTable,
|
|
8513
8524
|
de as initTag,
|
|
8514
8525
|
Oo as initTags,
|
|
8515
|
-
|
|
8526
|
+
_r as initTheme,
|
|
8516
8527
|
te as initTimepicker,
|
|
8517
8528
|
bo as initTimepickers,
|
|
8518
8529
|
fe as initTooltip,
|
|
8519
8530
|
Ro as initTooltips,
|
|
8520
|
-
|
|
8531
|
+
ia as initVirtualList,
|
|
8521
8532
|
vt as kupolaBootstrap,
|
|
8522
8533
|
O as kupolaData,
|
|
8523
|
-
|
|
8534
|
+
Pa as kupolaEvents,
|
|
8524
8535
|
N as kupolaI18n,
|
|
8525
8536
|
E as kupolaInitializer,
|
|
8526
8537
|
Ta as kupolaLifecycle,
|
|
@@ -8536,7 +8547,7 @@ export {
|
|
|
8536
8547
|
oo as on,
|
|
8537
8548
|
lo as once,
|
|
8538
8549
|
nr as preloadUtils,
|
|
8539
|
-
|
|
8550
|
+
T as ref,
|
|
8540
8551
|
Ya as registerComponent,
|
|
8541
8552
|
Xa as registerLazyComponent,
|
|
8542
8553
|
sl as registerWebComponents,
|
|
@@ -8544,7 +8555,7 @@ export {
|
|
|
8544
8555
|
Jo as resetHttpClient,
|
|
8545
8556
|
Ra as sanitizeHtml,
|
|
8546
8557
|
ot as setBrand,
|
|
8547
|
-
|
|
8558
|
+
cr as setConfig,
|
|
8548
8559
|
so as setLocale,
|
|
8549
8560
|
at as setTheme,
|
|
8550
8561
|
qo as showImagePreview,
|