@scvzerng/element-ui-ag-grid-vue2 0.0.34 → 0.0.35
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.
|
@@ -430,7 +430,7 @@ function rc(e, t) {
|
|
|
430
430
|
function ac(e) {
|
|
431
431
|
Nr(e, "sort");
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function bs(e, t) {
|
|
434
434
|
Ie(e, "selected", t);
|
|
435
435
|
}
|
|
436
436
|
function lc(e, t) {
|
|
@@ -445,7 +445,7 @@ function Ln(e, t) {
|
|
|
445
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
|
-
var Bi, Vi, Ni, _i,
|
|
448
|
+
var Bi, Vi, Ni, _i, Ss, ys, Wi;
|
|
449
449
|
function Ot() {
|
|
450
450
|
return Bi === void 0 && (Bi = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), Bi;
|
|
451
451
|
}
|
|
@@ -486,10 +486,10 @@ 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
|
-
o === 0 && t.clientWidth === 0 && (o = null), t.parentNode && t.parentNode.removeChild(t), o != null && (ys = o,
|
|
489
|
+
o === 0 && t.clientWidth === 0 && (o = null), t.parentNode && t.parentNode.removeChild(t), o != null && (ys = o, Ss = o === 0);
|
|
490
490
|
}
|
|
491
491
|
function Yr() {
|
|
492
|
-
return
|
|
492
|
+
return Ss == null && qr(), Ss;
|
|
493
493
|
}
|
|
494
494
|
var hc = "[tabindex], input, select, button, textarea, [href]", Zr = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
|
|
495
495
|
function Ys(e) {
|
|
@@ -699,7 +699,7 @@ function co(e, t, ...o) {
|
|
|
699
699
|
function eo(e, ...t) {
|
|
700
700
|
en(() => console.warn("AG Grid: " + e, ...t), e + (t == null ? void 0 : t.join("")));
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function bt(e, ...t) {
|
|
703
703
|
en(() => console.error("AG Grid: " + e, ...t), e + (t == null ? void 0 : t.join("")));
|
|
704
704
|
}
|
|
705
705
|
var Cc = {
|
|
@@ -745,12 +745,12 @@ function wc(e, t, o = 100, i) {
|
|
|
745
745
|
};
|
|
746
746
|
a(), r || (n = window.setInterval(a, 10));
|
|
747
747
|
}
|
|
748
|
-
var na = "https://www.ag-grid.com", k = "34.1.1", Bn = 2e3, Vn = 100, ra = "_version_", zo = null,
|
|
748
|
+
var na = "https://www.ag-grid.com", k = "34.1.1", Bn = 2e3, Vn = 100, ra = "_version_", zo = null, St = `${na}/javascript-data-grid`;
|
|
749
749
|
function vc(e) {
|
|
750
750
|
zo = e;
|
|
751
751
|
}
|
|
752
|
-
function
|
|
753
|
-
|
|
752
|
+
function bc(e) {
|
|
753
|
+
St = e;
|
|
754
754
|
}
|
|
755
755
|
function aa(e, t, o) {
|
|
756
756
|
return (zo == null ? void 0 : zo.getConsoleMessage(e, t)) ?? [Ec(e, t, o)];
|
|
@@ -758,7 +758,7 @@ function aa(e, t, o) {
|
|
|
758
758
|
function tn(e, t, o, i) {
|
|
759
759
|
e(`error #${t}`, ...aa(t, o, i));
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Sc(e) {
|
|
762
762
|
if (!e)
|
|
763
763
|
return String(e);
|
|
764
764
|
const t = {};
|
|
@@ -768,7 +768,7 @@ function bc(e) {
|
|
|
768
768
|
}
|
|
769
769
|
function yc(e) {
|
|
770
770
|
let t = e;
|
|
771
|
-
return e instanceof Error ? t = e.toString() : typeof e == "object" && (t =
|
|
771
|
+
return e instanceof Error ? t = e.toString() : typeof e == "object" && (t = Sc(e)), t;
|
|
772
772
|
}
|
|
773
773
|
function ii(e) {
|
|
774
774
|
return e === void 0 ? "undefined" : e === null ? "null" : e;
|
|
@@ -795,7 +795,7 @@ function la(e, t) {
|
|
|
795
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
|
-
const i = `${
|
|
798
|
+
const i = `${St}/errors/${e}`, s = Ds(i, o);
|
|
799
799
|
return s.length <= Bn ? s : Rc(i, o, Bn);
|
|
800
800
|
}
|
|
801
801
|
var Ec = (e, t, o) => {
|
|
@@ -808,10 +808,10 @@ function A(...e) {
|
|
|
808
808
|
tn(eo, e[0], e[1]);
|
|
809
809
|
}
|
|
810
810
|
function $(...e) {
|
|
811
|
-
tn(
|
|
811
|
+
tn(bt, e[0], e[1]);
|
|
812
812
|
}
|
|
813
813
|
function Zt(e, t, o) {
|
|
814
|
-
tn(
|
|
814
|
+
tn(bt, e, t, o);
|
|
815
815
|
}
|
|
816
816
|
function xc(e, t) {
|
|
817
817
|
const o = t[0];
|
|
@@ -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 = ba(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 ba = (e) => {
|
|
1113
1113
|
const t = Bc.includes(e), o = Vc.includes(e);
|
|
1114
1114
|
if (t)
|
|
1115
1115
|
return !0;
|
|
@@ -1279,7 +1279,7 @@ var jc = {
|
|
|
1279
1279
|
resizable: !0,
|
|
1280
1280
|
sortable: !0
|
|
1281
1281
|
}, qc = 0;
|
|
1282
|
-
function
|
|
1282
|
+
function Sa() {
|
|
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 = Sa(), 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 = Sa(), 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();
|
|
@@ -1843,13 +1843,13 @@ function Io(e, t) {
|
|
|
1843
1843
|
for (const o of e)
|
|
1844
1844
|
t(o);
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function Se(e, t) {
|
|
1847
1847
|
const o = e.indexOf(t);
|
|
1848
1848
|
o >= 0 && e.splice(o, 1);
|
|
1849
1849
|
}
|
|
1850
1850
|
function Wn(e, t, o) {
|
|
1851
1851
|
for (let i = 0; i < t.length; i++)
|
|
1852
|
-
|
|
1852
|
+
Se(e, t[i]);
|
|
1853
1853
|
for (let i = t.length - 1; i >= 0; i--)
|
|
1854
1854
|
e.splice(o, 0, t[i]);
|
|
1855
1855
|
}
|
|
@@ -2144,8 +2144,8 @@ function kt(e, t, o, i, s = null) {
|
|
|
2144
2144
|
source: i
|
|
2145
2145
|
});
|
|
2146
2146
|
}
|
|
2147
|
-
function
|
|
2148
|
-
var
|
|
2147
|
+
function be(e, t, o) {
|
|
2148
|
+
var S;
|
|
2149
2149
|
const {
|
|
2150
2150
|
colModel: i,
|
|
2151
2151
|
rowGroupColsSvc: s,
|
|
@@ -2201,14 +2201,14 @@ function Se(e, t, o) {
|
|
|
2201
2201
|
return;
|
|
2202
2202
|
}
|
|
2203
2203
|
const ht = L(_t);
|
|
2204
|
-
ht ? (m(ht, te, P, H, !1),
|
|
2204
|
+
ht ? (m(ht, te, P, H, !1), Se(F, ht)) : (_.push(te), ne += 1);
|
|
2205
2205
|
});
|
|
2206
2206
|
const Dn = (te) => m(te, null, P, H, !1);
|
|
2207
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);
|
|
2211
|
-
|
|
2211
|
+
Se(Oi, In), m(In, ht, null, null, !0);
|
|
2212
2212
|
}), Oi.forEach(Dn);
|
|
2213
2213
|
};
|
|
2214
2214
|
return Fn(
|
|
@@ -2225,15 +2225,15 @@ function Se(e, t, o) {
|
|
|
2225
2225
|
}), D(), { unmatchedAndAutoStates: _, unmatchedCount: ne };
|
|
2226
2226
|
};
|
|
2227
2227
|
l == null || l.start();
|
|
2228
|
-
let { unmatchedAndAutoStates:
|
|
2228
|
+
let { unmatchedAndAutoStates: b, unmatchedCount: v } = w(
|
|
2229
2229
|
t.state || [],
|
|
2230
2230
|
f,
|
|
2231
2231
|
(x) => i.getColDefCol(x)
|
|
2232
2232
|
);
|
|
2233
|
-
if (
|
|
2234
|
-
const x = ((
|
|
2233
|
+
if (b.length > 0 || M(t.defaultState)) {
|
|
2234
|
+
const x = ((S = c == null ? void 0 : c.getPivotResultCols()) == null ? void 0 : S.list) ?? [];
|
|
2235
2235
|
v = w(
|
|
2236
|
-
|
|
2236
|
+
b,
|
|
2237
2237
|
x,
|
|
2238
2238
|
(T) => (c == null ? void 0 : c.getPivotResultCol(T)) ?? null
|
|
2239
2239
|
).unmatchedCount;
|
|
@@ -2241,19 +2241,19 @@ function Se(e, t, o) {
|
|
|
2241
2241
|
return l == null || l.finish(), v === 0;
|
|
2242
2242
|
}
|
|
2243
2243
|
function uu(e, t) {
|
|
2244
|
-
var w,
|
|
2244
|
+
var w, b;
|
|
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
2248
|
const l = o.getColDefColTree(), d = Ea(l), c = [];
|
|
2249
2249
|
let u = 1e3, h = 1e3;
|
|
2250
2250
|
const g = (v) => {
|
|
2251
|
-
const
|
|
2252
|
-
K(
|
|
2251
|
+
const S = La(v);
|
|
2252
|
+
K(S.rowGroupIndex) && S.rowGroup && (S.rowGroupIndex = u++), K(S.pivotIndex) && S.pivot && (S.pivotIndex = h++), c.push(S);
|
|
2253
2253
|
};
|
|
2254
|
-
(w = i == null ? void 0 : i.getColumns()) == null || w.forEach(g), (
|
|
2254
|
+
(w = i == null ? void 0 : i.getColumns()) == null || w.forEach(g), (b = s == null ? void 0 : s.getColumns()) == null || b.forEach(g), d == null || d.forEach(g), be(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
|
+
be(e, { state: m, applyOrder: !0 }, t), n.dispatchEvent(B(r, { type: "columnsReset", source: t }));
|
|
2257
2257
|
}
|
|
2258
2258
|
function ka(e, t) {
|
|
2259
2259
|
const { rowGroupColsSvc: o, pivotColsSvc: i, valueColsSvc: s, colModel: n, sortSvc: r, eventSvc: a } = e, l = {
|
|
@@ -2304,8 +2304,8 @@ function ka(e, t) {
|
|
|
2304
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
|
-
const
|
|
2308
|
-
pu(d,
|
|
2307
|
+
const S = ui(e);
|
|
2308
|
+
pu(d, S, t, n, a);
|
|
2309
2309
|
};
|
|
2310
2310
|
}
|
|
2311
2311
|
function ui(e) {
|
|
@@ -2448,11 +2448,11 @@ var zn = (e, t, o, i) => {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
// called from SyncService, when grid has finished initialising
|
|
2450
2450
|
createColsFromColDefs(e) {
|
|
2451
|
-
var m, w,
|
|
2451
|
+
var m, w, b;
|
|
2452
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
|
-
di(t, (
|
|
2455
|
+
di(t, (b = this.colDefCols) == null ? void 0 : b.tree, h.columnTree);
|
|
2456
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",
|
|
@@ -2529,7 +2529,7 @@ var zn = (e, t, o, i) => {
|
|
|
2529
2529
|
this.ready && (this.refreshCols(!1), this.beans.visibleCols.refresh(e));
|
|
2530
2530
|
}
|
|
2531
2531
|
setColsVisible(e, t = !1, o) {
|
|
2532
|
-
|
|
2532
|
+
be(
|
|
2533
2533
|
this.beans,
|
|
2534
2534
|
{
|
|
2535
2535
|
state: e.map((i) => ({
|
|
@@ -2982,7 +2982,7 @@ function vu(e, t, o, i) {
|
|
|
2982
2982
|
}
|
|
2983
2983
|
return { compName: n, jsComp: r, fwComp: a, paramsFromSelector: l, popupFromSelector: d, popupPositionFromSelector: c };
|
|
2984
2984
|
}
|
|
2985
|
-
var
|
|
2985
|
+
var bu = class extends E {
|
|
2986
2986
|
constructor() {
|
|
2987
2987
|
super(...arguments), this.beanName = "userCompFactory";
|
|
2988
2988
|
}
|
|
@@ -2993,14 +2993,14 @@ var Su = class extends E {
|
|
|
2993
2993
|
return this.getCompDetails(this.gridOptions, e, t, o, i);
|
|
2994
2994
|
}
|
|
2995
2995
|
getCompDetails(e, t, o, i, s = !1) {
|
|
2996
|
-
var
|
|
2996
|
+
var b;
|
|
2997
2997
|
const { name: n, cellRenderer: r } = t;
|
|
2998
2998
|
let { compName: a, jsComp: l, fwComp: d, paramsFromSelector: c, popupFromSelector: u, popupPositionFromSelector: h } = vu(this.beans.frameworkOverrides, e, t, i), g, p;
|
|
2999
2999
|
const f = (v) => {
|
|
3000
|
-
const
|
|
3001
|
-
|
|
3000
|
+
const S = this.registry.getUserComponent(n, v);
|
|
3001
|
+
S && (l = S.componentFromFramework ? void 0 : S.component, d = S.componentFromFramework ? S.component : void 0, g = S.params, p = S.processParams);
|
|
3002
3002
|
};
|
|
3003
|
-
if (a != null && f(a), l == null && d == null && o != null && f(o), l && r && !wu(l) && (l = (
|
|
3003
|
+
if (a != null && f(a), l == null && d == null && o != null && f(o), l && r && !wu(l) && (l = (b = this.agCompUtils) == null ? void 0 : b.adaptFunction(t, l)), !l && !d) {
|
|
3004
3004
|
const { validation: v } = this.beans;
|
|
3005
3005
|
s && (a !== o || !o) ? a ? v != null && v.isProvidedUserComp(a) || $(50, { compName: a }) : o ? v || $(260, {
|
|
3006
3006
|
...this.gos.getModuleErrorParams(),
|
|
@@ -3052,7 +3052,7 @@ var Su = class extends E {
|
|
|
3052
3052
|
} else typeof l == "object" && ce(r, l);
|
|
3053
3053
|
return ce(r, i), n ? n(r) : r;
|
|
3054
3054
|
}
|
|
3055
|
-
},
|
|
3055
|
+
}, Su = {
|
|
3056
3056
|
name: "dragAndDropImageComponent",
|
|
3057
3057
|
mandatoryMethods: ["setIcon", "setLabel"]
|
|
3058
3058
|
}, yu = { name: "headerComponent", optionalMethods: ["refresh"] }, Ru = { name: "innerHeaderComponent" }, Eu = { name: "innerHeaderGroupComponent" }, xu = { name: "headerGroupComponent" }, Du = {
|
|
@@ -3082,7 +3082,7 @@ var Su = class extends E {
|
|
|
3082
3082
|
cellRenderer: !0
|
|
3083
3083
|
}, Gu = { name: "detailCellRenderer", optionalMethods: ["refresh"], cellRenderer: !0 };
|
|
3084
3084
|
function Hu(e, t) {
|
|
3085
|
-
return e.getCompDetailsFromGridOptions(
|
|
3085
|
+
return e.getCompDetailsFromGridOptions(Su, "agDragAndDropImage", t, !0);
|
|
3086
3086
|
}
|
|
3087
3087
|
function Ou(e, t, o) {
|
|
3088
3088
|
return e.getCompDetails(t, yu, "agColumnHeader", o);
|
|
@@ -3139,13 +3139,13 @@ function Yu(e) {
|
|
|
3139
3139
|
function Zu(e) {
|
|
3140
3140
|
jo || (jo = e.version);
|
|
3141
3141
|
const t = (o) => `You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. ${o} Please update all modules to the same version.`;
|
|
3142
|
-
if (e.version ? Yu(e) ||
|
|
3142
|
+
if (e.version ? Yu(e) || bt(
|
|
3143
3143
|
t(
|
|
3144
3144
|
`'${e.moduleName}' is version ${e.version} but the other modules are version ${jo}.`
|
|
3145
3145
|
)
|
|
3146
|
-
) :
|
|
3146
|
+
) : bt(t(`'${e.moduleName}' is incompatible.`)), e.validate) {
|
|
3147
3147
|
const o = e.validate();
|
|
3148
|
-
o.isValid ||
|
|
3148
|
+
o.isValid || bt(`${o.message}`);
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
3151
3151
|
function Lt(e, t, o = !1) {
|
|
@@ -3675,18 +3675,18 @@ function _e({
|
|
|
3675
3675
|
return e === me && (e = t), e !== t;
|
|
3676
3676
|
}
|
|
3677
3677
|
function Gt(e, t, o) {
|
|
3678
|
-
var C, m, w,
|
|
3678
|
+
var C, m, w, b, v, S, x;
|
|
3679
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,
|
|
3683
3683
|
state: "editing"
|
|
3684
3684
|
}), l) {
|
|
3685
|
-
(
|
|
3685
|
+
(b = l.refresh) == null || b.call(l, d);
|
|
3686
3686
|
return;
|
|
3687
3687
|
}
|
|
3688
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")), (
|
|
3689
|
+
Ka(g.params, s), a && (a.editCompDetails = g, (v = a.comp) == null || v.setEditDetails(g, p, f, e.gos.get("reactiveCustomComponents")), (S = a == null ? void 0 : a.rowCtrl) == null || S.refreshRow({ suppressFlash: !0 }), r || (x = e.editSvc) == null || x.dispatchCellEvent(t, s, "cellEditingStarted"));
|
|
3690
3690
|
}
|
|
3691
3691
|
function $a(e) {
|
|
3692
3692
|
var s;
|
|
@@ -3697,8 +3697,8 @@ function $a(e) {
|
|
|
3697
3697
|
};
|
|
3698
3698
|
}
|
|
3699
3699
|
function Ua(e, t, o, i) {
|
|
3700
|
-
var C, m, 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 ? (
|
|
3700
|
+
var C, m, w, b;
|
|
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 ? (b = s.getValueForDisplay(c, u)) == null ? void 0 : b.value : p;
|
|
3702
3702
|
return B(n, {
|
|
3703
3703
|
value: f,
|
|
3704
3704
|
eventKey: o ?? null,
|
|
@@ -3804,8 +3804,8 @@ function pi(e, t, o) {
|
|
|
3804
3804
|
function at(e) {
|
|
3805
3805
|
var u, h, g, p, f, C, m, w;
|
|
3806
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
|
-
for (const
|
|
3808
|
-
const { ctrl: v, editor:
|
|
3807
|
+
for (const b of t) {
|
|
3808
|
+
const { ctrl: v, editor: S } = b, { rowNode: x, column: T } = v, L = ((u = S.getValidationErrors) == null ? void 0 : u.call(S)) ?? [], D = ((h = S.getValidationElement) == null ? void 0 : h.call(S, !1)) || !((g = S.isPopup) != null && g.call(S)) && v.eGui;
|
|
3809
3809
|
if (D) {
|
|
3810
3810
|
const F = L != null && L.length > 0, P = F ? L.join(". ") : "";
|
|
3811
3811
|
Xd(D, F), F && i.announceValue(`${d} ${L}`, "editorValidation"), D instanceof HTMLInputElement ? D.setCustomValidity(P) : D.classList.toggle("invalid", F);
|
|
@@ -3822,15 +3822,15 @@ function at(e) {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
Ye(e, !1), n == null || n.setCellValidationModel(o);
|
|
3824
3824
|
const c = /* @__PURE__ */ new Set();
|
|
3825
|
-
for (const { ctrl:
|
|
3826
|
-
c.add(
|
|
3825
|
+
for (const { ctrl: b } of t)
|
|
3826
|
+
c.add(b.rowCtrl);
|
|
3827
3827
|
if (a) {
|
|
3828
|
-
const
|
|
3829
|
-
n == null || n.setRowValidationModel(
|
|
3828
|
+
const b = vh(e);
|
|
3829
|
+
n == null || n.setRowValidationModel(b);
|
|
3830
3830
|
}
|
|
3831
|
-
for (const
|
|
3832
|
-
(p =
|
|
3833
|
-
for (const v of
|
|
3831
|
+
for (const b of c.values()) {
|
|
3832
|
+
(p = b.rowEditStyleFeature) == null || p.applyRowStyles();
|
|
3833
|
+
for (const v of b.getAllCellCtrls())
|
|
3834
3834
|
(f = v.tooltipFeature) == null || f.refreshTooltip(!0), (C = v.editorTooltipFeature) == null || C.refreshTooltip(!0), (w = (m = v.editStyleFeature) == null ? void 0 : m.applyCellStyles) == null || w.call(m);
|
|
3835
3835
|
}
|
|
3836
3836
|
}
|
|
@@ -3868,7 +3868,7 @@ var vh = (e) => {
|
|
|
3868
3868
|
}
|
|
3869
3869
|
return t;
|
|
3870
3870
|
};
|
|
3871
|
-
function
|
|
3871
|
+
function bh(e) {
|
|
3872
3872
|
var i;
|
|
3873
3873
|
at(e);
|
|
3874
3874
|
const t = (i = e.editModelSvc) == null ? void 0 : i.getCellValidationModel().getCellValidationMap();
|
|
@@ -3886,12 +3886,12 @@ function Sh(e) {
|
|
|
3886
3886
|
});
|
|
3887
3887
|
}), o;
|
|
3888
3888
|
}
|
|
3889
|
-
var
|
|
3889
|
+
var Sh = "ag-column-first", yh = "ag-column-last";
|
|
3890
3890
|
function ja(e, t, o, i) {
|
|
3891
3891
|
return K(e) ? [] : Eh(e.headerClass, e, t, o, i);
|
|
3892
3892
|
}
|
|
3893
3893
|
function qa(e, t, o) {
|
|
3894
|
-
e.toggleCss(
|
|
3894
|
+
e.toggleCss(Sh, o.isColAtEdge(t, "first")), e.toggleCss(yh, o.isColAtEdge(t, "last"));
|
|
3895
3895
|
}
|
|
3896
3896
|
function Rh(e, t, o, i) {
|
|
3897
3897
|
return B(t, {
|
|
@@ -4238,18 +4238,18 @@ var Lh = class extends E {
|
|
|
4238
4238
|
return;
|
|
4239
4239
|
}
|
|
4240
4240
|
if (!i || !g) {
|
|
4241
|
-
const w = h == null ? void 0 : h.isEditing(n), v = u.get("enableCellTextSelection") && e.defaultPrevented,
|
|
4242
|
-
n.focusCell(
|
|
4241
|
+
const w = h == null ? void 0 : h.isEditing(n), v = u.get("enableCellTextSelection") && e.defaultPrevented, S = (Ot() || v) && !w && !Ys(s) && !p;
|
|
4242
|
+
n.focusCell(S, e);
|
|
4243
4243
|
}
|
|
4244
4244
|
if (i && g && !c.isCellFocused(f)) {
|
|
4245
4245
|
e.preventDefault();
|
|
4246
4246
|
const w = c.getFocusedCell();
|
|
4247
4247
|
if (w) {
|
|
4248
|
-
const { column:
|
|
4248
|
+
const { column: b, rowIndex: v, rowPinned: S } = w;
|
|
4249
4249
|
h != null && h.isEditing(w) && (h == null || h.stopEditing(w)), c.setFocusedCell({
|
|
4250
|
-
column:
|
|
4250
|
+
column: b,
|
|
4251
4251
|
rowIndex: v,
|
|
4252
|
-
rowPinned:
|
|
4252
|
+
rowPinned: S,
|
|
4253
4253
|
forceBrowserFocus: !0,
|
|
4254
4254
|
preventScrollOnBrowserFocus: !0,
|
|
4255
4255
|
sourceEvent: e
|
|
@@ -4263,8 +4263,8 @@ var Lh = class extends E {
|
|
|
4263
4263
|
if (i)
|
|
4264
4264
|
l.extendLatestRangeToCell(f);
|
|
4265
4265
|
else if (!w) {
|
|
4266
|
-
const
|
|
4267
|
-
l.setRangeToCell(f,
|
|
4266
|
+
const b = t || o;
|
|
4267
|
+
l.setRangeToCell(f, b);
|
|
4268
4268
|
}
|
|
4269
4269
|
}
|
|
4270
4270
|
a.dispatchEvent(this.cellCtrl.createEvent(e, "cellMouseDown"));
|
|
@@ -4898,7 +4898,7 @@ var Kh = class extends E {
|
|
|
4898
4898
|
}
|
|
4899
4899
|
removeDragSource(e) {
|
|
4900
4900
|
const { dragSourceAndParamsList: t, dragSvc: o } = this, i = t.find((s) => s.dragSource === e);
|
|
4901
|
-
i && (o.removeDragSource(i.params),
|
|
4901
|
+
i && (o.removeDragSource(i.params), Se(t, i));
|
|
4902
4902
|
}
|
|
4903
4903
|
destroy() {
|
|
4904
4904
|
const { dragSourceAndParamsList: e, dragSvc: t, dropTargets: o } = this;
|
|
@@ -5129,7 +5129,7 @@ var Kh = class extends E {
|
|
|
5129
5129
|
}
|
|
5130
5130
|
removeDragSource(e) {
|
|
5131
5131
|
const { dragSources: t } = this, o = t.find((i) => i.dragSource === e);
|
|
5132
|
-
o && (this.removeListener(o),
|
|
5132
|
+
o && (this.removeListener(o), Se(t, o));
|
|
5133
5133
|
}
|
|
5134
5134
|
addDragSource(e) {
|
|
5135
5135
|
const t = this.onMouseDown.bind(this, e), { eElement: o, includeTouch: i, stopPropagationForTouch: s } = e;
|
|
@@ -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,
|
|
6154
|
+
const { stickyTopHeight: C, stickyBottomHeight: m } = d, w = c.rowTop, b = c.rowHeight, v = r.getPixelOffset(), S = c.rowTop - v, x = S + c.rowHeight, T = this.getVScrollPosition(), L = a.divStretchOffset, D = T.top + L, F = T.bottom + L, P = F - D, H = a.getScrollPositionForPixel(S), G = a.getScrollPositionForPixel(x - P), N = Math.min((H + G) / 2, S), _ = D + C > S, ne = F - m < x;
|
|
6155
6155
|
let ye = null;
|
|
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 ||
|
|
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 || b !== 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;
|
|
@@ -6384,7 +6384,7 @@ var sg = class extends E {
|
|
|
6384
6384
|
if (s || o)
|
|
6385
6385
|
return Object.assign({}, o, s);
|
|
6386
6386
|
}
|
|
6387
|
-
}, ng = 0, vi = "renderedRow",
|
|
6387
|
+
}, ng = 0, vi = "renderedRow", bi = class extends E {
|
|
6388
6388
|
constructor(e, t, o, i, s) {
|
|
6389
6389
|
var n, r;
|
|
6390
6390
|
super(), this.rowNode = e, this.useAnimationFrameForCreate = i, this.printLayout = s, this.allRowGuis = [], this.active = !0, this.centerCellCtrls = { list: [], map: {} }, this.leftCellCtrls = { list: [], map: {} }, this.rightCellCtrls = { list: [], map: {} }, this.slideInAnimation = {
|
|
@@ -7562,7 +7562,7 @@ 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"],
|
|
7565
|
+
var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft", "bottomRight"], vg = ["center", "left", "right"], bg = ["center", "left", "right", "fullWidth"], Sg = ["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 = [
|
|
7566
7566
|
...sl,
|
|
7567
7567
|
"stickyTopFullWidth",
|
|
7568
7568
|
...nl,
|
|
@@ -7605,7 +7605,7 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7605
7605
|
s == null ? void 0 : s.createPinnedWidthFeature(!1, this.eContainer, this.eSpannedContainer)
|
|
7606
7606
|
), this.addManagedEventListeners({ rightPinnedWidthChanged: r });
|
|
7607
7607
|
}), this.forContainers(
|
|
7608
|
-
|
|
7608
|
+
bg,
|
|
7609
7609
|
() => this.createManagedBean(
|
|
7610
7610
|
new ol(this.eContainer, this.name === "center" ? i : void 0)
|
|
7611
7611
|
)
|
|
@@ -7613,7 +7613,7 @@ var mg = ["topCenter", "topLeft", "topRight"], wg = ["bottomCenter", "bottomLeft
|
|
|
7613
7613
|
xg,
|
|
7614
7614
|
() => this.createManagedBean(n.createDragListenerFeature(this.eContainer))
|
|
7615
7615
|
), this.forContainers(
|
|
7616
|
-
|
|
7616
|
+
Sg,
|
|
7617
7617
|
() => this.createManagedBean(new un((a) => this.comp.setContainerWidth(`${a}px`)))
|
|
7618
7618
|
), this.visible = this.isContainerVisible(), this.addListeners(), this.registerWithCtrlsService();
|
|
7619
7619
|
}
|
|
@@ -8585,8 +8585,8 @@ var Vg = class extends E {
|
|
|
8585
8585
|
return;
|
|
8586
8586
|
const { paddingTop: h, paddingBottom: g, borderBottomWidth: p, borderTopWidth: f } = lt(this.eGui), C = h + g + p + f, w = t.offsetHeight + C;
|
|
8587
8587
|
if (u < 5) {
|
|
8588
|
-
const
|
|
8589
|
-
if (v ||
|
|
8588
|
+
const b = X(s), v = !b || !b.contains(t), S = w == 0;
|
|
8589
|
+
if (v || S) {
|
|
8590
8590
|
xs(() => n(u + 1), "raf", s);
|
|
8591
8591
|
return;
|
|
8592
8592
|
}
|
|
@@ -9819,7 +9819,7 @@ var mn = class extends pl {
|
|
|
9819
9819
|
t.has(e) || (t.add(e), o.add(e), i.push(e), this.sort());
|
|
9820
9820
|
}
|
|
9821
9821
|
delete(e) {
|
|
9822
|
-
this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id),
|
|
9822
|
+
this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id), Se(this.order, e);
|
|
9823
9823
|
}
|
|
9824
9824
|
has(e) {
|
|
9825
9825
|
return this.visible.has(e);
|
|
@@ -10360,7 +10360,7 @@ var wp = class extends E {
|
|
|
10360
10360
|
}, vp = {
|
|
10361
10361
|
selector: "AG-INPUT-TEXT-FIELD",
|
|
10362
10362
|
component: vn
|
|
10363
|
-
},
|
|
10363
|
+
}, bp = class extends mn {
|
|
10364
10364
|
constructor(e) {
|
|
10365
10365
|
super(e, "ag-text-area", null, "textarea");
|
|
10366
10366
|
}
|
|
@@ -10374,9 +10374,9 @@ var wp = class extends E {
|
|
|
10374
10374
|
setRows(e) {
|
|
10375
10375
|
return this.eInput.rows = e, this;
|
|
10376
10376
|
}
|
|
10377
|
-
},
|
|
10377
|
+
}, Sp = {
|
|
10378
10378
|
selector: "AG-INPUT-TEXT-AREA",
|
|
10379
|
-
component:
|
|
10379
|
+
component: bp
|
|
10380
10380
|
}, yp = class extends vn {
|
|
10381
10381
|
constructor(e) {
|
|
10382
10382
|
super(e, "ag-number-field", "number");
|
|
@@ -10643,13 +10643,13 @@ var wp = class extends E {
|
|
|
10643
10643
|
highlightItem(e) {
|
|
10644
10644
|
if (!Oe(e))
|
|
10645
10645
|
return;
|
|
10646
|
-
this.clearHighlighted(), this.highlightedEl = e, e.classList.add(this.activeClass),
|
|
10646
|
+
this.clearHighlighted(), this.highlightedEl = e, e.classList.add(this.activeClass), bs(e, !0);
|
|
10647
10647
|
const t = this.getGui(), { scrollTop: o, clientHeight: i } = t, { offsetTop: s, offsetHeight: n } = e;
|
|
10648
10648
|
(s + n > o + i || s < o) && e.scrollIntoView({ block: "nearest" }), this.unFocusable || e.focus();
|
|
10649
10649
|
}
|
|
10650
10650
|
clearHighlighted() {
|
|
10651
10651
|
const e = this.highlightedEl;
|
|
10652
|
-
!e || !Oe(e) || (e.classList.remove(this.activeClass),
|
|
10652
|
+
!e || !Oe(e) || (e.classList.remove(this.activeClass), bs(e, !1), this.highlightedEl = null);
|
|
10653
10653
|
}
|
|
10654
10654
|
fireChangeEvent() {
|
|
10655
10655
|
this.dispatchLocalEvent({ type: "fieldValueChanged" }), this.fireItemSelected();
|
|
@@ -11220,7 +11220,7 @@ var wp = class extends 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 = `${na}/${this.frameworkName}-data-grid`,
|
|
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`, bc(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 = ba(t);
|
|
11235
11235
|
n != null && (s.passive = n);
|
|
11236
11236
|
}
|
|
11237
11237
|
e.addEventListener(t, o, s);
|
|
@@ -11593,7 +11593,7 @@ var Vp = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, Np = {
|
|
|
11593
11593
|
position: f,
|
|
11594
11594
|
alignSide: C ? "right" : "left",
|
|
11595
11595
|
keepWithinBounds: !0
|
|
11596
|
-
}, w = s.positionPopupByComponent.bind(s, m),
|
|
11596
|
+
}, w = s.positionPopupByComponent.bind(s, m), b = s.addPopup({
|
|
11597
11597
|
modal: p,
|
|
11598
11598
|
eChild: g,
|
|
11599
11599
|
closeOnEsc: !0,
|
|
@@ -11604,7 +11604,7 @@ var Vp = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, Np = {
|
|
|
11604
11604
|
positionCallback: w,
|
|
11605
11605
|
ariaOwns: d
|
|
11606
11606
|
});
|
|
11607
|
-
|
|
11607
|
+
b && (this.hideEditorPopup = b.hideFunc);
|
|
11608
11608
|
}
|
|
11609
11609
|
detach() {
|
|
11610
11610
|
this.eRow.removeChild(this.getGui());
|
|
@@ -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
|
+
bl(e, { [t]: o });
|
|
12596
12596
|
}
|
|
12597
|
-
function
|
|
12597
|
+
function bl(e, t) {
|
|
12598
12598
|
e.gos.updateGridOptions({ options: t });
|
|
12599
12599
|
}
|
|
12600
12600
|
function df(e, t) {
|
|
@@ -12671,7 +12671,7 @@ var cf = { tag: "div", cls: "ag-drag-handle ag-row-drag", attrs: { draggable: "t
|
|
|
12671
12671
|
onDragging(e, t) {
|
|
12672
12672
|
this.resizeAmount = t.clientX - this.dragStartX, e.onResizing(this.resizeAmount);
|
|
12673
12673
|
}
|
|
12674
|
-
},
|
|
12674
|
+
}, Si = class {
|
|
12675
12675
|
constructor(e, t) {
|
|
12676
12676
|
this.active = !0, this.nodeIdsToColumns = {}, this.mapToItems = {}, this.keepingColumns = e, this.pathRoot = {
|
|
12677
12677
|
rowNode: 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
|
+
}, Sl = {
|
|
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: [Sl],
|
|
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: [Sl]
|
|
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}}"
|
|
@@ -12871,7 +12871,7 @@ function vf(e, t, o) {
|
|
|
12871
12871
|
var i;
|
|
12872
12872
|
(i = e.colMoves) == null || i.moveColumns(t, o, "api");
|
|
12873
12873
|
}
|
|
12874
|
-
var
|
|
12874
|
+
var bf = class extends E {
|
|
12875
12875
|
constructor(e) {
|
|
12876
12876
|
super(), this.pinned = e, this.columnsToAggregate = [], this.columnsToGroup = [], this.columnsToPivot = [];
|
|
12877
12877
|
}
|
|
@@ -12909,7 +12909,7 @@ var Sf = class extends E {
|
|
|
12909
12909
|
this.clearColumnsList();
|
|
12910
12910
|
}
|
|
12911
12911
|
};
|
|
12912
|
-
function
|
|
12912
|
+
function Sf(e, t) {
|
|
12913
12913
|
!t || t.length <= 1 || t.filter((i) => e.indexOf(i) < 0).length > 0 || t.sort((i, s) => {
|
|
12914
12914
|
const n = e.indexOf(i), r = e.indexOf(s);
|
|
12915
12915
|
return n - r;
|
|
@@ -12953,7 +12953,7 @@ function yl(e) {
|
|
|
12953
12953
|
let { allMovingColumns: u } = e;
|
|
12954
12954
|
t && (u = yf(u));
|
|
12955
12955
|
const h = u.slice();
|
|
12956
|
-
|
|
12956
|
+
Sf(l.getCols(), h);
|
|
12957
12957
|
const g = Ff({
|
|
12958
12958
|
movingCols: h,
|
|
12959
12959
|
draggingRight: o,
|
|
@@ -13012,17 +13012,17 @@ function Df(e, t) {
|
|
|
13012
13012
|
}
|
|
13013
13013
|
function Ff(e) {
|
|
13014
13014
|
const { movingCols: t, draggingRight: o, xPosition: i, pinned: s, gos: n, colModel: r, visibleCols: a } = e;
|
|
13015
|
-
if (n.get("suppressMovableColumns") || t.some((
|
|
13015
|
+
if (n.get("suppressMovableColumns") || t.some((b) => b.getColDef().suppressMovable))
|
|
13016
13016
|
return [];
|
|
13017
|
-
const d = Df(a, s), c = r.getCols(), u = d.filter((
|
|
13017
|
+
const d = Df(a, s), c = r.getCols(), u = d.filter((b) => t.includes(b)), h = d.filter((b) => !t.includes(b)), g = c.filter((b) => !t.includes(b));
|
|
13018
13018
|
let p = 0, f = i;
|
|
13019
13019
|
if (o) {
|
|
13020
|
-
let
|
|
13021
|
-
u.forEach((v) =>
|
|
13020
|
+
let b = 0;
|
|
13021
|
+
u.forEach((v) => b += v.getActualWidth()), f -= b;
|
|
13022
13022
|
}
|
|
13023
13023
|
if (f > 0) {
|
|
13024
|
-
for (let
|
|
13025
|
-
const v = h[
|
|
13024
|
+
for (let b = 0; b < h.length; b++) {
|
|
13025
|
+
const v = h[b];
|
|
13026
13026
|
if (f -= v.getActualWidth(), f < 0)
|
|
13027
13027
|
break;
|
|
13028
13028
|
p++;
|
|
@@ -13031,27 +13031,27 @@ function Ff(e) {
|
|
|
13031
13031
|
}
|
|
13032
13032
|
let C;
|
|
13033
13033
|
if (p > 0) {
|
|
13034
|
-
const
|
|
13035
|
-
C = g.indexOf(
|
|
13034
|
+
const b = h[p - 1];
|
|
13035
|
+
C = g.indexOf(b) + 1;
|
|
13036
13036
|
} else
|
|
13037
13037
|
C = g.indexOf(h[0]), C === -1 && (C = 0);
|
|
13038
|
-
const m = [C], w = (
|
|
13038
|
+
const m = [C], w = (b, v) => b - v;
|
|
13039
13039
|
if (o) {
|
|
13040
|
-
let
|
|
13040
|
+
let b = C + 1;
|
|
13041
13041
|
const v = c.length - 1;
|
|
13042
|
-
for (;
|
|
13043
|
-
m.push(
|
|
13042
|
+
for (; b <= v; )
|
|
13043
|
+
m.push(b), b++;
|
|
13044
13044
|
m.sort(w);
|
|
13045
13045
|
} else {
|
|
13046
|
-
let
|
|
13046
|
+
let b = C;
|
|
13047
13047
|
const v = c.length - 1;
|
|
13048
|
-
let
|
|
13049
|
-
for (;
|
|
13050
|
-
|
|
13051
|
-
|
|
13048
|
+
let S = c[b];
|
|
13049
|
+
for (; b <= v && d.indexOf(S) < 0; )
|
|
13050
|
+
b++, m.push(b), S = c[b];
|
|
13051
|
+
b = C - 1;
|
|
13052
13052
|
const x = 0;
|
|
13053
|
-
for (;
|
|
13054
|
-
m.push(
|
|
13053
|
+
for (; b >= x; )
|
|
13054
|
+
m.push(b), b--;
|
|
13055
13055
|
m.sort(w).reverse();
|
|
13056
13056
|
}
|
|
13057
13057
|
return m;
|
|
@@ -13428,7 +13428,7 @@ var Mf = class extends E {
|
|
|
13428
13428
|
break;
|
|
13429
13429
|
}
|
|
13430
13430
|
this.eSecondaryContainers = s;
|
|
13431
|
-
}), this.moveColumnFeature = this.createManagedBean(new If(o)), this.bodyDropPivotTarget = this.createManagedBean(new
|
|
13431
|
+
}), this.moveColumnFeature = this.createManagedBean(new If(o)), this.bodyDropPivotTarget = this.createManagedBean(new bf(o)), t.addDropTarget(this), this.addDestroyFunc(() => t.removeDropTarget(this));
|
|
13432
13432
|
}
|
|
13433
13433
|
isInterestedIn(e) {
|
|
13434
13434
|
return e === 1 || e === 0 && this.gos.get("allowDragFromColumnsToolPanel");
|
|
@@ -13546,13 +13546,13 @@ var Mf = class extends E {
|
|
|
13546
13546
|
if (n.getScrollFeature().ensureColumnVisible(m, "auto"), (!s.isAlive() || r.get("ensureDomOrder")) && C) {
|
|
13547
13547
|
let w;
|
|
13548
13548
|
if (h) {
|
|
13549
|
-
const
|
|
13549
|
+
const b = o.getGroupId(), v = o.getLeafColumns();
|
|
13550
13550
|
if (!v.length)
|
|
13551
13551
|
return;
|
|
13552
|
-
const
|
|
13553
|
-
if (!
|
|
13552
|
+
const S = v[0].getParent();
|
|
13553
|
+
if (!S)
|
|
13554
13554
|
return;
|
|
13555
|
-
w = Lf(
|
|
13555
|
+
w = Lf(S, b);
|
|
13556
13556
|
} else
|
|
13557
13557
|
w = o;
|
|
13558
13558
|
w && d.focusHeaderPosition({
|
|
@@ -13617,7 +13617,7 @@ function Hf(e, t) {
|
|
|
13617
13617
|
o.forEach((l) => i[l.getId()] = l.isVisible());
|
|
13618
13618
|
const s = [];
|
|
13619
13619
|
t.forEach((l) => {
|
|
13620
|
-
o.indexOf(l) >= 0 && (s.push(l),
|
|
13620
|
+
o.indexOf(l) >= 0 && (s.push(l), Se(o, l));
|
|
13621
13621
|
}), o.forEach((l) => s.push(l));
|
|
13622
13622
|
const n = [], r = e.getLeafColumns();
|
|
13623
13623
|
for (const l of s)
|
|
@@ -13923,28 +13923,28 @@ var Nf = class extends E {
|
|
|
13923
13923
|
}
|
|
13924
13924
|
C = !1;
|
|
13925
13925
|
const w = [];
|
|
13926
|
-
let
|
|
13926
|
+
let b = 0, v = u;
|
|
13927
13927
|
h.forEach((x, T) => {
|
|
13928
13928
|
if (f[x.getId()])
|
|
13929
13929
|
v -= p[x.getId()];
|
|
13930
13930
|
else {
|
|
13931
13931
|
w.push(x);
|
|
13932
13932
|
const D = g[T];
|
|
13933
|
-
|
|
13933
|
+
b += D;
|
|
13934
13934
|
}
|
|
13935
13935
|
});
|
|
13936
|
-
const
|
|
13936
|
+
const S = 1 / b;
|
|
13937
13937
|
w.forEach((x, T) => {
|
|
13938
13938
|
const L = T === w.length - 1;
|
|
13939
13939
|
let D;
|
|
13940
|
-
L ? D = v : (D = Math.round(g[T] * u *
|
|
13940
|
+
L ? D = v : (D = Math.round(g[T] * u * S), v -= D);
|
|
13941
13941
|
const F = x.getMinWidth(), P = x.getMaxWidth();
|
|
13942
13942
|
D < F ? (D = F, f[x.getId()] = !0, C = !0) : P > 0 && D > P && (D = P, f[x.getId()] = !0, C = !0), p[x.getId()] = D;
|
|
13943
13943
|
});
|
|
13944
13944
|
}
|
|
13945
13945
|
h.forEach((w) => {
|
|
13946
|
-
const
|
|
13947
|
-
w.getActualWidth() !==
|
|
13946
|
+
const b = p[w.getId()];
|
|
13947
|
+
w.getActualWidth() !== b && (w.setActualWidth(b, i), n.push(w));
|
|
13948
13948
|
});
|
|
13949
13949
|
});
|
|
13950
13950
|
const a = n.length > 0;
|
|
@@ -14799,7 +14799,7 @@ function CC(e) {
|
|
|
14799
14799
|
return e.colModel.getColDefCols();
|
|
14800
14800
|
}
|
|
14801
14801
|
function mC(e, t) {
|
|
14802
|
-
return
|
|
14802
|
+
return be(e, t, "api");
|
|
14803
14803
|
}
|
|
14804
14804
|
function wC(e) {
|
|
14805
14805
|
return ui(e);
|
|
@@ -14807,10 +14807,10 @@ function wC(e) {
|
|
|
14807
14807
|
function vC(e) {
|
|
14808
14808
|
uu(e, "api");
|
|
14809
14809
|
}
|
|
14810
|
-
function
|
|
14810
|
+
function bC(e) {
|
|
14811
14811
|
return e.visibleCols.isPinningLeft() || e.visibleCols.isPinningRight();
|
|
14812
14812
|
}
|
|
14813
|
-
function
|
|
14813
|
+
function SC(e) {
|
|
14814
14814
|
return e.visibleCols.isPinningLeft();
|
|
14815
14815
|
}
|
|
14816
14816
|
function yC(e) {
|
|
@@ -14953,7 +14953,7 @@ var kC = class extends E {
|
|
|
14953
14953
|
if (h(v))
|
|
14954
14954
|
continue;
|
|
14955
14955
|
f = v, m += p * (v.flex / d);
|
|
14956
|
-
const
|
|
14956
|
+
const S = m - C, x = Math.round(S);
|
|
14957
14957
|
v.targetSize = x, C += x;
|
|
14958
14958
|
}
|
|
14959
14959
|
f && (f.targetSize += p - C);
|
|
@@ -14961,12 +14961,12 @@ var kC = class extends E {
|
|
|
14961
14961
|
for (const v of a) {
|
|
14962
14962
|
if (h(v))
|
|
14963
14963
|
continue;
|
|
14964
|
-
const
|
|
14965
|
-
w += x -
|
|
14964
|
+
const S = v.targetSize, x = Math.min(Math.max(S, v.min), v.max);
|
|
14965
|
+
w += x - S, v.violationType = x === S ? void 0 : x < S ? "max" : "min", v.targetSize = x;
|
|
14966
14966
|
}
|
|
14967
|
-
const
|
|
14967
|
+
const b = w === 0 ? "all" : w > 0 ? "min" : "max";
|
|
14968
14968
|
for (const v of a)
|
|
14969
|
-
h(v) || (
|
|
14969
|
+
h(v) || (b === "all" || v.violationType === b) && u(v, v.targetSize);
|
|
14970
14970
|
}
|
|
14971
14971
|
e.skipSetLeft || i.setLeftValues(t), e.updateBodyWidths && i.updateBodyWidths();
|
|
14972
14972
|
const g = a.filter((p) => p.isFlex && !p.violationType).map((p) => p.col);
|
|
@@ -15225,7 +15225,7 @@ var kC = class extends E {
|
|
|
15225
15225
|
i,
|
|
15226
15226
|
s
|
|
15227
15227
|
)
|
|
15228
|
-
), o.length &&
|
|
15228
|
+
), o.length && be(this.beans, { state: o }, "cellDataTypeInferred"), this.initialData = null;
|
|
15229
15229
|
}
|
|
15230
15230
|
generateColumnStateForRowGroupAndPivotIndexes(e, t) {
|
|
15231
15231
|
const o = {}, { rowGroupColsSvc: i, pivotColsSvc: s } = this.beans;
|
|
@@ -15458,8 +15458,8 @@ var VC = {
|
|
|
15458
15458
|
applyColumnState: mC,
|
|
15459
15459
|
getColumnState: wC,
|
|
15460
15460
|
resetColumnState: vC,
|
|
15461
|
-
isPinning:
|
|
15462
|
-
isPinningLeft:
|
|
15461
|
+
isPinning: bC,
|
|
15462
|
+
isPinningLeft: SC,
|
|
15463
15463
|
isPinningRight: yC,
|
|
15464
15464
|
getDisplayedColAfter: RC,
|
|
15465
15465
|
getDisplayedColBefore: EC,
|
|
@@ -15817,8 +15817,8 @@ 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
|
-
), kr, Lr,
|
|
15821
|
-
if (
|
|
15820
|
+
), kr, Lr, bn = 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
|
+
if (bn)
|
|
15822
15822
|
return;
|
|
15823
15823
|
i && (e = `@layer ${CSS.escape(i)} { ${e} }`);
|
|
15824
15824
|
let r = Tt.map.get(t);
|
|
@@ -16294,7 +16294,7 @@ ${s}`;
|
|
|
16294
16294
|
"fontFamily",
|
|
16295
16295
|
"fontWeight",
|
|
16296
16296
|
"duration"
|
|
16297
|
-
], Cm = om((e) => (e = e.toLowerCase(), fm.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Ai = (e) => typeof e == "object" && (e != null && e.ref) ? Te(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1,
|
|
16297
|
+
], Cm = om((e) => (e = e.toLowerCase(), fm.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Ai = (e) => typeof e == "object" && (e != null && e.ref) ? Te(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1, Sn = (e) => {
|
|
16298
16298
|
if (typeof e == "string")
|
|
16299
16299
|
return e;
|
|
16300
16300
|
if (e && "ref" in e) {
|
|
@@ -16302,19 +16302,19 @@ ${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) : Al(e.style ?? "solid") + " " + mt(e.width ?? { ref: "borderWidth" }) + " " +
|
|
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" }) + " " + Sn(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
|
+
Sn(e.color ?? { ref: "foregroundColor" })
|
|
16311
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
|
-
),
|
|
16317
|
-
color:
|
|
16316
|
+
), bm = 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, Sm = (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
|
+
color: Sn,
|
|
16318
16318
|
colorScheme: mm,
|
|
16319
16319
|
length: mt,
|
|
16320
16320
|
scale: wm,
|
|
@@ -16323,8 +16323,8 @@ ${s}`;
|
|
|
16323
16323
|
shadow: vm,
|
|
16324
16324
|
image: kl,
|
|
16325
16325
|
fontFamily: Ml,
|
|
16326
|
-
fontWeight:
|
|
16327
|
-
duration:
|
|
16326
|
+
fontWeight: bm,
|
|
16327
|
+
duration: Sm
|
|
16328
16328
|
}, Rm = (e, t) => {
|
|
16329
16329
|
const o = Cm(e);
|
|
16330
16330
|
return ym[o](t, e);
|
|
@@ -16351,7 +16351,7 @@ ${s}`;
|
|
|
16351
16351
|
* container is within a shadow root.
|
|
16352
16352
|
*/
|
|
16353
16353
|
_startUse({ styleContainer: t, cssLayer: o, nonce: i, loadThemeGoogleFonts: s }) {
|
|
16354
|
-
if (
|
|
16354
|
+
if (bn)
|
|
16355
16355
|
return;
|
|
16356
16356
|
Dm(), Dl(t, o, i);
|
|
16357
16357
|
const n = xm(this);
|
|
@@ -16812,7 +16812,7 @@ ${n}}
|
|
|
16812
16812
|
changeKey: "rowBorderWidthChanged",
|
|
16813
16813
|
defaultValue: 1,
|
|
16814
16814
|
border: !0
|
|
16815
|
-
},
|
|
16815
|
+
}, br = {
|
|
16816
16816
|
cssName: "--ag-pinned-row-border",
|
|
16817
16817
|
changeKey: "pinnedRowBorderWidthChanged",
|
|
16818
16818
|
defaultValue: 1,
|
|
@@ -16826,12 +16826,12 @@ ${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(mr), this.getSizeEl(wr), this.getSizeEl(vr), this.getSizeEl(rs), 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(br), 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(br);
|
|
16835
16835
|
}
|
|
16836
16836
|
getRowBorderWidth() {
|
|
16837
16837
|
return this.getCSSVariablePixelValue(rs);
|
|
@@ -16969,7 +16969,7 @@ ${n}}
|
|
|
16969
16969
|
const a = this.gos.get("styleNonce");
|
|
16970
16970
|
a && r.setAttribute("nonce", a), t.appendChild(r);
|
|
16971
16971
|
}
|
|
16972
|
-
|
|
16972
|
+
bn || (r.textContent = (n == null ? void 0 : n._getPerGridCss(this.paramsClass)) || ""), this.applyThemeClasses(t), this.fireGridStylesChangedEvent("themeChanged");
|
|
16973
16973
|
}
|
|
16974
16974
|
n && getComputedStyle(this.getMeasurementContainer()).getPropertyValue("--ag-legacy-styles-loaded") && $(s ? 106 : 239);
|
|
16975
16975
|
}
|
|
@@ -18317,7 +18317,7 @@ var rw = class extends E {
|
|
|
18317
18317
|
"findSearchValue",
|
|
18318
18318
|
"styleNonce",
|
|
18319
18319
|
"renderingMode"
|
|
18320
|
-
],
|
|
18320
|
+
], bw = [
|
|
18321
18321
|
"components",
|
|
18322
18322
|
"rowStyle",
|
|
18323
18323
|
"context",
|
|
@@ -18356,7 +18356,7 @@ var rw = class extends E {
|
|
|
18356
18356
|
"selectionColumnDef",
|
|
18357
18357
|
"findOptions",
|
|
18358
18358
|
"filterHandlers"
|
|
18359
|
-
],
|
|
18359
|
+
], Sw = [
|
|
18360
18360
|
"sortingOrder",
|
|
18361
18361
|
"alignedGrids",
|
|
18362
18362
|
"rowData",
|
|
@@ -18618,8 +18618,8 @@ var rw = class extends E {
|
|
|
18618
18618
|
"isRowPinned",
|
|
18619
18619
|
"isRowValidDropPosition"
|
|
18620
18620
|
], zs = () => [
|
|
18621
|
-
...bw,
|
|
18622
18621
|
...Sw,
|
|
18622
|
+
...bw,
|
|
18623
18623
|
...vw,
|
|
18624
18624
|
...Nl,
|
|
18625
18625
|
...Ew,
|
|
@@ -19994,7 +19994,7 @@ var Qw = class extends E {
|
|
|
19994
19994
|
moveToNextCellNotEditing(e, t, o) {
|
|
19995
19995
|
const i = this.beans.visibleCols.allCols;
|
|
19996
19996
|
let s;
|
|
19997
|
-
if (e instanceof
|
|
19997
|
+
if (e instanceof bi) {
|
|
19998
19998
|
if (s = {
|
|
19999
19999
|
...e.getRowPosition(),
|
|
20000
20000
|
column: t ? i[0] : z(i)
|
|
@@ -20945,7 +20945,7 @@ var cv = (
|
|
|
20945
20945
|
const { pinnedRowModel: i, beans: s, printLayout: n } = this, r = Object.fromEntries(e.map((l) => [l.rowNode.id, l]));
|
|
20946
20946
|
i == null || i.forEachPinnedRow(t, (l, d) => {
|
|
20947
20947
|
const c = e[d];
|
|
20948
|
-
c && i.getPinnedRowById(c.rowNode.id, t) === void 0 && (c.destroyFirstPass(), c.destroySecondPass()), l.id in r && o ? (e[d] = r[l.id], delete r[l.id]) : e[d] = new
|
|
20948
|
+
c && i.getPinnedRowById(c.rowNode.id, t) === void 0 && (c.destroyFirstPass(), c.destroySecondPass()), l.id in r && o ? (e[d] = r[l.id], delete r[l.id]) : e[d] = new bi(l, s, !1, !1, n);
|
|
20949
20949
|
});
|
|
20950
20950
|
const a = (t === "top" ? i == null ? void 0 : i.getPinnedTopRowCount() : i == null ? void 0 : i.getPinnedBottomRowCount()) ?? 0;
|
|
20951
20951
|
e.length = a;
|
|
@@ -21339,12 +21339,12 @@ var cv = (
|
|
|
21339
21339
|
const c = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
|
|
21340
21340
|
let g = !1, p, f;
|
|
21341
21341
|
do {
|
|
21342
|
-
const v = t.getPixelOffset(), { pageFirstPixel:
|
|
21343
|
-
h ? (p =
|
|
21342
|
+
const v = t.getPixelOffset(), { pageFirstPixel: S, pageLastPixel: x } = t.getCurrentPagePixelRange(), T = e.divStretchOffset, L = u.getVScrollPosition(), D = L.top, F = L.bottom;
|
|
21343
|
+
h ? (p = S + T, f = x + T) : (p = Math.max(D + v - c, S) + T, f = Math.min(F + v + c, x) + T), this.firstVisibleVPixel = Math.max(D + v, S) + T, this.lastVisibleVPixel = Math.min(F + v, x) + T, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
|
|
21344
21344
|
} while (g);
|
|
21345
21345
|
let C = o.getRowIndexAtPixel(p), m = o.getRowIndexAtPixel(f);
|
|
21346
|
-
const w = t.getFirstRow(),
|
|
21347
|
-
C < w && (C = w), m >
|
|
21346
|
+
const w = t.getFirstRow(), b = t.getLastRow();
|
|
21347
|
+
C < w && (C = w), m > b && (m = b), i = C, s = m;
|
|
21348
21348
|
}
|
|
21349
21349
|
const n = ee(this.gos, "normal"), r = this.gos.get("suppressMaxRenderedRowRestriction"), a = Math.max(this.getRowBuffer(), 500);
|
|
21350
21350
|
n && !r && s - i > a && (s = i + a);
|
|
@@ -21407,7 +21407,7 @@ var cv = (
|
|
|
21407
21407
|
if (i)
|
|
21408
21408
|
return i;
|
|
21409
21409
|
const s = o && !this.printLayout && !!((a = this.beans.animationFrameSvc) != null && a.active);
|
|
21410
|
-
return new
|
|
21410
|
+
return new bi(e, this.beans, t, s, this.printLayout);
|
|
21411
21411
|
}
|
|
21412
21412
|
getRenderedNodes() {
|
|
21413
21413
|
const e = Object.values(this.rowCtrlsByRowIndex).map((i) => i.rowNode), t = this.getStickyTopRowCtrls().map((i) => i.rowNode), o = this.getStickyBottomRowCtrls().map((i) => i.rowNode);
|
|
@@ -21458,11 +21458,11 @@ var cv = (
|
|
|
21458
21458
|
}
|
|
21459
21459
|
removeRow(e) {
|
|
21460
21460
|
const t = e.id, o = this.entriesMap[t];
|
|
21461
|
-
delete this.entriesMap[t],
|
|
21461
|
+
delete this.entriesMap[t], Se(this.entriesList, o);
|
|
21462
21462
|
}
|
|
21463
21463
|
removeFromCache(e) {
|
|
21464
21464
|
const t = e.rowNode.id;
|
|
21465
|
-
delete this.entriesMap[t],
|
|
21465
|
+
delete this.entriesMap[t], Se(this.entriesList, e);
|
|
21466
21466
|
}
|
|
21467
21467
|
getEntries() {
|
|
21468
21468
|
return this.entriesList;
|
|
@@ -21564,7 +21564,7 @@ var vv = class extends E {
|
|
|
21564
21564
|
return o.getValue(t, e, !1);
|
|
21565
21565
|
}
|
|
21566
21566
|
};
|
|
21567
|
-
function
|
|
21567
|
+
function bv(e) {
|
|
21568
21568
|
var t;
|
|
21569
21569
|
(t = e.sortSvc) == null || t.onSortChanged("api");
|
|
21570
21570
|
}
|
|
@@ -21573,7 +21573,7 @@ var $l = {
|
|
|
21573
21573
|
version: k,
|
|
21574
21574
|
beans: [hw, vv],
|
|
21575
21575
|
apiFunctions: {
|
|
21576
|
-
onSortChanged:
|
|
21576
|
+
onSortChanged: bv
|
|
21577
21577
|
},
|
|
21578
21578
|
userComponents: {
|
|
21579
21579
|
agSortIndicator: yn
|
|
@@ -21586,7 +21586,7 @@ var $l = {
|
|
|
21586
21586
|
// show on column header when column has no sort, only when enabled with gridOptions.unSortIcon=true
|
|
21587
21587
|
sortUnSort: "none"
|
|
21588
21588
|
}
|
|
21589
|
-
},
|
|
21589
|
+
}, Sv = class extends E {
|
|
21590
21590
|
constructor() {
|
|
21591
21591
|
super(...arguments), this.beanName = "syncSvc", this.waitingForColumns = !1;
|
|
21592
21592
|
}
|
|
@@ -21645,7 +21645,7 @@ var Ev = "paste", xv = class extends E {
|
|
|
21645
21645
|
return;
|
|
21646
21646
|
const i = e.node, s = [i], n = this.clientSideRowModel, r = n == null ? void 0 : n.rootNode;
|
|
21647
21647
|
if (r && !i.isRowPinned()) {
|
|
21648
|
-
const a = t.get("aggregateOnlyChangedColumns"), l = new
|
|
21648
|
+
const a = t.get("aggregateOnlyChangedColumns"), l = new Si(a, r);
|
|
21649
21649
|
l.addParentNode(i.parent, [e.column]), n.doAggregate(l), l.forEachChangedNodeDepthFirst((d) => {
|
|
21650
21650
|
s.push(d), d.sibling && s.push(d.sibling);
|
|
21651
21651
|
});
|
|
@@ -22009,7 +22009,7 @@ var Ev = "paste", xv = class extends E {
|
|
|
22009
22009
|
lw,
|
|
22010
22010
|
of,
|
|
22011
22011
|
jC,
|
|
22012
|
-
|
|
22012
|
+
bu,
|
|
22013
22013
|
fv,
|
|
22014
22014
|
nC,
|
|
22015
22015
|
ow,
|
|
@@ -22023,7 +22023,7 @@ var Ev = "paste", xv = class extends E {
|
|
|
22023
22023
|
tw,
|
|
22024
22024
|
aw,
|
|
22025
22025
|
YC,
|
|
22026
|
-
|
|
22026
|
+
Sv,
|
|
22027
22027
|
WC,
|
|
22028
22028
|
zC
|
|
22029
22029
|
],
|
|
@@ -22057,7 +22057,7 @@ var Ev = "paste", xv = class extends E {
|
|
|
22057
22057
|
isDestroyed: rf,
|
|
22058
22058
|
getGridOption: af,
|
|
22059
22059
|
setGridOption: lf,
|
|
22060
|
-
updateGridOptions:
|
|
22060
|
+
updateGridOptions: bl,
|
|
22061
22061
|
isModuleRegistered: df
|
|
22062
22062
|
},
|
|
22063
22063
|
dependsOn: [
|
|
@@ -22238,7 +22238,7 @@ ${t.join(`
|
|
|
22238
22238
|
|
|
22239
22239
|
ModuleRegistry.registerModules([ ${e.map((i) => io(i, !0)).join(", ")} ]);
|
|
22240
22240
|
|
|
22241
|
-
For more info see: ${
|
|
22241
|
+
For more info see: ${St}/modules/`;
|
|
22242
22242
|
};
|
|
22243
22243
|
function io(e, t = !1) {
|
|
22244
22244
|
return t && (e === "IntegratedCharts" || e === "Sparklines") ? `${e}Module.with(AgChartsEnterpriseModule)` : `${e}Module`;
|
|
@@ -22256,7 +22256,7 @@ function jl({
|
|
|
22256
22256
|
}) {
|
|
22257
22257
|
return `To use the ${e}Module you must set the gridOption "rowModelType='${t}'"`;
|
|
22258
22258
|
}
|
|
22259
|
-
var
|
|
22259
|
+
var Sr = ({
|
|
22260
22260
|
reasonOrId: e,
|
|
22261
22261
|
moduleName: t,
|
|
22262
22262
|
gridScoped: o,
|
|
@@ -22449,7 +22449,7 @@ ${Nv(t)}`,
|
|
|
22449
22449
|
103: () => "Invalid selection state. When using client-side row model, the state must conform to `string[]`.",
|
|
22450
22450
|
104: ({ value: e, param: t }) => `Numeric value ${e} passed to ${t} param will be interpreted as ${e} seconds. If this is intentional use "${e}s" to silence this warning.`,
|
|
22451
22451
|
105: ({ e }) => ["chart rendering failed", e],
|
|
22452
|
-
106: () => `Theming API and Legacy Themes are both used in the same page. A Theming API theme has been provided to the 'theme' grid option, but the file (ag-grid.css) is also included and will cause styling issues. Remove ag-grid.css from the page. See the migration guide: ${
|
|
22452
|
+
106: () => `Theming API and Legacy Themes are both used in the same page. A Theming API theme has been provided to the 'theme' grid option, but the file (ag-grid.css) is also included and will cause styling issues. Remove ag-grid.css from the page. See the migration guide: ${St}/theming-migration/`,
|
|
22453
22453
|
107: ({ key: e, value: t }) => `Invalid value for theme param ${e} - ${t}`,
|
|
22454
22454
|
108: ({ e }) => ["chart update failed", e],
|
|
22455
22455
|
109: ({ inputValue: e, allSuggestions: t }) => {
|
|
@@ -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: Sr,
|
|
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.",
|
|
@@ -22588,7 +22588,7 @@ ${Nv(t)}`,
|
|
|
22588
22588
|
206: () => "getRowId callback must be implemented for transactions to work. Transaction was ignored.",
|
|
22589
22589
|
207: () => 'The Set Filter Parameter "defaultToNothingSelected" value was ignored because it does not work when "excelMode" is used.',
|
|
22590
22590
|
208: () => "Set Filter Value Formatter must return string values. Please ensure the Set Filter Value Formatter returns string values for complex objects.",
|
|
22591
|
-
209: () => `Set Filter Key Creator is returning null for provided values and provided values are primitives. Please provide complex objects. See ${
|
|
22591
|
+
209: () => `Set Filter Key Creator is returning null for provided values and provided values are primitives. Please provide complex objects. See ${St}/filter-set-filter-list/#filter-value-types`,
|
|
22592
22592
|
210: () => "Set Filter has a Key Creator, but provided values are primitives. Did you mean to provide complex objects?",
|
|
22593
22593
|
211: () => "property treeList=true for Set Filter params, but you did not provide a treeListPathGetter or values of type Date.",
|
|
22594
22594
|
212: () => "please review all your toolPanel components, it seems like at least one of them doesn't have an id",
|
|
@@ -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
|
+
}) => Sr({
|
|
22654
22654
|
reasonOrId: `AG Grid '${e}' component: ${t}`,
|
|
22655
22655
|
moduleName: It[t],
|
|
22656
22656
|
gridId: i,
|
|
@@ -22661,7 +22661,7 @@ To see what part of your code that caused the refresh check this stacktrace.`,
|
|
|
22661
22661
|
262: () => 'As of v33, icon key "smallDown" is deprecated. Use "advancedFilterBuilderSelect" for Advanced Filter Builder dropdown, "selectOpen" for Select cell editor and dropdowns (e.g. Integrated Charts menu), "richSelectOpen" for Rich Select cell editor.',
|
|
22662
22662
|
263: () => 'As of v33, icon key "smallLeft" is deprecated. Use "panelDelimiterRtl" for Row Group Panel / Pivot Panel, "subMenuOpenRtl" for sub-menus.',
|
|
22663
22663
|
264: () => 'As of v33, icon key "smallRight" is deprecated. Use "panelDelimiter" for Row Group Panel / Pivot Panel, "subMenuOpen" for sub-menus.',
|
|
22664
|
-
265: ({ colId: e }) => `Unable to infer chart data type for column '${e}' if first data entry is null. Please specify "chartDataType", or a "cellDataType" in the column definition. For more information, see ${
|
|
22664
|
+
265: ({ colId: e }) => `Unable to infer chart data type for column '${e}' if first data entry is null. Please specify "chartDataType", or a "cellDataType" in the column definition. For more information, see ${St}/integrated-charts-range-chart#coldefchartdatatype .`,
|
|
22665
22665
|
266: () => 'As of v33.1, using "keyCreator" with the Rich Select Editor has been deprecated. It now requires the "formatValue" callback to convert complex data to strings.',
|
|
22666
22666
|
267: () => "Detail grids can not use a different theme to the master grid, the `theme` detail grid option will be ignored.",
|
|
22667
22667
|
268: () => "Transactions aren't supported with tree data when using treeDataChildrenField",
|
|
@@ -22882,14 +22882,14 @@ function Yv(e, t = !1) {
|
|
|
22882
22882
|
rowGroup: C,
|
|
22883
22883
|
rowGroupIndex: m,
|
|
22884
22884
|
aggFunc: w,
|
|
22885
|
-
pivot:
|
|
22885
|
+
pivot: b,
|
|
22886
22886
|
pivotIndex: v,
|
|
22887
|
-
pinned:
|
|
22887
|
+
pinned: S,
|
|
22888
22888
|
hide: x,
|
|
22889
22889
|
width: T,
|
|
22890
22890
|
flex: L
|
|
22891
22891
|
} = e[h];
|
|
22892
|
-
c.push(g), p && (o[f ?? u++] = { colId: g, sort: p }), C && (i[m ?? 0] = g), typeof w == "string" && s.push({ colId: g, aggFunc: w }),
|
|
22892
|
+
c.push(g), p && (o[f ?? u++] = { colId: g, sort: p }), C && (i[m ?? 0] = g), typeof w == "string" && s.push({ colId: g, aggFunc: w }), b && (n[v ?? 0] = g), S && (S === "right" ? a : r).push(g), x && l.push(g), (L != null || T) && d.push({ colId: g, flex: L ?? void 0, width: T });
|
|
22893
22893
|
}
|
|
22894
22894
|
return {
|
|
22895
22895
|
sort: o.length ? { sortModel: o } : void 0,
|
|
@@ -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
|
-
},
|
|
22939
|
+
}, eb = 1e3, tb = 1e3, Dr = 100, Fr, Vo = !1, ob = 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
|
}
|
|
@@ -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() - Fr <
|
|
23007
|
+
return Date.now() - Fr < eb;
|
|
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;
|
|
@@ -23113,7 +23113,7 @@ var Qv = class {
|
|
|
23113
23113
|
}
|
|
23114
23114
|
destroyTooltipComp() {
|
|
23115
23115
|
this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");
|
|
23116
|
-
const e = this.tooltipPopupDestroyFunc, t = this.tooltipComp, o = this.tooltipTrigger === 0 ?
|
|
23116
|
+
const e = this.tooltipPopupDestroyFunc, t = this.tooltipComp, o = this.tooltipTrigger === 0 ? tb : 0;
|
|
23117
23117
|
window.setTimeout(() => {
|
|
23118
23118
|
e(), this.destroyBean(t);
|
|
23119
23119
|
}, o), this.clearTooltipListeners(), this.tooltipPopupDestroyFunc = void 0, this.tooltipComp = void 0;
|
|
@@ -23155,7 +23155,7 @@ var Qv = class {
|
|
|
23155
23155
|
function cs(e) {
|
|
23156
23156
|
return e.get("tooltipShowMode") === "whenTruncated";
|
|
23157
23157
|
}
|
|
23158
|
-
var
|
|
23158
|
+
var ib = class extends E {
|
|
23159
23159
|
constructor(e, t) {
|
|
23160
23160
|
super(), this.ctrl = e, t && (this.beans = t);
|
|
23161
23161
|
}
|
|
@@ -23179,7 +23179,7 @@ var iS = class extends E {
|
|
|
23179
23179
|
}
|
|
23180
23180
|
createTooltipFeatureIfNeeded() {
|
|
23181
23181
|
this.tooltipManager == null && (this.tooltipManager = this.createBean(
|
|
23182
|
-
new
|
|
23182
|
+
new ob(this.ctrl, () => this.tooltip),
|
|
23183
23183
|
this.beans.context
|
|
23184
23184
|
));
|
|
23185
23185
|
}
|
|
@@ -23192,7 +23192,7 @@ var iS = class extends E {
|
|
|
23192
23192
|
destroy() {
|
|
23193
23193
|
this.tooltipManager = this.destroyBean(this.tooltipManager, this.beans.context), super.destroy();
|
|
23194
23194
|
}
|
|
23195
|
-
},
|
|
23195
|
+
}, sb = {
|
|
23196
23196
|
enableBrowserTooltips: !0,
|
|
23197
23197
|
tooltipTrigger: !0,
|
|
23198
23198
|
tooltipMouseTrack: !0,
|
|
@@ -23276,7 +23276,7 @@ var iS = class extends E {
|
|
|
23276
23276
|
enableCellSpan: !0,
|
|
23277
23277
|
enableFilterHandlers: !0,
|
|
23278
23278
|
filterHandlers: !0
|
|
23279
|
-
}, re = "clientSide", oe = "serverSide", gt = "infinite",
|
|
23279
|
+
}, re = "clientSide", oe = "serverSide", gt = "infinite", nb = {
|
|
23280
23280
|
onGroupExpandedOrCollapsed: [re],
|
|
23281
23281
|
refreshClientSideRowModel: [re],
|
|
23282
23282
|
isRowDataEmpty: [re],
|
|
@@ -23306,7 +23306,7 @@ var iS = class extends E {
|
|
|
23306
23306
|
onRowHeightChanged: [re, oe],
|
|
23307
23307
|
setRowCount: [gt, oe],
|
|
23308
23308
|
getCacheBlockState: [gt, oe]
|
|
23309
|
-
},
|
|
23309
|
+
}, rb = {
|
|
23310
23310
|
showLoadingOverlay: {
|
|
23311
23311
|
version: "v32",
|
|
23312
23312
|
message: '`showLoadingOverlay` is deprecated. Use the grid option "loading"=true instead or setGridOption("loading", true).'
|
|
@@ -23341,8 +23341,8 @@ var iS = class extends E {
|
|
|
23341
23341
|
new: 'deselectAll("currentPage")'
|
|
23342
23342
|
}
|
|
23343
23343
|
};
|
|
23344
|
-
function
|
|
23345
|
-
const i =
|
|
23344
|
+
function ab(e, t, o) {
|
|
23345
|
+
const i = rb[e];
|
|
23346
23346
|
if (i) {
|
|
23347
23347
|
const { version: n, new: r, old: a, message: l } = i, d = a ?? e;
|
|
23348
23348
|
return (...c) => {
|
|
@@ -23350,11 +23350,11 @@ function aS(e, t, o) {
|
|
|
23350
23350
|
return eo(`Since ${n} api.${d} is deprecated. ${u}${l ?? ""}`), t.apply(t, c);
|
|
23351
23351
|
};
|
|
23352
23352
|
}
|
|
23353
|
-
const s =
|
|
23353
|
+
const s = nb[e];
|
|
23354
23354
|
return s ? (...n) => {
|
|
23355
23355
|
const r = o.rowModel.getType();
|
|
23356
23356
|
if (!s.includes(r)) {
|
|
23357
|
-
|
|
23357
|
+
bt(
|
|
23358
23358
|
`api.${e} can only be called when gridOptions.rowModelType is ${s.join(" or ")}`
|
|
23359
23359
|
);
|
|
23360
23360
|
return;
|
|
@@ -23362,7 +23362,7 @@ function aS(e, t, o) {
|
|
|
23362
23362
|
return t.apply(t, n);
|
|
23363
23363
|
} : t;
|
|
23364
23364
|
}
|
|
23365
|
-
var
|
|
23365
|
+
var lb = {
|
|
23366
23366
|
detailCellRendererCtrl: "SharedMasterDetail",
|
|
23367
23367
|
dndSourceComp: "DragAndDrop",
|
|
23368
23368
|
fillHandle: "CellSelection",
|
|
@@ -23382,7 +23382,7 @@ var lS = {
|
|
|
23382
23382
|
agNumberColumnFilterHandler: "NumberFilter",
|
|
23383
23383
|
agDateColumnFilterHandler: "DateFilter",
|
|
23384
23384
|
agTextColumnFilterHandler: "TextFilter"
|
|
23385
|
-
},
|
|
23385
|
+
}, db = {
|
|
23386
23386
|
expanded: 1,
|
|
23387
23387
|
contracted: 1,
|
|
23388
23388
|
"tree-closed": 1,
|
|
@@ -23450,7 +23450,7 @@ var lS = {
|
|
|
23450
23450
|
"chevron-left": 1,
|
|
23451
23451
|
"chevron-right": 1,
|
|
23452
23452
|
edit: 1
|
|
23453
|
-
},
|
|
23453
|
+
}, cb = {
|
|
23454
23454
|
chart: "MenuCore",
|
|
23455
23455
|
cancel: "EnterpriseCore",
|
|
23456
23456
|
first: "Pagination",
|
|
@@ -23557,7 +23557,7 @@ var lS = {
|
|
|
23557
23557
|
rowUnpin: "PinnedRow",
|
|
23558
23558
|
rowPinBottom: "PinnedRow",
|
|
23559
23559
|
rowPinTop: "PinnedRow"
|
|
23560
|
-
},
|
|
23560
|
+
}, ub = /* @__PURE__ */ new Set([
|
|
23561
23561
|
"colorPicker",
|
|
23562
23562
|
"smallUp",
|
|
23563
23563
|
"checkboxChecked",
|
|
@@ -23568,7 +23568,7 @@ var lS = {
|
|
|
23568
23568
|
"smallDown",
|
|
23569
23569
|
"smallLeft",
|
|
23570
23570
|
"smallRight"
|
|
23571
|
-
]),
|
|
23571
|
+
]), hb = class extends E {
|
|
23572
23572
|
constructor() {
|
|
23573
23573
|
super(...arguments), this.beanName = "validation";
|
|
23574
23574
|
}
|
|
@@ -23576,13 +23576,13 @@ var lS = {
|
|
|
23576
23576
|
this.gridOptions = e.gridOptions, vc(this);
|
|
23577
23577
|
}
|
|
23578
23578
|
warnOnInitialPropertyUpdate(e, t) {
|
|
23579
|
-
e === "api" &&
|
|
23579
|
+
e === "api" && sb[t] && A(22, { key: t });
|
|
23580
23580
|
}
|
|
23581
23581
|
processGridOptions(e) {
|
|
23582
23582
|
this.processOptions(e, Pw());
|
|
23583
23583
|
}
|
|
23584
23584
|
validateApiFunction(e, t) {
|
|
23585
|
-
return
|
|
23585
|
+
return ab(e, t, this.beans);
|
|
23586
23586
|
}
|
|
23587
23587
|
missingUserComponent(e, t, o, i) {
|
|
23588
23588
|
const s = It[t];
|
|
@@ -23597,7 +23597,7 @@ var lS = {
|
|
|
23597
23597
|
});
|
|
23598
23598
|
}
|
|
23599
23599
|
missingDynamicBean(e) {
|
|
23600
|
-
const t =
|
|
23600
|
+
const t = lb[e];
|
|
23601
23601
|
return t ? Fe(200, {
|
|
23602
23602
|
...this.gos.getModuleErrorParams(),
|
|
23603
23603
|
moduleName: t,
|
|
@@ -23605,12 +23605,12 @@ var lS = {
|
|
|
23605
23605
|
}) : void 0;
|
|
23606
23606
|
}
|
|
23607
23607
|
checkRowEvents(e) {
|
|
23608
|
-
|
|
23608
|
+
pb.has(e) && A(10, { eventType: e });
|
|
23609
23609
|
}
|
|
23610
23610
|
validateIcon(e) {
|
|
23611
|
-
if (
|
|
23611
|
+
if (ub.has(e) && A(43, { iconName: e }), db[e])
|
|
23612
23612
|
return;
|
|
23613
|
-
const t =
|
|
23613
|
+
const t = cb[e];
|
|
23614
23614
|
if (t) {
|
|
23615
23615
|
$(200, {
|
|
23616
23616
|
reasonOrId: `icon '${e}'`,
|
|
@@ -23644,8 +23644,8 @@ var lS = {
|
|
|
23644
23644
|
Object.keys(e).forEach((c) => {
|
|
23645
23645
|
const u = i[c];
|
|
23646
23646
|
if (u) {
|
|
23647
|
-
const { message: w, version:
|
|
23648
|
-
l.add(`As of v${
|
|
23647
|
+
const { message: w, version: b } = u;
|
|
23648
|
+
l.add(`As of v${b}, ${String(c)} is deprecated. ${w ?? ""}`);
|
|
23649
23649
|
}
|
|
23650
23650
|
const h = e[c];
|
|
23651
23651
|
if (h == null || h === !1)
|
|
@@ -23701,7 +23701,7 @@ var lS = {
|
|
|
23701
23701
|
`);
|
|
23702
23702
|
}
|
|
23703
23703
|
checkProperties(e, t, o, i, s) {
|
|
23704
|
-
const n = ["__ob__", "__v_skip", "__metadata__"], r =
|
|
23704
|
+
const n = ["__ob__", "__v_skip", "__metadata__"], r = gb(
|
|
23705
23705
|
Object.getOwnPropertyNames(e),
|
|
23706
23706
|
[...n, ...t, ...o],
|
|
23707
23707
|
o
|
|
@@ -23721,7 +23721,7 @@ If you are trying to annotate ${i} with application data, use the '${i}.context'
|
|
|
23721
23721
|
return Wv(e, t);
|
|
23722
23722
|
}
|
|
23723
23723
|
};
|
|
23724
|
-
function
|
|
23724
|
+
function gb(e, t, o) {
|
|
23725
23725
|
const i = {}, s = e.filter(
|
|
23726
23726
|
(n) => !t.some((r) => r === n)
|
|
23727
23727
|
);
|
|
@@ -23729,15 +23729,15 @@ function gS(e, t, o) {
|
|
|
23729
23729
|
(n) => i[n] = Ks({ inputValue: n, allSuggestions: o }).values
|
|
23730
23730
|
), i;
|
|
23731
23731
|
}
|
|
23732
|
-
var
|
|
23732
|
+
var pb = /* @__PURE__ */ new Set([
|
|
23733
23733
|
"firstChildChanged",
|
|
23734
23734
|
"lastChildChanged",
|
|
23735
23735
|
"childIndexChanged"
|
|
23736
|
-
]),
|
|
23736
|
+
]), fb = {
|
|
23737
23737
|
moduleName: "Validation",
|
|
23738
23738
|
version: k,
|
|
23739
|
-
beans: [
|
|
23740
|
-
}, No = 0,
|
|
23739
|
+
beans: [hb]
|
|
23740
|
+
}, No = 0, Cb = 200, mb = class extends E {
|
|
23741
23741
|
constructor() {
|
|
23742
23742
|
super(...arguments), this.beanName = "popupSvc", this.popupList = [];
|
|
23743
23743
|
}
|
|
@@ -23889,7 +23889,7 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
23889
23889
|
};
|
|
23890
23890
|
if (l(), !n) {
|
|
23891
23891
|
const d = dt(this.beans, t, () => l(!0));
|
|
23892
|
-
setTimeout(() => d(),
|
|
23892
|
+
setTimeout(() => d(), Cb);
|
|
23893
23893
|
}
|
|
23894
23894
|
}
|
|
23895
23895
|
getActivePopups() {
|
|
@@ -23944,12 +23944,12 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
23944
23944
|
return;
|
|
23945
23945
|
C.key === y.ESCAPE && !Ge(C) && f({ keyboardEvent: C });
|
|
23946
23946
|
}, g = (C) => f({ mouseEvent: C }), p = (C) => f({ touchEvent: C }), f = (C = {}) => {
|
|
23947
|
-
const { mouseEvent: m, touchEvent: w, keyboardEvent:
|
|
23947
|
+
const { mouseEvent: m, touchEvent: w, keyboardEvent: b, forceHide: v } = C;
|
|
23948
23948
|
!v && // we don't hide popup if the event was on the child, or any
|
|
23949
23949
|
// children of this child
|
|
23950
23950
|
(this.isEventFromCurrentPopup({ mouseEvent: m, touchEvent: w }, n) || // this method should only be called once. the client can have different
|
|
23951
23951
|
// paths, each one wanting to close, so this method may be called multiple times.
|
|
23952
|
-
u) || (u = !0, i.removeChild(s), o.removeEventListener("keydown", h), o.removeEventListener("mousedown", g), o.removeEventListener("touchstart", p), o.removeEventListener("contextmenu", g), this.eventSvc.removeEventListener("dragStarted", g), r && r(m || w ||
|
|
23952
|
+
u) || (u = !0, i.removeChild(s), o.removeEventListener("keydown", h), o.removeEventListener("mousedown", g), o.removeEventListener("touchstart", p), o.removeEventListener("contextmenu", g), this.eventSvc.removeEventListener("dragStarted", g), r && r(m || w || b), this.removePopupFromPopupList(n, c));
|
|
23953
23953
|
};
|
|
23954
23954
|
return a && a({ hidePopup: f }), window.setTimeout(() => {
|
|
23955
23955
|
l && o.addEventListener("keydown", h), d && (o.addEventListener("mousedown", g), this.eventSvc.addEventListener("dragStarted", g), o.addEventListener("touchstart", p), o.addEventListener("contextmenu", g));
|
|
@@ -24014,16 +24014,16 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24014
24014
|
const f = (C, m) => {
|
|
24015
24015
|
const w = r(s.style[m]);
|
|
24016
24016
|
C.last !== w && (C.initial = w, C.last = w);
|
|
24017
|
-
const
|
|
24018
|
-
if (
|
|
24017
|
+
const b = h[m] - g[m];
|
|
24018
|
+
if (b != C.lastDiff) {
|
|
24019
24019
|
const v = this.keepXYWithinBounds(
|
|
24020
24020
|
s,
|
|
24021
|
-
C.initial + C.initialDiff -
|
|
24021
|
+
C.initial + C.initialDiff - b,
|
|
24022
24022
|
C.direction
|
|
24023
24023
|
);
|
|
24024
24024
|
s.style[m] = `${v}px`, C.last = v;
|
|
24025
24025
|
}
|
|
24026
|
-
C.lastDiff =
|
|
24026
|
+
C.lastDiff = b;
|
|
24027
24027
|
};
|
|
24028
24028
|
f(l, "top"), f(d, "left");
|
|
24029
24029
|
}, 200).then((h) => {
|
|
@@ -24094,15 +24094,15 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24094
24094
|
}, ql = {
|
|
24095
24095
|
moduleName: "Popup",
|
|
24096
24096
|
version: k,
|
|
24097
|
-
beans: [
|
|
24098
|
-
},
|
|
24097
|
+
beans: [mb]
|
|
24098
|
+
}, wb = (
|
|
24099
24099
|
/*css*/
|
|
24100
24100
|
".ag-tooltip{background-color:var(--ag-tooltip-background-color);border:var(--ag-tooltip-border);border-radius:var(--ag-border-radius);color:var(--ag-tooltip-text-color);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;white-space:normal;z-index:99999;&:where(.ag-cell-editor-tooltip){background-color:var(--ag-tooltip-error-background-color);border:var(--ag-tooltip-error-border);color:var(--ag-tooltip-error-text-color);font-weight:500}}.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:where(:not(.ag-tooltip-interactive)),.ag-tooltip:where(:not(.ag-tooltip-interactive)){pointer-events:none}.ag-tooltip-animate{transition:opacity 1s;&:where(.ag-tooltip-hiding){opacity:0}}"
|
|
24101
24101
|
), us = (e, t, o) => {
|
|
24102
24102
|
var a, l, d;
|
|
24103
24103
|
const { editModelSvc: i } = e, s = (l = (a = i == null ? void 0 : i.getCellValidationModel()) == null ? void 0 : a.getCellValidation(t)) == null ? void 0 : l.errorMessages, n = (d = i == null ? void 0 : i.getRowValidationModel().getRowValidation(t)) == null ? void 0 : d.errorMessages, r = s || n;
|
|
24104
24104
|
return r && r.length ? r.join(o("tooltipValidationErrorSeparator", ". ")) : void 0;
|
|
24105
|
-
},
|
|
24105
|
+
}, vb = class extends E {
|
|
24106
24106
|
constructor() {
|
|
24107
24107
|
super(...arguments), this.beanName = "tooltipSvc";
|
|
24108
24108
|
}
|
|
@@ -24231,19 +24231,19 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24231
24231
|
}, Yl = {
|
|
24232
24232
|
moduleName: "Tooltip",
|
|
24233
24233
|
version: k,
|
|
24234
|
-
beans: [
|
|
24234
|
+
beans: [vb],
|
|
24235
24235
|
dynamicBeans: {
|
|
24236
|
-
tooltipFeature:
|
|
24236
|
+
tooltipFeature: ib
|
|
24237
24237
|
},
|
|
24238
24238
|
userComponents: {
|
|
24239
24239
|
agTooltipComponent: Jv
|
|
24240
24240
|
},
|
|
24241
24241
|
dependsOn: [ql],
|
|
24242
|
-
css: [
|
|
24243
|
-
},
|
|
24242
|
+
css: [wb]
|
|
24243
|
+
}, bb = (
|
|
24244
24244
|
/*css*/
|
|
24245
24245
|
".ag-cell-inline-editing{border:var(--ag-cell-editing-border)!important;border-radius:var(--ag-border-radius);box-shadow:var(--ag-cell-editing-shadow);padding:0;z-index:1;.ag-cell-edit-wrapper,.ag-cell-editor,.ag-cell-wrapper,:where(.ag-cell-editor) .ag-input-field-input,:where(.ag-cell-editor) .ag-wrapper{height:100%;line-height:normal;min-height:100%;width:100%}&.ag-cell-editing-error{border-color:var(--ag-invalid-color)!important}}:where(.ag-popup-editor) .ag-large-text{background-color:var(--ag-background-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);padding:0}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}:where(.ag-rtl .ag-large-text-input) textarea{resize:none}:where(.ag-ltr) .ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-checkbox-edit{padding-right:var(--ag-cell-horizontal-padding)}:where(.ag-row.ag-row-editing-invalid .ag-cell-inline-editing){opacity:.8}"
|
|
24246
|
-
),
|
|
24246
|
+
), Sb = {
|
|
24247
24247
|
tag: "div",
|
|
24248
24248
|
cls: "ag-cell-wrapper ag-cell-edit-wrapper ag-checkbox-edit",
|
|
24249
24249
|
children: [
|
|
@@ -24253,9 +24253,9 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24253
24253
|
role: "presentation"
|
|
24254
24254
|
}
|
|
24255
24255
|
]
|
|
24256
|
-
},
|
|
24256
|
+
}, yb = class extends Ii {
|
|
24257
24257
|
constructor() {
|
|
24258
|
-
super(
|
|
24258
|
+
super(Sb, [wn]), this.eEditor = I;
|
|
24259
24259
|
}
|
|
24260
24260
|
initialiseEditor(e) {
|
|
24261
24261
|
const t = e.value ?? void 0, o = this.eEditor;
|
|
@@ -24334,16 +24334,16 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24334
24334
|
getValidationErrors() {
|
|
24335
24335
|
return this.cellEditorInput.getValidationErrors();
|
|
24336
24336
|
}
|
|
24337
|
-
},
|
|
24337
|
+
}, Rb = {
|
|
24338
24338
|
tag: "ag-input-date-field",
|
|
24339
24339
|
ref: "eEditor",
|
|
24340
24340
|
cls: "ag-cell-editor"
|
|
24341
|
-
},
|
|
24341
|
+
}, Eb = class {
|
|
24342
24342
|
constructor(e, t) {
|
|
24343
24343
|
this.getDataTypeService = e, this.getLocaleTextFunc = t;
|
|
24344
24344
|
}
|
|
24345
24345
|
getTemplate() {
|
|
24346
|
-
return
|
|
24346
|
+
return Rb;
|
|
24347
24347
|
}
|
|
24348
24348
|
getAgComponents() {
|
|
24349
24349
|
return [ml];
|
|
@@ -24389,25 +24389,25 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24389
24389
|
if (e instanceof Date)
|
|
24390
24390
|
return We(e, this.includeTime ?? !1);
|
|
24391
24391
|
}
|
|
24392
|
-
},
|
|
24392
|
+
}, xb = class extends ki {
|
|
24393
24393
|
constructor() {
|
|
24394
24394
|
super(
|
|
24395
|
-
new
|
|
24395
|
+
new Eb(
|
|
24396
24396
|
() => this.beans.dataTypeSvc,
|
|
24397
24397
|
() => this.getLocaleTextFunc()
|
|
24398
24398
|
)
|
|
24399
24399
|
);
|
|
24400
24400
|
}
|
|
24401
|
-
},
|
|
24401
|
+
}, Db = {
|
|
24402
24402
|
tag: "ag-input-date-field",
|
|
24403
24403
|
ref: "eEditor",
|
|
24404
24404
|
cls: "ag-cell-editor"
|
|
24405
|
-
},
|
|
24405
|
+
}, Fb = class {
|
|
24406
24406
|
constructor(e, t) {
|
|
24407
24407
|
this.getDataTypeService = e, this.getLocaleTextFunc = t;
|
|
24408
24408
|
}
|
|
24409
24409
|
getTemplate() {
|
|
24410
|
-
return
|
|
24410
|
+
return Db;
|
|
24411
24411
|
}
|
|
24412
24412
|
getAgComponents() {
|
|
24413
24413
|
return [ml];
|
|
@@ -24463,16 +24463,16 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24463
24463
|
const t = this.getDataTypeService();
|
|
24464
24464
|
return t ? t.getDateFormatterFunction(this.params.column)(e) : We(e ?? null, this.includeTime ?? !1) ?? void 0;
|
|
24465
24465
|
}
|
|
24466
|
-
},
|
|
24466
|
+
}, Pb = class extends ki {
|
|
24467
24467
|
constructor() {
|
|
24468
24468
|
super(
|
|
24469
|
-
new
|
|
24469
|
+
new Fb(
|
|
24470
24470
|
() => this.beans.dataTypeSvc,
|
|
24471
24471
|
() => this.getLocaleTextFunc()
|
|
24472
24472
|
)
|
|
24473
24473
|
);
|
|
24474
24474
|
}
|
|
24475
|
-
},
|
|
24475
|
+
}, Tb = {
|
|
24476
24476
|
tag: "div",
|
|
24477
24477
|
cls: "ag-large-text",
|
|
24478
24478
|
children: [
|
|
@@ -24482,9 +24482,9 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24482
24482
|
cls: "ag-large-text-input"
|
|
24483
24483
|
}
|
|
24484
24484
|
]
|
|
24485
|
-
},
|
|
24485
|
+
}, Ib = class extends Ii {
|
|
24486
24486
|
constructor() {
|
|
24487
|
-
super(
|
|
24487
|
+
super(Tb, [Sp]), this.eEditor = I;
|
|
24488
24488
|
}
|
|
24489
24489
|
initialiseEditor(e) {
|
|
24490
24490
|
const { eEditor: t } = this, { cellStartedEdit: o, eventKey: i, value: s, maxLength: n, cols: r, rows: a } = e;
|
|
@@ -24518,16 +24518,16 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24518
24518
|
cellEditorParams: e
|
|
24519
24519
|
}) : n;
|
|
24520
24520
|
}
|
|
24521
|
-
},
|
|
24521
|
+
}, Ab = {
|
|
24522
24522
|
tag: "ag-input-number-field",
|
|
24523
24523
|
ref: "eEditor",
|
|
24524
24524
|
cls: "ag-cell-editor"
|
|
24525
|
-
},
|
|
24525
|
+
}, Mb = class {
|
|
24526
24526
|
constructor(e) {
|
|
24527
24527
|
this.getLocaleTextFunc = e;
|
|
24528
24528
|
}
|
|
24529
24529
|
getTemplate() {
|
|
24530
|
-
return
|
|
24530
|
+
return Ab;
|
|
24531
24531
|
}
|
|
24532
24532
|
getAgComponents() {
|
|
24533
24533
|
return [Rp];
|
|
@@ -24575,11 +24575,11 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24575
24575
|
setCaret() {
|
|
24576
24576
|
Ot() && this.eEditor.getInputElement().focus({ preventScroll: !0 });
|
|
24577
24577
|
}
|
|
24578
|
-
},
|
|
24578
|
+
}, kb = class extends ki {
|
|
24579
24579
|
constructor() {
|
|
24580
|
-
super(new
|
|
24580
|
+
super(new Mb(() => this.getLocaleTextFunc()));
|
|
24581
24581
|
}
|
|
24582
|
-
},
|
|
24582
|
+
}, Lb = {
|
|
24583
24583
|
tag: "div",
|
|
24584
24584
|
cls: "ag-cell-edit-wrapper",
|
|
24585
24585
|
children: [
|
|
@@ -24589,9 +24589,9 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24589
24589
|
cls: "ag-cell-editor"
|
|
24590
24590
|
}
|
|
24591
24591
|
]
|
|
24592
|
-
},
|
|
24592
|
+
}, Gb = class extends Ii {
|
|
24593
24593
|
constructor() {
|
|
24594
|
-
super(
|
|
24594
|
+
super(Lb, [Ap]), this.eEditor = I, this.startedByEnter = !1;
|
|
24595
24595
|
}
|
|
24596
24596
|
wireBeans(e) {
|
|
24597
24597
|
this.valueSvc = e.valueSvc;
|
|
@@ -24643,16 +24643,16 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24643
24643
|
cellEditorParams: e
|
|
24644
24644
|
}) : s;
|
|
24645
24645
|
}
|
|
24646
|
-
},
|
|
24646
|
+
}, Hb = {
|
|
24647
24647
|
tag: "ag-input-text-field",
|
|
24648
24648
|
ref: "eEditor",
|
|
24649
24649
|
cls: "ag-cell-editor"
|
|
24650
|
-
},
|
|
24650
|
+
}, Ob = class {
|
|
24651
24651
|
constructor(e) {
|
|
24652
24652
|
this.getLocaleTextFunc = e;
|
|
24653
24653
|
}
|
|
24654
24654
|
getTemplate() {
|
|
24655
|
-
return
|
|
24655
|
+
return Hb;
|
|
24656
24656
|
}
|
|
24657
24657
|
getAgComponents() {
|
|
24658
24658
|
return [vp];
|
|
@@ -24683,13 +24683,13 @@ var pS = /* @__PURE__ */ new Set([
|
|
|
24683
24683
|
}
|
|
24684
24684
|
}, Pr = class extends ki {
|
|
24685
24685
|
constructor() {
|
|
24686
|
-
super(new
|
|
24686
|
+
super(new Ob(() => this.getLocaleTextFunc()));
|
|
24687
24687
|
}
|
|
24688
24688
|
};
|
|
24689
|
-
function
|
|
24689
|
+
function Bb(e) {
|
|
24690
24690
|
return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
|
|
24691
24691
|
}
|
|
24692
|
-
function
|
|
24692
|
+
function Vb(e) {
|
|
24693
24693
|
return e.ctrlsSvc.getScrollFeature().getHScrollPosition();
|
|
24694
24694
|
}
|
|
24695
24695
|
function Zl(e, t, o = "auto") {
|
|
@@ -24704,13 +24704,13 @@ function Ql(e, t, o) {
|
|
|
24704
24704
|
"ensureVisible"
|
|
24705
24705
|
);
|
|
24706
24706
|
}
|
|
24707
|
-
function
|
|
24707
|
+
function Nb(e, t, o = null) {
|
|
24708
24708
|
e.frameworkOverrides.wrapIncoming(
|
|
24709
24709
|
() => e.ctrlsSvc.getScrollFeature().ensureNodeVisible(t, o),
|
|
24710
24710
|
"ensureVisible"
|
|
24711
24711
|
);
|
|
24712
24712
|
}
|
|
24713
|
-
function
|
|
24713
|
+
function _b(e) {
|
|
24714
24714
|
var i;
|
|
24715
24715
|
const t = (i = e.editModelSvc) == null ? void 0 : i.getEditMap(), o = [];
|
|
24716
24716
|
return t == null || t.forEach((s, n) => {
|
|
@@ -24733,19 +24733,19 @@ function _S(e) {
|
|
|
24733
24733
|
});
|
|
24734
24734
|
}), o;
|
|
24735
24735
|
}
|
|
24736
|
-
function
|
|
24736
|
+
function Wb(e, t = !1) {
|
|
24737
24737
|
var i;
|
|
24738
24738
|
const { editSvc: o } = e;
|
|
24739
24739
|
o != null && o.isBatchEditing() ? (t ? (i = e.editModelSvc) == null || i.getEditPositions().forEach((s) => {
|
|
24740
24740
|
s.state === "editing" && o.revertSingleCellEdit(s);
|
|
24741
24741
|
}) : Ye(e, !0), Dt(e)) : o == null || o.stopEditing(void 0, { cancel: t, source: "api" });
|
|
24742
24742
|
}
|
|
24743
|
-
function
|
|
24743
|
+
function zb(e, t) {
|
|
24744
24744
|
var i;
|
|
24745
24745
|
const o = U(e, t);
|
|
24746
24746
|
return ((i = e.editSvc) == null ? void 0 : i.isEditing(o)) ?? !1;
|
|
24747
24747
|
}
|
|
24748
|
-
function $
|
|
24748
|
+
function $b(e, t) {
|
|
24749
24749
|
const { key: o, colKey: i, rowIndex: s, rowPinned: n } = t, { editSvc: r, colModel: a } = e, l = a.getCol(i);
|
|
24750
24750
|
if (!l) {
|
|
24751
24751
|
A(12, { colKey: i });
|
|
@@ -24772,13 +24772,13 @@ function $S(e, t) {
|
|
|
24772
24772
|
}
|
|
24773
24773
|
);
|
|
24774
24774
|
}
|
|
24775
|
-
function
|
|
24775
|
+
function Ub(e) {
|
|
24776
24776
|
var t;
|
|
24777
24777
|
return ((t = e.editSvc) == null ? void 0 : t.validateEdit()) || null;
|
|
24778
24778
|
}
|
|
24779
|
-
var
|
|
24779
|
+
var Kb = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, jb = class extends Cn {
|
|
24780
24780
|
constructor(e) {
|
|
24781
|
-
super(
|
|
24781
|
+
super(Kb), this.params = e;
|
|
24782
24782
|
}
|
|
24783
24783
|
postConstruct() {
|
|
24784
24784
|
it(this.gos, this.getGui(), "popupEditorWrapper", !0), this.addKeyDownListener();
|
|
@@ -24815,7 +24815,7 @@ function ed(e, { rowNode: t, column: o }) {
|
|
|
24815
24815
|
})
|
|
24816
24816
|
);
|
|
24817
24817
|
}
|
|
24818
|
-
var
|
|
24818
|
+
var qb = class extends E {
|
|
24819
24819
|
constructor(e, t) {
|
|
24820
24820
|
super(), this.cellCtrl = e, this.beans = t, this.editSvc = t.editSvc, this.editModelSvc = t.editModelSvc;
|
|
24821
24821
|
}
|
|
@@ -24837,7 +24837,7 @@ var qS = class extends E {
|
|
|
24837
24837
|
var t;
|
|
24838
24838
|
this.cellComp.toggleCss("ag-cell-editing", e ?? !1), this.cellComp.toggleCss("ag-cell-batch-edit", (e && ((t = this.editSvc) == null ? void 0 : t.isBatchEditing())) ?? !1);
|
|
24839
24839
|
}
|
|
24840
|
-
},
|
|
24840
|
+
}, Yb = class extends E {
|
|
24841
24841
|
constructor(e, t) {
|
|
24842
24842
|
super(), this.rowCtrl = e, this.beans = t, this.gos = t.gos, this.editSvc = t.editSvc, this.editModelSvc = t.editModelSvc;
|
|
24843
24843
|
}
|
|
@@ -24863,34 +24863,34 @@ var qS = class extends E {
|
|
|
24863
24863
|
r.toggleCss("ag-row-editing", i && t), r.toggleCss("ag-row-batch-edit", i && t && o), r.toggleCss("ag-row-inline-editing", t), r.toggleCss("ag-row-not-inline-editing", !t), r.toggleCss("ag-row-editing-invalid", i && t && e);
|
|
24864
24864
|
});
|
|
24865
24865
|
}
|
|
24866
|
-
},
|
|
24866
|
+
}, Zb = ({ rowModel: e, pinnedRowModel: t, editModelSvc: o }, i) => {
|
|
24867
24867
|
const s = /* @__PURE__ */ new Set();
|
|
24868
24868
|
return e.forEachNode((n) => i.has(n) && s.add(n)), t == null || t.forEachPinnedRow("top", (n) => i.has(n) && s.add(n)), t == null || t.forEachPinnedRow("bottom", (n) => i.has(n) && s.add(n)), i.forEach((n) => {
|
|
24869
24869
|
s.has(n) || o.removeEdits({ rowNode: n });
|
|
24870
24870
|
}), s;
|
|
24871
|
-
},
|
|
24871
|
+
}, Qb = ({ editModelSvc: e }, t, o) => {
|
|
24872
24872
|
t.forEach(
|
|
24873
24873
|
(i) => {
|
|
24874
24874
|
var s;
|
|
24875
24875
|
return (s = e == null ? void 0 : e.getEditRow(i)) == null ? void 0 : s.forEach((n, r) => !o.has(r) && e.removeEdits({ rowNode: i, column: r }));
|
|
24876
24876
|
}
|
|
24877
24877
|
);
|
|
24878
|
-
},
|
|
24878
|
+
}, Xb = (e) => () => {
|
|
24879
24879
|
const t = new Set(e.colModel.getCols()), o = e.editModelSvc.getEditMap(!0), i = new Set(o.keys());
|
|
24880
|
-
|
|
24881
|
-
},
|
|
24880
|
+
Qb(e, Zb(e, i), t);
|
|
24881
|
+
}, Jb = /* @__PURE__ */ new Set(["undo", "redo"]), td = {
|
|
24882
24882
|
paste: "ui",
|
|
24883
24883
|
rangeSvc: "ui",
|
|
24884
24884
|
fillHandle: "api",
|
|
24885
24885
|
cellClear: "api"
|
|
24886
|
-
},
|
|
24886
|
+
}, eS = new Set(Object.keys(td)), tS = /* @__PURE__ */ new Set([
|
|
24887
24887
|
"paste",
|
|
24888
24888
|
"rangeSvc",
|
|
24889
24889
|
"renderer",
|
|
24890
24890
|
"cellClear",
|
|
24891
24891
|
"redo",
|
|
24892
24892
|
"undo"
|
|
24893
|
-
]), _o = { cancel: !0, source: "api" },
|
|
24893
|
+
]), _o = { cancel: !0, source: "api" }, oS = { cancel: !1, source: "api" }, pt = { checkSiblings: !0 }, Kt = { force: !0, suppressFlash: !0 }, iS = class extends E {
|
|
24894
24894
|
constructor() {
|
|
24895
24895
|
super(...arguments), this.beanName = "editSvc", this.batch = !1;
|
|
24896
24896
|
}
|
|
@@ -24899,9 +24899,9 @@ var qS = class extends E {
|
|
|
24899
24899
|
this.model = e.editModelSvc, this.valueSvc = e.valueSvc, this.rangeSvc = e.rangeSvc, this.addManagedPropertyListener("editType", ({ currentValue: i }) => {
|
|
24900
24900
|
this.stopEditing(void 0, _o), this.createStrategy(i);
|
|
24901
24901
|
});
|
|
24902
|
-
const t =
|
|
24902
|
+
const t = Xb(e), o = () => {
|
|
24903
24903
|
const i = this.model.getCellValidationModel().getCellValidationMap().size > 0, s = this.model.getRowValidationModel().getRowValidationMap().size > 0;
|
|
24904
|
-
return i || s ? this.stopEditing(void 0, _o) : this.isEditing() && (this.isBatchEditing() ? Dt(e, this.model.getEditPositions()) : this.stopEditing(void 0,
|
|
24904
|
+
return i || s ? this.stopEditing(void 0, _o) : this.isEditing() && (this.isBatchEditing() ? Dt(e, this.model.getEditPositions()) : this.stopEditing(void 0, oS)), !1;
|
|
24905
24905
|
};
|
|
24906
24906
|
this.addManagedEventListeners({
|
|
24907
24907
|
columnPinned: t,
|
|
@@ -24948,7 +24948,7 @@ var qS = class extends E {
|
|
|
24948
24948
|
return ((i = this.strategy) == null ? void 0 : i.shouldCancel(e, t, o)) ?? null;
|
|
24949
24949
|
}
|
|
24950
24950
|
validateEdit() {
|
|
24951
|
-
return
|
|
24951
|
+
return bh(this.beans);
|
|
24952
24952
|
}
|
|
24953
24953
|
isEditing(e, t) {
|
|
24954
24954
|
return this.model.hasEdits(e, t ?? pt);
|
|
@@ -24977,7 +24977,7 @@ var qS = class extends E {
|
|
|
24977
24977
|
stopEditing(e, t) {
|
|
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
|
-
if (
|
|
24980
|
+
if (eS.has(s))
|
|
24981
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;
|
|
@@ -24990,8 +24990,8 @@ var qS = class extends E {
|
|
|
24990
24990
|
const m = a.getEditMap();
|
|
24991
24991
|
this.processEdits(m, i), (p = this.strategy) == null || p.stop(i, o), this.bulkRefresh(void 0, c), c = m, u || (u = h);
|
|
24992
24992
|
} else if (o instanceof KeyboardEvent && this.batch && ((f = this.strategy) != null && f.midBatchInputsAllowed(e)) && this.isEditing(e, { withOpenEditor: !0 })) {
|
|
24993
|
-
const m = o.key, w = m === y.ENTER,
|
|
24994
|
-
(w || v ||
|
|
24993
|
+
const m = o.key, w = m === y.ENTER, b = m === y.ESCAPE, v = m === y.TAB;
|
|
24994
|
+
(w || v || b) && (w || v ? Ye(r, !0) : b && this.revertSingleCellEdit(d), this.isBatchEditing() ? (C = this.strategy) == null || C.cleanupEditors() : Dt(r, a.getEditPositions(), { event: o }), o.preventDefault(), this.bulkRefresh(e, c, { suppressFlash: !0 }), c = a.getEditMap());
|
|
24995
24995
|
} else
|
|
24996
24996
|
Ye(r, !0), c = a.getEditMap();
|
|
24997
24997
|
return u && e && this.model.removeEdits(e), !n && d && this.navigateAfterEdit(o instanceof KeyboardEvent && o.shiftKey, d.cellPosition), ks(r), this.model.hasEdits() || (this.model.getCellValidationModel().clearCellValidationMap(), this.model.getRowValidationModel().clearRowValidationMap()), this.bulkRefresh(), g && this.beans.rowRenderer.refreshRows({ rowNodes: Array.from(c.keys()) }), this.isBatchEditing() && (this.beans.rowRenderer.refreshRows({ suppressFlash: !0, force: !0 }), u && h && this.dispatchBatchEvent("batchEditingStopped", c)), u;
|
|
@@ -25134,16 +25134,16 @@ var qS = class extends E {
|
|
|
25134
25134
|
ph(this, this.beans, e);
|
|
25135
25135
|
}
|
|
25136
25136
|
createPopupEditorWrapper(e) {
|
|
25137
|
-
return new
|
|
25137
|
+
return new jb(e);
|
|
25138
25138
|
}
|
|
25139
25139
|
setDataValue(e, t, o) {
|
|
25140
25140
|
var r;
|
|
25141
|
-
if ((!this.isEditing() || o === "commit") && !
|
|
25141
|
+
if ((!this.isEditing() || o === "commit") && !tS.has(o))
|
|
25142
25142
|
return;
|
|
25143
25143
|
const { beans: i } = this;
|
|
25144
25144
|
this.strategy ?? (this.strategy = this.createStrategy());
|
|
25145
25145
|
const s = this.isBatchEditing() ? "ui" : "api";
|
|
25146
|
-
if (!o ||
|
|
25146
|
+
if (!o || Jb.has(o))
|
|
25147
25147
|
return qo(i, e, !0, t), this.setNodeDataValue(e.rowNode, e.column, t, !0);
|
|
25148
25148
|
const n = this.model.getEdit(e);
|
|
25149
25149
|
if (n) {
|
|
@@ -25249,10 +25249,10 @@ var qS = class extends E {
|
|
|
25249
25249
|
l && l.focusCell(!0);
|
|
25250
25250
|
}
|
|
25251
25251
|
createCellStyleFeature(e, t) {
|
|
25252
|
-
return new
|
|
25252
|
+
return new qb(e, t);
|
|
25253
25253
|
}
|
|
25254
25254
|
createRowStyleFeature(e, t) {
|
|
25255
|
-
return new
|
|
25255
|
+
return new Yb(e, t);
|
|
25256
25256
|
}
|
|
25257
25257
|
setEditingCells(e, t) {
|
|
25258
25258
|
const { beans: o } = this, { colModel: i, valueSvc: s } = o, n = /* @__PURE__ */ new Map();
|
|
@@ -25424,7 +25424,7 @@ var qS = class extends E {
|
|
|
25424
25424
|
destroy() {
|
|
25425
25425
|
this.cleanupEditors(), super.destroy();
|
|
25426
25426
|
}
|
|
25427
|
-
},
|
|
25427
|
+
}, sS = 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
|
-
},
|
|
25545
|
+
}, nS = class extends od {
|
|
25546
25546
|
constructor() {
|
|
25547
25547
|
super(...arguments), this.beanName = "singleCell";
|
|
25548
25548
|
}
|
|
@@ -25618,86 +25618,86 @@ var qS = class extends E {
|
|
|
25618
25618
|
}, ut = {
|
|
25619
25619
|
moduleName: "EditCore",
|
|
25620
25620
|
version: k,
|
|
25621
|
-
beans: [rh,
|
|
25621
|
+
beans: [rh, iS],
|
|
25622
25622
|
apiFunctions: {
|
|
25623
|
-
getEditingCells:
|
|
25623
|
+
getEditingCells: _b,
|
|
25624
25624
|
getCellEditorInstances: fh,
|
|
25625
|
-
startEditingCell: $
|
|
25626
|
-
stopEditing:
|
|
25627
|
-
isEditing:
|
|
25628
|
-
validateEdit:
|
|
25625
|
+
startEditingCell: $b,
|
|
25626
|
+
stopEditing: Wb,
|
|
25627
|
+
isEditing: zb,
|
|
25628
|
+
validateEdit: Ub
|
|
25629
25629
|
},
|
|
25630
25630
|
dynamicBeans: {
|
|
25631
|
-
singleCell:
|
|
25632
|
-
fullRow:
|
|
25631
|
+
singleCell: nS,
|
|
25632
|
+
fullRow: sS
|
|
25633
25633
|
},
|
|
25634
25634
|
dependsOn: [ql, Yl],
|
|
25635
|
-
css: [
|
|
25636
|
-
},
|
|
25635
|
+
css: [bb]
|
|
25636
|
+
}, rS = {
|
|
25637
25637
|
moduleName: "TextEditor",
|
|
25638
25638
|
version: k,
|
|
25639
25639
|
userComponents: { agCellEditor: Pr, agTextCellEditor: Pr },
|
|
25640
25640
|
dependsOn: [ut]
|
|
25641
|
-
},
|
|
25641
|
+
}, aS = {
|
|
25642
25642
|
moduleName: "NumberEditor",
|
|
25643
25643
|
version: k,
|
|
25644
25644
|
userComponents: {
|
|
25645
25645
|
agNumberCellEditor: {
|
|
25646
|
-
classImp:
|
|
25646
|
+
classImp: kb
|
|
25647
25647
|
}
|
|
25648
25648
|
},
|
|
25649
25649
|
dependsOn: [ut]
|
|
25650
|
-
},
|
|
25650
|
+
}, lS = {
|
|
25651
25651
|
moduleName: "DateEditor",
|
|
25652
25652
|
version: k,
|
|
25653
25653
|
userComponents: {
|
|
25654
|
-
agDateCellEditor:
|
|
25655
|
-
agDateStringCellEditor:
|
|
25654
|
+
agDateCellEditor: xb,
|
|
25655
|
+
agDateStringCellEditor: Pb
|
|
25656
25656
|
},
|
|
25657
25657
|
dependsOn: [ut]
|
|
25658
|
-
},
|
|
25658
|
+
}, dS = {
|
|
25659
25659
|
moduleName: "CheckboxEditor",
|
|
25660
25660
|
version: k,
|
|
25661
25661
|
userComponents: {
|
|
25662
|
-
agCheckboxCellEditor:
|
|
25662
|
+
agCheckboxCellEditor: yb
|
|
25663
25663
|
},
|
|
25664
25664
|
dependsOn: [ut]
|
|
25665
|
-
},
|
|
25665
|
+
}, cS = {
|
|
25666
25666
|
moduleName: "SelectEditor",
|
|
25667
25667
|
version: k,
|
|
25668
|
-
userComponents: { agSelectCellEditor:
|
|
25668
|
+
userComponents: { agSelectCellEditor: Gb },
|
|
25669
25669
|
dependsOn: [ut]
|
|
25670
|
-
},
|
|
25670
|
+
}, uS = {
|
|
25671
25671
|
moduleName: "LargeTextEditor",
|
|
25672
25672
|
version: k,
|
|
25673
|
-
userComponents: { agLargeTextCellEditor:
|
|
25673
|
+
userComponents: { agLargeTextCellEditor: Ib },
|
|
25674
25674
|
dependsOn: [ut]
|
|
25675
|
-
},
|
|
25675
|
+
}, hS = {
|
|
25676
25676
|
moduleName: "CustomEditor",
|
|
25677
25677
|
version: k,
|
|
25678
25678
|
dependsOn: [ut]
|
|
25679
25679
|
};
|
|
25680
|
-
function
|
|
25680
|
+
function gS(e) {
|
|
25681
25681
|
var t;
|
|
25682
25682
|
(t = e.expansionSvc) == null || t.expandAll(!0);
|
|
25683
25683
|
}
|
|
25684
|
-
function
|
|
25684
|
+
function pS(e) {
|
|
25685
25685
|
var t;
|
|
25686
25686
|
(t = e.expansionSvc) == null || t.expandAll(!1);
|
|
25687
25687
|
}
|
|
25688
|
-
function
|
|
25688
|
+
function fS(e) {
|
|
25689
25689
|
const t = Ae(e), o = jv(e);
|
|
25690
25690
|
t ? t.onRowHeightChanged() : o && o.onRowHeightChanged();
|
|
25691
25691
|
}
|
|
25692
|
-
var
|
|
25692
|
+
var CS = {
|
|
25693
25693
|
moduleName: "CsrmSsrmSharedApi",
|
|
25694
25694
|
version: k,
|
|
25695
25695
|
apiFunctions: {
|
|
25696
|
-
expandAll:
|
|
25697
|
-
collapseAll:
|
|
25698
|
-
onRowHeightChanged:
|
|
25696
|
+
expandAll: gS,
|
|
25697
|
+
collapseAll: pS,
|
|
25698
|
+
onRowHeightChanged: fS
|
|
25699
25699
|
}
|
|
25700
|
-
},
|
|
25700
|
+
}, mS = class extends E {
|
|
25701
25701
|
constructor() {
|
|
25702
25702
|
super(...arguments), this.beanName = "alignedGridsSvc", this.consuming = !1;
|
|
25703
25703
|
}
|
|
@@ -25811,19 +25811,19 @@ var Cb = {
|
|
|
25811
25811
|
case "columnMoved":
|
|
25812
25812
|
{
|
|
25813
25813
|
const h = e.api.getColumnState().map((g) => ({ colId: g.colId }));
|
|
25814
|
-
|
|
25814
|
+
be(i, { state: h, applyOrder: !0 }, "alignedGridChanged");
|
|
25815
25815
|
}
|
|
25816
25816
|
break;
|
|
25817
25817
|
case "columnVisible":
|
|
25818
25818
|
{
|
|
25819
25819
|
const h = e.api.getColumnState().map((g) => ({ colId: g.colId, hide: g.hide }));
|
|
25820
|
-
|
|
25820
|
+
be(i, { state: h }, "alignedGridChanged");
|
|
25821
25821
|
}
|
|
25822
25822
|
break;
|
|
25823
25823
|
case "columnPinned":
|
|
25824
25824
|
{
|
|
25825
25825
|
const h = e.api.getColumnState().map((g) => ({ colId: g.colId, pinned: g.pinned }));
|
|
25826
|
-
|
|
25826
|
+
be(i, { state: h }, "alignedGridChanged");
|
|
25827
25827
|
}
|
|
25828
25828
|
break;
|
|
25829
25829
|
case "columnResized": {
|
|
@@ -25846,27 +25846,27 @@ var Cb = {
|
|
|
25846
25846
|
u.setGridOption("alwaysShowVerticalScroll", d);
|
|
25847
25847
|
});
|
|
25848
25848
|
}
|
|
25849
|
-
},
|
|
25849
|
+
}, wS = {
|
|
25850
25850
|
moduleName: "AlignedGrids",
|
|
25851
25851
|
version: k,
|
|
25852
|
-
beans: [
|
|
25852
|
+
beans: [mS],
|
|
25853
25853
|
dependsOn: [xl]
|
|
25854
|
-
},
|
|
25854
|
+
}, vS = "↑", bS = "↓", SS = {
|
|
25855
25855
|
tag: "span",
|
|
25856
25856
|
children: [
|
|
25857
25857
|
{ tag: "span", ref: "eDelta", cls: "ag-value-change-delta" },
|
|
25858
25858
|
{ tag: "span", ref: "eValue", cls: "ag-value-change-value" }
|
|
25859
25859
|
]
|
|
25860
|
-
},
|
|
25860
|
+
}, yS = class extends j {
|
|
25861
25861
|
constructor() {
|
|
25862
|
-
super(
|
|
25862
|
+
super(SS), this.eValue = I, this.eDelta = I, this.refreshCount = 0;
|
|
25863
25863
|
}
|
|
25864
25864
|
init(e) {
|
|
25865
25865
|
this.refresh(e, !0);
|
|
25866
25866
|
}
|
|
25867
25867
|
showDelta(e, t) {
|
|
25868
25868
|
const o = Math.abs(t), i = e.formatValue(o), s = M(i) ? i : o, n = t >= 0, r = this.eDelta;
|
|
25869
|
-
n ? r.textContent =
|
|
25869
|
+
n ? r.textContent = vS + s : r.textContent = bS + s, r.classList.toggle("ag-value-change-delta-up", n), r.classList.toggle("ag-value-change-delta-down", !n);
|
|
25870
25870
|
}
|
|
25871
25871
|
setTimerToRemoveDelta() {
|
|
25872
25872
|
this.refreshCount++;
|
|
@@ -25894,15 +25894,15 @@ var Cb = {
|
|
|
25894
25894
|
}
|
|
25895
25895
|
return n && s.classList.add("ag-value-change-value-highlight"), t || this.setTimerToRemoveDelta(), this.lastValue = o, !0;
|
|
25896
25896
|
}
|
|
25897
|
-
},
|
|
25897
|
+
}, RS = (
|
|
25898
25898
|
/*css*/
|
|
25899
25899
|
".ag-value-slide-out{opacity:1}:where(.ag-ltr) .ag-value-slide-out{margin-right:5px;transition:opacity 3s,margin-right 3s}:where(.ag-rtl) .ag-value-slide-out{margin-left:5px;transition:opacity 3s,margin-left 3s}:where(.ag-ltr,.ag-rtl) .ag-value-slide-out{transition-timing-function:linear}.ag-value-slide-out-end{opacity:0}:where(.ag-ltr) .ag-value-slide-out-end{margin-right:10px}:where(.ag-rtl) .ag-value-slide-out-end{margin-left:10px}"
|
|
25900
|
-
),
|
|
25900
|
+
), ES = {
|
|
25901
25901
|
tag: "span",
|
|
25902
25902
|
children: [{ tag: "span", ref: "eCurrent", cls: "ag-value-slide-current" }]
|
|
25903
|
-
},
|
|
25903
|
+
}, xS = class extends j {
|
|
25904
25904
|
constructor() {
|
|
25905
|
-
super(
|
|
25905
|
+
super(ES), this.eCurrent = I, this.refreshCount = 0, this.registerCSS(RS);
|
|
25906
25906
|
}
|
|
25907
25907
|
init(e) {
|
|
25908
25908
|
this.refresh(e, !0);
|
|
@@ -25929,7 +25929,7 @@ var Cb = {
|
|
|
25929
25929
|
const i = this.eCurrent;
|
|
25930
25930
|
return M(e.valueFormatted) ? i.textContent = e.valueFormatted : M(e.value) ? i.textContent = o : Ce(i), !0;
|
|
25931
25931
|
}
|
|
25932
|
-
},
|
|
25932
|
+
}, DS = class extends E {
|
|
25933
25933
|
constructor() {
|
|
25934
25934
|
super(...arguments), this.beanName = "cellFlashSvc", this.nextAnimationTime = null, this.nextAnimationCycle = null, this.animations = {
|
|
25935
25935
|
highlight: /* @__PURE__ */ new Map(),
|
|
@@ -25998,47 +25998,47 @@ var Cb = {
|
|
|
25998
25998
|
this.animations[e].clear();
|
|
25999
25999
|
}
|
|
26000
26000
|
};
|
|
26001
|
-
function
|
|
26001
|
+
function FS(e, t = {}) {
|
|
26002
26002
|
const { cellFlashSvc: o } = e;
|
|
26003
26003
|
o && e.frameworkOverrides.wrapIncoming(() => {
|
|
26004
26004
|
e.rowRenderer.getCellCtrls(t.rowNodes, t.columns).forEach((i) => o.flashCell(i, t));
|
|
26005
26005
|
});
|
|
26006
26006
|
}
|
|
26007
|
-
var
|
|
26007
|
+
var PS = {
|
|
26008
26008
|
moduleName: "HighlightChanges",
|
|
26009
26009
|
version: k,
|
|
26010
|
-
beans: [
|
|
26010
|
+
beans: [DS],
|
|
26011
26011
|
userComponents: {
|
|
26012
|
-
agAnimateShowChangeCellRenderer:
|
|
26013
|
-
agAnimateSlideCellRenderer:
|
|
26012
|
+
agAnimateShowChangeCellRenderer: yS,
|
|
26013
|
+
agAnimateSlideCellRenderer: xS
|
|
26014
26014
|
},
|
|
26015
26015
|
apiFunctions: {
|
|
26016
|
-
flashCells:
|
|
26016
|
+
flashCells: FS
|
|
26017
26017
|
}
|
|
26018
26018
|
};
|
|
26019
|
-
function
|
|
26019
|
+
function TS(e) {
|
|
26020
26020
|
var t;
|
|
26021
26021
|
return ((t = e.stateSvc) == null ? void 0 : t.getState()) ?? {};
|
|
26022
26022
|
}
|
|
26023
|
-
function
|
|
26023
|
+
function IS(e, t, o) {
|
|
26024
26024
|
var i;
|
|
26025
26025
|
return (i = e.stateSvc) == null ? void 0 : i.setState(t, o);
|
|
26026
26026
|
}
|
|
26027
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
|
-
e =
|
|
26030
|
+
e = AS(e);
|
|
26031
26031
|
}
|
|
26032
26032
|
return e.version = k, e;
|
|
26033
26033
|
}
|
|
26034
|
-
function
|
|
26035
|
-
return e.cellSelection =
|
|
26034
|
+
function AS(e) {
|
|
26035
|
+
return e.cellSelection = MS(e, "rangeSelection"), e;
|
|
26036
26036
|
}
|
|
26037
|
-
function
|
|
26037
|
+
function MS(e, t) {
|
|
26038
26038
|
if (e && typeof e == "object")
|
|
26039
26039
|
return e[t];
|
|
26040
26040
|
}
|
|
26041
|
-
var
|
|
26041
|
+
var kS = class extends E {
|
|
26042
26042
|
constructor() {
|
|
26043
26043
|
super(...arguments), this.beanName = "stateSvc", this.updateRowGroupExpansionStateTimer = 0, this.suppressEvents = !0, this.queuedUpdateSources = /* @__PURE__ */ new Set(), this.dispatchStateUpdateEventDebounced = fe(this, () => this.dispatchQueuedStateUpdateEvents(), 0), this.onRowGroupOpenedDebounced = fe(
|
|
26044
26044
|
this,
|
|
@@ -26230,31 +26230,31 @@ var kb = class extends E {
|
|
|
26230
26230
|
w && (r == null || r.aggregationModel.forEach(({ colId: F, aggFunc: P }) => {
|
|
26231
26231
|
p(F).aggFunc = P;
|
|
26232
26232
|
})), (w || !o) && (f.aggFunc = null);
|
|
26233
|
-
const
|
|
26234
|
-
|
|
26233
|
+
const b = h("pivot", a);
|
|
26234
|
+
b && (a == null || a.pivotColIds.forEach((F, P) => {
|
|
26235
26235
|
const H = p(F);
|
|
26236
26236
|
H.pivot = !0, H.pivotIndex = P;
|
|
26237
26237
|
}), this.gos.updateGridOptions({
|
|
26238
26238
|
options: { pivotMode: !!(a != null && a.pivotMode) },
|
|
26239
26239
|
source: t
|
|
26240
|
-
})), (
|
|
26240
|
+
})), (b || !o) && (f.pivot = null, f.pivotIndex = null);
|
|
26241
26241
|
const v = h("columnPinning", l);
|
|
26242
26242
|
v && (l == null || l.leftColIds.forEach((F) => {
|
|
26243
26243
|
p(F).pinned = "left";
|
|
26244
26244
|
}), l == null || l.rightColIds.forEach((F) => {
|
|
26245
26245
|
p(F).pinned = "right";
|
|
26246
26246
|
})), (v || !o) && (f.pinned = null);
|
|
26247
|
-
const
|
|
26248
|
-
|
|
26247
|
+
const S = h("columnVisibility", d);
|
|
26248
|
+
S && (d == null || d.hiddenColIds.forEach((F) => {
|
|
26249
26249
|
p(F).hide = !0;
|
|
26250
|
-
})), (
|
|
26250
|
+
})), (S || !o) && (f.hide = null);
|
|
26251
26251
|
const x = h("columnSizing", c);
|
|
26252
26252
|
x && (c == null || c.columnSizingModel.forEach(({ colId: F, flex: P, width: H }) => {
|
|
26253
26253
|
const G = p(F);
|
|
26254
26254
|
G.flex = P ?? null, G.width = H;
|
|
26255
26255
|
})), (x || !o) && (f.flex = null);
|
|
26256
26256
|
const T = u == null ? void 0 : u.orderedColIds, L = !!(T != null && T.length) && !(i != null && i.has("columnOrder")), D = L ? T.map((F) => p(F)) : Object.values(g);
|
|
26257
|
-
D.length && (this.columnStates = D,
|
|
26257
|
+
D.length && (this.columnStates = D, be(
|
|
26258
26258
|
this.beans,
|
|
26259
26259
|
{
|
|
26260
26260
|
state: D,
|
|
@@ -26275,7 +26275,7 @@ var kb = class extends E {
|
|
|
26275
26275
|
const a = [];
|
|
26276
26276
|
for (const l of o)
|
|
26277
26277
|
n.getPivotResultCol(l.colId) && a.push(l);
|
|
26278
|
-
|
|
26278
|
+
be(
|
|
26279
26279
|
s,
|
|
26280
26280
|
{
|
|
26281
26281
|
state: a,
|
|
@@ -26540,101 +26540,101 @@ var kb = class extends E {
|
|
|
26540
26540
|
suppressEventsAndDispatchInitEvent(e) {
|
|
26541
26541
|
this.startSuppressEvents(), e(), this.stopSuppressEvents("gridInitializing");
|
|
26542
26542
|
}
|
|
26543
|
-
},
|
|
26543
|
+
}, LS = {
|
|
26544
26544
|
moduleName: "GridState",
|
|
26545
26545
|
version: k,
|
|
26546
|
-
beans: [
|
|
26546
|
+
beans: [kS],
|
|
26547
26547
|
apiFunctions: {
|
|
26548
|
-
getState:
|
|
26549
|
-
setState:
|
|
26548
|
+
getState: TS,
|
|
26549
|
+
setState: IS
|
|
26550
26550
|
}
|
|
26551
26551
|
};
|
|
26552
|
-
function
|
|
26552
|
+
function GS(e, t = {}) {
|
|
26553
26553
|
const o = t ? t.rowNodes : void 0;
|
|
26554
26554
|
e.frameworkOverrides.wrapIncoming(() => e.rowRenderer.redrawRows(o));
|
|
26555
26555
|
}
|
|
26556
26556
|
function id(e, t, o, i, s) {
|
|
26557
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
|
-
function
|
|
26559
|
+
function HS(e, t) {
|
|
26560
26560
|
return e.rowModel.getRowNode(t);
|
|
26561
26561
|
}
|
|
26562
|
-
function
|
|
26562
|
+
function OS(e, t, o, i) {
|
|
26563
26563
|
e.rowRenderer.addRenderedRowListener(t, o, i);
|
|
26564
26564
|
}
|
|
26565
|
-
function
|
|
26565
|
+
function BS(e) {
|
|
26566
26566
|
return e.rowRenderer.getRenderedNodes();
|
|
26567
26567
|
}
|
|
26568
|
-
function
|
|
26568
|
+
function VS(e, t, o) {
|
|
26569
26569
|
e.rowModel.forEachNode(t, o);
|
|
26570
26570
|
}
|
|
26571
|
-
function
|
|
26571
|
+
function NS(e) {
|
|
26572
26572
|
return e.rowRenderer.firstRenderedRow;
|
|
26573
26573
|
}
|
|
26574
|
-
function
|
|
26574
|
+
function _S(e) {
|
|
26575
26575
|
return e.rowRenderer.lastRenderedRow;
|
|
26576
26576
|
}
|
|
26577
|
-
function
|
|
26577
|
+
function WS(e, t) {
|
|
26578
26578
|
return e.rowModel.getRow(t);
|
|
26579
26579
|
}
|
|
26580
|
-
function
|
|
26580
|
+
function zS(e) {
|
|
26581
26581
|
return e.rowModel.getRowCount();
|
|
26582
26582
|
}
|
|
26583
26583
|
var sd = {
|
|
26584
26584
|
moduleName: "RowApi",
|
|
26585
26585
|
version: k,
|
|
26586
26586
|
apiFunctions: {
|
|
26587
|
-
redrawRows:
|
|
26587
|
+
redrawRows: GS,
|
|
26588
26588
|
setRowNodeExpanded: id,
|
|
26589
|
-
getRowNode:
|
|
26590
|
-
addRenderedRowListener:
|
|
26591
|
-
getRenderedNodes:
|
|
26592
|
-
forEachNode:
|
|
26593
|
-
getFirstDisplayedRowIndex:
|
|
26594
|
-
getLastDisplayedRowIndex:
|
|
26595
|
-
getDisplayedRowAtIndex:
|
|
26596
|
-
getDisplayedRowCount:
|
|
26597
|
-
}
|
|
26598
|
-
}, $
|
|
26589
|
+
getRowNode: HS,
|
|
26590
|
+
addRenderedRowListener: OS,
|
|
26591
|
+
getRenderedNodes: BS,
|
|
26592
|
+
forEachNode: VS,
|
|
26593
|
+
getFirstDisplayedRowIndex: NS,
|
|
26594
|
+
getLastDisplayedRowIndex: _S,
|
|
26595
|
+
getDisplayedRowAtIndex: WS,
|
|
26596
|
+
getDisplayedRowCount: zS
|
|
26597
|
+
}
|
|
26598
|
+
}, $S = {
|
|
26599
26599
|
moduleName: "ScrollApi",
|
|
26600
26600
|
version: k,
|
|
26601
26601
|
apiFunctions: {
|
|
26602
|
-
getVerticalPixelRange:
|
|
26603
|
-
getHorizontalPixelRange:
|
|
26602
|
+
getVerticalPixelRange: Bb,
|
|
26603
|
+
getHorizontalPixelRange: Vb,
|
|
26604
26604
|
ensureColumnVisible: Zl,
|
|
26605
26605
|
ensureIndexVisible: Ql,
|
|
26606
|
-
ensureNodeVisible:
|
|
26606
|
+
ensureNodeVisible: Nb
|
|
26607
26607
|
}
|
|
26608
26608
|
};
|
|
26609
|
-
function
|
|
26609
|
+
function US(e, t, o) {
|
|
26610
26610
|
if (!t)
|
|
26611
26611
|
return;
|
|
26612
26612
|
const i = e.ctrlsSvc.getGridBodyCtrl().eGridBody, s = `aria-${t}`;
|
|
26613
26613
|
o === null ? i.removeAttribute(s) : i.setAttribute(s, o);
|
|
26614
26614
|
}
|
|
26615
|
-
function
|
|
26615
|
+
function KS(e, t = {}) {
|
|
26616
26616
|
e.frameworkOverrides.wrapIncoming(() => e.rowRenderer.refreshCells(t));
|
|
26617
26617
|
}
|
|
26618
|
-
function
|
|
26618
|
+
function jS(e) {
|
|
26619
26619
|
e.frameworkOverrides.wrapIncoming(
|
|
26620
26620
|
() => e.ctrlsSvc.getHeaderRowContainerCtrls().forEach((t) => t.refresh())
|
|
26621
26621
|
);
|
|
26622
26622
|
}
|
|
26623
|
-
function
|
|
26623
|
+
function qS(e) {
|
|
26624
26624
|
var t;
|
|
26625
26625
|
return ((t = e.animationFrameSvc) == null ? void 0 : t.isQueueEmpty()) ?? !0;
|
|
26626
26626
|
}
|
|
26627
|
-
function
|
|
26627
|
+
function YS(e) {
|
|
26628
26628
|
var t;
|
|
26629
26629
|
(t = e.animationFrameSvc) == null || t.flushAllFrames();
|
|
26630
26630
|
}
|
|
26631
|
-
function
|
|
26631
|
+
function ZS(e) {
|
|
26632
26632
|
return {
|
|
26633
26633
|
rowHeight: on(e),
|
|
26634
26634
|
headerHeight: Po(e)
|
|
26635
26635
|
};
|
|
26636
26636
|
}
|
|
26637
|
-
function
|
|
26637
|
+
function QS(e, t = {}) {
|
|
26638
26638
|
var n;
|
|
26639
26639
|
const o = [];
|
|
26640
26640
|
if (e.rowRenderer.getCellCtrls(t.rowNodes, t.columns).forEach((r) => {
|
|
@@ -26653,20 +26653,20 @@ function Qb(e, t = {}) {
|
|
|
26653
26653
|
}
|
|
26654
26654
|
}), [...i, ...o];
|
|
26655
26655
|
}
|
|
26656
|
-
var
|
|
26656
|
+
var XS = {
|
|
26657
26657
|
moduleName: "RenderApi",
|
|
26658
26658
|
version: k,
|
|
26659
26659
|
apiFunctions: {
|
|
26660
|
-
setGridAriaProperty:
|
|
26661
|
-
refreshCells:
|
|
26662
|
-
refreshHeader:
|
|
26663
|
-
isAnimationFrameQueueEmpty:
|
|
26664
|
-
flushAllAnimationFrames:
|
|
26665
|
-
getSizesForCurrentTheme:
|
|
26666
|
-
getCellRendererInstances:
|
|
26660
|
+
setGridAriaProperty: US,
|
|
26661
|
+
refreshCells: KS,
|
|
26662
|
+
refreshHeader: jS,
|
|
26663
|
+
isAnimationFrameQueueEmpty: qS,
|
|
26664
|
+
flushAllAnimationFrames: YS,
|
|
26665
|
+
getSizesForCurrentTheme: ZS,
|
|
26666
|
+
getCellRendererInstances: QS
|
|
26667
26667
|
}
|
|
26668
26668
|
};
|
|
26669
|
-
function
|
|
26669
|
+
function JS(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
|
}
|
|
@@ -26716,26 +26716,26 @@ var ty = class extends E {
|
|
|
26716
26716
|
const p = [];
|
|
26717
26717
|
let f = -1;
|
|
26718
26718
|
const C = Object.fromEntries(
|
|
26719
|
-
a.map(({ colId:
|
|
26719
|
+
a.map(({ colId: b, maxWidth: v, minWidth: S }) => [b, { maxWidth: v, minWidth: S }])
|
|
26720
26720
|
), m = o ?? this.gos.get("skipHeaderOnAutoSize"), w = i ?? m;
|
|
26721
26721
|
for (; f !== 0; ) {
|
|
26722
26722
|
f = 0;
|
|
26723
|
-
const
|
|
26723
|
+
const b = [];
|
|
26724
26724
|
t.forEach((v) => {
|
|
26725
26725
|
if (!v || Qc(v))
|
|
26726
26726
|
return;
|
|
26727
|
-
const
|
|
26728
|
-
if (!
|
|
26727
|
+
const S = u.getCol(v);
|
|
26728
|
+
if (!S || p.indexOf(S) >= 0)
|
|
26729
26729
|
return;
|
|
26730
|
-
const x = h.getPreferredWidthForColumn(
|
|
26730
|
+
const x = h.getPreferredWidthForColumn(S, m);
|
|
26731
26731
|
if (x > 0) {
|
|
26732
|
-
const T = C[
|
|
26732
|
+
const T = C[S.colId] ?? {};
|
|
26733
26733
|
T.minWidth ?? (T.minWidth = r), T.maxWidth ?? (T.maxWidth = n);
|
|
26734
|
-
const L = oy(
|
|
26735
|
-
|
|
26734
|
+
const L = oy(S, x, T);
|
|
26735
|
+
S.setActualWidth(L, l), p.push(S), f++;
|
|
26736
26736
|
}
|
|
26737
|
-
|
|
26738
|
-
}),
|
|
26737
|
+
b.push(S);
|
|
26738
|
+
}), b.length && g.refresh(l);
|
|
26739
26739
|
}
|
|
26740
26740
|
w || this.autoSizeColumnGroupsByColumns(t, l, s), kt(this.eventSvc, p, !0, "autosizeColumns");
|
|
26741
26741
|
}
|
|
@@ -26824,8 +26824,8 @@ var ty = class extends E {
|
|
|
26824
26824
|
if (e <= 0 || !n.length || e === Me(n) && n.every((f) => {
|
|
26825
26825
|
if (f.colDef.suppressSizeToFit)
|
|
26826
26826
|
return !0;
|
|
26827
|
-
const C = s == null ? void 0 : s[f.getId()], m = (C == null ? void 0 : C.minWidth) ?? (i == null ? void 0 : i.defaultMinWidth), w = (C == null ? void 0 : C.maxWidth) ?? (i == null ? void 0 : i.defaultMaxWidth),
|
|
26828
|
-
return (m == null ||
|
|
26827
|
+
const C = s == null ? void 0 : s[f.getId()], m = (C == null ? void 0 : C.minWidth) ?? (i == null ? void 0 : i.defaultMinWidth), w = (C == null ? void 0 : C.maxWidth) ?? (i == null ? void 0 : i.defaultMaxWidth), b = f.getActualWidth();
|
|
26828
|
+
return (m == null || b >= m) && (w == null || b <= w);
|
|
26829
26829
|
}))
|
|
26830
26830
|
return;
|
|
26831
26831
|
const a = [], l = [];
|
|
@@ -26835,7 +26835,7 @@ var ty = class extends E {
|
|
|
26835
26835
|
const d = a.slice(0);
|
|
26836
26836
|
let c = !1;
|
|
26837
26837
|
const u = (p) => {
|
|
26838
|
-
|
|
26838
|
+
Se(a, p), l.push(p);
|
|
26839
26839
|
};
|
|
26840
26840
|
for (a.forEach((p) => {
|
|
26841
26841
|
p.resetActualWidth(t);
|
|
@@ -26858,7 +26858,7 @@ var ty = class extends E {
|
|
|
26858
26858
|
const f = p / Me(a);
|
|
26859
26859
|
let C = p;
|
|
26860
26860
|
for (let m = a.length - 1; m >= 0; m--) {
|
|
26861
|
-
const w = a[m],
|
|
26861
|
+
const w = a[m], b = s == null ? void 0 : s[w.getId()], v = (b == null ? void 0 : b.minWidth) ?? (i == null ? void 0 : i.defaultMinWidth), S = (b == null ? void 0 : b.maxWidth) ?? (i == null ? void 0 : i.defaultMaxWidth), x = w.getMinWidth(), T = w.getMaxWidth(), L = typeof v == "number" && v > x ? v : x, D = typeof S == "number" && S < T ? S : T;
|
|
26862
26862
|
let F = Math.round(w.getActualWidth() * f);
|
|
26863
26863
|
F < L ? (F = L, u(w), c = !1) : F > D ? (F = D, u(w), c = !1) : m === 0 && (F = C), w.setActualWidth(F, t, !0), C -= F;
|
|
26864
26864
|
}
|
|
@@ -26927,7 +26927,7 @@ var iy = {
|
|
|
26927
26927
|
version: k,
|
|
26928
26928
|
beans: [ty],
|
|
26929
26929
|
apiFunctions: {
|
|
26930
|
-
sizeColumnsToFit:
|
|
26930
|
+
sizeColumnsToFit: JS,
|
|
26931
26931
|
autoSizeColumns: nd,
|
|
26932
26932
|
autoSizeAllColumns: ey
|
|
26933
26933
|
},
|
|
@@ -27030,7 +27030,7 @@ var cy = {
|
|
|
27030
27030
|
getRootElement() {
|
|
27031
27031
|
return this.eWrapper;
|
|
27032
27032
|
}
|
|
27033
|
-
}, hy = class extends
|
|
27033
|
+
}, hy = class extends bi {
|
|
27034
27034
|
onRowIndexChanged() {
|
|
27035
27035
|
super.onRowIndexChanged(), this.getAllCellCtrls().forEach((e) => e.refreshAriaRowIndex());
|
|
27036
27036
|
}
|
|
@@ -27181,17 +27181,17 @@ var cy = {
|
|
|
27181
27181
|
super(), this.column = e;
|
|
27182
27182
|
}
|
|
27183
27183
|
buildCache(e) {
|
|
27184
|
-
var
|
|
27184
|
+
var b;
|
|
27185
27185
|
const {
|
|
27186
27186
|
column: t,
|
|
27187
27187
|
beans: { gos: o, pinnedRowModel: i, rowModel: s, valueSvc: n, pagination: r }
|
|
27188
27188
|
} = this, { colDef: a } = t, l = this[`${e}ValueNodeMap`], d = /* @__PURE__ */ new Map(), c = o.getCallback("isFullWidthRow"), u = a.equals, h = a.spanRows, g = typeof h == "function";
|
|
27189
27189
|
let p = null, f = null, C;
|
|
27190
|
-
const m = (v,
|
|
27191
|
-
p = v, f = null, C =
|
|
27190
|
+
const m = (v, S) => {
|
|
27191
|
+
p = v, f = null, C = S;
|
|
27192
27192
|
}, w = (v) => {
|
|
27193
|
-
const
|
|
27194
|
-
if (v.rowIndex == null || !
|
|
27193
|
+
const S = !v.isExpandable() && !v.group && !v.detail && (c ? !c({ rowNode: v }) : !0);
|
|
27194
|
+
if (v.rowIndex == null || !S) {
|
|
27195
27195
|
m(null, null);
|
|
27196
27196
|
return;
|
|
27197
27197
|
}
|
|
@@ -27226,7 +27226,7 @@ var cy = {
|
|
|
27226
27226
|
};
|
|
27227
27227
|
switch (e) {
|
|
27228
27228
|
case "center":
|
|
27229
|
-
(
|
|
27229
|
+
(b = s.forEachDisplayedNode) == null || b.call(s, (v) => {
|
|
27230
27230
|
(!r || r.isRowInPage(v.rowIndex)) && w(v);
|
|
27231
27231
|
});
|
|
27232
27232
|
break;
|
|
@@ -27438,11 +27438,11 @@ var cy = {
|
|
|
27438
27438
|
o(s);
|
|
27439
27439
|
});
|
|
27440
27440
|
}
|
|
27441
|
-
},
|
|
27441
|
+
}, by = {
|
|
27442
27442
|
moduleName: "CellStyle",
|
|
27443
27443
|
version: k,
|
|
27444
27444
|
beans: [vy]
|
|
27445
|
-
},
|
|
27445
|
+
}, Sy = {
|
|
27446
27446
|
moduleName: "RowStyle",
|
|
27447
27447
|
version: k,
|
|
27448
27448
|
beans: [sg]
|
|
@@ -27702,8 +27702,8 @@ var My = {
|
|
|
27702
27702
|
return;
|
|
27703
27703
|
const { paddingTop: u, paddingBottom: h, borderBottomWidth: g, borderTopWidth: p } = lt(i), f = u + h + g + p, m = t.offsetHeight + f;
|
|
27704
27704
|
if (c < 5) {
|
|
27705
|
-
const
|
|
27706
|
-
if (v ||
|
|
27705
|
+
const b = X(r), v = !b || !b.contains(t), S = m == 0;
|
|
27706
|
+
if (v || S) {
|
|
27707
27707
|
window.setTimeout(() => a(c + 1), 0);
|
|
27708
27708
|
return;
|
|
27709
27709
|
}
|
|
@@ -28187,7 +28187,7 @@ class En extends ld {
|
|
|
28187
28187
|
return !1;
|
|
28188
28188
|
}
|
|
28189
28189
|
}
|
|
28190
|
-
class
|
|
28190
|
+
class bo {
|
|
28191
28191
|
constructor(t, o, i, s, n) {
|
|
28192
28192
|
R(this, "id");
|
|
28193
28193
|
/**
|
|
@@ -28228,9 +28228,9 @@ class So {
|
|
|
28228
28228
|
if (ae(n) && i.cellDataType !== "native") {
|
|
28229
28229
|
r = new Array(n.length);
|
|
28230
28230
|
for (let a = 0; a < n.length; a++)
|
|
28231
|
-
r[a] = new
|
|
28231
|
+
r[a] = new bo(`${this.id}_${a}`, t, n[a], a, o);
|
|
28232
28232
|
} else
|
|
28233
|
-
r = new
|
|
28233
|
+
r = new bo(this.id, t, n, void 0, o);
|
|
28234
28234
|
return this.properties.set(t, r), r;
|
|
28235
28235
|
}
|
|
28236
28236
|
/**
|
|
@@ -28425,9 +28425,9 @@ class Ny {
|
|
|
28425
28425
|
if (h.length > 0) {
|
|
28426
28426
|
const f = /* @__PURE__ */ new Set();
|
|
28427
28427
|
for (const w of h)
|
|
28428
|
-
for (const
|
|
28429
|
-
if (
|
|
28430
|
-
const v =
|
|
28428
|
+
for (const b of c.keys())
|
|
28429
|
+
if (b.startsWith(`${w.id}|`)) {
|
|
28430
|
+
const v = b.substring(w.id.length + 1);
|
|
28431
28431
|
f.add(v);
|
|
28432
28432
|
}
|
|
28433
28433
|
const C = h[0], m = s.spanRow;
|
|
@@ -28803,7 +28803,7 @@ class _y {
|
|
|
28803
28803
|
R(this, "columns");
|
|
28804
28804
|
/** 业务数据 (可变, rebuild 时替换) */
|
|
28805
28805
|
R(this, "data");
|
|
28806
|
-
this.id = t, this.data = o, this.columns = i, this.rootValue = new
|
|
28806
|
+
this.id = t, this.data = o, this.columns = i, this.rootValue = new bo(this.id, "$", this.data), this._buildPathCells(i), this.rootValue.calcSpan(), this.spanMatrix = new Ny(), this.spanMatrix.setRow(this.id, this.data, { columns: i }), this.leafCells = this.spanMatrix.getLeaves(this.id);
|
|
28807
28807
|
}
|
|
28808
28808
|
/**
|
|
28809
28809
|
* 沿 columns 建 CellValue 树 (老 ActualRow.buildSpan 第一步)
|
|
@@ -28883,7 +28883,7 @@ class _y {
|
|
|
28883
28883
|
rebuild(t, o) {
|
|
28884
28884
|
const i = o ?? this.columns;
|
|
28885
28885
|
this.data = t, this.spanMatrix.setRow(this.id, t, { columns: i }), this.leafCells = this.spanMatrix.getLeaves(this.id);
|
|
28886
|
-
const s = new
|
|
28886
|
+
const s = new bo(this.id, "$", t);
|
|
28887
28887
|
for (const n of i) {
|
|
28888
28888
|
const r = n.colId.split(".");
|
|
28889
28889
|
let a = s;
|
|
@@ -29188,12 +29188,13 @@ class Wy {
|
|
|
29188
29188
|
*/
|
|
29189
29189
|
R(this, "idMapper");
|
|
29190
29190
|
/**
|
|
29191
|
-
* id
|
|
29191
|
+
* id → rows 数组下标, O(1) 查重 + 拿位置
|
|
29192
29192
|
*
|
|
29193
|
-
* 跟 this.rows
|
|
29194
|
-
*
|
|
29193
|
+
* 跟 this.rows 强一致. 任何 mutation 后同步:
|
|
29194
|
+
* - 单点操作 (appendRows) 增量维护
|
|
29195
|
+
* - filter 类操作 (remove / deleteRows / insertRows / replace) 全量 rebuild
|
|
29195
29196
|
*/
|
|
29196
|
-
R(this, "
|
|
29197
|
+
R(this, "idMap", /* @__PURE__ */ new Map());
|
|
29197
29198
|
/**
|
|
29198
29199
|
* Grid 桥 (Phase 6.4: 替代老 gridApi 字段)
|
|
29199
29200
|
* - onGridReady 时由 use-grid 注入 (实际是 AgGridBridge)
|
|
@@ -29206,33 +29207,19 @@ class Wy {
|
|
|
29206
29207
|
var o;
|
|
29207
29208
|
return new Li(t, ((o = this.bridge) == null ? void 0 : o.getColumns()) ?? [], this.idMapper, this, this.bridge);
|
|
29208
29209
|
}
|
|
29209
|
-
|
|
29210
|
-
|
|
29211
|
-
*/
|
|
29212
|
-
hasId(t) {
|
|
29213
|
-
return this.idSet.has(t);
|
|
29214
|
-
}
|
|
29215
|
-
/**
|
|
29216
|
-
* O(1) 查 raw data 算出的 id 是否在表格里
|
|
29217
|
-
*/
|
|
29218
|
-
hasRowData(t) {
|
|
29219
|
-
return this.idSet.has(this.idMapper(t));
|
|
29220
|
-
}
|
|
29221
|
-
rebuildIdSet() {
|
|
29222
|
-
this.idSet = new Set(this.rows.map((t) => t.getId()));
|
|
29210
|
+
rebuildIdMap() {
|
|
29211
|
+
this.idMap.clear(), this.rows.forEach((t, o) => this.idMap.set(t.getId(), o));
|
|
29223
29212
|
}
|
|
29224
29213
|
setRows(t) {
|
|
29225
|
-
return this.rows = t, this.
|
|
29214
|
+
return this.rows = t, this.rebuildIdMap(), this;
|
|
29226
29215
|
}
|
|
29227
29216
|
replace(t) {
|
|
29228
|
-
this.rows[t.getDataIndex()] = t, this.
|
|
29217
|
+
this.rows[t.getDataIndex()] = t, this.rebuildIdMap();
|
|
29229
29218
|
}
|
|
29230
29219
|
remove(t) {
|
|
29231
29220
|
var i;
|
|
29232
29221
|
const o = new Set(t.map((s) => s.getId()));
|
|
29233
|
-
this.rows = this.rows.filter((s) => !o.has(s.getId()));
|
|
29234
|
-
for (const s of o) this.idSet.delete(s);
|
|
29235
|
-
(i = this.bridge) == null || i.reload();
|
|
29222
|
+
this.rows = this.rows.filter((s) => !o.has(s.getId())), this.rebuildIdMap(), (i = this.bridge) == null || i.reload();
|
|
29236
29223
|
}
|
|
29237
29224
|
getRows() {
|
|
29238
29225
|
return this.rows ?? [];
|
|
@@ -29242,30 +29229,24 @@ class Wy {
|
|
|
29242
29229
|
this.setRows(t);
|
|
29243
29230
|
return;
|
|
29244
29231
|
}
|
|
29245
|
-
|
|
29246
|
-
|
|
29232
|
+
for (const o of t) {
|
|
29233
|
+
const i = o.getId(), s = this.idMap.get(i);
|
|
29234
|
+
s !== void 0 ? (this.rows[s] = o, this.idMap.set(i, s)) : (this.rows.push(o), this.idMap.set(i, this.rows.length - 1));
|
|
29235
|
+
}
|
|
29247
29236
|
}
|
|
29248
29237
|
/**
|
|
29249
|
-
*
|
|
29238
|
+
* 插入数据到指定 index, 表格已有同 id 的删旧
|
|
29250
29239
|
*
|
|
29251
|
-
*
|
|
29252
|
-
*
|
|
29253
|
-
* 不在表格: 直接插入
|
|
29254
|
-
*
|
|
29255
|
-
* idSet 增量维护: 删旧 id + 加新 id
|
|
29240
|
+
* 业务传 [a, a, a] 不去重 (3 个都进表格)
|
|
29241
|
+
* 表格已有 a → 删旧, 3 个新 a 插入 (最终表格 3 个 a + 其他)
|
|
29256
29242
|
*/
|
|
29257
29243
|
insertRows(t, o = 0) {
|
|
29258
29244
|
if (!this.rows) {
|
|
29259
29245
|
this.setRows(t);
|
|
29260
29246
|
return;
|
|
29261
29247
|
}
|
|
29262
|
-
const i =
|
|
29263
|
-
|
|
29264
|
-
i.set(n.getId(), n);
|
|
29265
|
-
const s = new Set(i.keys());
|
|
29266
|
-
this.rows = this.rows.filter((n) => s.has(n.getId()) ? (this.idSet.delete(n.getId()), !1) : !0);
|
|
29267
|
-
for (const n of i.values()) this.idSet.add(n.getId());
|
|
29268
|
-
this.rows.splice(o, 0, ...i.values());
|
|
29248
|
+
const i = new Set(t.map((s) => s.getId()));
|
|
29249
|
+
this.rows = this.rows.filter((s) => !i.has(s.getId())), this.rows.splice(o, 0, ...t), this.rebuildIdMap();
|
|
29269
29250
|
}
|
|
29270
29251
|
/**
|
|
29271
29252
|
* 删除数据
|
|
@@ -29273,8 +29254,7 @@ class Wy {
|
|
|
29273
29254
|
*/
|
|
29274
29255
|
deleteRows(t) {
|
|
29275
29256
|
const o = new Set(t.map((i) => Fd(i) ? i : i.getId()));
|
|
29276
|
-
this.rows = this.rows.filter((i) => !o.has(i.getId()));
|
|
29277
|
-
for (const i of o) this.idSet.delete(i);
|
|
29257
|
+
this.rows = this.rows.filter((i) => !o.has(i.getId())), this.rebuildIdMap();
|
|
29278
29258
|
}
|
|
29279
29259
|
}
|
|
29280
29260
|
const zy = {
|
|
@@ -29505,7 +29485,7 @@ const Ky = (e, t, o, i, s) => {
|
|
|
29505
29485
|
"cell-span": ({ data: e, column: t }) => e.getRowSpan(t) > 0,
|
|
29506
29486
|
"cell-span-hide": ({ data: e, column: t }) => e.getRowSpan(t) === 0
|
|
29507
29487
|
}, Ar = (e, t) => ({ ...e, ...t ?? {} });
|
|
29508
|
-
class
|
|
29488
|
+
class So {
|
|
29509
29489
|
constructor(t, o, i, s = [], n) {
|
|
29510
29490
|
R(this, "context");
|
|
29511
29491
|
/**
|
|
@@ -29545,10 +29525,10 @@ class bo {
|
|
|
29545
29525
|
}
|
|
29546
29526
|
static from(t, o, i, s) {
|
|
29547
29527
|
const n = o ?? i.pageSize;
|
|
29548
|
-
return new
|
|
29528
|
+
return new So(t, n, i, [], s);
|
|
29549
29529
|
}
|
|
29550
29530
|
static nextPage(t, o) {
|
|
29551
|
-
return new
|
|
29531
|
+
return new So(
|
|
29552
29532
|
t.pageNum + 1,
|
|
29553
29533
|
t.pageSize,
|
|
29554
29534
|
t,
|
|
@@ -29561,10 +29541,8 @@ class bo {
|
|
|
29561
29541
|
(t = this.onError) == null || t.call(this, "表格数据加载失败,请重试");
|
|
29562
29542
|
}
|
|
29563
29543
|
successCallback(t) {
|
|
29564
|
-
var
|
|
29565
|
-
(Qo(t) || t.length < this.pageSize) && (this.dataCache.isFinished = !0);
|
|
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 ?? []));
|
|
29544
|
+
var o;
|
|
29545
|
+
(Qo(t) || t.length < this.pageSize) && (this.dataCache.isFinished = !0), this.pageNum === 1 ? this.dataCache.setRows((t ?? []).map((i) => this.dataCache.createRow(i))) : this.dataCache.appendRows((t ?? []).map((i) => this.dataCache.createRow(i))), this.dataCache.pageNum = this.pageNum, this.pageNum === 1 && ((o = this.onFirstPageLoaded) == null || o.call(this, t ?? []));
|
|
29568
29546
|
}
|
|
29569
29547
|
}
|
|
29570
29548
|
const Zy = (e) => {
|
|
@@ -29676,7 +29654,7 @@ const dd = (e, t) => {
|
|
|
29676
29654
|
]), r = V(0), a = V(), { onBodyScrollEnd: l } = Zy({
|
|
29677
29655
|
onVScrollEnd() {
|
|
29678
29656
|
u.value.getRows(
|
|
29679
|
-
|
|
29657
|
+
So.nextPage(
|
|
29680
29658
|
c.value,
|
|
29681
29659
|
e.onError
|
|
29682
29660
|
)
|
|
@@ -29696,7 +29674,7 @@ const dd = (e, t) => {
|
|
|
29696
29674
|
u.value.loadData();
|
|
29697
29675
|
}, w = async (P, H = 0) => {
|
|
29698
29676
|
c.value.insertRows(P, H), m();
|
|
29699
|
-
},
|
|
29677
|
+
}, b = (P) => c.value.getRows().some((H) => H.getId() === P.getId()), v = () => c.value.getRows(), S = () => {
|
|
29700
29678
|
var _, ne;
|
|
29701
29679
|
const P = i.value.querySelector(".ag-body-viewport"), H = Number.parseFloat(
|
|
29702
29680
|
P.querySelector(".ag-center-cols-container").style.height
|
|
@@ -29709,7 +29687,7 @@ const dd = (e, t) => {
|
|
|
29709
29687
|
a.value = P.offsetWidth, r.value = P.offsetHeight;
|
|
29710
29688
|
}, T = () => new Promise((P, H) => {
|
|
29711
29689
|
c.value.isFinished = !1;
|
|
29712
|
-
const G =
|
|
29690
|
+
const G = So.from(
|
|
29713
29691
|
1,
|
|
29714
29692
|
c.value.pageSize,
|
|
29715
29693
|
c.value,
|
|
@@ -29758,7 +29736,7 @@ const dd = (e, t) => {
|
|
|
29758
29736
|
},
|
|
29759
29737
|
onRowDataUpdated() {
|
|
29760
29738
|
An(() => {
|
|
29761
|
-
|
|
29739
|
+
S();
|
|
29762
29740
|
});
|
|
29763
29741
|
},
|
|
29764
29742
|
defaultColDef: {
|
|
@@ -29821,7 +29799,7 @@ const dd = (e, t) => {
|
|
|
29821
29799
|
resetGridState: g,
|
|
29822
29800
|
reload: m,
|
|
29823
29801
|
insertRows: w,
|
|
29824
|
-
existRow:
|
|
29802
|
+
existRow: b,
|
|
29825
29803
|
getRows: v,
|
|
29826
29804
|
refresh: T,
|
|
29827
29805
|
selectByIds: (P, H) => Xy(o.value, P, H),
|
|
@@ -29949,7 +29927,7 @@ class oR extends E {
|
|
|
29949
29927
|
const i = Et(o.source);
|
|
29950
29928
|
(s = this.columns) == null || s.list.forEach((n) => {
|
|
29951
29929
|
const r = this.createSelectionColDef(o.currentValue);
|
|
29952
|
-
n.setColDef(r, null, i),
|
|
29930
|
+
n.setColDef(r, null, i), be(this.beans, { state: [{ ...r, colId: n.getColId() }] }, i);
|
|
29953
29931
|
});
|
|
29954
29932
|
}
|
|
29955
29933
|
getColumn(o) {
|
|
@@ -30046,7 +30024,7 @@ class oR extends E {
|
|
|
30046
30024
|
default:
|
|
30047
30025
|
c = i;
|
|
30048
30026
|
}
|
|
30049
|
-
c &&
|
|
30027
|
+
c && Se(c, r);
|
|
30050
30028
|
};
|
|
30051
30029
|
((d = this.beans.rowNumbersSvc) != null && d.getColumn(Ra) ? 2 : 1) === n && a();
|
|
30052
30030
|
}
|
|
@@ -30495,7 +30473,7 @@ class CR extends E {
|
|
|
30495
30473
|
o.forEachGui(s, (r) => {
|
|
30496
30474
|
r.rowComp.toggleCss("ag-row-selected", n);
|
|
30497
30475
|
const a = r.element;
|
|
30498
|
-
|
|
30476
|
+
bs(a, n), a.contains(q(this.beans)) && i(r);
|
|
30499
30477
|
});
|
|
30500
30478
|
}
|
|
30501
30479
|
announceAriaRowSelection(o) {
|
|
@@ -30785,7 +30763,7 @@ class mR extends CR {
|
|
|
30785
30763
|
const r = n.rootNode;
|
|
30786
30764
|
if (!r)
|
|
30787
30765
|
return !1;
|
|
30788
|
-
i || (i = new
|
|
30766
|
+
i || (i = new Si(!0, r), i.active = !1);
|
|
30789
30767
|
let a = !1;
|
|
30790
30768
|
return i.forEachChangedNodeDepthFirst((l) => {
|
|
30791
30769
|
if (l !== r) {
|
|
@@ -31019,7 +30997,7 @@ class mR extends CR {
|
|
|
31019
30997
|
if (a) {
|
|
31020
30998
|
if (o === void 0) {
|
|
31021
30999
|
const u = s.rootNode;
|
|
31022
|
-
o = u ? new
|
|
31000
|
+
o = u ? new Si(!1, u) : void 0;
|
|
31023
31001
|
}
|
|
31024
31002
|
o == null || o.forEachChangedNodeDepthFirst(d, !r, !r);
|
|
31025
31003
|
} else
|
|
@@ -31114,7 +31092,7 @@ function vR(e, t) {
|
|
|
31114
31092
|
}
|
|
31115
31093
|
return !1;
|
|
31116
31094
|
}
|
|
31117
|
-
const
|
|
31095
|
+
const bR = {
|
|
31118
31096
|
moduleName: "SharedRowSelection",
|
|
31119
31097
|
version: Gi,
|
|
31120
31098
|
beans: [oR],
|
|
@@ -31127,12 +31105,12 @@ const SR = {
|
|
|
31127
31105
|
getSelectedNodes: cR,
|
|
31128
31106
|
getSelectedRows: uR
|
|
31129
31107
|
}
|
|
31130
|
-
},
|
|
31108
|
+
}, SR = {
|
|
31131
31109
|
moduleName: "RowSelection",
|
|
31132
31110
|
version: Gi,
|
|
31133
31111
|
rowModels: ["clientSide", "infinite", "viewport"],
|
|
31134
31112
|
beans: [mR],
|
|
31135
|
-
dependsOn: [
|
|
31113
|
+
dependsOn: [bR]
|
|
31136
31114
|
}, yR = "ROOT_NODE_ID";
|
|
31137
31115
|
class RR extends E {
|
|
31138
31116
|
constructor() {
|
|
@@ -31172,22 +31150,22 @@ class RR extends E {
|
|
|
31172
31150
|
var C;
|
|
31173
31151
|
const s = si(this.gos), n = !this.gos.get("suppressMaintainUnsortedOrder"), r = o.changedRowNodes, a = /* @__PURE__ */ new Set(), l = this.rootNode, d = l.allLeafChildren, c = d.length;
|
|
31174
31152
|
let u = !1, h = !1, g = !1, p = !1;
|
|
31175
|
-
for (let m = 0, w = -1,
|
|
31153
|
+
for (let m = 0, w = -1, b = i.length; m < b; m++) {
|
|
31176
31154
|
const v = i[m];
|
|
31177
|
-
let
|
|
31155
|
+
let S = this.getRowNode(
|
|
31178
31156
|
s({ data: v, level: 0 })
|
|
31179
31157
|
);
|
|
31180
|
-
if (!
|
|
31181
|
-
u = !0,
|
|
31158
|
+
if (!S)
|
|
31159
|
+
u = !0, S = this.createRowNode(v, -1), r.add(S);
|
|
31182
31160
|
else {
|
|
31183
31161
|
if (n) {
|
|
31184
|
-
const x =
|
|
31162
|
+
const x = S.sourceRowIndex;
|
|
31185
31163
|
p || (p = x <= w || // A node was moved up, so order changed
|
|
31186
31164
|
u), w = x;
|
|
31187
31165
|
}
|
|
31188
|
-
|
|
31166
|
+
S.data !== v && (g = !0, S.updateData(v), r.update(S));
|
|
31189
31167
|
}
|
|
31190
|
-
a.add(
|
|
31168
|
+
a.add(S);
|
|
31191
31169
|
}
|
|
31192
31170
|
const f = [];
|
|
31193
31171
|
for (let m = 0; m < c; m++) {
|
|
@@ -31199,14 +31177,14 @@ class RR extends E {
|
|
|
31199
31177
|
let w = 0;
|
|
31200
31178
|
if (!n)
|
|
31201
31179
|
for (let v = 0; v < c; ++v) {
|
|
31202
|
-
const
|
|
31203
|
-
a.delete(
|
|
31180
|
+
const S = d[v];
|
|
31181
|
+
a.delete(S) && (S.sourceRowIndex = w, m[w++] = S);
|
|
31204
31182
|
}
|
|
31205
31183
|
for (const v of a)
|
|
31206
31184
|
v.sourceRowIndex = w, m[w++] = v;
|
|
31207
31185
|
l.allLeafChildren = m;
|
|
31208
|
-
const
|
|
31209
|
-
|
|
31186
|
+
const b = l.sibling;
|
|
31187
|
+
b && (b.allLeafChildren = m), o.rowNodesOrderChanged || (o.rowNodesOrderChanged = p);
|
|
31210
31188
|
}
|
|
31211
31189
|
(u || h || p || g) && (this.deselectNodes(f), o.rowDataUpdated = !0);
|
|
31212
31190
|
}
|
|
@@ -31390,38 +31368,38 @@ class FR extends E {
|
|
|
31390
31368
|
);
|
|
31391
31369
|
}
|
|
31392
31370
|
sort(o, i, s, n, r, a, l) {
|
|
31393
|
-
const { gos: d, colModel: c, rowGroupColsSvc: u, rowNodeSorter: h, rowRenderer: g, showRowGroupCols: p } = o, f = d.get("groupMaintainOrder"), C = c.getCols().some((
|
|
31394
|
-
let
|
|
31395
|
-
const v = (
|
|
31371
|
+
const { gos: d, colModel: c, rowGroupColsSvc: u, rowNodeSorter: h, rowRenderer: g, showRowGroupCols: p } = o, f = d.get("groupMaintainOrder"), C = c.getCols().some((S) => S.isRowGroupActive()), m = c.isPivotMode(), w = d.getCallback("postSortRows");
|
|
31372
|
+
let b = !1;
|
|
31373
|
+
const v = (S) => {
|
|
31396
31374
|
var D, F, P;
|
|
31397
|
-
const x = m &&
|
|
31375
|
+
const x = m && S.leafGroup, T = f && C && !S.leafGroup && !l;
|
|
31398
31376
|
let L;
|
|
31399
31377
|
if (T) {
|
|
31400
|
-
const H = ((F = (D = u == null ? void 0 : u.columns) == null ? void 0 : D[
|
|
31401
|
-
if (
|
|
31378
|
+
const H = ((F = (D = u == null ? void 0 : u.columns) == null ? void 0 : D[S.level + 1]) == null ? void 0 : F.getSort()) === null, G = S.childrenAfterAggFilter.slice(0);
|
|
31379
|
+
if (S.childrenAfterSort && !H) {
|
|
31402
31380
|
const N = {};
|
|
31403
|
-
|
|
31381
|
+
S.childrenAfterSort.forEach((_, ne) => {
|
|
31404
31382
|
N[_.id] = ne;
|
|
31405
31383
|
}), G.sort(
|
|
31406
31384
|
(_, ne) => (N[_.id] ?? 0) - (N[ne.id] ?? 0)
|
|
31407
31385
|
);
|
|
31408
31386
|
}
|
|
31409
31387
|
L = G;
|
|
31410
|
-
} else !s || x ? L =
|
|
31388
|
+
} else !s || x ? L = S.childrenAfterAggFilter.slice(0) : n && r ? L = PR(
|
|
31411
31389
|
h,
|
|
31412
|
-
|
|
31390
|
+
S,
|
|
31413
31391
|
r,
|
|
31414
31392
|
a,
|
|
31415
31393
|
i
|
|
31416
|
-
) : L =
|
|
31417
|
-
if (
|
|
31418
|
-
const H = { nodes:
|
|
31394
|
+
) : L = S.childrenAfterAggFilter.slice(0);
|
|
31395
|
+
if (b || (b = ((P = S.childrenAfterSort) == null ? void 0 : P[0]) !== L[0]), S.childrenAfterSort = L, pd(S), w) {
|
|
31396
|
+
const H = { nodes: S.childrenAfterSort };
|
|
31419
31397
|
w(H);
|
|
31420
31398
|
}
|
|
31421
31399
|
};
|
|
31422
|
-
if (a == null || a.forEachChangedNodeDepthFirst(v),
|
|
31423
|
-
const
|
|
31424
|
-
|
|
31400
|
+
if (a == null || a.forEachChangedNodeDepthFirst(v), b && this.gos.get("groupHideOpenParents")) {
|
|
31401
|
+
const S = p == null ? void 0 : p.getShowRowGroupCols();
|
|
31402
|
+
S != null && S.length && g.refreshCells({ columns: S, force: !0 });
|
|
31425
31403
|
}
|
|
31426
31404
|
}
|
|
31427
31405
|
}
|
|
@@ -31706,7 +31684,7 @@ class IR extends E {
|
|
|
31706
31684
|
this.refreshModel({ step: this.colModel.isPivotActive() ? "pivot" : "aggregate" });
|
|
31707
31685
|
}
|
|
31708
31686
|
createChangePath(o) {
|
|
31709
|
-
const i = new
|
|
31687
|
+
const i = new Si(!1, this.rootNode);
|
|
31710
31688
|
return o || (i.active = !1), i;
|
|
31711
31689
|
}
|
|
31712
31690
|
isSuppressModelUpdateAfterUpdateTransaction(o) {
|
|
@@ -32143,7 +32121,7 @@ const WR = {
|
|
|
32143
32121
|
flushAsyncTransactions: NR,
|
|
32144
32122
|
getBestCostNodeSelection: _R
|
|
32145
32123
|
},
|
|
32146
|
-
dependsOn: [
|
|
32124
|
+
dependsOn: [CS]
|
|
32147
32125
|
};
|
|
32148
32126
|
class yo {
|
|
32149
32127
|
static getComponentDefinition(t, o) {
|
|
@@ -33227,17 +33205,17 @@ const tE = /* @__PURE__ */ W({
|
|
|
33227
33205
|
{ deep: !0 }
|
|
33228
33206
|
);
|
|
33229
33207
|
const C = JR(() => {
|
|
33230
|
-
f.value = !0, o("update:modelValue",
|
|
33208
|
+
f.value = !0, o("update:modelValue", S());
|
|
33231
33209
|
}, 10), m = Yt(), w = (D) => {
|
|
33232
33210
|
var F;
|
|
33233
33211
|
l.value && h.has(D) && (F = m == null ? void 0 : m.proxy) != null && F.$props["onUpdate:modelValue"] && C();
|
|
33234
|
-
},
|
|
33212
|
+
}, b = () => {
|
|
33235
33213
|
var D;
|
|
33236
33214
|
(i.rowData || (D = i.gridOptions) != null && D.rowData) && g.value && A(232);
|
|
33237
33215
|
}, v = () => {
|
|
33238
33216
|
var D;
|
|
33239
33217
|
return g.value || i.rowData || ((D = i.gridOptions) == null ? void 0 : D.rowData);
|
|
33240
|
-
},
|
|
33218
|
+
}, S = () => {
|
|
33241
33219
|
const D = [];
|
|
33242
33220
|
return n == null || n.value.forEachLeafNode((F) => {
|
|
33243
33221
|
D.push(F.data);
|
|
@@ -33280,7 +33258,7 @@ const tE = /* @__PURE__ */ W({
|
|
|
33280
33258
|
r.value && ((D = n == null ? void 0 : n.value) == null || D.destroy(), a.value = !0);
|
|
33281
33259
|
}), t({
|
|
33282
33260
|
api: n
|
|
33283
|
-
}), { __sfc: !0, props: i, rootRef: s, api: n, gridCreated: r, isDestroyed: a, gridReadyFired: l, batchChanges: d, batchTimeout: c, propsAsRefs: u, ROW_DATA_EVENTS: h, rowDataModel: g, rowDataUpdating: p, emittingRowData: f, emits: o, emitRowModel: C, thisInstance: m, updateModelIfUsed: w, checkForBindingConflicts:
|
|
33261
|
+
}), { __sfc: !0, props: i, rootRef: s, api: n, gridCreated: r, isDestroyed: a, gridReadyFired: l, batchChanges: d, batchTimeout: c, propsAsRefs: u, ROW_DATA_EVENTS: h, rowDataModel: g, rowDataUpdating: p, emittingRowData: f, emits: o, emitRowModel: C, thisInstance: m, updateModelIfUsed: w, checkForBindingConflicts: b, getRowDataBasedOnBindings: v, getRowData: S, globalEventListenerFactory: x, processChanges: T, getProvides: L };
|
|
33284
33262
|
}
|
|
33285
33263
|
});
|
|
33286
33264
|
function se(e, t, o, i, s, n, r, a) {
|
|
@@ -33427,15 +33405,15 @@ const md = mE.exports, wE = /* @__PURE__ */ W({
|
|
|
33427
33405
|
var vE = function() {
|
|
33428
33406
|
var t = this, o = t._self._c, i = t._self._setupProxy;
|
|
33429
33407
|
return o("div", { staticClass: "custom-cell" }, [o(i.VNodeRenderer, { attrs: { params: t.params } })], 1);
|
|
33430
|
-
},
|
|
33408
|
+
}, bE = [], SE = /* @__PURE__ */ se(
|
|
33431
33409
|
wE,
|
|
33432
33410
|
vE,
|
|
33433
|
-
|
|
33411
|
+
bE,
|
|
33434
33412
|
!1,
|
|
33435
33413
|
null,
|
|
33436
33414
|
"4998e205"
|
|
33437
33415
|
);
|
|
33438
|
-
const yE =
|
|
33416
|
+
const yE = SE.exports, RE = W({
|
|
33439
33417
|
name: "SearchItem",
|
|
33440
33418
|
props: {
|
|
33441
33419
|
search: {
|
|
@@ -33698,7 +33676,7 @@ var qE = function() {
|
|
|
33698
33676
|
null,
|
|
33699
33677
|
"45be5dfc"
|
|
33700
33678
|
);
|
|
33701
|
-
const
|
|
33679
|
+
const bd = ZE.exports, QE = W({
|
|
33702
33680
|
name: "RefreshButton"
|
|
33703
33681
|
}), XE = /* @__PURE__ */ W({
|
|
33704
33682
|
...QE,
|
|
@@ -33729,14 +33707,14 @@ var JE = function() {
|
|
|
33729
33707
|
null,
|
|
33730
33708
|
"0eaeb325"
|
|
33731
33709
|
);
|
|
33732
|
-
const
|
|
33710
|
+
const Sd = t0.exports;
|
|
33733
33711
|
function yd(e, t) {
|
|
33734
33712
|
const o = t(e);
|
|
33735
33713
|
return o0(e) && (o.children = e.children.map((i) => yd(i, t))), o;
|
|
33736
33714
|
}
|
|
33737
33715
|
const o0 = (e) => !!e.children, i0 = () => {
|
|
33738
33716
|
const e = Ro(Nt), t = V(), o = V([]), i = V([]), s = V(), n = (C) => {
|
|
33739
|
-
const m = e.api.value.getAllDisplayedColumns(), w = m.find((
|
|
33717
|
+
const m = e.api.value.getAllDisplayedColumns(), w = m.find((b) => b.getColId() === C);
|
|
33740
33718
|
return w ? m.indexOf(w) : -1;
|
|
33741
33719
|
}, r = (C) => {
|
|
33742
33720
|
if (C.field)
|
|
@@ -33747,12 +33725,12 @@ const o0 = (e) => !!e.children, i0 = () => {
|
|
|
33747
33725
|
}, a = () => {
|
|
33748
33726
|
var C, m;
|
|
33749
33727
|
o.value = (m = (C = e.api.value.getColumnDefs()) == null ? void 0 : C.map(
|
|
33750
|
-
(w) => yd(w, (
|
|
33751
|
-
var v,
|
|
33728
|
+
(w) => yd(w, (b) => {
|
|
33729
|
+
var v, S;
|
|
33752
33730
|
return {
|
|
33753
|
-
id: r(
|
|
33754
|
-
label:
|
|
33755
|
-
pined: (
|
|
33731
|
+
id: r(b),
|
|
33732
|
+
label: b.headerName,
|
|
33733
|
+
pined: (S = (v = e.api.value.getColumnGroup(r(b))) == null ? void 0 : v.getPinned()) != null ? S : b.pinned
|
|
33756
33734
|
};
|
|
33757
33735
|
})
|
|
33758
33736
|
)) != null ? m : [], i.value = e.api.value.getAllDisplayedColumns().map((w) => w.getColId());
|
|
@@ -33764,8 +33742,8 @@ const o0 = (e) => !!e.children, i0 = () => {
|
|
|
33764
33742
|
const m = C.getChildren();
|
|
33765
33743
|
return m ? [...m.flatMap((w) => c(w))] : [];
|
|
33766
33744
|
}, u = (C, m, w) => {
|
|
33767
|
-
const
|
|
33768
|
-
return C === "after" ? v - m.length + 1 : v >
|
|
33745
|
+
const b = n(m[0].colId), v = n(w.colId);
|
|
33746
|
+
return C === "after" ? v - m.length + 1 : v > b ? v - m.length : v;
|
|
33769
33747
|
};
|
|
33770
33748
|
return {
|
|
33771
33749
|
treeData: o,
|
|
@@ -33776,11 +33754,11 @@ const o0 = (e) => !!e.children, i0 = () => {
|
|
|
33776
33754
|
onColumnDragStart: d,
|
|
33777
33755
|
onColumnDragFinish: (C, m, w) => {
|
|
33778
33756
|
if (m && C && C.key !== m.key) {
|
|
33779
|
-
const
|
|
33757
|
+
const b = e.api.value.getColumnGroup(
|
|
33780
33758
|
C.key
|
|
33781
|
-
), v = e.api.value.getColumn(C.key),
|
|
33782
|
-
if (
|
|
33783
|
-
const T = u(w, x,
|
|
33759
|
+
), v = e.api.value.getColumn(C.key), S = e.api.value.getColumn(m.key), x = c(b ?? v);
|
|
33760
|
+
if (S) {
|
|
33761
|
+
const T = u(w, x, S);
|
|
33784
33762
|
e.api.value.moveColumns(x, T);
|
|
33785
33763
|
}
|
|
33786
33764
|
}
|
|
@@ -33791,8 +33769,8 @@ const o0 = (e) => !!e.children, i0 = () => {
|
|
|
33791
33769
|
},
|
|
33792
33770
|
onColumnPinedChange: (C, m) => {
|
|
33793
33771
|
var w;
|
|
33794
|
-
const
|
|
33795
|
-
e.api.value.setColumnsPinned(v,
|
|
33772
|
+
const b = e.api.value.getColumnGroup(C), v = b ? b.getDisplayedLeafColumns().map((x) => x.getColId()) : [C], S = b ? b.getPinned() : (w = e.api.value.getColumn(C)) == null ? void 0 : w.getPinned();
|
|
33773
|
+
e.api.value.setColumnsPinned(v, S === m ? null : m), a();
|
|
33796
33774
|
},
|
|
33797
33775
|
columnAutoResize: () => {
|
|
33798
33776
|
e.api.value.sizeColumnsToFit();
|
|
@@ -33896,7 +33874,7 @@ const f0 = p0.exports, C0 = W({
|
|
|
33896
33874
|
var w0 = function() {
|
|
33897
33875
|
var t = this, o = t._self._c;
|
|
33898
33876
|
return t._self._setupProxy, o("el-empty", { attrs: { description: "没有数据了", "image-size": 75 } });
|
|
33899
|
-
}, v0 = [],
|
|
33877
|
+
}, v0 = [], b0 = /* @__PURE__ */ se(
|
|
33900
33878
|
m0,
|
|
33901
33879
|
w0,
|
|
33902
33880
|
v0,
|
|
@@ -33904,7 +33882,7 @@ var w0 = function() {
|
|
|
33904
33882
|
null,
|
|
33905
33883
|
"05fc87c0"
|
|
33906
33884
|
);
|
|
33907
|
-
const
|
|
33885
|
+
const S0 = b0.exports, y0 = W({
|
|
33908
33886
|
name: "GridLoadingOverlay"
|
|
33909
33887
|
}), R0 = /* @__PURE__ */ W({
|
|
33910
33888
|
...y0,
|
|
@@ -33943,11 +33921,11 @@ const F0 = D0.exports, P0 = (e, t, o) => {
|
|
|
33943
33921
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
33944
33922
|
name: "Grid",
|
|
33945
33923
|
components: {
|
|
33946
|
-
SearchButton:
|
|
33947
|
-
RefreshButton:
|
|
33924
|
+
SearchButton: bd,
|
|
33925
|
+
RefreshButton: Sd,
|
|
33948
33926
|
SettingButton: Rd,
|
|
33949
33927
|
CellRenderer: hE,
|
|
33950
|
-
GridEmptyDataOverlay:
|
|
33928
|
+
GridEmptyDataOverlay: S0,
|
|
33951
33929
|
HeaderRenderer: f0,
|
|
33952
33930
|
GridLoadingOverlay: F0,
|
|
33953
33931
|
AgGridVue: fd,
|
|
@@ -34001,7 +33979,7 @@ const F0 = D0.exports, P0 = (e, t, o) => {
|
|
|
34001
33979
|
} = nE(o), {
|
|
34002
33980
|
footerGridOptions: m,
|
|
34003
33981
|
setFooterData: w,
|
|
34004
|
-
footerStyles:
|
|
33982
|
+
footerStyles: b
|
|
34005
33983
|
} = P0(o, s, l);
|
|
34006
33984
|
return _d(Nt, {
|
|
34007
33985
|
refresh: f,
|
|
@@ -34019,22 +33997,22 @@ const F0 = D0.exports, P0 = (e, t, o) => {
|
|
|
34019
33997
|
reload: u,
|
|
34020
33998
|
refresh: f,
|
|
34021
33999
|
getRows: p,
|
|
34022
|
-
createRow(v,
|
|
34000
|
+
createRow(v, S = !1) {
|
|
34023
34001
|
const x = a.value.createRow(v);
|
|
34024
|
-
return
|
|
34002
|
+
return S ? new Rn(x, o.rowIdMapper, !0) : x;
|
|
34025
34003
|
},
|
|
34026
34004
|
existRow: g,
|
|
34027
34005
|
insertRows: h,
|
|
34028
34006
|
startEditing: () => {
|
|
34029
|
-
const v = a.value.getRows().filter((
|
|
34030
|
-
Qo(v) || (v.forEach((
|
|
34007
|
+
const v = a.value.getRows().filter((S) => !S.isEditing());
|
|
34008
|
+
Qo(v) || (v.forEach((S) => S.startEditing()), u(), d.value.redrawRows());
|
|
34031
34009
|
},
|
|
34032
34010
|
stopEditing: () => {
|
|
34033
|
-
const v = a.value.getRows().filter((
|
|
34034
|
-
Qo(v) || (v.forEach((
|
|
34011
|
+
const v = a.value.getRows().filter((S) => S.isEditing());
|
|
34012
|
+
Qo(v) || (v.forEach((S) => S.stopEditing()), u(), d.value.redrawRows());
|
|
34035
34013
|
},
|
|
34036
|
-
deselectAll: (v,
|
|
34037
|
-
d.value.deselectAll(v,
|
|
34014
|
+
deselectAll: (v, S) => {
|
|
34015
|
+
d.value.deselectAll(v, S);
|
|
34038
34016
|
}
|
|
34039
34017
|
}), {
|
|
34040
34018
|
__sfc: !0,
|
|
@@ -34055,11 +34033,11 @@ const F0 = D0.exports, P0 = (e, t, o) => {
|
|
|
34055
34033
|
resetGridState: C,
|
|
34056
34034
|
footerGridOptions: m,
|
|
34057
34035
|
setFooterData: w,
|
|
34058
|
-
footerStyles:
|
|
34036
|
+
footerStyles: b,
|
|
34059
34037
|
AgGridVue: fd,
|
|
34060
34038
|
GridToolbar: md,
|
|
34061
|
-
SearchButton:
|
|
34062
|
-
RefreshButton:
|
|
34039
|
+
SearchButton: bd,
|
|
34040
|
+
RefreshButton: Sd,
|
|
34063
34041
|
SettingButton: Rd
|
|
34064
34042
|
};
|
|
34065
34043
|
}
|
|
@@ -34163,29 +34141,29 @@ Kd({
|
|
|
34163
34141
|
const X0 = {
|
|
34164
34142
|
install: () => {
|
|
34165
34143
|
oh.registerModules([
|
|
34166
|
-
|
|
34167
|
-
|
|
34168
|
-
|
|
34169
|
-
|
|
34170
|
-
|
|
34171
|
-
|
|
34172
|
-
|
|
34173
|
-
|
|
34174
|
-
|
|
34144
|
+
rS,
|
|
34145
|
+
aS,
|
|
34146
|
+
lS,
|
|
34147
|
+
dS,
|
|
34148
|
+
uS,
|
|
34149
|
+
cS,
|
|
34150
|
+
LS,
|
|
34151
|
+
wS,
|
|
34152
|
+
fb,
|
|
34175
34153
|
xl,
|
|
34176
34154
|
sd,
|
|
34177
|
-
$
|
|
34178
|
-
|
|
34155
|
+
$S,
|
|
34156
|
+
XS,
|
|
34179
34157
|
iy,
|
|
34180
34158
|
cy,
|
|
34181
|
-
|
|
34159
|
+
SR,
|
|
34182
34160
|
Pv,
|
|
34183
|
-
Sy,
|
|
34184
|
-
Dy,
|
|
34185
34161
|
by,
|
|
34162
|
+
Dy,
|
|
34163
|
+
Sy,
|
|
34186
34164
|
My,
|
|
34187
34165
|
Av,
|
|
34188
|
-
|
|
34166
|
+
PS,
|
|
34189
34167
|
Yl,
|
|
34190
34168
|
ky,
|
|
34191
34169
|
Gy,
|
|
@@ -34193,7 +34171,7 @@ const X0 = {
|
|
|
34193
34171
|
my,
|
|
34194
34172
|
zR,
|
|
34195
34173
|
WR,
|
|
34196
|
-
|
|
34174
|
+
hS
|
|
34197
34175
|
]);
|
|
34198
34176
|
}
|
|
34199
34177
|
};
|
|
@@ -34202,7 +34180,7 @@ export {
|
|
|
34202
34180
|
zy as CLEAN_AG_GRID_OPTIONS,
|
|
34203
34181
|
En as CellEditableRow,
|
|
34204
34182
|
O0 as CellRenderAdapter,
|
|
34205
|
-
|
|
34183
|
+
bo as CellValue,
|
|
34206
34184
|
WE as ClDrawerSearch,
|
|
34207
34185
|
j0 as ClPopoverSearch,
|
|
34208
34186
|
K0 as ClSearch,
|
|
@@ -34218,11 +34196,11 @@ export {
|
|
|
34218
34196
|
$y as ID_FIRST_DEEP,
|
|
34219
34197
|
hs as ID_SPLITTER,
|
|
34220
34198
|
To as ProjectionRow,
|
|
34221
|
-
|
|
34199
|
+
SR as RowSelectionModule,
|
|
34222
34200
|
Ir as RowSpans,
|
|
34223
34201
|
vd as Searches,
|
|
34224
|
-
|
|
34225
|
-
|
|
34202
|
+
So as ServerGetRowsParamsRequest,
|
|
34203
|
+
bR as SharedRowSelectionModule,
|
|
34226
34204
|
Ny as SpanMatrix,
|
|
34227
34205
|
X0 as VueGridPlugin,
|
|
34228
34206
|
Oy as _getColumnSortIndexe,
|