master-components-react 3.5.31 → 3.5.32
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.
|
@@ -644,8 +644,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
644
644
|
function Ha(X, Se, Le) {
|
|
645
645
|
return Yo(X, Se, Le, !1);
|
|
646
646
|
}
|
|
647
|
-
var q = Ha,
|
|
648
|
-
sl.Fragment = n, sl.jsx = q, sl.jsxs =
|
|
647
|
+
var q = Ha, Ee = al;
|
|
648
|
+
sl.Fragment = n, sl.jsx = q, sl.jsxs = Ee;
|
|
649
649
|
}()), sl;
|
|
650
650
|
}
|
|
651
651
|
process.env.NODE_ENV === "production" ? g_.exports = iB() : g_.exports = nB();
|
|
@@ -1441,32 +1441,32 @@ const rB = ({ loadingColor: e }) => /* @__PURE__ */ T.jsxs(
|
|
|
1441
1441
|
treeProps: F,
|
|
1442
1442
|
theme: L = "light"
|
|
1443
1443
|
}) => {
|
|
1444
|
-
const [Z, pe] = We(!1), [_e, le] = We(!1), [we, Re] = We([]), [Te, Ve] = We(""), [ct, it] = We(""), Je = qe([]), di = qe(null), Yt = qe(null), zt = qe({}), gt = qe([]), Pi = (q,
|
|
1444
|
+
const [Z, pe] = We(!1), [_e, le] = We(!1), [we, Re] = We([]), [Te, Ve] = We(""), [ct, it] = We(""), Je = qe([]), di = qe(null), Yt = qe(null), zt = qe({}), gt = qe([]), Pi = (q, Ee) => {
|
|
1445
1445
|
const X = /* @__PURE__ */ new Set();
|
|
1446
|
-
return q.filter((Se) => X.has(Se[
|
|
1446
|
+
return q.filter((Se) => X.has(Se[Ee]) ? !1 : (X.add(Se[Ee]), !0));
|
|
1447
1447
|
}, Fi = (q) => {
|
|
1448
|
-
var
|
|
1449
|
-
zt.current = q, Ve((
|
|
1448
|
+
var Ee;
|
|
1449
|
+
zt.current = q, Ve((Ee = zt.current) == null ? void 0 : Ee.label), W && typeof W == "function" && W(zt.current), le(!1);
|
|
1450
1450
|
}, Tt = (q) => {
|
|
1451
|
-
Je.current = [...Je.current, ...H.filter((
|
|
1451
|
+
Je.current = [...Je.current, ...H.filter((Ee) => Ee.selected == !0), ...H.filter((Ee) => Ee.id === q.id)], q.selected = !q.selected, Je.current = Pi(Je.current, "id").filter((Ee) => Ee.selected), W && typeof W == "function" && W(Je.current), D || Ve(Je.current.map((Ee) => Ee.label).join(", ")), pe((Ee) => !Ee);
|
|
1452
1452
|
}, je = (q) => {
|
|
1453
|
-
q.stopPropagation(), z || h ? c && (it(""), gt.current = H, pe((
|
|
1453
|
+
q.stopPropagation(), z || h ? c && (it(""), gt.current = H, pe((Ee) => !Ee)) : (Je.current = [], U = null, H && H.length > 0 && H.forEach((Ee) => Ee.selected = !1), ft(""), zt.current = {}, W({}), Ve("")), Y && typeof Y == "function" && Y("");
|
|
1454
1454
|
}, ft = (q) => {
|
|
1455
1455
|
if (Y && typeof Y == "function" && Y(q), z && c) {
|
|
1456
|
-
let
|
|
1456
|
+
let Ee = H, X = Ee.filter((Se) => {
|
|
1457
1457
|
var Le;
|
|
1458
1458
|
return (Le = Se == null ? void 0 : Se.label) == null ? void 0 : Le.toLowerCase().includes((q == null ? void 0 : q.toLowerCase()) || "");
|
|
1459
1459
|
});
|
|
1460
|
-
gt.current = (q == null ? void 0 : q.length) > 0 ? X :
|
|
1460
|
+
gt.current = (q == null ? void 0 : q.length) > 0 ? X : Ee, it(q), pe((Se) => !Se);
|
|
1461
1461
|
} else
|
|
1462
1462
|
it(q), Ve(q);
|
|
1463
1463
|
}, Ci = () => {
|
|
1464
1464
|
if (U || U === 0) {
|
|
1465
|
-
let q = H.filter((
|
|
1466
|
-
q && q[0] && (zt.current = q[0], ie ? (Y && typeof Y == "function" && Y(zt.current.label), Ve(zt.current.label), te && le((
|
|
1465
|
+
let q = H.filter((Ee) => Number(Ee.id) === Number(U));
|
|
1466
|
+
q && q[0] && (zt.current = q[0], ie ? (Y && typeof Y == "function" && Y(zt.current.label), Ve(zt.current.label), te && le((Ee) => !1)) : Fi(q[0]));
|
|
1467
1467
|
}
|
|
1468
1468
|
}, [Mi, He] = We(!1), pt = (q) => {
|
|
1469
|
-
let
|
|
1469
|
+
let Ee = di.current.querySelector("ul"), Se = Math.abs(Ee.scrollTop + Ee.clientHeight - Ee.scrollHeight) <= 2;
|
|
1470
1470
|
x && Se && !Mi && (d && typeof d == "function" && d(!0), He(!0)), Se || He(!1);
|
|
1471
1471
|
}, Qt = () => {
|
|
1472
1472
|
H.forEach((q) => {
|
|
@@ -1487,8 +1487,8 @@ const rB = ({ loadingColor: e }) => /* @__PURE__ */ T.jsxs(
|
|
|
1487
1487
|
const Sr = () => {
|
|
1488
1488
|
g && typeof g == "function" && g();
|
|
1489
1489
|
}, wr = (q) => q, Ko = (q) => {
|
|
1490
|
-
let
|
|
1491
|
-
return j && q && !q.toLowerCase().split(" ").join("").trim().includes(X.toLowerCase().split(" ").join("").trim()) && X.trim() !== "" && (
|
|
1490
|
+
let Ee = !0, X = Te;
|
|
1491
|
+
return j && q && !q.toLowerCase().split(" ").join("").trim().includes(X.toLowerCase().split(" ").join("").trim()) && X.trim() !== "" && (Ee = !1), ct.length > 0 && q === "-" ? "hidden" : Ee ? "visible" : "hidden";
|
|
1492
1492
|
}, jo = (q) => {
|
|
1493
1493
|
q.composedPath().includes(di.current) || le(!1);
|
|
1494
1494
|
}, qo = (q) => {
|
|
@@ -1497,14 +1497,14 @@ const rB = ({ loadingColor: e }) => /* @__PURE__ */ T.jsxs(
|
|
|
1497
1497
|
le(!1);
|
|
1498
1498
|
}
|
|
1499
1499
|
}, $a = () => {
|
|
1500
|
-
const q = di.current,
|
|
1501
|
-
if (!
|
|
1500
|
+
const q = di.current, Ee = Yt.current;
|
|
1501
|
+
if (!Ee || !q) return;
|
|
1502
1502
|
const X = q.getBoundingClientRect(), Se = window.innerHeight;
|
|
1503
|
-
$ ? (
|
|
1503
|
+
$ ? (Ee.style.position = "fixed", Ee.style.width = X.width + "px", Ee.style.left = `${X.left + window.pageXOffset}px`, X.bottom + Ee.offsetHeight > Se ? (Ee.style.top = `${window.scrollY + X.top - Ee.offsetHeight - 8}px`, Ee.style.bottom = "unset") : (Ee.style.top = `${window.scrollY + X.bottom}px`, Ee.style.bottom = "unset")) : X.bottom > Se ? (Ee.style.top = "unset", Ee.style.bottom = "calc(100% + 8px)") : (Ee.style.bottom = "unset", Ee.style.top = "calc(100% + 8px)");
|
|
1504
1504
|
}, Yo = (q) => {
|
|
1505
1505
|
Je.current = q, W && typeof W == "function" && W(q);
|
|
1506
|
-
}, al = (q,
|
|
1507
|
-
m && typeof m == "function" && m(q,
|
|
1506
|
+
}, al = (q, Ee) => {
|
|
1507
|
+
m && typeof m == "function" && m(q, Ee);
|
|
1508
1508
|
}, Ha = qe(null);
|
|
1509
1509
|
return et(() => {
|
|
1510
1510
|
_e && Ha.current && Ha.current.focus();
|
|
@@ -1560,11 +1560,11 @@ const rB = ({ loadingColor: e }) => /* @__PURE__ */ T.jsxs(
|
|
|
1560
1560
|
] }) : /* @__PURE__ */ T.jsx(T.Fragment, { children: J && /* @__PURE__ */ T.jsx("div", { style: { display: "grid", alignItems: "center", marginRight: "0.5rem" }, children: wr(J) }) }),
|
|
1561
1561
|
!D && (h || z) && r && !_e && Je.current.length === 0 && /* @__PURE__ */ T.jsx("span", { className: ri.placeHolder, style: de ?? {}, children: r ?? "" }),
|
|
1562
1562
|
(z || h) && /* @__PURE__ */ T.jsx("div", { className: ri.selectedTags, style: me ?? {}, children: !D && !_e ? /* @__PURE__ */ T.jsxs("div", { style: { display: "flex", alignItems: "center", justifyContent: "flex-start", width: "100%" }, children: [
|
|
1563
|
-
Je.current.slice(0, 3).map((q,
|
|
1563
|
+
Je.current.slice(0, 3).map((q, Ee) => {
|
|
1564
1564
|
let X = Je.current[Je.current.length - 1];
|
|
1565
1565
|
return /* @__PURE__ */ T.jsxs("span", { className: ri.selectedList, style: ne ?? {}, children: [
|
|
1566
1566
|
q.label,
|
|
1567
|
-
q.id !== X.id &&
|
|
1567
|
+
q.id !== X.id && Ee !== 2 ? "," : "",
|
|
1568
1568
|
" "
|
|
1569
1569
|
] }, q == null ? void 0 : q.id);
|
|
1570
1570
|
}),
|
|
@@ -1618,12 +1618,12 @@ const rB = ({ loadingColor: e }) => /* @__PURE__ */ T.jsxs(
|
|
|
1618
1618
|
treeProps: F
|
|
1619
1619
|
}
|
|
1620
1620
|
) : /* @__PURE__ */ T.jsx("ul", { onScroll: (q) => pt(), onClick: (q) => q.stopPropagation(), className: ri.dropdownList, style: re ?? {}, children: (z && j ? gt.current : H).map((q) => {
|
|
1621
|
-
var
|
|
1621
|
+
var Ee, X, Se, Le;
|
|
1622
1622
|
return /* @__PURE__ */ T.jsxs(
|
|
1623
1623
|
"li",
|
|
1624
1624
|
{
|
|
1625
1625
|
style: oe ?? {},
|
|
1626
|
-
className: `${!z && c ? ri[Ko((q == null ? void 0 : q.label) ?? "-")] : ""} ${!(q != null && q.label) || q.label === void 0 || q != null && q.disabled ? ri.disabled : ""} ${(z ? q.selected : (
|
|
1626
|
+
className: `${!z && c ? ri[Ko((q == null ? void 0 : q.label) ?? "-")] : ""} ${!(q != null && q.label) || q.label === void 0 || q != null && q.disabled ? ri.disabled : ""} ${(z ? q.selected : (Ee = zt.current) != null && Ee.id && ((X = zt.current) == null ? void 0 : X.id) === q.id) ? ri.selected : ""}`,
|
|
1627
1627
|
onClick: () => {
|
|
1628
1628
|
z ? Tt(q) : Fi(q);
|
|
1629
1629
|
},
|
|
@@ -3633,7 +3633,7 @@ var fe = {}, gM = {
|
|
|
3633
3633
|
return Fn(e) === "date";
|
|
3634
3634
|
}, w = function(e) {
|
|
3635
3635
|
return e != null;
|
|
3636
|
-
},
|
|
3636
|
+
}, Ie = function(e) {
|
|
3637
3637
|
return typeof e == "function";
|
|
3638
3638
|
}, Me = function(e) {
|
|
3639
3639
|
return typeof e == "string";
|
|
@@ -3658,9 +3658,9 @@ var fe = {}, gM = {
|
|
|
3658
3658
|
}, Cn = function(e) {
|
|
3659
3659
|
return !!e && !!(e.jquery || e.dxRenderer);
|
|
3660
3660
|
}, Lu = function(e) {
|
|
3661
|
-
return !!e &&
|
|
3661
|
+
return !!e && Ie(e.then);
|
|
3662
3662
|
}, Km = function(e) {
|
|
3663
|
-
return !!e &&
|
|
3663
|
+
return !!e && Ie(e.done) && Ie(e.fail);
|
|
3664
3664
|
}, CM = function(e) {
|
|
3665
3665
|
return !!(e && e.preventDefault);
|
|
3666
3666
|
}, RI = function(e, t, i) {
|
|
@@ -3703,7 +3703,7 @@ var fe = {}, gM = {
|
|
|
3703
3703
|
}
|
|
3704
3704
|
}, yM = function() {
|
|
3705
3705
|
}, Rf = function(e) {
|
|
3706
|
-
return typeof console > "u" || !
|
|
3706
|
+
return typeof console > "u" || !Ie(console[e]) ? yM : console[e].bind(console);
|
|
3707
3707
|
}, Pu = {
|
|
3708
3708
|
info: Rf("info"),
|
|
3709
3709
|
warn: Rf("warn"),
|
|
@@ -3736,7 +3736,7 @@ var fe = {}, gM = {
|
|
|
3736
3736
|
function Yr(e) {
|
|
3737
3737
|
for (var t = arguments.length, i = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
3738
3738
|
i[n - 1] = arguments[n];
|
|
3739
|
-
return
|
|
3739
|
+
return Ie(e) ? e(...i) : (i.forEach((r, a) => {
|
|
3740
3740
|
Me(r) && (r = r.replace(/\$/g, "$$$$"));
|
|
3741
3741
|
var o = new RegExp("\\{" + a + "\\}", "gm");
|
|
3742
3742
|
e = e.replace(o, r);
|
|
@@ -3901,7 +3901,7 @@ rt.abstract = kI;
|
|
|
3901
3901
|
function Vn(e) {
|
|
3902
3902
|
var t = rt.inherit(e), i = t, n = new i(e), r = {}, a = function(o, s) {
|
|
3903
3903
|
M(o, function(l) {
|
|
3904
|
-
|
|
3904
|
+
Ie(n[l]) ? (s || !e[l]) && (e[l] = function() {
|
|
3905
3905
|
return n[l].apply(e, arguments);
|
|
3906
3906
|
}) : (s && (r[l] = e[l]), e[l] = n[l]);
|
|
3907
3907
|
});
|
|
@@ -4200,14 +4200,14 @@ var wt = function(e) {
|
|
|
4200
4200
|
if (a && Ne(o) && !(l in o))
|
|
4201
4201
|
return n.defaultValue;
|
|
4202
4202
|
var u = _u(o[l], n);
|
|
4203
|
-
!r &&
|
|
4203
|
+
!r && Ie(u) && (u = u.call(o)), o = u;
|
|
4204
4204
|
}
|
|
4205
4205
|
return o;
|
|
4206
4206
|
};
|
|
4207
4207
|
}
|
|
4208
4208
|
if (Array.isArray(e))
|
|
4209
4209
|
return VM(e);
|
|
4210
|
-
if (
|
|
4210
|
+
if (Ie(e))
|
|
4211
4211
|
return e;
|
|
4212
4212
|
};
|
|
4213
4213
|
function VM(e) {
|
|
@@ -4241,7 +4241,7 @@ var ay = function(e, t, i, n) {
|
|
|
4241
4241
|
r = FI(r);
|
|
4242
4242
|
var a = _u(i, r);
|
|
4243
4243
|
e.forEach(function(o, s) {
|
|
4244
|
-
var l = MM(a, o, r), u = !r.functionsAsIs &&
|
|
4244
|
+
var l = MM(a, o, r), u = !r.functionsAsIs && Ie(l) && !LI(l);
|
|
4245
4245
|
s === t ? r.merge && Ye(n) && (!w(l) || Ye(l)) ? (l = ay(a, o, l, r), sr(l, n, !1, !0)) : u ? a[o](n) : PI(a, o, n, r) : (l = ay(a, o, l, r), u && (l = l.call(a)), a = l);
|
|
4246
4246
|
});
|
|
4247
4247
|
};
|
|
@@ -4257,7 +4257,7 @@ var ay = function(e, t, i, n) {
|
|
|
4257
4257
|
}
|
|
4258
4258
|
}, a = function() {
|
|
4259
4259
|
var s = e.call(n);
|
|
4260
|
-
s && s.done &&
|
|
4260
|
+
s && s.done && Ie(s.done) ? s.done(function() {
|
|
4261
4261
|
i.resolveWith(n);
|
|
4262
4262
|
}) : i.resolveWith(n);
|
|
4263
4263
|
}, o = (arguments[2] || setTimeout)(a, typeof t == "number" ? t : 0);
|
|
@@ -4801,7 +4801,7 @@ function lV(e, t) {
|
|
|
4801
4801
|
var i = eV[e] || e;
|
|
4802
4802
|
(function(n, r) {
|
|
4803
4803
|
return n === "click" && r.localName === "a";
|
|
4804
|
-
})(e, t) ||
|
|
4804
|
+
})(e, t) || Ie(t[i]) && (Xc = e, t[i](), Xc = void 0);
|
|
4805
4805
|
}
|
|
4806
4806
|
function uV(e) {
|
|
4807
4807
|
return function(t) {
|
|
@@ -5407,7 +5407,7 @@ ze.prototype.text = function(e) {
|
|
|
5407
5407
|
t += this[i] && this[i].textContent || "";
|
|
5408
5408
|
return t;
|
|
5409
5409
|
}
|
|
5410
|
-
var n =
|
|
5410
|
+
var n = Ie(e) ? e() : e;
|
|
5411
5411
|
return Mu(this[0], !1), ve.setText(this[0], w(n) ? n : ""), this;
|
|
5412
5412
|
};
|
|
5413
5413
|
ze.prototype.val = function(e) {
|
|
@@ -5457,7 +5457,7 @@ ze.prototype.filter = function(e) {
|
|
|
5457
5457
|
ve.elementMatches(n, e) && t.push(n);
|
|
5458
5458
|
else if (ve.isNode(e) || Jt(e))
|
|
5459
5459
|
e === n && t.push(n);
|
|
5460
|
-
else if (
|
|
5460
|
+
else if (Ie(e))
|
|
5461
5461
|
e.call(n, i, n) && t.push(n);
|
|
5462
5462
|
else
|
|
5463
5463
|
for (var r = 0; r < e.length; r++)
|
|
@@ -5805,7 +5805,7 @@ ln.registerExecutor({
|
|
|
5805
5805
|
},
|
|
5806
5806
|
func: {
|
|
5807
5807
|
execute: (e) => {
|
|
5808
|
-
|
|
5808
|
+
Ie(e.action) && (e.result = e.action.call(e.context, e.args[0]), e.handled = !0);
|
|
5809
5809
|
}
|
|
5810
5810
|
}
|
|
5811
5811
|
});
|
|
@@ -5865,7 +5865,7 @@ class Bo {
|
|
|
5865
5865
|
this._events = {}, this._owner = t, this._options = i;
|
|
5866
5866
|
}
|
|
5867
5867
|
static create(t, i) {
|
|
5868
|
-
return i ?
|
|
5868
|
+
return i ? Ie(i) ? i(t) : i : new Bo(t);
|
|
5869
5869
|
}
|
|
5870
5870
|
hasEvent(t) {
|
|
5871
5871
|
var i = this._events[t];
|
|
@@ -5891,7 +5891,7 @@ class Bo {
|
|
|
5891
5891
|
}
|
|
5892
5892
|
off(t, i) {
|
|
5893
5893
|
var n = this._events[t];
|
|
5894
|
-
n && (
|
|
5894
|
+
n && (Ie(i) ? n.remove(i) : n.empty());
|
|
5895
5895
|
}
|
|
5896
5896
|
dispose() {
|
|
5897
5897
|
M(this._events, (t, i) => {
|
|
@@ -6106,7 +6106,7 @@ var $f = {}, Hs = (e) => {
|
|
|
6106
6106
|
var {
|
|
6107
6107
|
device: r,
|
|
6108
6108
|
options: a
|
|
6109
|
-
} = n, o = r || {}, s =
|
|
6109
|
+
} = n, o = r || {}, s = Ie(o) ? o(t) : zV(t, o);
|
|
6110
6110
|
return s && k(!0, i, a), i;
|
|
6111
6111
|
}, {});
|
|
6112
6112
|
}, WV = (e, t) => typeof e != "string" ? e : {
|
|
@@ -6252,7 +6252,7 @@ class jV {
|
|
|
6252
6252
|
this._endChangeCallback = t;
|
|
6253
6253
|
}
|
|
6254
6254
|
isInitial(t) {
|
|
6255
|
-
var i = this.silent(t), n = this.initial(t), r =
|
|
6255
|
+
var i = this.silent(t), n = this.initial(t), r = Ie(i) && Ie(n);
|
|
6256
6256
|
return r ? i.toString() === n.toString() : Pt(i, n);
|
|
6257
6257
|
}
|
|
6258
6258
|
initial(t) {
|
|
@@ -6515,7 +6515,7 @@ var wy = (e) => e.charAt(2).toLowerCase() + e.substr(3), YV = (e) => e.indexOf("
|
|
|
6515
6515
|
},
|
|
6516
6516
|
_getOptionValue(e, t) {
|
|
6517
6517
|
var i = this.option(e);
|
|
6518
|
-
return
|
|
6518
|
+
return Ie(i) ? i.bind(t)() : i;
|
|
6519
6519
|
},
|
|
6520
6520
|
option() {
|
|
6521
6521
|
return this._options.option(...arguments);
|
|
@@ -6757,7 +6757,7 @@ var aN = function(e) {
|
|
|
6757
6757
|
}, dN = (e) => typeof e == "string" ? zh(e) : e, Ty = (e) => Cn(e) && e[0] || e, cN = (e) => new rN(e), hN = (e, t, i, n) => {
|
|
6758
6758
|
var r = null;
|
|
6759
6759
|
return (!n || n.indexOf(e) === -1) && (r = t[e], r && !(r instanceof Po) && !i && (r = fT(r))), r;
|
|
6760
|
-
}, Ay = (e, t, i, n, r, a) => e == null ? new ho() : e instanceof Gh ? a[e.name] : e instanceof Po ? e :
|
|
6760
|
+
}, Ay = (e, t, i, n, r, a) => e == null ? new ho() : e instanceof Gh ? a[e.name] : e instanceof Po ? e : Ie(e.render) && !Cn(e) ? n ? e : fT(e) : e.nodeType || Cn(e) ? t(v(e)) : hN(e, i, n, r) || a[e] || t(e), fN = 3, pN = "template", vN = "dxTemplate", _N = "dx-template-wrapper", mN = new Ws((e) => {
|
|
6761
6761
|
var {
|
|
6762
6762
|
model: t,
|
|
6763
6763
|
parent: i
|
|
@@ -6846,7 +6846,7 @@ class Dy {
|
|
|
6846
6846
|
isAsyncTemplate: a,
|
|
6847
6847
|
skipTemplates: o
|
|
6848
6848
|
} = n;
|
|
6849
|
-
return
|
|
6849
|
+
return Ie(t) ? new Ws((s) => {
|
|
6850
6850
|
var l = t.apply(r, uN(s));
|
|
6851
6851
|
if (!w(l))
|
|
6852
6852
|
return new ho();
|
|
@@ -7194,7 +7194,7 @@ var ky = {
|
|
|
7194
7194
|
_getSynchronizableOptionsForCreateComponent: () => ["rtlEnabled", "disabled", "templatesRenderAsynchronously"],
|
|
7195
7195
|
_checkFunctionValueDeprecation: function(e) {
|
|
7196
7196
|
this.option("_ignoreFunctionValueDeprecation") || e.forEach((t) => {
|
|
7197
|
-
|
|
7197
|
+
Ie(this.option(t)) && St.log("W0017", t);
|
|
7198
7198
|
});
|
|
7199
7199
|
},
|
|
7200
7200
|
_visibilityChanged: yd,
|
|
@@ -9922,7 +9922,7 @@ var wg = function(e) {
|
|
|
9922
9922
|
for (var n = 0; n < t.length; n++)
|
|
9923
9923
|
t[n] = parseFloat(t[n]);
|
|
9924
9924
|
var r = i || "cubicbezier_" + t.join("_").replace(/\./g, "p");
|
|
9925
|
-
return
|
|
9925
|
+
return Ie(N_[r]) || (N_[r] = function(a, o, s, l, u) {
|
|
9926
9926
|
return l * L$(t[0], t[1], t[2], t[3])(o / u) + s;
|
|
9927
9927
|
}), r;
|
|
9928
9928
|
};
|
|
@@ -10469,7 +10469,7 @@ var nH = function(e) {
|
|
|
10469
10469
|
stop: aH,
|
|
10470
10470
|
deferred: new se()
|
|
10471
10471
|
};
|
|
10472
|
-
return
|
|
10472
|
+
return Ie(r.validateConfig) && r.validateConfig(n), oH(o), o;
|
|
10473
10473
|
}, sH = function(e, t) {
|
|
10474
10474
|
var i = v(e);
|
|
10475
10475
|
if (!i.length)
|
|
@@ -10518,7 +10518,7 @@ function G_(e, t) {
|
|
|
10518
10518
|
function U_(e, t) {
|
|
10519
10519
|
M(t, function(i, n) {
|
|
10520
10520
|
try {
|
|
10521
|
-
e.css(i,
|
|
10521
|
+
e.css(i, Ie(n) ? n() : n);
|
|
10522
10522
|
} catch {
|
|
10523
10523
|
}
|
|
10524
10524
|
});
|
|
@@ -11113,7 +11113,7 @@ var Xn = gi.inherit({
|
|
|
11113
11113
|
}, this.warnPositionAsFunction();
|
|
11114
11114
|
},
|
|
11115
11115
|
warnPositionAsFunction() {
|
|
11116
|
-
|
|
11116
|
+
Ie(this.option("position")) && St.log("W0018");
|
|
11117
11117
|
},
|
|
11118
11118
|
_initInnerOverlayClass: function() {
|
|
11119
11119
|
this._$content.toggleClass(d0, this.option("innerOverlay"));
|
|
@@ -11160,7 +11160,7 @@ var Xn = gi.inherit({
|
|
|
11160
11160
|
var {
|
|
11161
11161
|
hideOnOutsideClick: t
|
|
11162
11162
|
} = this.option();
|
|
11163
|
-
return
|
|
11163
|
+
return Ie(t) ? t(e) : t;
|
|
11164
11164
|
},
|
|
11165
11165
|
_outsideClickHandler(e) {
|
|
11166
11166
|
this.option("shading") && e.preventDefault(), this.hide();
|
|
@@ -11363,7 +11363,7 @@ var Xn = gi.inherit({
|
|
|
11363
11363
|
},
|
|
11364
11364
|
_hideOnParentsScrollHandler: function(e) {
|
|
11365
11365
|
var t = !1, i = this.option("hideOnParentScroll");
|
|
11366
|
-
|
|
11366
|
+
Ie(i) && (t = i(e)), !t && !this._showAnimationProcessing && this.hide();
|
|
11367
11367
|
},
|
|
11368
11368
|
_hideOnParentScrollTarget: function() {
|
|
11369
11369
|
return this._$wrapper;
|
|
@@ -11752,7 +11752,7 @@ var zH = Cr.add, rA = "DEVEXTREME_XHR_ERROR_UNLOAD", GH = function(e) {
|
|
|
11752
11752
|
}, Xr = function(e) {
|
|
11753
11753
|
return Array.isArray(e) || (e = [e]), ni(e, function(t) {
|
|
11754
11754
|
var i = {
|
|
11755
|
-
selector:
|
|
11755
|
+
selector: Ie(t) || typeof t == "string" ? t : t.getter || t.field || t.selector,
|
|
11756
11756
|
desc: !!(t.desc || String(t.dir).charAt(0).toLowerCase() === "d")
|
|
11757
11757
|
};
|
|
11758
11758
|
return t.compare && (i.compare = t.compare), i;
|
|
@@ -11843,7 +11843,7 @@ var Ku = function(e, t, i) {
|
|
|
11843
11843
|
return e === "and" || e === "or";
|
|
11844
11844
|
}, XH = function(e) {
|
|
11845
11845
|
var t = e[0], i = e[1];
|
|
11846
|
-
return !!(Array.isArray(t) ||
|
|
11846
|
+
return !!(Array.isArray(t) || Ie(t) && (Array.isArray(i) || Ie(i) || YH(i)));
|
|
11847
11847
|
}, Bs = function() {
|
|
11848
11848
|
var e = new se();
|
|
11849
11849
|
return e.resolve.apply(e, arguments).promise();
|
|
@@ -11856,7 +11856,7 @@ function ZH(e, t) {
|
|
|
11856
11856
|
return function() {
|
|
11857
11857
|
return n = arguments, i || (i = setTimeout(() => {
|
|
11858
11858
|
i = void 0, n && e.call(this, n);
|
|
11859
|
-
},
|
|
11859
|
+
}, Ie(t) ? t() : t)), i;
|
|
11860
11860
|
};
|
|
11861
11861
|
}
|
|
11862
11862
|
function JH(e, t) {
|
|
@@ -14136,10 +14136,10 @@ var A4 = 0, D4 = typeof Intl < "u", sp = {
|
|
|
14136
14136
|
D4 && Ze.inject(T4);
|
|
14137
14137
|
const EA = Vn({
|
|
14138
14138
|
format: function(e, t) {
|
|
14139
|
-
var i = Me(t) && t !== "" || Ye(t) ||
|
|
14139
|
+
var i = Me(t) && t !== "" || Ye(t) || Ie(t), n = It(e) || Gi(e);
|
|
14140
14140
|
if (!i || !n)
|
|
14141
14141
|
return w(e) ? e.toString() : "";
|
|
14142
|
-
if (
|
|
14142
|
+
if (Ie(t))
|
|
14143
14143
|
return t(e);
|
|
14144
14144
|
if (Me(t) && (t = {
|
|
14145
14145
|
type: t
|
|
@@ -14508,10 +14508,10 @@ var Yu = rt.inherit({
|
|
|
14508
14508
|
};
|
|
14509
14509
|
}
|
|
14510
14510
|
return function(i) {
|
|
14511
|
-
return
|
|
14511
|
+
return Ie(i) ? i : XH(i) ? function(n) {
|
|
14512
14512
|
var r = [], a = !1, o = !1;
|
|
14513
14513
|
return M(n, function() {
|
|
14514
|
-
if (Array.isArray(this) ||
|
|
14514
|
+
if (Array.isArray(this) || Ie(this)) {
|
|
14515
14515
|
if (r.length > 1 && a !== o)
|
|
14516
14516
|
throw new li.Error("E4019");
|
|
14517
14517
|
r.push(im(this)), a = o, o = !0;
|
|
@@ -14676,7 +14676,7 @@ var Yu = rt.inherit({
|
|
|
14676
14676
|
}, a = function(u) {
|
|
14677
14677
|
return r(kg[u]);
|
|
14678
14678
|
}, o = function(u) {
|
|
14679
|
-
return !
|
|
14679
|
+
return !Ie(u) && !Array.isArray(u) && (u = [].slice.call(arguments)), l(new $4(t, u));
|
|
14680
14680
|
}, s = function(u) {
|
|
14681
14681
|
return o(wt(u));
|
|
14682
14682
|
};
|
|
@@ -14888,13 +14888,13 @@ pr.inherit = /* @__PURE__ */ function(e) {
|
|
|
14888
14888
|
}(pr.inherit);
|
|
14889
14889
|
var RA = "totalCount", rm = "load", kA = "byKey", O0 = "insert", R0 = "update", k0 = "remove";
|
|
14890
14890
|
function Ps(e) {
|
|
14891
|
-
return e &&
|
|
14891
|
+
return e && Ie(e.then);
|
|
14892
14892
|
}
|
|
14893
14893
|
function po(e) {
|
|
14894
14894
|
return new se().resolve(e).promise();
|
|
14895
14895
|
}
|
|
14896
14896
|
function ru(e, t) {
|
|
14897
|
-
if (!
|
|
14897
|
+
if (!Ie(t))
|
|
14898
14898
|
throw li.Error("E4011", e);
|
|
14899
14899
|
}
|
|
14900
14900
|
function BA(e) {
|
|
@@ -14916,7 +14916,7 @@ function LA(e, t) {
|
|
|
14916
14916
|
}
|
|
14917
14917
|
function z4(e, t) {
|
|
14918
14918
|
var i = e._totalCountFunc, n;
|
|
14919
|
-
if (!
|
|
14919
|
+
if (!Ie(i))
|
|
14920
14920
|
throw li.Error("E4021");
|
|
14921
14921
|
return n = i.apply(e, [t]), Ps(n) || (n = Number(n), isFinite(n) || BA(RA), n = po(n)), bi(n);
|
|
14922
14922
|
}
|
|
@@ -15227,7 +15227,7 @@ var pW = function e(t, i, n) {
|
|
|
15227
15227
|
return !1;
|
|
15228
15228
|
}
|
|
15229
15229
|
try {
|
|
15230
|
-
u = i.adapter,
|
|
15230
|
+
u = i.adapter, Ie(u) || (u = fW[u]), d = u(i), c = [].concat(n).concat(s);
|
|
15231
15231
|
var g = d.optimize;
|
|
15232
15232
|
for (g && g(c); c.length; ) {
|
|
15233
15233
|
if (h = c[0], !m(h)) {
|
|
@@ -15670,7 +15670,7 @@ var _r = rt.inherit({
|
|
|
15670
15670
|
}
|
|
15671
15671
|
} else return null;
|
|
15672
15672
|
}, BW = function(e, t) {
|
|
15673
|
-
return
|
|
15673
|
+
return Ie(e) && Ie(t) && e.originalCallback && t.originalCallback ? e.originalCallback === t.originalCallback && e.columnIndex === t.columnIndex : e === t;
|
|
15674
15674
|
};
|
|
15675
15675
|
function zA(e) {
|
|
15676
15676
|
return e === "date" || e === "datetime";
|
|
@@ -15710,7 +15710,7 @@ var N0 = function(e) {
|
|
|
15710
15710
|
if (!e(t[n], i[n]))
|
|
15711
15711
|
return !1;
|
|
15712
15712
|
return !0;
|
|
15713
|
-
} else return
|
|
15713
|
+
} else return Ie(t) && t.columnIndex >= 0 && Ie(i) && i.columnIndex >= 0 ? t.columnIndex === i.columnIndex && Xt(t.filterValue) === Xt(i.filterValue) : Xt(t) == Xt(i);
|
|
15714
15714
|
};
|
|
15715
15715
|
const ye = {
|
|
15716
15716
|
renderNoDataText: function(e) {
|
|
@@ -15931,7 +15931,7 @@ const ye = {
|
|
|
15931
15931
|
},
|
|
15932
15932
|
normalizeLookupDataSource(e) {
|
|
15933
15933
|
var t;
|
|
15934
|
-
return e.items ? t = e.items : (t = e.dataSource,
|
|
15934
|
+
return e.items ? t = e.items : (t = e.dataSource, Ie(t) && !zi.isWrapped(t) && (t = t({}))), nl(t);
|
|
15935
15935
|
},
|
|
15936
15936
|
getWrappedLookupDataSource(e, t, i) {
|
|
15937
15937
|
var n = this.normalizeLookupDataSource(e.lookup), r = e.displayField && Me(e.displayField), a = r ? [e.dataField, e.displayField] : e.dataField, o = {
|
|
@@ -16036,7 +16036,7 @@ var PW = "dxDataGrid", UA = rt.inherit({
|
|
|
16036
16036
|
return this.component._controllers[e];
|
|
16037
16037
|
},
|
|
16038
16038
|
createAction: function(e, t) {
|
|
16039
|
-
if (
|
|
16039
|
+
if (Ie(e)) {
|
|
16040
16040
|
var i = this.component._createAction(e.bind(this), t);
|
|
16041
16041
|
return function(n) {
|
|
16042
16042
|
i({
|
|
@@ -16414,7 +16414,7 @@ var U0 = "scroll-container", GW = "scrollable-simulated", UW = "group-space", KW
|
|
|
16414
16414
|
e.render(n.container, n.model, n.change), n.deferred && n.deferred.resolve();
|
|
16415
16415
|
}
|
|
16416
16416
|
};
|
|
16417
|
-
else if (
|
|
16417
|
+
else if (Ie(e))
|
|
16418
16418
|
t = {
|
|
16419
16419
|
render: function(n) {
|
|
16420
16420
|
var r = e(Fe(n.container), n.model, n.change);
|
|
@@ -17677,7 +17677,7 @@ var aD = ["filterValues", "filterType", "fixed", "fixedPosition"], Dd = ["visibl
|
|
|
17677
17677
|
for (var V = P._getFirstItems(G), ee, de = {}, me = [], ne = 0; ne < V.length; ne++)
|
|
17678
17678
|
if (V[ne])
|
|
17679
17679
|
for (ee in V[ne])
|
|
17680
|
-
(!
|
|
17680
|
+
(!Ie(V[ne][ee]) || zi.isWrapped(V[ne][ee])) && (de[ee] = !0);
|
|
17681
17681
|
for (ee in de)
|
|
17682
17682
|
if (ee.indexOf("__") !== 0) {
|
|
17683
17683
|
var be = r(P, ee);
|
|
@@ -17976,7 +17976,7 @@ var aD = ["filterValues", "filterType", "fixed", "fixedPosition"], Dd = ["visibl
|
|
|
17976
17976
|
return C.calculateCellValue(P);
|
|
17977
17977
|
}, M(["calculateSortValue", "calculateGroupValue", "calculateDisplayValue"], function(P, G) {
|
|
17978
17978
|
var V = C[G];
|
|
17979
|
-
if (
|
|
17979
|
+
if (Ie(V))
|
|
17980
17980
|
if (V.originalCallback)
|
|
17981
17981
|
C[G].context.column = C;
|
|
17982
17982
|
else {
|
|
@@ -18066,7 +18066,7 @@ var aD = ["filterValues", "filterType", "fixed", "fixedPosition"], Dd = ["visibl
|
|
|
18066
18066
|
S._columns.length || (M(V, function(be, E) {
|
|
18067
18067
|
S._columns.push(E.selector);
|
|
18068
18068
|
}), M(R, function(be, E) {
|
|
18069
|
-
|
|
18069
|
+
Ie(E.selector) || S._columns.push(E.selector);
|
|
18070
18070
|
}), K(S, a(S, S._columns))), (I || !ee && !S._hasUserState) && (me || ne) && (G(S._columns, V, "groupIndex"), I && (me && H(S, "grouping"), ne && H(S, "groupExpanding"), P = !0)), (I || !de && !S._hasUserState) && !ye.equalSortParameters(R, de) && (G(S._columns, R, "sortIndex"), I && (H(S, "sorting"), P = !0)), P && W(S);
|
|
18071
18071
|
}
|
|
18072
18072
|
},
|
|
@@ -18076,7 +18076,7 @@ var aD = ["filterValues", "filterType", "fixed", "fixedPosition"], Dd = ["visibl
|
|
|
18076
18076
|
if (C = k([], C), S = C.columnIndex !== void 0 ? C.columnIndex : S, R = C.filterValue !== void 0 ? C.filterValue : R, Me(C[0]) && C[0] !== "!") {
|
|
18077
18077
|
var P = this.columnOption(C[0]);
|
|
18078
18078
|
I ? Ot().forceIsoDateParsing && P && P.serializeValue && C.length > 1 && (C[C.length - 1] = P.serializeValue(C[C.length - 1], "filter")) : P && P.selector && (C[0] = P.selector, C[0].columnIndex = P.index);
|
|
18079
|
-
} else
|
|
18079
|
+
} else Ie(C[0]) && (C[0].columnIndex = S, C[0].filterValue = R);
|
|
18080
18080
|
for (var G = 0; G < C.length; G++)
|
|
18081
18081
|
C[G] = this.updateFilter(C[G], I, S, R);
|
|
18082
18082
|
return C;
|
|
@@ -18210,7 +18210,7 @@ var aD = ["filterValues", "filterType", "fixed", "fixedPosition"], Dd = ["visibl
|
|
|
18210
18210
|
return zs.defaultCalculateFilterExpression.apply(this, arguments);
|
|
18211
18211
|
}, S.createFilterExpression = function(G) {
|
|
18212
18212
|
var V;
|
|
18213
|
-
return this.calculateFilterExpression && (V = this.calculateFilterExpression.apply(this, arguments)),
|
|
18213
|
+
return this.calculateFilterExpression && (V = this.calculateFilterExpression.apply(this, arguments)), Ie(V) && (V = [V, "=", !0]), V && (V.columnIndex = this.index, V.filterValue = G), V;
|
|
18214
18214
|
}, (!R || !Me(R)) && k(!0, S, {
|
|
18215
18215
|
allowSorting: !1,
|
|
18216
18216
|
allowGrouping: !1,
|
|
@@ -18231,7 +18231,7 @@ var aD = ["filterValues", "filterType", "fixed", "fixedPosition"], Dd = ["visibl
|
|
|
18231
18231
|
update: function() {
|
|
18232
18232
|
var G = this, V = G.dataSource;
|
|
18233
18233
|
if (V)
|
|
18234
|
-
if (
|
|
18234
|
+
if (Ie(V) && !zi.isWrapped(V) && (V = V({})), Ye(V) || V instanceof pr || Array.isArray(V)) {
|
|
18235
18235
|
if (G.valueExpr) {
|
|
18236
18236
|
var ee = nl(V);
|
|
18237
18237
|
return ee.paginate = !1, V = new _r(ee), V.load().done(function(de) {
|
|
@@ -18244,7 +18244,7 @@ var aD = ["filterValues", "filterType", "fixed", "fixedPosition"], Dd = ["visibl
|
|
|
18244
18244
|
G.updateValueMap && G.updateValueMap();
|
|
18245
18245
|
}
|
|
18246
18246
|
}), S.resizedCallbacks = ht(), C.resized && S.resizedCallbacks.add(C.resized.bind(C)), M(S, function(G) {
|
|
18247
|
-
if (
|
|
18247
|
+
if (Ie(S[G]) && G.indexOf("default") !== 0) {
|
|
18248
18248
|
var V = "default" + G.charAt(0).toUpperCase() + G.substr(1);
|
|
18249
18249
|
S[V] = S[G];
|
|
18250
18250
|
}
|
|
@@ -18416,7 +18416,7 @@ const Vz = De.Controller.inherit(/* @__PURE__ */ function() {
|
|
|
18416
18416
|
l._dataSource = o, l._remoteOperations = s || {}, l._isLastPage = !o.isLastPage(), l._hasLastPage = !1, l._currentTotalCount = 0, l._cachedData = {
|
|
18417
18417
|
items: {}
|
|
18418
18418
|
}, l._lastOperationTypes = {}, l._eventsStrategy = o._eventsStrategy, l._totalCountCorrection = 0, l._isLoadingAll = !1, l.changed = ht(), l.loadingChanged = ht(), l.loadError = ht(), l.customizeStoreLoadOptions = ht(), l.changing = ht(), l.pushed = ht(), l._dataChangedHandler = l._handleDataChanged.bind(l), l._customizeStoreLoadOptionsHandler = l._handleCustomizeStoreLoadOptions.bind(l), l._dataLoadedHandler = l._handleDataLoaded.bind(l), l._loadingChangedHandler = l._handleLoadingChanged.bind(l), l._loadErrorHandler = l._handleLoadError.bind(l), l._pushHandler = l._handlePush.bind(l), l._changingHandler = l._handleChanging.bind(l), o.on("changed", l._dataChangedHandler), o.on("customizeStoreLoadOptions", l._customizeStoreLoadOptionsHandler), o.on("customizeLoadResult", l._dataLoadedHandler), o.on("loadingChanged", l._loadingChangedHandler), o.on("loadError", l._loadErrorHandler), o.on("changing", l._changingHandler), o.store().on("beforePush", l._pushHandler), M(o, function(u, d) {
|
|
18419
|
-
!l[u] &&
|
|
18419
|
+
!l[u] && Ie(d) && (l[u] = function() {
|
|
18420
18420
|
return this._dataSource[u].apply(this._dataSource, arguments);
|
|
18421
18421
|
});
|
|
18422
18422
|
});
|
|
@@ -21980,7 +21980,7 @@ var Es = " ", LD = rt.inherit({
|
|
|
21980
21980
|
},
|
|
21981
21981
|
_isValid: function(e, t) {
|
|
21982
21982
|
var i = this.allowedChars;
|
|
21983
|
-
return i instanceof RegExp ? i.test(e) :
|
|
21983
|
+
return i instanceof RegExp ? i.test(e) : Ie(i) ? i(e, t.index, t.fullText) : Array.isArray(i) ? i.includes(e) : i === e;
|
|
21984
21984
|
},
|
|
21985
21985
|
isAccepted: function(e) {
|
|
21986
21986
|
return e === 0 ? this._accepted() : this.next().isAccepted(e - 1);
|
|
@@ -22107,7 +22107,7 @@ class FD extends Pa {
|
|
|
22107
22107
|
validate(t, i) {
|
|
22108
22108
|
if (i.ignoreEmptyValue && this._isValueEmpty(t))
|
|
22109
22109
|
return !0;
|
|
22110
|
-
var n = i.validator, r = n &&
|
|
22110
|
+
var n = i.validator, r = n && Ie(n.option) && n.option("dataGetter"), a = Ie(r) && r(), o = {
|
|
22111
22111
|
value: t,
|
|
22112
22112
|
validator: n,
|
|
22113
22113
|
rule: i
|
|
@@ -22124,7 +22124,7 @@ class Q3 extends FD {
|
|
|
22124
22124
|
reevaluate: !0
|
|
22125
22125
|
}), i.ignoreEmptyValue && this._isValueEmpty(t))
|
|
22126
22126
|
return !0;
|
|
22127
|
-
var n = i.validator, r = n &&
|
|
22127
|
+
var n = i.validator, r = n && Ie(n.option) && n.option("dataGetter"), a = Ie(r) && r(), o = {
|
|
22128
22128
|
value: t,
|
|
22129
22129
|
validator: n,
|
|
22130
22130
|
rule: i
|
|
@@ -25163,7 +25163,7 @@ class df extends sd {
|
|
|
25163
25163
|
height: t,
|
|
25164
25164
|
width: i
|
|
25165
25165
|
} = this.props;
|
|
25166
|
-
|
|
25166
|
+
Ie(i) && St.log("W0017", "width"), Ie(t) && St.log("W0017", "height");
|
|
25167
25167
|
}
|
|
25168
25168
|
applyCssTextEffect() {
|
|
25169
25169
|
var {
|
|
@@ -25201,7 +25201,7 @@ class df extends sd {
|
|
|
25201
25201
|
var {
|
|
25202
25202
|
height: t,
|
|
25203
25203
|
width: i
|
|
25204
|
-
} = this.props, n = this.restAttributes.style || {}, r = $s("width",
|
|
25204
|
+
} = this.props, n = this.restAttributes.style || {}, r = $s("width", Ie(i) ? i() : i), a = $s("height", Ie(t) ? t() : t);
|
|
25205
25205
|
return xe({}, n, {
|
|
25206
25206
|
height: a ?? n.height,
|
|
25207
25207
|
width: r ?? n.width
|
|
@@ -27201,7 +27201,7 @@ var vU = rt.inherit({
|
|
|
27201
27201
|
});
|
|
27202
27202
|
},
|
|
27203
27203
|
_iterateChildren: function(e, t, i, n) {
|
|
27204
|
-
if (
|
|
27204
|
+
if (Ie(i)) {
|
|
27205
27205
|
var r = this, a = e.internalFields.key;
|
|
27206
27206
|
n = n || [], n.indexOf(a) === -1 && (n.push(a), M(e.internalFields.childrenKeys, function(o, s) {
|
|
27207
27207
|
var l = r.getNodeByKey(s);
|
|
@@ -27210,7 +27210,7 @@ var vU = rt.inherit({
|
|
|
27210
27210
|
}
|
|
27211
27211
|
},
|
|
27212
27212
|
_iterateParents: function(e, t, i) {
|
|
27213
|
-
if (!(e.internalFields.parentKey === this.options.rootValue || !
|
|
27213
|
+
if (!(e.internalFields.parentKey === this.options.rootValue || !Ie(t))) {
|
|
27214
27214
|
i = i || [];
|
|
27215
27215
|
var n = e.internalFields.key;
|
|
27216
27216
|
if (i.indexOf(n) === -1) {
|
|
@@ -27607,7 +27607,7 @@ var IU = "dx-collection", Vd = "dx-item", ab = "-content", ob = "dx-item-content
|
|
|
27607
27607
|
var e = this._getFieldsMap();
|
|
27608
27608
|
this._templateManager.addDefaultTemplates({
|
|
27609
27609
|
item: new Vo((function(t, i) {
|
|
27610
|
-
Ye(i) ? this._prepareDefaultItemTemplate(i, t) : (e &&
|
|
27610
|
+
Ye(i) ? this._prepareDefaultItemTemplate(i, t) : (e && Ie(e.text) && (i = e.text(i)), t.text(String(Nt(i, ""))));
|
|
27611
27611
|
}).bind(this), this._getBindableFields(), this.option("integrationOptions.watchMethod"), e)
|
|
27612
27612
|
});
|
|
27613
27613
|
},
|
|
@@ -29387,7 +29387,7 @@ var Lp = "dxItemDeleting", Pc = -1, zn = function(e) {
|
|
|
29387
29387
|
_compileAccessor: function(e) {
|
|
29388
29388
|
var t = "_" + e + "Getter", i = "_" + e + "Setter", n = this.option(e + "Expr");
|
|
29389
29389
|
if (n) {
|
|
29390
|
-
if (
|
|
29390
|
+
if (Ie(n)) {
|
|
29391
29391
|
this[i] = function(r, a) {
|
|
29392
29392
|
r[n()] = a;
|
|
29393
29393
|
}, this[t] = function(r) {
|
|
@@ -30038,7 +30038,7 @@ class _C extends vC {
|
|
|
30038
30038
|
closeOnOutsideClick: i,
|
|
30039
30039
|
hideOnOutsideClick: n
|
|
30040
30040
|
} = this.option();
|
|
30041
|
-
return
|
|
30041
|
+
return Ie(n) ? n(t) : Ie(i) ? i(t) : n || i;
|
|
30042
30042
|
}
|
|
30043
30043
|
_hideOnOutsideClickHandler(t) {
|
|
30044
30044
|
if (!this._shouldHideOnOutsideClick(t))
|
|
@@ -32572,10 +32572,10 @@ var ff = "dxResizable", R8 = "dx-resizable", k8 = "dx-resizable-resizing", Kd =
|
|
|
32572
32572
|
},
|
|
32573
32573
|
_getArea: function() {
|
|
32574
32574
|
var e = this.option("area");
|
|
32575
|
-
return
|
|
32575
|
+
return Ie(e) && (e = e.call(this)), Ye(e) ? this._getAreaFromObject(e) : this._getAreaFromElement(e);
|
|
32576
32576
|
},
|
|
32577
32577
|
_getAreaScrollOffset: function() {
|
|
32578
|
-
var e = this.option("area"), t = !
|
|
32578
|
+
var e = this.option("area"), t = !Ie(e) && !Ye(e), i = {
|
|
32579
32579
|
scrollY: 0,
|
|
32580
32580
|
scrollX: 0
|
|
32581
32581
|
};
|
|
@@ -35185,7 +35185,7 @@ var SC = gi.inherit({
|
|
|
35185
35185
|
_getDefaultOptions: function() {
|
|
35186
35186
|
var e = this.callBase();
|
|
35187
35187
|
return M(De.modules, function() {
|
|
35188
|
-
|
|
35188
|
+
Ie(this.defaultOptions) && k(!0, e, this.defaultOptions());
|
|
35189
35189
|
}), e;
|
|
35190
35190
|
},
|
|
35191
35191
|
_setDeprecatedOptions: function() {
|
|
@@ -37140,11 +37140,11 @@ var Ma = "dx-treeview", qi = "".concat(Ma, "-node"), Rr = "".concat(qi, "-contai
|
|
|
37140
37140
|
e.custom || (e.custom = this._dataSource.filter()), e.internal || (e.internal = [this.option("parentIdExpr"), this.option("rootValue")]);
|
|
37141
37141
|
},
|
|
37142
37142
|
_useCustomChildrenLoader: function() {
|
|
37143
|
-
return
|
|
37143
|
+
return Ie(this.option("createChildren")) && this._isDataStructurePlain();
|
|
37144
37144
|
},
|
|
37145
37145
|
_loadChildrenByCustomLoader: function(e) {
|
|
37146
37146
|
var t = this.option("createChildren").call(this, e);
|
|
37147
|
-
return Array.isArray(t) ? new se().resolve(t).promise() : t &&
|
|
37147
|
+
return Array.isArray(t) ? new se().resolve(t).promise() : t && Ie(t.then) ? bi(t) : new se().resolve([]).promise();
|
|
37148
37148
|
},
|
|
37149
37149
|
_combineFilter: function() {
|
|
37150
37150
|
return !this._filter.custom || !this._filter.custom.length ? this._filter.internal : [this._filter.custom, this._filter.internal];
|
|
@@ -39898,7 +39898,7 @@ var U7 = Math, K7 = "dx-numberbox", j7 = ["tab", "del", "backspace", "leftArrow"
|
|
|
39898
39898
|
return t.indexOf("%") !== -1;
|
|
39899
39899
|
},
|
|
39900
39900
|
_parse: function(e, t) {
|
|
39901
|
-
var i = this.option("format"), n =
|
|
39901
|
+
var i = this.option("format"), n = Ie(i.parser), r = n ? i.parser : Et.parse, a = 0;
|
|
39902
39902
|
if (!n) {
|
|
39903
39903
|
var o = Vc(t).index, s = this._getTextSeparatorIndex(e), l = o !== -1 ? o : t.length, u = s !== -1 ? s : e.length;
|
|
39904
39904
|
u > l && t.indexOf("#") === -1 && (a = u - l);
|
|
@@ -39906,14 +39906,14 @@ var U7 = Math, K7 = "dx-numberbox", j7 = ["tab", "del", "backspace", "leftArrow"
|
|
|
39906
39906
|
return e = this._removeStubs(e, !0), e = e.substr(a), r(e, t);
|
|
39907
39907
|
},
|
|
39908
39908
|
_format: function(e, t) {
|
|
39909
|
-
var i = this.option("format"), n = (i == null ? void 0 : i.formatter) || i, r =
|
|
39909
|
+
var i = this.option("format"), n = (i == null ? void 0 : i.formatter) || i, r = Ie(n) ? n : Et.format, a = e === null ? "" : r(e, t);
|
|
39910
39910
|
return a;
|
|
39911
39911
|
},
|
|
39912
39912
|
_getFormatPattern: function() {
|
|
39913
39913
|
return this._currentFormat || this._updateFormat(), this._currentFormat;
|
|
39914
39914
|
},
|
|
39915
39915
|
_updateFormat: function() {
|
|
39916
|
-
var e = this.option("format"), t =
|
|
39916
|
+
var e = this.option("format"), t = Ie(e == null ? void 0 : e.parser), i = Me(e) && (e.indexOf("0") >= 0 || e.indexOf("#") >= 0);
|
|
39917
39917
|
this._currentFormat = t || i ? e : N2((n) => {
|
|
39918
39918
|
var r = this._format(n, e);
|
|
39919
39919
|
return Et.convertDigits(r, !0);
|
|
@@ -40840,7 +40840,7 @@ var hS = k({}, Qu, {
|
|
|
40840
40840
|
this._initDynamicTemplates(), this._setCollectionWidgetOption("itemTemplate", this.option("itemTemplate"));
|
|
40841
40841
|
},
|
|
40842
40842
|
_getCollectionKeyExpr: function() {
|
|
40843
|
-
var e = this.option("valueExpr"), t = Me(e) && e !== "this" ||
|
|
40843
|
+
var e = this.option("valueExpr"), t = Me(e) && e !== "this" || Ie(e);
|
|
40844
40844
|
return t ? e : null;
|
|
40845
40845
|
},
|
|
40846
40846
|
_dataExpressionOptionChanged: function(e) {
|
|
@@ -43177,7 +43177,7 @@ var CR = Zn.inherit({
|
|
|
43177
43177
|
},
|
|
43178
43178
|
_viewConfig: function(e) {
|
|
43179
43179
|
var t = this.option("disabledDates");
|
|
43180
|
-
return t =
|
|
43180
|
+
return t = Ie(t) ? this._injectComponent(t.bind(this)) : t, {
|
|
43181
43181
|
date: e,
|
|
43182
43182
|
min: this._getMinDate(),
|
|
43183
43183
|
max: this._getMaxDate(),
|
|
@@ -43638,7 +43638,7 @@ var tc = rt.abstract, _f = rt.inherit({
|
|
|
43638
43638
|
onValueChanged: this._valueChangedHandler.bind(this),
|
|
43639
43639
|
onCellClick: this._cellClickHandler.bind(this),
|
|
43640
43640
|
tabIndex: null,
|
|
43641
|
-
disabledDates:
|
|
43641
|
+
disabledDates: Ie(e) ? this._injectComponent(e.bind(this.dateBox)) : e,
|
|
43642
43642
|
onContouredChanged: this._refreshActiveDescendant.bind(this),
|
|
43643
43643
|
skipFocusCheck: !0
|
|
43644
43644
|
});
|
|
@@ -45674,7 +45674,7 @@ var GY = Ke(), UY = 573, KY = "dx-datebox-adaptivity-mode", FS = "dx-datebox-dat
|
|
|
45674
45674
|
_getActivePartValue(e) {
|
|
45675
45675
|
e = e || this._maskValue;
|
|
45676
45676
|
var t = this._getActivePartProp("getter");
|
|
45677
|
-
return
|
|
45677
|
+
return Ie(t) ? t(e) : e[t]();
|
|
45678
45678
|
},
|
|
45679
45679
|
_addLeadingZeroes(e) {
|
|
45680
45680
|
var t = this._searchValue.match(/^0+/), i = this._getActivePartLimits(), n = String(i.max).length;
|
|
@@ -45683,7 +45683,7 @@ var GY = Ke(), UY = 573, KY = "dx-datebox-adaptivity-mode", FS = "dx-datebox-dat
|
|
|
45683
45683
|
_setActivePartValue(e, t) {
|
|
45684
45684
|
t = t || this._maskValue;
|
|
45685
45685
|
var i = this._getActivePartProp("setter"), n = this._getActivePartLimits();
|
|
45686
|
-
e = Wr(e, n.min, n.max) ? e : e % 10, e = this._addLeadingZeroes(Li(e, n.min, n.max)),
|
|
45686
|
+
e = Wr(e, n.min, n.max) ? e : e % 10, e = this._addLeadingZeroes(Li(e, n.min, n.max)), Ie(i) ? i(t, e) : t[i](e), this._renderDisplayText(this._getDisplayedText(t)), this._renderDateParts();
|
|
45687
45687
|
},
|
|
45688
45688
|
_getActivePartProp(e) {
|
|
45689
45689
|
if (!(!this._dateParts || !this._dateParts[this._activePartIndex]))
|
|
@@ -45851,7 +45851,7 @@ var {
|
|
|
45851
45851
|
function r(a) {
|
|
45852
45852
|
var o = a.lookup, s, l, u, d = a.parentType === "filterRow";
|
|
45853
45853
|
if (o) {
|
|
45854
|
-
s = wt(o.displayExpr), l = o.dataSource,
|
|
45854
|
+
s = wt(o.displayExpr), l = o.dataSource, Ie(l) && !aX(l) && (l = l(a.row || {}), function(h) {
|
|
45855
45855
|
if (h.row && h.row.watch && h.parentType === "dataRow") {
|
|
45856
45856
|
var f = h.editorOptions || {};
|
|
45857
45857
|
h.editorOptions = f;
|
|
@@ -46330,7 +46330,7 @@ var Cv = Ke(), fX = {
|
|
|
46330
46330
|
},
|
|
46331
46331
|
_isButtonVisible: function(i, n) {
|
|
46332
46332
|
var r = i.visible;
|
|
46333
|
-
return w(r) ?
|
|
46333
|
+
return w(r) ? Ie(r) ? r.call(i, {
|
|
46334
46334
|
component: n.component,
|
|
46335
46335
|
row: n.row,
|
|
46336
46336
|
column: n.column
|
|
@@ -46338,7 +46338,7 @@ var Cv = Ke(), fX = {
|
|
|
46338
46338
|
},
|
|
46339
46339
|
_isButtonDisabled: function(i, n) {
|
|
46340
46340
|
var r = i.disabled;
|
|
46341
|
-
return
|
|
46341
|
+
return Ie(r) ? r.call(i, {
|
|
46342
46342
|
component: n.component,
|
|
46343
46343
|
row: n.row,
|
|
46344
46344
|
column: n.column
|
|
@@ -47335,7 +47335,7 @@ var Cv = Ke(), fX = {
|
|
|
47335
47335
|
_beforeCancelEditData: ae,
|
|
47336
47336
|
_allowEditAction: function(i, n) {
|
|
47337
47337
|
var r = this.option("editing." + i);
|
|
47338
|
-
return
|
|
47338
|
+
return Ie(r) && (r = r({
|
|
47339
47339
|
component: this.component,
|
|
47340
47340
|
row: n.row
|
|
47341
47341
|
})), r;
|
|
@@ -49681,7 +49681,7 @@ var bJ = "dxTextBox", SJ = "dx-first-row", wJ = "dx-last-row", EJ = "dx-first-co
|
|
|
49681
49681
|
},
|
|
49682
49682
|
_updateFieldValue: function(e, t) {
|
|
49683
49683
|
var i = this.option("layoutData"), n = t;
|
|
49684
|
-
!zi.isWrapped(i[e]) && w(e) ? this.option("layoutData." + e, n) : zi.isWritableWrapped(i[e]) && (n =
|
|
49684
|
+
!zi.isWrapped(i[e]) && w(e) ? this.option("layoutData." + e, n) : zi.isWritableWrapped(i[e]) && (n = Ie(n) ? n() : n, i[e](n)), this._triggerOnFieldDataChanged({
|
|
49685
49685
|
dataField: e,
|
|
49686
49686
|
value: n
|
|
49687
49687
|
});
|
|
@@ -49706,7 +49706,7 @@ var bJ = "dxTextBox", SJ = "dx-first-row", wJ = "dx-last-row", EJ = "dx-first-co
|
|
|
49706
49706
|
_updateItemWatchers: function(e) {
|
|
49707
49707
|
var t = this, i = t._getWatch();
|
|
49708
49708
|
e.forEach(function(n) {
|
|
49709
|
-
Ne(n) && w(n.visible) &&
|
|
49709
|
+
Ne(n) && w(n.visible) && Ie(i) && t._itemWatchers.push(i(function() {
|
|
49710
49710
|
return zi.unwrap(n.visible);
|
|
49711
49711
|
}, function() {
|
|
49712
49712
|
t._updateItems(t.option("layoutData")), t.repaint();
|
|
@@ -49725,7 +49725,7 @@ var bJ = "dxTextBox", SJ = "dx-first-row", wJ = "dx-last-row", EJ = "dx-first-co
|
|
|
49725
49725
|
},
|
|
49726
49726
|
_isAcceptableItem: function(e) {
|
|
49727
49727
|
var t = e.dataField || e, i = this._getDataByField(t);
|
|
49728
|
-
return !(
|
|
49728
|
+
return !(Ie(i) && !zi.isWrapped(i));
|
|
49729
49729
|
},
|
|
49730
49730
|
_processItem: function(e) {
|
|
49731
49731
|
if (typeof e == "string" && (e = {
|
|
@@ -49981,7 +49981,7 @@ var bJ = "dxTextBox", SJ = "dx-first-row", wJ = "dx-last-row", EJ = "dx-first-co
|
|
|
49981
49981
|
},
|
|
49982
49982
|
_createWatcher: function(e, t, i) {
|
|
49983
49983
|
var n = this, r = n._getWatch();
|
|
49984
|
-
if (
|
|
49984
|
+
if (Ie(r)) {
|
|
49985
49985
|
var a = r(function() {
|
|
49986
49986
|
return n._getDataByField(i);
|
|
49987
49987
|
}, function() {
|
|
@@ -54780,7 +54780,7 @@ var nee = Rt.View.inherit({
|
|
|
54780
54780
|
},
|
|
54781
54781
|
_getSearchExpr: function(e) {
|
|
54782
54782
|
var t = e.lookup, i = e.useDefaultSearchExpr, n = e.headerFilter && e.headerFilter.dataSource;
|
|
54783
|
-
if (i || w(n) && !
|
|
54783
|
+
if (i || w(n) && !Ie(n))
|
|
54784
54784
|
return eee;
|
|
54785
54785
|
if (t)
|
|
54786
54786
|
return t.displayExpr || "this";
|
|
@@ -54788,7 +54788,7 @@ var nee = Rt.View.inherit({
|
|
|
54788
54788
|
var r = e.dataSource.group;
|
|
54789
54789
|
if (Array.isArray(r) && r.length > 0)
|
|
54790
54790
|
return r[0].selector;
|
|
54791
|
-
if (
|
|
54791
|
+
if (Ie(r) && !e.remoteFiltering)
|
|
54792
54792
|
return r;
|
|
54793
54793
|
}
|
|
54794
54794
|
return e.dataField || e.selector;
|
|
@@ -55008,7 +55008,7 @@ var see = Rt.ViewController.inherit({
|
|
|
55008
55008
|
component: this.component
|
|
55009
55009
|
};
|
|
55010
55010
|
if (i) {
|
|
55011
|
-
if (w(a) && !
|
|
55011
|
+
if (w(a) && !Ie(a))
|
|
55012
55012
|
l.dataSource = nl(a);
|
|
55013
55013
|
else if (e.lookup)
|
|
55014
55014
|
if (s = !0, this.option("syncLookupFilterValues")) {
|
|
@@ -55038,7 +55038,7 @@ var see = Rt.ViewController.inherit({
|
|
|
55038
55038
|
}
|
|
55039
55039
|
};
|
|
55040
55040
|
}
|
|
55041
|
-
|
|
55041
|
+
Ie(a) && a.call(e, l);
|
|
55042
55042
|
var h = l.dataSource.postProcess, f = this;
|
|
55043
55043
|
return l.dataSource.postProcess = function(p) {
|
|
55044
55044
|
var m = p;
|
|
@@ -55498,7 +55498,7 @@ function x1(e, t, i) {
|
|
|
55498
55498
|
if (n.items)
|
|
55499
55499
|
i(n.calculateCellValue(t) || "");
|
|
55500
55500
|
else {
|
|
55501
|
-
var r =
|
|
55501
|
+
var r = Ie(n.dataSource) ? n.dataSource({}) : n.dataSource, a = new _r(r);
|
|
55502
55502
|
a.loadSingle(n.valueExpr, t).done(function(o) {
|
|
55503
55503
|
var s = "";
|
|
55504
55504
|
o && (s = n.displayExpr ? wt(n.displayExpr)(o) : o), e.customizeText && (s = e.customizeText({
|
|
@@ -60212,7 +60212,7 @@ const wne = rt.inherit({
|
|
|
60212
60212
|
},
|
|
60213
60213
|
_seed: function(e, t) {
|
|
60214
60214
|
return _c(e, function(i) {
|
|
60215
|
-
var n = i.aggregator, r = "seed" in n ?
|
|
60215
|
+
var n = i.aggregator, r = "seed" in n ? Ie(n.seed) ? n.seed(t) : n.seed : NaN;
|
|
60216
60216
|
return r;
|
|
60217
60217
|
});
|
|
60218
60218
|
},
|
|
@@ -60302,7 +60302,7 @@ var Ene = "dx-datagrid-total-footer", Ine = "dx-datagrid-summary-item", Tne = "d
|
|
|
60302
60302
|
summaryGetter: function(e) {
|
|
60303
60303
|
if (!arguments.length)
|
|
60304
60304
|
return this._summaryGetter;
|
|
60305
|
-
|
|
60305
|
+
Ie(e) && (this._summaryGetter = e);
|
|
60306
60306
|
},
|
|
60307
60307
|
summary: function(e) {
|
|
60308
60308
|
if (!arguments.length)
|
|
@@ -62206,7 +62206,7 @@ var ca = Ke(), Cc = Fu(), NE = {
|
|
|
62206
62206
|
var a = NE[t];
|
|
62207
62207
|
if (a && (e += "." + a), w(n) && tt.log("W0001", "Export", "proxyURL", "19.2", "This option is no longer required"), r)
|
|
62208
62208
|
this._saveByProxy(n, e, t, i);
|
|
62209
|
-
else if (
|
|
62209
|
+
else if (Ie(ca.Blob))
|
|
62210
62210
|
this._saveBlobAs(e, t, i);
|
|
62211
62211
|
else if (w(n) && !w(Cc.userAgent.match(/iPad/i)))
|
|
62212
62212
|
this._saveByProxy(n, e, t, i);
|
|
@@ -65676,7 +65676,7 @@ var gs = '<?xml version="1.0" encoding="utf-8"?>', Sre = '<sheetPr><outlinePr su
|
|
|
65676
65676
|
Bh.JSZip = pre;
|
|
65677
65677
|
function Bre(e, t) {
|
|
65678
65678
|
var i = new Bh(e, t);
|
|
65679
|
-
return i._checkZipState(), i.ready().then(() => i.getData(
|
|
65679
|
+
return i._checkZipState(), i.ready().then(() => i.getData(Ie(Ke().Blob)));
|
|
65680
65680
|
}
|
|
65681
65681
|
var KE = {
|
|
65682
65682
|
aliceblue: "f0f8ff",
|
|
@@ -66032,8 +66032,8 @@ function $re(e, t, i) {
|
|
|
66032
66032
|
format: t.format,
|
|
66033
66033
|
cancel: !1
|
|
66034
66034
|
};
|
|
66035
|
-
return Vs(t.selectedRowsOnly) && (o.selectedRowsOnly = t.selectedRowsOnly),
|
|
66036
|
-
if (
|
|
66035
|
+
return Vs(t.selectedRowsOnly) && (o.selectedRowsOnly = t.selectedRowsOnly), Ie(n) && n(o), o.cancel ? new se().resolve() : i(e, t).then((s) => {
|
|
66036
|
+
if (Ie(r) && r(), Ie(a) && (o.data = s, a(o)), !o.cancel) {
|
|
66037
66037
|
var l = t.format === "xlsx" ? "EXCEL" : t.format;
|
|
66038
66038
|
hre.saveAs(o.fileName, l, s, t.proxyUrl, t.forceProxy);
|
|
66039
66039
|
}
|
|
@@ -66069,7 +66069,7 @@ var Hre = {
|
|
|
66069
66069
|
});
|
|
66070
66070
|
},
|
|
66071
66071
|
_hasCustomTemplate(e) {
|
|
66072
|
-
return
|
|
66072
|
+
return Ie(e) || this.option("integrationOptions.templates")[e];
|
|
66073
66073
|
},
|
|
66074
66074
|
_prepareItemStyles(e) {
|
|
66075
66075
|
var t = e.data("dxItemIndex");
|
|
@@ -67037,7 +67037,7 @@ var eae = "dx-datagrid-export-menu", ZE = "dx-datagrid-export-button", tae = "ex
|
|
|
67037
67037
|
fileName: this.option("export.fileName"),
|
|
67038
67038
|
cancel: !1
|
|
67039
67039
|
};
|
|
67040
|
-
|
|
67040
|
+
Ie(i) && i(n);
|
|
67041
67041
|
},
|
|
67042
67042
|
publicMethods: function() {
|
|
67043
67043
|
return ["getDataProvider", "exportToExcel"];
|
|
@@ -67841,7 +67841,7 @@ var bae = cD.inherit({
|
|
|
67841
67841
|
};
|
|
67842
67842
|
},
|
|
67843
67843
|
_getNormalizedCursorOffset: function(e, t) {
|
|
67844
|
-
return
|
|
67844
|
+
return Ie(e) && (e = e.call(this, t)), this._normalizeCursorOffset(e);
|
|
67845
67845
|
},
|
|
67846
67846
|
_calculateElementOffset: function(e) {
|
|
67847
67847
|
var t, i, n = e.event, r = v(e.itemElement), a = v(e.dragElement), o = this._dragElementIsCloned(), s = this.option("cursorOffset"), l = {
|
|
@@ -67988,11 +67988,11 @@ var bae = cD.inherit({
|
|
|
67988
67988
|
},
|
|
67989
67989
|
_getBoundOffset: function() {
|
|
67990
67990
|
var e = this.option("boundOffset");
|
|
67991
|
-
return
|
|
67991
|
+
return Ie(e) && (e = e.call(this)), bM(e);
|
|
67992
67992
|
},
|
|
67993
67993
|
_getArea: function() {
|
|
67994
67994
|
var e = this.option("boundary");
|
|
67995
|
-
return
|
|
67995
|
+
return Ie(e) && (e = e.call(this)), v(e);
|
|
67996
67996
|
},
|
|
67997
67997
|
_getContainer: function() {
|
|
67998
67998
|
var e = this.option("container");
|
|
@@ -72366,20 +72366,20 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72366
72366
|
{
|
|
72367
72367
|
label: "Edit",
|
|
72368
72368
|
type: "edit",
|
|
72369
|
-
event: (q,
|
|
72369
|
+
event: (q, Ee) => Yo(q, Ee)
|
|
72370
72370
|
},
|
|
72371
72371
|
{
|
|
72372
72372
|
label: "Delete",
|
|
72373
72373
|
type: "delete",
|
|
72374
|
-
event: (q,
|
|
72374
|
+
event: (q, Ee) => $a(q, Ee)
|
|
72375
72375
|
}
|
|
72376
72376
|
]), Yt = qe(null), zt = (q) => {
|
|
72377
72377
|
Je && Je.length && Pi();
|
|
72378
72378
|
}, gt = () => {
|
|
72379
72379
|
Je && Je.length && Pi();
|
|
72380
72380
|
}, Pi = () => {
|
|
72381
|
-
document.querySelectorAll(".datagrid_action_data_controller > ul").forEach((
|
|
72382
|
-
|
|
72381
|
+
document.querySelectorAll(".datagrid_action_data_controller > ul").forEach((Ee) => {
|
|
72382
|
+
Ee.style.display = "none", Ee.style.pointerEvents = "none";
|
|
72383
72383
|
});
|
|
72384
72384
|
}, Fi = new Us({
|
|
72385
72385
|
key: h ?? "id",
|
|
@@ -72388,8 +72388,11 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72388
72388
|
insert: m,
|
|
72389
72389
|
remove: g,
|
|
72390
72390
|
onLoading: F
|
|
72391
|
-
}), Tt = (q,
|
|
72392
|
-
$ && typeof $ == "function" && $(
|
|
72391
|
+
}), Tt = (q, Ee) => {
|
|
72392
|
+
if ($ && typeof $ == "function" && $(Ee, q), Ee === "onContentReady") {
|
|
72393
|
+
const X = document.querySelector(".dx-page-indexes"), Se = document.querySelector("#pagination-container");
|
|
72394
|
+
X ? Se.style.display = "block" : Se.style.display = "none";
|
|
72395
|
+
}
|
|
72393
72396
|
}, je = (q) => {
|
|
72394
72397
|
o && (W == null ? void 0 : W.mode) === "multiple" && b && Yt.current.setValue(q.selectedRowKeys.length), x && typeof x == "function" && x(q);
|
|
72395
72398
|
}, ft = (q) => {
|
|
@@ -72400,10 +72403,10 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72400
72403
|
E && typeof E == "function" && E(q);
|
|
72401
72404
|
}, He = (q) => {
|
|
72402
72405
|
te && typeof te == "function" && te(q.data);
|
|
72403
|
-
}, pt = (q,
|
|
72404
|
-
q.button === 1 && (he && typeof he == "function" && he(
|
|
72406
|
+
}, pt = (q, Ee) => {
|
|
72407
|
+
q.button === 1 && (he && typeof he == "function" && he(Ee.data), q.preventDefault());
|
|
72405
72408
|
}, Qt = (q) => {
|
|
72406
|
-
q.rowElement && q.data && q.rowElement.addEventListener("mousedown", (
|
|
72409
|
+
q.rowElement && q.data && q.rowElement.addEventListener("mousedown", (Ee) => pt(Ee, q)), be && typeof be == "function" && be(q);
|
|
72407
72410
|
}, Ct = () => {
|
|
72408
72411
|
S && typeof S == "function" && S(it.current.SelectedRowKeys());
|
|
72409
72412
|
}, Gt = (q) => {
|
|
@@ -72426,31 +72429,31 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72426
72429
|
ut.style.display = "none", ut.style.pointerEvents = "none";
|
|
72427
72430
|
}), Object.assign(Le.style, vt);
|
|
72428
72431
|
}, wr = (q) => {
|
|
72429
|
-
Re.current = q, we((
|
|
72432
|
+
Re.current = q, we((Ee) => !Ee), I && typeof I == "function" && I(Re.current);
|
|
72430
72433
|
}, Ko = (q) => {
|
|
72431
72434
|
V || q.component.collapseAll(-1), de && typeof de == "function" && de(q);
|
|
72432
72435
|
}, jo = (q) => {
|
|
72433
72436
|
me && typeof me == "function" && me(q);
|
|
72434
72437
|
}, qo = (q) => {
|
|
72435
|
-
q.parentType === "filterRow" && (q.editorElement.onchange = (
|
|
72438
|
+
q.parentType === "filterRow" && (q.editorElement.onchange = (Ee) => {
|
|
72436
72439
|
const X = {
|
|
72437
72440
|
columnKey: q.dataField,
|
|
72438
72441
|
columnName: q.caption,
|
|
72439
|
-
filterValue:
|
|
72442
|
+
filterValue: Ee.target.value
|
|
72440
72443
|
};
|
|
72441
72444
|
ee && typeof ee == "function" && ee(X);
|
|
72442
72445
|
});
|
|
72443
|
-
}, $a = (q,
|
|
72444
|
-
R && typeof R == "function" && R(
|
|
72445
|
-
}, Yo = (q,
|
|
72446
|
-
P && typeof P == "function" && P(
|
|
72446
|
+
}, $a = (q, Ee) => {
|
|
72447
|
+
R && typeof R == "function" && R(Ee);
|
|
72448
|
+
}, Yo = (q, Ee) => {
|
|
72449
|
+
P && typeof P == "function" && P(Ee);
|
|
72447
72450
|
};
|
|
72448
72451
|
et(() => {
|
|
72449
72452
|
C && C.length && di((q) => {
|
|
72450
|
-
const
|
|
72453
|
+
const Ee = q;
|
|
72451
72454
|
return C.forEach((X) => {
|
|
72452
|
-
|
|
72453
|
-
}),
|
|
72455
|
+
Ee.some((Se) => Se.type === X.type) || Ee.push(X);
|
|
72456
|
+
}), Ee;
|
|
72454
72457
|
});
|
|
72455
72458
|
}, [C]), et(() => {
|
|
72456
72459
|
J && (it.current.Refresh(), console.info("DataSource Refresh....."));
|
|
@@ -72466,26 +72469,26 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72466
72469
|
});
|
|
72467
72470
|
};
|
|
72468
72471
|
q();
|
|
72469
|
-
const
|
|
72472
|
+
const Ee = new MutationObserver(() => {
|
|
72470
72473
|
q();
|
|
72471
72474
|
}), X = document.querySelector(".dx-datagrid-rowsview");
|
|
72472
|
-
return X &&
|
|
72475
|
+
return X && Ee.observe(X, { childList: !0, subtree: !0 }), () => Ee.disconnect();
|
|
72473
72476
|
}
|
|
72474
72477
|
}, [pe]);
|
|
72475
72478
|
const al = () => {
|
|
72476
|
-
const q = Te.current.instance,
|
|
72477
|
-
|
|
72479
|
+
const q = Te.current.instance, Ee = q.pageIndex();
|
|
72480
|
+
Ee > 0 && q.pageIndex(Ee - 1);
|
|
72478
72481
|
}, Ha = () => {
|
|
72479
|
-
const q = Te.current.instance,
|
|
72480
|
-
|
|
72482
|
+
const q = Te.current.instance, Ee = q.pageIndex(), X = q.pageCount();
|
|
72483
|
+
Ee < X - 1 && q.pageIndex(Ee + 1);
|
|
72481
72484
|
};
|
|
72482
72485
|
return et(() => {
|
|
72483
72486
|
Re.current = t, we((q) => !q);
|
|
72484
72487
|
}, [t]), et(() => (document.addEventListener("click", zt), document.addEventListener("wheel", gt), () => {
|
|
72485
72488
|
document.removeEventListener("click", zt), document.removeEventListener("wheel", gt);
|
|
72486
72489
|
}), []), et(() => {
|
|
72487
|
-
let q = document.querySelector(".dx-page-indexes"),
|
|
72488
|
-
q ?
|
|
72490
|
+
let q = document.querySelector(".dx-page-indexes"), Ee = document.querySelector("#pagination-container");
|
|
72491
|
+
q ? Ee.style.display = "block" : Ee && (Ee.style.display = "none");
|
|
72489
72492
|
}, [e, Fi, J]), /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
|
|
72490
72493
|
/* @__PURE__ */ T.jsx("div", { className: r === "dark" ? "dark" : "", "data-grid-confirm-delete": !0, style: { display: "none" } }),
|
|
72491
72494
|
/* @__PURE__ */ T.jsxs(
|
|
@@ -72500,7 +72503,7 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72500
72503
|
Ile,
|
|
72501
72504
|
{
|
|
72502
72505
|
theme: r,
|
|
72503
|
-
items: Re.current.sort((q,
|
|
72506
|
+
items: Re.current.sort((q, Ee) => q.orderIndex - Ee.orderIndex),
|
|
72504
72507
|
change: (q) => wr(q)
|
|
72505
72508
|
}
|
|
72506
72509
|
) }) })
|
|
@@ -72643,7 +72646,7 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72643
72646
|
/* @__PURE__ */ T.jsx($k, { visible: (U == null ? void 0 : U.filterRow) ?? !1, applyFilter: "auto" }),
|
|
72644
72647
|
/* @__PURE__ */ T.jsx(qk, { visible: (Q == null ? void 0 : Q.visible) ?? !1, width: (Q == null ? void 0 : Q.width) ?? 256, placeholder: (Q == null ? void 0 : Q.placeholder) ?? "Search..." }),
|
|
72645
72648
|
/* @__PURE__ */ T.jsx(Wk, { allowSearch: !0, visible: (U == null ? void 0 : U.headerFilter) ?? !1 }),
|
|
72646
|
-
Re && Re.current.map((q,
|
|
72649
|
+
Re && Re.current.map((q, Ee) => q.group ? /* @__PURE__ */ T.jsx(qc, { groupIndex: 0, dataField: q.columnKey }, Ee) : /* @__PURE__ */ T.jsx(
|
|
72647
72650
|
qc,
|
|
72648
72651
|
{
|
|
72649
72652
|
dataField: q.columnKey,
|
|
@@ -72666,10 +72669,10 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72666
72669
|
visibleIndex: q.orderIndex,
|
|
72667
72670
|
defaultSortOrder: q.sortOrderType
|
|
72668
72671
|
},
|
|
72669
|
-
|
|
72672
|
+
Ee
|
|
72670
72673
|
)),
|
|
72671
|
-
i && i.length && !u && /* @__PURE__ */ T.jsx(Hm, { children: i && i.map((q,
|
|
72672
|
-
i && i.length && u && /* @__PURE__ */ T.jsx(Hm, { children: i.map((q,
|
|
72674
|
+
i && i.length && !u && /* @__PURE__ */ T.jsx(Hm, { children: i && i.map((q, Ee) => /* @__PURE__ */ T.jsx(Wm, { column: q.column, summaryType: "custom", customizeText: q.total }, Ee)) }),
|
|
72675
|
+
i && i.length && u && /* @__PURE__ */ T.jsx(Hm, { children: i.map((q, Ee) => /* @__PURE__ */ T.jsx(Wm, { column: q.column, summaryType: q.summaryType, displayFormat: q.displayFormat })) }),
|
|
72673
72676
|
!!G && Je && Je.length && /* @__PURE__ */ T.jsx(
|
|
72674
72677
|
qc,
|
|
72675
72678
|
{
|
|
@@ -72689,9 +72692,9 @@ const yle = "ColumnConfigure-module__configureWrapper", xle = "ColumnConfigure-m
|
|
|
72689
72692
|
theme: r,
|
|
72690
72693
|
rowData: q.data,
|
|
72691
72694
|
rowID: q.data[n],
|
|
72692
|
-
actions: Je.filter((
|
|
72695
|
+
actions: Je.filter((Ee) => Ee.disabledForKeys && Ee.disabledForKeys.length ? !Ee.disabledForKeys.includes(q.data[n]) : Ee),
|
|
72693
72696
|
hiddenActionTypes: [R ? "" : "delete", P ? "" : "edit"],
|
|
72694
|
-
onExpand: (
|
|
72697
|
+
onExpand: (Ee) => {
|
|
72695
72698
|
Sr(q.data), _e && typeof _e == "function" && _e(q.data);
|
|
72696
72699
|
}
|
|
72697
72700
|
}
|