@scvzerng/element-ui-ag-grid-vue2 0.0.33 → 0.0.34
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/ElementPlusAgGrid.es.js +673 -660
- package/dist/ElementPlusAgGrid.umd.js +8 -8
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var R = (e, t, o) =>
|
|
4
|
-
import { get as At, cloneDeep as tt, isString as
|
|
1
|
+
var xd = Object.defineProperty;
|
|
2
|
+
var Dd = (e, t, o) => t in e ? xd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var R = (e, t, o) => Dd(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import { get as At, cloneDeep as tt, isString as Fd, isFunction as Pd, isArray as ae, debounce as Td, sumBy as Id, isEmpty as Qo, isNumber as Gr, set as Hr, isEqual as Ad, isPlainObject as Md, omit as kd } from "lodash-unified";
|
|
5
5
|
import fs from "md5";
|
|
6
|
-
import Wt, { reactive as Cs, ref as V, computed as de, nextTick as
|
|
6
|
+
import Wt, { reactive as Cs, ref as V, computed as de, nextTick as An, watch as Xt, toRaw as Xo, defineComponent as W, isRef as Ld, isReactive as Gd, isProxy as Hd, toRefs as Od, getCurrentInstance as Yt, onMounted as js, markRaw as Bd, onUnmounted as Or, mergeDefaults as Vd, onBeforeMount as Nd, inject as Ro, provide as _d } from "vue";
|
|
7
7
|
import { Message as Wd } from "element-ui";
|
|
8
8
|
var ot = class {
|
|
9
9
|
constructor() {
|
|
@@ -86,7 +86,7 @@ var ot = class {
|
|
|
86
86
|
function zd(e, t) {
|
|
87
87
|
return t;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Br(e) {
|
|
90
90
|
return (e == null ? void 0 : e.getLocaleTextFunc()) ?? zd;
|
|
91
91
|
}
|
|
92
92
|
function Ze(e) {
|
|
@@ -101,7 +101,7 @@ function K(e) {
|
|
|
101
101
|
function ms(e) {
|
|
102
102
|
return e != null && typeof e.toString == "function" ? e.toString() : null;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Mn(e, t) {
|
|
105
105
|
const o = e ? JSON.stringify(e) : null, i = t ? JSON.stringify(t) : null;
|
|
106
106
|
return o === i;
|
|
107
107
|
}
|
|
@@ -124,7 +124,7 @@ function $d(e, t, o = !1) {
|
|
|
124
124
|
return n(e, t);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
var
|
|
127
|
+
var Vr = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
128
128
|
function Ud(e, t) {
|
|
129
129
|
if (e != null) {
|
|
130
130
|
if (Array.isArray(e)) {
|
|
@@ -132,14 +132,14 @@ function Ud(e, t) {
|
|
|
132
132
|
t(o.toString(), e[o]);
|
|
133
133
|
return;
|
|
134
134
|
}
|
|
135
|
-
for (const o of Object.keys(e).filter((i) => !
|
|
135
|
+
for (const o of Object.keys(e).filter((i) => !Vr.has(i)))
|
|
136
136
|
t(o, e[o]);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
function ce(e, t, o = !0, i = !1) {
|
|
140
140
|
M(t) && Ud(t, (s, n) => {
|
|
141
141
|
let r = e[s];
|
|
142
|
-
r !== n && (i && r == null && n != null && typeof n == "object" && n.constructor === Object && (r = {}, e[s] = r),
|
|
142
|
+
r !== n && (i && r == null && n != null && typeof n == "object" && n.constructor === Object && (r = {}, e[s] = r), kn(n) && kn(r) && !Array.isArray(r) ? ce(r, n, o, i) : (o || n !== void 0) && (e[s] = n));
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
function Jt(e, t, o) {
|
|
@@ -156,7 +156,7 @@ function Jt(e, t, o) {
|
|
|
156
156
|
}
|
|
157
157
|
return s;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function kn(e) {
|
|
160
160
|
return typeof e == "object" && e !== null;
|
|
161
161
|
}
|
|
162
162
|
var qs = class je {
|
|
@@ -352,15 +352,15 @@ var jd = {
|
|
|
352
352
|
enableFilterHandlers: !1
|
|
353
353
|
};
|
|
354
354
|
function Ie(e, t, o) {
|
|
355
|
-
o == null || typeof o == "string" && o == "" ?
|
|
355
|
+
o == null || typeof o == "string" && o == "" ? Nr(e, t) : we(e, t, o);
|
|
356
356
|
}
|
|
357
357
|
function we(e, t, o) {
|
|
358
|
-
e.setAttribute(
|
|
358
|
+
e.setAttribute(_r(t), o.toString());
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
e.removeAttribute(
|
|
360
|
+
function Nr(e, t) {
|
|
361
|
+
e.removeAttribute(_r(t));
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function _r(e) {
|
|
364
364
|
return `aria-${e}`;
|
|
365
365
|
}
|
|
366
366
|
function ze(e, t) {
|
|
@@ -379,7 +379,7 @@ function ro(e, t) {
|
|
|
379
379
|
function ao(e, t) {
|
|
380
380
|
Ie(e, "labelledby", t);
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Wr(e, t) {
|
|
383
383
|
Ie(e, "live", t);
|
|
384
384
|
}
|
|
385
385
|
function Zd(e, t) {
|
|
@@ -391,7 +391,7 @@ function Qd(e, t) {
|
|
|
391
391
|
function Xd(e, t) {
|
|
392
392
|
Ie(e, "invalid", t);
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function zr(e, t) {
|
|
395
395
|
Ie(e, "hidden", t);
|
|
396
396
|
}
|
|
397
397
|
function vs(e, t) {
|
|
@@ -418,7 +418,7 @@ function ic(e, t) {
|
|
|
418
418
|
function sc(e, t) {
|
|
419
419
|
we(e, "colcount", t);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function $r(e, t) {
|
|
422
422
|
we(e, "colindex", t);
|
|
423
423
|
}
|
|
424
424
|
function nc(e, t) {
|
|
@@ -428,7 +428,7 @@ function rc(e, t) {
|
|
|
428
428
|
we(e, "sort", t);
|
|
429
429
|
}
|
|
430
430
|
function ac(e) {
|
|
431
|
-
|
|
431
|
+
Nr(e, "sort");
|
|
432
432
|
}
|
|
433
433
|
function Ss(e, t) {
|
|
434
434
|
Ie(e, "selected", t);
|
|
@@ -439,20 +439,20 @@ function lc(e, t) {
|
|
|
439
439
|
function dc(e, t) {
|
|
440
440
|
lc(e, t.id), ao(t, e.id);
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function Ln(e, t) {
|
|
443
443
|
Ie(e, "owns", t);
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function Ur(e, t) {
|
|
446
446
|
return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
|
|
447
447
|
}
|
|
448
448
|
var Bi, Vi, Ni, _i, bs, ys, Wi;
|
|
449
449
|
function Ot() {
|
|
450
450
|
return Bi === void 0 && (Bi = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), Bi;
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function Kr() {
|
|
453
453
|
return Vi === void 0 && (Vi = /(firefox)/i.test(navigator.userAgent)), Vi;
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function jr() {
|
|
456
456
|
return Ni === void 0 && (Ni = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)), Ni;
|
|
457
457
|
}
|
|
458
458
|
function wt() {
|
|
@@ -462,7 +462,7 @@ function Rs(e) {
|
|
|
462
462
|
if (!e)
|
|
463
463
|
return null;
|
|
464
464
|
const t = e.tabIndex, o = e.getAttribute("tabIndex");
|
|
465
|
-
return t === -1 && (o === null || o === "" && !
|
|
465
|
+
return t === -1 && (o === null || o === "" && !Kr()) ? null : t.toString();
|
|
466
466
|
}
|
|
467
467
|
function cc() {
|
|
468
468
|
if (Wi !== void 0)
|
|
@@ -470,7 +470,7 @@ function cc() {
|
|
|
470
470
|
if (!document.body)
|
|
471
471
|
return -1;
|
|
472
472
|
let e = 1e6;
|
|
473
|
-
const t =
|
|
473
|
+
const t = Kr() ? 6e6 : 1e9, o = document.createElement("div");
|
|
474
474
|
for (document.body.appendChild(o); ; ) {
|
|
475
475
|
const i = e * 2;
|
|
476
476
|
if (o.style.height = i + "px", i > t || o.clientHeight !== i)
|
|
@@ -480,31 +480,31 @@ function cc() {
|
|
|
480
480
|
return document.body.removeChild(o), Wi = e, e;
|
|
481
481
|
}
|
|
482
482
|
function uc() {
|
|
483
|
-
return ys == null &&
|
|
483
|
+
return ys == null && qr(), ys;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function qr() {
|
|
486
486
|
const e = document.body, t = document.createElement("div");
|
|
487
487
|
t.style.width = t.style.height = "100px", t.style.opacity = "0", t.style.overflow = "scroll", t.style.msOverflowStyle = "scrollbar", t.style.position = "absolute", e.appendChild(t);
|
|
488
488
|
let o = t.offsetWidth - t.clientWidth;
|
|
489
489
|
o === 0 && t.clientWidth === 0 && (o = null), t.parentNode && t.parentNode.removeChild(t), o != null && (ys = o, bs = o === 0);
|
|
490
490
|
}
|
|
491
|
-
function
|
|
492
|
-
return bs == null &&
|
|
491
|
+
function Yr() {
|
|
492
|
+
return bs == null && qr(), bs;
|
|
493
493
|
}
|
|
494
|
-
var hc = "[tabindex], input, select, button, textarea, [href]",
|
|
494
|
+
var hc = "[tabindex], input, select, button, textarea, [href]", Zr = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
|
|
495
495
|
function Ys(e) {
|
|
496
|
-
const t = Element.prototype.matches || Element.prototype.msMatchesSelector, i = t.call(e, "input, select, button, textarea"), s = t.call(e,
|
|
496
|
+
const t = Element.prototype.matches || Element.prototype.msMatchesSelector, i = t.call(e, "input, select, button, textarea"), s = t.call(e, Zr), n = Oe(e);
|
|
497
497
|
return i && !s && n;
|
|
498
498
|
}
|
|
499
499
|
function Z(e, t, o = {}) {
|
|
500
500
|
const { skipAriaHidden: i } = o;
|
|
501
|
-
e.classList.toggle("ag-hidden", !t), i ||
|
|
501
|
+
e.classList.toggle("ag-hidden", !t), i || zr(e, !t);
|
|
502
502
|
}
|
|
503
503
|
function gc(e, t, o = {}) {
|
|
504
504
|
const { skipAriaHidden: i } = o;
|
|
505
|
-
e.classList.toggle("ag-invisible", !t), i ||
|
|
505
|
+
e.classList.toggle("ag-invisible", !t), i || zr(e, !t);
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function Qr(e, t) {
|
|
508
508
|
const o = "disabled", i = t ? (n) => n.setAttribute(o, "") : (n) => n.removeAttribute(o);
|
|
509
509
|
i(e);
|
|
510
510
|
const s = e.querySelectorAll("input") ?? [];
|
|
@@ -576,7 +576,7 @@ function Es(e) {
|
|
|
576
576
|
const { width: t, marginLeft: o, marginRight: i } = lt(e);
|
|
577
577
|
return Math.floor(t + o + i);
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function Xr(e) {
|
|
580
580
|
const t = e.getBoundingClientRect(), { borderTopWidth: o, borderLeftWidth: i, borderRightWidth: s, borderBottomWidth: n } = lt(e);
|
|
581
581
|
return {
|
|
582
582
|
top: t.top + (o || 0),
|
|
@@ -599,21 +599,21 @@ function Ce(e) {
|
|
|
599
599
|
function Le(e) {
|
|
600
600
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function Jr(e) {
|
|
603
603
|
return !!e.offsetParent;
|
|
604
604
|
}
|
|
605
605
|
function Oe(e) {
|
|
606
606
|
const t = e;
|
|
607
|
-
return t.checkVisibility ? t.checkVisibility({ checkVisibilityCSS: !0 }) : !(!
|
|
607
|
+
return t.checkVisibility ? t.checkVisibility({ checkVisibilityCSS: !0 }) : !(!Jr(e) || window.getComputedStyle(e).visibility !== "visible");
|
|
608
608
|
}
|
|
609
609
|
function Qs(e) {
|
|
610
610
|
const t = document.createElement("div");
|
|
611
611
|
return t.innerHTML = (e || "").trim(), t.firstChild;
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function ea(e, t, o) {
|
|
614
614
|
o && o.nextSibling === t || (e.firstChild ? o ? o.nextSibling ? e.insertBefore(t, o.nextSibling) : e.appendChild(t) : e.firstChild && e.firstChild !== t && e.insertAdjacentElement("afterbegin", t) : e.appendChild(t));
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function ta(e, t) {
|
|
617
617
|
for (let o = 0; o < t.length; o++) {
|
|
618
618
|
const i = t[o], s = e.children[o];
|
|
619
619
|
s !== i && e.insertBefore(i, s);
|
|
@@ -635,13 +635,13 @@ function Eo(e, t) {
|
|
|
635
635
|
function Wo(e) {
|
|
636
636
|
return () => {
|
|
637
637
|
const t = e();
|
|
638
|
-
return t ?
|
|
638
|
+
return t ? oa(t) || ia(t) : !0;
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function oa(e) {
|
|
642
642
|
return e.clientWidth < e.scrollWidth;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function ia(e) {
|
|
645
645
|
return e.clientHeight < e.scrollHeight;
|
|
646
646
|
}
|
|
647
647
|
function oi(e, t) {
|
|
@@ -663,20 +663,20 @@ function ue(e, t, o) {
|
|
|
663
663
|
o == null || o === "" ? e.removeAttribute(t) : e.setAttribute(t, o.toString());
|
|
664
664
|
}
|
|
665
665
|
function dt(e, t, o) {
|
|
666
|
-
const s =
|
|
666
|
+
const s = ha(e).ResizeObserver, n = s ? new s(o) : null;
|
|
667
667
|
return n == null || n.observe(t), () => n == null ? void 0 : n.disconnect();
|
|
668
668
|
}
|
|
669
669
|
function Ue(e, t) {
|
|
670
|
-
const o =
|
|
670
|
+
const o = ha(e);
|
|
671
671
|
o.requestAnimationFrame ? o.requestAnimationFrame(t) : o.webkitRequestAnimationFrame ? o.webkitRequestAnimationFrame(t) : o.setTimeout(t, 0);
|
|
672
672
|
}
|
|
673
|
-
var
|
|
674
|
-
function
|
|
673
|
+
var sa = "data-ref", $i;
|
|
674
|
+
function Gn() {
|
|
675
675
|
return $i ?? ($i = document.createTextNode(" ")), $i.cloneNode();
|
|
676
676
|
}
|
|
677
677
|
function Q(e) {
|
|
678
678
|
const { attrs: t, children: o, cls: i, ref: s, role: n, tag: r } = e, a = document.createElement(r);
|
|
679
|
-
if (i && (a.className = i), s && a.setAttribute(
|
|
679
|
+
if (i && (a.className = i), s && a.setAttribute(sa, s), n && a.setAttribute("role", n), t)
|
|
680
680
|
for (const l of Object.keys(t))
|
|
681
681
|
a.setAttribute(l, t[l]);
|
|
682
682
|
if (o)
|
|
@@ -685,13 +685,13 @@ function Q(e) {
|
|
|
685
685
|
else {
|
|
686
686
|
let l = !0;
|
|
687
687
|
for (const d of o)
|
|
688
|
-
d && (typeof d == "string" ? (a.appendChild(document.createTextNode(d)), l = !1) : typeof d == "function" ? a.appendChild(d()) : (l && (a.appendChild(
|
|
688
|
+
d && (typeof d == "string" ? (a.appendChild(document.createTextNode(d)), l = !1) : typeof d == "function" ? a.appendChild(d()) : (l && (a.appendChild(Gn()), l = !1), a.append(Q(d)), a.appendChild(Gn())));
|
|
689
689
|
}
|
|
690
690
|
return a;
|
|
691
691
|
}
|
|
692
|
-
var
|
|
692
|
+
var Hn = {};
|
|
693
693
|
function en(e, t) {
|
|
694
|
-
|
|
694
|
+
Hn[t] || (e(), Hn[t] = !0);
|
|
695
695
|
}
|
|
696
696
|
function co(e, t, ...o) {
|
|
697
697
|
e.get("debug") && console.log("AG Grid: " + t, ...o);
|
|
@@ -729,7 +729,7 @@ function fe(e, t, o) {
|
|
|
729
729
|
}, o);
|
|
730
730
|
};
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function On(e, t) {
|
|
733
733
|
let o = 0;
|
|
734
734
|
return function(...i) {
|
|
735
735
|
const s = this, n = Date.now();
|
|
@@ -745,18 +745,18 @@ function wc(e, t, o = 100, i) {
|
|
|
745
745
|
};
|
|
746
746
|
a(), r || (n = window.setInterval(a, 10));
|
|
747
747
|
}
|
|
748
|
-
var
|
|
748
|
+
var na = "https://www.ag-grid.com", k = "34.1.1", Bn = 2e3, Vn = 100, ra = "_version_", zo = null, bt = `${na}/javascript-data-grid`;
|
|
749
749
|
function vc(e) {
|
|
750
750
|
zo = e;
|
|
751
751
|
}
|
|
752
752
|
function Sc(e) {
|
|
753
753
|
bt = e;
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function aa(e, t, o) {
|
|
756
756
|
return (zo == null ? void 0 : zo.getConsoleMessage(e, t)) ?? [Ec(e, t, o)];
|
|
757
757
|
}
|
|
758
758
|
function tn(e, t, o, i) {
|
|
759
|
-
e(`error #${t}`, ...
|
|
759
|
+
e(`error #${t}`, ...aa(t, o, i));
|
|
760
760
|
}
|
|
761
761
|
function bc(e) {
|
|
762
762
|
if (!e)
|
|
@@ -780,26 +780,26 @@ function Rc(e, t, o) {
|
|
|
780
780
|
const i = Array.from(t.entries()).sort((n, r) => r[1].length - n[1].length);
|
|
781
781
|
let s = Ds(e, t);
|
|
782
782
|
for (const [n, r] of i) {
|
|
783
|
-
if (n ===
|
|
783
|
+
if (n === ra)
|
|
784
784
|
continue;
|
|
785
785
|
const a = s.length - o;
|
|
786
786
|
if (a <= 0)
|
|
787
787
|
break;
|
|
788
|
-
const l = "...", d = a + l.length, c = r.length - d >
|
|
788
|
+
const l = "...", d = a + l.length, c = r.length - d > Vn ? r.slice(0, r.length - d) + l : r.slice(0, Vn) + l;
|
|
789
789
|
t.set(n, c), s = Ds(e, t);
|
|
790
790
|
}
|
|
791
791
|
return s;
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function la(e, t) {
|
|
794
794
|
const o = new URLSearchParams();
|
|
795
|
-
if (o.append(
|
|
795
|
+
if (o.append(ra, k), t)
|
|
796
796
|
for (const n of Object.keys(t))
|
|
797
797
|
o.append(n, yc(t[n]));
|
|
798
798
|
const i = `${bt}/errors/${e}`, s = Ds(i, o);
|
|
799
|
-
return s.length <=
|
|
799
|
+
return s.length <= Bn ? s : Rc(i, o, Bn);
|
|
800
800
|
}
|
|
801
801
|
var Ec = (e, t, o) => {
|
|
802
|
-
const i =
|
|
802
|
+
const i = la(e, t);
|
|
803
803
|
return `${o ? o + `
|
|
804
804
|
` : ""}Visit ${i}${o ? "" : `
|
|
805
805
|
Alternatively register the ValidationModule to see the full message in the console.`}`;
|
|
@@ -807,7 +807,7 @@ var Ec = (e, t, o) => {
|
|
|
807
807
|
function A(...e) {
|
|
808
808
|
tn(eo, e[0], e[1]);
|
|
809
809
|
}
|
|
810
|
-
function
|
|
810
|
+
function $(...e) {
|
|
811
811
|
tn(St, e[0], e[1]);
|
|
812
812
|
}
|
|
813
813
|
function Zt(e, t, o) {
|
|
@@ -815,19 +815,19 @@ function Zt(e, t, o) {
|
|
|
815
815
|
}
|
|
816
816
|
function xc(e, t) {
|
|
817
817
|
const o = t[0];
|
|
818
|
-
return `error #${o} ` +
|
|
818
|
+
return `error #${o} ` + aa(o, t[1], e).join(" ");
|
|
819
819
|
}
|
|
820
820
|
function Fe(...e) {
|
|
821
821
|
return xc(void 0, e);
|
|
822
822
|
}
|
|
823
|
-
function
|
|
823
|
+
function da(e, t) {
|
|
824
824
|
return e.get("rowModelType") === t;
|
|
825
825
|
}
|
|
826
826
|
function ie(e, t) {
|
|
827
|
-
return
|
|
827
|
+
return da(e, "clientSide");
|
|
828
828
|
}
|
|
829
829
|
function Ei(e, t) {
|
|
830
|
-
return
|
|
830
|
+
return da(e, "serverSide");
|
|
831
831
|
}
|
|
832
832
|
function ee(e, t) {
|
|
833
833
|
return e.get("domLayout") === t;
|
|
@@ -835,7 +835,7 @@ function ee(e, t) {
|
|
|
835
835
|
function Qe(e) {
|
|
836
836
|
return ri(e) !== void 0;
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function ca(e) {
|
|
839
839
|
return typeof e.get("getRowHeight") == "function";
|
|
840
840
|
}
|
|
841
841
|
function Dc(e, t) {
|
|
@@ -843,7 +843,7 @@ function Dc(e, t) {
|
|
|
843
843
|
}
|
|
844
844
|
function $e(e, t, o = !1, i) {
|
|
845
845
|
const { gos: s, environment: n } = e;
|
|
846
|
-
if (i == null && (i = n.getDefaultRowHeight()),
|
|
846
|
+
if (i == null && (i = n.getDefaultRowHeight()), ca(s)) {
|
|
847
847
|
if (o)
|
|
848
848
|
return { height: i, estimated: !0 };
|
|
849
849
|
const l = {
|
|
@@ -874,7 +874,7 @@ function on(e) {
|
|
|
874
874
|
function Fs(e) {
|
|
875
875
|
return !isNaN(e) && typeof e == "number" && isFinite(e);
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function ua(e, t, o) {
|
|
878
878
|
const i = t[e.getDomDataKey()];
|
|
879
879
|
return i ? i[o] : void 0;
|
|
880
880
|
}
|
|
@@ -889,7 +889,7 @@ function X(e) {
|
|
|
889
889
|
const s = t.get("getDocument");
|
|
890
890
|
return s && M(s) ? i = s() : o && (i = o.ownerDocument), i && M(i) ? i : document;
|
|
891
891
|
}
|
|
892
|
-
function
|
|
892
|
+
function ha(e) {
|
|
893
893
|
return X(e).defaultView || window;
|
|
894
894
|
}
|
|
895
895
|
function uo(e) {
|
|
@@ -922,33 +922,33 @@ function Ic(e, t, o) {
|
|
|
922
922
|
const s = e.getBoundingClientRect().height, n = Pc(o) - 2, r = Tc(o) - 2;
|
|
923
923
|
if (!e.offsetParent)
|
|
924
924
|
return;
|
|
925
|
-
const l =
|
|
925
|
+
const l = Xr(e.offsetParent), { clientY: d, clientX: c } = t;
|
|
926
926
|
let u = d - l.top - s / 2, h = c - l.left - 10;
|
|
927
927
|
const g = X(o), p = g.defaultView || window, f = p.pageYOffset || g.documentElement.scrollTop, C = p.pageXOffset || g.documentElement.scrollLeft;
|
|
928
928
|
n > 0 && h + e.clientWidth > n + C && (h = n + C - e.clientWidth), h < 0 && (h = 0), r > 0 && u + e.clientHeight > r + f && (u = r + f - e.clientHeight), u < 0 && (u = 0), e.style.left = `${h}px`, e.style.top = `${u}px`;
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function ga(e) {
|
|
931
931
|
const t = q(e);
|
|
932
932
|
return t === null || t === X(e).body;
|
|
933
933
|
}
|
|
934
934
|
function yt(e) {
|
|
935
935
|
return e.get("ensureDomOrder") ? !1 : e.get("animateRows");
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function pa(e) {
|
|
938
938
|
return !(e.get("paginateChildRows") || e.get("groupHideOpenParents") || ee(e, "print"));
|
|
939
939
|
}
|
|
940
940
|
function xe(e) {
|
|
941
941
|
const t = e.get("autoGroupColumnDef");
|
|
942
942
|
return !(t != null && t.comparator) && !e.get("treeData");
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function fa(e) {
|
|
945
945
|
return e.get("grandTotalRow");
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function Ca(e, t) {
|
|
948
948
|
return t ? !1 : e.get("groupDisplayType") === "groupRows";
|
|
949
949
|
}
|
|
950
950
|
function Ac(e, t, o) {
|
|
951
|
-
return !!t.group && !t.footer &&
|
|
951
|
+
return !!t.group && !t.footer && Ca(e, o);
|
|
952
952
|
}
|
|
953
953
|
function si(e) {
|
|
954
954
|
const t = e.getCallback("getRowId");
|
|
@@ -1056,14 +1056,14 @@ function B(e, t) {
|
|
|
1056
1056
|
function Oc(e) {
|
|
1057
1057
|
return e.get("treeData") ? e.get("treeDataParentIdField") ? "treeSelfRef" : e.get("treeDataChildrenField") ? "treeNested" : "treePath" : "group";
|
|
1058
1058
|
}
|
|
1059
|
-
var
|
|
1059
|
+
var ma = "__ag_Grid_Stop_Propagation", Bc = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], Vc = ["wheel"], Ui = {};
|
|
1060
1060
|
function Mt(e) {
|
|
1061
|
-
e[
|
|
1061
|
+
e[ma] = !0;
|
|
1062
1062
|
}
|
|
1063
1063
|
function Ge(e) {
|
|
1064
|
-
return e[
|
|
1064
|
+
return e[ma] === !0;
|
|
1065
1065
|
}
|
|
1066
|
-
var
|
|
1066
|
+
var wa = /* @__PURE__ */ (() => {
|
|
1067
1067
|
const e = {
|
|
1068
1068
|
select: "input",
|
|
1069
1069
|
change: "input",
|
|
@@ -1080,10 +1080,10 @@ var ma = /* @__PURE__ */ (() => {
|
|
|
1080
1080
|
return o = "on" + o, Ui[o] = o in i;
|
|
1081
1081
|
};
|
|
1082
1082
|
})();
|
|
1083
|
-
function
|
|
1083
|
+
function va(e, t, o) {
|
|
1084
1084
|
let i = t;
|
|
1085
1085
|
for (; i; ) {
|
|
1086
|
-
const s =
|
|
1086
|
+
const s = ua(e, i, o);
|
|
1087
1087
|
if (s)
|
|
1088
1088
|
return s;
|
|
1089
1089
|
i = i.parentElement;
|
|
@@ -1105,11 +1105,11 @@ function Wc(e) {
|
|
|
1105
1105
|
return t.path ? t.path : t.composedPath ? t.composedPath() : _c(t);
|
|
1106
1106
|
}
|
|
1107
1107
|
function zc(e, t, o, i) {
|
|
1108
|
-
const s =
|
|
1108
|
+
const s = Sa(o);
|
|
1109
1109
|
let n;
|
|
1110
1110
|
s != null && (n = { passive: s }), e && e.addEventListener && e.addEventListener(t, o, i, n);
|
|
1111
1111
|
}
|
|
1112
|
-
var
|
|
1112
|
+
var Sa = (e) => {
|
|
1113
1113
|
const t = Bc.includes(e), o = Vc.includes(e);
|
|
1114
1114
|
if (t)
|
|
1115
1115
|
return !0;
|
|
@@ -1227,7 +1227,7 @@ var va = (e) => {
|
|
|
1227
1227
|
e.forEach((s) => this.setupGridOptionListener(s, i));
|
|
1228
1228
|
}
|
|
1229
1229
|
getLocaleTextFunc() {
|
|
1230
|
-
return
|
|
1230
|
+
return Br(this.beans.localeSvc);
|
|
1231
1231
|
}
|
|
1232
1232
|
addDestroyFunc(e) {
|
|
1233
1233
|
this.isAlive() ? this.destroyFunctions.push(e) : e();
|
|
@@ -1279,7 +1279,7 @@ var jc = {
|
|
|
1279
1279
|
resizable: !0,
|
|
1280
1280
|
sortable: !0
|
|
1281
1281
|
}, qc = 0;
|
|
1282
|
-
function
|
|
1282
|
+
function ba() {
|
|
1283
1283
|
return qc++;
|
|
1284
1284
|
}
|
|
1285
1285
|
function nt(e) {
|
|
@@ -1287,7 +1287,7 @@ function nt(e) {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
var Ke = class extends E {
|
|
1289
1289
|
constructor(e, t, o, i) {
|
|
1290
|
-
super(), this.colDef = e, this.userProvidedColDef = t, this.colId = o, this.primary = i, this.isColumn = !0, this.instanceId =
|
|
1290
|
+
super(), this.colDef = e, this.userProvidedColDef = t, this.colId = o, this.primary = i, this.isColumn = !0, this.instanceId = ba(), this.autoHeaderHeight = null, this.moving = !1, this.resizing = !1, this.menuVisible = !1, this.lastLeftPinned = !1, this.firstRightPinned = !1, this.filterActive = !1, this.colEventSvc = new ot(), this.tooltipEnabled = !1, this.rowGroupActive = !1, this.pivotActive = !1, this.aggregationActive = !1, this.flex = null, this.colIdSanitised = Uo(o);
|
|
1291
1291
|
}
|
|
1292
1292
|
destroy() {
|
|
1293
1293
|
var e;
|
|
@@ -1695,7 +1695,7 @@ function J(e) {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
var Ko = class extends E {
|
|
1697
1697
|
constructor(e, t, o, i) {
|
|
1698
|
-
super(), this.colGroupDef = e, this.groupId = t, this.padding = o, this.level = i, this.isColumn = !1, this.expandable = !1, this.instanceId =
|
|
1698
|
+
super(), this.colGroupDef = e, this.groupId = t, this.padding = o, this.level = i, this.isColumn = !1, this.expandable = !1, this.instanceId = ba(), this.expandableListenerRemoveCallback = null, this.expanded = !!(e != null && e.openByDefault);
|
|
1699
1699
|
}
|
|
1700
1700
|
destroy() {
|
|
1701
1701
|
this.expandableListenerRemoveCallback && this.reset(null, void 0), super.destroy();
|
|
@@ -1806,7 +1806,7 @@ var Ko = class extends E {
|
|
|
1806
1806
|
cellClass: "ag-right-aligned-cell"
|
|
1807
1807
|
}
|
|
1808
1808
|
};
|
|
1809
|
-
function
|
|
1809
|
+
function Nn(e, t, o) {
|
|
1810
1810
|
const i = {}, s = e.gos;
|
|
1811
1811
|
return Object.assign(i, s.get("defaultColGroupDef")), Object.assign(i, t), s.validateColDef(i, o), i;
|
|
1812
1812
|
}
|
|
@@ -1830,8 +1830,8 @@ var Zc = class {
|
|
|
1830
1830
|
o++;
|
|
1831
1831
|
}
|
|
1832
1832
|
}
|
|
1833
|
-
},
|
|
1834
|
-
function
|
|
1833
|
+
}, _n = Object.freeze([]);
|
|
1834
|
+
function z(e) {
|
|
1835
1835
|
if (e != null && e.length)
|
|
1836
1836
|
return e[e.length - 1];
|
|
1837
1837
|
}
|
|
@@ -1847,14 +1847,14 @@ function be(e, t) {
|
|
|
1847
1847
|
const o = e.indexOf(t);
|
|
1848
1848
|
o >= 0 && e.splice(o, 1);
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function Wn(e, t, o) {
|
|
1851
1851
|
for (let i = 0; i < t.length; i++)
|
|
1852
1852
|
be(e, t[i]);
|
|
1853
1853
|
for (let i = t.length - 1; i >= 0; i--)
|
|
1854
1854
|
e.splice(o, 0, t[i]);
|
|
1855
1855
|
}
|
|
1856
|
-
var xi = "ag-Grid-AutoColumn",
|
|
1857
|
-
function
|
|
1856
|
+
var xi = "ag-Grid-AutoColumn", ya = "ag-Grid-SelectionColumn", Ra = "ag-Grid-RowNumbersColumn";
|
|
1857
|
+
function Ea(e) {
|
|
1858
1858
|
const t = [], o = (i) => {
|
|
1859
1859
|
for (let s = 0; s < i.length; s++) {
|
|
1860
1860
|
const n = i[s];
|
|
@@ -1878,16 +1878,16 @@ function di(e, t, o) {
|
|
|
1878
1878
|
const s = Object.values(i).filter((n) => n != null);
|
|
1879
1879
|
e.context.destroyBeans(s);
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function xa(e) {
|
|
1882
1882
|
return e.getId().startsWith(xi);
|
|
1883
1883
|
}
|
|
1884
1884
|
function ct(e) {
|
|
1885
1885
|
const t = typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId;
|
|
1886
|
-
return (t == null ? void 0 : t.startsWith(
|
|
1886
|
+
return (t == null ? void 0 : t.startsWith(ya)) ?? !1;
|
|
1887
1887
|
}
|
|
1888
1888
|
function Xe(e) {
|
|
1889
1889
|
const t = typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId;
|
|
1890
|
-
return (t == null ? void 0 : t.startsWith(
|
|
1890
|
+
return (t == null ? void 0 : t.startsWith(Ra)) ?? !1;
|
|
1891
1891
|
}
|
|
1892
1892
|
function Qc(e) {
|
|
1893
1893
|
return ct(e) || Xe(e);
|
|
@@ -1905,7 +1905,7 @@ function Jc(e) {
|
|
|
1905
1905
|
function Et(e) {
|
|
1906
1906
|
return e === "gridOptionsUpdated" ? "gridOptionsChanged" : e;
|
|
1907
1907
|
}
|
|
1908
|
-
function
|
|
1908
|
+
function Da(e, t) {
|
|
1909
1909
|
const o = e === t, i = e.getColDef() === t, s = e.getColId() == t;
|
|
1910
1910
|
return o || i || s;
|
|
1911
1911
|
}
|
|
@@ -1920,7 +1920,7 @@ var eu = (e, t) => (o, i) => {
|
|
|
1920
1920
|
function tu(e, t = null, o, i, s) {
|
|
1921
1921
|
const n = new Zc(), { existingCols: r, existingGroups: a, existingColKeys: l } = ou(i);
|
|
1922
1922
|
n.addExistingKeys(l);
|
|
1923
|
-
const d =
|
|
1923
|
+
const d = Fa(
|
|
1924
1924
|
e,
|
|
1925
1925
|
t,
|
|
1926
1926
|
0,
|
|
@@ -1949,7 +1949,7 @@ function ou(e) {
|
|
|
1949
1949
|
}
|
|
1950
1950
|
}), { existingCols: t, existingGroups: o, existingColKeys: i };
|
|
1951
1951
|
}
|
|
1952
|
-
function
|
|
1952
|
+
function Fa(e, t, o, i, s, n, r, a) {
|
|
1953
1953
|
if (!t)
|
|
1954
1954
|
return [];
|
|
1955
1955
|
const { colGroupSvc: l } = e, d = new Array(t.length);
|
|
@@ -1981,12 +1981,12 @@ function iu(e, t, o, i, s, n) {
|
|
|
1981
1981
|
}
|
|
1982
1982
|
return (l = e.dataTypeSvc) == null || l.addColumnListeners(a), a;
|
|
1983
1983
|
}
|
|
1984
|
-
function
|
|
1984
|
+
function Pa(e, t, o, i, s, n, r, a) {
|
|
1985
1985
|
const { sortSvc: l, pinnedCols: d, colFlex: c } = e;
|
|
1986
1986
|
o !== void 0 && t.setVisible(!o, a), l && (l.updateColSort(t, i, a), s !== void 0 && l.setColSortIndex(t, s)), n !== void 0 && (d == null || d.setColPinned(t, n)), r !== void 0 && (c == null || c.setColFlex(t, r));
|
|
1987
1987
|
}
|
|
1988
1988
|
function su(e, t, o, i) {
|
|
1989
|
-
|
|
1989
|
+
Pa(
|
|
1990
1990
|
e,
|
|
1991
1991
|
t,
|
|
1992
1992
|
o.hide,
|
|
@@ -2068,14 +2068,14 @@ function He(e, t, o) {
|
|
|
2068
2068
|
J(s) && He(s, s.getChildren(), o), o(s, e);
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
2071
|
-
function
|
|
2071
|
+
function Ta(e, t) {
|
|
2072
2072
|
const o = [], i = [], s = [];
|
|
2073
2073
|
return e.forEach((r) => {
|
|
2074
2074
|
const a = r.getColDef().lockPosition;
|
|
2075
2075
|
a === "right" ? s.push(r) : a === "left" || a === !0 ? o.push(r) : i.push(r);
|
|
2076
2076
|
}), t.get("enableRtl") ? [...s, ...i, ...o] : [...o, ...i, ...s];
|
|
2077
2077
|
}
|
|
2078
|
-
function
|
|
2078
|
+
function Ia(e, t) {
|
|
2079
2079
|
let o = !0;
|
|
2080
2080
|
return He(null, t, (i) => {
|
|
2081
2081
|
if (!J(i))
|
|
@@ -2092,7 +2092,7 @@ function Ta(e, t) {
|
|
|
2092
2092
|
c > u && (o = !1);
|
|
2093
2093
|
}), o;
|
|
2094
2094
|
}
|
|
2095
|
-
function
|
|
2095
|
+
function Aa(e, t) {
|
|
2096
2096
|
if (!e || e.length == 0)
|
|
2097
2097
|
return;
|
|
2098
2098
|
const o = t(e[0]);
|
|
@@ -2101,10 +2101,10 @@ function Ia(e, t) {
|
|
|
2101
2101
|
return;
|
|
2102
2102
|
return o;
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2104
|
+
function Ma(e, t, o) {
|
|
2105
2105
|
if (!t.length)
|
|
2106
2106
|
return;
|
|
2107
|
-
const i = t.length === 1 ? t[0] : null, s =
|
|
2107
|
+
const i = t.length === 1 ? t[0] : null, s = Aa(t, (n) => n.getPinned());
|
|
2108
2108
|
e.dispatchEvent({
|
|
2109
2109
|
type: "columnPinned",
|
|
2110
2110
|
// mistake in typing, 'undefined' should be allowed, as 'null' means 'not pinned'
|
|
@@ -2117,7 +2117,7 @@ function Aa(e, t, o) {
|
|
|
2117
2117
|
function du(e, t, o) {
|
|
2118
2118
|
if (!t.length)
|
|
2119
2119
|
return;
|
|
2120
|
-
const i = t.length === 1 ? t[0] : null, s =
|
|
2120
|
+
const i = t.length === 1 ? t[0] : null, s = Aa(t, (n) => n.isVisible());
|
|
2121
2121
|
e.dispatchEvent({
|
|
2122
2122
|
type: "columnVisible",
|
|
2123
2123
|
visible: s,
|
|
@@ -2168,7 +2168,7 @@ function Se(e, t, o) {
|
|
|
2168
2168
|
if (!x)
|
|
2169
2169
|
return;
|
|
2170
2170
|
const P = eu(T, t.defaultState), H = P("flex").value1;
|
|
2171
|
-
if (
|
|
2171
|
+
if (Pa(
|
|
2172
2172
|
e,
|
|
2173
2173
|
x,
|
|
2174
2174
|
P("hide").value1,
|
|
@@ -2187,24 +2187,24 @@ function Se(e, t, o) {
|
|
|
2187
2187
|
F || !x.isPrimary() || (h == null || h.syncColumnWithState(x, o, P), s == null || s.syncColumnWithState(x, o, P, L), n == null || n.syncColumnWithState(x, o, P, D));
|
|
2188
2188
|
}, w = (x, T, L) => {
|
|
2189
2189
|
var Pn, Tn;
|
|
2190
|
-
const D =
|
|
2190
|
+
const D = ka(e, o), F = T.slice(), P = {}, H = {}, G = [], N = [], _ = [];
|
|
2191
2191
|
let ne = 0;
|
|
2192
|
-
const ye = (s == null ? void 0 : s.columns.slice()) ?? [],
|
|
2192
|
+
const ye = (s == null ? void 0 : s.columns.slice()) ?? [], Ed = (n == null ? void 0 : n.columns.slice()) ?? [];
|
|
2193
2193
|
x.forEach((te) => {
|
|
2194
2194
|
const _t = te.colId;
|
|
2195
2195
|
if (_t.startsWith(xi)) {
|
|
2196
|
-
G.push(te),
|
|
2196
|
+
G.push(te), _.push(te);
|
|
2197
2197
|
return;
|
|
2198
2198
|
}
|
|
2199
2199
|
if (ct(_t)) {
|
|
2200
|
-
N.push(te),
|
|
2200
|
+
N.push(te), _.push(te);
|
|
2201
2201
|
return;
|
|
2202
2202
|
}
|
|
2203
2203
|
const ht = L(_t);
|
|
2204
|
-
ht ? (m(ht, te, P, H, !1), be(F, ht)) : (
|
|
2204
|
+
ht ? (m(ht, te, P, H, !1), be(F, ht)) : (_.push(te), ne += 1);
|
|
2205
2205
|
});
|
|
2206
2206
|
const Dn = (te) => m(te, null, P, H, !1);
|
|
2207
|
-
F.forEach(Dn), s == null || s.sortColumns(
|
|
2207
|
+
F.forEach(Dn), s == null || s.sortColumns(zn.bind(s, P, ye)), n == null || n.sortColumns(zn.bind(n, H, Ed)), i.refreshCols(!1);
|
|
2208
2208
|
const Fn = (te, _t, Oi = []) => {
|
|
2209
2209
|
_t.forEach((ht) => {
|
|
2210
2210
|
const In = te(ht.colId);
|
|
@@ -2222,7 +2222,7 @@ function Se(e, t, o) {
|
|
|
2222
2222
|
), hu(t, i, p), d.refresh(o), g.dispatchEvent({
|
|
2223
2223
|
type: "columnEverythingChanged",
|
|
2224
2224
|
source: o
|
|
2225
|
-
}), D(), { unmatchedAndAutoStates:
|
|
2225
|
+
}), D(), { unmatchedAndAutoStates: _, unmatchedCount: ne };
|
|
2226
2226
|
};
|
|
2227
2227
|
l == null || l.start();
|
|
2228
2228
|
let { unmatchedAndAutoStates: S, unmatchedCount: v } = w(
|
|
@@ -2245,17 +2245,17 @@ function uu(e, t) {
|
|
|
2245
2245
|
const { colModel: o, autoColSvc: i, selectionColSvc: s, eventSvc: n, gos: r } = e, a = o.getColDefCols();
|
|
2246
2246
|
if (!(a != null && a.length))
|
|
2247
2247
|
return;
|
|
2248
|
-
const l = o.getColDefColTree(), d =
|
|
2248
|
+
const l = o.getColDefColTree(), d = Ea(l), c = [];
|
|
2249
2249
|
let u = 1e3, h = 1e3;
|
|
2250
2250
|
const g = (v) => {
|
|
2251
|
-
const b =
|
|
2251
|
+
const b = La(v);
|
|
2252
2252
|
K(b.rowGroupIndex) && b.rowGroup && (b.rowGroupIndex = u++), K(b.pivotIndex) && b.pivot && (b.pivotIndex = h++), c.push(b);
|
|
2253
2253
|
};
|
|
2254
2254
|
(w = i == null ? void 0 : i.getColumns()) == null || w.forEach(g), (S = s == null ? void 0 : s.getColumns()) == null || S.forEach(g), d == null || d.forEach(g), Se(e, { state: c }, t);
|
|
2255
2255
|
const p = (i == null ? void 0 : i.getColumns()) ?? [], m = [...(s == null ? void 0 : s.getColumns()) ?? [], ...p, ...a].map((v) => ({ colId: v.colId }));
|
|
2256
2256
|
Se(e, { state: m, applyOrder: !0 }, t), n.dispatchEvent(B(r, { type: "columnsReset", source: t }));
|
|
2257
2257
|
}
|
|
2258
|
-
function
|
|
2258
|
+
function ka(e, t) {
|
|
2259
2259
|
const { rowGroupColsSvc: o, pivotColsSvc: i, valueColsSvc: s, colModel: n, sortSvc: r, eventSvc: a } = e, l = {
|
|
2260
2260
|
rowGroupColumns: (o == null ? void 0 : o.columns.slice()) ?? [],
|
|
2261
2261
|
pivotColumns: (i == null ? void 0 : i.columns.slice()) ?? [],
|
|
@@ -2269,8 +2269,8 @@ function Ma(e, t) {
|
|
|
2269
2269
|
if (xo(F, P))
|
|
2270
2270
|
return;
|
|
2271
2271
|
const G = new Set(T);
|
|
2272
|
-
L.forEach((
|
|
2273
|
-
G.delete(
|
|
2272
|
+
L.forEach((_) => {
|
|
2273
|
+
G.delete(_) || G.add(_);
|
|
2274
2274
|
});
|
|
2275
2275
|
const N = [...G];
|
|
2276
2276
|
a.dispatchEvent({
|
|
@@ -2301,7 +2301,7 @@ function Ma(e, t) {
|
|
|
2301
2301
|
const L = x.aggFunc != null, D = L != T.isValueActive(), F = L && x.aggFunc != T.getAggFunc();
|
|
2302
2302
|
return D || F;
|
|
2303
2303
|
});
|
|
2304
|
-
f.length > 0 && cu(a, "columnValueChanged", f, t), kt(a, h((x, T) => x.width != T.getActualWidth()), !0, t),
|
|
2304
|
+
f.length > 0 && cu(a, "columnValueChanged", f, t), kt(a, h((x, T) => x.width != T.getActualWidth()), !0, t), Ma(a, h((x, T) => x.pinned != T.getPinned()), t), du(a, h((x, T) => x.hide == T.isVisible()), t);
|
|
2305
2305
|
const v = h((x, T) => x.sort != T.getSort() || x.sortIndex != T.getSortIndex());
|
|
2306
2306
|
v.length > 0 && (r == null || r.dispatchSortChangedEvents(t, v));
|
|
2307
2307
|
const b = ui(e);
|
|
@@ -2338,7 +2338,7 @@ function ui(e) {
|
|
|
2338
2338
|
return h - g;
|
|
2339
2339
|
}), a;
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function La(e) {
|
|
2342
2342
|
const t = (p, f) => p ?? f ?? null, o = e.getColDef(), i = t(o.sort, o.initialSort), s = t(o.sortIndex, o.initialSortIndex), n = t(o.hide, o.initialHide), r = t(o.pinned, o.initialPinned), a = t(o.width, o.initialWidth), l = t(o.flex, o.initialFlex);
|
|
2343
2343
|
let d = t(o.rowGroupIndex, o.initialRowGroupIndex), c = t(o.rowGroup, o.initialRowGroup);
|
|
2344
2344
|
d == null && (c == null || c == !1) && (d = null, c = null);
|
|
@@ -2385,7 +2385,7 @@ function gu(e, t, o, i) {
|
|
|
2385
2385
|
if (n[l] != null)
|
|
2386
2386
|
return;
|
|
2387
2387
|
l.startsWith(xi) ? s.splice(r++, 0, a) : s.push(a);
|
|
2388
|
-
}), s =
|
|
2388
|
+
}), s = Ta(s, i), !Ia(s, o.getColTree())) {
|
|
2389
2389
|
A(39);
|
|
2390
2390
|
return;
|
|
2391
2391
|
}
|
|
@@ -2413,7 +2413,7 @@ function pu(e, t, o, i, s) {
|
|
|
2413
2413
|
source: o
|
|
2414
2414
|
});
|
|
2415
2415
|
}
|
|
2416
|
-
var
|
|
2416
|
+
var zn = (e, t, o, i) => {
|
|
2417
2417
|
const s = e[o.getId()], n = e[i.getId()], r = s != null, a = n != null;
|
|
2418
2418
|
if (r && a)
|
|
2419
2419
|
return s - n;
|
|
@@ -2449,11 +2449,11 @@ var Wn = (e, t, o, i) => {
|
|
|
2449
2449
|
// called from SyncService, when grid has finished initialising
|
|
2450
2450
|
createColsFromColDefs(e) {
|
|
2451
2451
|
var m, w, S;
|
|
2452
|
-
const { beans: t } = this, { valueCache: o, colAutosize: i, rowGroupColsSvc: s, pivotColsSvc: n, valueColsSvc: r, visibleCols: a, eventSvc: l } = t, d = this.colDefs ?
|
|
2452
|
+
const { beans: t } = this, { valueCache: o, colAutosize: i, rowGroupColsSvc: s, pivotColsSvc: n, valueColsSvc: r, visibleCols: a, eventSvc: l } = t, d = this.colDefs ? ka(t, e) : void 0;
|
|
2453
2453
|
o == null || o.expire();
|
|
2454
2454
|
const c = (m = this.colDefCols) == null ? void 0 : m.list, u = (w = this.colDefCols) == null ? void 0 : w.tree, h = tu(t, this.colDefs, !0, u, e);
|
|
2455
2455
|
di(t, (S = this.colDefCols) == null ? void 0 : S.tree, h.columnTree);
|
|
2456
|
-
const g = h.columnTree, p = h.treeDepth, f =
|
|
2456
|
+
const g = h.columnTree, p = h.treeDepth, f = Ea(g), C = {};
|
|
2457
2457
|
f.forEach((v) => C[v.getId()] = v), this.colDefCols = { tree: g, treeDepth: p, list: f, map: C }, s == null || s.extractCols(e, c), n == null || n.extractCols(e, c), r == null || r.extractCols(e, c), this.ready = !0, this.refreshCols(!0), a.refresh(e), l.dispatchEvent({
|
|
2458
2458
|
type: "columnEverythingChanged",
|
|
2459
2459
|
source: e
|
|
@@ -2516,7 +2516,7 @@ var Wn = (e, t, o, i) => {
|
|
|
2516
2516
|
return [];
|
|
2517
2517
|
const { valueColsSvc: e, selectionColSvc: t, gos: o } = this.beans, i = this.isPivotMode() && !this.showingPivotResult, s = t == null ? void 0 : t.isSelectionColumnEnabled(), n = o.get("rowNumbers"), r = e == null ? void 0 : e.columns;
|
|
2518
2518
|
return this.cols.list.filter((l) => {
|
|
2519
|
-
const d =
|
|
2519
|
+
const d = xa(l);
|
|
2520
2520
|
if (i) {
|
|
2521
2521
|
const c = r == null ? void 0 : r.includes(l);
|
|
2522
2522
|
return d || c || s && ct(l) || n && Xe(l);
|
|
@@ -2627,7 +2627,7 @@ var Wn = (e, t, o, i) => {
|
|
|
2627
2627
|
e.list = d;
|
|
2628
2628
|
}
|
|
2629
2629
|
positionLockedCols(e) {
|
|
2630
|
-
e.list =
|
|
2630
|
+
e.list = Ta(e.list, this.gos);
|
|
2631
2631
|
}
|
|
2632
2632
|
saveColOrder() {
|
|
2633
2633
|
var e, t;
|
|
@@ -2732,7 +2732,7 @@ var Wn = (e, t, o, i) => {
|
|
|
2732
2732
|
if (typeof e == "string" && o[e])
|
|
2733
2733
|
return o[e];
|
|
2734
2734
|
for (let r = 0; r < i.length; r++)
|
|
2735
|
-
if (
|
|
2735
|
+
if (Da(i[r], e))
|
|
2736
2736
|
return i[r];
|
|
2737
2737
|
return ((s = this.beans.autoColSvc) == null ? void 0 : s.getColumn(e)) ?? ((n = this.beans.selectionColSvc) == null ? void 0 : n.getColumn(e)) ?? null;
|
|
2738
2738
|
}
|
|
@@ -2749,7 +2749,7 @@ var Wn = (e, t, o, i) => {
|
|
|
2749
2749
|
function Di(e, t, o) {
|
|
2750
2750
|
return o && e.addDestroyFunc(() => t.destroyBean(o)), o ?? e;
|
|
2751
2751
|
}
|
|
2752
|
-
var
|
|
2752
|
+
var Ga = class {
|
|
2753
2753
|
constructor(e) {
|
|
2754
2754
|
this.cssClassStates = {}, this.getGui = e;
|
|
2755
2755
|
}
|
|
@@ -2768,7 +2768,7 @@ var La = class {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
}, mu = 0, I = null, j = class extends E {
|
|
2770
2770
|
constructor(e, t) {
|
|
2771
|
-
super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = mu++, this.cssManager = new
|
|
2771
|
+
super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = mu++, this.cssManager = new Ga(() => this.eGui), this.componentSelectors = new Map((t ?? []).map((o) => [o.selector, o])), e && this.setTemplate(e);
|
|
2772
2772
|
}
|
|
2773
2773
|
preConstruct() {
|
|
2774
2774
|
var t, o, i;
|
|
@@ -2783,7 +2783,7 @@ var La = class {
|
|
|
2783
2783
|
return this.compId;
|
|
2784
2784
|
}
|
|
2785
2785
|
getDataRefAttribute(e) {
|
|
2786
|
-
return e.getAttribute ? e.getAttribute(
|
|
2786
|
+
return e.getAttribute ? e.getAttribute(sa) : null;
|
|
2787
2787
|
}
|
|
2788
2788
|
applyElementsToComponent(e, t, o, i = null) {
|
|
2789
2789
|
if (t === void 0 && (t = this.getDataRefAttribute(e)), t) {
|
|
@@ -3002,11 +3002,11 @@ var Su = class extends E {
|
|
|
3002
3002
|
};
|
|
3003
3003
|
if (a != null && f(a), l == null && d == null && o != null && f(o), l && r && !wu(l) && (l = (S = this.agCompUtils) == null ? void 0 : S.adaptFunction(t, l)), !l && !d) {
|
|
3004
3004
|
const { validation: v } = this.beans;
|
|
3005
|
-
s && (a !== o || !o) ? a ? v != null && v.isProvidedUserComp(a) ||
|
|
3005
|
+
s && (a !== o || !o) ? a ? v != null && v.isProvidedUserComp(a) || $(50, { compName: a }) : o ? v || $(260, {
|
|
3006
3006
|
...this.gos.getModuleErrorParams(),
|
|
3007
3007
|
propName: n,
|
|
3008
3008
|
compName: o
|
|
3009
|
-
}) :
|
|
3009
|
+
}) : $(216, { name: n }) : o && !v && $(146, { comp: o });
|
|
3010
3010
|
return;
|
|
3011
3011
|
}
|
|
3012
3012
|
const C = this.mergeParams(
|
|
@@ -3109,13 +3109,13 @@ function zu(e, t) {
|
|
|
3109
3109
|
function $u(e, t) {
|
|
3110
3110
|
return e.getCompDetailsFromGridOptions(Gu, "agDetailCellRenderer", t, !0);
|
|
3111
3111
|
}
|
|
3112
|
-
function
|
|
3112
|
+
function $n(e, t, o) {
|
|
3113
3113
|
return e.getCompDetails(t, Du, void 0, o);
|
|
3114
3114
|
}
|
|
3115
|
-
function
|
|
3115
|
+
function Un(e, t, o) {
|
|
3116
3116
|
return e.getCompDetails(t, Fu, "agSkeletonCellRenderer", o, !0);
|
|
3117
3117
|
}
|
|
3118
|
-
function
|
|
3118
|
+
function Ha(e, t, o) {
|
|
3119
3119
|
return e.getCompDetails(t, Pu, "agCellEditor", o, !0);
|
|
3120
3120
|
}
|
|
3121
3121
|
function Uu(e, t) {
|
|
@@ -3131,7 +3131,7 @@ function Is(e) {
|
|
|
3131
3131
|
const t = e;
|
|
3132
3132
|
return t != null && t.getFrameworkComponentInstance != null ? t.getFrameworkComponentInstance() : e;
|
|
3133
3133
|
}
|
|
3134
|
-
var
|
|
3134
|
+
var Oa = /* @__PURE__ */ new Set(), hi = {}, xt = {}, jo, Ba = !1, Va = !1, qu = !1;
|
|
3135
3135
|
function Yu(e) {
|
|
3136
3136
|
const [t, o] = e.version.split(".") || [], [i, s] = jo.split(".") || [];
|
|
3137
3137
|
return t === i && o === s;
|
|
@@ -3149,11 +3149,11 @@ function Zu(e) {
|
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
3151
3151
|
function Lt(e, t, o = !1) {
|
|
3152
|
-
o || (
|
|
3152
|
+
o || (Ba = !0), Zu(e);
|
|
3153
3153
|
const i = e.rowModels ?? ["all"];
|
|
3154
|
-
|
|
3154
|
+
Oa.add(e);
|
|
3155
3155
|
let s;
|
|
3156
|
-
t !== void 0 ? (
|
|
3156
|
+
t !== void 0 ? (Va = !0, xt[t] === void 0 && (xt[t] = {}), s = xt[t]) : s = hi, i.forEach((n) => {
|
|
3157
3157
|
s[n] === void 0 && (s[n] = {}), s[n][e.moduleName] = e;
|
|
3158
3158
|
}), e.dependsOn && e.dependsOn.forEach((n) => Lt(n, t, o));
|
|
3159
3159
|
}
|
|
@@ -3168,7 +3168,7 @@ function As(e, t, o) {
|
|
|
3168
3168
|
return i(o) || i("all");
|
|
3169
3169
|
}
|
|
3170
3170
|
function nn() {
|
|
3171
|
-
return
|
|
3171
|
+
return Va;
|
|
3172
3172
|
}
|
|
3173
3173
|
function Xu(e, t) {
|
|
3174
3174
|
const o = xt[e] ?? {};
|
|
@@ -3180,10 +3180,10 @@ function Xu(e, t) {
|
|
|
3180
3180
|
];
|
|
3181
3181
|
}
|
|
3182
3182
|
function Ju() {
|
|
3183
|
-
return new Set(
|
|
3183
|
+
return new Set(Oa);
|
|
3184
3184
|
}
|
|
3185
3185
|
function eh() {
|
|
3186
|
-
return
|
|
3186
|
+
return Ba;
|
|
3187
3187
|
}
|
|
3188
3188
|
function th() {
|
|
3189
3189
|
return qu;
|
|
@@ -3287,7 +3287,7 @@ var nh = class extends ih {
|
|
|
3287
3287
|
}
|
|
3288
3288
|
}, rh = class extends E {
|
|
3289
3289
|
constructor() {
|
|
3290
|
-
super(...arguments), this.beanName = "editModelSvc", this.edits = /* @__PURE__ */ new Map(), this.cellValidations = new
|
|
3290
|
+
super(...arguments), this.beanName = "editModelSvc", this.edits = /* @__PURE__ */ new Map(), this.cellValidations = new Na(), this.rowValidations = new _a(), this.suspendEdits = !1;
|
|
3291
3291
|
}
|
|
3292
3292
|
suspend(e) {
|
|
3293
3293
|
this.suspendEdits = e;
|
|
@@ -3430,7 +3430,7 @@ var nh = class extends ih {
|
|
|
3430
3430
|
destroy() {
|
|
3431
3431
|
super.destroy(), this.clear();
|
|
3432
3432
|
}
|
|
3433
|
-
},
|
|
3433
|
+
}, Na = class {
|
|
3434
3434
|
constructor() {
|
|
3435
3435
|
this.cellValidations = /* @__PURE__ */ new Map();
|
|
3436
3436
|
}
|
|
@@ -3460,7 +3460,7 @@ var nh = class extends ih {
|
|
|
3460
3460
|
clearCellValidationMap() {
|
|
3461
3461
|
this.cellValidations.clear();
|
|
3462
3462
|
}
|
|
3463
|
-
},
|
|
3463
|
+
}, _a = class {
|
|
3464
3464
|
constructor() {
|
|
3465
3465
|
this.rowValidations = /* @__PURE__ */ new Map();
|
|
3466
3466
|
}
|
|
@@ -3551,18 +3551,18 @@ function gi(e, t) {
|
|
|
3551
3551
|
if (o === 0)
|
|
3552
3552
|
return i === "top" ? null : i === "bottom" && r.isRowsToRender() ? { rowIndex: s.getLastRow(), rowPinned: null } : n != null && n.isRowsToRender("top") ? { rowIndex: n.getPinnedTopRowCount() - 1, rowPinned: "top" } : null;
|
|
3553
3553
|
const a = i ? void 0 : r.getRow(o);
|
|
3554
|
-
return
|
|
3554
|
+
return Wa(e, a, !0) ?? { rowIndex: o - 1, rowPinned: i };
|
|
3555
3555
|
}
|
|
3556
|
-
function
|
|
3556
|
+
function Kn(e, t) {
|
|
3557
3557
|
const { rowIndex: o, rowPinned: i } = t, { pageBounds: s, pinnedRowModel: n, rowModel: r } = e;
|
|
3558
3558
|
if (gh(e, t))
|
|
3559
3559
|
return i === "bottom" ? null : i === "top" && r.isRowsToRender() ? { rowIndex: s.getFirstRow(), rowPinned: null } : n != null && n.isRowsToRender("bottom") ? { rowIndex: 0, rowPinned: "bottom" } : null;
|
|
3560
3560
|
const a = i ? void 0 : r.getRow(o);
|
|
3561
|
-
return
|
|
3561
|
+
return Wa(e, a) ?? { rowIndex: o + 1, rowPinned: i };
|
|
3562
3562
|
}
|
|
3563
|
-
function
|
|
3563
|
+
function Wa(e, t, o = !1) {
|
|
3564
3564
|
const { gos: i, rowRenderer: s } = e;
|
|
3565
|
-
if (!(t != null && t.sticky) || !
|
|
3565
|
+
if (!(t != null && t.sticky) || !pa(i))
|
|
3566
3566
|
return;
|
|
3567
3567
|
const n = s.getStickyTopRowCtrls(), r = s.getStickyBottomRowCtrls(), a = !r.some((u) => u.rowNode.rowIndex === t.rowIndex), l = a ? n : r, d = (o ? -1 : 1) * (a ? -1 : 1);
|
|
3568
3568
|
let c;
|
|
@@ -3598,7 +3598,7 @@ function U(e, t = {}) {
|
|
|
3598
3598
|
if (d)
|
|
3599
3599
|
return (c = e.rowRenderer.getCellCtrls([d], [r])) == null ? void 0 : c[0];
|
|
3600
3600
|
}
|
|
3601
|
-
function
|
|
3601
|
+
function jn(e) {
|
|
3602
3602
|
const { editSvc: t } = e;
|
|
3603
3603
|
t != null && t.isBatchEditing() ? Dt(e) : t == null || t.stopEditing(void 0, { source: "api" });
|
|
3604
3604
|
}
|
|
@@ -3609,15 +3609,15 @@ function ph(e, t, o) {
|
|
|
3609
3609
|
const n = (r) => {
|
|
3610
3610
|
const a = r.relatedTarget;
|
|
3611
3611
|
if (Rs(a) === null) {
|
|
3612
|
-
|
|
3612
|
+
jn(t);
|
|
3613
3613
|
return;
|
|
3614
3614
|
}
|
|
3615
3615
|
let l = (
|
|
3616
3616
|
// see if click came from inside the viewports
|
|
3617
3617
|
o.some((d) => d.contains(a)) && // and also that it's not from a detail grid
|
|
3618
|
-
|
|
3618
|
+
Ja(i, a)
|
|
3619
3619
|
);
|
|
3620
|
-
l || (l = !!s && (s.getActivePopups().some((d) => d.contains(a)) || s.isElementWithinCustomPopup(a))), l ||
|
|
3620
|
+
l || (l = !!s && (s.getActivePopups().some((d) => d.contains(a)) || s.isElementWithinCustomPopup(a))), l || jn(t);
|
|
3621
3621
|
};
|
|
3622
3622
|
o.forEach((r) => e.addManagedElementListeners(r, { focusout: n }));
|
|
3623
3623
|
}
|
|
@@ -3626,7 +3626,7 @@ function Ms(e) {
|
|
|
3626
3626
|
return typeof e == "string" ? e : e.getColId();
|
|
3627
3627
|
}
|
|
3628
3628
|
var me = Symbol("unedited");
|
|
3629
|
-
function
|
|
3629
|
+
function za(e, t = {}) {
|
|
3630
3630
|
var s;
|
|
3631
3631
|
const o = [], i = e.rowRenderer.getCellCtrls(t.rowNodes, t.columns);
|
|
3632
3632
|
for (const n of i) {
|
|
@@ -3638,7 +3638,7 @@ function Wa(e, t = {}) {
|
|
|
3638
3638
|
}
|
|
3639
3639
|
return o;
|
|
3640
3640
|
}
|
|
3641
|
-
var fh = (e, t = {}) =>
|
|
3641
|
+
var fh = (e, t = {}) => za(e, t).map((o) => o.editor);
|
|
3642
3642
|
function Ch(e, t, o, i, s, n) {
|
|
3643
3643
|
var u;
|
|
3644
3644
|
t.length === 0 && (o != null && o.rowNode) && (o != null && o.column) && Gt(e, o, { key: i, event: s, cellStartedEdit: n });
|
|
@@ -3676,7 +3676,7 @@ function _e({
|
|
|
3676
3676
|
}
|
|
3677
3677
|
function Gt(e, t, o) {
|
|
3678
3678
|
var C, m, w, S, v, b, x;
|
|
3679
|
-
const { key: i, event: s, cellStartedEdit: n, silent: r } = o ?? {}, a = U(e, t), l = (C = a == null ? void 0 : a.comp) == null ? void 0 : C.getCellEditor(), d =
|
|
3679
|
+
const { key: i, event: s, cellStartedEdit: n, silent: r } = o ?? {}, a = U(e, t), l = (C = a == null ? void 0 : a.comp) == null ? void 0 : C.getCellEditor(), d = Ua(e, t, i, n), c = (m = e.editModelSvc) == null ? void 0 : m.getEdit(t);
|
|
3680
3680
|
let u = (i == null ? void 0 : i.length) === 1 ? i : d.value;
|
|
3681
3681
|
if (u === void 0 && (u = c == null ? void 0 : c.sourceValue), (w = e.editModelSvc) == null || w.setEdit(t, {
|
|
3682
3682
|
editorValue: u,
|
|
@@ -3685,10 +3685,10 @@ function Gt(e, t, o) {
|
|
|
3685
3685
|
(S = l.refresh) == null || S.call(l, d);
|
|
3686
3686
|
return;
|
|
3687
3687
|
}
|
|
3688
|
-
const h = t.column.getColDef(), g =
|
|
3689
|
-
|
|
3688
|
+
const h = t.column.getColDef(), g = Ha(e.userCompFactory, h, d), p = (g == null ? void 0 : g.popupFromSelector) != null ? g.popupFromSelector : !!h.cellEditorPopup, f = (g == null ? void 0 : g.popupPositionFromSelector) != null ? g.popupPositionFromSelector : h.cellEditorPopupPosition;
|
|
3689
|
+
Ka(g.params, s), a && (a.editCompDetails = g, (v = a.comp) == null || v.setEditDetails(g, p, f, e.gos.get("reactiveCustomComponents")), (b = a == null ? void 0 : a.rowCtrl) == null || b.refreshRow({ suppressFlash: !0 }), r || (x = e.editSvc) == null || x.dispatchCellEvent(t, s, "cellEditingStarted"));
|
|
3690
3690
|
}
|
|
3691
|
-
function
|
|
3691
|
+
function $a(e) {
|
|
3692
3692
|
var s;
|
|
3693
3693
|
const t = { editorValueExists: !1 }, o = (s = e.getValidationErrors) == null ? void 0 : s.call(e);
|
|
3694
3694
|
return ((o == null ? void 0 : o.length) ?? 0) > 0 ? t : {
|
|
@@ -3696,9 +3696,9 @@ function za(e) {
|
|
|
3696
3696
|
editorValueExists: !0
|
|
3697
3697
|
};
|
|
3698
3698
|
}
|
|
3699
|
-
function
|
|
3699
|
+
function Ua(e, t, o, i) {
|
|
3700
3700
|
var C, m, w, S;
|
|
3701
|
-
const { valueSvc: s, gos: n, editSvc: r } = e, a = U(e, t), l = ((C = t.rowNode) == null ? void 0 : C.rowIndex) ?? void 0, d = r == null ? void 0 : r.isBatchEditing(), c = e.colModel.getCol(t.column.getId()), { rowNode: u, column: h } = t, g = (m = a.comp) == null ? void 0 : m.getCellEditor(), p = (r == null ? void 0 : r.getCellDataValue(t, !1)) ?? (g ? (w =
|
|
3701
|
+
const { valueSvc: s, gos: n, editSvc: r } = e, a = U(e, t), l = ((C = t.rowNode) == null ? void 0 : C.rowIndex) ?? void 0, d = r == null ? void 0 : r.isBatchEditing(), c = e.colModel.getCol(t.column.getId()), { rowNode: u, column: h } = t, g = (m = a.comp) == null ? void 0 : m.getCellEditor(), p = (r == null ? void 0 : r.getCellDataValue(t, !1)) ?? (g ? (w = $a(g)) == null ? void 0 : w.editorValue : void 0), f = p === me ? (S = s.getValueForDisplay(c, u)) == null ? void 0 : S.value : p;
|
|
3702
3702
|
return B(n, {
|
|
3703
3703
|
value: f,
|
|
3704
3704
|
eventKey: o ?? null,
|
|
@@ -3733,10 +3733,10 @@ function mh(e, t) {
|
|
|
3733
3733
|
const o = (d = t.comp) == null ? void 0 : d.getCellEditor();
|
|
3734
3734
|
if (!(o != null && o.refresh))
|
|
3735
3735
|
return;
|
|
3736
|
-
const { eventKey: i, cellStartedEdit: s } = t.editCompDetails.params, { column: n } = t, r =
|
|
3737
|
-
o.refresh(
|
|
3736
|
+
const { eventKey: i, cellStartedEdit: s } = t.editCompDetails.params, { column: n } = t, r = Ua(e, t, i, s), a = n.getColDef(), l = Ha(e.userCompFactory, a, r);
|
|
3737
|
+
o.refresh(Ka(l.params, i));
|
|
3738
3738
|
}
|
|
3739
|
-
function
|
|
3739
|
+
function Ka(e, t) {
|
|
3740
3740
|
var o;
|
|
3741
3741
|
return t instanceof KeyboardEvent && e.column.getColDef().cellEditor === "agNumberCellEditor" ? e.suppressPreventDefault = ["-", "+", ".", "e"].includes((t == null ? void 0 : t.key) ?? "") || e.suppressPreventDefault : (o = t == null ? void 0 : t.preventDefault) == null || o.call(t), e;
|
|
3742
3742
|
}
|
|
@@ -3749,7 +3749,7 @@ function Ye(e, t) {
|
|
|
3749
3749
|
const n = s.comp.getCellEditor();
|
|
3750
3750
|
if (!n)
|
|
3751
3751
|
return;
|
|
3752
|
-
const { editorValue: r, editorValueExists: a } =
|
|
3752
|
+
const { editorValue: r, editorValueExists: a } = $a(n);
|
|
3753
3753
|
qo(e, i, t, r, void 0, !a);
|
|
3754
3754
|
});
|
|
3755
3755
|
}
|
|
@@ -3803,7 +3803,7 @@ function pi(e, t, o) {
|
|
|
3803
3803
|
}
|
|
3804
3804
|
function at(e) {
|
|
3805
3805
|
var u, h, g, p, f, C, m, w;
|
|
3806
|
-
const t =
|
|
3806
|
+
const t = za(e), o = new Na(), { ariaAnnounce: i, localeSvc: s, editModelSvc: n, gos: r } = e, a = r.get("editType") === "fullRow", d = Br(s)("ariaValidationErrorPrefix", "Cell Editor Validation");
|
|
3807
3807
|
for (const S of t) {
|
|
3808
3808
|
const { ctrl: v, editor: b } = S, { rowNode: x, column: T } = v, L = ((u = b.getValidationErrors) == null ? void 0 : u.call(b)) ?? [], D = ((h = b.getValidationElement) == null ? void 0 : h.call(b, !1)) || !((g = b.isPopup) != null && g.call(b)) && v.eGui;
|
|
3809
3809
|
if (D) {
|
|
@@ -3836,7 +3836,7 @@ function at(e) {
|
|
|
3836
3836
|
}
|
|
3837
3837
|
var vh = (e) => {
|
|
3838
3838
|
var s;
|
|
3839
|
-
const t = new
|
|
3839
|
+
const t = new _a(), o = e.gos.get("getFullRowEditValidationErrors"), i = (s = e.editModelSvc) == null ? void 0 : s.getEditMap();
|
|
3840
3840
|
if (!i)
|
|
3841
3841
|
return t;
|
|
3842
3842
|
for (const n of i.keys()) {
|
|
@@ -3887,10 +3887,10 @@ function Sh(e) {
|
|
|
3887
3887
|
}), o;
|
|
3888
3888
|
}
|
|
3889
3889
|
var bh = "ag-column-first", yh = "ag-column-last";
|
|
3890
|
-
function
|
|
3890
|
+
function ja(e, t, o, i) {
|
|
3891
3891
|
return K(e) ? [] : Eh(e.headerClass, e, t, o, i);
|
|
3892
3892
|
}
|
|
3893
|
-
function
|
|
3893
|
+
function qa(e, t, o) {
|
|
3894
3894
|
e.toggleCss(bh, o.isColAtEdge(t, "first")), e.toggleCss(yh, o.isColAtEdge(t, "last"));
|
|
3895
3895
|
}
|
|
3896
3896
|
function Rh(e, t, o, i) {
|
|
@@ -3964,7 +3964,7 @@ function Th() {
|
|
|
3964
3964
|
}
|
|
3965
3965
|
function Ft(e, t, o = !1) {
|
|
3966
3966
|
const i = hc;
|
|
3967
|
-
let s =
|
|
3967
|
+
let s = Zr;
|
|
3968
3968
|
t && (s += ", " + t), o && (s += ', [tabindex="-1"]');
|
|
3969
3969
|
const n = Array.prototype.slice.apply(e.querySelectorAll(i)).filter((l) => Oe(l)), r = Array.prototype.slice.apply(e.querySelectorAll(s));
|
|
3970
3970
|
return r.length ? ((l, d) => l.filter((c) => d.indexOf(c) === -1))(n, r) : n;
|
|
@@ -3974,7 +3974,7 @@ function mi(e, t = !1, o = !1, i = !1) {
|
|
|
3974
3974
|
e,
|
|
3975
3975
|
i ? ".ag-tab-guard" : null,
|
|
3976
3976
|
o
|
|
3977
|
-
), n = t ?
|
|
3977
|
+
), n = t ? z(s) : s[0];
|
|
3978
3978
|
return n ? (n.focus({ preventScroll: !0 }), !0) : !1;
|
|
3979
3979
|
}
|
|
3980
3980
|
function Fi(e, t, o, i) {
|
|
@@ -4016,7 +4016,7 @@ function Ah(e, t, o, { rowNode: i, column: s }, n) {
|
|
|
4016
4016
|
});
|
|
4017
4017
|
}
|
|
4018
4018
|
function Mh(e, t = !1) {
|
|
4019
|
-
return e === y.DELETE ? !0 : !t && e === y.BACKSPACE ?
|
|
4019
|
+
return e === y.DELETE ? !0 : !t && e === y.BACKSPACE ? jr() : !1;
|
|
4020
4020
|
}
|
|
4021
4021
|
var kh = class extends E {
|
|
4022
4022
|
constructor(e, t, o, i) {
|
|
@@ -4160,13 +4160,13 @@ var kh = class extends E {
|
|
|
4160
4160
|
!(o != null && o.isEditing(this.cellCtrl, { withOpenEditor: !0 })) && Qe(t) && ((s = this.beans.selectionSvc) == null || s.handleSelectionEvent(e, i, "spaceKey")), e.preventDefault();
|
|
4161
4161
|
}
|
|
4162
4162
|
};
|
|
4163
|
-
function
|
|
4163
|
+
function Ya(e, t, o) {
|
|
4164
4164
|
if (o === 0)
|
|
4165
4165
|
return !1;
|
|
4166
4166
|
const i = Math.abs(e.clientX - t.clientX), s = Math.abs(e.clientY - t.clientY);
|
|
4167
4167
|
return Math.max(i, s) <= o;
|
|
4168
4168
|
}
|
|
4169
|
-
function
|
|
4169
|
+
function qn({ gos: e }, t) {
|
|
4170
4170
|
return t.button === 2 || t.ctrlKey && e.get("allowContextMenuWithControlKey");
|
|
4171
4171
|
}
|
|
4172
4172
|
var Lh = class extends E {
|
|
@@ -4259,7 +4259,7 @@ var Lh = class extends E {
|
|
|
4259
4259
|
if (!p) {
|
|
4260
4260
|
if (l) {
|
|
4261
4261
|
m && e.preventDefault();
|
|
4262
|
-
const w =
|
|
4262
|
+
const w = qn(this.beans, e) && m;
|
|
4263
4263
|
if (i)
|
|
4264
4264
|
l.extendLatestRangeToCell(f);
|
|
4265
4265
|
else if (!w) {
|
|
@@ -4273,7 +4273,7 @@ var Lh = class extends E {
|
|
|
4273
4273
|
isRightClickInExistingRange(e) {
|
|
4274
4274
|
const { rangeSvc: t } = this.beans;
|
|
4275
4275
|
if (t) {
|
|
4276
|
-
const o = t.isCellInAnyRange(this.cellCtrl.cellPosition), i =
|
|
4276
|
+
const o = t.isCellInAnyRange(this.cellCtrl.cellPosition), i = qn(this.beans, e);
|
|
4277
4277
|
if (o && i)
|
|
4278
4278
|
return !0;
|
|
4279
4279
|
}
|
|
@@ -4371,7 +4371,7 @@ var Lh = class extends E {
|
|
|
4371
4371
|
}
|
|
4372
4372
|
getCellLeft() {
|
|
4373
4373
|
let e;
|
|
4374
|
-
return this.beans.gos.get("enableRtl") && this.colsSpanning ? e =
|
|
4374
|
+
return this.beans.gos.get("enableRtl") && this.colsSpanning ? e = z(this.colsSpanning) : e = this.column, e.getLeft();
|
|
4375
4375
|
}
|
|
4376
4376
|
modifyLeftForPrintLayout(e) {
|
|
4377
4377
|
if (!this.cellCtrl.printLayout || this.column.getPinned() === "left")
|
|
@@ -4394,8 +4394,8 @@ var Lh = class extends E {
|
|
|
4394
4394
|
super.destroy();
|
|
4395
4395
|
}
|
|
4396
4396
|
}, Hh = "ag-cell", Oh = "ag-cell-auto-height", Bh = "ag-cell-normal-height", Vh = "ag-cell-focus", Nh = "ag-cell-first-right-pinned", _h = "ag-cell-last-left-pinned", Wh = "ag-cell-not-inline-editing", zh = "ag-cell-wrap-text", wi = "cellCtrl";
|
|
4397
|
-
function
|
|
4398
|
-
return
|
|
4397
|
+
function Za(e, t) {
|
|
4398
|
+
return va(e, t, wi);
|
|
4399
4399
|
}
|
|
4400
4400
|
var $h = 0, Pt = class extends E {
|
|
4401
4401
|
constructor(e, t, o, i) {
|
|
@@ -4455,7 +4455,7 @@ var $h = 0, Pt = class extends E {
|
|
|
4455
4455
|
var l, d;
|
|
4456
4456
|
const { beans: e, column: t } = this, { userCompFactory: o, ctrlsSvc: i, eventSvc: s } = e, n = t.getColDef(), r = this.createCellRendererParams();
|
|
4457
4457
|
r.deferRender = !0;
|
|
4458
|
-
const a =
|
|
4458
|
+
const a = Un(o, n, r);
|
|
4459
4459
|
if ((d = (l = i.getGridBodyCtrl()) == null ? void 0 : l.scrollFeature) != null && d.isScrolling()) {
|
|
4460
4460
|
let c;
|
|
4461
4461
|
const u = new po((h) => {
|
|
@@ -4474,11 +4474,11 @@ var $h = 0, Pt = class extends E {
|
|
|
4474
4474
|
const d = s.stub && ((u = s.groupData) == null ? void 0 : u[i.getId()]) == null, c = i.getColDef();
|
|
4475
4475
|
if (d || this.isCellRenderer()) {
|
|
4476
4476
|
const p = this.createCellRendererParams();
|
|
4477
|
-
!d || Xe(i) ? l =
|
|
4477
|
+
!d || Xe(i) ? l = $n(r, c, p) : l = Un(r, c, p);
|
|
4478
4478
|
}
|
|
4479
4479
|
if (!l && !d && ((h = o.findSvc) != null && h.isMatch(s, i))) {
|
|
4480
4480
|
const p = this.createCellRendererParams();
|
|
4481
|
-
l =
|
|
4481
|
+
l = $n(
|
|
4482
4482
|
r,
|
|
4483
4483
|
{ ...i.getColDef(), cellRenderer: "agFindCellRenderer" },
|
|
4484
4484
|
p
|
|
@@ -4636,11 +4636,11 @@ var $h = 0, Pt = class extends E {
|
|
|
4636
4636
|
}
|
|
4637
4637
|
refreshFirstAndLastStyles() {
|
|
4638
4638
|
const { comp: e, column: t, beans: o } = this;
|
|
4639
|
-
|
|
4639
|
+
qa(e, t, o.visibleCols);
|
|
4640
4640
|
}
|
|
4641
4641
|
refreshAriaColIndex() {
|
|
4642
4642
|
const e = this.beans.visibleCols.getAriaColIndex(this.column);
|
|
4643
|
-
|
|
4643
|
+
$r(this.eGui, e);
|
|
4644
4644
|
}
|
|
4645
4645
|
onWidthChanged() {
|
|
4646
4646
|
var e;
|
|
@@ -4852,17 +4852,17 @@ var $h = 0, Pt = class extends E {
|
|
|
4852
4852
|
getRootElement() {
|
|
4853
4853
|
return this.eGui;
|
|
4854
4854
|
}
|
|
4855
|
-
},
|
|
4856
|
-
function
|
|
4857
|
-
t[
|
|
4855
|
+
}, Qa = "__ag_grid_instance";
|
|
4856
|
+
function Xa(e, t) {
|
|
4857
|
+
t[Qa] = e.gridInstanceId;
|
|
4858
4858
|
}
|
|
4859
4859
|
function Co(e, t) {
|
|
4860
|
-
return
|
|
4860
|
+
return Ja(e, t.target);
|
|
4861
4861
|
}
|
|
4862
|
-
function
|
|
4862
|
+
function Ja(e, t) {
|
|
4863
4863
|
let o = t;
|
|
4864
4864
|
for (; o; ) {
|
|
4865
|
-
const i = o[
|
|
4865
|
+
const i = o[Qa];
|
|
4866
4866
|
if (M(i))
|
|
4867
4867
|
return i === e.gridInstanceId;
|
|
4868
4868
|
o = o.parentElement;
|
|
@@ -4871,7 +4871,7 @@ function Xa(e, t) {
|
|
|
4871
4871
|
}
|
|
4872
4872
|
function Uh(e, t) {
|
|
4873
4873
|
var o;
|
|
4874
|
-
return ((o =
|
|
4874
|
+
return ((o = Za(e, t.target)) == null ? void 0 : o.getFocusedCellPosition()) ?? null;
|
|
4875
4875
|
}
|
|
4876
4876
|
var Kh = class extends E {
|
|
4877
4877
|
constructor() {
|
|
@@ -5098,7 +5098,7 @@ var Kh = class extends E {
|
|
|
5098
5098
|
if (!t)
|
|
5099
5099
|
return;
|
|
5100
5100
|
const i = e.getGui();
|
|
5101
|
-
i.style.setProperty("position", "absolute"), i.style.setProperty("z-index", "9999"),
|
|
5101
|
+
i.style.setProperty("position", "absolute"), i.style.setProperty("z-index", "9999"), Xa(this.gos, i), o.applyThemeClasses(i), e.setIcon(null, !1);
|
|
5102
5102
|
let { dragItemName: s } = t;
|
|
5103
5103
|
typeof s == "function" && (s = s()), e.setLabel(s || ""), i.style.top = "20px", i.style.left = "20px";
|
|
5104
5104
|
const n = sn(this.beans);
|
|
@@ -5199,7 +5199,7 @@ var Kh = class extends E {
|
|
|
5199
5199
|
// we only start dragging after X pixels so this allows us to know if we should start dragging yet.
|
|
5200
5200
|
isEventNearStartEvent(e, t) {
|
|
5201
5201
|
const { dragStartPixels: o } = this.currentDragParams, i = M(o) ? o : 4;
|
|
5202
|
-
return
|
|
5202
|
+
return Ya(e, t, i);
|
|
5203
5203
|
}
|
|
5204
5204
|
getFirstActiveTouch(e) {
|
|
5205
5205
|
for (let t = 0; t < e.length; t++)
|
|
@@ -5270,7 +5270,7 @@ var Kh = class extends E {
|
|
|
5270
5270
|
e.forEach((t) => t()), e.length = 0;
|
|
5271
5271
|
}
|
|
5272
5272
|
};
|
|
5273
|
-
function
|
|
5273
|
+
function el(e, t) {
|
|
5274
5274
|
return e + "_" + t;
|
|
5275
5275
|
}
|
|
5276
5276
|
function Y(e) {
|
|
@@ -5289,7 +5289,7 @@ var mo = class extends E {
|
|
|
5289
5289
|
return this.parent;
|
|
5290
5290
|
}
|
|
5291
5291
|
getUniqueId() {
|
|
5292
|
-
return
|
|
5292
|
+
return el(this.groupId, this.partId);
|
|
5293
5293
|
}
|
|
5294
5294
|
isEmptyGroup() {
|
|
5295
5295
|
return this.displayedChildren.length === 0;
|
|
@@ -5303,7 +5303,7 @@ var mo = class extends E {
|
|
|
5303
5303
|
Y(e) && e.checkLeft();
|
|
5304
5304
|
}), this.displayedChildren.length > 0)
|
|
5305
5305
|
if (this.gos.get("enableRtl")) {
|
|
5306
|
-
const t =
|
|
5306
|
+
const t = z(this.displayedChildren).getLeft();
|
|
5307
5307
|
this.setLeft(t);
|
|
5308
5308
|
} else {
|
|
5309
5309
|
const e = this.displayedChildren[0].getLeft();
|
|
@@ -5497,7 +5497,7 @@ var mo = class extends E {
|
|
|
5497
5497
|
};
|
|
5498
5498
|
}
|
|
5499
5499
|
getRowIndexString() {
|
|
5500
|
-
return this.rowIndex == null ? (
|
|
5500
|
+
return this.rowIndex == null ? ($(13), null) : this.rowPinned === "top" ? an + this.rowIndex : this.rowPinned === "bottom" ? ln + this.rowIndex : this.rowIndex.toString();
|
|
5501
5501
|
}
|
|
5502
5502
|
setDataAndId(e, t) {
|
|
5503
5503
|
var r, a;
|
|
@@ -5517,7 +5517,7 @@ var mo = class extends E {
|
|
|
5517
5517
|
parentKeys: i.length > 0 ? i : void 0,
|
|
5518
5518
|
level: this.level,
|
|
5519
5519
|
rowPinned: this.rowPinned
|
|
5520
|
-
}), this.id.startsWith(Gs) &&
|
|
5520
|
+
}), this.id.startsWith(Gs) && $(14, {
|
|
5521
5521
|
groupPrefix: Gs
|
|
5522
5522
|
});
|
|
5523
5523
|
} else
|
|
@@ -5778,14 +5778,14 @@ var Xh = {
|
|
|
5778
5778
|
};
|
|
5779
5779
|
new Set(Object.values(Xh));
|
|
5780
5780
|
var dn = "T", Jh = new RegExp(`^\\d{4}-\\d{2}-\\d{2}(${dn}\\d{2}:\\d{2}:\\d{2}\\D?)?`);
|
|
5781
|
-
function
|
|
5781
|
+
function Yn(e, t) {
|
|
5782
5782
|
return e.toString().padStart(t, "0");
|
|
5783
5783
|
}
|
|
5784
5784
|
function We(e, t = !0, o = "-") {
|
|
5785
5785
|
if (!e)
|
|
5786
5786
|
return null;
|
|
5787
|
-
let i = [e.getFullYear(), e.getMonth() + 1, e.getDate()].map((s) =>
|
|
5788
|
-
return t && (i += dn + [e.getHours(), e.getMinutes(), e.getSeconds()].map((s) =>
|
|
5787
|
+
let i = [e.getFullYear(), e.getMonth() + 1, e.getDate()].map((s) => Yn(s, 2)).join(o);
|
|
5788
|
+
return t && (i += dn + [e.getHours(), e.getMinutes(), e.getSeconds()].map((s) => Yn(s, 2)).join(":")), i;
|
|
5789
5789
|
}
|
|
5790
5790
|
function Yo(e, t = !1) {
|
|
5791
5791
|
return !!wo(e, t);
|
|
@@ -5875,14 +5875,14 @@ var tg = "ag-focus-managed", Ti = class extends E {
|
|
|
5875
5875
|
}, o = t.autoHeight ? ve.AUTO_HEIGHT : t.print ? ve.PRINT : ve.NORMAL;
|
|
5876
5876
|
this.view.updateLayoutClasses(o, t);
|
|
5877
5877
|
}
|
|
5878
|
-
}, Be = "Viewport",
|
|
5878
|
+
}, Be = "Viewport", Zn = "fakeVScrollComp", Ki = [
|
|
5879
5879
|
"fakeHScrollComp",
|
|
5880
5880
|
"centerHeader",
|
|
5881
5881
|
"topCenter",
|
|
5882
5882
|
"bottomCenter",
|
|
5883
5883
|
"stickyTopCenter",
|
|
5884
5884
|
"stickyBottomCenter"
|
|
5885
|
-
],
|
|
5885
|
+
], Qn = 100, ji = 150, og = class extends E {
|
|
5886
5886
|
constructor(e) {
|
|
5887
5887
|
super(), this.clearRetryListenerFncs = [], this.lastScrollSource = [null, null], this.scrollLeft = -1, this.nextScrollTop = -1, this.scrollTop = -1, this.lastOffsetHeight = -1, this.lastScrollTop = -1, this.lastIsHorizontalScrollShowing = !1, this.scrollTimer = 0, this.isScrollActive = !1, this.isVerticalPositionInvalidated = !0, this.isHorizontalPositionInvalidated = !0, this.eBodyViewport = e, this.resetLastHScrollDebounced = fe(
|
|
5888
5888
|
this,
|
|
@@ -5942,7 +5942,7 @@ var tg = "ag-focus-managed", Ti = class extends E {
|
|
|
5942
5942
|
}
|
|
5943
5943
|
}
|
|
5944
5944
|
addVerticalScrollListeners() {
|
|
5945
|
-
const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), o = t ? fe(this, this.onVScroll.bind(this, Be),
|
|
5945
|
+
const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), o = t ? fe(this, this.onVScroll.bind(this, Be), Qn) : this.onVScroll.bind(this, Be), i = t ? fe(this, this.onVScroll.bind(this, Zn), Qn) : this.onVScroll.bind(this, Zn);
|
|
5946
5946
|
this.addManagedElementListeners(this.eBodyViewport, { scroll: o }), this.registerScrollPartner(e, i);
|
|
5947
5947
|
}
|
|
5948
5948
|
registerScrollPartner(e, t) {
|
|
@@ -6151,9 +6151,9 @@ var tg = "ag-focus-managed", Ti = class extends E {
|
|
|
6151
6151
|
let u, h, g = 0;
|
|
6152
6152
|
this.invalidateVerticalScroll();
|
|
6153
6153
|
do {
|
|
6154
|
-
const { stickyTopHeight: C, stickyBottomHeight: m } = d, w = c.rowTop, S = c.rowHeight, v = r.getPixelOffset(), b = c.rowTop - v, x = b + c.rowHeight, T = this.getVScrollPosition(), L = a.divStretchOffset, D = T.top + L, F = T.bottom + L, P = F - D, H = a.getScrollPositionForPixel(b), G = a.getScrollPositionForPixel(x - P), N = Math.min((H + G) / 2, b),
|
|
6154
|
+
const { stickyTopHeight: C, stickyBottomHeight: m } = d, w = c.rowTop, S = c.rowHeight, v = r.getPixelOffset(), b = c.rowTop - v, x = b + c.rowHeight, T = this.getVScrollPosition(), L = a.divStretchOffset, D = T.top + L, F = T.bottom + L, P = F - D, H = a.getScrollPositionForPixel(b), G = a.getScrollPositionForPixel(x - P), N = Math.min((H + G) / 2, b), _ = D + C > b, ne = F - m < x;
|
|
6155
6155
|
let ye = null;
|
|
6156
|
-
t === "top" ? ye = H - C : t === "bottom" ? ye = G + m : t === "middle" ? ye = N :
|
|
6156
|
+
t === "top" ? ye = H - C : t === "bottom" ? ye = G + m : t === "middle" ? ye = N : _ ? ye = H - C : ne && (G - H > P ? ye = H - C : ye = G + m), ye !== null && (this.setVerticalScrollPosition(ye), l.redraw({ afterScroll: !0 })), u = w !== c.rowTop || S !== c.rowHeight, h = C !== d.stickyTopHeight || m !== d.stickyBottomHeight, g++;
|
|
6157
6157
|
} while ((u || h) && g < 10);
|
|
6158
6158
|
if ((p = this.animationFrameSvc) == null || p.flushAllFrames(), o < 10 && (c != null && c.stub || !((f = this.beans.rowAutoHeight) != null && f.areRowsMeasured()))) {
|
|
6159
6159
|
const C = this.getVScrollPosition().top;
|
|
@@ -6320,7 +6320,7 @@ function hn(e, t, o, i, s, n) {
|
|
|
6320
6320
|
})
|
|
6321
6321
|
), n && Object.keys(a).forEach(n), Object.keys(r).forEach(s);
|
|
6322
6322
|
}
|
|
6323
|
-
function
|
|
6323
|
+
function Xn(e) {
|
|
6324
6324
|
if (e.group)
|
|
6325
6325
|
return e.level;
|
|
6326
6326
|
const t = e.parent;
|
|
@@ -6397,7 +6397,7 @@ var sg = class extends E {
|
|
|
6397
6397
|
center: !1,
|
|
6398
6398
|
right: !1,
|
|
6399
6399
|
fullWidth: !1
|
|
6400
|
-
}, this.rowDragComps = [], this.lastMouseDownOnDragger = !1, this.emptyStyle = {}, this.updateColumnListsPending = !1, this.rowId = null, this.businessKey = null, this.beans = t, this.gos = t.gos, this.paginationPage = ((n = t.pagination) == null ? void 0 : n.getCurrentPage()) ?? 0, this.suppressRowTransform = this.gos.get("suppressRowTransform"), this.instanceId = e.id + "-" + ng++, this.rowId = Uo(e.id), this.initRowBusinessKey(), this.rowFocused = t.focusSvc.isRowFocused(this.rowNode.rowIndex, this.rowNode.rowPinned), this.rowLevel =
|
|
6400
|
+
}, this.rowDragComps = [], this.lastMouseDownOnDragger = !1, this.emptyStyle = {}, this.updateColumnListsPending = !1, this.rowId = null, this.businessKey = null, this.beans = t, this.gos = t.gos, this.paginationPage = ((n = t.pagination) == null ? void 0 : n.getCurrentPage()) ?? 0, this.suppressRowTransform = this.gos.get("suppressRowTransform"), this.instanceId = e.id + "-" + ng++, this.rowId = Uo(e.id), this.initRowBusinessKey(), this.rowFocused = t.focusSvc.isRowFocused(this.rowNode.rowIndex, this.rowNode.rowPinned), this.rowLevel = Xn(this.rowNode), this.setRowType(), this.setAnimateFlags(o), this.rowStyles = this.processStylesFromGridOptions(), this.rowEditStyleFeature = (r = t.editSvc) == null ? void 0 : r.createRowStyleFeature(this, t), this.addListeners();
|
|
6401
6401
|
}
|
|
6402
6402
|
initRowBusinessKey() {
|
|
6403
6403
|
this.businessKeyForNodeFunc = this.gos.get("getBusinessKeyForNode"), this.updateRowBusinessKey();
|
|
@@ -6981,7 +6981,7 @@ var sg = class extends E {
|
|
|
6981
6981
|
});
|
|
6982
6982
|
}
|
|
6983
6983
|
onUiLevelChanged() {
|
|
6984
|
-
const e =
|
|
6984
|
+
const e = Xn(this.rowNode);
|
|
6985
6985
|
if (this.rowLevel != e) {
|
|
6986
6986
|
const t = "ag-row-level-" + e, o = "ag-row-level-" + this.rowLevel;
|
|
6987
6987
|
this.allRowGuis.forEach((i) => {
|
|
@@ -7100,7 +7100,7 @@ var sg = class extends E {
|
|
|
7100
7100
|
onRowHeightChanged(e) {
|
|
7101
7101
|
if (this.rowNode.rowHeight == null)
|
|
7102
7102
|
return;
|
|
7103
|
-
const t = this.rowNode.rowHeight, o = this.beans.environment.getDefaultRowHeight(), s =
|
|
7103
|
+
const t = this.rowNode.rowHeight, o = this.beans.environment.getDefaultRowHeight(), s = ca(this.gos) ? $e(this.beans, this.rowNode).height : void 0, n = s ? `${Math.min(o, s) - 2}px` : void 0;
|
|
7104
7104
|
this.forEachGui(e, (r) => {
|
|
7105
7105
|
r.element.style.height = `${t}px`, n && r.element.style.setProperty("--ag-line-height", n);
|
|
7106
7106
|
});
|
|
@@ -7213,7 +7213,7 @@ var sg = class extends E {
|
|
|
7213
7213
|
});
|
|
7214
7214
|
}
|
|
7215
7215
|
};
|
|
7216
|
-
function
|
|
7216
|
+
function tl(e) {
|
|
7217
7217
|
var o;
|
|
7218
7218
|
return e.altKey || e.ctrlKey || e.metaKey ? !1 : ((o = e.key) == null ? void 0 : o.length) === 1;
|
|
7219
7219
|
}
|
|
@@ -7287,7 +7287,7 @@ var pg = class extends E {
|
|
|
7287
7287
|
this.addManagedElementListeners(this.element, { [e]: t });
|
|
7288
7288
|
}
|
|
7289
7289
|
addMouseListeners() {
|
|
7290
|
-
["dblclick", "contextmenu", "mouseover", "mouseout", "click",
|
|
7290
|
+
["dblclick", "contextmenu", "mouseover", "mouseout", "click", wa("touchstart") ? "touchstart" : "mousedown"].forEach((o) => {
|
|
7291
7291
|
const i = this.processMouseEvent.bind(this, o);
|
|
7292
7292
|
this.addManagedElementListeners(this.element, { [o]: i });
|
|
7293
7293
|
});
|
|
@@ -7302,8 +7302,8 @@ var pg = class extends E {
|
|
|
7302
7302
|
getControlsForEventTarget(e) {
|
|
7303
7303
|
const { gos: t } = this;
|
|
7304
7304
|
return {
|
|
7305
|
-
cellCtrl:
|
|
7306
|
-
rowCtrl:
|
|
7305
|
+
cellCtrl: Za(t, e),
|
|
7306
|
+
rowCtrl: va(t, e, vi)
|
|
7307
7307
|
};
|
|
7308
7308
|
}
|
|
7309
7309
|
processKeyboardEvent(e, t) {
|
|
@@ -7319,7 +7319,7 @@ var pg = class extends E {
|
|
|
7319
7319
|
e.rowNode,
|
|
7320
7320
|
e.column,
|
|
7321
7321
|
i
|
|
7322
|
-
) && t === "keydown" && (!i && ((r = this.beans.navigation) != null && r.handlePageScrollingKey(o)) || e.onKeyDown(o), this.doGridOperations(o, i),
|
|
7322
|
+
) && t === "keydown" && (!i && ((r = this.beans.navigation) != null && r.handlePageScrollingKey(o)) || e.onKeyDown(o), this.doGridOperations(o, i), tl(o) && e.processCharacter(o)), t === "keydown" && this.eventSvc.dispatchEvent(e.createEvent(o, "cellKeyDown"));
|
|
7323
7323
|
}
|
|
7324
7324
|
processFullWidthRowKeyboardEvent(e, t, o) {
|
|
7325
7325
|
const { rowNode: i } = e, { focusSvc: s, navigation: n } = this.beans, r = s.getFocusedCell(), a = r == null ? void 0 : r.column;
|
|
@@ -7402,7 +7402,7 @@ var pg = class extends E {
|
|
|
7402
7402
|
onCtrlAndY(e) {
|
|
7403
7403
|
e == null || e.redo("ui");
|
|
7404
7404
|
}
|
|
7405
|
-
},
|
|
7405
|
+
}, ol = class extends E {
|
|
7406
7406
|
constructor(e, t) {
|
|
7407
7407
|
super(), this.eContainer = e, this.eViewport = t;
|
|
7408
7408
|
}
|
|
@@ -7549,7 +7549,7 @@ var pg = class extends E {
|
|
|
7549
7549
|
getRowCtrls: Go
|
|
7550
7550
|
}
|
|
7551
7551
|
};
|
|
7552
|
-
function
|
|
7552
|
+
function il(e) {
|
|
7553
7553
|
return `ag-${Fo(e).name}-viewport`;
|
|
7554
7554
|
}
|
|
7555
7555
|
function Zo(e) {
|
|
@@ -7562,17 +7562,17 @@ function Cg(e) {
|
|
|
7562
7562
|
function Fo(e) {
|
|
7563
7563
|
return fg[e];
|
|
7564
7564
|
}
|
|
7565
|
-
var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft", "bottomRight"], vg = ["center", "left", "right"], Sg = ["center", "left", "right", "fullWidth"], bg = ["stickyTopCenter", "stickyBottomCenter", "center", "topCenter", "bottomCenter"], yg = ["left", "bottomLeft", "topLeft", "stickyTopLeft", "stickyBottomLeft"], Rg = ["right", "bottomRight", "topRight", "stickyTopRight", "stickyBottomRight"],
|
|
7566
|
-
...il,
|
|
7567
|
-
"stickyTopFullWidth",
|
|
7565
|
+
var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft", "bottomRight"], vg = ["center", "left", "right"], Sg = ["center", "left", "right", "fullWidth"], bg = ["stickyTopCenter", "stickyBottomCenter", "center", "topCenter", "bottomCenter"], yg = ["left", "bottomLeft", "topLeft", "stickyTopLeft", "stickyBottomLeft"], Rg = ["right", "bottomRight", "topRight", "stickyTopRight", "stickyBottomRight"], sl = ["stickyTopCenter", "stickyTopLeft", "stickyTopRight"], nl = ["stickyBottomCenter", "stickyBottomLeft", "stickyBottomRight"], Eg = [
|
|
7568
7566
|
...sl,
|
|
7567
|
+
"stickyTopFullWidth",
|
|
7568
|
+
...nl,
|
|
7569
7569
|
"stickyBottomFullWidth"
|
|
7570
7570
|
], xg = [
|
|
7571
7571
|
...mg,
|
|
7572
7572
|
...wg,
|
|
7573
7573
|
...vg,
|
|
7574
|
-
...
|
|
7575
|
-
...
|
|
7574
|
+
...sl,
|
|
7575
|
+
...nl
|
|
7576
7576
|
], Dg = class extends E {
|
|
7577
7577
|
constructor(e) {
|
|
7578
7578
|
super(), this.name = e, this.visible = !0, this.EMPTY_CTRLS = [], this.options = Fo(e);
|
|
@@ -7607,7 +7607,7 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7607
7607
|
}), this.forContainers(
|
|
7608
7608
|
Sg,
|
|
7609
7609
|
() => this.createManagedBean(
|
|
7610
|
-
new
|
|
7610
|
+
new ol(this.eContainer, this.name === "center" ? i : void 0)
|
|
7611
7611
|
)
|
|
7612
7612
|
), n && this.forContainers(
|
|
7613
7613
|
xg,
|
|
@@ -7682,13 +7682,13 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7682
7682
|
this.addDestroyFunc(() => t());
|
|
7683
7683
|
}
|
|
7684
7684
|
isViewportInTheDOMTree() {
|
|
7685
|
-
return
|
|
7685
|
+
return Jr(this.eViewport);
|
|
7686
7686
|
}
|
|
7687
7687
|
getViewportScrollLeft() {
|
|
7688
7688
|
return ei(this.eViewport, this.enableRtl);
|
|
7689
7689
|
}
|
|
7690
7690
|
isHorizontalScrollShowing() {
|
|
7691
|
-
return this.gos.get("alwaysShowHorizontalScroll") ||
|
|
7691
|
+
return this.gos.get("alwaysShowHorizontalScroll") || oa(this.eViewport);
|
|
7692
7692
|
}
|
|
7693
7693
|
setHorizontalScroll(e) {
|
|
7694
7694
|
this.comp.setHorizontalScroll(e);
|
|
@@ -7721,7 +7721,7 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7721
7721
|
});
|
|
7722
7722
|
this.comp.setRowCtrls({ rowCtrls: n, useFlushSync: e });
|
|
7723
7723
|
}
|
|
7724
|
-
},
|
|
7724
|
+
}, rl = "ag-force-vertical-scroll", Fg = "ag-selectable", Pg = "ag-column-moving", Tg = class extends E {
|
|
7725
7725
|
constructor() {
|
|
7726
7726
|
super(...arguments), this.stickyTopHeight = 0, this.stickyBottomHeight = 0;
|
|
7727
7727
|
}
|
|
@@ -7730,7 +7730,7 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7730
7730
|
}
|
|
7731
7731
|
setComp(e, t, o, i, s, n, r) {
|
|
7732
7732
|
var a, l;
|
|
7733
|
-
this.comp = e, this.eGridBody = t, this.eBodyViewport = o, this.eTop = i, this.eBottom = s, this.eStickyTop = n, this.eStickyBottom = r, this.eCenterColsViewport = o.querySelector(`.${
|
|
7733
|
+
this.comp = e, this.eGridBody = t, this.eBodyViewport = o, this.eTop = i, this.eBottom = s, this.eStickyTop = n, this.eStickyBottom = r, this.eCenterColsViewport = o.querySelector(`.${il("center")}`), this.eFullWidthContainer = o.querySelector(`.${Zo("fullWidth")}`), this.eStickyTopFullWidthContainer = n.querySelector(
|
|
7734
7734
|
`.${Zo("stickyTopFullWidth")}`
|
|
7735
7735
|
), this.eStickyBottomFullWidthContainer = r.querySelector(
|
|
7736
7736
|
`.${Zo("stickyBottomFullWidth")}`
|
|
@@ -7766,7 +7766,7 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7766
7766
|
onScrollVisibilityChanged() {
|
|
7767
7767
|
const { scrollVisibleSvc: e } = this, t = e.verticalScrollShowing;
|
|
7768
7768
|
this.setVerticalScrollPaddingVisible(t), this.setStickyWidth(t), this.setStickyBottomOffsetBottom();
|
|
7769
|
-
const o = t && e.getScrollbarWidth() || 0, i =
|
|
7769
|
+
const o = t && e.getScrollbarWidth() || 0, i = Yr() ? 16 : 0, s = `calc(100% + ${o + i}px)`;
|
|
7770
7770
|
Ue(this.beans, () => this.comp.setBodyViewportWidth(s)), this.updateScrollingClasses();
|
|
7771
7771
|
}
|
|
7772
7772
|
setGridRootRole() {
|
|
@@ -7843,8 +7843,8 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7843
7843
|
this.comp.setPinnedTopBottomOverflowY(t);
|
|
7844
7844
|
}
|
|
7845
7845
|
isVerticalScrollShowing() {
|
|
7846
|
-
const e = this.gos.get("alwaysShowVerticalScroll"), t = e ?
|
|
7847
|
-
return this.comp.setAlwaysVerticalScrollClass(t, e), e || o &&
|
|
7846
|
+
const e = this.gos.get("alwaysShowVerticalScroll"), t = e ? rl : null, o = ee(this.gos, "normal");
|
|
7847
|
+
return this.comp.setAlwaysVerticalScrollClass(t, e), e || o && ia(this.eBodyViewport);
|
|
7848
7848
|
}
|
|
7849
7849
|
setupRowAnimationCssClass() {
|
|
7850
7850
|
const { rowContainerHeight: e, environment: t } = this.beans;
|
|
@@ -7955,20 +7955,20 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7955
7955
|
const { pinnedRowModel: e, scrollVisibleSvc: t, comp: o } = this, i = (e == null ? void 0 : e.getPinnedBottomTotalHeight()) ?? 0, n = t.horizontalScrollShowing && t.getScrollbarWidth() || 0, r = i + n;
|
|
7956
7956
|
o.setStickyBottomBottom(`${r}px`);
|
|
7957
7957
|
}
|
|
7958
|
-
},
|
|
7958
|
+
}, al = class extends j {
|
|
7959
7959
|
constructor(e, t) {
|
|
7960
7960
|
super(), this.direction = t, this.eViewport = I, this.eContainer = I, this.hideTimeout = 0, this.setTemplate(e);
|
|
7961
7961
|
}
|
|
7962
7962
|
postConstruct() {
|
|
7963
7963
|
this.addManagedEventListeners({
|
|
7964
7964
|
scrollVisibilityChanged: this.onScrollVisibilityChanged.bind(this)
|
|
7965
|
-
}), this.onScrollVisibilityChanged(), this.toggleCss("ag-apple-scrollbar",
|
|
7965
|
+
}), this.onScrollVisibilityChanged(), this.toggleCss("ag-apple-scrollbar", jr() || wt());
|
|
7966
7966
|
}
|
|
7967
7967
|
destroy() {
|
|
7968
7968
|
super.destroy(), window.clearTimeout(this.hideTimeout);
|
|
7969
7969
|
}
|
|
7970
7970
|
initialiseInvisibleScrollbar() {
|
|
7971
|
-
this.invisibleScrollbar === void 0 && (this.invisibleScrollbar =
|
|
7971
|
+
this.invisibleScrollbar === void 0 && (this.invisibleScrollbar = Yr(), this.invisibleScrollbar && (this.hideAndShowInvisibleScrollAsNeeded(), this.addActiveListenerToggles()));
|
|
7972
7972
|
}
|
|
7973
7973
|
addActiveListenerToggles() {
|
|
7974
7974
|
const e = this.getGui(), t = () => this.toggleCss("ag-scrollbar-active", !0), o = () => this.toggleCss("ag-scrollbar-active", !1);
|
|
@@ -8020,7 +8020,7 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
8020
8020
|
},
|
|
8021
8021
|
{ tag: "div", ref: "eRightSpacer", cls: "ag-horizontal-right-spacer" }
|
|
8022
8022
|
]
|
|
8023
|
-
}, Ag = class extends
|
|
8023
|
+
}, Ag = class extends al {
|
|
8024
8024
|
constructor() {
|
|
8025
8025
|
super(Ig, "horizontal"), this.eLeftSpacer = I, this.eRightSpacer = I, this.setScrollVisibleDebounce = 0;
|
|
8026
8026
|
}
|
|
@@ -8087,12 +8087,12 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
8087
8087
|
children: [{ tag: "div", ref: "eContainer", cls: "ag-body-vertical-scroll-container" }]
|
|
8088
8088
|
}
|
|
8089
8089
|
]
|
|
8090
|
-
}, Lg = class extends
|
|
8090
|
+
}, Lg = class extends al {
|
|
8091
8091
|
constructor() {
|
|
8092
8092
|
super(kg, "vertical");
|
|
8093
8093
|
}
|
|
8094
8094
|
postConstruct() {
|
|
8095
|
-
super.postConstruct(), this.createManagedBean(new
|
|
8095
|
+
super.postConstruct(), this.createManagedBean(new ol(this.eContainer));
|
|
8096
8096
|
const { ctrlsSvc: e } = this.beans;
|
|
8097
8097
|
e.register("fakeVScrollComp", this), this.addManagedEventListeners({
|
|
8098
8098
|
rowContainerHeightChanged: this.onRowContainerHeightChanged.bind(this, e)
|
|
@@ -8137,7 +8137,7 @@ function gn(e) {
|
|
|
8137
8137
|
return t;
|
|
8138
8138
|
}
|
|
8139
8139
|
function Hg(e, t) {
|
|
8140
|
-
let i = e.colModel.isPivotMode() ? Bg(e) :
|
|
8140
|
+
let i = e.colModel.isPivotMode() ? Bg(e) : dl(e);
|
|
8141
8141
|
const s = t.getHeaderCellCtrls();
|
|
8142
8142
|
for (const n of s) {
|
|
8143
8143
|
const { column: r } = n, a = r.getAutoHeaderHeight();
|
|
@@ -8155,17 +8155,17 @@ function pn(e) {
|
|
|
8155
8155
|
function Po(e) {
|
|
8156
8156
|
return e.gos.get("headerHeight") ?? e.environment.getDefaultHeaderHeight();
|
|
8157
8157
|
}
|
|
8158
|
-
function
|
|
8158
|
+
function ll(e) {
|
|
8159
8159
|
return e.gos.get("floatingFiltersHeight") ?? Po(e);
|
|
8160
8160
|
}
|
|
8161
|
-
function
|
|
8161
|
+
function dl(e) {
|
|
8162
8162
|
return e.gos.get("groupHeaderHeight") ?? Po(e);
|
|
8163
8163
|
}
|
|
8164
8164
|
function Og(e) {
|
|
8165
8165
|
return e.gos.get("pivotHeaderHeight") ?? Po(e);
|
|
8166
8166
|
}
|
|
8167
8167
|
function Bg(e) {
|
|
8168
|
-
return e.gos.get("pivotGroupHeaderHeight") ??
|
|
8168
|
+
return e.gos.get("pivotGroupHeaderHeight") ?? dl(e);
|
|
8169
8169
|
}
|
|
8170
8170
|
var Vg = class extends E {
|
|
8171
8171
|
setComp(e, t, o) {
|
|
@@ -8209,7 +8209,7 @@ var Vg = class extends E {
|
|
|
8209
8209
|
const { beans: e } = this;
|
|
8210
8210
|
let t = 0;
|
|
8211
8211
|
const o = gn(e).reduce((r, a) => r + a, 0), i = pn(e);
|
|
8212
|
-
if ((n = e.filterManager) != null && n.hasFloatingFilters() && (t +=
|
|
8212
|
+
if ((n = e.filterManager) != null && n.hasFloatingFilters() && (t += ll(e)), t += o, t += i, this.headerHeight === t)
|
|
8213
8213
|
return;
|
|
8214
8214
|
this.headerHeight = t;
|
|
8215
8215
|
const s = `${t + 1}px`;
|
|
@@ -8462,7 +8462,7 @@ var Vg = class extends E {
|
|
|
8462
8462
|
}
|
|
8463
8463
|
);
|
|
8464
8464
|
const s = i.map((n) => n.getGui());
|
|
8465
|
-
|
|
8465
|
+
ta(this.getGui(), s);
|
|
8466
8466
|
}
|
|
8467
8467
|
}
|
|
8468
8468
|
createHeaderComp(e) {
|
|
@@ -8480,7 +8480,7 @@ var Vg = class extends E {
|
|
|
8480
8480
|
}
|
|
8481
8481
|
return this.createBean(t), t.setParentComponent(this), t;
|
|
8482
8482
|
}
|
|
8483
|
-
},
|
|
8483
|
+
}, cl = class extends E {
|
|
8484
8484
|
constructor(e, t, o, i) {
|
|
8485
8485
|
super(), this.columnOrGroup = e, this.eCell = t, this.colsSpanning = i, this.columnOrGroup = e, this.ariaEl = t.querySelector("[role=columnheader]") || t, this.beans = o;
|
|
8486
8486
|
}
|
|
@@ -8489,7 +8489,7 @@ var Vg = class extends E {
|
|
|
8489
8489
|
}
|
|
8490
8490
|
getColumnOrGroup() {
|
|
8491
8491
|
const { beans: e, colsSpanning: t } = this;
|
|
8492
|
-
return e.gos.get("enableRtl") && t ?
|
|
8492
|
+
return e.gos.get("enableRtl") && t ? z(t) : this.columnOrGroup;
|
|
8493
8493
|
}
|
|
8494
8494
|
postConstruct() {
|
|
8495
8495
|
const e = this.onLeftChanged.bind(this);
|
|
@@ -8528,7 +8528,7 @@ var Vg = class extends E {
|
|
|
8528
8528
|
t.length > 1 && nc(this.ariaEl, t.length);
|
|
8529
8529
|
}
|
|
8530
8530
|
}
|
|
8531
|
-
}, jg = 0,
|
|
8531
|
+
}, jg = 0, ul = "headerCtrl", hl = class extends E {
|
|
8532
8532
|
constructor(e, t) {
|
|
8533
8533
|
super(), this.column = e, this.rowCtrl = t, this.resizeToggleTimeout = 0, this.resizeMultiplier = 1, this.resizeFeature = null, this.lastFocusEvent = null, this.dragSource = null, this.instanceId = e.getUniqueId() + "-" + jg++;
|
|
8534
8534
|
}
|
|
@@ -8610,7 +8610,7 @@ var Vg = class extends E {
|
|
|
8610
8610
|
}
|
|
8611
8611
|
onDisplayedColumnsChanged() {
|
|
8612
8612
|
const { comp: e, column: t, beans: o, eGui: i } = this;
|
|
8613
|
-
!e || !t || !i || (
|
|
8613
|
+
!e || !t || !i || (qa(e, t, o.visibleCols), $r(i, o.visibleCols.getAriaColIndex(t)));
|
|
8614
8614
|
}
|
|
8615
8615
|
addResizeAndMoveKeyboardListeners(e) {
|
|
8616
8616
|
e.addManagedListeners(this.eGui, {
|
|
@@ -8668,7 +8668,7 @@ var Vg = class extends E {
|
|
|
8668
8668
|
}
|
|
8669
8669
|
}
|
|
8670
8670
|
addDomData(e) {
|
|
8671
|
-
const t =
|
|
8671
|
+
const t = ul, { eGui: o, gos: i } = this;
|
|
8672
8672
|
it(i, o, t, this), e.addDestroyFunc(() => it(i, o, t, null));
|
|
8673
8673
|
}
|
|
8674
8674
|
focus(e) {
|
|
@@ -8713,7 +8713,7 @@ var Vg = class extends E {
|
|
|
8713
8713
|
destroy() {
|
|
8714
8714
|
super.destroy(), this.column = null, this.lastFocusEvent = null, this.rowCtrl = null;
|
|
8715
8715
|
}
|
|
8716
|
-
}, qg = class extends
|
|
8716
|
+
}, qg = class extends hl {
|
|
8717
8717
|
constructor() {
|
|
8718
8718
|
super(...arguments), this.refreshFunctions = {}, this.userHeaderClasses = /* @__PURE__ */ new Set(), this.ariaDescriptionProperties = /* @__PURE__ */ new Map();
|
|
8719
8719
|
}
|
|
@@ -8726,7 +8726,7 @@ var Vg = class extends E {
|
|
|
8726
8726
|
compBean: h
|
|
8727
8727
|
}), this.addColumnHoverListener(h), this.setupFilterClass(h), this.setupStylesFromColDef(), this.setupClassesFromColDef(), this.setupTooltip(), this.addActiveHeaderMouseListeners(h), this.setupSelectAll(h), this.setupUserComp(), this.refreshAria(), l ? this.resizeFeature = h.createManagedBean(
|
|
8728
8728
|
l.createResizeFeature(n.pinned, r, o, e, this)
|
|
8729
|
-
) : Z(o, !1), c == null || c.createHoverFeature(h, [r], t), u == null || u.createRangeHighlightFeature(h, r, e), h.createManagedBean(new
|
|
8729
|
+
) : Z(o, !1), c == null || c.createHoverFeature(h, [r], t), u == null || u.createRangeHighlightFeature(h, r, e), h.createManagedBean(new cl(r, t, a)), h.createManagedBean(
|
|
8730
8730
|
new Ti(t, {
|
|
8731
8731
|
shouldStopEventPropagation: (p) => this.shouldStopEventPropagation(p),
|
|
8732
8732
|
onTabKeyDown: () => null,
|
|
@@ -8839,7 +8839,7 @@ var Vg = class extends E {
|
|
|
8839
8839
|
}
|
|
8840
8840
|
showMenuOnKeyPress(e, t) {
|
|
8841
8841
|
const o = this.comp.getUserCompInstance();
|
|
8842
|
-
|
|
8842
|
+
Jn(o) && o.onMenuKeyboardShortcut(t) && e.preventDefault();
|
|
8843
8843
|
}
|
|
8844
8844
|
onFocusIn(e) {
|
|
8845
8845
|
this.eGui.contains(e.relatedTarget) || (this.focusThis(), this.announceAriaDescription()), Th() && this.setActiveHeader(!0);
|
|
@@ -8861,7 +8861,7 @@ var Vg = class extends E {
|
|
|
8861
8861
|
}
|
|
8862
8862
|
setupClassesFromColDef() {
|
|
8863
8863
|
const e = () => {
|
|
8864
|
-
const t = this.column.getColDef(), o =
|
|
8864
|
+
const t = this.column.getColDef(), o = ja(t, this.gos, this.column, null), i = this.userHeaderClasses;
|
|
8865
8865
|
this.userHeaderClasses = new Set(o), o.forEach((s) => {
|
|
8866
8866
|
i.has(s) ? i.delete(s) : this.comp.toggleCss(s, !0);
|
|
8867
8867
|
}), i.forEach((s) => this.comp.toggleCss(s, !1));
|
|
@@ -9041,13 +9041,13 @@ var Vg = class extends E {
|
|
|
9041
9041
|
}
|
|
9042
9042
|
getAnchorElementForMenu(e) {
|
|
9043
9043
|
const t = this.comp.getUserCompInstance();
|
|
9044
|
-
return
|
|
9044
|
+
return Jn(t) ? t.getAnchorElementForMenu(e) : this.eGui;
|
|
9045
9045
|
}
|
|
9046
9046
|
destroy() {
|
|
9047
9047
|
this.tooltipFeature = this.destroyBean(this.tooltipFeature), super.destroy();
|
|
9048
9048
|
}
|
|
9049
9049
|
};
|
|
9050
|
-
function
|
|
9050
|
+
function Jn(e) {
|
|
9051
9051
|
return typeof (e == null ? void 0 : e.getAnchorElementForMenu) == "function" && typeof e.onMenuKeyboardShortcut == "function";
|
|
9052
9052
|
}
|
|
9053
9053
|
var Yg = 0, Qi = class extends E {
|
|
@@ -9132,7 +9132,7 @@ var Yg = 0, Qi = class extends E {
|
|
|
9132
9132
|
if (this.type === "column")
|
|
9133
9133
|
return { topOffset: e, rowHeight: o };
|
|
9134
9134
|
e += o;
|
|
9135
|
-
const i =
|
|
9135
|
+
const i = ll(this.beans);
|
|
9136
9136
|
return { topOffset: e, rowHeight: i };
|
|
9137
9137
|
}
|
|
9138
9138
|
onVirtualColumnsChanged(e = !1) {
|
|
@@ -9358,7 +9358,7 @@ var Yg = 0, Qi = class extends E {
|
|
|
9358
9358
|
destroy() {
|
|
9359
9359
|
this.errorMessages = null;
|
|
9360
9360
|
}
|
|
9361
|
-
},
|
|
9361
|
+
}, gl = class extends j {
|
|
9362
9362
|
constructor() {
|
|
9363
9363
|
super();
|
|
9364
9364
|
}
|
|
@@ -9366,7 +9366,7 @@ var Yg = 0, Qi = class extends E {
|
|
|
9366
9366
|
tag: "span",
|
|
9367
9367
|
cls: "ag-overlay-loading-center",
|
|
9368
9368
|
attrs: { "aria-live": "polite", "aria-atomic": "true" }
|
|
9369
|
-
}, Xg = class extends
|
|
9369
|
+
}, Xg = class extends gl {
|
|
9370
9370
|
init() {
|
|
9371
9371
|
var t;
|
|
9372
9372
|
const e = Ze((t = this.gos.get("overlayLoadingTemplate")) == null ? void 0 : t.trim());
|
|
@@ -9377,7 +9377,7 @@ var Yg = 0, Qi = class extends E {
|
|
|
9377
9377
|
});
|
|
9378
9378
|
}
|
|
9379
9379
|
}
|
|
9380
|
-
}, Jg = { tag: "span", cls: "ag-overlay-no-rows-center" }, ep = class extends
|
|
9380
|
+
}, Jg = { tag: "span", cls: "ag-overlay-no-rows-center" }, ep = class extends gl {
|
|
9381
9381
|
init() {
|
|
9382
9382
|
var t;
|
|
9383
9383
|
const e = Ze((t = this.gos.get("overlayNoRowsTemplate")) == null ? void 0 : t.trim());
|
|
@@ -9525,12 +9525,12 @@ var op = (
|
|
|
9525
9525
|
setDisabled(e) {
|
|
9526
9526
|
e = !!e;
|
|
9527
9527
|
const t = this.getGui();
|
|
9528
|
-
return
|
|
9528
|
+
return Qr(t, e), t.classList.toggle("ag-disabled", e), this.disabled = e, this;
|
|
9529
9529
|
}
|
|
9530
9530
|
isDisabled() {
|
|
9531
9531
|
return !!this.disabled;
|
|
9532
9532
|
}
|
|
9533
|
-
},
|
|
9533
|
+
}, pl = class extends rp {
|
|
9534
9534
|
constructor(e, t, o, i) {
|
|
9535
9535
|
super(e, t, o), this.className = i;
|
|
9536
9536
|
}
|
|
@@ -9584,7 +9584,7 @@ function ap(e) {
|
|
|
9584
9584
|
]
|
|
9585
9585
|
};
|
|
9586
9586
|
}
|
|
9587
|
-
var mn = class extends
|
|
9587
|
+
var mn = class extends pl {
|
|
9588
9588
|
constructor(e, t, o = "text", i = "input") {
|
|
9589
9589
|
super(e, (e == null ? void 0 : e.template) ?? ap(i), [], t), this.inputType = o, this.displayFieldTag = i, this.eLabel = I, this.eWrapper = I, this.eInput = I;
|
|
9590
9590
|
}
|
|
@@ -9626,7 +9626,7 @@ var mn = class extends gl {
|
|
|
9626
9626
|
return ro(this.eInput, e), this.refreshAriaLabelledBy(), this;
|
|
9627
9627
|
}
|
|
9628
9628
|
setDisabled(e) {
|
|
9629
|
-
return
|
|
9629
|
+
return Qr(this.eInput, e), super.setDisabled(e);
|
|
9630
9630
|
}
|
|
9631
9631
|
setAutoComplete(e) {
|
|
9632
9632
|
if (e === !0)
|
|
@@ -9637,7 +9637,7 @@ var mn = class extends gl {
|
|
|
9637
9637
|
}
|
|
9638
9638
|
return this;
|
|
9639
9639
|
}
|
|
9640
|
-
},
|
|
9640
|
+
}, fl = class extends mn {
|
|
9641
9641
|
constructor(e, t = "ag-checkbox", o = "checkbox") {
|
|
9642
9642
|
super(e, t, o), this.labelAlignment = "right", this.selected = !1, this.readOnly = !1, this.passive = !1;
|
|
9643
9643
|
}
|
|
@@ -9713,7 +9713,7 @@ var mn = class extends gl {
|
|
|
9713
9713
|
}
|
|
9714
9714
|
}, wn = {
|
|
9715
9715
|
selector: "AG-CHECKBOX",
|
|
9716
|
-
component:
|
|
9716
|
+
component: fl
|
|
9717
9717
|
}, lp = (
|
|
9718
9718
|
/*css*/
|
|
9719
9719
|
".ag-checkbox-cell{height:100%}"
|
|
@@ -9735,7 +9735,7 @@ var mn = class extends gl {
|
|
|
9735
9735
|
init(e) {
|
|
9736
9736
|
this.refresh(e);
|
|
9737
9737
|
const { eCheckbox: t, beans: o } = this, i = t.getInputElement();
|
|
9738
|
-
i.setAttribute("tabindex", "-1"),
|
|
9738
|
+
i.setAttribute("tabindex", "-1"), Wr(i, "polite"), this.addManagedListeners(i, {
|
|
9739
9739
|
click: (s) => {
|
|
9740
9740
|
if (Mt(s), t.isDisabled())
|
|
9741
9741
|
return;
|
|
@@ -9778,7 +9778,7 @@ var mn = class extends gl {
|
|
|
9778
9778
|
r.setValue(t);
|
|
9779
9779
|
const a = e.disabled ?? !(s != null && s.isCellEditable(n));
|
|
9780
9780
|
r.setDisabled(a);
|
|
9781
|
-
const l = this.getLocaleTextFunc(), d =
|
|
9781
|
+
const l = this.getLocaleTextFunc(), d = Ur(l, t), c = a ? d : `${l("ariaToggleCellValue", "Press SPACE to toggle cell value")} (${d})`;
|
|
9782
9782
|
r.setInputAriaLabel(c);
|
|
9783
9783
|
}
|
|
9784
9784
|
onCheckboxChanged(e) {
|
|
@@ -9807,7 +9807,7 @@ var mn = class extends gl {
|
|
|
9807
9807
|
{ source: (l = this.beans.editSvc) != null && l.isBatchEditing() ? "ui" : "api" }
|
|
9808
9808
|
), n || this.updateCheckbox(t);
|
|
9809
9809
|
}
|
|
9810
|
-
},
|
|
9810
|
+
}, er = class {
|
|
9811
9811
|
constructor(e, t) {
|
|
9812
9812
|
this.beans = e, this.floating = t, this.all = /* @__PURE__ */ new Set(), this.visible = /* @__PURE__ */ new Set(), this.order = [], this.queued = /* @__PURE__ */ new Set();
|
|
9813
9813
|
}
|
|
@@ -9846,7 +9846,7 @@ var mn = class extends gl {
|
|
|
9846
9846
|
return (((l = r.pinnedSibling) == null ? void 0 : l.rowIndex) ?? 0) - (((d = a.pinnedSibling) == null ? void 0 : d.rowIndex) ?? 0);
|
|
9847
9847
|
}), this.order = (t == null ? void 0 : t.doFullSort(this.order, i)) ?? this.order, !s)
|
|
9848
9848
|
return;
|
|
9849
|
-
const n =
|
|
9849
|
+
const n = fa(o);
|
|
9850
9850
|
n === "bottom" || n === "pinnedBottom" ? this.order.push(s) : this.order.unshift(s);
|
|
9851
9851
|
}
|
|
9852
9852
|
hide(e) {
|
|
@@ -9863,16 +9863,16 @@ var mn = class extends gl {
|
|
|
9863
9863
|
this.queued.forEach(e);
|
|
9864
9864
|
}
|
|
9865
9865
|
};
|
|
9866
|
-
function
|
|
9866
|
+
function Cl(e) {
|
|
9867
9867
|
var o;
|
|
9868
9868
|
if (e.level === -1)
|
|
9869
9869
|
return !0;
|
|
9870
9870
|
const t = e.parent;
|
|
9871
|
-
return (o = t == null ? void 0 : t.childrenAfterSort) != null && o.some((i) => i == e) ?
|
|
9871
|
+
return (o = t == null ? void 0 : t.childrenAfterSort) != null && o.some((i) => i == e) ? Cl(t) : !1;
|
|
9872
9872
|
}
|
|
9873
9873
|
function Xi(e, t) {
|
|
9874
9874
|
const { gos: o, rowModel: i, filterManager: s } = e;
|
|
9875
|
-
return Ei(o) ? !i.getRowNode(t.id) : s != null && s.isAnyFilterPresent() ? !
|
|
9875
|
+
return Ei(o) ? !i.getRowNode(t.id) : s != null && s.isAnyFilterPresent() ? !Cl(t) : o.get("pivotMode") ? !t.group : !1;
|
|
9876
9876
|
}
|
|
9877
9877
|
function up(e) {
|
|
9878
9878
|
return !!e.footer && e.level === -1;
|
|
@@ -9886,10 +9886,10 @@ function gp(e) {
|
|
|
9886
9886
|
if (t > -1)
|
|
9887
9887
|
return (o = e.splice(t, 1)) == null ? void 0 : o[0];
|
|
9888
9888
|
}
|
|
9889
|
-
var
|
|
9889
|
+
var tr = class extends E {
|
|
9890
9890
|
postConstruct() {
|
|
9891
9891
|
const { gos: e, beans: t } = this;
|
|
9892
|
-
this.top = new
|
|
9892
|
+
this.top = new er(t, "top"), this.bottom = new er(t, "bottom");
|
|
9893
9893
|
const o = (s) => Xi(t, s.pinnedSibling), i = () => {
|
|
9894
9894
|
const s = e.get("isRowPinned");
|
|
9895
9895
|
s && e.get("enableRowPinning") && t.rowModel.forEachNode((n) => this.pinRow(n, s(n)), !0), this.refreshRowPositions(), this.dispatchRowPinnedEvents();
|
|
@@ -9949,7 +9949,7 @@ var er = class extends E {
|
|
|
9949
9949
|
const d = a.pinnedSibling;
|
|
9950
9950
|
Ji(a), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(d);
|
|
9951
9951
|
} else {
|
|
9952
|
-
const a =
|
|
9952
|
+
const a = or(this.beans, e, t), l = this.getContainer(t);
|
|
9953
9953
|
l.add(a), Xi(this.beans, e) && l.hide((d) => Xi(this.beans, d.pinnedSibling)), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(e);
|
|
9954
9954
|
}
|
|
9955
9955
|
}
|
|
@@ -9975,10 +9975,10 @@ var er = class extends E {
|
|
|
9975
9975
|
}), e;
|
|
9976
9976
|
}
|
|
9977
9977
|
getPinnedTopTotalHeight() {
|
|
9978
|
-
return
|
|
9978
|
+
return ir(this.top);
|
|
9979
9979
|
}
|
|
9980
9980
|
getPinnedBottomTotalHeight() {
|
|
9981
|
-
return
|
|
9981
|
+
return ir(this.bottom);
|
|
9982
9982
|
}
|
|
9983
9983
|
getPinnedTopRowCount() {
|
|
9984
9984
|
return this.top.size();
|
|
@@ -10044,7 +10044,7 @@ var er = class extends E {
|
|
|
10044
10044
|
const n = s.pinnedSibling, r = n && this.findPinnedRowNode(n);
|
|
10045
10045
|
if (o) {
|
|
10046
10046
|
if (r && r.floating !== o && (r.delete(n), Ji(n)), !r || r.floating !== o) {
|
|
10047
|
-
const l =
|
|
10047
|
+
const l = or(t, s, o);
|
|
10048
10048
|
this.getContainer(o).add(l);
|
|
10049
10049
|
}
|
|
10050
10050
|
} else {
|
|
@@ -10084,7 +10084,7 @@ function pp(e, t) {
|
|
|
10084
10084
|
i.setRowTop(o), (i.rowHeightEstimated || i.rowHeight == null) && i.setRowHeight($e(e, i).height), i.setRowIndex(s), o += i.rowHeight;
|
|
10085
10085
|
});
|
|
10086
10086
|
}
|
|
10087
|
-
function
|
|
10087
|
+
function or(e, t, o) {
|
|
10088
10088
|
if (t.pinnedSibling)
|
|
10089
10089
|
return t.pinnedSibling;
|
|
10090
10090
|
const i = Qh(t, e);
|
|
@@ -10111,7 +10111,7 @@ function Cp(e, t, o) {
|
|
|
10111
10111
|
if (o && s)
|
|
10112
10112
|
return (n = i == null ? void 0 : i.getCellSpan(o, t)) == null ? void 0 : n.spannedNodes;
|
|
10113
10113
|
}
|
|
10114
|
-
function
|
|
10114
|
+
function ir(e) {
|
|
10115
10115
|
const t = e.size();
|
|
10116
10116
|
if (t === 0)
|
|
10117
10117
|
return 0;
|
|
@@ -10121,7 +10121,7 @@ function or(e) {
|
|
|
10121
10121
|
function mp({ gos: e, rowModel: t }) {
|
|
10122
10122
|
ie(e) && t.refreshModel({ step: "map" });
|
|
10123
10123
|
}
|
|
10124
|
-
var
|
|
10124
|
+
var sr = class extends E {
|
|
10125
10125
|
constructor() {
|
|
10126
10126
|
super(...arguments), this.nextId = 0, this.pinnedTopRows = { cache: {}, order: [] }, this.pinnedBottomRows = { cache: {}, order: [] };
|
|
10127
10127
|
}
|
|
@@ -10204,10 +10204,10 @@ var ir = class extends E {
|
|
|
10204
10204
|
return e.setRowTop(t), e.setRowHeight($e(this.beans, e).height), e.setRowIndex(o), e.rowHeight;
|
|
10205
10205
|
}
|
|
10206
10206
|
getPinnedTopTotalHeight() {
|
|
10207
|
-
return
|
|
10207
|
+
return nr(this.pinnedTopRows);
|
|
10208
10208
|
}
|
|
10209
10209
|
getPinnedBottomTotalHeight() {
|
|
10210
|
-
return
|
|
10210
|
+
return nr(this.pinnedBottomRows);
|
|
10211
10211
|
}
|
|
10212
10212
|
getPinnedTopRowCount() {
|
|
10213
10213
|
return Bs(this.pinnedTopRows);
|
|
@@ -10240,7 +10240,7 @@ var ir = class extends E {
|
|
|
10240
10240
|
setGrandTotalPinned() {
|
|
10241
10241
|
}
|
|
10242
10242
|
};
|
|
10243
|
-
function
|
|
10243
|
+
function nr(e) {
|
|
10244
10244
|
const t = Bs(e);
|
|
10245
10245
|
if (t === 0)
|
|
10246
10246
|
return 0;
|
|
@@ -10268,9 +10268,9 @@ var wp = class extends E {
|
|
|
10268
10268
|
}
|
|
10269
10269
|
postConstruct() {
|
|
10270
10270
|
const { gos: e } = this, t = () => {
|
|
10271
|
-
const o = e.get("enableRowPinning"), i =
|
|
10271
|
+
const o = e.get("enableRowPinning"), i = fa(e), n = !!o || (i === "pinnedBottom" || i === "pinnedTop"), r = n ? this.inner instanceof sr : this.inner instanceof tr;
|
|
10272
10272
|
this.inner && r && this.destroyBean(this.inner), (r || !this.inner) && (this.inner = this.createManagedBean(
|
|
10273
|
-
n ? new
|
|
10273
|
+
n ? new tr() : new sr()
|
|
10274
10274
|
));
|
|
10275
10275
|
};
|
|
10276
10276
|
this.addManagedPropertyListeners(["enableRowPinning", "grandTotalRow"], t), t();
|
|
@@ -10346,7 +10346,7 @@ var wp = class extends E {
|
|
|
10346
10346
|
}
|
|
10347
10347
|
preventDisallowedCharacters() {
|
|
10348
10348
|
const e = new RegExp(`[${this.config.allowedCharPattern}]`), t = (o) => {
|
|
10349
|
-
|
|
10349
|
+
tl(o) && o.key && !e.test(o.key) && o.preventDefault();
|
|
10350
10350
|
};
|
|
10351
10351
|
this.addManagedListeners(this.eInput, {
|
|
10352
10352
|
keydown: t,
|
|
@@ -10511,7 +10511,7 @@ var wp = class extends E {
|
|
|
10511
10511
|
setDate(e, t) {
|
|
10512
10512
|
this.setValue(We(e ?? null, this.includeTime), t);
|
|
10513
10513
|
}
|
|
10514
|
-
},
|
|
10514
|
+
}, ml = {
|
|
10515
10515
|
selector: "AG-INPUT-DATE-FIELD",
|
|
10516
10516
|
component: Ep
|
|
10517
10517
|
}, xp = class extends j {
|
|
@@ -10676,7 +10676,7 @@ var wp = class extends E {
|
|
|
10676
10676
|
]
|
|
10677
10677
|
}
|
|
10678
10678
|
]
|
|
10679
|
-
}, Pp = class extends
|
|
10679
|
+
}, Pp = class extends pl {
|
|
10680
10680
|
constructor(e) {
|
|
10681
10681
|
if (super(e, (e == null ? void 0 : e.template) || Fp, (e == null ? void 0 : e.agComponents) || [], e == null ? void 0 : e.className), this.isPickerDisplayed = !1, this.skipClick = !1, this.pickerGap = 4, this.hideCurrentPicker = null, this.eLabel = I, this.eWrapper = I, this.eDisplayField = I, this.eIcon = I, this.registerCSS(Dp), this.ariaRole = e == null ? void 0 : e.ariaRole, this.onPickerFocusIn = this.onPickerFocusIn.bind(this), this.onPickerFocusOut = this.onPickerFocusOut.bind(this), !e)
|
|
10682
10682
|
return;
|
|
@@ -10751,7 +10751,7 @@ var wp = class extends E {
|
|
|
10751
10751
|
eChild: e,
|
|
10752
10752
|
closeOnEsc: !0,
|
|
10753
10753
|
closedCallback: () => {
|
|
10754
|
-
const f =
|
|
10754
|
+
const f = ga(d);
|
|
10755
10755
|
this.beforeHidePicker(), f && this.isAlive() && this.getFocusableElement().focus();
|
|
10756
10756
|
},
|
|
10757
10757
|
ariaLabel: t(o, i),
|
|
@@ -11187,7 +11187,7 @@ var wp = class extends E {
|
|
|
11187
11187
|
const t = this.getActiveTouch(e.touches);
|
|
11188
11188
|
if (!t)
|
|
11189
11189
|
return;
|
|
11190
|
-
!
|
|
11190
|
+
!Ya(t, this.touchStart, 4) && (this.moved = !0);
|
|
11191
11191
|
}
|
|
11192
11192
|
onTouchEnd(e) {
|
|
11193
11193
|
if (this.touching) {
|
|
@@ -11218,9 +11218,9 @@ var wp = class extends E {
|
|
|
11218
11218
|
destroy() {
|
|
11219
11219
|
this.destroyFuncs.forEach((e) => e());
|
|
11220
11220
|
}
|
|
11221
|
-
},
|
|
11221
|
+
}, wl = class {
|
|
11222
11222
|
constructor(e = "javascript") {
|
|
11223
|
-
this.frameworkName = e, this.renderingEngine = "vanilla", this.batchFrameworkComps = !1, this.wrapIncoming = (t) => t(), this.wrapOutgoing = (t) => t(), this.baseDocLink = `${
|
|
11223
|
+
this.frameworkName = e, this.renderingEngine = "vanilla", this.batchFrameworkComps = !1, this.wrapIncoming = (t) => t(), this.wrapOutgoing = (t) => t(), this.baseDocLink = `${na}/${this.frameworkName}-data-grid`, Sc(this.baseDocLink);
|
|
11224
11224
|
}
|
|
11225
11225
|
setInterval(e, t) {
|
|
11226
11226
|
return new po((o) => {
|
|
@@ -11231,7 +11231,7 @@ var wp = class extends E {
|
|
|
11231
11231
|
addEventListener(e, t, o, i) {
|
|
11232
11232
|
let s = {};
|
|
11233
11233
|
if (typeof i == "object" ? s = i : typeof i == "boolean" && (s = { capture: i }), s.passive == null) {
|
|
11234
|
-
const n =
|
|
11234
|
+
const n = Sa(t);
|
|
11235
11235
|
n != null && (s.passive = n);
|
|
11236
11236
|
}
|
|
11237
11237
|
e.addEventListener(t, o, s);
|
|
@@ -11333,11 +11333,11 @@ var Hp = [
|
|
|
11333
11333
|
"showRowGroupCols",
|
|
11334
11334
|
"validation"
|
|
11335
11335
|
// Have validations run last
|
|
11336
|
-
],
|
|
11336
|
+
], rr = Object.fromEntries(
|
|
11337
11337
|
Hp.map((e, t) => [e, t])
|
|
11338
11338
|
);
|
|
11339
11339
|
function Op(e, t) {
|
|
11340
|
-
const o = (e.beanName ?
|
|
11340
|
+
const o = (e.beanName ? rr[e.beanName] : void 0) ?? Number.MAX_SAFE_INTEGER, i = (t.beanName ? rr[t.beanName] : void 0) ?? Number.MAX_SAFE_INTEGER;
|
|
11341
11341
|
return o - i;
|
|
11342
11342
|
}
|
|
11343
11343
|
function Bp(e, t) {
|
|
@@ -11385,7 +11385,7 @@ var Vp = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, Np = {
|
|
|
11385
11385
|
let o;
|
|
11386
11386
|
const i = (s) => {
|
|
11387
11387
|
const n = s.getGui();
|
|
11388
|
-
n.parentElement != this.eRowContainer && this.eRowContainer.appendChild(n), o &&
|
|
11388
|
+
n.parentElement != this.eRowContainer && this.eRowContainer.appendChild(n), o && ea(this.eRowContainer, n, o), o = n;
|
|
11389
11389
|
};
|
|
11390
11390
|
e.forEach((s) => {
|
|
11391
11391
|
const n = s.instanceId, r = t[n];
|
|
@@ -11431,7 +11431,7 @@ var Vp = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, Np = {
|
|
|
11431
11431
|
tag: "div",
|
|
11432
11432
|
cls: "ag-spanned-cell-wrapper",
|
|
11433
11433
|
role: "presentation"
|
|
11434
|
-
}), r.appendChild(n), this.setTemplateFromElement(r)) : this.setTemplateFromElement(n), this.cellCssManager = new
|
|
11434
|
+
}), r.appendChild(n), this.setTemplateFromElement(r)) : this.setTemplateFromElement(n), this.cellCssManager = new Ga(() => n), this.forceWrapper = t.isForceWrapper(), this.refreshWrapper(!1);
|
|
11435
11435
|
const a = {
|
|
11436
11436
|
toggleCss: (l, d) => this.cellCssManager.toggleCss(l, d),
|
|
11437
11437
|
setUserStyles: (l) => Eo(n, l),
|
|
@@ -11681,7 +11681,7 @@ var Vp = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, Np = {
|
|
|
11681
11681
|
const i = this.cellComps.get(o.instanceId);
|
|
11682
11682
|
i && t.push(i.getGui());
|
|
11683
11683
|
}
|
|
11684
|
-
|
|
11684
|
+
ta(this.getGui(), t);
|
|
11685
11685
|
}
|
|
11686
11686
|
newCellComp(e) {
|
|
11687
11687
|
var i;
|
|
@@ -11724,7 +11724,7 @@ function jp(e, t, o) {
|
|
|
11724
11724
|
return {
|
|
11725
11725
|
tag: "div",
|
|
11726
11726
|
ref: "eViewport",
|
|
11727
|
-
cls: `ag-viewport ${
|
|
11727
|
+
cls: `ag-viewport ${il(e)}`,
|
|
11728
11728
|
role: "presentation",
|
|
11729
11729
|
children: [s, i ? n : null]
|
|
11730
11730
|
};
|
|
@@ -11788,7 +11788,7 @@ var qp = class extends j {
|
|
|
11788
11788
|
t.removeChild(o.getGui()), o.destroy();
|
|
11789
11789
|
}
|
|
11790
11790
|
ensureDomOrder(e, t) {
|
|
11791
|
-
|
|
11791
|
+
ea(t, e, this.lastPlacedElement), this.lastPlacedElement = e;
|
|
11792
11792
|
}
|
|
11793
11793
|
}, Yp = {
|
|
11794
11794
|
selector: "AG-ROW-CONTAINER",
|
|
@@ -11919,7 +11919,7 @@ var Qp = class extends j {
|
|
|
11919
11919
|
c.toggle(ve.AUTO_HEIGHT, l.autoHeight), c.toggle(ve.NORMAL, l.normal), c.toggle(ve.PRINT, l.print);
|
|
11920
11920
|
this.toggleCss(ve.AUTO_HEIGHT, l.autoHeight), this.toggleCss(ve.NORMAL, l.normal), this.toggleCss(ve.PRINT, l.print);
|
|
11921
11921
|
},
|
|
11922
|
-
setAlwaysVerticalScrollClass: (a, l) => this.eBodyViewport.classList.toggle(
|
|
11922
|
+
setAlwaysVerticalScrollClass: (a, l) => this.eBodyViewport.classList.toggle(rl, l),
|
|
11923
11923
|
registerBodyViewportResizeListener: (a) => {
|
|
11924
11924
|
const l = dt(this.beans, this.eBodyViewport, a);
|
|
11925
11925
|
this.addDestroyFunc(() => l());
|
|
@@ -11957,7 +11957,7 @@ var Qp = class extends j {
|
|
|
11957
11957
|
setComp(e, t, o) {
|
|
11958
11958
|
this.view = e, this.eGridHostDiv = t, this.eGui = o, this.eGui.setAttribute("grid-id", this.beans.context.getGridId());
|
|
11959
11959
|
const { dragAndDrop: i, ctrlsSvc: s } = this.beans;
|
|
11960
|
-
i == null || i.registerGridDropTarget(() => this.eGui, this),
|
|
11960
|
+
i == null || i.registerGridDropTarget(() => this.eGui, this), Xa(this.gos, t), this.createManagedBean(new cn(this.view)), this.view.setRtlClass(this.gos.get("enableRtl") ? "ag-rtl" : "ag-ltr");
|
|
11961
11961
|
const n = dt(this.beans, this.eGridHostDiv, this.onGridSizeChanged.bind(this));
|
|
11962
11962
|
this.addDestroyFunc(() => n()), s.register("gridCtrl", this);
|
|
11963
11963
|
}
|
|
@@ -12008,7 +12008,7 @@ var Qp = class extends j {
|
|
|
12008
12008
|
return !1;
|
|
12009
12009
|
if (i === 0) {
|
|
12010
12010
|
if (o > 0) {
|
|
12011
|
-
const { visibleCols: s, focusSvc: n } = this.beans, r = s.allCols, a =
|
|
12011
|
+
const { visibleCols: s, focusSvc: n } = this.beans, r = s.allCols, a = z(r);
|
|
12012
12012
|
if (n.focusGridView({ column: a, backwards: !0 }))
|
|
12013
12013
|
return !0;
|
|
12014
12014
|
}
|
|
@@ -12023,8 +12023,8 @@ var Qp = class extends j {
|
|
|
12023
12023
|
const o = this.getFocusableContainers(), { focusSvc: i, visibleCols: s } = this.beans, n = s.allCols;
|
|
12024
12024
|
if (e) {
|
|
12025
12025
|
if (o.length > 1)
|
|
12026
|
-
return this.focusContainer(
|
|
12027
|
-
const r =
|
|
12026
|
+
return this.focusContainer(z(o), e);
|
|
12027
|
+
const r = z(n);
|
|
12028
12028
|
if (i.focusGridView({ column: r, backwards: e }))
|
|
12029
12029
|
return !0;
|
|
12030
12030
|
}
|
|
@@ -12164,7 +12164,7 @@ var Qp = class extends j {
|
|
|
12164
12164
|
for (const o of Object.keys(t))
|
|
12165
12165
|
t[o] = e;
|
|
12166
12166
|
return t;
|
|
12167
|
-
},
|
|
12167
|
+
}, ar = {
|
|
12168
12168
|
dispatchEvent: "CommunityCore",
|
|
12169
12169
|
// this is always registered
|
|
12170
12170
|
...O("CommunityCore", {
|
|
@@ -12533,18 +12533,18 @@ var Qp = class extends j {
|
|
|
12533
12533
|
},
|
|
12534
12534
|
wireBeans() {
|
|
12535
12535
|
}
|
|
12536
|
-
}, tf = (e, t) => e.eventSvc.dispatchEvent(t),
|
|
12536
|
+
}, tf = (e, t) => e.eventSvc.dispatchEvent(t), vl = class {
|
|
12537
12537
|
};
|
|
12538
|
-
Reflect.defineProperty(
|
|
12538
|
+
Reflect.defineProperty(vl, "name", { value: "GridApi" });
|
|
12539
12539
|
var of = class extends E {
|
|
12540
12540
|
constructor() {
|
|
12541
|
-
super(), this.beanName = "apiFunctionSvc", this.api = new
|
|
12541
|
+
super(), this.beanName = "apiFunctionSvc", this.api = new vl(), this.fns = {
|
|
12542
12542
|
...os,
|
|
12543
12543
|
// dispatchEvent is used by frameworks, also used by aligned grids to identify a grid api instance
|
|
12544
12544
|
dispatchEvent: tf
|
|
12545
12545
|
}, this.preDestroyLink = "";
|
|
12546
12546
|
const { api: e } = this;
|
|
12547
|
-
for (const t of Object.keys(
|
|
12547
|
+
for (const t of Object.keys(ar))
|
|
12548
12548
|
e[t] = this.makeApi(t)[t];
|
|
12549
12549
|
}
|
|
12550
12550
|
postConstruct() {
|
|
@@ -12571,7 +12571,7 @@ var of = class extends E {
|
|
|
12571
12571
|
if (!t)
|
|
12572
12572
|
A(26, { fnName: e, preDestroyLink: i });
|
|
12573
12573
|
else {
|
|
12574
|
-
const s =
|
|
12574
|
+
const s = ar[e];
|
|
12575
12575
|
o.assertModuleRegistered(s, `api.${e}`) && A(27, { fnName: e, module: s });
|
|
12576
12576
|
}
|
|
12577
12577
|
}
|
|
@@ -12592,9 +12592,9 @@ function af(e, t) {
|
|
|
12592
12592
|
return e.gos.get(t);
|
|
12593
12593
|
}
|
|
12594
12594
|
function lf(e, t, o) {
|
|
12595
|
-
|
|
12595
|
+
Sl(e, { [t]: o });
|
|
12596
12596
|
}
|
|
12597
|
-
function
|
|
12597
|
+
function Sl(e, t) {
|
|
12598
12598
|
e.gos.updateGridOptions({ options: t });
|
|
12599
12599
|
}
|
|
12600
12600
|
function df(e, t) {
|
|
@@ -12751,7 +12751,7 @@ var cf = { tag: "div", cls: "ag-drag-handle ag-row-drag", attrs: { draggable: "t
|
|
|
12751
12751
|
const o = this.nodeIdsToColumns[e.id];
|
|
12752
12752
|
return t.filter((s) => !o[s.getId()]);
|
|
12753
12753
|
}
|
|
12754
|
-
},
|
|
12754
|
+
}, bl = {
|
|
12755
12755
|
moduleName: "Drag",
|
|
12756
12756
|
version: k,
|
|
12757
12757
|
beans: [jh]
|
|
@@ -12769,7 +12769,7 @@ var cf = { tag: "div", cls: "ag-drag-handle ag-row-drag", attrs: { draggable: "t
|
|
|
12769
12769
|
moduleName: "SharedDragAndDrop",
|
|
12770
12770
|
version: k,
|
|
12771
12771
|
beans: [Kh],
|
|
12772
|
-
dependsOn: [
|
|
12772
|
+
dependsOn: [bl],
|
|
12773
12773
|
userComponents: {
|
|
12774
12774
|
agDragAndDropImage: sp
|
|
12775
12775
|
},
|
|
@@ -12800,7 +12800,7 @@ var cf = { tag: "div", cls: "ag-drag-handle ag-row-drag", attrs: { draggable: "t
|
|
|
12800
12800
|
moduleName: "HorizontalResize",
|
|
12801
12801
|
version: k,
|
|
12802
12802
|
beans: [hf],
|
|
12803
|
-
dependsOn: [
|
|
12803
|
+
dependsOn: [bl]
|
|
12804
12804
|
}, Cf = (
|
|
12805
12805
|
/*css*/
|
|
12806
12806
|
":where(.ag-ltr) :where(.ag-column-moving){.ag-cell,.ag-header-cell,.ag-spanned-cell-wrapper{transition:left .2s}.ag-header-group-cell{transition:left .2s,width .2s}}:where(.ag-rtl) :where(.ag-column-moving){.ag-cell,.ag-header-cell,.ag-spanned-cell-wrapper{transition:right .2s}.ag-header-group-cell{transition:right .2s,width .2s}}"
|
|
@@ -12948,7 +12948,7 @@ function Rf(e, t, o, i) {
|
|
|
12948
12948
|
}
|
|
12949
12949
|
return n;
|
|
12950
12950
|
}
|
|
12951
|
-
function
|
|
12951
|
+
function yl(e) {
|
|
12952
12952
|
const { isFromHeader: t, fromLeft: o, xPosition: i, fromEnter: s, fakeEvent: n, pinned: r, gos: a, colModel: l, colMoves: d, visibleCols: c } = e;
|
|
12953
12953
|
let { allMovingColumns: u } = e;
|
|
12954
12954
|
t && (u = yf(u));
|
|
@@ -12975,13 +12975,13 @@ function bl(e) {
|
|
|
12975
12975
|
if (!(w > l.getCols().length - h.length))
|
|
12976
12976
|
return { columns: h, toIndex: w };
|
|
12977
12977
|
}
|
|
12978
|
-
function
|
|
12979
|
-
const { columns: t, toIndex: o } =
|
|
12978
|
+
function Rl(e) {
|
|
12979
|
+
const { columns: t, toIndex: o } = yl(e) || {}, { finished: i, colMoves: s } = e;
|
|
12980
12980
|
return !t || o == null ? null : (s.moveColumns(t, o, "uiColumnMoved", i), i ? null : { columns: t, toIndex: o });
|
|
12981
12981
|
}
|
|
12982
12982
|
function Ef(e, t) {
|
|
12983
12983
|
const o = t.getCols(), i = e.map((l) => o.indexOf(l)).sort((l, d) => l - d), s = i[0];
|
|
12984
|
-
return
|
|
12984
|
+
return z(i) - s !== i.length - 1 ? null : s;
|
|
12985
12985
|
}
|
|
12986
12986
|
function xf(e) {
|
|
12987
12987
|
function t(i) {
|
|
@@ -13066,7 +13066,7 @@ function is(e, t) {
|
|
|
13066
13066
|
for (const o of e)
|
|
13067
13067
|
o.moving = t, o.dispatchColEvent("movingChanged", "uiColumnMoved");
|
|
13068
13068
|
}
|
|
13069
|
-
var
|
|
13069
|
+
var lr = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
13070
13070
|
constructor(e) {
|
|
13071
13071
|
super(), this.pinned = e, this.needToMoveLeft = !1, this.needToMoveRight = !1, this.lastMovedInfo = null, this.isCenterContainer = !M(e);
|
|
13072
13072
|
}
|
|
@@ -13181,7 +13181,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13181
13181
|
fromLeft: r,
|
|
13182
13182
|
fromEnter: t,
|
|
13183
13183
|
fakeEvent: o
|
|
13184
|
-
}), d =
|
|
13184
|
+
}), d = Rl({ ...l, finished: s });
|
|
13185
13185
|
d && (this.lastMovedInfo = d);
|
|
13186
13186
|
}
|
|
13187
13187
|
getAllMovingColumns(e, t = !1) {
|
|
@@ -13232,7 +13232,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13232
13232
|
}
|
|
13233
13233
|
const p = g == null ? void 0 : g.getDisplayedLeafColumns();
|
|
13234
13234
|
if (p.length) {
|
|
13235
|
-
l =
|
|
13235
|
+
l = z(p);
|
|
13236
13236
|
break;
|
|
13237
13237
|
}
|
|
13238
13238
|
}
|
|
@@ -13243,7 +13243,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13243
13243
|
if (((c = this.lastHighlightedColumn) == null ? void 0 : c.column) !== l && this.clearHighlighted(), l == null || r == null || a == null)
|
|
13244
13244
|
return;
|
|
13245
13245
|
let d;
|
|
13246
|
-
t - r < a / 2 !== s ? d = 0 : d = 1,
|
|
13246
|
+
t - r < a / 2 !== s ? d = 0 : d = 1, dr(l, d), this.lastHighlightedColumn = { column: l, position: d };
|
|
13247
13247
|
}
|
|
13248
13248
|
getNormalisedXPositionInfo(e, t) {
|
|
13249
13249
|
const { gos: o, visibleCols: i } = this.beans, s = o.get("enableRtl"), { firstMovingCol: n, column: r, position: a } = this.getColumnMoveAndTargetInfo(
|
|
@@ -13302,7 +13302,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13302
13302
|
});
|
|
13303
13303
|
}
|
|
13304
13304
|
isAttemptingToPin(e) {
|
|
13305
|
-
const t = this.needToMoveLeft || this.needToMoveRight, o = this.failedMoveAttempts >
|
|
13305
|
+
const t = this.needToMoveLeft || this.needToMoveRight, o = this.failedMoveAttempts > lr;
|
|
13306
13306
|
return t && o || e.some((i) => i.getPinned() !== this.pinned);
|
|
13307
13307
|
}
|
|
13308
13308
|
moveColumnsAfterHighlight(e) {
|
|
@@ -13313,7 +13313,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13313
13313
|
fromLeft: n,
|
|
13314
13314
|
fromEnter: i,
|
|
13315
13315
|
fakeEvent: s
|
|
13316
|
-
}), { columns: a, toIndex: l } =
|
|
13316
|
+
}), { columns: a, toIndex: l } = yl(r) || {};
|
|
13317
13317
|
a && l != null && (this.lastMovedInfo = {
|
|
13318
13318
|
columns: a,
|
|
13319
13319
|
toIndex: l
|
|
@@ -13321,7 +13321,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13321
13321
|
}
|
|
13322
13322
|
clearHighlighted() {
|
|
13323
13323
|
const { lastHighlightedColumn: e } = this;
|
|
13324
|
-
e && (
|
|
13324
|
+
e && (dr(e.column, null), this.lastHighlightedColumn = null);
|
|
13325
13325
|
}
|
|
13326
13326
|
checkCenterForScrolling(e) {
|
|
13327
13327
|
if (!this.isCenterContainer)
|
|
@@ -13349,7 +13349,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13349
13349
|
else {
|
|
13350
13350
|
this.failedMoveAttempts++;
|
|
13351
13351
|
const { pinnedCols: n, dragAndDrop: r, gos: a } = this.beans;
|
|
13352
|
-
if (this.failedMoveAttempts <=
|
|
13352
|
+
if (this.failedMoveAttempts <= lr + 1 || !n)
|
|
13353
13353
|
return;
|
|
13354
13354
|
if ((i = r.getDragAndDropImageComponent()) == null || i.setIcon("pinned", !1), !a.get("suppressMoveWhenColumnDragging")) {
|
|
13355
13355
|
const l = (s = this.lastDraggingEvent) == null ? void 0 : s.dragItem.columns;
|
|
@@ -13375,7 +13375,7 @@ var ar = 7, Ns = 100, Oo = Ns / 2, Pf = 5, Tf = 100, If = class extends E {
|
|
|
13375
13375
|
super.destroy(), this.lastDraggingEvent = null, this.clearHighlighted(), this.lastMovedInfo = null;
|
|
13376
13376
|
}
|
|
13377
13377
|
};
|
|
13378
|
-
function
|
|
13378
|
+
function dr(e, t) {
|
|
13379
13379
|
e.highlighted !== t && (e.highlighted = t, e.dispatchColEvent("headerHighlightChanged", "uiColumnMoved"));
|
|
13380
13380
|
}
|
|
13381
13381
|
function Af(e) {
|
|
@@ -13484,7 +13484,7 @@ var Mf = class extends E {
|
|
|
13484
13484
|
}
|
|
13485
13485
|
n == null || n.start();
|
|
13486
13486
|
const d = s.getColsForKeys(e);
|
|
13487
|
-
this.doesMovePassRules(d, t) && (
|
|
13487
|
+
this.doesMovePassRules(d, t) && (Wn(s.getCols(), d, t), r.refresh(o), a.dispatchEvent({
|
|
13488
13488
|
type: "columnMoved",
|
|
13489
13489
|
columns: d,
|
|
13490
13490
|
column: d.length === 1 ? d[0] : null,
|
|
@@ -13499,7 +13499,7 @@ var Mf = class extends E {
|
|
|
13499
13499
|
}
|
|
13500
13500
|
doesOrderPassRules(e) {
|
|
13501
13501
|
const { colModel: t, gos: o } = this.beans;
|
|
13502
|
-
return !(!
|
|
13502
|
+
return !(!Ia(e, t.getColTree()) || !((s) => {
|
|
13503
13503
|
const n = (d) => d ? d === "left" || d === !0 ? -1 : 1 : 0, r = o.get("enableRtl");
|
|
13504
13504
|
let a = r ? 1 : -1, l = !0;
|
|
13505
13505
|
return s.forEach((d) => {
|
|
@@ -13510,7 +13510,7 @@ var Mf = class extends E {
|
|
|
13510
13510
|
}
|
|
13511
13511
|
getProposedColumnOrder(e, t) {
|
|
13512
13512
|
const i = this.beans.colModel.getCols().slice();
|
|
13513
|
-
return
|
|
13513
|
+
return Wn(i, e, t), i;
|
|
13514
13514
|
}
|
|
13515
13515
|
createBodyDropTarget(e, t) {
|
|
13516
13516
|
return new Mf(e, t);
|
|
@@ -13523,7 +13523,7 @@ var Mf = class extends E {
|
|
|
13523
13523
|
gos: r,
|
|
13524
13524
|
ctrlsSvc: n
|
|
13525
13525
|
}), C = d.focusedHeader;
|
|
13526
|
-
|
|
13526
|
+
Rl({
|
|
13527
13527
|
allMovingColumns: h ? o.getLeafColumns() : [o],
|
|
13528
13528
|
isFromHeader: !0,
|
|
13529
13529
|
fromLeft: e === "right",
|
|
@@ -13540,7 +13540,7 @@ var Mf = class extends E {
|
|
|
13540
13540
|
let m;
|
|
13541
13541
|
if (h) {
|
|
13542
13542
|
const w = o.getDisplayedLeafColumns();
|
|
13543
|
-
m = p ? w[0] :
|
|
13543
|
+
m = p ? w[0] : z(w);
|
|
13544
13544
|
} else
|
|
13545
13545
|
m = o;
|
|
13546
13546
|
if (n.getScrollFeature().ensureColumnVisible(m, "auto"), (!s.isAlive() || r.get("ensureDomOrder")) && C) {
|
|
@@ -13696,7 +13696,7 @@ var Of = {
|
|
|
13696
13696
|
}
|
|
13697
13697
|
i.appendChild(o), t.appendChild(i);
|
|
13698
13698
|
}
|
|
13699
|
-
},
|
|
13699
|
+
}, El = {
|
|
13700
13700
|
moduleName: "AutoWidth",
|
|
13701
13701
|
version: k,
|
|
13702
13702
|
beans: [Bf]
|
|
@@ -13918,7 +13918,7 @@ var Nf = class extends E {
|
|
|
13918
13918
|
let C = !0, m = 0;
|
|
13919
13919
|
for (; C; ) {
|
|
13920
13920
|
if (m++, m > 1e3) {
|
|
13921
|
-
|
|
13921
|
+
$(31);
|
|
13922
13922
|
break;
|
|
13923
13923
|
}
|
|
13924
13924
|
C = !1;
|
|
@@ -13991,7 +13991,7 @@ var $f = {
|
|
|
13991
13991
|
apiFunctions: {
|
|
13992
13992
|
setColumnWidths: Vf
|
|
13993
13993
|
},
|
|
13994
|
-
dependsOn: [ff,
|
|
13994
|
+
dependsOn: [ff, El]
|
|
13995
13995
|
}, Uf = class extends E {
|
|
13996
13996
|
constructor(e, t) {
|
|
13997
13997
|
super(), this.removeChildListenersFuncs = [], this.columnGroup = t, this.comp = e;
|
|
@@ -14020,7 +14020,7 @@ var $f = {
|
|
|
14020
14020
|
const e = this.columnGroup.getActualWidth();
|
|
14021
14021
|
this.comp.setWidth(`${e}px`), this.comp.toggleCss("ag-hidden", e === 0);
|
|
14022
14022
|
}
|
|
14023
|
-
}, Kf = class extends
|
|
14023
|
+
}, Kf = class extends hl {
|
|
14024
14024
|
constructor() {
|
|
14025
14025
|
super(...arguments), this.onSuppressColMoveChange = () => {
|
|
14026
14026
|
!this.isAlive() || this.isSuppressMoving() ? this.removeDragSource() : this.dragSource || this.setDragSource(this.eGui);
|
|
@@ -14033,7 +14033,7 @@ var $f = {
|
|
|
14033
14033
|
compBean: s
|
|
14034
14034
|
}), this.setupUserComp(), this.addHeaderMouseListeners(s), this.addManagedPropertyListener("groupHeaderHeight", this.refreshMaxHeaderHeight.bind(this)), this.refreshMaxHeaderHeight();
|
|
14035
14035
|
const h = this.rowCtrl.pinned, g = n.getProvidedColumnGroup().getLeafColumns();
|
|
14036
|
-
d == null || d.createHoverFeature(s, g, t), c == null || c.createRangeHighlightFeature(s, n, e), s.createManagedBean(new
|
|
14036
|
+
d == null || d.createHoverFeature(s, g, t), c == null || c.createRangeHighlightFeature(s, n, e), s.createManagedBean(new cl(n, t, r)), s.createManagedBean(new Uf(e, n)), u ? this.resizeFeature = s.createManagedBean(
|
|
14037
14037
|
u.createGroupResizeFeature(e, o, h, n)
|
|
14038
14038
|
) : e.setResizableDisplayed(!1), s.createManagedBean(
|
|
14039
14039
|
new Ti(t, {
|
|
@@ -14065,7 +14065,7 @@ var $f = {
|
|
|
14065
14065
|
});
|
|
14066
14066
|
}
|
|
14067
14067
|
onLeafColumnHighlightChanged(e) {
|
|
14068
|
-
const t = this.column.getDisplayedLeafColumns(), o = t[0] === e, i =
|
|
14068
|
+
const t = this.column.getDisplayedLeafColumns(), o = t[0] === e, i = z(t) === e;
|
|
14069
14069
|
if (!o && !i)
|
|
14070
14070
|
return;
|
|
14071
14071
|
const s = e.getHighlighted(), n = !!this.rowCtrl.getHeaderCellCtrls().find((l) => l.column.isMoving());
|
|
@@ -14153,7 +14153,7 @@ var $f = {
|
|
|
14153
14153
|
this.expandable ? this.comp.setAriaExpanded(t ? "true" : "false") : this.comp.setAriaExpanded(void 0), this.refreshHeaderStyles();
|
|
14154
14154
|
}
|
|
14155
14155
|
addClasses() {
|
|
14156
|
-
const { column: e } = this, t = e.getColGroupDef(), o =
|
|
14156
|
+
const { column: e } = this, t = e.getColGroupDef(), o = ja(t, this.gos, null, e);
|
|
14157
14157
|
e.isPadding() ? (o.push("ag-header-group-cell-no-group"), e.getLeafColumns().every((s) => s.isSpanHeaderHeight()) && o.push("ag-header-span-height")) : (o.push("ag-header-group-cell-with-group"), t != null && t.wrapHeaderText && o.push("ag-header-cell-wrap-text")), o.forEach((i) => this.comp.toggleCss(i, !0));
|
|
14158
14158
|
}
|
|
14159
14159
|
setupMovingCss(e) {
|
|
@@ -14278,7 +14278,7 @@ var nC = class extends E {
|
|
|
14278
14278
|
}
|
|
14279
14279
|
setFirstRightAndLastLeftPinned(e, t, o, i) {
|
|
14280
14280
|
let s, n;
|
|
14281
|
-
this.gos.get("enableRtl") ? (s = t ? t[0] : null, n = o ?
|
|
14281
|
+
this.gos.get("enableRtl") ? (s = t ? t[0] : null, n = o ? z(o) : null) : (s = t ? z(t) : null, n = o ? o[0] : null), e.getCols().forEach((r) => {
|
|
14282
14282
|
r.setLastLeftPinned(r === s, i), r.setFirstRightPinned(r === n, i);
|
|
14283
14283
|
});
|
|
14284
14284
|
}
|
|
@@ -14423,7 +14423,7 @@ var nC = class extends E {
|
|
|
14423
14423
|
for (let o = 0; o < t.length; o++) {
|
|
14424
14424
|
const i = this[t[o]];
|
|
14425
14425
|
if (i.length)
|
|
14426
|
-
return e ?
|
|
14426
|
+
return e ? z(i) : i[0];
|
|
14427
14427
|
}
|
|
14428
14428
|
return null;
|
|
14429
14429
|
}
|
|
@@ -14453,10 +14453,10 @@ var nC = class extends E {
|
|
|
14453
14453
|
const n = e.getDisplayedLeafColumns();
|
|
14454
14454
|
if (!n.length)
|
|
14455
14455
|
return !1;
|
|
14456
|
-
s = i ? n[0] :
|
|
14456
|
+
s = i ? n[0] : z(n);
|
|
14457
14457
|
} else
|
|
14458
14458
|
s = e;
|
|
14459
|
-
return (i ? o[0] :
|
|
14459
|
+
return (i ? o[0] : z(o)) === s;
|
|
14460
14460
|
}
|
|
14461
14461
|
};
|
|
14462
14462
|
function et(e, t, o) {
|
|
@@ -14531,7 +14531,7 @@ var rC = class extends E {
|
|
|
14531
14531
|
}), t;
|
|
14532
14532
|
}
|
|
14533
14533
|
getGroupAtDirection(e, t) {
|
|
14534
|
-
const o = e.getProvidedColumnGroup().getLevel() + e.getPaddingLevel(), i = e.getDisplayedLeafColumns(), s = t === "After" ?
|
|
14534
|
+
const o = e.getProvidedColumnGroup().getLevel() + e.getPaddingLevel(), i = e.getDisplayedLeafColumns(), s = t === "After" ? z(i) : i[0], n = `getCol${t}`;
|
|
14535
14535
|
for (; ; ) {
|
|
14536
14536
|
const r = this.beans.visibleCols[n](s);
|
|
14537
14537
|
if (!r)
|
|
@@ -14606,13 +14606,13 @@ var rC = class extends E {
|
|
|
14606
14606
|
return n || this.setupParentsIntoCols(a, null), a;
|
|
14607
14607
|
}
|
|
14608
14608
|
createProvidedColumnGroup(e, t, o, i, s, n, r) {
|
|
14609
|
-
const a = s.getUniqueKey(t.groupId || null, null), l =
|
|
14609
|
+
const a = s.getUniqueKey(t.groupId || null, null), l = Nn(this.beans, t, a), d = new Ko(l, a, !1, o);
|
|
14610
14610
|
this.createBean(d);
|
|
14611
14611
|
const c = this.findExistingGroup(t, n);
|
|
14612
14612
|
c && n.splice(c.idx, 1);
|
|
14613
14613
|
const u = c == null ? void 0 : c.group;
|
|
14614
14614
|
u && d.setExpanded(u.isExpanded());
|
|
14615
|
-
const h =
|
|
14615
|
+
const h = Fa(
|
|
14616
14616
|
this.beans,
|
|
14617
14617
|
l.children,
|
|
14618
14618
|
o + 1,
|
|
@@ -14639,7 +14639,7 @@ var rC = class extends E {
|
|
|
14639
14639
|
} else {
|
|
14640
14640
|
let a, l;
|
|
14641
14641
|
for (let d = t; d < o; d++) {
|
|
14642
|
-
const c = i.getUniqueKey(null, null), u =
|
|
14642
|
+
const c = i.getUniqueKey(null, null), u = Nn(this.beans, null, c), h = new Ko(u, c, !0, d);
|
|
14643
14643
|
this.createBean(h), l && l.setChildren([h]), l = h, a || (a = l);
|
|
14644
14644
|
}
|
|
14645
14645
|
if (a && l)
|
|
@@ -14697,7 +14697,7 @@ var rC = class extends E {
|
|
|
14697
14697
|
}
|
|
14698
14698
|
}
|
|
14699
14699
|
createColumnGroup(e, t, o, i, s) {
|
|
14700
|
-
const n = e.getGroupId(), r = t.getInstanceIdForKey(n), a =
|
|
14700
|
+
const n = e.getGroupId(), r = t.getInstanceIdForKey(n), a = el(n, r);
|
|
14701
14701
|
let l = o[a];
|
|
14702
14702
|
return l && l.getProvidedColumnGroup() !== e && (l = null), M(l) ? l.reset() : (l = new mo(e, n, r, i), s || this.createBean(l)), l;
|
|
14703
14703
|
}
|
|
@@ -14852,7 +14852,7 @@ function _s(e, t) {
|
|
|
14852
14852
|
return;
|
|
14853
14853
|
const o = e, i = {};
|
|
14854
14854
|
return Object.keys(o).forEach((s) => {
|
|
14855
|
-
if (t && t.indexOf(s) >= 0 ||
|
|
14855
|
+
if (t && t.indexOf(s) >= 0 || Vr.has(s))
|
|
14856
14856
|
return;
|
|
14857
14857
|
const n = o[s];
|
|
14858
14858
|
typeof n == "object" && n !== null && n.constructor === Object ? i[s] = _s(n) : i[s] = n;
|
|
@@ -15055,7 +15055,7 @@ var kC = class extends E {
|
|
|
15055
15055
|
for (const c of Object.keys(e)) {
|
|
15056
15056
|
const u = e[c], h = {
|
|
15057
15057
|
...u,
|
|
15058
|
-
groupSafeValueFormatter:
|
|
15058
|
+
groupSafeValueFormatter: hr(u, this.gos)
|
|
15059
15059
|
};
|
|
15060
15060
|
t[c] = h, o[c] = i(h);
|
|
15061
15061
|
}
|
|
@@ -15088,16 +15088,16 @@ var kC = class extends E {
|
|
|
15088
15088
|
if (e.columnTypes && (this.isColumnTypeOverrideInDataTypeDefinitions = !0), e.extendsDataType === e.baseDataType) {
|
|
15089
15089
|
let r = i[n];
|
|
15090
15090
|
const a = t[n];
|
|
15091
|
-
if (r && a && (r = a), !
|
|
15091
|
+
if (r && a && (r = a), !ur(e, r, n))
|
|
15092
15092
|
return;
|
|
15093
|
-
s =
|
|
15093
|
+
s = cr(r, e);
|
|
15094
15094
|
} else {
|
|
15095
15095
|
if (o.includes(n)) {
|
|
15096
15096
|
A(44);
|
|
15097
15097
|
return;
|
|
15098
15098
|
}
|
|
15099
15099
|
const r = t[n];
|
|
15100
|
-
if (!
|
|
15100
|
+
if (!ur(e, r, n))
|
|
15101
15101
|
return;
|
|
15102
15102
|
const a = this.processDataTypeDefinition(
|
|
15103
15103
|
r,
|
|
@@ -15107,11 +15107,11 @@ var kC = class extends E {
|
|
|
15107
15107
|
);
|
|
15108
15108
|
if (!a)
|
|
15109
15109
|
return;
|
|
15110
|
-
s =
|
|
15110
|
+
s = cr(a, e);
|
|
15111
15111
|
}
|
|
15112
15112
|
return {
|
|
15113
15113
|
...s,
|
|
15114
|
-
groupSafeValueFormatter:
|
|
15114
|
+
groupSafeValueFormatter: hr(s, this.gos)
|
|
15115
15115
|
};
|
|
15116
15116
|
}
|
|
15117
15117
|
updateColDefAndGetColumnType(e, t, o) {
|
|
@@ -15368,7 +15368,7 @@ var kC = class extends E {
|
|
|
15368
15368
|
this.dataTypeDefinitions = {}, this.dataTypeMatchers = {}, this.formatValueFuncs = {}, this.columnStateUpdatesPendingInference = {}, this.destroyColumnStateUpdateListeners(), super.destroy();
|
|
15369
15369
|
}
|
|
15370
15370
|
};
|
|
15371
|
-
function
|
|
15371
|
+
function cr(e, t) {
|
|
15372
15372
|
const o = {
|
|
15373
15373
|
...e,
|
|
15374
15374
|
...t
|
|
@@ -15378,10 +15378,10 @@ function dr(e, t) {
|
|
|
15378
15378
|
...ci(t.columnTypes)
|
|
15379
15379
|
]), o;
|
|
15380
15380
|
}
|
|
15381
|
-
function
|
|
15381
|
+
function ur(e, t, o) {
|
|
15382
15382
|
return t ? t.baseDataType !== e.baseDataType ? (A(46), !1) : !0 : (A(45, { parentCellDataType: o }), !1);
|
|
15383
15383
|
}
|
|
15384
|
-
function
|
|
15384
|
+
function hr(e, t) {
|
|
15385
15385
|
if (e.valueFormatter)
|
|
15386
15386
|
return (o) => {
|
|
15387
15387
|
var i, s;
|
|
@@ -15432,7 +15432,7 @@ function ns(e, t) {
|
|
|
15432
15432
|
);
|
|
15433
15433
|
}
|
|
15434
15434
|
function BC(e, t) {
|
|
15435
|
-
const o =
|
|
15435
|
+
const o = La(e);
|
|
15436
15436
|
return t.forEach((i) => {
|
|
15437
15437
|
delete o[i], i === "rowGroup" ? delete o.rowGroupIndex : i === "pivot" && delete o.pivotIndex;
|
|
15438
15438
|
}), o;
|
|
@@ -15446,7 +15446,7 @@ var VC = {
|
|
|
15446
15446
|
moduleName: "ColumnFlex",
|
|
15447
15447
|
version: k,
|
|
15448
15448
|
beans: [LC]
|
|
15449
|
-
},
|
|
15449
|
+
}, xl = {
|
|
15450
15450
|
moduleName: "ColumnApi",
|
|
15451
15451
|
version: k,
|
|
15452
15452
|
beans: [kC],
|
|
@@ -15817,7 +15817,7 @@ var UC = class extends E {
|
|
|
15817
15817
|
}, ZC = (
|
|
15818
15818
|
/*css*/
|
|
15819
15819
|
':where(.ag-root-wrapper,.ag-popup,.ag-dnd-ghost,.ag-chart),:where(.ag-root-wrapper,.ag-popup,.ag-dnd-ghost,.ag-chart) :where([class^=ag-]){box-sizing:border-box;&:after,&:before{box-sizing:border-box}&:where(div,span,label):focus-visible{box-shadow:inset var(--ag-focus-shadow);outline:none;&:where(.invalid){box-shadow:inset var(--ag-focus-error-shadow)}}&:where(button){color:inherit}}:where(.ag-root-wrapper,.ag-popup,.ag-dnd-ghost,.ag-chart) :where([class^=ag-]) ::-ms-clear{display:none}.ag-aria-description-container{border:0;z-index:9999;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-unselectable{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ag-selectable{-webkit-user-select:text;-moz-user-select:text;user-select:text}.ag-tab-guard{display:block;height:0;position:absolute;width:0}:where(.ag-virtual-list-viewport) .ag-tab-guard{position:sticky}.ag-tab-guard-top{top:1px}.ag-tab-guard-bottom{bottom:1px}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-bottom-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{flex:1 1 auto;height:100%;min-width:0;overflow:hidden;position:relative}.ag-viewport{position:relative}.ag-spanning-container{position:absolute;top:0;z-index:1}.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-bottom-viewport,.ag-sticky-top-viewport{overflow-x:auto;-ms-overflow-style:none!important;scrollbar-width:none!important;&::-webkit-scrollbar{display:none!important}}.ag-body-viewport{display:flex;overflow-x:hidden;&:where(.ag-layout-normal){overflow-y:auto;-webkit-overflow-scrolling:touch}}.ag-floating-bottom-container,.ag-floating-top-container,.ag-sticky-bottom-container,.ag-sticky-top-container{min-height:1px}.ag-center-cols-viewport{min-height:100%;width:100%}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-body-vertical-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-bottom-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-pinned-left-floating-bottom,.ag-pinned-left-floating-top,.ag-pinned-right-floating-bottom,.ag-pinned-right-floating-top,.ag-sticky-bottom-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-body-vertical-scroll-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-bottom-full-width-container,.ag-sticky-top-full-width-container{pointer-events:none;position:absolute;top:0}:where(.ag-ltr) .ag-floating-bottom-full-width-container,:where(.ag-ltr) .ag-floating-top-full-width-container,:where(.ag-ltr) .ag-full-width-container,:where(.ag-ltr) .ag-sticky-bottom-full-width-container,:where(.ag-ltr) .ag-sticky-top-full-width-container{left:0}:where(.ag-rtl) .ag-floating-bottom-full-width-container,:where(.ag-rtl) .ag-floating-top-full-width-container,:where(.ag-rtl) .ag-full-width-container,:where(.ag-rtl) .ag-sticky-bottom-full-width-container,:where(.ag-rtl) .ag-sticky-top-full-width-container{right:0}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;height:100%;overflow:hidden;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-body{display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0;position:relative}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{display:flex;min-height:0;min-width:0;position:relative;&:where(.ag-scrollbar-invisible){bottom:0;position:absolute;&:where(.ag-apple-scrollbar){opacity:0;transition:opacity .4s;visibility:hidden;&:where(.ag-scrollbar-scrolling,.ag-scrollbar-active){opacity:1;visibility:visible}}}}.ag-body-horizontal-scroll{width:100%;&:where(.ag-scrollbar-invisible){left:0;right:0}}.ag-body-vertical-scroll{height:100%;&:where(.ag-scrollbar-invisible){top:0;z-index:10}}:where(.ag-ltr) .ag-body-vertical-scroll{&:where(.ag-scrollbar-invisible){right:0}}:where(.ag-rtl) .ag-body-vertical-scroll{&:where(.ag-scrollbar-invisible){left:0}}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll;&:where(.ag-scroller-corner){overflow-x:hidden}}:where(.ag-row-animation) .ag-row{transition:transform .4s,top .4s,opacity .2s;&:where(.ag-after-created){transition:transform .4s,top .4s,height .4s,opacity .2s}}:where(.ag-row-animation.ag-prevent-animation) .ag-row{transition:none!important;&:where(.ag-row.ag-after-created){transition:none!important}}:where(.ag-row-no-animation) .ag-row{transition:none}.ag-row-loading{align-items:center;display:flex}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{align-items:center;display:flex}.ag-cell{display:inline-block;height:100%;position:absolute;white-space:nowrap;&:focus-visible{box-shadow:none}}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-word}:where(.ag-cell) .ag-icon{display:inline-block;vertical-align:middle}.ag-floating-top{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}:where(.ag-floating-top:not(.ag-invisible)){border-bottom:var(--ag-pinned-row-border)}.ag-floating-bottom{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}:where(.ag-floating-bottom:not(.ag-invisible)){border-top:var(--ag-pinned-row-border)}.ag-sticky-bottom,.ag-sticky-top{background-color:var(--ag-background-color);display:flex;height:0;overflow:hidden;position:absolute;width:100%;z-index:1}.ag-opacity-zero{opacity:0!important}.ag-cell-label-container{align-items:center;display:flex;flex-direction:row-reverse;height:100%;justify-content:space-between;width:100%}:where(.ag-right-aligned-header){.ag-cell-label-container{flex-direction:row}.ag-header-cell-text{text-align:end}}.ag-column-group-icons{display:block;>*{cursor:pointer}}:where(.ag-ltr){direction:ltr;.ag-body,.ag-body-horizontal-scroll,.ag-body-viewport,.ag-floating-bottom,.ag-floating-top,.ag-header,.ag-sticky-bottom,.ag-sticky-top{flex-direction:row}}:where(.ag-rtl){direction:rtl;text-align:right;.ag-body,.ag-body-horizontal-scroll,.ag-body-viewport,.ag-floating-bottom,.ag-floating-top,.ag-header,.ag-sticky-bottom,.ag-sticky-top{flex-direction:row-reverse}.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{display:block}}:where(.ag-rtl){.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{transform:rotate(180deg)}}:where(.ag-rtl){.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{transform:rotate(-180deg)}}.ag-measurement-container{height:0;overflow:hidden;visibility:hidden;width:0}.ag-measurement-element-border{display:inline-block;&:before{border-left:var(--ag-internal-measurement-border);content:"";display:block}}.ag-group{position:relative;width:100%}.ag-group-title-bar{align-items:center;display:flex;padding:var(--ag-spacing)}.ag-group-title{display:inline;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.ag-group-title-bar) .ag-group-title{cursor:default}.ag-group-toolbar{align-items:center;display:flex;padding:var(--ag-spacing)}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.ag-group-container-horizontal{flex-flow:row wrap}.ag-group-container-vertical{flex-direction:column}.ag-group-title-bar-icon{cursor:pointer;flex:none}:where(.ag-ltr) .ag-group-title-bar-icon{margin-right:var(--ag-spacing)}:where(.ag-rtl) .ag-group-title-bar-icon{margin-left:var(--ag-spacing)}:where(.ag-group-item-alignment-stretch) .ag-group-item{align-items:stretch}:where(.ag-group-item-alignment-start) .ag-group-item{align-items:flex-start}:where(.ag-group-item-alignment-end) .ag-group-item{align-items:flex-end}.ag-popup-child{top:0;z-index:5;&:where(:not(.ag-tooltip-custom)){box-shadow:var(--ag-popup-shadow)}}.ag-popup-editor{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ag-large-text-input{display:block}:where(.ag-ltr) .ag-row:not(.ag-row-level-0) .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}:where(.ag-rtl) .ag-row:not(.ag-row-level-0) .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}:where(.ag-ltr) .ag-row-group-leaf-indent{margin-left:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size))}:where(.ag-rtl) .ag-row-group-leaf-indent{margin-right:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size))}.ag-value-change-delta{padding:0 2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color .1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row,.ag-spanned-row{color:var(--ag-cell-text-color);font-family:var(--ag-cell-font-family);font-size:var(--ag-data-font-size);white-space:nowrap;--ag-internal-content-line-height:calc(min(var(--ag-row-height), var(--ag-line-height, 1000px)) - var(--ag-internal-row-border-width, 1px) - 2px)}.ag-row{background-color:var(--ag-background-color);border-bottom:var(--ag-row-border);height:var(--ag-row-height);width:100%;&.ag-row-editing-invalid{background-color:var(--ag-full-row-edit-invalid-background-color)}}:where(.ag-body-vertical-content-no-gap>div>div>div,.ag-body-vertical-content-no-gap>div>div>div>div)>.ag-row-last{border-bottom-color:transparent}.ag-sticky-bottom{border-top:var(--ag-row-border);box-sizing:content-box!important}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{border:1px solid transparent;line-height:var(--ag-internal-content-line-height);-webkit-font-smoothing:subpixel-antialiased}:where(.ag-ltr) .ag-cell{border-right:var(--ag-column-border)}:where(.ag-rtl) .ag-cell{border-left:var(--ag-column-border)}.ag-spanned-cell-wrapper{background-color:var(--ag-background-color);position:absolute}.ag-spanned-cell-wrapper>.ag-spanned-cell{display:block;position:relative}:where(.ag-ltr) :where(.ag-body-horizontal-content-no-gap) .ag-column-last{border-right-color:transparent}:where(.ag-rtl) :where(.ag-body-horizontal-content-no-gap) .ag-column-last{border-left-color:transparent}.ag-cell-wrapper{align-items:center;display:flex;>:where(:not(.ag-cell-value,.ag-group-value)){align-items:center;display:flex;height:var(--ag-internal-content-line-height)}&:where(.ag-row-group){align-items:flex-start}:where(.ag-full-width-row) &:where(.ag-row-group){align-items:center;height:100%}}:where(.ag-ltr) .ag-cell-wrapper{padding-left:calc(var(--ag-indentation-level)*var(--ag-row-group-indent-size))}:where(.ag-rtl) .ag-cell-wrapper{padding-right:calc(var(--ag-indentation-level)*var(--ag-row-group-indent-size))}:where(.ag-cell-wrap-text:not(.ag-cell-auto-height)) .ag-cell-wrapper{align-items:normal;height:100%;:where(.ag-cell-value){height:100%}}:where(.ag-ltr) .ag-row>.ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}:where(.ag-rtl) .ag-row>.ag-cell-wrapper.ag-row-group{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}.ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-cell-range-single-cell,.ag-cell-range-single-cell.ag-cell-range-handle,.ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-context-menu-open .ag-full-width-row.ag-row-focus .ag-cell-wrapper.ag-row-group,.ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border:1px solid;border-color:var(--ag-range-selection-border-color);border-style:var(--ag-range-selection-border-style);outline:initial}.ag-full-width-row.ag-row-focus:focus{box-shadow:none}:where(.ag-ltr) .ag-group-contracted,:where(.ag-ltr) .ag-group-expanded,:where(.ag-ltr) .ag-row-drag,:where(.ag-ltr) .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}:where(.ag-rtl) .ag-group-contracted,:where(.ag-rtl) .ag-group-expanded,:where(.ag-rtl) .ag-row-drag,:where(.ag-rtl) .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}:where(.ag-ltr) .ag-group-child-count{margin-left:3px}:where(.ag-rtl) .ag-group-child-count{margin-right:3px}.ag-row-highlight-above:after,.ag-row-highlight-below:after,.ag-row-highlight-inside:after{background-color:var(--ag-range-selection-border-color);content:"";height:1px;pointer-events:none;position:absolute;width:calc(100% - 1px)}:where(.ag-ltr) .ag-row-highlight-above:after,:where(.ag-ltr) .ag-row-highlight-below:after,:where(.ag-ltr) .ag-row-highlight-inside:after{left:1px}:where(.ag-rtl) .ag-row-highlight-above:after,:where(.ag-rtl) .ag-row-highlight-below:after,:where(.ag-rtl) .ag-row-highlight-inside:after{right:1px}.ag-row-highlight-above:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-highlight-indent:after{display:block;width:auto}:where(.ag-ltr) .ag-row-highlight-indent:after{left:calc((var(--ag-cell-widget-spacing) + var(--ag-icon-size))*2 + var(--ag-cell-horizontal-padding) + var(--ag-row-highlight-level)*var(--ag-row-group-indent-size));right:1px}:where(.ag-rtl) .ag-row-highlight-indent:after{left:1px;right:calc((var(--ag-cell-widget-spacing) + var(--ag-icon-size))*2 + var(--ag-cell-horizontal-padding) + var(--ag-row-highlight-level)*var(--ag-row-group-indent-size))}.ag-row-highlight-inside:after{background-color:var(--ag-selected-row-background-color);border:1px solid var(--ag-range-selection-border-color);display:block;height:auto;inset:0;width:auto}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-row-selected:before{background-color:var(--ag-selected-row-background-color);content:"";display:block;inset:0;pointer-events:none;position:absolute}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{background-color:var(--ag-row-hover-color);content:"";display:block;inset:0;pointer-events:none;position:absolute}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-row.ag-full-width-row.ag-row-group>*{position:relative}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-header-range-highlight{background-color:var(--ag-range-header-highlight-color)}.ag-right-aligned-cell{font-variant-numeric:tabular-nums}:where(.ag-ltr) .ag-right-aligned-cell{text-align:right}:where(.ag-rtl) .ag-right-aligned-cell{text-align:left}.ag-right-aligned-cell .ag-cell-value,.ag-right-aligned-cell .ag-group-value{margin-left:auto}:where(.ag-ltr) .ag-cell:not(.ag-cell-inline-editing),:where(.ag-ltr) .ag-full-width-row .ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px + var(--ag-row-group-indent-size)*var(--ag-indentation-level));padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}:where(.ag-rtl) .ag-cell:not(.ag-cell-inline-editing),:where(.ag-rtl) .ag-full-width-row .ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:.5}.ag-details-row{background-color:var(--ag-background-color);padding:calc(var(--ag-spacing)*3.75)}.ag-layout-auto-height,.ag-layout-print{.ag-center-cols-container,.ag-center-cols-viewport{min-height:150px}}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-skeleton-container{align-content:center;height:100%;width:100%}.ag-skeleton-effect{animation:ag-skeleton-loading 1.5s ease-in-out .5s infinite;background-color:var(--ag-row-loading-skeleton-effect-color);border-radius:.25rem;height:1em;width:100%}:where(.ag-ltr) .ag-right-aligned-cell .ag-skeleton-effect{margin-left:auto}:where(.ag-rtl) .ag-right-aligned-cell .ag-skeleton-effect{margin-right:auto}@keyframes ag-skeleton-loading{0%{background-color:var(--ag-row-loading-skeleton-effect-color)}50%{background-color:color-mix(in srgb,transparent,var(--ag-row-loading-skeleton-effect-color) 40%)}to{background-color:var(--ag-row-loading-skeleton-effect-color)}}.ag-loading{align-items:center;display:flex;height:100%}:where(.ag-ltr) .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}:where(.ag-ltr) .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}:where(.ag-rtl) .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-duration:1s;animation-iteration-count:infinite;animation-name:spin;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-input-wrapper,.ag-picker-field-wrapper{align-items:center;display:flex;flex:1 1 auto;line-height:normal;position:relative}.ag-input-field{align-items:center;display:flex;flex-direction:row}.ag-input-field-input:where(:not([type=checkbox],[type=radio])){flex:1 1 auto;min-width:0;width:100%}.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-header-row-border);color:var(--ag-header-text-color);display:flex;font-family:var(--ag-header-font-family);font-size:var(--ag-header-font-size);font-weight:var(--ag-header-font-weight);overflow:hidden;white-space:nowrap;width:100%}.ag-header-row{height:var(--ag-header-height);position:absolute}.ag-floating-filter-button-button,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-header-expand-icon,.ag-panel-title-bar-button,:where(.ag-header-cell-sortable) .ag-header-cell-label{cursor:pointer}:where(.ag-ltr) .ag-header-expand-icon{margin-left:4px}:where(.ag-rtl) .ag-header-expand-icon{margin-right:4px}.ag-header-row:where(:not(:first-child)){:where(.ag-header-cell:not(.ag-header-span-height.ag-header-span-total,.ag-header-parent-hidden),.ag-header-group-cell.ag-header-group-cell-with-group){border-top:var(--ag-header-row-border)}}.ag-header-row:where(:not(.ag-header-row-column-group)){overflow:hidden}:where(.ag-header.ag-header-allow-overflow) .ag-header-row{overflow:visible}.ag-header-cell{display:inline-flex;overflow:hidden}.ag-header-group-cell{contain:paint;display:flex}.ag-header-cell,.ag-header-group-cell{align-items:center;gap:var(--ag-cell-widget-spacing);height:100%;padding:0 var(--ag-cell-horizontal-padding);position:absolute}@property --ag-internal-moving-color{syntax:"<color>";inherits:false;initial-value:transparent}@property --ag-internal-hover-color{syntax:"<color>";inherits:false;initial-value:transparent}.ag-header-cell:where(:not(.ag-floating-filter)),.ag-header-group-cell{&:before{background-image:linear-gradient(var(--ag-internal-hover-color),var(--ag-internal-hover-color)),linear-gradient(var(--ag-internal-moving-color),var(--ag-internal-moving-color));content:"";inset:0;position:absolute;--ag-internal-moving-color:transparent;--ag-internal-hover-color:transparent;transition:--ag-internal-moving-color var(--ag-header-cell-background-transition-duration),--ag-internal-hover-color var(--ag-header-cell-background-transition-duration)}&:where(:hover):before{--ag-internal-hover-color:var(--ag-header-cell-hover-background-color)}&:where(.ag-header-cell-moving):before{--ag-internal-moving-color:var(--ag-header-cell-moving-background-color);--ag-internal-hover-color:var(--ag-header-cell-hover-background-color)}}:where(.ag-header-cell:not(.ag-floating-filter) *,.ag-header-group-cell *){position:relative;z-index:1}.ag-header-cell-menu-button:where(:not(.ag-header-menu-always-show)){opacity:0;transition:opacity .2s}.ag-header-cell-filter-button,:where(.ag-header-cell.ag-header-active) .ag-header-cell-menu-button{opacity:1}.ag-header-cell-label,.ag-header-group-cell-label{align-items:center;align-self:stretch;display:flex;flex:1 1 auto;overflow:hidden;padding:5px 0}:where(.ag-ltr) .ag-sort-indicator-icon{padding-left:var(--ag-spacing)}:where(.ag-rtl) .ag-sort-indicator-icon{padding-right:var(--ag-spacing)}.ag-header-cell-label{text-overflow:ellipsis}.ag-header-group-cell-label.ag-sticky-label{flex:none;max-width:100%;overflow:visible;position:sticky}:where(.ag-ltr) .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-header-cell-text,.ag-header-group-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell-text{word-break:break-word}.ag-header-cell-comp-wrapper{width:100%}:where(.ag-header-group-cell) .ag-header-cell-comp-wrapper{display:flex}:where(.ag-header-cell:not(.ag-header-cell-auto-height)) .ag-header-cell-comp-wrapper{align-items:center;display:flex;height:100%}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-header-cell-comp-wrapper-limited-height>*{overflow:hidden}:where(.ag-right-aligned-header) .ag-header-cell-label{flex-direction:row-reverse}:where(.ag-ltr) :where(.ag-header-cell:not(.ag-right-aligned-header)){.ag-header-label-icon,.ag-header-menu-icon{margin-left:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-header-cell:not(.ag-right-aligned-header)){.ag-header-label-icon,.ag-header-menu-icon{margin-right:var(--ag-spacing)}}:where(.ag-ltr) :where(.ag-header-cell.ag-right-aligned-header){.ag-header-label-icon,.ag-header-menu-icon{margin-right:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-header-cell.ag-right-aligned-header){.ag-header-label-icon,.ag-header-menu-icon{margin-left:var(--ag-spacing)}}.ag-header-cell:after,.ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{content:"";height:var(--ag-header-column-border-height);position:absolute;top:calc(50% - var(--ag-header-column-border-height)*.5);z-index:1}:where(.ag-ltr) .ag-header-cell:after,:where(.ag-ltr) .ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{border-right:var(--ag-header-column-border);right:0}:where(.ag-rtl) .ag-header-cell:after,:where(.ag-rtl) .ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{border-left:var(--ag-header-column-border);left:0}.ag-header-highlight-after:after,.ag-header-highlight-before:after{background-color:var(--ag-accent-color);content:"";height:100%;position:absolute;width:1px}:where(.ag-ltr) .ag-header-highlight-before:after{left:0}:where(.ag-rtl) .ag-header-highlight-before:after{right:0}:where(.ag-ltr) .ag-header-highlight-after:after{right:0;:where(.ag-pinned-left-header) &{right:1px}}:where(.ag-rtl) .ag-header-highlight-after:after{left:0;:where(.ag-pinned-left-header) &{left:1px}}.ag-header-cell-resize{align-items:center;cursor:ew-resize;display:flex;height:100%;position:absolute;top:0;width:8px;z-index:2;&:after{background-color:var(--ag-header-column-resize-handle-color);content:"";height:var(--ag-header-column-resize-handle-height);position:absolute;top:calc(50% - var(--ag-header-column-resize-handle-height)*.5);width:var(--ag-header-column-resize-handle-width);z-index:1}}:where(.ag-ltr) .ag-header-cell-resize{right:-3px;&:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}}:where(.ag-rtl) .ag-header-cell-resize{left:-3px;&:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}}:where(.ag-header-cell.ag-header-span-height) .ag-header-cell-resize:after{height:calc(100% - var(--ag-spacing)*4);top:calc(var(--ag-spacing)*2)}.ag-header-group-cell-no-group:where(.ag-header-span-height){display:none}.ag-sort-indicator-container{display:flex;gap:var(--ag-spacing)}.ag-layout-print{&.ag-body{display:block;height:unset}&.ag-root-wrapper{display:inline-block}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{display:none}&.ag-force-vertical-scroll{overflow-y:visible!important}}@media print{.ag-root-wrapper.ag-layout-print{display:table;.ag-body-horizontal-scroll-viewport,.ag-body-viewport,.ag-center-cols-container,.ag-center-cols-viewport,.ag-root,.ag-root-wrapper-body,.ag-virtual-list-viewport{display:block!important;height:auto!important;overflow:hidden!important}.ag-cell,.ag-row{-moz-column-break-inside:avoid;break-inside:avoid}}}ag-grid,ag-grid-angular{display:block}.ag-chart,.ag-dnd-ghost,.ag-popup,.ag-root-wrapper{cursor:default;line-height:normal;white-space:normal;-webkit-font-smoothing:antialiased;background-color:var(--ag-background-color);color:var(--ag-text-color);color-scheme:var(--ag-browser-color-scheme);font-family:var(--ag-font-family);font-size:var(--ag-font-size);--ag-indentation-level:0}.ag-root-wrapper{border:var(--ag-wrapper-border);border-radius:var(--ag-wrapper-border-radius);display:flex;flex-direction:column;overflow:hidden;position:relative;&.ag-layout-normal{height:100%}}.ag-root-wrapper-body{display:flex;flex-direction:row;&.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}}.ag-root{display:flex;flex-direction:column;position:relative;&.ag-layout-auto-height,&.ag-layout-normal{flex:1 1 auto;overflow:hidden;width:0}&.ag-layout-normal{height:100%}}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-virtual-list-item{position:absolute;width:100%}.ag-select-list{background-color:var(--ag-picker-list-background-color);border:var(--ag-picker-list-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);overflow:hidden auto}.ag-list-item{align-items:center;display:flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;&.ag-active-item{background-color:var(--ag-row-hover-color)}}.ag-select-list-item{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;:where(span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}:where(.ag-ltr) .ag-select-list-item{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}:where(.ag-rtl) .ag-select-list-item{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-list-item-hovered:after{background-color:var(--ag-accent-color);content:"";height:1px;left:0;position:absolute;right:0}.ag-item-highlight-top:after{top:0}.ag-item-highlight-bottom:after{bottom:0}:where(.ag-icon):before{align-items:center;background-color:currentcolor;color:inherit;content:"";display:flex;font-family:inherit;font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;height:var(--ag-icon-size);justify-content:center;line-height:var(--ag-icon-size);-webkit-mask-size:contain;mask-size:contain;text-transform:none;width:var(--ag-icon-size)}.ag-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;color:var(--ag-icon-color);display:block;height:var(--ag-icon-size);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--ag-icon-size)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly,.ag-disabled,[disabled]{.ag-icon{opacity:.5}&.ag-icon-grip{opacity:.35}}.ag-column-select-column-readonly{&.ag-icon-grip,.ag-icon-grip{opacity:.35}}.ag-drag-handle{color:var(--ag-drag-handle-color);cursor:grab;:where(.ag-icon){color:var(--ag-drag-handle-color)}}.ag-chart-menu-icon,.ag-chart-settings-next,.ag-chart-settings-prev,.ag-column-group-icons,.ag-column-select-header-icon,.ag-filter-toolpanel-expand,.ag-floating-filter-button-button,.ag-group-title-bar-icon,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-header-expand-icon,.ag-panel-title-bar-button,.ag-panel-title-bar-button-icon,.ag-set-filter-group-icons,:where(.ag-group-contracted) .ag-icon,:where(.ag-group-expanded) .ag-icon{background-color:var(--ag-icon-button-background-color);border-radius:var(--ag-icon-button-border-radius);box-shadow:0 0 0 var(--ag-icon-button-background-spread) var(--ag-icon-button-background-color);color:var(--ag-icon-button-color);&:hover{background-color:var(--ag-icon-button-hover-background-color);box-shadow:0 0 0 var(--ag-icon-button-background-spread) var(--ag-icon-button-hover-background-color);color:var(--ag-icon-button-hover-color)}}.ag-filter-active{background-image:linear-gradient(var(--ag-icon-button-active-background-color),var(--ag-icon-button-active-background-color));border-radius:1px;outline:solid var(--ag-icon-button-background-spread) var(--ag-icon-button-active-background-color);position:relative;&:after{background-color:var(--ag-icon-button-active-indicator-color);border-radius:50%;content:"";height:6px;position:absolute;top:-1px;width:6px}:where(.ag-icon-filter){clip-path:path("M8,0C8,4.415 11.585,8 16,8L16,16L0,16L0,0L8,0Z");color:var(--ag-icon-button-active-color)}}:where(.ag-ltr) .ag-filter-active{&:after{right:-1px}}:where(.ag-rtl) .ag-filter-active{&:after{left:-1px}}.ag-menu{background-color:var(--ag-menu-background-color);border:var(--ag-menu-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-menu-shadow);color:var(--ag-menu-text-color);max-height:100%;overflow-y:auto}.ag-menu,.ag-resizer{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ag-resizer{pointer-events:none;z-index:1}:where(.ag-resizer){&.ag-resizer-topLeft{cursor:nwse-resize;height:5px;left:0;top:0;width:5px}&.ag-resizer-top{cursor:ns-resize;height:5px;left:5px;right:5px;top:0}&.ag-resizer-topRight{cursor:nesw-resize;height:5px;right:0;top:0;width:5px}&.ag-resizer-right{bottom:5px;cursor:ew-resize;right:0;top:5px;width:5px}&.ag-resizer-bottomRight{bottom:0;cursor:nwse-resize;height:5px;right:0;width:5px}&.ag-resizer-bottom{bottom:0;cursor:ns-resize;height:5px;left:5px;right:5px}&.ag-resizer-bottomLeft{bottom:0;cursor:nesw-resize;height:5px;left:0;width:5px}&.ag-resizer-left{bottom:5px;cursor:ew-resize;left:0;top:5px;width:5px}}'
|
|
15820
|
-
),
|
|
15820
|
+
), kr, Lr, Sn = typeof window != "object" || !((Lr = (kr = window == null ? void 0 : window.document) == null ? void 0 : kr.fonts) != null && Lr.forEach), Ht = (e, t, o, i, s, n) => {
|
|
15821
15821
|
if (Sn)
|
|
15822
15822
|
return;
|
|
15823
15823
|
i && (e = `@layer ${CSS.escape(i)} { ${e} }`);
|
|
@@ -15839,7 +15839,7 @@ var UC = class extends E {
|
|
|
15839
15839
|
r.splice(c + 1, 0, l);
|
|
15840
15840
|
} else
|
|
15841
15841
|
t.insertBefore(a, t.querySelector(":not(title, meta)")), r.push(l);
|
|
15842
|
-
},
|
|
15842
|
+
}, Dl = (e, t, o) => {
|
|
15843
15843
|
Ht(ZC, e, "core", t, 0, o), Array.from(Ju()).sort((i, s) => i.moduleName.localeCompare(s.moduleName)).forEach(
|
|
15844
15844
|
(i) => {
|
|
15845
15845
|
var s;
|
|
@@ -15856,10 +15856,10 @@ var UC = class extends E {
|
|
|
15856
15856
|
for (const t of document.head.querySelectorAll("style[data-ag-global-css]"))
|
|
15857
15857
|
t.remove();
|
|
15858
15858
|
}
|
|
15859
|
-
},
|
|
15859
|
+
}, gr, Tt = (gr = typeof window == "object" ? window : {}).agStyleInjectionState ?? (gr.agStyleInjectionState = {
|
|
15860
15860
|
map: /* @__PURE__ */ new WeakMap(),
|
|
15861
15861
|
grids: /* @__PURE__ */ new Set()
|
|
15862
|
-
}), Pe = (e) => new
|
|
15862
|
+
}), Pe = (e) => new Fl(e), Ve = "$default", JC = 0, Fl = class {
|
|
15863
15863
|
constructor({ feature: e, params: t, modeParams: o = {}, css: i, cssImports: s }) {
|
|
15864
15864
|
this.feature = e, this.css = i, this.cssImports = s, this.modeParams = {
|
|
15865
15865
|
// NOTE: it's important that default is defined first, putting it
|
|
@@ -15894,7 +15894,7 @@ ${s}`;
|
|
|
15894
15894
|
}
|
|
15895
15895
|
return i && e && Ht(i.css, e, i.class, t, 1, o), i ? i.class : !1;
|
|
15896
15896
|
}
|
|
15897
|
-
}, em = (e) => e.replace(/[A-Z]/g, (t) => `-${t}`).toLowerCase(),
|
|
15897
|
+
}, em = (e) => e.replace(/[A-Z]/g, (t) => `-${t}`).toLowerCase(), Pl = (e) => `--ag-${em(e)}`, Te = (e) => `var(${Pl(e)})`, tm = (e, t, o) => Math.max(t, Math.min(o, e)), om = (e) => {
|
|
15898
15898
|
const t = /* @__PURE__ */ new Map();
|
|
15899
15899
|
return (o) => {
|
|
15900
15900
|
const i = o;
|
|
@@ -16230,7 +16230,7 @@ ${s}`;
|
|
|
16230
16230
|
}, nm = (
|
|
16231
16231
|
/*css*/
|
|
16232
16232
|
".ag-cell-batch-edit{background-color:var(--ag-cell-batch-edit-background-color);color:var(--ag-cell-batch-edit-text-color);display:inherit}.ag-row-batch-edit{background-color:var(--ag-row-batch-edit-background-color);color:var(--ag-row-batch-edit-text-color)}"
|
|
16233
|
-
),
|
|
16233
|
+
), Tl = {
|
|
16234
16234
|
cellBatchEditBackgroundColor: "rgba(220 181 139 / 16%)",
|
|
16235
16235
|
cellBatchEditTextColor: "#422f00",
|
|
16236
16236
|
rowBatchEditBackgroundColor: {
|
|
@@ -16240,11 +16240,11 @@ ${s}`;
|
|
|
16240
16240
|
ref: "cellBatchEditTextColor"
|
|
16241
16241
|
}
|
|
16242
16242
|
}, rm = {
|
|
16243
|
-
...
|
|
16243
|
+
...Tl,
|
|
16244
16244
|
cellBatchEditTextColor: "#f3d0b3"
|
|
16245
16245
|
}, am = () => Pe({
|
|
16246
16246
|
feature: "batchEditStyle",
|
|
16247
|
-
params:
|
|
16247
|
+
params: Tl,
|
|
16248
16248
|
css: nm
|
|
16249
16249
|
}), lm = /* @__PURE__ */ am(), dm = (
|
|
16250
16250
|
/*css*/
|
|
@@ -16282,7 +16282,7 @@ ${s}`;
|
|
|
16282
16282
|
), pm = () => Pe({
|
|
16283
16283
|
feature: "columnDropStyle",
|
|
16284
16284
|
css: gm
|
|
16285
|
-
}),
|
|
16285
|
+
}), Il = /* @__PURE__ */ pm(), fm = [
|
|
16286
16286
|
"colorScheme",
|
|
16287
16287
|
"color",
|
|
16288
16288
|
"length",
|
|
@@ -16302,38 +16302,38 @@ ${s}`;
|
|
|
16302
16302
|
return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? Te(e.onto) : "transparent"}, ${t} ${tm(e.mix * 100, 0, 100)}%)`;
|
|
16303
16303
|
}
|
|
16304
16304
|
return !1;
|
|
16305
|
-
}, mm = Ai, mt = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (o) => o[0] === "-" ? o : ` ${Te(o)} `)})` : e && "ref" in e ? Te(e.ref) : !1, wm = Ai, Ws = (e, t) => typeof e == "string" ? e : e === !0 ? Ws({}, t) : e === !1 ? t === "columnBorder" ? Ws({ color: "transparent" }, t) : "none" : e && "ref" in e ? Te(e.ref) :
|
|
16305
|
+
}, mm = Ai, mt = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (o) => o[0] === "-" ? o : ` ${Te(o)} `)})` : e && "ref" in e ? Te(e.ref) : !1, wm = Ai, Ws = (e, t) => typeof e == "string" ? e : e === !0 ? Ws({}, t) : e === !1 ? t === "columnBorder" ? Ws({ color: "transparent" }, t) : "none" : e && "ref" in e ? Te(e.ref) : Al(e.style ?? "solid") + " " + mt(e.width ?? { ref: "borderWidth" }) + " " + bn(e.color ?? { ref: "borderColor" }), vm = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? Te(e.ref) : [
|
|
16306
16306
|
mt(e.offsetX ?? 0),
|
|
16307
16307
|
mt(e.offsetY ?? 0),
|
|
16308
16308
|
mt(e.radius ?? 0),
|
|
16309
16309
|
mt(e.spread ?? 0),
|
|
16310
16310
|
bn(e.color ?? { ref: "foregroundColor" })
|
|
16311
|
-
].join(" "),
|
|
16311
|
+
].join(" "), Al = Ai, Ml = (e) => typeof e == "string" ? e.includes(",") ? e : pr(e) : e && "googleFont" in e ? Ml(e.googleFont) : e && "ref" in e ? Te(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), pr(t))).join(", ") : !1, pr = (e) => (
|
|
16312
16312
|
// don't quote var() expressions or quote safe identifier names, so that
|
|
16313
16313
|
// people can specify fonts like sans-serif which are keywords not strings,
|
|
16314
16314
|
// or var(--my-var)
|
|
16315
16315
|
/^[\w-]+$|\w\(/.test(e) ? e : JSON.stringify(e)
|
|
16316
|
-
), Sm = Ai,
|
|
16316
|
+
), Sm = Ai, kl = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? kl({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? Te(e.ref) : !1, bm = (e, t) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && $(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? Te(e.ref) : !1, ym = {
|
|
16317
16317
|
color: bn,
|
|
16318
16318
|
colorScheme: mm,
|
|
16319
16319
|
length: mt,
|
|
16320
16320
|
scale: wm,
|
|
16321
16321
|
border: Ws,
|
|
16322
|
-
borderStyle:
|
|
16322
|
+
borderStyle: Al,
|
|
16323
16323
|
shadow: vm,
|
|
16324
|
-
image:
|
|
16325
|
-
fontFamily:
|
|
16324
|
+
image: kl,
|
|
16325
|
+
fontFamily: Ml,
|
|
16326
16326
|
fontWeight: Sm,
|
|
16327
16327
|
duration: bm
|
|
16328
16328
|
}, Rm = (e, t) => {
|
|
16329
16329
|
const o = Cm(e);
|
|
16330
16330
|
return ym[o](t, e);
|
|
16331
|
-
}, Em = () => new
|
|
16331
|
+
}, Em = () => new Ll().withPart(hm).withPart(Il).withPart(lm), Ll = class Gl {
|
|
16332
16332
|
constructor(t = []) {
|
|
16333
16333
|
this.parts = t;
|
|
16334
16334
|
}
|
|
16335
16335
|
withPart(t) {
|
|
16336
|
-
return typeof t == "function" && (t = t()), t instanceof
|
|
16336
|
+
return typeof t == "function" && (t = t()), t instanceof Fl ? new Gl([...this.parts, t]) : (Zt(259, { part: t }, "Invalid part"), this);
|
|
16337
16337
|
}
|
|
16338
16338
|
withoutPart(t) {
|
|
16339
16339
|
return this.withPart(Pe({ feature: t }));
|
|
@@ -16353,7 +16353,7 @@ ${s}`;
|
|
|
16353
16353
|
_startUse({ styleContainer: t, cssLayer: o, nonce: i, loadThemeGoogleFonts: s }) {
|
|
16354
16354
|
if (Sn)
|
|
16355
16355
|
return;
|
|
16356
|
-
Dm(),
|
|
16356
|
+
Dm(), Dl(t, o, i);
|
|
16357
16357
|
const n = xm(this);
|
|
16358
16358
|
if (n.length > 0)
|
|
16359
16359
|
for (const r of n)
|
|
@@ -16366,7 +16366,7 @@ ${s}`;
|
|
|
16366
16366
|
* the provided class name
|
|
16367
16367
|
*/
|
|
16368
16368
|
_getCssClass() {
|
|
16369
|
-
return this._cssClassCache ?? (this._cssClassCache =
|
|
16369
|
+
return this._cssClassCache ?? (this._cssClassCache = fr(this.parts).map((t) => t.use(void 0, void 0, void 0)).filter(Boolean).join(" "));
|
|
16370
16370
|
}
|
|
16371
16371
|
_getModeParams() {
|
|
16372
16372
|
let t = this._paramsCache;
|
|
@@ -16377,7 +16377,7 @@ ${s}`;
|
|
|
16377
16377
|
// it first in outputted CSS, allowing other modes to override it
|
|
16378
16378
|
[Ve]: { ...sm }
|
|
16379
16379
|
};
|
|
16380
|
-
for (const i of
|
|
16380
|
+
for (const i of fr(this.parts))
|
|
16381
16381
|
for (const s of Object.keys(i.modeParams)) {
|
|
16382
16382
|
const n = i.modeParams[s];
|
|
16383
16383
|
if (n) {
|
|
@@ -16422,9 +16422,9 @@ ${s}`;
|
|
|
16422
16422
|
for (const c of Object.keys(d).sort()) {
|
|
16423
16423
|
const u = d[c], h = Rm(c, u);
|
|
16424
16424
|
if (h === !1)
|
|
16425
|
-
|
|
16425
|
+
$(107, { key: c, value: u });
|
|
16426
16426
|
else {
|
|
16427
|
-
const g =
|
|
16427
|
+
const g = Pl(c), p = g.replace("--ag-", "--ag-inherited-");
|
|
16428
16428
|
s += ` ${g}: var(${p}, ${h});
|
|
16429
16429
|
`, n += ` ${p}: var(${g});
|
|
16430
16430
|
`;
|
|
@@ -16443,7 +16443,7 @@ ${n}}
|
|
|
16443
16443
|
}
|
|
16444
16444
|
return i.replaceAll(o, `:where(.${t})`);
|
|
16445
16445
|
}
|
|
16446
|
-
},
|
|
16446
|
+
}, fr = (e) => {
|
|
16447
16447
|
const t = /* @__PURE__ */ new Map();
|
|
16448
16448
|
for (const i of e)
|
|
16449
16449
|
t.set(i.feature, i);
|
|
@@ -16461,9 +16461,9 @@ ${n}}
|
|
|
16461
16461
|
}
|
|
16462
16462
|
};
|
|
16463
16463
|
return Object.values(e._getModeParams()).flatMap((n) => Object.values(n)).forEach(o), Array.from(t).sort();
|
|
16464
|
-
},
|
|
16465
|
-
if (!
|
|
16466
|
-
|
|
16464
|
+
}, Cr = !1, Dm = () => {
|
|
16465
|
+
if (!Cr) {
|
|
16466
|
+
Cr = !0;
|
|
16467
16467
|
for (const e of Array.from(document.head.querySelectorAll('style[data-ag-scope="legacy"]')))
|
|
16468
16468
|
e.remove();
|
|
16469
16469
|
}
|
|
@@ -16501,7 +16501,7 @@ ${n}}
|
|
|
16501
16501
|
}
|
|
16502
16502
|
},
|
|
16503
16503
|
css: Im
|
|
16504
|
-
}), Mm = /* @__PURE__ */ Am(),
|
|
16504
|
+
}), Mm = /* @__PURE__ */ Am(), Hl = () => ({
|
|
16505
16505
|
...yi,
|
|
16506
16506
|
...rm,
|
|
16507
16507
|
backgroundColor: "hsl(217, 0%, 17%)",
|
|
@@ -16524,17 +16524,17 @@ ${n}}
|
|
|
16524
16524
|
toggleButtonOffBackgroundColor: pe(0.4),
|
|
16525
16525
|
rowBatchEditBackgroundColor: pe(0.1)
|
|
16526
16526
|
}), km = () => ({
|
|
16527
|
-
...
|
|
16527
|
+
...Hl(),
|
|
16528
16528
|
backgroundColor: "#1f2836"
|
|
16529
16529
|
}), Lm = () => Pe({
|
|
16530
16530
|
feature: "colorScheme",
|
|
16531
16531
|
params: yi,
|
|
16532
16532
|
modeParams: {
|
|
16533
16533
|
light: yi,
|
|
16534
|
-
dark:
|
|
16534
|
+
dark: Hl(),
|
|
16535
16535
|
"dark-blue": km()
|
|
16536
16536
|
}
|
|
16537
|
-
}), Gm = /* @__PURE__ */ Lm(),
|
|
16537
|
+
}), Gm = /* @__PURE__ */ Lm(), Ol = {
|
|
16538
16538
|
aggregation: '<path d="M18 7V4H6l6 8-6 8h12v-3"/>',
|
|
16539
16539
|
arrows: '<polyline points="5 9 2 12 5 15"/><polyline points="9 5 12 2 15 5"/><polyline points="15 19 12 22 9 19"/><polyline points="19 9 22 12 19 15"/><line x1="2" x2="22" y1="12" y2="12"/><line x1="12" x2="12" y1="2" y2="22"/>',
|
|
16540
16540
|
asc: '<path d="m5 12 7-7 7 7"/><path d="M12 19V5"/>',
|
|
@@ -16585,7 +16585,7 @@ ${n}}
|
|
|
16585
16585
|
up: '<path d="m5 12 7-7 7 7"/><path d="M12 19V5"/>',
|
|
16586
16586
|
grip: '<circle cx="5" cy="8" r="0.5"/><circle cx="12" cy="8" r="0.5"/><circle cx="19" cy="8" r="0.5"/><circle cx="5" cy="16" r="0.5"/><circle cx="12" cy="16" r="0.5"/><circle cx="19" cy="16" r="0.5"/><g stroke="none" fill="currentColor"><circle cx="5" cy="8" r="1"/><circle cx="12" cy="8" r="1"/><circle cx="19" cy="8" r="1"/><circle cx="5" cy="16" r="1"/><circle cx="12" cy="16" r="1"/><circle cx="19" cy="16" r="1"/></g>',
|
|
16587
16587
|
settings: '<path d="M20 7h-9"/><path d="M14 17H5"/><circle cx="17" cy="17" r="3"/><circle cx="7" cy="7" r="3"/>'
|
|
16588
|
-
},
|
|
16588
|
+
}, Bl = {
|
|
16589
16589
|
"column-arrow": '<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" viewBox="0 0 32 32"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 26C0 28.2092 1.79086 30 4 30H14C16.2091 30 18 28.2092 18 26V15H25.8786L24.4394 16.4393C23.8536 17.0251 23.8536 17.9749 24.4394 18.5607C25.0252 19.1464 25.9748 19.1464 26.5606 18.5607L30.5606 14.5607C31.1464 13.9749 31.1464 13.0251 30.5606 12.4393L26.5606 8.43934C25.9748 7.85356 25.0252 7.85356 24.4394 8.43934C23.8536 9.02512 23.8536 9.97488 24.4394 10.5607L25.8786 12H18V6C18 3.79086 16.2091 2 14 2H4C1.79086 2 0 3.79086 0 6V26ZM14 5H10.5V12H15V6C15 5.44772 14.5523 5 14 5ZM4 5H7.5V12H3V6C3 5.44772 3.44772 5 4 5ZM10.5 15H15V26C15 26.5522 14.5523 27 14 27H10.5V15ZM4 27H7.5V15H3V26C3 26.5522 3.44772 27 4 27Z" fill="currentColor"/></svg>',
|
|
16590
16590
|
"small-down": '<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="black" stroke="none" viewBox="0 0 32 32"><path d="M7.334 10.667 16 21.334l8.667-10.667H7.334Z"/></svg>',
|
|
16591
16591
|
"small-up": '<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="black" stroke="none" viewBox="0 0 32 32"><path d="M7.334 21.333 16 10.666l8.667 10.667H7.334Z"/></svg>',
|
|
@@ -16600,17 +16600,17 @@ ${n}}
|
|
|
16600
16600
|
edit: '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 10.6262V12.5012H5.375L10.905 6.97122L9.03 5.09622L3.5 10.6262ZM12.355 5.52122C12.4014 5.47497 12.4381 5.42002 12.4632 5.35953C12.4883 5.29905 12.5012 5.23421 12.5012 5.16872C12.5012 5.10324 12.4883 5.0384 12.4632 4.97791C12.4381 4.91742 12.4014 4.86248 12.355 4.81622L11.185 3.64622C11.1387 3.59987 11.0838 3.5631 11.0233 3.53801C10.9628 3.51291 10.898 3.5 10.8325 3.5C10.767 3.5 10.7022 3.51291 10.6417 3.53801C10.5812 3.5631 10.5263 3.59987 10.48 3.64622L9.565 4.56122L11.44 6.43622L12.355 5.52122Z" fill="currentColor"/></svg>'
|
|
16601
16601
|
}, Hm = (e = {}) => {
|
|
16602
16602
|
let t = "";
|
|
16603
|
-
for (const o of [...Object.keys(
|
|
16603
|
+
for (const o of [...Object.keys(Ol), ...Object.keys(Bl)]) {
|
|
16604
16604
|
const i = Om(o, e.strokeWidth);
|
|
16605
16605
|
t += `.ag-icon-${o}::before { mask-image: url('data:image/svg+xml,${encodeURIComponent(i)}'); }
|
|
16606
16606
|
`;
|
|
16607
16607
|
}
|
|
16608
16608
|
return t;
|
|
16609
16609
|
}, Om = (e, t = 1.5) => {
|
|
16610
|
-
const o =
|
|
16610
|
+
const o = Bl[e];
|
|
16611
16611
|
if (o)
|
|
16612
16612
|
return o;
|
|
16613
|
-
const i =
|
|
16613
|
+
const i = Ol[e];
|
|
16614
16614
|
if (!i)
|
|
16615
16615
|
throw new Error(`Missing icon data for ${e}`);
|
|
16616
16616
|
return `<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="black" stroke-width="${t}" viewBox="0 0 24 24"><style>* { vector-effect: non-scaling-stroke; }</style>` + i + "</svg>";
|
|
@@ -16771,7 +16771,7 @@ ${n}}
|
|
|
16771
16771
|
tabSelectedBackgroundColor: le
|
|
16772
16772
|
},
|
|
16773
16773
|
css: Um
|
|
16774
|
-
}), qm = /* @__PURE__ */ jm(), Ym = () => Em().withPart(Mm).withPart(Gm).withPart(Vm).withPart(qm).withPart($m).withPart(
|
|
16774
|
+
}), qm = /* @__PURE__ */ jm(), Ym = () => Em().withPart(Mm).withPart(Gm).withPart(Vm).withPart(qm).withPart($m).withPart(Il).withParams({
|
|
16775
16775
|
fontFamily: [
|
|
16776
16776
|
{ googleFont: "IBM Plex Sans" },
|
|
16777
16777
|
"-apple-system",
|
|
@@ -16795,15 +16795,15 @@ ${n}}
|
|
|
16795
16795
|
cssName: "--ag-row-group-indent-size",
|
|
16796
16796
|
changeKey: "rowGroupIndentSizeChanged",
|
|
16797
16797
|
defaultValue: 0
|
|
16798
|
-
},
|
|
16798
|
+
}, mr = {
|
|
16799
16799
|
cssName: "--ag-row-height",
|
|
16800
16800
|
changeKey: "rowHeightChanged",
|
|
16801
16801
|
defaultValue: 42
|
|
16802
|
-
},
|
|
16802
|
+
}, wr = {
|
|
16803
16803
|
cssName: "--ag-header-height",
|
|
16804
16804
|
changeKey: "headerHeightChanged",
|
|
16805
16805
|
defaultValue: 48
|
|
16806
|
-
},
|
|
16806
|
+
}, vr = {
|
|
16807
16807
|
cssName: "--ag-list-item-height",
|
|
16808
16808
|
changeKey: "listItemHeightChanged",
|
|
16809
16809
|
defaultValue: 24
|
|
@@ -16812,7 +16812,7 @@ ${n}}
|
|
|
16812
16812
|
changeKey: "rowBorderWidthChanged",
|
|
16813
16813
|
defaultValue: 1,
|
|
16814
16814
|
border: !0
|
|
16815
|
-
},
|
|
16815
|
+
}, Sr = {
|
|
16816
16816
|
cssName: "--ag-pinned-row-border",
|
|
16817
16817
|
changeKey: "pinnedRowBorderWidthChanged",
|
|
16818
16818
|
defaultValue: 1,
|
|
@@ -16826,21 +16826,21 @@ ${n}}
|
|
|
16826
16826
|
this.eGridDiv = t, this.eStyleContainer = o.themeStyleContainer ?? (t.getRootNode() === document ? document.head : t), this.cssLayer = o.themeCssLayer, this.styleNonce = o.styleNonce;
|
|
16827
16827
|
}
|
|
16828
16828
|
postConstruct() {
|
|
16829
|
-
this.addManagedPropertyListener("theme", () => this.handleThemeGridOptionChange()), this.handleThemeGridOptionChange(), this.addManagedPropertyListener("rowHeight", () => this.refreshRowHeightVariable()), this.getSizeEl(
|
|
16829
|
+
this.addManagedPropertyListener("theme", () => this.handleThemeGridOptionChange()), this.handleThemeGridOptionChange(), this.addManagedPropertyListener("rowHeight", () => this.refreshRowHeightVariable()), this.getSizeEl(mr), this.getSizeEl(wr), this.getSizeEl(vr), this.getSizeEl(rs), this.getSizeEl(Sr), this.refreshRowBorderWidthVariable(), this.addDestroyFunc(() => XC(this)), this.mutationObserver = new MutationObserver(() => {
|
|
16830
16830
|
this.fireGridStylesChangedEvent("themeChanged");
|
|
16831
16831
|
}), this.addDestroyFunc(() => this.mutationObserver.disconnect());
|
|
16832
16832
|
}
|
|
16833
16833
|
getPinnedRowBorderWidth() {
|
|
16834
|
-
return this.getCSSVariablePixelValue(
|
|
16834
|
+
return this.getCSSVariablePixelValue(Sr);
|
|
16835
16835
|
}
|
|
16836
16836
|
getRowBorderWidth() {
|
|
16837
16837
|
return this.getCSSVariablePixelValue(rs);
|
|
16838
16838
|
}
|
|
16839
16839
|
getDefaultRowHeight() {
|
|
16840
|
-
return this.getCSSVariablePixelValue(
|
|
16840
|
+
return this.getCSSVariablePixelValue(mr);
|
|
16841
16841
|
}
|
|
16842
16842
|
getDefaultHeaderHeight() {
|
|
16843
|
-
return this.getCSSVariablePixelValue(
|
|
16843
|
+
return this.getCSSVariablePixelValue(wr);
|
|
16844
16844
|
}
|
|
16845
16845
|
getDefaultCellHorizontalPadding() {
|
|
16846
16846
|
return this.getCSSVariablePixelValue(Qm);
|
|
@@ -16857,7 +16857,7 @@ ${n}}
|
|
|
16857
16857
|
return Math.min(36, this.getDefaultRowHeight());
|
|
16858
16858
|
}
|
|
16859
16859
|
getDefaultListItemHeight() {
|
|
16860
|
-
return this.getCSSVariablePixelValue(
|
|
16860
|
+
return this.getCSSVariablePixelValue(vr);
|
|
16861
16861
|
}
|
|
16862
16862
|
applyThemeClasses(e) {
|
|
16863
16863
|
const { gridTheme: t } = this;
|
|
@@ -16948,11 +16948,11 @@ ${n}}
|
|
|
16948
16948
|
n = void 0;
|
|
16949
16949
|
else {
|
|
16950
16950
|
const r = s ?? Zm;
|
|
16951
|
-
r instanceof
|
|
16951
|
+
r instanceof Ll ? n = r : $(240, { theme: r });
|
|
16952
16952
|
}
|
|
16953
16953
|
if (n !== i) {
|
|
16954
16954
|
if (n) {
|
|
16955
|
-
QC(this),
|
|
16955
|
+
QC(this), Dl(this.eStyleContainer, this.cssLayer, this.styleNonce);
|
|
16956
16956
|
for (const [a, l] of o)
|
|
16957
16957
|
Ht(a, this.eStyleContainer, l, this.cssLayer, 0, this.styleNonce);
|
|
16958
16958
|
o.length = 0;
|
|
@@ -16971,7 +16971,7 @@ ${n}}
|
|
|
16971
16971
|
}
|
|
16972
16972
|
Sn || (r.textContent = (n == null ? void 0 : n._getPerGridCss(this.paramsClass)) || ""), this.applyThemeClasses(t), this.fireGridStylesChangedEvent("themeChanged");
|
|
16973
16973
|
}
|
|
16974
|
-
n && getComputedStyle(this.getMeasurementContainer()).getPropertyValue("--ag-legacy-styles-loaded") &&
|
|
16974
|
+
n && getComputedStyle(this.getMeasurementContainer()).getPropertyValue("--ag-legacy-styles-loaded") && $(s ? 106 : 239);
|
|
16975
16975
|
}
|
|
16976
16976
|
}, as = 15538, ow = class extends E {
|
|
16977
16977
|
constructor() {
|
|
@@ -17003,7 +17003,7 @@ ${n}}
|
|
|
17003
17003
|
this.globalSvc.dispatchEventOnce(B(this.gos, e));
|
|
17004
17004
|
}
|
|
17005
17005
|
};
|
|
17006
|
-
function
|
|
17006
|
+
function Vl(e, t, o) {
|
|
17007
17007
|
const i = e.visibleCols.headerGroupRowCount;
|
|
17008
17008
|
if (o >= i)
|
|
17009
17009
|
return {
|
|
@@ -17043,7 +17043,7 @@ var iw = class extends E {
|
|
|
17043
17043
|
const { colModel: i, colGroupSvc: s, ctrlsSvc: n } = this.beans;
|
|
17044
17044
|
if (typeof e == "string" ? (o = i.getCol(e), o || (o = (s == null ? void 0 : s.getColumnGroup(e)) ?? null)) : o = e, !o)
|
|
17045
17045
|
return null;
|
|
17046
|
-
const r = n.getHeaderRowContainerCtrl(), a = r == null ? void 0 : r.getAllCtrls(), l =
|
|
17046
|
+
const r = n.getHeaderRowContainerCtrl(), a = r == null ? void 0 : r.getAllCtrls(), l = z(a || []).type === "filter", d = De(this.beans) - 1;
|
|
17047
17047
|
let c = -1, u = o;
|
|
17048
17048
|
for (; u; )
|
|
17049
17049
|
c++, u = u.getParent();
|
|
@@ -17109,10 +17109,10 @@ var iw = class extends E {
|
|
|
17109
17109
|
if (t === "Before") {
|
|
17110
17110
|
if (s <= 0)
|
|
17111
17111
|
return !1;
|
|
17112
|
-
n =
|
|
17112
|
+
n = z(l), r = s - 1, this.currentHeaderRowWithoutSpan -= 1;
|
|
17113
17113
|
} else
|
|
17114
17114
|
n = l[0], r = s + 1, this.currentHeaderRowWithoutSpan < a ? this.currentHeaderRowWithoutSpan += 1 : this.currentHeaderRowWithoutSpan = -1;
|
|
17115
|
-
let { column: d, headerRowIndex: c } =
|
|
17115
|
+
let { column: d, headerRowIndex: c } = Vl(this.beans, n, r);
|
|
17116
17116
|
return c >= a && (c = -1), i.focusSvc.focusHeaderPosition({
|
|
17117
17117
|
headerPosition: { column: d, headerRowIndex: c },
|
|
17118
17118
|
direction: t,
|
|
@@ -17127,7 +17127,7 @@ var iw = class extends E {
|
|
|
17127
17127
|
let o;
|
|
17128
17128
|
if (Y(e)) {
|
|
17129
17129
|
const i = e.getDisplayedLeafColumns();
|
|
17130
|
-
o = t === "Before" ?
|
|
17130
|
+
o = t === "Before" ? z(i) : i[0];
|
|
17131
17131
|
} else
|
|
17132
17132
|
o = e;
|
|
17133
17133
|
this.gridBodyCon.scrollFeature.ensureColumnVisible(o);
|
|
@@ -17261,7 +17261,7 @@ var rw = class extends E {
|
|
|
17261
17261
|
return e.get("suppressFocusAfterRefresh") || e.get("suppressCellFocus") || !t || !this.doesRowOrCellHaveBrowserFocus() ? null : t;
|
|
17262
17262
|
}
|
|
17263
17263
|
getFocusHeaderToUseAfterRefresh() {
|
|
17264
|
-
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedHeader || !this.isDomDataPresentInHierarchy(q(this.beans),
|
|
17264
|
+
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedHeader || !this.isDomDataPresentInHierarchy(q(this.beans), ul) ? null : this.focusedHeader;
|
|
17265
17265
|
}
|
|
17266
17266
|
/**
|
|
17267
17267
|
* Check for both cells and rows, as a row might be destroyed and the dom data removed before the cell if the
|
|
@@ -17274,7 +17274,7 @@ var rw = class extends E {
|
|
|
17274
17274
|
isDomDataPresentInHierarchy(e, t) {
|
|
17275
17275
|
let o = e;
|
|
17276
17276
|
for (; o; ) {
|
|
17277
|
-
if (
|
|
17277
|
+
if (ua(this.gos, o, t))
|
|
17278
17278
|
return !0;
|
|
17279
17279
|
o = o.parentNode;
|
|
17280
17280
|
}
|
|
@@ -17423,7 +17423,7 @@ var rw = class extends E {
|
|
|
17423
17423
|
const e = this.visibleCols.allCols[0];
|
|
17424
17424
|
if (!e)
|
|
17425
17425
|
return !1;
|
|
17426
|
-
const t =
|
|
17426
|
+
const t = Vl(this.beans, e, 0);
|
|
17427
17427
|
return this.focusHeaderPosition({
|
|
17428
17428
|
headerPosition: t,
|
|
17429
17429
|
rowWithoutSpanValue: 0
|
|
@@ -17433,7 +17433,7 @@ var rw = class extends E {
|
|
|
17433
17433
|
var i;
|
|
17434
17434
|
if ((i = this.overlays) != null && i.isExclusive() && this.focusOverlay(!0))
|
|
17435
17435
|
return !0;
|
|
17436
|
-
const t = De(this.beans) - 1, o =
|
|
17436
|
+
const t = De(this.beans) - 1, o = z(this.visibleCols.allCols);
|
|
17437
17437
|
return this.focusHeaderPosition({
|
|
17438
17438
|
headerPosition: { headerRowIndex: t, column: o },
|
|
17439
17439
|
rowWithoutSpanValue: -1,
|
|
@@ -18367,7 +18367,7 @@ var rw = class extends E {
|
|
|
18367
18367
|
"chartThemes",
|
|
18368
18368
|
"rowClass",
|
|
18369
18369
|
"paginationPageSizeSelector"
|
|
18370
|
-
],
|
|
18370
|
+
], Nl = [
|
|
18371
18371
|
"rowHeight",
|
|
18372
18372
|
"detailRowHeight",
|
|
18373
18373
|
"rowBuffer",
|
|
@@ -18410,7 +18410,7 @@ var rw = class extends E {
|
|
|
18410
18410
|
"suppressStickyTotalRow",
|
|
18411
18411
|
"groupHideParentOfSingleChild",
|
|
18412
18412
|
"enableRowPinning"
|
|
18413
|
-
],
|
|
18413
|
+
], _l = [
|
|
18414
18414
|
"loadThemeGoogleFonts",
|
|
18415
18415
|
"suppressMakeColumnVisibleAfterUnGroup",
|
|
18416
18416
|
"suppressRowClickSelection",
|
|
@@ -18621,9 +18621,9 @@ var rw = class extends E {
|
|
|
18621
18621
|
...bw,
|
|
18622
18622
|
...Sw,
|
|
18623
18623
|
...vw,
|
|
18624
|
-
...Vl,
|
|
18625
|
-
...Ew,
|
|
18626
18624
|
...Nl,
|
|
18625
|
+
...Ew,
|
|
18626
|
+
..._l,
|
|
18627
18627
|
...Rw,
|
|
18628
18628
|
...yw
|
|
18629
18629
|
], xw = () => ({
|
|
@@ -19021,9 +19021,9 @@ var Dw = {
|
|
|
19021
19021
|
}
|
|
19022
19022
|
}
|
|
19023
19023
|
}, t = {};
|
|
19024
|
-
return
|
|
19024
|
+
return _l.forEach((o) => {
|
|
19025
19025
|
t[o] = { expectedType: "boolean" };
|
|
19026
|
-
}),
|
|
19026
|
+
}), Nl.forEach((o) => {
|
|
19027
19027
|
t[o] = { expectedType: "number" };
|
|
19028
19028
|
}), ce(t, e), t;
|
|
19029
19029
|
}, Pw = () => ({
|
|
@@ -19160,7 +19160,7 @@ var Dw = {
|
|
|
19160
19160
|
}
|
|
19161
19161
|
assertModuleRegistered(e, t) {
|
|
19162
19162
|
const o = Array.isArray(e) ? e.some((i) => this.isModuleRegistered(i)) : this.isModuleRegistered(e);
|
|
19163
|
-
return o ||
|
|
19163
|
+
return o || $(200, {
|
|
19164
19164
|
...this.getModuleErrorParams(),
|
|
19165
19165
|
moduleName: e,
|
|
19166
19166
|
reasonOrId: t
|
|
@@ -19181,7 +19181,7 @@ var Dw = {
|
|
|
19181
19181
|
function Mw(e) {
|
|
19182
19182
|
return !!Mi[e];
|
|
19183
19183
|
}
|
|
19184
|
-
function
|
|
19184
|
+
function Wl(e) {
|
|
19185
19185
|
const t = { "aria-hidden": "true" };
|
|
19186
19186
|
return {
|
|
19187
19187
|
tag: "div",
|
|
@@ -19219,7 +19219,7 @@ function _l(e) {
|
|
|
19219
19219
|
]
|
|
19220
19220
|
};
|
|
19221
19221
|
}
|
|
19222
|
-
var kw =
|
|
19222
|
+
var kw = Wl(!0), Lw = Wl(!1), Gw = class extends j {
|
|
19223
19223
|
constructor() {
|
|
19224
19224
|
super(...arguments), this.eFilter = I, this.eFilterButton = I, this.eSortIndicator = I, this.eMenu = I, this.eLabel = I, this.eText = I, this.eSortOrder = I, this.eSortAsc = I, this.eSortDesc = I, this.eSortMixed = I, this.eSortNone = I, this.isLoadingInnerComponent = !1;
|
|
19225
19225
|
}
|
|
@@ -19571,7 +19571,7 @@ var kw = _l(!0), Lw = _l(!1), Gw = class extends j {
|
|
|
19571
19571
|
}
|
|
19572
19572
|
handleCellDoubleClick(e, t) {
|
|
19573
19573
|
return (() => {
|
|
19574
|
-
if (!wt() ||
|
|
19574
|
+
if (!wt() || wa("dblclick"))
|
|
19575
19575
|
return !1;
|
|
19576
19576
|
const i = Date.now(), s = i - e.lastIPadMouseClickEvent < 200;
|
|
19577
19577
|
return e.lastIPadMouseClickEvent = i, s;
|
|
@@ -19725,7 +19725,7 @@ var kw = _l(!0), Lw = _l(!1), Gw = class extends j {
|
|
|
19725
19725
|
var i;
|
|
19726
19726
|
if (!e)
|
|
19727
19727
|
return null;
|
|
19728
|
-
const t = ((i = this.rowSpanSvc) == null ? void 0 : i.getCellEnd(e)) ?? e, o =
|
|
19728
|
+
const t = ((i = this.rowSpanSvc) == null ? void 0 : i.getCellEnd(e)) ?? e, o = Kn(this.beans, t);
|
|
19729
19729
|
return o ? {
|
|
19730
19730
|
rowIndex: o.rowIndex,
|
|
19731
19731
|
column: e.column,
|
|
@@ -19754,7 +19754,7 @@ var kw = _l(!0), Lw = _l(!1), Gw = class extends j {
|
|
|
19754
19754
|
let s = e.rowIndex, n = e.rowPinned, r = t.getColAfter(e.column);
|
|
19755
19755
|
if (!r) {
|
|
19756
19756
|
r = i[0];
|
|
19757
|
-
const a =
|
|
19757
|
+
const a = Kn(this.beans, e);
|
|
19758
19758
|
if (K(a) || !a.rowPinned && !((o == null ? void 0 : o.isRowInPage(a.rowIndex)) ?? !0))
|
|
19759
19759
|
return null;
|
|
19760
19760
|
s = a ? a.rowIndex : null, n = a ? a.rowPinned : null;
|
|
@@ -19765,7 +19765,7 @@ var kw = _l(!0), Lw = _l(!1), Gw = class extends j {
|
|
|
19765
19765
|
const { beans: t } = this, { visibleCols: o, pagination: i } = t, s = o.allCols;
|
|
19766
19766
|
let n = e.rowIndex, r = e.rowPinned, a = o.getColBefore(e.column);
|
|
19767
19767
|
if (!a) {
|
|
19768
|
-
a =
|
|
19768
|
+
a = z(s);
|
|
19769
19769
|
const l = gi(t, { rowIndex: e.rowIndex, rowPinned: e.rowPinned });
|
|
19770
19770
|
if (K(l) || !l.rowPinned && !((i == null ? void 0 : i.isRowInPage(l.rowIndex)) ?? !0))
|
|
19771
19771
|
return null;
|
|
@@ -19808,7 +19808,7 @@ function Zw(e, t, o = !1) {
|
|
|
19808
19808
|
}
|
|
19809
19809
|
var Qw = class extends E {
|
|
19810
19810
|
constructor() {
|
|
19811
|
-
super(), this.beanName = "navigation", this.onPageDown =
|
|
19811
|
+
super(), this.beanName = "navigation", this.onPageDown = On(this.onPageDown, 100), this.onPageUp = On(this.onPageUp, 100);
|
|
19812
19812
|
}
|
|
19813
19813
|
postConstruct() {
|
|
19814
19814
|
this.beans.ctrlsSvc.whenReady(this, (e) => {
|
|
@@ -19997,7 +19997,7 @@ var Qw = class extends E {
|
|
|
19997
19997
|
if (e instanceof Si) {
|
|
19998
19998
|
if (s = {
|
|
19999
19999
|
...e.getRowPosition(),
|
|
20000
|
-
column: t ? i[0] :
|
|
20000
|
+
column: t ? i[0] : z(i)
|
|
20001
20001
|
}, this.gos.get("embedFullWidthRows") && o) {
|
|
20002
20002
|
const r = e.findFullWidthInfoForEvent(o);
|
|
20003
20003
|
r && (s.column = r.column);
|
|
@@ -20133,7 +20133,7 @@ var Qw = class extends E {
|
|
|
20133
20133
|
const l = s.getFocusedCell(), d = {
|
|
20134
20134
|
rowIndex: e.rowIndex,
|
|
20135
20135
|
rowPinned: e.rowPinned,
|
|
20136
|
-
column: e.column || (t ?
|
|
20136
|
+
column: e.column || (t ? z(r) : r[0])
|
|
20137
20137
|
};
|
|
20138
20138
|
this.focusPosition(d);
|
|
20139
20139
|
const c = t ?? (l != null && dh(d, l));
|
|
@@ -20165,12 +20165,12 @@ var Qw = class extends E {
|
|
|
20165
20165
|
const o = t.getColSpanningList();
|
|
20166
20166
|
return o.length === 1 ? e : {
|
|
20167
20167
|
rowIndex: e.rowIndex,
|
|
20168
|
-
column:
|
|
20168
|
+
column: z(o),
|
|
20169
20169
|
rowPinned: e.rowPinned
|
|
20170
20170
|
};
|
|
20171
20171
|
}
|
|
20172
20172
|
ensureCellVisible(e) {
|
|
20173
|
-
const t =
|
|
20173
|
+
const t = pa(this.gos), o = this.beans.rowModel.getRow(e.rowIndex), i = t && (o == null ? void 0 : o.sticky), { scrollFeature: s } = this.gridBodyCon;
|
|
20174
20174
|
!i && K(e.rowPinned) && s.ensureIndexVisible(e.rowIndex), e.column.isPinned() || s.ensureColumnVisible(e.column);
|
|
20175
20175
|
}
|
|
20176
20176
|
ensureColumnVisible(e) {
|
|
@@ -20320,7 +20320,7 @@ var Xw = {
|
|
|
20320
20320
|
return;
|
|
20321
20321
|
const c = i.getCol(d);
|
|
20322
20322
|
c && c.getPinned() !== a && (this.setColPinned(c, a), l.push(c));
|
|
20323
|
-
}), l.length && (n.refresh(o),
|
|
20323
|
+
}), l.length && (n.refresh(o), Ma(this.eventSvc, l, o)), s == null || s.finish();
|
|
20324
20324
|
}
|
|
20325
20325
|
initCol(e) {
|
|
20326
20326
|
const { pinned: t, initialPinned: o } = e.colDef;
|
|
@@ -20400,7 +20400,7 @@ var Xw = {
|
|
|
20400
20400
|
}
|
|
20401
20401
|
postConstruct() {
|
|
20402
20402
|
const e = this.beans, t = X(e), o = this.descriptionContainer = t.createElement("div");
|
|
20403
|
-
o.classList.add("ag-aria-description-container"),
|
|
20403
|
+
o.classList.add("ag-aria-description-container"), Wr(o, "polite"), Qd(o, "additions text"), Zd(o, !0), e.eGridDiv.appendChild(o);
|
|
20404
20404
|
}
|
|
20405
20405
|
/**
|
|
20406
20406
|
* @param key used for debouncing calls
|
|
@@ -20464,7 +20464,7 @@ var cv = (
|
|
|
20464
20464
|
children: [{ tag: "div", ref: "eOverlayWrapper", cls: "ag-overlay-wrapper", role: "presentation" }]
|
|
20465
20465
|
}
|
|
20466
20466
|
]
|
|
20467
|
-
},
|
|
20467
|
+
}, zl = class extends j {
|
|
20468
20468
|
constructor() {
|
|
20469
20469
|
super(uv), this.eOverlayWrapper = I, this.activePromise = null, this.activeOverlay = null, this.updateListenerDestroyFunc = null, this.activeCssClass = null, this.elToFocusAfter = null, this.registerCSS(cv);
|
|
20470
20470
|
}
|
|
@@ -20476,7 +20476,7 @@ var cv = (
|
|
|
20476
20476
|
return;
|
|
20477
20477
|
let i = !1;
|
|
20478
20478
|
e.shiftKey ? i = t.focusSvc.focusGridView({
|
|
20479
|
-
column:
|
|
20479
|
+
column: z(t.visibleCols.allCols),
|
|
20480
20480
|
backwards: !0,
|
|
20481
20481
|
canFocusOverlay: !1
|
|
20482
20482
|
}) : i = fo(t, !1), i && e.preventDefault();
|
|
@@ -20496,7 +20496,7 @@ var cv = (
|
|
|
20496
20496
|
if (this.setWrapperTypeClass(t), this.destroyActiveOverlay(), this.elToFocusAfter = null, this.activePromise = e, !!e) {
|
|
20497
20497
|
if (this.setDisplayed(!0, { skipAriaHidden: !0 }), o && this.isGridFocused()) {
|
|
20498
20498
|
const s = q(this.beans);
|
|
20499
|
-
s && !
|
|
20499
|
+
s && !ga(this.beans) && (this.elToFocusAfter = s);
|
|
20500
20500
|
}
|
|
20501
20501
|
e.then((s) => {
|
|
20502
20502
|
if (this.activePromise !== e) {
|
|
@@ -20542,7 +20542,7 @@ var cv = (
|
|
|
20542
20542
|
}
|
|
20543
20543
|
}, hv = {
|
|
20544
20544
|
selector: "AG-OVERLAY-WRAPPER",
|
|
20545
|
-
component:
|
|
20545
|
+
component: zl
|
|
20546
20546
|
}, gv = class extends E {
|
|
20547
20547
|
constructor() {
|
|
20548
20548
|
super(...arguments), this.beanName = "overlays", this.state = 0, this.showInitialOverlay = !0, this.wrapperPadding = 0;
|
|
@@ -20591,7 +20591,7 @@ var cv = (
|
|
|
20591
20591
|
return hv;
|
|
20592
20592
|
}
|
|
20593
20593
|
getOverlayWrapperCompClass() {
|
|
20594
|
-
return
|
|
20594
|
+
return zl;
|
|
20595
20595
|
}
|
|
20596
20596
|
updateOverlayVisibility() {
|
|
20597
20597
|
if (!this.eWrapper) {
|
|
@@ -21553,7 +21553,7 @@ var vv = class extends E {
|
|
|
21553
21553
|
if (!this.primaryColumnsSortGroups)
|
|
21554
21554
|
return o.getValue(t, e, !1);
|
|
21555
21555
|
if (e.rowGroupColumn === t) {
|
|
21556
|
-
if (
|
|
21556
|
+
if (Ca(n, i.isPivotActive())) {
|
|
21557
21557
|
const u = (a = e.allLeafChildren) == null ? void 0 : a[0];
|
|
21558
21558
|
return u ? o.getValue(t, u, !1) : void 0;
|
|
21559
21559
|
}
|
|
@@ -21568,7 +21568,7 @@ function Sv(e) {
|
|
|
21568
21568
|
var t;
|
|
21569
21569
|
(t = e.sortSvc) == null || t.onSortChanged("api");
|
|
21570
21570
|
}
|
|
21571
|
-
var
|
|
21571
|
+
var $l = {
|
|
21572
21572
|
moduleName: "Sort",
|
|
21573
21573
|
version: k,
|
|
21574
21574
|
beans: [hw, vv],
|
|
@@ -21659,7 +21659,7 @@ var Ev = "paste", xv = class extends E {
|
|
|
21659
21659
|
evaluate(e, t) {
|
|
21660
21660
|
if (typeof e == "string")
|
|
21661
21661
|
return this.evaluateExpression(e, t);
|
|
21662
|
-
|
|
21662
|
+
$(15, { expression: e });
|
|
21663
21663
|
}
|
|
21664
21664
|
evaluateExpression(e, t) {
|
|
21665
21665
|
try {
|
|
@@ -21679,7 +21679,7 @@ var Ev = "paste", xv = class extends E {
|
|
|
21679
21679
|
t.columnGroup
|
|
21680
21680
|
);
|
|
21681
21681
|
} catch (o) {
|
|
21682
|
-
return
|
|
21682
|
+
return $(16, { expression: e, params: t, e: o }), null;
|
|
21683
21683
|
}
|
|
21684
21684
|
}
|
|
21685
21685
|
createExpressionFunction(e) {
|
|
@@ -22057,14 +22057,14 @@ var Ev = "paste", xv = class extends E {
|
|
|
22057
22057
|
isDestroyed: rf,
|
|
22058
22058
|
getGridOption: af,
|
|
22059
22059
|
setGridOption: lf,
|
|
22060
|
-
updateGridOptions:
|
|
22060
|
+
updateGridOptions: Sl,
|
|
22061
22061
|
isModuleRegistered: df
|
|
22062
22062
|
},
|
|
22063
22063
|
dependsOn: [
|
|
22064
22064
|
VC,
|
|
22065
22065
|
Of,
|
|
22066
22066
|
$f,
|
|
22067
|
-
|
|
22067
|
+
$l,
|
|
22068
22068
|
Bw,
|
|
22069
22069
|
aC,
|
|
22070
22070
|
Vw,
|
|
@@ -22123,7 +22123,7 @@ function Lv(e, t) {
|
|
|
22123
22123
|
}
|
|
22124
22124
|
return o[n] / (r + 1);
|
|
22125
22125
|
}
|
|
22126
|
-
var
|
|
22126
|
+
var Ul = {
|
|
22127
22127
|
AdvancedFilter: 1,
|
|
22128
22128
|
AllEnterprise: 1,
|
|
22129
22129
|
BatchEdit: 1,
|
|
@@ -22223,14 +22223,14 @@ function Ov(e, t) {
|
|
|
22223
22223
|
}) : o.push(i);
|
|
22224
22224
|
}), o;
|
|
22225
22225
|
}
|
|
22226
|
-
var
|
|
22226
|
+
var Kl = () => `No AG Grid modules are registered! It is recommended to start with all Community features via the AllCommunityModule:
|
|
22227
22227
|
|
|
22228
22228
|
import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
|
|
22229
22229
|
|
|
22230
22230
|
ModuleRegistry.registerModules([ AllCommunityModule ]);
|
|
22231
22231
|
`, Bv = (e) => {
|
|
22232
22232
|
const t = e.map(
|
|
22233
|
-
(i) => `import { ${io(i)} } from '${
|
|
22233
|
+
(i) => `import { ${io(i)} } from '${Ul[i] ? "ag-grid-enterprise" : "ag-grid-community"}';`
|
|
22234
22234
|
);
|
|
22235
22235
|
return e.some((i) => i === "IntegratedCharts" || i === "Sparklines") && t.push("import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';"), `import { ModuleRegistry } from 'ag-grid-community';
|
|
22236
22236
|
${t.join(`
|
|
@@ -22247,16 +22247,16 @@ function Vv(e, t) {
|
|
|
22247
22247
|
const o = t.filter((n) => n === "IntegratedCharts" || n === "Sparklines");
|
|
22248
22248
|
let i = "";
|
|
22249
22249
|
return !(globalThis == null ? void 0 : globalThis.agCharts) && o.length > 0 ? i = `Unable to use ${e} as either the ag-charts-community or ag-charts-enterprise script needs to be included alongside ag-grid-enterprise.
|
|
22250
|
-
` : t.some((n) =>
|
|
22250
|
+
` : t.some((n) => Ul[n]) && (i = i + `Unable to use ${e} as that requires the ag-grid-enterprise script to be included.
|
|
22251
22251
|
`), i;
|
|
22252
22252
|
}
|
|
22253
|
-
function
|
|
22253
|
+
function jl({
|
|
22254
22254
|
moduleName: e,
|
|
22255
22255
|
rowModelType: t
|
|
22256
22256
|
}) {
|
|
22257
22257
|
return `To use the ${e}Module you must set the gridOption "rowModelType='${t}'"`;
|
|
22258
22258
|
}
|
|
22259
|
-
var
|
|
22259
|
+
var br = ({
|
|
22260
22260
|
reasonOrId: e,
|
|
22261
22261
|
moduleName: t,
|
|
22262
22262
|
gridScoped: o,
|
|
@@ -22274,7 +22274,7 @@ var Sr = ({
|
|
|
22274
22274
|
${Bv(a)}` + (n ? `
|
|
22275
22275
|
|
|
22276
22276
|
${n}` : "");
|
|
22277
|
-
},
|
|
22277
|
+
}, yr = (e) => `${e} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.
|
|
22278
22278
|
|
|
22279
22279
|
import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';
|
|
22280
22280
|
import { ModuleRegistry } from 'ag-grid-community';
|
|
@@ -22579,7 +22579,7 @@ ${Nv(t)}`,
|
|
|
22579
22579
|
197: () => "`toggledNodes` must be an array of string ids.",
|
|
22580
22580
|
// 198: () => `cannot multi select unless selection mode is 'multiRow'` as const,
|
|
22581
22581
|
199: () => "getSelectedNodes and getSelectedRows functions cannot be used with select all functionality with the server-side row model. Use `api.getServerSideSelectionState()` instead.",
|
|
22582
|
-
200:
|
|
22582
|
+
200: br,
|
|
22583
22583
|
201: ({ rowModelType: e }) => `Could not find row model for rowModelType = ${e}`,
|
|
22584
22584
|
202: () => "`getSelectedNodes` and `getSelectedRows` functions cannot be used with `groupSelectsChildren` and the server-side row model. Use `api.getServerSideSelectionState()` instead.",
|
|
22585
22585
|
203: () => "Server Side Row Model does not support Dynamic Row Height and Cache Purging. Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.",
|
|
@@ -22641,8 +22641,8 @@ To see what part of your code that caused the refresh check this stacktrace.`,
|
|
|
22641
22641
|
254: () => "Cannot create chart: no chart themes available.",
|
|
22642
22642
|
255: ({ point: e }) => `Lone surrogate U+${e == null ? void 0 : e.toString(16).toUpperCase()} is not a scalar value`,
|
|
22643
22643
|
256: () => "Unable to initialise. See validation error, or load ValidationModule if missing.",
|
|
22644
|
-
257: () =>
|
|
22645
|
-
258: () =>
|
|
22644
|
+
257: () => yr("IntegratedChartsModule"),
|
|
22645
|
+
258: () => yr("SparklinesModule"),
|
|
22646
22646
|
259: ({ part: e }) => `the argument to theme.withPart must be a Theming API part object, received: ${e}`,
|
|
22647
22647
|
260: ({
|
|
22648
22648
|
propName: e,
|
|
@@ -22650,7 +22650,7 @@ To see what part of your code that caused the refresh check this stacktrace.`,
|
|
|
22650
22650
|
gridScoped: o,
|
|
22651
22651
|
gridId: i,
|
|
22652
22652
|
rowModelType: s
|
|
22653
|
-
}) =>
|
|
22653
|
+
}) => br({
|
|
22654
22654
|
reasonOrId: `AG Grid '${e}' component: ${t}`,
|
|
22655
22655
|
moduleName: It[t],
|
|
22656
22656
|
gridId: i,
|
|
@@ -22668,7 +22668,7 @@ To see what part of your code that caused the refresh check this stacktrace.`,
|
|
|
22668
22668
|
269: () => "When `masterSelects: 'detail'`, detail grids must be configured with multi-row selection",
|
|
22669
22669
|
270: ({ id: e, parentId: t }) => `Cycle detected for row with id='${e}' and parent id='${t}'. Resetting the parent for row with id='${e}' and showing it as a root-level node.`,
|
|
22670
22670
|
271: ({ id: e, parentId: t }) => `Parent row not found for row with id='${e}' and parent id='${t}'. Showing row with id='${e}' as a root-level node.`,
|
|
22671
|
-
272: () =>
|
|
22671
|
+
272: () => Kl(),
|
|
22672
22672
|
273: ({ providedId: e, usedId: t }) => `Provided column id '${e}' was already in use, ensure all column and group ids are unique. Using '${t}' instead.`,
|
|
22673
22673
|
274: ({ prop: e }) => {
|
|
22674
22674
|
let t = `Since v33, ${e} has been deprecated.`;
|
|
@@ -22685,7 +22685,7 @@ To see what part of your code that caused the refresh check this stacktrace.`,
|
|
|
22685
22685
|
}
|
|
22686
22686
|
return t;
|
|
22687
22687
|
},
|
|
22688
|
-
275:
|
|
22688
|
+
275: jl,
|
|
22689
22689
|
276: () => "Row Numbers Row Resizer cannot be used when Grid Columns have `autoHeight` enabled.",
|
|
22690
22690
|
277: ({ colId: e }) => `'enableFilterHandlers' is set to true, but column '${e}' does not have 'filter.doesFilterPass' or 'filter.handler' set.`,
|
|
22691
22691
|
278: ({ colId: e }) => `Unable to create filter handler for column '${e}'`,
|
|
@@ -22709,17 +22709,17 @@ function Wv(e, t) {
|
|
|
22709
22709
|
if (!o)
|
|
22710
22710
|
return [`Missing error text for error id ${e}!`];
|
|
22711
22711
|
const i = o(t), n = `
|
|
22712
|
-
See ${
|
|
22712
|
+
See ${la(e, t)}`;
|
|
22713
22713
|
return Array.isArray(i) ? i.concat(n) : [i, n];
|
|
22714
22714
|
}
|
|
22715
22715
|
var zv = {
|
|
22716
22716
|
1: "Charting Aggregation",
|
|
22717
22717
|
2: "pivotResultFields",
|
|
22718
22718
|
3: "setTooltip"
|
|
22719
|
-
},
|
|
22719
|
+
}, Rr = /* @__PURE__ */ new WeakMap(), Er = /* @__PURE__ */ new WeakMap();
|
|
22720
22720
|
function $v(e, t, o) {
|
|
22721
22721
|
if (!t)
|
|
22722
|
-
return
|
|
22722
|
+
return $(11), {};
|
|
22723
22723
|
const i = o;
|
|
22724
22724
|
let s;
|
|
22725
22725
|
if (!(i != null && i.setThemeOnGridDiv)) {
|
|
@@ -22751,16 +22751,16 @@ var Uv = 1, Kv = class {
|
|
|
22751
22751
|
beanDestroyComparator: Bp,
|
|
22752
22752
|
derivedBeans: [Gp],
|
|
22753
22753
|
destroyCallback: () => {
|
|
22754
|
-
|
|
22754
|
+
Er.delete(p), Rr.delete(e), n == null || n();
|
|
22755
22755
|
}
|
|
22756
22756
|
}, g = new nh(h);
|
|
22757
22757
|
this.registerModuleFeatures(g, l), o(g), g.getBean("syncSvc").start(), i == null || i(g);
|
|
22758
22758
|
const p = g.getBean("gridApi");
|
|
22759
|
-
return
|
|
22759
|
+
return Rr.set(e, p), Er.set(p, e), p;
|
|
22760
22760
|
}
|
|
22761
22761
|
getRegisteredModules(e, t, o) {
|
|
22762
22762
|
var i;
|
|
22763
|
-
return Lt(kv, void 0, !0), (i = e == null ? void 0 : e.modules) == null || i.forEach((s) => Lt(s, t)), Xu(t,
|
|
22763
|
+
return Lt(kv, void 0, !0), (i = e == null ? void 0 : e.modules) == null || i.forEach((s) => Lt(s, t)), Xu(t, xr(o));
|
|
22764
22764
|
}
|
|
22765
22765
|
registerModuleFeatures(e, t) {
|
|
22766
22766
|
const o = e.getBean("registry"), i = e.getBean("apiFunctionSvc");
|
|
@@ -22774,7 +22774,7 @@ var Uv = 1, Kv = class {
|
|
|
22774
22774
|
}
|
|
22775
22775
|
createProvidedBeans(e, t, o) {
|
|
22776
22776
|
let i = o ? o.frameworkOverrides : null;
|
|
22777
|
-
K(i) && (i = new
|
|
22777
|
+
K(i) && (i = new wl());
|
|
22778
22778
|
const s = {
|
|
22779
22779
|
gridOptions: t,
|
|
22780
22780
|
eGridDiv: e,
|
|
@@ -22790,13 +22790,13 @@ var Uv = 1, Kv = class {
|
|
|
22790
22790
|
infinite: "InfiniteRowModel",
|
|
22791
22791
|
serverSide: "ServerSideRowModel",
|
|
22792
22792
|
viewport: "ViewportRowModel"
|
|
22793
|
-
}, s =
|
|
22793
|
+
}, s = xr(e), n = i[s];
|
|
22794
22794
|
if (!n) {
|
|
22795
22795
|
Zt(201, { rowModelType: s }, `Unknown rowModelType ${s}.`);
|
|
22796
22796
|
return;
|
|
22797
22797
|
}
|
|
22798
22798
|
if (!eh()) {
|
|
22799
|
-
Zt(272, void 0,
|
|
22799
|
+
Zt(272, void 0, Kl());
|
|
22800
22800
|
return;
|
|
22801
22801
|
}
|
|
22802
22802
|
if (!e) {
|
|
@@ -22810,7 +22810,7 @@ var Uv = 1, Kv = class {
|
|
|
22810
22810
|
moduleName: d,
|
|
22811
22811
|
rowModelType: l
|
|
22812
22812
|
};
|
|
22813
|
-
Zt(275, c,
|
|
22813
|
+
Zt(275, c, jl(c));
|
|
22814
22814
|
return;
|
|
22815
22815
|
}
|
|
22816
22816
|
}
|
|
@@ -22836,7 +22836,7 @@ var Uv = 1, Kv = class {
|
|
|
22836
22836
|
}), Array.from(r);
|
|
22837
22837
|
}
|
|
22838
22838
|
};
|
|
22839
|
-
function
|
|
22839
|
+
function xr(e) {
|
|
22840
22840
|
return e ?? "clientSide";
|
|
22841
22841
|
}
|
|
22842
22842
|
function Ae(e) {
|
|
@@ -22936,7 +22936,7 @@ var Qv = class {
|
|
|
22936
22936
|
const i = e.location.replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase();
|
|
22937
22937
|
o.classList.add(`ag-${i}-tooltip`);
|
|
22938
22938
|
}
|
|
22939
|
-
}, eS = 1e3, tS = 1e3,
|
|
22939
|
+
}, eS = 1e3, tS = 1e3, Dr = 100, Fr, Vo = !1, oS = class extends E {
|
|
22940
22940
|
constructor(e, t) {
|
|
22941
22941
|
super(), this.tooltipCtrl = e, this.getTooltipValue = t, this.interactionEnabled = !1, this.isInteractingWithTooltip = !1, this.state = 0, this.tooltipInstanceCount = 0, this.tooltipMouseTrack = !1;
|
|
22942
22942
|
}
|
|
@@ -22975,7 +22975,7 @@ var Qv = class {
|
|
|
22975
22975
|
onMouseEnter(e) {
|
|
22976
22976
|
this.interactionEnabled && this.interactiveTooltipTimeoutId && (this.unlockService(), this.startHideTimeout()), !wt() && (Vo ? this.showTooltipTimeoutId = window.setTimeout(() => {
|
|
22977
22977
|
this.prepareToShowTooltip(e);
|
|
22978
|
-
},
|
|
22978
|
+
}, Dr) : this.prepareToShowTooltip(e));
|
|
22979
22979
|
}
|
|
22980
22980
|
onMouseMove(e) {
|
|
22981
22981
|
this.lastMouseEvent && (this.lastMouseEvent = e), this.tooltipMouseTrack && this.state === 2 && this.tooltipComp && this.positionTooltip();
|
|
@@ -23004,7 +23004,7 @@ var Qv = class {
|
|
|
23004
23004
|
e && (t = this.isLastTooltipHiddenRecently() ? 200 : this.getTooltipDelay("show")), this.lastMouseEvent = e || null, this.showTooltipTimeoutId = window.setTimeout(this.showTooltip.bind(this), t), this.state = 1;
|
|
23005
23005
|
}
|
|
23006
23006
|
isLastTooltipHiddenRecently() {
|
|
23007
|
-
return Date.now() -
|
|
23007
|
+
return Date.now() - Fr < eS;
|
|
23008
23008
|
}
|
|
23009
23009
|
setToDoNothing(e) {
|
|
23010
23010
|
!e && this.state === 2 && this.hideTooltip(), this.onBodyScrollEventCallback && (this.onBodyScrollEventCallback(), this.onBodyScrollEventCallback = void 0), this.onColumnMovedEventCallback && (this.onColumnMovedEventCallback(), this.onColumnMovedEventCallback = void 0), this.onDocumentKeyDownCallback && (this.onDocumentKeyDownCallback(), this.onDocumentKeyDownCallback = void 0), this.clearTimeouts(), this.state = 0, this.lastMouseEvent = null;
|
|
@@ -23034,7 +23034,7 @@ var Qv = class {
|
|
|
23034
23034
|
n == null || n.newAgStackInstance().then(s);
|
|
23035
23035
|
}
|
|
23036
23036
|
hideTooltip(e) {
|
|
23037
|
-
!e && this.isInteractingWithTooltip || (this.tooltipComp && (this.destroyTooltipComp(),
|
|
23037
|
+
!e && this.isInteractingWithTooltip || (this.tooltipComp && (this.destroyTooltipComp(), Fr = Date.now()), this.eventSvc.dispatchEvent({
|
|
23038
23038
|
type: "tooltipHide",
|
|
23039
23039
|
parentGui: this.tooltipCtrl.getGui()
|
|
23040
23040
|
}), e && (this.isInteractingWithTooltip = !1), this.setToDoNothing(!0));
|
|
@@ -23131,7 +23131,7 @@ var Qv = class {
|
|
|
23131
23131
|
lockService() {
|
|
23132
23132
|
Vo = !0, this.interactiveTooltipTimeoutId = window.setTimeout(() => {
|
|
23133
23133
|
this.unlockService(), this.setToDoNothing();
|
|
23134
|
-
},
|
|
23134
|
+
}, Dr);
|
|
23135
23135
|
}
|
|
23136
23136
|
unlockService() {
|
|
23137
23137
|
Vo = !1, this.clearInteractiveTimeout();
|
|
@@ -23612,7 +23612,7 @@ var lS = {
|
|
|
23612
23612
|
return;
|
|
23613
23613
|
const t = cS[e];
|
|
23614
23614
|
if (t) {
|
|
23615
|
-
|
|
23615
|
+
$(200, {
|
|
23616
23616
|
reasonOrId: `icon '${e}'`,
|
|
23617
23617
|
moduleName: t,
|
|
23618
23618
|
gridScoped: nn(),
|
|
@@ -23898,7 +23898,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
23898
23898
|
getParentRect() {
|
|
23899
23899
|
const e = X(this.beans);
|
|
23900
23900
|
let t = this.getPopupParent();
|
|
23901
|
-
return t === e.body ? t = e.documentElement : getComputedStyle(t).position === "static" && (t = t.offsetParent),
|
|
23901
|
+
return t === e.body ? t = e.documentElement : getComputedStyle(t).position === "static" && (t = t.offsetParent), Xr(t);
|
|
23902
23902
|
}
|
|
23903
23903
|
keepXYWithinBounds(e, t, o) {
|
|
23904
23904
|
const i = o === 0, s = i ? "clientHeight" : "clientWidth", n = i ? "top" : "left", r = i ? "height" : "width", a = i ? "scrollTop" : "scrollLeft", l = X(this.beans), d = l.documentElement, c = this.getPopupParent(), u = e.getBoundingClientRect(), h = c.getBoundingClientRect(), g = l.documentElement.getBoundingClientRect(), p = c === l.body, f = Math.ceil(u[r]);
|
|
@@ -23927,7 +23927,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
23927
23927
|
}
|
|
23928
23928
|
createPopupWrapper(e, t, o, i) {
|
|
23929
23929
|
const s = this.getPopupParent(), { environment: n, gos: r } = this.beans, a = Q({ tag: "div" });
|
|
23930
|
-
return n.applyThemeClasses(a), a.classList.add("ag-popup"), e.classList.add(r.get("enableRtl") ? "ag-rtl" : "ag-ltr", "ag-popup-child"), e.hasAttribute("role") || ze(e, "dialog"), o ? ro(e, o) : i && (e.id || (e.id = `popup-component-${No}`),
|
|
23930
|
+
return n.applyThemeClasses(a), a.classList.add("ag-popup"), e.classList.add(r.get("enableRtl") ? "ag-rtl" : "ag-ltr", "ag-popup-child"), e.hasAttribute("role") || ze(e, "dialog"), o ? ro(e, o) : i && (e.id || (e.id = `popup-component-${No}`), Ln(i, e.id)), a.appendChild(e), s.appendChild(a), t ? this.setAlwaysOnTop(e, !0) : this.bringPopupToFront(e), a;
|
|
23931
23931
|
}
|
|
23932
23932
|
handleThemeChange(e) {
|
|
23933
23933
|
if (e.themeChanged) {
|
|
@@ -23982,7 +23982,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
23982
23982
|
return i.stopAnchoringPromise = s, i.isAnchored = !0, s;
|
|
23983
23983
|
}
|
|
23984
23984
|
removePopupFromPopupList(e, t) {
|
|
23985
|
-
this.setAlignedStyles(e, null), this.setPopupPositionRelatedToElement(e, null), t &&
|
|
23985
|
+
this.setAlignedStyles(e, null), this.setPopupPositionRelatedToElement(e, null), t && Ln(t, null), this.popupList = this.popupList.filter((o) => o.element !== e);
|
|
23986
23986
|
}
|
|
23987
23987
|
keepPopupPositionedRelativeTo(e) {
|
|
23988
23988
|
const t = this.getPopupParent(), o = t.getBoundingClientRect(), { element: i, ePopup: s } = e, n = i.getBoundingClientRect(), r = (u) => parseInt(u.substring(0, u.length - 1), 10), a = (u, h) => {
|
|
@@ -24091,7 +24091,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24091
24091
|
h[0].scrollTop = h[1];
|
|
24092
24092
|
}
|
|
24093
24093
|
}
|
|
24094
|
-
},
|
|
24094
|
+
}, ql = {
|
|
24095
24095
|
moduleName: "Popup",
|
|
24096
24096
|
version: k,
|
|
24097
24097
|
beans: [mS]
|
|
@@ -24228,7 +24228,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24228
24228
|
createTooltipFeature(e, t) {
|
|
24229
24229
|
return this.beans.registry.createDynamicBean("tooltipFeature", !1, e, t);
|
|
24230
24230
|
}
|
|
24231
|
-
},
|
|
24231
|
+
}, Yl = {
|
|
24232
24232
|
moduleName: "Tooltip",
|
|
24233
24233
|
version: k,
|
|
24234
24234
|
beans: [vS],
|
|
@@ -24238,7 +24238,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24238
24238
|
userComponents: {
|
|
24239
24239
|
agTooltipComponent: Jv
|
|
24240
24240
|
},
|
|
24241
|
-
dependsOn: [
|
|
24241
|
+
dependsOn: [ql],
|
|
24242
24242
|
css: [wS]
|
|
24243
24243
|
}, SS = (
|
|
24244
24244
|
/*css*/
|
|
@@ -24276,7 +24276,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24276
24276
|
return !1;
|
|
24277
24277
|
}
|
|
24278
24278
|
setAriaLabel(e) {
|
|
24279
|
-
const t = this.getLocaleTextFunc(), o =
|
|
24279
|
+
const t = this.getLocaleTextFunc(), o = Ur(t, e), i = t("ariaToggleCellValue", "Press SPACE to toggle cell value");
|
|
24280
24280
|
this.eEditor.setInputAriaLabel(`${i} (${o})`);
|
|
24281
24281
|
}
|
|
24282
24282
|
getValidationElement(e) {
|
|
@@ -24346,7 +24346,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24346
24346
|
return RS;
|
|
24347
24347
|
}
|
|
24348
24348
|
getAgComponents() {
|
|
24349
|
-
return [
|
|
24349
|
+
return [ml];
|
|
24350
24350
|
}
|
|
24351
24351
|
init(e, t) {
|
|
24352
24352
|
var r, a;
|
|
@@ -24410,7 +24410,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24410
24410
|
return DS;
|
|
24411
24411
|
}
|
|
24412
24412
|
getAgComponents() {
|
|
24413
|
-
return [
|
|
24413
|
+
return [ml];
|
|
24414
24414
|
}
|
|
24415
24415
|
init(e, t) {
|
|
24416
24416
|
var r, a;
|
|
@@ -24681,7 +24681,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24681
24681
|
const e = this.eEditor, t = e.getValue(), o = M(t) && t.length || 0;
|
|
24682
24682
|
o && e.getInputElement().setSelectionRange(o, o);
|
|
24683
24683
|
}
|
|
24684
|
-
},
|
|
24684
|
+
}, Pr = class extends ki {
|
|
24685
24685
|
constructor() {
|
|
24686
24686
|
super(new OS(() => this.getLocaleTextFunc()));
|
|
24687
24687
|
}
|
|
@@ -24692,13 +24692,13 @@ function BS(e) {
|
|
|
24692
24692
|
function VS(e) {
|
|
24693
24693
|
return e.ctrlsSvc.getScrollFeature().getHScrollPosition();
|
|
24694
24694
|
}
|
|
24695
|
-
function
|
|
24695
|
+
function Zl(e, t, o = "auto") {
|
|
24696
24696
|
e.frameworkOverrides.wrapIncoming(
|
|
24697
24697
|
() => e.ctrlsSvc.getScrollFeature().ensureColumnVisible(t, o),
|
|
24698
24698
|
"ensureVisible"
|
|
24699
24699
|
);
|
|
24700
24700
|
}
|
|
24701
|
-
function
|
|
24701
|
+
function Ql(e, t, o) {
|
|
24702
24702
|
e.frameworkOverrides.wrapIncoming(
|
|
24703
24703
|
() => e.ctrlsSvc.getScrollFeature().ensureIndexVisible(t, o),
|
|
24704
24704
|
"ensureVisible"
|
|
@@ -24761,7 +24761,7 @@ function $S(e, t) {
|
|
|
24761
24761
|
}
|
|
24762
24762
|
if (!l.isCellEditable(c))
|
|
24763
24763
|
return;
|
|
24764
|
-
n == null &&
|
|
24764
|
+
n == null && Ql(e, s), Zl(e, i), r == null || r.startEditing(
|
|
24765
24765
|
{
|
|
24766
24766
|
rowNode: c,
|
|
24767
24767
|
column: l
|
|
@@ -24793,11 +24793,11 @@ var KS = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, jS =
|
|
|
24793
24793
|
if (e !== void 0)
|
|
24794
24794
|
return _e(e) || t && e.state === "editing";
|
|
24795
24795
|
};
|
|
24796
|
-
function
|
|
24796
|
+
function Xl(e, t, o = !1) {
|
|
24797
24797
|
var i;
|
|
24798
24798
|
return Ri((i = e.editModelSvc) == null ? void 0 : i.getEdit(t), o);
|
|
24799
24799
|
}
|
|
24800
|
-
function
|
|
24800
|
+
function Jl(e, t) {
|
|
24801
24801
|
const { editModelSvc: o } = e, { column: i, rowNode: s } = t;
|
|
24802
24802
|
if (e.gos.get("groupTotalRow") && !(s != null && s.footer))
|
|
24803
24803
|
return !1;
|
|
@@ -24805,7 +24805,7 @@ function Xl(e, t) {
|
|
|
24805
24805
|
if (Ri(o == null ? void 0 : o.getEdit({ rowNode: n, column: i })) || Ri(o == null ? void 0 : o.getEdit({ rowNode: n.pinnedSibling, column: i })))
|
|
24806
24806
|
return !0;
|
|
24807
24807
|
}
|
|
24808
|
-
function
|
|
24808
|
+
function ed(e, { rowNode: t, column: o }) {
|
|
24809
24809
|
var i;
|
|
24810
24810
|
if (t = t.pinnedSibling, !!t)
|
|
24811
24811
|
return Ri(
|
|
@@ -24826,7 +24826,7 @@ var qS = class extends E {
|
|
|
24826
24826
|
var s;
|
|
24827
24827
|
const { cellCtrl: e, editSvc: t, beans: o } = this;
|
|
24828
24828
|
if (t != null && t.isBatchEditing() && t.isEditing()) {
|
|
24829
|
-
const n =
|
|
24829
|
+
const n = Xl(o, e) || Jl(o, e) || ed(o, e);
|
|
24830
24830
|
this.applyBatchingStyle(n);
|
|
24831
24831
|
} else
|
|
24832
24832
|
this.applyBatchingStyle(!1);
|
|
@@ -24849,7 +24849,7 @@ var qS = class extends E {
|
|
|
24849
24849
|
if (!s && i.pinnedSibling && (i = i.pinnedSibling, s = t == null ? void 0 : t.getEditRow(i)), s) {
|
|
24850
24850
|
const a = Array.from(s.keys()).some((l) => {
|
|
24851
24851
|
const d = { rowNode: i, column: l };
|
|
24852
|
-
return
|
|
24852
|
+
return Xl(o, d, !0) || Jl(o, d) || ed(o, d);
|
|
24853
24853
|
});
|
|
24854
24854
|
this.applyStyle(n, a);
|
|
24855
24855
|
return;
|
|
@@ -24878,12 +24878,12 @@ var qS = class extends E {
|
|
|
24878
24878
|
}, XS = (e) => () => {
|
|
24879
24879
|
const t = new Set(e.colModel.getCols()), o = e.editModelSvc.getEditMap(!0), i = new Set(o.keys());
|
|
24880
24880
|
QS(e, ZS(e, i), t);
|
|
24881
|
-
}, JS = /* @__PURE__ */ new Set(["undo", "redo"]),
|
|
24881
|
+
}, JS = /* @__PURE__ */ new Set(["undo", "redo"]), td = {
|
|
24882
24882
|
paste: "ui",
|
|
24883
24883
|
rangeSvc: "ui",
|
|
24884
24884
|
fillHandle: "api",
|
|
24885
24885
|
cellClear: "api"
|
|
24886
|
-
}, eb = new Set(Object.keys(
|
|
24886
|
+
}, eb = new Set(Object.keys(td)), tb = /* @__PURE__ */ new Set([
|
|
24887
24887
|
"paste",
|
|
24888
24888
|
"rangeSvc",
|
|
24889
24889
|
"renderer",
|
|
@@ -24978,7 +24978,7 @@ var qS = class extends E {
|
|
|
24978
24978
|
var p, f, C;
|
|
24979
24979
|
const { event: o, cancel: i, source: s = "ui", suppressNavigateAfterEdit: n } = t || {}, { beans: r, model: a } = this;
|
|
24980
24980
|
if (eb.has(s))
|
|
24981
|
-
return this.isBatchEditing() ? (this.bulkRefresh(e), !1) : this.stopEditing(e, { ...t, source:
|
|
24981
|
+
return this.isBatchEditing() ? (this.bulkRefresh(e), !1) : this.stopEditing(e, { ...t, source: td[s] });
|
|
24982
24982
|
if (!(this.isEditing(e) || this.isBatchEditing() && a.hasEdits(e, pt)) || !this.strategy)
|
|
24983
24983
|
return !1;
|
|
24984
24984
|
const d = U(r, e);
|
|
@@ -25289,7 +25289,7 @@ var qS = class extends E {
|
|
|
25289
25289
|
allowedFocusTargetOnValidation(e) {
|
|
25290
25290
|
return U(this.beans, e);
|
|
25291
25291
|
}
|
|
25292
|
-
},
|
|
25292
|
+
}, od = class extends E {
|
|
25293
25293
|
postConstruct() {
|
|
25294
25294
|
var e, t;
|
|
25295
25295
|
this.model = this.beans.editModelSvc, this.editSvc = this.beans.editSvc, this.addManagedEventListeners({
|
|
@@ -25424,7 +25424,7 @@ var qS = class extends E {
|
|
|
25424
25424
|
destroy() {
|
|
25425
25425
|
this.cleanupEditors(), super.destroy();
|
|
25426
25426
|
}
|
|
25427
|
-
}, sb = class extends
|
|
25427
|
+
}, sb = class extends od {
|
|
25428
25428
|
constructor() {
|
|
25429
25429
|
super(...arguments), this.beanName = "fullRow", this.startedRows = [];
|
|
25430
25430
|
}
|
|
@@ -25542,7 +25542,7 @@ var qS = class extends E {
|
|
|
25542
25542
|
destroy() {
|
|
25543
25543
|
super.destroy(), this.rowNode = void 0, this.startedRows.length = 0;
|
|
25544
25544
|
}
|
|
25545
|
-
}, nb = class extends
|
|
25545
|
+
}, nb = class extends od {
|
|
25546
25546
|
constructor() {
|
|
25547
25547
|
super(...arguments), this.beanName = "singleCell";
|
|
25548
25548
|
}
|
|
@@ -25631,12 +25631,12 @@ var qS = class extends E {
|
|
|
25631
25631
|
singleCell: nb,
|
|
25632
25632
|
fullRow: sb
|
|
25633
25633
|
},
|
|
25634
|
-
dependsOn: [
|
|
25634
|
+
dependsOn: [ql, Yl],
|
|
25635
25635
|
css: [SS]
|
|
25636
25636
|
}, rb = {
|
|
25637
25637
|
moduleName: "TextEditor",
|
|
25638
25638
|
version: k,
|
|
25639
|
-
userComponents: { agCellEditor:
|
|
25639
|
+
userComponents: { agCellEditor: Pr, agTextCellEditor: Pr },
|
|
25640
25640
|
dependsOn: [ut]
|
|
25641
25641
|
}, ab = {
|
|
25642
25642
|
moduleName: "NumberEditor",
|
|
@@ -25707,13 +25707,13 @@ var Cb = {
|
|
|
25707
25707
|
return typeof e == "function" && (e = e()), e.map((i) => {
|
|
25708
25708
|
var n;
|
|
25709
25709
|
if (!i) {
|
|
25710
|
-
|
|
25710
|
+
$(18), t || $(20);
|
|
25711
25711
|
return;
|
|
25712
25712
|
}
|
|
25713
25713
|
if (this.isGridApi(i))
|
|
25714
25714
|
return i;
|
|
25715
25715
|
const s = i;
|
|
25716
|
-
return "current" in s ? (n = s.current) == null ? void 0 : n.api : (s.api ||
|
|
25716
|
+
return "current" in s ? (n = s.current) == null ? void 0 : n.api : (s.api || $(19), s.api);
|
|
25717
25717
|
}).filter((i) => !!i && !i.isDestroyed());
|
|
25718
25718
|
}
|
|
25719
25719
|
isGridApi(e) {
|
|
@@ -25850,7 +25850,7 @@ var Cb = {
|
|
|
25850
25850
|
moduleName: "AlignedGrids",
|
|
25851
25851
|
version: k,
|
|
25852
25852
|
beans: [mb],
|
|
25853
|
-
dependsOn: [
|
|
25853
|
+
dependsOn: [xl]
|
|
25854
25854
|
}, vb = "↑", Sb = "↓", bb = {
|
|
25855
25855
|
tag: "span",
|
|
25856
25856
|
children: [
|
|
@@ -26024,7 +26024,7 @@ function Ib(e, t, o) {
|
|
|
26024
26024
|
var i;
|
|
26025
26025
|
return (i = e.stateSvc) == null ? void 0 : i.setState(t, o);
|
|
26026
26026
|
}
|
|
26027
|
-
function
|
|
26027
|
+
function Tr(e) {
|
|
26028
26028
|
switch (e = { ...e }, e.version || (e.version = "32.1.0"), e.version) {
|
|
26029
26029
|
case "32.1.0":
|
|
26030
26030
|
e = Ab(e);
|
|
@@ -26056,7 +26056,7 @@ var kb = class extends E {
|
|
|
26056
26056
|
}
|
|
26057
26057
|
postConstruct() {
|
|
26058
26058
|
this.isClientSideRowModel = ie(this.gos);
|
|
26059
|
-
const e =
|
|
26059
|
+
const e = Tr(this.gos.get("initialState") ?? {}), t = e.partialColumnState;
|
|
26060
26060
|
delete e.partialColumnState, this.cachedState = e;
|
|
26061
26061
|
const o = this.suppressEventsAndDispatchInitEvent.bind(this);
|
|
26062
26062
|
this.beans.ctrlsSvc.whenReady(
|
|
@@ -26084,7 +26084,7 @@ var kb = class extends E {
|
|
|
26084
26084
|
return this.staleStateKeys.size && this.refreshStaleState(), this.cachedState;
|
|
26085
26085
|
}
|
|
26086
26086
|
setState(e, t) {
|
|
26087
|
-
const o =
|
|
26087
|
+
const o = Tr(e);
|
|
26088
26088
|
delete o.partialColumnState, this.cachedState = o, this.startSuppressEvents();
|
|
26089
26089
|
const i = "api", s = t ? new Set(t) : void 0;
|
|
26090
26090
|
this.setGridReadyState(o, i, s), this.setColumnsInitialisedState(o, i, !1, s), this.setRowCountState(o, i, s), setTimeout(() => {
|
|
@@ -26489,7 +26489,7 @@ var kb = class extends E {
|
|
|
26489
26489
|
const i = this.cachedState;
|
|
26490
26490
|
for (const s of Object.keys(t)) {
|
|
26491
26491
|
const n = t[s];
|
|
26492
|
-
|
|
26492
|
+
Mn(n, i[s]) || (o = !0);
|
|
26493
26493
|
}
|
|
26494
26494
|
this.cachedState = {
|
|
26495
26495
|
...i,
|
|
@@ -26498,7 +26498,7 @@ var kb = class extends E {
|
|
|
26498
26498
|
}
|
|
26499
26499
|
updateCachedState(e, t) {
|
|
26500
26500
|
const o = this.cachedState[e];
|
|
26501
|
-
this.setCachedStateValue(e, t),
|
|
26501
|
+
this.setCachedStateValue(e, t), Mn(t, o) || this.dispatchStateUpdateEvent([e]);
|
|
26502
26502
|
}
|
|
26503
26503
|
setCachedStateValue(e, t) {
|
|
26504
26504
|
this.cachedState = {
|
|
@@ -26553,8 +26553,8 @@ function Gb(e, t = {}) {
|
|
|
26553
26553
|
const o = t ? t.rowNodes : void 0;
|
|
26554
26554
|
e.frameworkOverrides.wrapIncoming(() => e.rowRenderer.redrawRows(o));
|
|
26555
26555
|
}
|
|
26556
|
-
function
|
|
26557
|
-
t && (i && t.parent && t.parent.level !== -1 &&
|
|
26556
|
+
function id(e, t, o, i, s) {
|
|
26557
|
+
t && (i && t.parent && t.parent.level !== -1 && id(e, t.parent, o, i, s), t.setExpanded(o, void 0, s));
|
|
26558
26558
|
}
|
|
26559
26559
|
function Hb(e, t) {
|
|
26560
26560
|
return e.rowModel.getRowNode(t);
|
|
@@ -26580,12 +26580,12 @@ function Wb(e, t) {
|
|
|
26580
26580
|
function zb(e) {
|
|
26581
26581
|
return e.rowModel.getRowCount();
|
|
26582
26582
|
}
|
|
26583
|
-
var
|
|
26583
|
+
var sd = {
|
|
26584
26584
|
moduleName: "RowApi",
|
|
26585
26585
|
version: k,
|
|
26586
26586
|
apiFunctions: {
|
|
26587
26587
|
redrawRows: Gb,
|
|
26588
|
-
setRowNodeExpanded:
|
|
26588
|
+
setRowNodeExpanded: id,
|
|
26589
26589
|
getRowNode: Hb,
|
|
26590
26590
|
addRenderedRowListener: Ob,
|
|
26591
26591
|
getRenderedNodes: Bb,
|
|
@@ -26601,8 +26601,8 @@ var id = {
|
|
|
26601
26601
|
apiFunctions: {
|
|
26602
26602
|
getVerticalPixelRange: BS,
|
|
26603
26603
|
getHorizontalPixelRange: VS,
|
|
26604
|
-
ensureColumnVisible:
|
|
26605
|
-
ensureIndexVisible:
|
|
26604
|
+
ensureColumnVisible: Zl,
|
|
26605
|
+
ensureIndexVisible: Ql,
|
|
26606
26606
|
ensureNodeVisible: NS
|
|
26607
26607
|
}
|
|
26608
26608
|
};
|
|
@@ -26670,7 +26670,7 @@ function Jb(e, t) {
|
|
|
26670
26670
|
var o, i;
|
|
26671
26671
|
typeof t == "number" ? (o = e.colAutosize) == null || o.sizeColumnsToFit(t, "api") : (i = e.colAutosize) == null || i.sizeColumnsToFitGridBody(t);
|
|
26672
26672
|
}
|
|
26673
|
-
function
|
|
26673
|
+
function nd({ colAutosize: e, visibleCols: t }, o, i) {
|
|
26674
26674
|
Array.isArray(o) ? e == null || e.autoSizeCols({ colKeys: o, skipHeader: i, source: "api" }) : e == null || e.autoSizeCols({
|
|
26675
26675
|
colKeys: o.colIds ?? t.allCols,
|
|
26676
26676
|
skipHeader: o.skipHeader,
|
|
@@ -26682,7 +26682,7 @@ function sd({ colAutosize: e, visibleCols: t }, o, i) {
|
|
|
26682
26682
|
}
|
|
26683
26683
|
function ey(e, t) {
|
|
26684
26684
|
var o;
|
|
26685
|
-
t && typeof t == "object" ?
|
|
26685
|
+
t && typeof t == "object" ? nd(e, t) : (o = e.colAutosize) == null || o.autoSizeAllColumns({ source: "api", skipHeader: t });
|
|
26686
26686
|
}
|
|
26687
26687
|
var ty = class extends E {
|
|
26688
26688
|
constructor() {
|
|
@@ -26928,10 +26928,10 @@ var iy = {
|
|
|
26928
26928
|
beans: [ty],
|
|
26929
26929
|
apiFunctions: {
|
|
26930
26930
|
sizeColumnsToFit: Jb,
|
|
26931
|
-
autoSizeColumns:
|
|
26931
|
+
autoSizeColumns: nd,
|
|
26932
26932
|
autoSizeAllColumns: ey
|
|
26933
26933
|
},
|
|
26934
|
-
dependsOn: [
|
|
26934
|
+
dependsOn: [El]
|
|
26935
26935
|
}, sy = (
|
|
26936
26936
|
/*css*/
|
|
26937
26937
|
".ag-row-pinned-source{background-color:var(--ag-pinned-source-row-background-color);color:var(--ag-pinned-source-row-text-color);font-weight:var(--ag-pinned-source-row-font-weight)}.ag-row-pinned-manual{background-color:var(--ag-pinned-row-background-color);color:var(--ag-pinned-row-text-color);font-weight:var(--ag-pinned-row-font-weight)}"
|
|
@@ -27120,7 +27120,7 @@ var cy = {
|
|
|
27120
27120
|
const { rowSpanSvc: t } = this.beans, o = t == null ? void 0 : t.getCellSpanByPosition(e);
|
|
27121
27121
|
if (!o)
|
|
27122
27122
|
return;
|
|
27123
|
-
const i = `${
|
|
27123
|
+
const i = `${rd(e.rowPinned)}Ctrls`, s = this[i].get(o.firstNode);
|
|
27124
27124
|
if (s)
|
|
27125
27125
|
return s.getAllCellCtrls().find((n) => n.column === e.column);
|
|
27126
27126
|
}
|
|
@@ -27137,7 +27137,7 @@ var cy = {
|
|
|
27137
27137
|
destroy() {
|
|
27138
27138
|
super.destroy(), this.destroyRowCtrls("top"), this.destroyRowCtrls("bottom"), this.destroyRowCtrls("center");
|
|
27139
27139
|
}
|
|
27140
|
-
},
|
|
27140
|
+
}, rd = (e) => e ?? "center", py = class {
|
|
27141
27141
|
constructor(e, t) {
|
|
27142
27142
|
this.col = e, this.firstNode = t, this.cellSpan = !0, this.spannedNodes = /* @__PURE__ */ new Set(), this.addSpannedNode(t);
|
|
27143
27143
|
}
|
|
@@ -27243,7 +27243,7 @@ var cy = {
|
|
|
27243
27243
|
return !!this.getCellSpan(e);
|
|
27244
27244
|
}
|
|
27245
27245
|
getCellSpan(e) {
|
|
27246
|
-
return this[`${
|
|
27246
|
+
return this[`${rd(e.rowPinned)}ValueNodeMap`].get(e);
|
|
27247
27247
|
}
|
|
27248
27248
|
}, Cy = class extends E {
|
|
27249
27249
|
constructor() {
|
|
@@ -27745,7 +27745,7 @@ var My = {
|
|
|
27745
27745
|
version: k,
|
|
27746
27746
|
beans: [Ly]
|
|
27747
27747
|
};
|
|
27748
|
-
const Nt = /* @__PURE__ */ Symbol("grid-context"),
|
|
27748
|
+
const Nt = /* @__PURE__ */ Symbol("grid-context"), ad = (e) => {
|
|
27749
27749
|
const t = e.getColumnState().filter((i) => i.sort != null), o = {};
|
|
27750
27750
|
return t.forEach((i, s) => o[i.colId] = s), t.sort((i, s) => {
|
|
27751
27751
|
const n = i.sortIndex, r = s.sortIndex;
|
|
@@ -27757,7 +27757,7 @@ const Nt = /* @__PURE__ */ Symbol("grid-context"), rd = (e) => {
|
|
|
27757
27757
|
} else return r == null ? -1 : 1;
|
|
27758
27758
|
}), t;
|
|
27759
27759
|
}, Hy = (e) => {
|
|
27760
|
-
const t =
|
|
27760
|
+
const t = ad(e), o = /* @__PURE__ */ new Map();
|
|
27761
27761
|
return t.forEach((i, s) => {
|
|
27762
27762
|
o.set(i.colId, s);
|
|
27763
27763
|
}), o;
|
|
@@ -27773,7 +27773,7 @@ class Vy {
|
|
|
27773
27773
|
R(this, "cache");
|
|
27774
27774
|
R(this, "_api");
|
|
27775
27775
|
R(this, "loadingDelay");
|
|
27776
|
-
R(this, "getSorts", () =>
|
|
27776
|
+
R(this, "getSorts", () => ad(this.api).map(
|
|
27777
27777
|
(t) => ({ colId: t.colId, sort: t.sort })
|
|
27778
27778
|
));
|
|
27779
27779
|
this.dataGetter = t, this.cache = o;
|
|
@@ -27801,7 +27801,7 @@ class Vy {
|
|
|
27801
27801
|
(n = (s = t.context) == null ? void 0 : s.resolve) == null || n.call(s);
|
|
27802
27802
|
return;
|
|
27803
27803
|
}
|
|
27804
|
-
if (this.loading = !0,
|
|
27804
|
+
if (this.loading = !0, Pd(this.dataGetter)) {
|
|
27805
27805
|
const c = this.dataGetter({
|
|
27806
27806
|
startRow: t.startRow,
|
|
27807
27807
|
endRow: t.endRow,
|
|
@@ -27825,7 +27825,7 @@ class Vy {
|
|
|
27825
27825
|
t.successCallback(this.dataGetter, this.dataGetter.length), this.loadData(), (d = (l = t.context) == null ? void 0 : l.resolve) == null || d.call(l);
|
|
27826
27826
|
}
|
|
27827
27827
|
}
|
|
27828
|
-
class
|
|
27828
|
+
class Ir {
|
|
27829
27829
|
constructor(t, o, i) {
|
|
27830
27830
|
R(this, "spanMatrix");
|
|
27831
27831
|
R(this, "rootId");
|
|
@@ -27953,7 +27953,7 @@ class To {
|
|
|
27953
27953
|
return { hostObject: s, hostArray: n };
|
|
27954
27954
|
}
|
|
27955
27955
|
}
|
|
27956
|
-
class
|
|
27956
|
+
class ld {
|
|
27957
27957
|
constructor(t, o, i) {
|
|
27958
27958
|
R(this, "actualRow");
|
|
27959
27959
|
R(this, "idMapper");
|
|
@@ -28103,7 +28103,7 @@ class ad {
|
|
|
28103
28103
|
return this._stopEditingImpl(t);
|
|
28104
28104
|
}
|
|
28105
28105
|
}
|
|
28106
|
-
class Rn extends
|
|
28106
|
+
class Rn extends ld {
|
|
28107
28107
|
constructor(o, i, s = !1) {
|
|
28108
28108
|
super(o, tt(o.data), i);
|
|
28109
28109
|
R(this, "transient");
|
|
@@ -28145,7 +28145,7 @@ class Rn extends ad {
|
|
|
28145
28145
|
return this.actualRow.update(this.idMapper(i), i), this.draft = Cs(i), this.transient = !1, this;
|
|
28146
28146
|
}
|
|
28147
28147
|
}
|
|
28148
|
-
class En extends
|
|
28148
|
+
class En extends ld {
|
|
28149
28149
|
constructor(o, i, s, n) {
|
|
28150
28150
|
super(o, o.data, n);
|
|
28151
28151
|
R(this, "editingColumn");
|
|
@@ -28277,7 +28277,7 @@ class So {
|
|
|
28277
28277
|
const t = [];
|
|
28278
28278
|
let o = this;
|
|
28279
28279
|
for (; o; )
|
|
28280
|
-
t.push(`${o.field}${
|
|
28280
|
+
t.push(`${o.field}${Gr(o.index) ? `[${o.index}]` : ""}`), o = o.parent;
|
|
28281
28281
|
return t.reverse().slice(1).join(".");
|
|
28282
28282
|
}
|
|
28283
28283
|
isArrayElement() {
|
|
@@ -28987,7 +28987,7 @@ class Li {
|
|
|
28987
28987
|
* 保留 public 方法防止外部还调, 调就 re-rebuild.
|
|
28988
28988
|
*/
|
|
28989
28989
|
buildSpan() {
|
|
28990
|
-
this.dataModel = new _y(this.id, this.data, this.columns), this.spanCache = new
|
|
28990
|
+
this.dataModel = new _y(this.id, this.data, this.columns), this.spanCache = new Ir(this.dataModel.leafCells, this.dataModel.spanMatrix, this.id);
|
|
28991
28991
|
}
|
|
28992
28992
|
/**
|
|
28993
28993
|
* 根的跨度数 (= tree.spanRow, 即 leaf 数)
|
|
@@ -29123,7 +29123,7 @@ class Li {
|
|
|
29123
29123
|
* Phase 6.4: dataModel.rebuild(data) 不传 columns (用 this.columns 构造时已传)
|
|
29124
29124
|
*/
|
|
29125
29125
|
update(t, o) {
|
|
29126
|
-
this.id = t, this.data = o, this.signature = fs(JSON.stringify(o)), this.dataModel.rebuild(o), this.spanCache = new
|
|
29126
|
+
this.id = t, this.data = o, this.signature = fs(JSON.stringify(o)), this.dataModel.rebuild(o), this.spanCache = new Ir(this.dataModel.leafCells, this.dataModel.spanMatrix, this.id);
|
|
29127
29127
|
}
|
|
29128
29128
|
isTransient() {
|
|
29129
29129
|
return !1;
|
|
@@ -29272,7 +29272,7 @@ class Wy {
|
|
|
29272
29272
|
* @param rows
|
|
29273
29273
|
*/
|
|
29274
29274
|
deleteRows(t) {
|
|
29275
|
-
const o = new Set(t.map((i) =>
|
|
29275
|
+
const o = new Set(t.map((i) => Fd(i) ? i : i.getId()));
|
|
29276
29276
|
this.rows = this.rows.filter((i) => !o.has(i.getId()));
|
|
29277
29277
|
for (const i of o) this.idSet.delete(i);
|
|
29278
29278
|
}
|
|
@@ -29371,7 +29371,7 @@ const Ky = (e, t, o, i, s) => {
|
|
|
29371
29371
|
const p = localStorage.getItem(g);
|
|
29372
29372
|
if (!(!p || p === "undefined"))
|
|
29373
29373
|
return JSON.parse(p);
|
|
29374
|
-
}, c =
|
|
29374
|
+
}, c = Td(() => {
|
|
29375
29375
|
const g = l(s);
|
|
29376
29376
|
localStorage.setItem(g, JSON.stringify(o.value.getColumnState()));
|
|
29377
29377
|
}, 200), u = async () => {
|
|
@@ -29385,7 +29385,7 @@ const Ky = (e, t, o, i, s) => {
|
|
|
29385
29385
|
);
|
|
29386
29386
|
o.value.applyColumnState({ state: f, applyOrder: !0 }), a.value = !0;
|
|
29387
29387
|
}
|
|
29388
|
-
}, h = () =>
|
|
29388
|
+
}, h = () => Id(
|
|
29389
29389
|
o.value.getAllDisplayedVirtualColumns().map((g) => g.getActualWidth())
|
|
29390
29390
|
);
|
|
29391
29391
|
return { storeGridState: c, restoreGridState: u, resetGridState: () => {
|
|
@@ -29504,7 +29504,7 @@ const Ky = (e, t, o, i, s) => {
|
|
|
29504
29504
|
}, Yy = {
|
|
29505
29505
|
"cell-span": ({ data: e, column: t }) => e.getRowSpan(t) > 0,
|
|
29506
29506
|
"cell-span-hide": ({ data: e, column: t }) => e.getRowSpan(t) === 0
|
|
29507
|
-
},
|
|
29507
|
+
}, Ar = (e, t) => ({ ...e, ...t ?? {} });
|
|
29508
29508
|
class bo {
|
|
29509
29509
|
constructor(t, o, i, s = [], n) {
|
|
29510
29510
|
R(this, "context");
|
|
@@ -29534,6 +29534,13 @@ class bo {
|
|
|
29534
29534
|
* 加载失败的回调, 由 adapter 注入错误提示方式
|
|
29535
29535
|
*/
|
|
29536
29536
|
R(this, "onError");
|
|
29537
|
+
/**
|
|
29538
|
+
* 第一页加载完成时同步触发 (useGrid 内部包装 nextTick 后调 props.onFirstPageLoaded)
|
|
29539
|
+
*
|
|
29540
|
+
* 入参: 第一页 successCallback 的 filtered 数据 (去重后)
|
|
29541
|
+
* 业务场景: 业务在回调里 insertRows 已选/预置, 避免被 setRows 覆盖
|
|
29542
|
+
*/
|
|
29543
|
+
R(this, "onFirstPageLoaded");
|
|
29537
29544
|
this.pageNum = t, this.pageSize = o, this.sortModel = s, this.startRow = (t - 1) * o, this.endRow = this.startRow + this.pageSize, this.dataCache = i, this.onError = n;
|
|
29538
29545
|
}
|
|
29539
29546
|
static from(t, o, i, s) {
|
|
@@ -29554,9 +29561,10 @@ class bo {
|
|
|
29554
29561
|
(t = this.onError) == null || t.call(this, "表格数据加载失败,请重试");
|
|
29555
29562
|
}
|
|
29556
29563
|
successCallback(t) {
|
|
29564
|
+
var i;
|
|
29557
29565
|
(Qo(t) || t.length < this.pageSize) && (this.dataCache.isFinished = !0);
|
|
29558
|
-
const o = (t ?? []).filter((
|
|
29559
|
-
this.pageNum === 1 ? this.dataCache.setRows(o.map((
|
|
29566
|
+
const o = (t ?? []).filter((s) => !this.dataCache.hasRowData(s));
|
|
29567
|
+
this.pageNum === 1 ? this.dataCache.setRows(o.map((s) => this.dataCache.createRow(s))) : this.dataCache.appendRows(o.map((s) => this.dataCache.createRow(s))), this.dataCache.pageNum = this.pageNum, this.pageNum === 1 && ((i = this.onFirstPageLoaded) == null || i.call(this, t ?? []));
|
|
29560
29568
|
}
|
|
29561
29569
|
}
|
|
29562
29570
|
const Zy = (e) => {
|
|
@@ -29644,7 +29652,7 @@ class Qy {
|
|
|
29644
29652
|
});
|
|
29645
29653
|
}
|
|
29646
29654
|
}
|
|
29647
|
-
const
|
|
29655
|
+
const dd = (e, t) => {
|
|
29648
29656
|
if (t.length === 0) return [];
|
|
29649
29657
|
const o = new Set(t), i = [];
|
|
29650
29658
|
return e.forEachNode((s) => {
|
|
@@ -29652,9 +29660,9 @@ const ld = (e, t) => {
|
|
|
29652
29660
|
n && typeof n.getId == "function" && o.has(n.getId()) && i.push(s);
|
|
29653
29661
|
}), i;
|
|
29654
29662
|
}, Xy = (e, t, o) => {
|
|
29655
|
-
!e || t.length === 0 || e.setNodesSelected({ nodes:
|
|
29663
|
+
!e || t.length === 0 || e.setNodesSelected({ nodes: dd(e, t), newValue: !0, source: o });
|
|
29656
29664
|
}, Jy = (e, t, o) => {
|
|
29657
|
-
!e || t.length === 0 || e.setNodesSelected({ nodes:
|
|
29665
|
+
!e || t.length === 0 || e.setNodesSelected({ nodes: dd(e, t), newValue: !1, source: o });
|
|
29658
29666
|
}, eR = (e, t) => {
|
|
29659
29667
|
var F;
|
|
29660
29668
|
const o = V(), i = V(), s = V({
|
|
@@ -29689,10 +29697,10 @@ const ld = (e, t) => {
|
|
|
29689
29697
|
}, w = async (P, H = 0) => {
|
|
29690
29698
|
c.value.insertRows(P, H), m();
|
|
29691
29699
|
}, S = (P) => c.value.getRows().some((H) => H.getId() === P.getId()), v = () => c.value.getRows(), b = () => {
|
|
29692
|
-
var
|
|
29700
|
+
var _, ne;
|
|
29693
29701
|
const P = i.value.querySelector(".ag-body-viewport"), H = Number.parseFloat(
|
|
29694
29702
|
P.querySelector(".ag-center-cols-container").style.height
|
|
29695
|
-
), G = i.value.querySelector(".ag-header").offsetHeight, N = (ne = (
|
|
29703
|
+
), G = i.value.querySelector(".ag-header").offsetHeight, N = (ne = (_ = i.value.querySelector(".ag-overlay-no-rows-wrapper")) == null ? void 0 : _.querySelector(
|
|
29696
29704
|
".el-empty"
|
|
29697
29705
|
)) == null ? void 0 : ne.offsetHeight;
|
|
29698
29706
|
H < r.value ? s.value.height = `${G + (N || H) + (e.footerHeight ? 2 : 11)}px` : s.value.height.includes("100%") || (s.value.height = `calc(100% - ${e.footerHeight ?? 0}px)`);
|
|
@@ -29707,7 +29715,12 @@ const ld = (e, t) => {
|
|
|
29707
29715
|
c.value,
|
|
29708
29716
|
e.onError
|
|
29709
29717
|
);
|
|
29710
|
-
G.
|
|
29718
|
+
G.onFirstPageLoaded = (N) => {
|
|
29719
|
+
An(() => {
|
|
29720
|
+
var _;
|
|
29721
|
+
return (_ = e.onFirstPageLoaded) == null ? void 0 : _.call(e, N);
|
|
29722
|
+
});
|
|
29723
|
+
}, G.context = {
|
|
29711
29724
|
resolve: P,
|
|
29712
29725
|
reject: H
|
|
29713
29726
|
}, u.value.getRows(G), u.value.api.getDisplayedRowCount() > 0 && u.value.api.ensureIndexVisible(0);
|
|
@@ -29725,7 +29738,7 @@ const ld = (e, t) => {
|
|
|
29725
29738
|
selectionColumnDef: {
|
|
29726
29739
|
pinned: "left",
|
|
29727
29740
|
rowSpan: ({ data: G, column: N }) => G.getRowSpan(N),
|
|
29728
|
-
cellClassRules:
|
|
29741
|
+
cellClassRules: Ar(
|
|
29729
29742
|
qy,
|
|
29730
29743
|
(P = e.gridOptions) == null ? void 0 : P.rowClassRules
|
|
29731
29744
|
)
|
|
@@ -29744,7 +29757,7 @@ const ld = (e, t) => {
|
|
|
29744
29757
|
reload: m
|
|
29745
29758
|
},
|
|
29746
29759
|
onRowDataUpdated() {
|
|
29747
|
-
|
|
29760
|
+
An(() => {
|
|
29748
29761
|
b();
|
|
29749
29762
|
});
|
|
29750
29763
|
},
|
|
@@ -29752,7 +29765,7 @@ const ld = (e, t) => {
|
|
|
29752
29765
|
rowSpan({ column: G, data: N }) {
|
|
29753
29766
|
return N.getRowSpan(G);
|
|
29754
29767
|
},
|
|
29755
|
-
cellClassRules:
|
|
29768
|
+
cellClassRules: Ar(
|
|
29756
29769
|
Yy,
|
|
29757
29770
|
(H = e.gridOptions) == null ? void 0 : H.rowClassRules
|
|
29758
29771
|
),
|
|
@@ -29786,8 +29799,8 @@ const ld = (e, t) => {
|
|
|
29786
29799
|
// 不触发 rowChange 保存老 cell, 也不创建新 CellEditableRow
|
|
29787
29800
|
isCellEditable: (G, N) => {
|
|
29788
29801
|
var ne;
|
|
29789
|
-
const
|
|
29790
|
-
return typeof (
|
|
29802
|
+
const _ = (ne = G.getColDef) == null ? void 0 : ne.call(G);
|
|
29803
|
+
return typeof (_ == null ? void 0 : _.editable) == "function" ? _.editable({ column: G, colDef: _, node: N, data: N.data }) : (_ == null ? void 0 : _.editable) !== !1;
|
|
29791
29804
|
}
|
|
29792
29805
|
}),
|
|
29793
29806
|
onBodyScroll(G) {
|
|
@@ -29941,7 +29954,7 @@ class oR extends E {
|
|
|
29941
29954
|
}
|
|
29942
29955
|
getColumn(o) {
|
|
29943
29956
|
var i;
|
|
29944
|
-
return ((i = this.columns) == null ? void 0 : i.list.find((s) =>
|
|
29957
|
+
return ((i = this.columns) == null ? void 0 : i.list.find((s) => Da(s, o))) ?? null;
|
|
29945
29958
|
}
|
|
29946
29959
|
getColumns() {
|
|
29947
29960
|
var o;
|
|
@@ -29979,7 +29992,7 @@ class oR extends E {
|
|
|
29979
29992
|
// overrides
|
|
29980
29993
|
...l,
|
|
29981
29994
|
// non-overridable properties
|
|
29982
|
-
colId:
|
|
29995
|
+
colId: ya,
|
|
29983
29996
|
chartDataType: "excluded"
|
|
29984
29997
|
};
|
|
29985
29998
|
}
|
|
@@ -30035,11 +30048,11 @@ class oR extends E {
|
|
|
30035
30048
|
}
|
|
30036
30049
|
c && be(c, r);
|
|
30037
30050
|
};
|
|
30038
|
-
((d = this.beans.rowNumbersSvc) != null && d.getColumn(
|
|
30051
|
+
((d = this.beans.rowNumbersSvc) != null && d.getColumn(Ra) ? 2 : 1) === n && a();
|
|
30039
30052
|
}
|
|
30040
30053
|
}
|
|
30041
30054
|
const Gi = "34.1.1";
|
|
30042
|
-
function
|
|
30055
|
+
function Mr(e) {
|
|
30043
30056
|
const t = e.get("rowSelection");
|
|
30044
30057
|
return typeof t == "object" && t.masterSelects || "self";
|
|
30045
30058
|
}
|
|
@@ -30050,7 +30063,7 @@ function iR(e, t = !0) {
|
|
|
30050
30063
|
const o = e.get("rowSelection");
|
|
30051
30064
|
return typeof o != "object" ? t ? "all" : void 0 : o.mode === "multiRow" ? o.selectAll : "all";
|
|
30052
30065
|
}
|
|
30053
|
-
function
|
|
30066
|
+
function cd(e, t) {
|
|
30054
30067
|
return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
|
|
30055
30068
|
}
|
|
30056
30069
|
function ge(e, t, o, i) {
|
|
@@ -30088,7 +30101,7 @@ function ge(e, t, o, i) {
|
|
|
30088
30101
|
function gs(e) {
|
|
30089
30102
|
return (e == null ? void 0 : e.hideDisabledCheckboxes) ?? !1;
|
|
30090
30103
|
}
|
|
30091
|
-
function
|
|
30104
|
+
function ud(e) {
|
|
30092
30105
|
const t = e.get("rowSelection") ?? "single";
|
|
30093
30106
|
if (typeof t == "string") {
|
|
30094
30107
|
const o = e.get("suppressRowClickSelection"), i = e.get("suppressRowDeselection");
|
|
@@ -30097,11 +30110,11 @@ function cd(e) {
|
|
|
30097
30110
|
return t.mode === "singleRow" || t.mode === "multiRow" ? t.enableClickSelection ?? !1 : !1;
|
|
30098
30111
|
}
|
|
30099
30112
|
function sR(e) {
|
|
30100
|
-
const t =
|
|
30113
|
+
const t = ud(e);
|
|
30101
30114
|
return t === !0 || t === "enableDeselection";
|
|
30102
30115
|
}
|
|
30103
30116
|
function nR(e) {
|
|
30104
|
-
const t =
|
|
30117
|
+
const t = ud(e);
|
|
30105
30118
|
return t === !0 || t === "enableSelection";
|
|
30106
30119
|
}
|
|
30107
30120
|
function rR(e) {
|
|
@@ -30165,7 +30178,7 @@ class gR extends j {
|
|
|
30165
30178
|
this.showOrHideSelect();
|
|
30166
30179
|
}
|
|
30167
30180
|
onSelectionChanged() {
|
|
30168
|
-
const o = this.getLocaleTextFunc(), { rowNode: i, eCheckbox: s } = this, n = i.isSelected(), r =
|
|
30181
|
+
const o = this.getLocaleTextFunc(), { rowNode: i, eCheckbox: s } = this, n = i.isSelected(), r = cd(o, n), [a, l] = i.selectable ? ["ariaRowToggleSelection", "Press Space to toggle row selection"] : ["ariaRowSelectionDisabled", "Row Selection is disabled for this row"], d = o(a, l);
|
|
30169
30182
|
s.setValue(n, !0), s.setInputAriaLabel(`${d} (${r})`);
|
|
30170
30183
|
}
|
|
30171
30184
|
init(o) {
|
|
@@ -30366,7 +30379,7 @@ class fR extends E {
|
|
|
30366
30379
|
}
|
|
30367
30380
|
setComp(o) {
|
|
30368
30381
|
this.headerCellCtrl = o;
|
|
30369
|
-
const i = this.createManagedBean(new
|
|
30382
|
+
const i = this.createManagedBean(new fl());
|
|
30370
30383
|
this.cbSelectAll = i, i.addCss("ag-header-select-all"), ze(i.getGui(), "presentation"), this.showOrHideSelectAll();
|
|
30371
30384
|
const s = this.updateStateOfCheckbox.bind(this);
|
|
30372
30385
|
this.addManagedEventListeners({
|
|
@@ -30397,7 +30410,7 @@ class fR extends E {
|
|
|
30397
30410
|
s.setDisabled(!r), this.refreshSelectAllLabel(), this.processingEventFromCheckbox = !1;
|
|
30398
30411
|
}
|
|
30399
30412
|
refreshSelectAllLabel(o = !1) {
|
|
30400
|
-
const i = this.getLocaleTextFunc(), { headerCellCtrl: s, cbSelectAll: n, cbSelectAllVisible: r } = this, a = n.getValue(), l =
|
|
30413
|
+
const i = this.getLocaleTextFunc(), { headerCellCtrl: s, cbSelectAll: n, cbSelectAllVisible: r } = this, a = n.getValue(), l = cd(i, a), d = i("ariaRowSelectAll", "Press Space to toggle all rows selection");
|
|
30401
30414
|
s.setAriaDescriptionProperty(
|
|
30402
30415
|
"selectAll",
|
|
30403
30416
|
r ? `${d} (${l})` : null
|
|
@@ -30425,7 +30438,7 @@ class fR extends E {
|
|
|
30425
30438
|
*/
|
|
30426
30439
|
isCheckboxSelection() {
|
|
30427
30440
|
const { column: o, gos: i, beans: s } = this, n = typeof i.get("rowSelection") == "object" ? "headerCheckbox" : "headerCheckboxSelection";
|
|
30428
|
-
return
|
|
30441
|
+
return hd(s, o) && this.checkRightRowModelType(n) && this.checkSelectionType(n);
|
|
30429
30442
|
}
|
|
30430
30443
|
getSelectAllMode() {
|
|
30431
30444
|
const o = iR(this.gos, !1);
|
|
@@ -30438,11 +30451,11 @@ class fR extends E {
|
|
|
30438
30451
|
super.destroy(), this.cbSelectAll = void 0, this.headerCellCtrl = void 0;
|
|
30439
30452
|
}
|
|
30440
30453
|
}
|
|
30441
|
-
function
|
|
30454
|
+
function hd({ gos: e, selectionColSvc: t }, o) {
|
|
30442
30455
|
const i = e.get("rowSelection"), s = o.getColDef(), { headerCheckboxSelection: n } = s;
|
|
30443
30456
|
let r = !1;
|
|
30444
30457
|
if (typeof i == "object") {
|
|
30445
|
-
const a = ct(o), l =
|
|
30458
|
+
const a = ct(o), l = xa(o);
|
|
30446
30459
|
(ni(i) === "autoGroupColumn" && l || a && (t != null && t.isSelectionColumnEnabled())) && (r = $o(i));
|
|
30447
30460
|
} else
|
|
30448
30461
|
typeof n == "function" ? r = n(B(e, { column: o, colDef: s })) : r = !!n;
|
|
@@ -30471,7 +30484,7 @@ class CR extends E {
|
|
|
30471
30484
|
return new gR();
|
|
30472
30485
|
}
|
|
30473
30486
|
createSelectAllFeature(o) {
|
|
30474
|
-
if (
|
|
30487
|
+
if (hd(this.beans, o))
|
|
30475
30488
|
return new fR(o);
|
|
30476
30489
|
}
|
|
30477
30490
|
isMultiSelect() {
|
|
@@ -30662,11 +30675,11 @@ class mR extends CR {
|
|
|
30662
30675
|
postConstruct() {
|
|
30663
30676
|
super.postConstruct();
|
|
30664
30677
|
const { gos: o } = this;
|
|
30665
|
-
this.mode = ri(o), this.groupSelectsDescendants = go(o), this.groupSelectsFiltered = ai(o) === "filteredDescendants", this.masterSelectsDetail =
|
|
30678
|
+
this.mode = ri(o), this.groupSelectsDescendants = go(o), this.groupSelectsFiltered = ai(o) === "filteredDescendants", this.masterSelectsDetail = Mr(o) === "detail", this.addManagedPropertyListeners(
|
|
30666
30679
|
["groupSelectsChildren", "groupSelectsFiltered", "rowSelection"],
|
|
30667
30680
|
() => {
|
|
30668
30681
|
const i = go(o), s = ri(o), n = ai(o) === "filteredDescendants";
|
|
30669
|
-
this.masterSelectsDetail =
|
|
30682
|
+
this.masterSelectsDetail = Mr(o) === "detail", (i !== this.groupSelectsDescendants || n !== this.groupSelectsFiltered || s !== this.mode) && (this.deselectAllRowNodes({ source: "api" }), this.groupSelectsDescendants = i, this.groupSelectsFiltered = n, this.mode = s);
|
|
30670
30683
|
}
|
|
30671
30684
|
), this.addManagedEventListeners({ rowSelected: this.onRowSelected.bind(this) });
|
|
30672
30685
|
}
|
|
@@ -30876,7 +30889,7 @@ class mR extends CR {
|
|
|
30876
30889
|
};
|
|
30877
30890
|
if (i === "currentPage" || i === "filtered") {
|
|
30878
30891
|
if (!s) {
|
|
30879
|
-
|
|
30892
|
+
$(102);
|
|
30880
30893
|
return;
|
|
30881
30894
|
}
|
|
30882
30895
|
this.getNodesToSelect(i).forEach(r);
|
|
@@ -30896,7 +30909,7 @@ class mR extends CR {
|
|
|
30896
30909
|
}
|
|
30897
30910
|
getSelectAllState(o) {
|
|
30898
30911
|
const { selectedCount: i, notSelectedCount: s } = this.getSelectedCounts(o);
|
|
30899
|
-
return
|
|
30912
|
+
return gd(i, s) ?? null;
|
|
30900
30913
|
}
|
|
30901
30914
|
hasNodesToSelect(o) {
|
|
30902
30915
|
return this.getNodesToSelect(o).filter((i) => i.selectable).length > 0;
|
|
@@ -30963,7 +30976,7 @@ class mR extends CR {
|
|
|
30963
30976
|
}
|
|
30964
30977
|
setSelectionState(o, i, s) {
|
|
30965
30978
|
if (o || (o = []), !Array.isArray(o)) {
|
|
30966
|
-
|
|
30979
|
+
$(103);
|
|
30967
30980
|
return;
|
|
30968
30981
|
}
|
|
30969
30982
|
const n = new Set(o), r = [];
|
|
@@ -31085,9 +31098,9 @@ function wR(e) {
|
|
|
31085
31098
|
let t = 0, o = 0;
|
|
31086
31099
|
return e.forEachNode((i) => {
|
|
31087
31100
|
i.isSelected() ? t++ : i.selectable && o++;
|
|
31088
|
-
}),
|
|
31101
|
+
}), gd(t, o);
|
|
31089
31102
|
}
|
|
31090
|
-
function
|
|
31103
|
+
function gd(e, t) {
|
|
31091
31104
|
if (e === 0 && t === 0)
|
|
31092
31105
|
return !1;
|
|
31093
31106
|
if (!(e > 0 && t > 0))
|
|
@@ -31303,9 +31316,9 @@ class RR extends E {
|
|
|
31303
31316
|
if (o) {
|
|
31304
31317
|
const a = o({ data: i, level: 0 });
|
|
31305
31318
|
if (s = this.allNodesMap[a], !s)
|
|
31306
|
-
return
|
|
31319
|
+
return $(4, { id: a }), null;
|
|
31307
31320
|
} else if (s = (r = (n = this.rootNode) == null ? void 0 : n.allLeafChildren) == null ? void 0 : r.find((a) => a.data === i), !s)
|
|
31308
|
-
return
|
|
31321
|
+
return $(5, { data: i }), null;
|
|
31309
31322
|
return s || null;
|
|
31310
31323
|
}
|
|
31311
31324
|
}
|
|
@@ -31346,7 +31359,7 @@ function DR(e) {
|
|
|
31346
31359
|
i.setFirstChild(s), i.lastChild !== n && (i.lastChild = n, i.dispatchRowEvent("lastChildChanged")), i.childIndex !== o && (i.childIndex = o, i.dispatchRowEvent("childIndexChanged"));
|
|
31347
31360
|
}
|
|
31348
31361
|
}
|
|
31349
|
-
function
|
|
31362
|
+
function pd(e) {
|
|
31350
31363
|
e.sibling && (e.sibling.childrenAfterSort = e.childrenAfterSort), DR(e);
|
|
31351
31364
|
}
|
|
31352
31365
|
class FR extends E {
|
|
@@ -31387,10 +31400,10 @@ class FR extends E {
|
|
|
31387
31400
|
const H = ((F = (D = u == null ? void 0 : u.columns) == null ? void 0 : D[b.level + 1]) == null ? void 0 : F.getSort()) === null, G = b.childrenAfterAggFilter.slice(0);
|
|
31388
31401
|
if (b.childrenAfterSort && !H) {
|
|
31389
31402
|
const N = {};
|
|
31390
|
-
b.childrenAfterSort.forEach((
|
|
31391
|
-
N[
|
|
31403
|
+
b.childrenAfterSort.forEach((_, ne) => {
|
|
31404
|
+
N[_.id] = ne;
|
|
31392
31405
|
}), G.sort(
|
|
31393
|
-
(
|
|
31406
|
+
(_, ne) => (N[_.id] ?? 0) - (N[ne.id] ?? 0)
|
|
31394
31407
|
);
|
|
31395
31408
|
}
|
|
31396
31409
|
L = G;
|
|
@@ -31401,7 +31414,7 @@ class FR extends E {
|
|
|
31401
31414
|
a,
|
|
31402
31415
|
i
|
|
31403
31416
|
) : L = b.childrenAfterAggFilter.slice(0);
|
|
31404
|
-
if (S || (S = ((P = b.childrenAfterSort) == null ? void 0 : P[0]) !== L[0]), b.childrenAfterSort = L,
|
|
31417
|
+
if (S || (S = ((P = b.childrenAfterSort) == null ? void 0 : P[0]) !== L[0]), b.childrenAfterSort = L, pd(b), w) {
|
|
31405
31418
|
const H = { nodes: b.childrenAfterSort };
|
|
31406
31419
|
w(H);
|
|
31407
31420
|
}
|
|
@@ -31784,7 +31797,7 @@ class IR extends E {
|
|
|
31784
31797
|
let s = 0, n = i.length - 1;
|
|
31785
31798
|
if (o <= 0)
|
|
31786
31799
|
return 0;
|
|
31787
|
-
if (
|
|
31800
|
+
if (z(i).rowTop <= o)
|
|
31788
31801
|
return i.length - 1;
|
|
31789
31802
|
let r = -1, a = -1;
|
|
31790
31803
|
for (; ; ) {
|
|
@@ -31890,7 +31903,7 @@ class IR extends E {
|
|
|
31890
31903
|
changedRowNodes: o,
|
|
31891
31904
|
changedPath: i
|
|
31892
31905
|
}) : i.forEachChangedNodeDepthFirst((s) => {
|
|
31893
|
-
s.childrenAfterSort = s.childrenAfterAggFilter.slice(0),
|
|
31906
|
+
s.childrenAfterSort = s.childrenAfterAggFilter.slice(0), pd(s);
|
|
31894
31907
|
});
|
|
31895
31908
|
}
|
|
31896
31909
|
doRowGrouping(o) {
|
|
@@ -32035,7 +32048,7 @@ class IR extends E {
|
|
|
32035
32048
|
return this.rowCountReady;
|
|
32036
32049
|
}
|
|
32037
32050
|
destroy() {
|
|
32038
|
-
super.destroy(), this.started = !1, this.rootNode = null, this.nodeManager = null, this.rowDataTransactionBatch = null, this.orderedStages =
|
|
32051
|
+
super.destroy(), this.started = !1, this.rootNode = null, this.nodeManager = null, this.rowDataTransactionBatch = null, this.orderedStages = _n, this.rowsToDisplay = _n;
|
|
32039
32052
|
}
|
|
32040
32053
|
/**
|
|
32041
32054
|
* @deprecated v33.1
|
|
@@ -32113,7 +32126,7 @@ const WR = {
|
|
|
32113
32126
|
version: Gi,
|
|
32114
32127
|
rowModels: ["clientSide"],
|
|
32115
32128
|
beans: [ER, IR, FR],
|
|
32116
|
-
dependsOn: [
|
|
32129
|
+
dependsOn: [$l]
|
|
32117
32130
|
}, zR = {
|
|
32118
32131
|
moduleName: "ClientSideRowModelApi",
|
|
32119
32132
|
version: Gi,
|
|
@@ -32135,7 +32148,7 @@ const WR = {
|
|
|
32135
32148
|
class yo {
|
|
32136
32149
|
static getComponentDefinition(t, o) {
|
|
32137
32150
|
let i;
|
|
32138
|
-
return typeof t == "string" ? i = this.searchForComponentInstance(o, t) : i = { extends:
|
|
32151
|
+
return typeof t == "string" ? i = this.searchForComponentInstance(o, t) : i = { extends: W({ ...t }) }, i || $(114, { component: t }), i.extends ? (i.extends.setup && (i.setup = i.extends.setup), i.extends.props = this.addParamsToProps(i.extends.props)) : i.props = this.addParamsToProps(i.props), i;
|
|
32139
32152
|
}
|
|
32140
32153
|
static addParamsToProps(t) {
|
|
32141
32154
|
return !t || Array.isArray(t) && t.indexOf("params") === -1 ? t = ["params", ...t || []] : typeof t == "object" && !t.params && (t.params = {
|
|
@@ -32198,7 +32211,7 @@ class yo {
|
|
|
32198
32211
|
}
|
|
32199
32212
|
a = a.$parent;
|
|
32200
32213
|
}
|
|
32201
|
-
return n || Wt.options && Wt.options.components && Wt.options.components[o] && (n = Wt.options.components[o]), !n && !s ? (
|
|
32214
|
+
return n || Wt.options && Wt.options.components && Wt.options.components[o] && (n = Wt.options.components[o]), !n && !s ? ($(114, { component: o }), null) : n;
|
|
32202
32215
|
}
|
|
32203
32216
|
}
|
|
32204
32217
|
var $R = Object.defineProperty, UR = (e, t, o) => t in e ? $R(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, so = (e, t, o) => UR(e, typeof t != "symbol" ? t + "" : t, o);
|
|
@@ -32269,7 +32282,7 @@ class jR {
|
|
|
32269
32282
|
}
|
|
32270
32283
|
}
|
|
32271
32284
|
var qR = Object.defineProperty, YR = (e, t, o) => t in e ? qR(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, ZR = (e, t, o) => YR(e, t + "", o);
|
|
32272
|
-
class QR extends
|
|
32285
|
+
class QR extends wl {
|
|
32273
32286
|
constructor(t) {
|
|
32274
32287
|
super("vue"), ZR(this, "parent"), this.parent = t;
|
|
32275
32288
|
}
|
|
@@ -32755,7 +32768,7 @@ function qt(e) {
|
|
|
32755
32768
|
};
|
|
32756
32769
|
return o(e);
|
|
32757
32770
|
}
|
|
32758
|
-
const tE = /* @__PURE__ */
|
|
32771
|
+
const tE = /* @__PURE__ */ W({
|
|
32759
32772
|
__name: "AgGridVue",
|
|
32760
32773
|
props: Vd({
|
|
32761
32774
|
gridOptions: null,
|
|
@@ -33244,7 +33257,7 @@ const tE = /* @__PURE__ */ _({
|
|
|
33244
33257
|
}
|
|
33245
33258
|
}, L = () => Object.create(Yt().proxy._provided);
|
|
33246
33259
|
return js(() => {
|
|
33247
|
-
Lt(
|
|
33260
|
+
Lt(sd, void 0, !0);
|
|
33248
33261
|
const D = new KR(Yt(), L()), F = {
|
|
33249
33262
|
globalListener: x(),
|
|
33250
33263
|
globalSyncListener: x(!0),
|
|
@@ -33262,7 +33275,7 @@ const tE = /* @__PURE__ */ _({
|
|
|
33262
33275
|
])
|
|
33263
33276
|
), H = v();
|
|
33264
33277
|
H !== void 0 && (P.rowData = qt(H)), n.value = $v(s.value, P, F), r.value = !0;
|
|
33265
|
-
}),
|
|
33278
|
+
}), Or(() => {
|
|
33266
33279
|
var D;
|
|
33267
33280
|
r.value && ((D = n == null ? void 0 : n.value) == null || D.destroy(), a.value = !0);
|
|
33268
33281
|
}), t({
|
|
@@ -33288,7 +33301,7 @@ var oE = function() {
|
|
|
33288
33301
|
null,
|
|
33289
33302
|
"60566900"
|
|
33290
33303
|
);
|
|
33291
|
-
const
|
|
33304
|
+
const fd = sE.exports, nE = (e) => {
|
|
33292
33305
|
const t = Yt(), o = {
|
|
33293
33306
|
id: e.id,
|
|
33294
33307
|
rowIdMapper: e.rowIdMapper,
|
|
@@ -33313,7 +33326,7 @@ const pd = sE.exports, nE = (e) => {
|
|
|
33313
33326
|
currentInstance: t == null ? void 0 : t.proxy
|
|
33314
33327
|
};
|
|
33315
33328
|
return eR(o);
|
|
33316
|
-
},
|
|
33329
|
+
}, Cd = {
|
|
33317
33330
|
functional: !0,
|
|
33318
33331
|
name: "VNodeRender",
|
|
33319
33332
|
props: ["params"],
|
|
@@ -33334,9 +33347,9 @@ const pd = sE.exports, nE = (e) => {
|
|
|
33334
33347
|
const o = e("", {});
|
|
33335
33348
|
return o.text = `${t.props.params.column.getColId()} holder`, o;
|
|
33336
33349
|
}
|
|
33337
|
-
}, aE =
|
|
33350
|
+
}, aE = W({
|
|
33338
33351
|
name: "CellRenderer"
|
|
33339
|
-
}), lE = /* @__PURE__ */
|
|
33352
|
+
}), lE = /* @__PURE__ */ W({
|
|
33340
33353
|
...aE,
|
|
33341
33354
|
props: {
|
|
33342
33355
|
params: null
|
|
@@ -33355,7 +33368,7 @@ const pd = sE.exports, nE = (e) => {
|
|
|
33355
33368
|
r.getActualRow().isCellEditing(t.params.node.id, t.params.column) || (l.render = t.params.render), l.hostObject = u, l.hostArrayHook = (g) => {
|
|
33356
33369
|
var p;
|
|
33357
33370
|
let f = c;
|
|
33358
|
-
((p = l.colDef) == null ? void 0 : p.cellDataType) === "array" && !c && (f = [],
|
|
33371
|
+
((p = l.colDef) == null ? void 0 : p.cellDataType) === "array" && !c && (f = [], Hr(r.getData(), d.path, f)), f && (g(f), r.buildSpan(), l.context.reload(), l.api.redrawRows({
|
|
33359
33372
|
rowNodes: l.api.getRenderedNodes().filter((C) => r.match(C))
|
|
33360
33373
|
}));
|
|
33361
33374
|
};
|
|
@@ -33365,11 +33378,11 @@ const pd = sE.exports, nE = (e) => {
|
|
|
33365
33378
|
const r = t.params.data, a = r.getActualRow();
|
|
33366
33379
|
if (a.isEditing() && t.params.editeRender) {
|
|
33367
33380
|
const d = a.getSourceRow().getData(), c = r.getCell(t.params.column);
|
|
33368
|
-
return c ? !
|
|
33381
|
+
return c ? !Ad(At(d, c.getReadPath()), t.params.value) : !1;
|
|
33369
33382
|
}
|
|
33370
33383
|
return !1;
|
|
33371
33384
|
}), s = de(() => t.params.data.isTransient()), n = de(() => t.params.data.getRowSpan(t.params.column));
|
|
33372
|
-
return { __sfc: !0, props: t, eventParams: o, isChange: i, isDraft: s, rowSpan: n, VNodeRenderer:
|
|
33385
|
+
return { __sfc: !0, props: t, eventParams: o, isChange: i, isDraft: s, rowSpan: n, VNodeRenderer: Cd, CellHolder: rE };
|
|
33373
33386
|
}
|
|
33374
33387
|
});
|
|
33375
33388
|
var dE = function() {
|
|
@@ -33383,9 +33396,9 @@ var dE = function() {
|
|
|
33383
33396
|
null,
|
|
33384
33397
|
null
|
|
33385
33398
|
);
|
|
33386
|
-
const hE = uE.exports, gE =
|
|
33399
|
+
const hE = uE.exports, gE = W({
|
|
33387
33400
|
name: "GridToolbar"
|
|
33388
|
-
}), pE = /* @__PURE__ */
|
|
33401
|
+
}), pE = /* @__PURE__ */ W({
|
|
33389
33402
|
...gE,
|
|
33390
33403
|
setup(e) {
|
|
33391
33404
|
return { __sfc: !0 };
|
|
@@ -33402,13 +33415,13 @@ var fE = function() {
|
|
|
33402
33415
|
null,
|
|
33403
33416
|
"f12c2536"
|
|
33404
33417
|
);
|
|
33405
|
-
const
|
|
33418
|
+
const md = mE.exports, wE = /* @__PURE__ */ W({
|
|
33406
33419
|
__name: "FooterCellRender",
|
|
33407
33420
|
props: {
|
|
33408
33421
|
params: null
|
|
33409
33422
|
},
|
|
33410
33423
|
setup(e) {
|
|
33411
|
-
return { __sfc: !0, props: e, VNodeRenderer:
|
|
33424
|
+
return { __sfc: !0, props: e, VNodeRenderer: Cd };
|
|
33412
33425
|
}
|
|
33413
33426
|
});
|
|
33414
33427
|
var vE = function() {
|
|
@@ -33422,7 +33435,7 @@ var vE = function() {
|
|
|
33422
33435
|
null,
|
|
33423
33436
|
"4998e205"
|
|
33424
33437
|
);
|
|
33425
|
-
const yE = bE.exports, RE =
|
|
33438
|
+
const yE = bE.exports, RE = W({
|
|
33426
33439
|
name: "SearchItem",
|
|
33427
33440
|
props: {
|
|
33428
33441
|
search: {
|
|
@@ -33445,9 +33458,9 @@ var DE = /* @__PURE__ */ se(
|
|
|
33445
33458
|
null,
|
|
33446
33459
|
"e1931525"
|
|
33447
33460
|
);
|
|
33448
|
-
const xn = DE.exports, FE =
|
|
33461
|
+
const xn = DE.exports, FE = W({
|
|
33449
33462
|
name: "ClSearch"
|
|
33450
|
-
}), PE = /* @__PURE__ */
|
|
33463
|
+
}), PE = /* @__PURE__ */ W({
|
|
33451
33464
|
...FE,
|
|
33452
33465
|
props: {
|
|
33453
33466
|
search: null,
|
|
@@ -33512,7 +33525,7 @@ var TE = function() {
|
|
|
33512
33525
|
null,
|
|
33513
33526
|
"962588ec"
|
|
33514
33527
|
);
|
|
33515
|
-
const K0 = AE.exports,
|
|
33528
|
+
const K0 = AE.exports, wd = (e, t, o) => {
|
|
33516
33529
|
const i = V(), s = V(!1), n = de(() => {
|
|
33517
33530
|
if (Array.isArray(o)) {
|
|
33518
33531
|
const h = o.map((g) => {
|
|
@@ -33523,7 +33536,7 @@ const K0 = AE.exports, md = (e, t, o) => {
|
|
|
33523
33536
|
return Math.max(...h);
|
|
33524
33537
|
} else
|
|
33525
33538
|
return o == null ? void 0 : o.width;
|
|
33526
|
-
}), r = (h) => Qo(h) && !
|
|
33539
|
+
}), r = (h) => Qo(h) && !Gr(h), a = de(() => Array.isArray(o) ? o.some((h) => !r(h.value)) : !r(o == null ? void 0 : o.value)), l = de(() => [s.value ? "is-loading" : ""]), d = de(() => a.value ? "var(--el-color-primary)" : void 0);
|
|
33527
33540
|
return {
|
|
33528
33541
|
visible: i,
|
|
33529
33542
|
loading: s,
|
|
@@ -33547,9 +33560,9 @@ const K0 = AE.exports, md = (e, t, o) => {
|
|
|
33547
33560
|
}) : o.value = tt(o == null ? void 0 : o.initValue);
|
|
33548
33561
|
}
|
|
33549
33562
|
};
|
|
33550
|
-
}, ME =
|
|
33563
|
+
}, ME = W({
|
|
33551
33564
|
name: "ClPopoverSearch"
|
|
33552
|
-
}), kE = /* @__PURE__ */
|
|
33565
|
+
}), kE = /* @__PURE__ */ W({
|
|
33553
33566
|
...ME,
|
|
33554
33567
|
props: {
|
|
33555
33568
|
search: null,
|
|
@@ -33561,7 +33574,7 @@ const K0 = AE.exports, md = (e, t, o) => {
|
|
|
33561
33574
|
const t = e, o = de(() => {
|
|
33562
33575
|
var u;
|
|
33563
33576
|
return (u = t.search) == null ? void 0 : u.find((h) => h.field === t.field);
|
|
33564
|
-
}), { visible: i, loading: s, width: n, loadingClass: r, hasConditionColor: a, doSearch: l, reset: d } =
|
|
33577
|
+
}), { visible: i, loading: s, width: n, loadingClass: r, hasConditionColor: a, doSearch: l, reset: d } = wd(
|
|
33565
33578
|
t.searchRemote,
|
|
33566
33579
|
t,
|
|
33567
33580
|
o.value
|
|
@@ -33593,9 +33606,9 @@ var LE = function() {
|
|
|
33593
33606
|
null,
|
|
33594
33607
|
null
|
|
33595
33608
|
);
|
|
33596
|
-
const j0 = HE.exports, OE =
|
|
33609
|
+
const j0 = HE.exports, OE = W({
|
|
33597
33610
|
name: "ClDrawerSearch"
|
|
33598
|
-
}), BE = /* @__PURE__ */
|
|
33611
|
+
}), BE = /* @__PURE__ */ W({
|
|
33599
33612
|
...OE,
|
|
33600
33613
|
props: {
|
|
33601
33614
|
search: null,
|
|
@@ -33604,7 +33617,7 @@ const j0 = HE.exports, OE = _({
|
|
|
33604
33617
|
attached: { type: Boolean }
|
|
33605
33618
|
},
|
|
33606
33619
|
setup(e) {
|
|
33607
|
-
const t = e, { visible: o, loading: i, loadingClass: s, hasConditionColor: n, doSearch: r, reset: a } =
|
|
33620
|
+
const t = e, { visible: o, loading: i, loadingClass: s, hasConditionColor: n, doSearch: r, reset: a } = wd(
|
|
33608
33621
|
t.searchRemote,
|
|
33609
33622
|
t,
|
|
33610
33623
|
t.search
|
|
@@ -33637,7 +33650,7 @@ var VE = function() {
|
|
|
33637
33650
|
);
|
|
33638
33651
|
const WE = _E.exports;
|
|
33639
33652
|
var zE = Object.defineProperty, $E = (e, t, o) => t in e ? zE(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, UE = (e, t, o) => $E(e, t + "", o);
|
|
33640
|
-
class
|
|
33653
|
+
class vd {
|
|
33641
33654
|
constructor(t) {
|
|
33642
33655
|
UE(this, "record"), this.record = t;
|
|
33643
33656
|
}
|
|
@@ -33648,11 +33661,11 @@ class wd {
|
|
|
33648
33661
|
}).reduce(
|
|
33649
33662
|
(i, s) => ({
|
|
33650
33663
|
...i,
|
|
33651
|
-
...
|
|
33664
|
+
...Md(s.value) ? s.value : { [s.field]: s.value }
|
|
33652
33665
|
}),
|
|
33653
33666
|
{}
|
|
33654
33667
|
);
|
|
33655
|
-
return new
|
|
33668
|
+
return new vd(o);
|
|
33656
33669
|
}
|
|
33657
33670
|
transform(t, o) {
|
|
33658
33671
|
const i = this.record[t], s = o(i);
|
|
@@ -33662,9 +33675,9 @@ class wd {
|
|
|
33662
33675
|
return { ...this.record, ...t ?? {} };
|
|
33663
33676
|
}
|
|
33664
33677
|
}
|
|
33665
|
-
const KE =
|
|
33678
|
+
const KE = W({
|
|
33666
33679
|
name: "SearchButton"
|
|
33667
|
-
}), jE = /* @__PURE__ */
|
|
33680
|
+
}), jE = /* @__PURE__ */ W({
|
|
33668
33681
|
...KE,
|
|
33669
33682
|
props: {
|
|
33670
33683
|
searches: null
|
|
@@ -33685,9 +33698,9 @@ var qE = function() {
|
|
|
33685
33698
|
null,
|
|
33686
33699
|
"45be5dfc"
|
|
33687
33700
|
);
|
|
33688
|
-
const
|
|
33701
|
+
const Sd = ZE.exports, QE = W({
|
|
33689
33702
|
name: "RefreshButton"
|
|
33690
|
-
}), XE = /* @__PURE__ */
|
|
33703
|
+
}), XE = /* @__PURE__ */ W({
|
|
33691
33704
|
...QE,
|
|
33692
33705
|
setup(e) {
|
|
33693
33706
|
const t = V(!1), { refresh: o } = Ro(Nt);
|
|
@@ -33716,10 +33729,10 @@ var JE = function() {
|
|
|
33716
33729
|
null,
|
|
33717
33730
|
"0eaeb325"
|
|
33718
33731
|
);
|
|
33719
|
-
const
|
|
33720
|
-
function
|
|
33732
|
+
const bd = t0.exports;
|
|
33733
|
+
function yd(e, t) {
|
|
33721
33734
|
const o = t(e);
|
|
33722
|
-
return o0(e) && (o.children = e.children.map((i) =>
|
|
33735
|
+
return o0(e) && (o.children = e.children.map((i) => yd(i, t))), o;
|
|
33723
33736
|
}
|
|
33724
33737
|
const o0 = (e) => !!e.children, i0 = () => {
|
|
33725
33738
|
const e = Ro(Nt), t = V(), o = V([]), i = V([]), s = V(), n = (C) => {
|
|
@@ -33734,7 +33747,7 @@ const o0 = (e) => !!e.children, i0 = () => {
|
|
|
33734
33747
|
}, a = () => {
|
|
33735
33748
|
var C, m;
|
|
33736
33749
|
o.value = (m = (C = e.api.value.getColumnDefs()) == null ? void 0 : C.map(
|
|
33737
|
-
(w) =>
|
|
33750
|
+
(w) => yd(w, (S) => {
|
|
33738
33751
|
var v, b;
|
|
33739
33752
|
return {
|
|
33740
33753
|
id: r(S),
|
|
@@ -33785,9 +33798,9 @@ const o0 = (e) => !!e.children, i0 = () => {
|
|
|
33785
33798
|
e.api.value.sizeColumnsToFit();
|
|
33786
33799
|
}
|
|
33787
33800
|
};
|
|
33788
|
-
}, s0 =
|
|
33801
|
+
}, s0 = W({
|
|
33789
33802
|
name: "SettingButton"
|
|
33790
|
-
}), n0 = /* @__PURE__ */
|
|
33803
|
+
}), n0 = /* @__PURE__ */ W({
|
|
33791
33804
|
...s0,
|
|
33792
33805
|
setup(e) {
|
|
33793
33806
|
const {
|
|
@@ -33830,7 +33843,7 @@ var r0 = function() {
|
|
|
33830
33843
|
null,
|
|
33831
33844
|
"522bf761"
|
|
33832
33845
|
);
|
|
33833
|
-
const
|
|
33846
|
+
const Rd = l0.exports, d0 = {
|
|
33834
33847
|
functional: !0,
|
|
33835
33848
|
name: "HeaderVNodeRender",
|
|
33836
33849
|
props: ["params"],
|
|
@@ -33838,9 +33851,9 @@ const yd = l0.exports, d0 = {
|
|
|
33838
33851
|
const o = t.props.params;
|
|
33839
33852
|
return o.headerRender ? o.headerRender(o) : e("span", o.displayName);
|
|
33840
33853
|
}
|
|
33841
|
-
}, c0 =
|
|
33854
|
+
}, c0 = W({
|
|
33842
33855
|
name: "HeaderRenderer"
|
|
33843
|
-
}), u0 = /* @__PURE__ */
|
|
33856
|
+
}), u0 = /* @__PURE__ */ W({
|
|
33844
33857
|
...c0,
|
|
33845
33858
|
props: {
|
|
33846
33859
|
params: null
|
|
@@ -33856,7 +33869,7 @@ const yd = l0.exports, d0 = {
|
|
|
33856
33869
|
};
|
|
33857
33870
|
return js(() => {
|
|
33858
33871
|
t.params.api.addEventListener("sortChanged", n), n();
|
|
33859
|
-
}),
|
|
33872
|
+
}), Or(() => {
|
|
33860
33873
|
t.params.api.removeEventListener("sortChanged", n);
|
|
33861
33874
|
}), { __sfc: !0, props: t, sorted: o, sortIndex: i, context: s, handleSortChange: n, handleSortClick: r, HeaderVNodeRender: d0 };
|
|
33862
33875
|
}
|
|
@@ -33872,9 +33885,9 @@ var h0 = function() {
|
|
|
33872
33885
|
null,
|
|
33873
33886
|
"126699e0"
|
|
33874
33887
|
);
|
|
33875
|
-
const f0 = p0.exports, C0 =
|
|
33888
|
+
const f0 = p0.exports, C0 = W({
|
|
33876
33889
|
name: "GridEmptyDataOverlay"
|
|
33877
|
-
}), m0 = /* @__PURE__ */
|
|
33890
|
+
}), m0 = /* @__PURE__ */ W({
|
|
33878
33891
|
...C0,
|
|
33879
33892
|
setup(e) {
|
|
33880
33893
|
return { __sfc: !0 };
|
|
@@ -33891,9 +33904,9 @@ var w0 = function() {
|
|
|
33891
33904
|
null,
|
|
33892
33905
|
"05fc87c0"
|
|
33893
33906
|
);
|
|
33894
|
-
const b0 = S0.exports, y0 =
|
|
33907
|
+
const b0 = S0.exports, y0 = W({
|
|
33895
33908
|
name: "GridLoadingOverlay"
|
|
33896
|
-
}), R0 = /* @__PURE__ */
|
|
33909
|
+
}), R0 = /* @__PURE__ */ W({
|
|
33897
33910
|
...y0,
|
|
33898
33911
|
setup(e) {
|
|
33899
33912
|
return { __sfc: !0 };
|
|
@@ -33926,22 +33939,22 @@ const F0 = D0.exports, P0 = (e, t, o) => {
|
|
|
33926
33939
|
};
|
|
33927
33940
|
}, T0 = () => ({
|
|
33928
33941
|
theme: V("ag-theme-alpine")
|
|
33929
|
-
}), I0 =
|
|
33942
|
+
}), I0 = W({
|
|
33930
33943
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
33931
33944
|
name: "Grid",
|
|
33932
33945
|
components: {
|
|
33933
|
-
SearchButton:
|
|
33934
|
-
RefreshButton:
|
|
33935
|
-
SettingButton:
|
|
33946
|
+
SearchButton: Sd,
|
|
33947
|
+
RefreshButton: bd,
|
|
33948
|
+
SettingButton: Rd,
|
|
33936
33949
|
CellRenderer: hE,
|
|
33937
33950
|
GridEmptyDataOverlay: b0,
|
|
33938
33951
|
HeaderRenderer: f0,
|
|
33939
33952
|
GridLoadingOverlay: F0,
|
|
33940
|
-
AgGridVue:
|
|
33941
|
-
GridToolbar:
|
|
33953
|
+
AgGridVue: fd,
|
|
33954
|
+
GridToolbar: md,
|
|
33942
33955
|
FooterCellRender: yE
|
|
33943
33956
|
}
|
|
33944
|
-
}), A0 = /* @__PURE__ */
|
|
33957
|
+
}), A0 = /* @__PURE__ */ W({
|
|
33945
33958
|
...I0,
|
|
33946
33959
|
props: {
|
|
33947
33960
|
id: null,
|
|
@@ -33995,7 +34008,7 @@ const F0 = D0.exports, P0 = (e, t, o) => {
|
|
|
33995
34008
|
resetGridState: C,
|
|
33996
34009
|
api: d
|
|
33997
34010
|
}), Xt(() => r.value, () => {
|
|
33998
|
-
d.value && d.value.updateGridOptions(
|
|
34011
|
+
d.value && d.value.updateGridOptions(kd(r.value, ["scrollbarWidth", "getRowId", "suppressRowTransform", "defaultColGroupDef"]));
|
|
33999
34012
|
}, {
|
|
34000
34013
|
deep: !0
|
|
34001
34014
|
}), t({
|
|
@@ -34043,11 +34056,11 @@ const F0 = D0.exports, P0 = (e, t, o) => {
|
|
|
34043
34056
|
footerGridOptions: m,
|
|
34044
34057
|
setFooterData: w,
|
|
34045
34058
|
footerStyles: S,
|
|
34046
|
-
AgGridVue:
|
|
34047
|
-
GridToolbar:
|
|
34048
|
-
SearchButton:
|
|
34049
|
-
RefreshButton:
|
|
34050
|
-
SettingButton:
|
|
34059
|
+
AgGridVue: fd,
|
|
34060
|
+
GridToolbar: md,
|
|
34061
|
+
SearchButton: Sd,
|
|
34062
|
+
RefreshButton: bd,
|
|
34063
|
+
SettingButton: Rd
|
|
34051
34064
|
};
|
|
34052
34065
|
}
|
|
34053
34066
|
});
|
|
@@ -34140,7 +34153,7 @@ const Q0 = (e, t) => ({
|
|
|
34140
34153
|
model: {
|
|
34141
34154
|
value: At(e, t),
|
|
34142
34155
|
callback: (o) => {
|
|
34143
|
-
|
|
34156
|
+
Hr(e, t, o);
|
|
34144
34157
|
}
|
|
34145
34158
|
}
|
|
34146
34159
|
});
|
|
@@ -34159,8 +34172,8 @@ const X0 = {
|
|
|
34159
34172
|
Lb,
|
|
34160
34173
|
wb,
|
|
34161
34174
|
fS,
|
|
34162
|
-
|
|
34163
|
-
|
|
34175
|
+
xl,
|
|
34176
|
+
sd,
|
|
34164
34177
|
$b,
|
|
34165
34178
|
Xb,
|
|
34166
34179
|
iy,
|
|
@@ -34173,7 +34186,7 @@ const X0 = {
|
|
|
34173
34186
|
My,
|
|
34174
34187
|
Av,
|
|
34175
34188
|
Pb,
|
|
34176
|
-
|
|
34189
|
+
Yl,
|
|
34177
34190
|
ky,
|
|
34178
34191
|
Gy,
|
|
34179
34192
|
gf,
|
|
@@ -34206,20 +34219,20 @@ export {
|
|
|
34206
34219
|
hs as ID_SPLITTER,
|
|
34207
34220
|
To as ProjectionRow,
|
|
34208
34221
|
bR as RowSelectionModule,
|
|
34209
|
-
|
|
34210
|
-
|
|
34222
|
+
Ir as RowSpans,
|
|
34223
|
+
vd as Searches,
|
|
34211
34224
|
bo as ServerGetRowsParamsRequest,
|
|
34212
34225
|
SR as SharedRowSelectionModule,
|
|
34213
34226
|
Ny as SpanMatrix,
|
|
34214
34227
|
X0 as VueGridPlugin,
|
|
34215
34228
|
Oy as _getColumnSortIndexe,
|
|
34216
|
-
|
|
34229
|
+
ad as _getSortedColumns,
|
|
34217
34230
|
Hy as _getSortedColumnsIndexes,
|
|
34218
34231
|
jy as buildProxyOptions,
|
|
34219
34232
|
Yy as defaultColDefCellClassRules,
|
|
34220
34233
|
U0 as isActualRow,
|
|
34221
34234
|
$0 as isGridRow,
|
|
34222
|
-
|
|
34235
|
+
Ar as mergeRowClass,
|
|
34223
34236
|
qy as selectionColumnCellClassRules,
|
|
34224
34237
|
tR as useFooter,
|
|
34225
34238
|
eR as useGrid,
|