@scvzerng/element-ui-ag-grid-vue2 0.0.34 → 0.0.36

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 Ss(e, t) {
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, bs, ys, Wi;
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, bs = o === 0);
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 bs == null && qr(), bs;
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 St(e, ...t) {
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, bt = `${na}/javascript-data-grid`;
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 Sc(e) {
753
- bt = e;
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 bc(e) {
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 = bc(e)), 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 = `${bt}/errors/${e}`, s = Ds(i, o);
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(St, e[0], e[1]);
811
+ tn(bt, e[0], e[1]);
812
812
  }
813
813
  function Zt(e, t, o) {
814
- tn(St, e, t, o);
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 = Sa(o);
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 Sa = (e) => {
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 ba() {
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 = ba(), this.autoHeaderHeight = null, this.moving = !1, this.resizing = !1, this.menuVisible = !1, this.lastLeftPinned = !1, this.firstRightPinned = !1, this.filterActive = !1, this.colEventSvc = new ot(), this.tooltipEnabled = !1, this.rowGroupActive = !1, this.pivotActive = !1, this.aggregationActive = !1, this.flex = null, this.colIdSanitised = Uo(o);
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 = ba(), this.expandableListenerRemoveCallback = null, this.expanded = !!(e != null && e.openByDefault);
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 be(e, t) {
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
- be(e, t[i]);
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 Se(e, t, o) {
2148
- var b;
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), be(F, ht)) : (_.push(te), ne += 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
- be(Oi, In), m(In, ht, null, null, !0);
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: S, unmatchedCount: v } = w(
2228
+ let { unmatchedAndAutoStates: b, unmatchedCount: v } = w(
2229
2229
  t.state || [],
2230
2230
  f,
2231
2231
  (x) => i.getColDefCol(x)
2232
2232
  );
2233
- if (S.length > 0 || M(t.defaultState)) {
2234
- const x = ((b = c == null ? void 0 : c.getPivotResultCols()) == null ? void 0 : b.list) ?? [];
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
- S,
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, S;
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 b = La(v);
2252
- K(b.rowGroupIndex) && b.rowGroup && (b.rowGroupIndex = u++), K(b.pivotIndex) && b.pivot && (b.pivotIndex = h++), c.push(b);
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), (S = s == null ? void 0 : s.getColumns()) == null || S.forEach(g), d == null || d.forEach(g), Se(e, { state: c }, t);
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
- Se(e, { state: m, applyOrder: !0 }, t), n.dispatchEvent(B(r, { type: "columnsReset", source: t }));
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 b = ui(e);
2308
- pu(d, b, t, n, a);
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, S;
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, (S = this.colDefCols) == null ? void 0 : S.tree, h.columnTree);
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
- Se(
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 Su = class extends E {
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 S;
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 b = this.registry.getUserComponent(n, v);
3001
- b && (l = b.componentFromFramework ? void 0 : b.component, d = b.componentFromFramework ? b.component : void 0, g = b.params, p = b.processParams);
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 = (S = this.agCompUtils) == null ? void 0 : S.adaptFunction(t, l)), !l && !d) {
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
- }, bu = {
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(bu, "agDragAndDropImage", t, !0);
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) || St(
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
- ) : St(t(`'${e.moduleName}' is incompatible.`)), e.validate) {
3146
+ ) : bt(t(`'${e.moduleName}' is incompatible.`)), e.validate) {
3147
3147
  const o = e.validate();
3148
- o.isValid || St(`${o.message}`);
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, S, v, b, x;
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
- (S = l.refresh) == null || S.call(l, d);
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")), (b = a == null ? void 0 : a.rowCtrl) == null || b.refreshRow({ suppressFlash: !0 }), r || (x = e.editSvc) == null || x.dispatchCellEvent(t, s, "cellEditingStarted"));
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, S;
3701
- const { valueSvc: s, gos: n, editSvc: r } = e, a = U(e, t), l = ((C = t.rowNode) == null ? void 0 : C.rowIndex) ?? void 0, d = r == null ? void 0 : r.isBatchEditing(), c = e.colModel.getCol(t.column.getId()), { rowNode: u, column: h } = t, g = (m = a.comp) == null ? void 0 : m.getCellEditor(), p = (r == null ? void 0 : r.getCellDataValue(t, !1)) ?? (g ? (w = $a(g)) == null ? void 0 : w.editorValue : void 0), f = p === me ? (S = s.getValueForDisplay(c, u)) == null ? void 0 : S.value : p;
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 S of t) {
3808
- const { ctrl: v, editor: b } = S, { rowNode: x, column: T } = v, L = ((u = b.getValidationErrors) == null ? void 0 : u.call(b)) ?? [], D = ((h = b.getValidationElement) == null ? void 0 : h.call(b, !1)) || !((g = b.isPopup) != null && g.call(b)) && v.eGui;
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: S } of t)
3826
- c.add(S.rowCtrl);
3825
+ for (const { ctrl: b } of t)
3826
+ c.add(b.rowCtrl);
3827
3827
  if (a) {
3828
- const S = vh(e);
3829
- n == null || n.setRowValidationModel(S);
3828
+ const b = vh(e);
3829
+ n == null || n.setRowValidationModel(b);
3830
3830
  }
3831
- for (const S of c.values()) {
3832
- (p = S.rowEditStyleFeature) == null || p.applyRowStyles();
3833
- for (const v of S.getAllCellCtrls())
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 Sh(e) {
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 bh = "ag-column-first", yh = "ag-column-last";
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(bh, o.isColAtEdge(t, "first")), e.toggleCss(yh, o.isColAtEdge(t, "last"));
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, b = (Ot() || v) && !w && !Ys(s) && !p;
4242
- n.focusCell(b, e);
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: S, rowIndex: v, rowPinned: b } = w;
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: S,
4250
+ column: b,
4251
4251
  rowIndex: v,
4252
- rowPinned: b,
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 S = t || o;
4267
- l.setRangeToCell(f, S);
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), be(t, i));
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), be(t, 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, S = c.rowHeight, v = r.getPixelOffset(), b = c.rowTop - v, x = b + c.rowHeight, T = this.getVScrollPosition(), L = a.divStretchOffset, D = T.top + L, F = T.bottom + L, P = F - D, H = a.getScrollPositionForPixel(b), G = a.getScrollPositionForPixel(x - P), N = Math.min((H + G) / 2, b), _ = D + C > b, ne = F - m < x;
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 || S !== c.rowHeight, h = C !== d.stickyTopHeight || m !== d.stickyBottomHeight, g++;
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", Si = class extends E {
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"], Sg = ["center", "left", "right", "fullWidth"], bg = ["stickyTopCenter", "stickyBottomCenter", "center", "topCenter", "bottomCenter"], yg = ["left", "bottomLeft", "topLeft", "stickyTopLeft", "stickyBottomLeft"], Rg = ["right", "bottomRight", "topRight", "stickyTopRight", "stickyBottomRight"], sl = ["stickyTopCenter", "stickyTopLeft", "stickyTopRight"], nl = ["stickyBottomCenter", "stickyBottomLeft", "stickyBottomRight"], Eg = [
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
- Sg,
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
- bg,
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 S = X(s), v = !S || !S.contains(t), b = w == 0;
8589
- if (v || b) {
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), be(this.order, e);
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
- }, Sp = class extends mn {
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
- }, bp = {
10377
+ }, Sp = {
10378
10378
  selector: "AG-INPUT-TEXT-AREA",
10379
- component: Sp
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), Ss(e, !0);
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), Ss(e, !1), this.highlightedEl = null);
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`, Sc(this.baseDocLink);
11223
+ this.frameworkName = e, this.renderingEngine = "vanilla", this.batchFrameworkComps = !1, this.wrapIncoming = (t) => t(), this.wrapOutgoing = (t) => t(), this.baseDocLink = `${na}/${this.frameworkName}-data-grid`, 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 = Sa(t);
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), S = s.addPopup({
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
- S && (this.hideEditorPopup = S.hideFunc);
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
- Sl(e, { [t]: o });
12595
+ bl(e, { [t]: o });
12596
12596
  }
12597
- function Sl(e, t) {
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
- }, bi = class {
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
- }, bl = {
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: [bl],
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: [bl]
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 Sf = class extends E {
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 bf(e, t) {
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
- bf(l.getCols(), h);
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((S) => S.getColDef().suppressMovable))
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((S) => t.includes(S)), h = d.filter((S) => !t.includes(S)), g = c.filter((S) => !t.includes(S));
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 S = 0;
13021
- u.forEach((v) => S += v.getActualWidth()), f -= S;
13020
+ let b = 0;
13021
+ u.forEach((v) => b += v.getActualWidth()), f -= b;
13022
13022
  }
13023
13023
  if (f > 0) {
13024
- for (let S = 0; S < h.length; S++) {
13025
- const v = h[S];
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 S = h[p - 1];
13035
- C = g.indexOf(S) + 1;
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 = (S, v) => S - v;
13038
+ const m = [C], w = (b, v) => b - v;
13039
13039
  if (o) {
13040
- let S = C + 1;
13040
+ let b = C + 1;
13041
13041
  const v = c.length - 1;
13042
- for (; S <= v; )
13043
- m.push(S), S++;
13042
+ for (; b <= v; )
13043
+ m.push(b), b++;
13044
13044
  m.sort(w);
13045
13045
  } else {
13046
- let S = C;
13046
+ let b = C;
13047
13047
  const v = c.length - 1;
13048
- let b = c[S];
13049
- for (; S <= v && d.indexOf(b) < 0; )
13050
- S++, m.push(S), b = c[S];
13051
- S = C - 1;
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 (; S >= x; )
13054
- m.push(S), S--;
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 Sf(o)), t.addDropTarget(this), this.addDestroyFunc(() => t.removeDropTarget(this));
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 S = o.getGroupId(), v = o.getLeafColumns();
13549
+ const b = o.getGroupId(), v = o.getLeafColumns();
13550
13550
  if (!v.length)
13551
13551
  return;
13552
- const b = v[0].getParent();
13553
- if (!b)
13552
+ const S = v[0].getParent();
13553
+ if (!S)
13554
13554
  return;
13555
- w = Lf(b, S);
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), be(o, 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 S = 0, v = u;
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
- S += D;
13933
+ b += D;
13934
13934
  }
13935
13935
  });
13936
- const b = 1 / S;
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 * b), v -= D);
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 S = p[w.getId()];
13947
- w.getActualWidth() !== S && (w.setActualWidth(S, i), n.push(w));
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 Se(e, t, "api");
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 SC(e) {
14810
+ function bC(e) {
14811
14811
  return e.visibleCols.isPinningLeft() || e.visibleCols.isPinningRight();
14812
14812
  }
14813
- function bC(e) {
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 b = m - C, x = Math.round(b);
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 b = v.targetSize, x = Math.min(Math.max(b, v.min), v.max);
14965
- w += x - b, v.violationType = x === b ? void 0 : x < b ? "max" : "min", v.targetSize = 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 S = w === 0 ? "all" : w > 0 ? "min" : "max";
14967
+ const b = w === 0 ? "all" : w > 0 ? "min" : "max";
14968
14968
  for (const v of a)
14969
- h(v) || (S === "all" || v.violationType === S) && u(v, v.targetSize);
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 && Se(this.beans, { state: o }, "cellDataTypeInferred"), this.initialData = null;
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: SC,
15462
- isPinningLeft: bC,
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, Sn = typeof window != "object" || !((Lr = (kr = window == null ? void 0 : window.document) == null ? void 0 : kr.fonts) != null && Lr.forEach), Ht = (e, t, o, i, s, n) => {
15821
- if (Sn)
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, bn = (e) => {
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" }) + " " + bn(e.color ?? { ref: "borderColor" }), vm = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? Te(e.ref) : [
16305
+ }, mm = Ai, mt = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (o) => o[0] === "-" ? o : ` ${Te(o)} `)})` : e && "ref" in e ? Te(e.ref) : !1, wm = Ai, Ws = (e, t) => typeof e == "string" ? e : e === !0 ? Ws({}, t) : e === !1 ? t === "columnBorder" ? Ws({ color: "transparent" }, t) : "none" : e && "ref" in e ? Te(e.ref) : Al(e.style ?? "solid") + " " + mt(e.width ?? { ref: "borderWidth" }) + " " + 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
- bn(e.color ?? { ref: "foregroundColor" })
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
- ), Sm = Ai, kl = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? kl({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? Te(e.ref) : !1, bm = (e, t) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && $(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? Te(e.ref) : !1, ym = {
16317
- color: bn,
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: Sm,
16327
- duration: bm
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 (Sn)
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
- }, Sr = {
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(Sr), this.refreshRowBorderWidthVariable(), this.addDestroyFunc(() => XC(this)), this.mutationObserver = new MutationObserver(() => {
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(Sr);
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
- Sn || (r.textContent = (n == null ? void 0 : n._getPerGridCss(this.paramsClass)) || ""), this.applyThemeClasses(t), this.fireGridStylesChangedEvent("themeChanged");
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
- ], Sw = [
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
- ], bw = [
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 Si) {
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 Si(l, s, !1, !1, n);
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: b, pageLastPixel: x } = t.getCurrentPagePixelRange(), T = e.divStretchOffset, L = u.getVScrollPosition(), D = L.top, F = L.bottom;
21343
- h ? (p = b + T, f = x + T) : (p = Math.max(D + v - c, b) + T, f = Math.min(F + v + c, x) + T), this.firstVisibleVPixel = Math.max(D + v, b) + T, this.lastVisibleVPixel = Math.min(F + v, x) + T, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
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(), S = t.getLastRow();
21347
- C < w && (C = w), m > S && (m = S), i = C, s = 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 Si(e, this.beans, t, s, this.printLayout);
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], be(this.entriesList, o);
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], be(this.entriesList, e);
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 Sv(e) {
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: Sv
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
- }, bv = class extends E {
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 bi(a, r);
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
- Su,
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
- bv,
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: Sl,
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: ${bt}/modules/`;
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 br = ({
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: ${bt}/theming-migration/`,
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: br,
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 ${bt}/filter-set-filter-list/#filter-value-types`,
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
- }) => br({
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 ${bt}/integrated-charts-range-chart#coldefchartdatatype .`,
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: S,
22885
+ pivot: b,
22886
22886
  pivotIndex: v,
22887
- pinned: b,
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 }), S && (n[v ?? 0] = g), b && (b === "right" ? a : r).push(g), x && l.push(g), (L != null || T) && d.push({ colId: g, flex: L ?? void 0, width: T });
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
- }, eS = 1e3, tS = 1e3, Dr = 100, Fr, Vo = !1, oS = class extends E {
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 < eS;
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 ? tS : 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 iS = class extends E {
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 oS(this.ctrl, () => this.tooltip),
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
- }, sS = {
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", nS = {
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
- }, rS = {
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 aS(e, t, o) {
23345
- const i = rS[e];
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 = nS[e];
23353
+ const s = nb[e];
23354
23354
  return s ? (...n) => {
23355
23355
  const r = o.rowModel.getType();
23356
23356
  if (!s.includes(r)) {
23357
- St(
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 lS = {
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
- }, dS = {
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
- }, cS = {
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
- }, uS = /* @__PURE__ */ new Set([
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
- ]), hS = class extends E {
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" && sS[t] && A(22, { key: t });
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 aS(e, t, this.beans);
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 = lS[e];
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
- pS.has(e) && A(10, { eventType: e });
23608
+ pb.has(e) && A(10, { eventType: e });
23609
23609
  }
23610
23610
  validateIcon(e) {
23611
- if (uS.has(e) && A(43, { iconName: e }), dS[e])
23611
+ if (ub.has(e) && A(43, { iconName: e }), db[e])
23612
23612
  return;
23613
- const t = cS[e];
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: S } = u;
23648
- l.add(`As of v${S}, ${String(c)} is deprecated. ${w ?? ""}`);
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 = gS(
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 gS(e, t, o) {
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 pS = /* @__PURE__ */ new Set([
23732
+ var pb = /* @__PURE__ */ new Set([
23733
23733
  "firstChildChanged",
23734
23734
  "lastChildChanged",
23735
23735
  "childIndexChanged"
23736
- ]), fS = {
23736
+ ]), fb = {
23737
23737
  moduleName: "Validation",
23738
23738
  version: k,
23739
- beans: [hS]
23740
- }, No = 0, CS = 200, mS = class extends E {
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(), CS);
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: S, forceHide: v } = C;
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 || S), this.removePopupFromPopupList(n, c));
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 S = h[m] - g[m];
24018
- if (S != C.lastDiff) {
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 - S,
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 = S;
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: [mS]
24098
- }, wS = (
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
- }, vS = class extends E {
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: [vS],
24234
+ beans: [vb],
24235
24235
  dynamicBeans: {
24236
- tooltipFeature: iS
24236
+ tooltipFeature: ib
24237
24237
  },
24238
24238
  userComponents: {
24239
24239
  agTooltipComponent: Jv
24240
24240
  },
24241
24241
  dependsOn: [ql],
24242
- css: [wS]
24243
- }, SS = (
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
- ), bS = {
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
- }, yS = class extends Ii {
24256
+ }, yb = class extends Ii {
24257
24257
  constructor() {
24258
- super(bS, [wn]), this.eEditor = I;
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
- }, RS = {
24337
+ }, Rb = {
24338
24338
  tag: "ag-input-date-field",
24339
24339
  ref: "eEditor",
24340
24340
  cls: "ag-cell-editor"
24341
- }, ES = class {
24341
+ }, Eb = class {
24342
24342
  constructor(e, t) {
24343
24343
  this.getDataTypeService = e, this.getLocaleTextFunc = t;
24344
24344
  }
24345
24345
  getTemplate() {
24346
- return RS;
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
- }, xS = class extends ki {
24392
+ }, xb = class extends ki {
24393
24393
  constructor() {
24394
24394
  super(
24395
- new ES(
24395
+ new Eb(
24396
24396
  () => this.beans.dataTypeSvc,
24397
24397
  () => this.getLocaleTextFunc()
24398
24398
  )
24399
24399
  );
24400
24400
  }
24401
- }, DS = {
24401
+ }, Db = {
24402
24402
  tag: "ag-input-date-field",
24403
24403
  ref: "eEditor",
24404
24404
  cls: "ag-cell-editor"
24405
- }, FS = class {
24405
+ }, Fb = class {
24406
24406
  constructor(e, t) {
24407
24407
  this.getDataTypeService = e, this.getLocaleTextFunc = t;
24408
24408
  }
24409
24409
  getTemplate() {
24410
- return DS;
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
- }, PS = class extends ki {
24466
+ }, Pb = class extends ki {
24467
24467
  constructor() {
24468
24468
  super(
24469
- new FS(
24469
+ new Fb(
24470
24470
  () => this.beans.dataTypeSvc,
24471
24471
  () => this.getLocaleTextFunc()
24472
24472
  )
24473
24473
  );
24474
24474
  }
24475
- }, TS = {
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
- }, IS = class extends Ii {
24485
+ }, Ib = class extends Ii {
24486
24486
  constructor() {
24487
- super(TS, [bp]), this.eEditor = I;
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
- }, AS = {
24521
+ }, Ab = {
24522
24522
  tag: "ag-input-number-field",
24523
24523
  ref: "eEditor",
24524
24524
  cls: "ag-cell-editor"
24525
- }, MS = class {
24525
+ }, Mb = class {
24526
24526
  constructor(e) {
24527
24527
  this.getLocaleTextFunc = e;
24528
24528
  }
24529
24529
  getTemplate() {
24530
- return AS;
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
- }, kS = class extends ki {
24578
+ }, kb = class extends ki {
24579
24579
  constructor() {
24580
- super(new MS(() => this.getLocaleTextFunc()));
24580
+ super(new Mb(() => this.getLocaleTextFunc()));
24581
24581
  }
24582
- }, LS = {
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
- }, GS = class extends Ii {
24592
+ }, Gb = class extends Ii {
24593
24593
  constructor() {
24594
- super(LS, [Ap]), this.eEditor = I, this.startedByEnter = !1;
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
- }, HS = {
24646
+ }, Hb = {
24647
24647
  tag: "ag-input-text-field",
24648
24648
  ref: "eEditor",
24649
24649
  cls: "ag-cell-editor"
24650
- }, OS = class {
24650
+ }, Ob = class {
24651
24651
  constructor(e) {
24652
24652
  this.getLocaleTextFunc = e;
24653
24653
  }
24654
24654
  getTemplate() {
24655
- return HS;
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 OS(() => this.getLocaleTextFunc()));
24686
+ super(new Ob(() => this.getLocaleTextFunc()));
24687
24687
  }
24688
24688
  };
24689
- function BS(e) {
24689
+ function Bb(e) {
24690
24690
  return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
24691
24691
  }
24692
- function VS(e) {
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 NS(e, t, o = null) {
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 _S(e) {
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 WS(e, t = !1) {
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 zS(e, t) {
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 $S(e, t) {
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 US(e) {
24775
+ function Ub(e) {
24776
24776
  var t;
24777
24777
  return ((t = e.editSvc) == null ? void 0 : t.validateEdit()) || null;
24778
24778
  }
24779
- var KS = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, jS = class extends Cn {
24779
+ var Kb = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, jb = class extends Cn {
24780
24780
  constructor(e) {
24781
- super(KS), this.params = e;
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 qS = class extends E {
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
- }, YS = class extends E {
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
- }, ZS = ({ rowModel: e, pinnedRowModel: t, editModelSvc: o }, i) => {
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
- }, QS = ({ editModelSvc: e }, t, o) => {
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
- }, XS = (e) => () => {
24878
+ }, Xb = (e) => () => {
24879
24879
  const t = new Set(e.colModel.getCols()), o = e.editModelSvc.getEditMap(!0), i = new Set(o.keys());
24880
- QS(e, ZS(e, i), t);
24881
- }, JS = /* @__PURE__ */ new Set(["undo", "redo"]), td = {
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
- }, eb = new Set(Object.keys(td)), tb = /* @__PURE__ */ new Set([
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" }, ob = { cancel: !1, source: "api" }, pt = { checkSiblings: !0 }, Kt = { force: !0, suppressFlash: !0 }, ib = class extends E {
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 = XS(e), o = () => {
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, ob)), !1;
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 Sh(this.beans);
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 (eb.has(s))
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, S = m === y.ESCAPE, v = m === y.TAB;
24994
- (w || v || S) && (w || v ? Ye(r, !0) : S && 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());
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 jS(e);
25137
+ return new jb(e);
25138
25138
  }
25139
25139
  setDataValue(e, t, o) {
25140
25140
  var r;
25141
- if ((!this.isEditing() || o === "commit") && !tb.has(o))
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 || JS.has(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 qS(e, t);
25252
+ return new qb(e, t);
25253
25253
  }
25254
25254
  createRowStyleFeature(e, t) {
25255
- return new YS(e, t);
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
- }, sb = class extends od {
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
- }, nb = class extends od {
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, ib],
25621
+ beans: [rh, iS],
25622
25622
  apiFunctions: {
25623
- getEditingCells: _S,
25623
+ getEditingCells: _b,
25624
25624
  getCellEditorInstances: fh,
25625
- startEditingCell: $S,
25626
- stopEditing: WS,
25627
- isEditing: zS,
25628
- validateEdit: US
25625
+ startEditingCell: $b,
25626
+ stopEditing: Wb,
25627
+ isEditing: zb,
25628
+ validateEdit: Ub
25629
25629
  },
25630
25630
  dynamicBeans: {
25631
- singleCell: nb,
25632
- fullRow: sb
25631
+ singleCell: nS,
25632
+ fullRow: sS
25633
25633
  },
25634
25634
  dependsOn: [ql, Yl],
25635
- css: [SS]
25636
- }, rb = {
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
- }, ab = {
25641
+ }, aS = {
25642
25642
  moduleName: "NumberEditor",
25643
25643
  version: k,
25644
25644
  userComponents: {
25645
25645
  agNumberCellEditor: {
25646
- classImp: kS
25646
+ classImp: kb
25647
25647
  }
25648
25648
  },
25649
25649
  dependsOn: [ut]
25650
- }, lb = {
25650
+ }, lS = {
25651
25651
  moduleName: "DateEditor",
25652
25652
  version: k,
25653
25653
  userComponents: {
25654
- agDateCellEditor: xS,
25655
- agDateStringCellEditor: PS
25654
+ agDateCellEditor: xb,
25655
+ agDateStringCellEditor: Pb
25656
25656
  },
25657
25657
  dependsOn: [ut]
25658
- }, db = {
25658
+ }, dS = {
25659
25659
  moduleName: "CheckboxEditor",
25660
25660
  version: k,
25661
25661
  userComponents: {
25662
- agCheckboxCellEditor: yS
25662
+ agCheckboxCellEditor: yb
25663
25663
  },
25664
25664
  dependsOn: [ut]
25665
- }, cb = {
25665
+ }, cS = {
25666
25666
  moduleName: "SelectEditor",
25667
25667
  version: k,
25668
- userComponents: { agSelectCellEditor: GS },
25668
+ userComponents: { agSelectCellEditor: Gb },
25669
25669
  dependsOn: [ut]
25670
- }, ub = {
25670
+ }, uS = {
25671
25671
  moduleName: "LargeTextEditor",
25672
25672
  version: k,
25673
- userComponents: { agLargeTextCellEditor: IS },
25673
+ userComponents: { agLargeTextCellEditor: Ib },
25674
25674
  dependsOn: [ut]
25675
- }, hb = {
25675
+ }, hS = {
25676
25676
  moduleName: "CustomEditor",
25677
25677
  version: k,
25678
25678
  dependsOn: [ut]
25679
25679
  };
25680
- function gb(e) {
25680
+ function gS(e) {
25681
25681
  var t;
25682
25682
  (t = e.expansionSvc) == null || t.expandAll(!0);
25683
25683
  }
25684
- function pb(e) {
25684
+ function pS(e) {
25685
25685
  var t;
25686
25686
  (t = e.expansionSvc) == null || t.expandAll(!1);
25687
25687
  }
25688
- function fb(e) {
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 Cb = {
25692
+ var CS = {
25693
25693
  moduleName: "CsrmSsrmSharedApi",
25694
25694
  version: k,
25695
25695
  apiFunctions: {
25696
- expandAll: gb,
25697
- collapseAll: pb,
25698
- onRowHeightChanged: fb
25696
+ expandAll: gS,
25697
+ collapseAll: pS,
25698
+ onRowHeightChanged: fS
25699
25699
  }
25700
- }, mb = class extends E {
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
- Se(i, { state: h, applyOrder: !0 }, "alignedGridChanged");
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
- Se(i, { state: h }, "alignedGridChanged");
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
- Se(i, { state: h }, "alignedGridChanged");
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
- }, wb = {
25849
+ }, wS = {
25850
25850
  moduleName: "AlignedGrids",
25851
25851
  version: k,
25852
- beans: [mb],
25852
+ beans: [mS],
25853
25853
  dependsOn: [xl]
25854
- }, vb = "↑", Sb = "↓", bb = {
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
- }, yb = class extends j {
25860
+ }, yS = class extends j {
25861
25861
  constructor() {
25862
- super(bb), this.eValue = I, this.eDelta = I, this.refreshCount = 0;
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 = vb + s : r.textContent = Sb + s, r.classList.toggle("ag-value-change-delta-up", n), r.classList.toggle("ag-value-change-delta-down", !n);
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
- }, Rb = (
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
- ), Eb = {
25900
+ ), ES = {
25901
25901
  tag: "span",
25902
25902
  children: [{ tag: "span", ref: "eCurrent", cls: "ag-value-slide-current" }]
25903
- }, xb = class extends j {
25903
+ }, xS = class extends j {
25904
25904
  constructor() {
25905
- super(Eb), this.eCurrent = I, this.refreshCount = 0, this.registerCSS(Rb);
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
- }, Db = class extends E {
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 Fb(e, t = {}) {
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 Pb = {
26007
+ var PS = {
26008
26008
  moduleName: "HighlightChanges",
26009
26009
  version: k,
26010
- beans: [Db],
26010
+ beans: [DS],
26011
26011
  userComponents: {
26012
- agAnimateShowChangeCellRenderer: yb,
26013
- agAnimateSlideCellRenderer: xb
26012
+ agAnimateShowChangeCellRenderer: yS,
26013
+ agAnimateSlideCellRenderer: xS
26014
26014
  },
26015
26015
  apiFunctions: {
26016
- flashCells: Fb
26016
+ flashCells: FS
26017
26017
  }
26018
26018
  };
26019
- function Tb(e) {
26019
+ function TS(e) {
26020
26020
  var t;
26021
26021
  return ((t = e.stateSvc) == null ? void 0 : t.getState()) ?? {};
26022
26022
  }
26023
- function Ib(e, t, o) {
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 = Ab(e);
26030
+ e = AS(e);
26031
26031
  }
26032
26032
  return e.version = k, e;
26033
26033
  }
26034
- function Ab(e) {
26035
- return e.cellSelection = Mb(e, "rangeSelection"), e;
26034
+ function AS(e) {
26035
+ return e.cellSelection = MS(e, "rangeSelection"), e;
26036
26036
  }
26037
- function Mb(e, t) {
26037
+ function MS(e, t) {
26038
26038
  if (e && typeof e == "object")
26039
26039
  return e[t];
26040
26040
  }
26041
- var kb = class extends E {
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 S = h("pivot", a);
26234
- S && (a == null || a.pivotColIds.forEach((F, P) => {
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
- })), (S || !o) && (f.pivot = null, f.pivotIndex = null);
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 b = h("columnVisibility", d);
26248
- b && (d == null || d.hiddenColIds.forEach((F) => {
26247
+ const S = h("columnVisibility", d);
26248
+ S && (d == null || d.hiddenColIds.forEach((F) => {
26249
26249
  p(F).hide = !0;
26250
- })), (b || !o) && (f.hide = null);
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, Se(
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
- Se(
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
- }, Lb = {
26543
+ }, LS = {
26544
26544
  moduleName: "GridState",
26545
26545
  version: k,
26546
- beans: [kb],
26546
+ beans: [kS],
26547
26547
  apiFunctions: {
26548
- getState: Tb,
26549
- setState: Ib
26548
+ getState: TS,
26549
+ setState: IS
26550
26550
  }
26551
26551
  };
26552
- function Gb(e, t = {}) {
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 Hb(e, t) {
26559
+ function HS(e, t) {
26560
26560
  return e.rowModel.getRowNode(t);
26561
26561
  }
26562
- function Ob(e, t, o, i) {
26562
+ function OS(e, t, o, i) {
26563
26563
  e.rowRenderer.addRenderedRowListener(t, o, i);
26564
26564
  }
26565
- function Bb(e) {
26565
+ function BS(e) {
26566
26566
  return e.rowRenderer.getRenderedNodes();
26567
26567
  }
26568
- function Vb(e, t, o) {
26568
+ function VS(e, t, o) {
26569
26569
  e.rowModel.forEachNode(t, o);
26570
26570
  }
26571
- function Nb(e) {
26571
+ function NS(e) {
26572
26572
  return e.rowRenderer.firstRenderedRow;
26573
26573
  }
26574
- function _b(e) {
26574
+ function _S(e) {
26575
26575
  return e.rowRenderer.lastRenderedRow;
26576
26576
  }
26577
- function Wb(e, t) {
26577
+ function WS(e, t) {
26578
26578
  return e.rowModel.getRow(t);
26579
26579
  }
26580
- function zb(e) {
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: Gb,
26587
+ redrawRows: GS,
26588
26588
  setRowNodeExpanded: id,
26589
- getRowNode: Hb,
26590
- addRenderedRowListener: Ob,
26591
- getRenderedNodes: Bb,
26592
- forEachNode: Vb,
26593
- getFirstDisplayedRowIndex: Nb,
26594
- getLastDisplayedRowIndex: _b,
26595
- getDisplayedRowAtIndex: Wb,
26596
- getDisplayedRowCount: zb
26597
- }
26598
- }, $b = {
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: BS,
26603
- getHorizontalPixelRange: VS,
26602
+ getVerticalPixelRange: Bb,
26603
+ getHorizontalPixelRange: Vb,
26604
26604
  ensureColumnVisible: Zl,
26605
26605
  ensureIndexVisible: Ql,
26606
- ensureNodeVisible: NS
26606
+ ensureNodeVisible: Nb
26607
26607
  }
26608
26608
  };
26609
- function Ub(e, t, o) {
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 Kb(e, t = {}) {
26615
+ function KS(e, t = {}) {
26616
26616
  e.frameworkOverrides.wrapIncoming(() => e.rowRenderer.refreshCells(t));
26617
26617
  }
26618
- function jb(e) {
26618
+ function jS(e) {
26619
26619
  e.frameworkOverrides.wrapIncoming(
26620
26620
  () => e.ctrlsSvc.getHeaderRowContainerCtrls().forEach((t) => t.refresh())
26621
26621
  );
26622
26622
  }
26623
- function qb(e) {
26623
+ function qS(e) {
26624
26624
  var t;
26625
26625
  return ((t = e.animationFrameSvc) == null ? void 0 : t.isQueueEmpty()) ?? !0;
26626
26626
  }
26627
- function Yb(e) {
26627
+ function YS(e) {
26628
26628
  var t;
26629
26629
  (t = e.animationFrameSvc) == null || t.flushAllFrames();
26630
26630
  }
26631
- function Zb(e) {
26631
+ function ZS(e) {
26632
26632
  return {
26633
26633
  rowHeight: on(e),
26634
26634
  headerHeight: Po(e)
26635
26635
  };
26636
26636
  }
26637
- function Qb(e, t = {}) {
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 Xb = {
26656
+ var XS = {
26657
26657
  moduleName: "RenderApi",
26658
26658
  version: k,
26659
26659
  apiFunctions: {
26660
- setGridAriaProperty: Ub,
26661
- refreshCells: Kb,
26662
- refreshHeader: jb,
26663
- isAnimationFrameQueueEmpty: qb,
26664
- flushAllAnimationFrames: Yb,
26665
- getSizesForCurrentTheme: Zb,
26666
- getCellRendererInstances: Qb
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 Jb(e, t) {
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: S, maxWidth: v, minWidth: b }) => [S, { maxWidth: v, minWidth: b }])
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 S = [];
26723
+ const b = [];
26724
26724
  t.forEach((v) => {
26725
26725
  if (!v || Qc(v))
26726
26726
  return;
26727
- const b = u.getCol(v);
26728
- if (!b || p.indexOf(b) >= 0)
26727
+ const S = u.getCol(v);
26728
+ if (!S || p.indexOf(S) >= 0)
26729
26729
  return;
26730
- const x = h.getPreferredWidthForColumn(b, m);
26730
+ const x = h.getPreferredWidthForColumn(S, m);
26731
26731
  if (x > 0) {
26732
- const T = C[b.colId] ?? {};
26732
+ const T = C[S.colId] ?? {};
26733
26733
  T.minWidth ?? (T.minWidth = r), T.maxWidth ?? (T.maxWidth = n);
26734
- const L = oy(b, x, T);
26735
- b.setActualWidth(L, l), p.push(b), f++;
26734
+ const L = oy(S, x, T);
26735
+ S.setActualWidth(L, l), p.push(S), f++;
26736
26736
  }
26737
- S.push(b);
26738
- }), S.length && g.refresh(l);
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), S = f.getActualWidth();
26828
- return (m == null || S >= m) && (w == null || S <= w);
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
- be(a, p), l.push(p);
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], S = s == null ? void 0 : s[w.getId()], v = (S == null ? void 0 : S.minWidth) ?? (i == null ? void 0 : i.defaultMinWidth), b = (S == null ? void 0 : S.maxWidth) ?? (i == null ? void 0 : i.defaultMaxWidth), x = w.getMinWidth(), T = w.getMaxWidth(), L = typeof v == "number" && v > x ? v : x, D = typeof b == "number" && b < T ? b : T;
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: Jb,
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 Si {
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 S;
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, b) => {
27191
- p = v, f = null, C = b;
27190
+ const m = (v, S) => {
27191
+ p = v, f = null, C = S;
27192
27192
  }, w = (v) => {
27193
- const b = !v.isExpandable() && !v.group && !v.detail && (c ? !c({ rowNode: v }) : !0);
27194
- if (v.rowIndex == null || !b) {
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
- (S = s.forEachDisplayedNode) == null || S.call(s, (v) => {
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
- }, Sy = {
27441
+ }, by = {
27442
27442
  moduleName: "CellStyle",
27443
27443
  version: k,
27444
27444
  beans: [vy]
27445
- }, by = {
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 S = X(r), v = !S || !S.contains(t), b = m == 0;
27706
- if (v || b) {
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 So {
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 So(`${this.id}_${a}`, t, n[a], a, o);
28231
+ r[a] = new bo(`${this.id}_${a}`, t, n[a], a, o);
28232
28232
  } else
28233
- r = new So(this.id, t, n, void 0, o);
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 S of c.keys())
28429
- if (S.startsWith(`${w.id}|`)) {
28430
- const v = S.substring(w.id.length + 1);
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 So(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);
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 So(this.id, "$", t);
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 缓存, O(1) 查重
29191
+ * id → rows 数组下标, O(1) 查重 + 拿位置
29192
29192
  *
29193
- * 跟 this.rows 强一致, 任何 mutation 后 this.idSet == Set(rows.map(r => r.getId())).
29194
- * 加载 (successCallback) 用 hasRowData 过滤并发插入的重复行.
29193
+ * 跟 this.rows 强一致. 任何 mutation 后同步:
29194
+ * - 单点操作 (appendRows) 增量维护
29195
+ * - filter 类操作 (remove / deleteRows / insertRows / replace) 全量 rebuild
29195
29196
  */
29196
- R(this, "idSet", /* @__PURE__ */ new Set());
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
- * O(1) 查 raw id 是否在表格里
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.rebuildIdSet(), this;
29214
+ return this.rows = t, this.rebuildIdMap(), this;
29226
29215
  }
29227
29216
  replace(t) {
29228
- this.rows[t.getDataIndex()] = t, this.rebuildIdSet();
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
- this.rows.push(...t);
29246
- for (const o of t) this.idSet.add(o.getId());
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
- * 插入数据, 默认按 id 去重
29238
+ * 插入数据到指定 index, 表格已有同 id 的删旧
29250
29239
  *
29251
- * 同 id 已在表格里: 删旧 + 插新到 index (换位置)
29252
- * 新 rows 内部同 id 重复: 后覆盖前 (保留最后一个位置)
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 = /* @__PURE__ */ new Map();
29263
- for (const n of t)
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,13 +29254,12 @@ 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 = {
29281
29261
  getContextMenuItems: void 0
29282
- }, $0 = (e) => e instanceof Li || e instanceof To ? !0 : e instanceof Rn, U0 = (e) => e instanceof Li, hs = "_", $y = 1;
29262
+ }, U0 = (e) => e instanceof Li || e instanceof To ? !0 : e instanceof Rn, K0 = (e) => e instanceof Li, hs = "_", $y = 1;
29283
29263
  class Uy {
29284
29264
  /**
29285
29265
  * 创建行数据 并赋值内部ID属性 __id
@@ -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 bo {
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 bo(t, n, i, [], s);
29528
+ return new So(t, n, i, [], s);
29549
29529
  }
29550
29530
  static nextPage(t, o) {
29551
- return new bo(
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 i;
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) => {
@@ -29663,7 +29641,15 @@ const dd = (e, t) => {
29663
29641
  !e || t.length === 0 || e.setNodesSelected({ nodes: dd(e, t), newValue: !0, source: o });
29664
29642
  }, Jy = (e, t, o) => {
29665
29643
  !e || t.length === 0 || e.setNodesSelected({ nodes: dd(e, t), newValue: !1, source: o });
29666
- }, eR = (e, t) => {
29644
+ }, eR = (e) => {
29645
+ if (!e) return [];
29646
+ const t = /* @__PURE__ */ new Set(), o = [];
29647
+ return e.forEachNode((i) => {
29648
+ if (!i.isSelected() || !i.data) return;
29649
+ const s = i.data, n = s != null && s.getActualRow ? s.getActualRow() : i.data;
29650
+ t.has(n) || (t.add(n), o.push(n));
29651
+ }), o;
29652
+ }, tR = (e, t) => {
29667
29653
  var F;
29668
29654
  const o = V(), i = V(), s = V({
29669
29655
  height: `calc(100% - ${e.footerHeight ?? 0}px)`,
@@ -29676,7 +29662,7 @@ const dd = (e, t) => {
29676
29662
  ]), r = V(0), a = V(), { onBodyScrollEnd: l } = Zy({
29677
29663
  onVScrollEnd() {
29678
29664
  u.value.getRows(
29679
- bo.nextPage(
29665
+ So.nextPage(
29680
29666
  c.value,
29681
29667
  e.onError
29682
29668
  )
@@ -29696,7 +29682,7 @@ const dd = (e, t) => {
29696
29682
  u.value.loadData();
29697
29683
  }, w = async (P, H = 0) => {
29698
29684
  c.value.insertRows(P, H), m();
29699
- }, S = (P) => c.value.getRows().some((H) => H.getId() === P.getId()), v = () => c.value.getRows(), b = () => {
29685
+ }, b = (P) => c.value.getRows().some((H) => H.getId() === P.getId()), v = () => c.value.getRows(), S = () => {
29700
29686
  var _, ne;
29701
29687
  const P = i.value.querySelector(".ag-body-viewport"), H = Number.parseFloat(
29702
29688
  P.querySelector(".ag-center-cols-container").style.height
@@ -29709,7 +29695,7 @@ const dd = (e, t) => {
29709
29695
  a.value = P.offsetWidth, r.value = P.offsetHeight;
29710
29696
  }, T = () => new Promise((P, H) => {
29711
29697
  c.value.isFinished = !1;
29712
- const G = bo.from(
29698
+ const G = So.from(
29713
29699
  1,
29714
29700
  c.value.pageSize,
29715
29701
  c.value,
@@ -29758,7 +29744,7 @@ const dd = (e, t) => {
29758
29744
  },
29759
29745
  onRowDataUpdated() {
29760
29746
  An(() => {
29761
- b();
29747
+ S();
29762
29748
  });
29763
29749
  },
29764
29750
  defaultColDef: {
@@ -29821,13 +29807,14 @@ const dd = (e, t) => {
29821
29807
  resetGridState: g,
29822
29808
  reload: m,
29823
29809
  insertRows: w,
29824
- existRow: S,
29810
+ existRow: b,
29825
29811
  getRows: v,
29826
29812
  refresh: T,
29827
29813
  selectByIds: (P, H) => Xy(o.value, P, H),
29828
- deselectByIds: (P, H) => Jy(o.value, P, H)
29814
+ deselectByIds: (P, H) => Jy(o.value, P, H),
29815
+ getSelectedRows: () => eR(o.value)
29829
29816
  };
29830
- }, tR = (e, t, o) => {
29817
+ }, oR = (e, t, o) => {
29831
29818
  const i = V(), s = V([{}]), n = de(() => e.footerHeight ? {
29832
29819
  height: `${e.footerHeight + 10}px`
29833
29820
  } : {});
@@ -29903,7 +29890,7 @@ const dd = (e, t) => {
29903
29890
  footerGridOptions: l
29904
29891
  };
29905
29892
  };
29906
- class oR extends E {
29893
+ class iR extends E {
29907
29894
  constructor() {
29908
29895
  super(...arguments);
29909
29896
  R(this, "beanName", "selectionColSvc");
@@ -29949,7 +29936,7 @@ class oR extends E {
29949
29936
  const i = Et(o.source);
29950
29937
  (s = this.columns) == null || s.list.forEach((n) => {
29951
29938
  const r = this.createSelectionColDef(o.currentValue);
29952
- n.setColDef(r, null, i), Se(this.beans, { state: [{ ...r, colId: n.getColId() }] }, i);
29939
+ n.setColDef(r, null, i), be(this.beans, { state: [{ ...r, colId: n.getColId() }] }, i);
29953
29940
  });
29954
29941
  }
29955
29942
  getColumn(o) {
@@ -30046,7 +30033,7 @@ class oR extends E {
30046
30033
  default:
30047
30034
  c = i;
30048
30035
  }
30049
- c && be(c, r);
30036
+ c && Se(c, r);
30050
30037
  };
30051
30038
  ((d = this.beans.rowNumbersSvc) != null && d.getColumn(Ra) ? 2 : 1) === n && a();
30052
30039
  }
@@ -30059,7 +30046,7 @@ function Mr(e) {
30059
30046
  function Hi(e) {
30060
30047
  return !!(e.rowPinned && e.pinnedSibling);
30061
30048
  }
30062
- function iR(e, t = !0) {
30049
+ function sR(e, t = !0) {
30063
30050
  const o = e.get("rowSelection");
30064
30051
  return typeof o != "object" ? t ? "all" : void 0 : o.mode === "multiRow" ? o.selectAll : "all";
30065
30052
  }
@@ -30109,19 +30096,19 @@ function ud(e) {
30109
30096
  }
30110
30097
  return t.mode === "singleRow" || t.mode === "multiRow" ? t.enableClickSelection ?? !1 : !1;
30111
30098
  }
30112
- function sR(e) {
30099
+ function nR(e) {
30113
30100
  const t = ud(e);
30114
30101
  return t === !0 || t === "enableDeselection";
30115
30102
  }
30116
- function nR(e) {
30103
+ function rR(e) {
30117
30104
  const t = ud(e);
30118
30105
  return t === !0 || t === "enableSelection";
30119
30106
  }
30120
- function rR(e) {
30107
+ function aR(e) {
30121
30108
  const t = e.get("rowSelection");
30122
30109
  return typeof t == "string" ? e.get("rowMultiSelectWithClick") : (t == null ? void 0 : t.enableSelectionWithoutKeys) ?? !1;
30123
30110
  }
30124
- function aR(e, t) {
30111
+ function lR(e, t) {
30125
30112
  var n;
30126
30113
  if (!t.nodes.every((r) => r.rowPinned && !Hi(r) ? (A(59), !1) : r.id === void 0 ? (A(60), !1) : !0))
30127
30114
  return;
@@ -30132,23 +30119,23 @@ function aR(e, t) {
30132
30119
  newValue: s
30133
30120
  });
30134
30121
  }
30135
- function lR(e, t, o = "apiSelectAll") {
30122
+ function dR(e, t, o = "apiSelectAll") {
30136
30123
  var i;
30137
30124
  (i = e.selectionSvc) == null || i.selectAllRowNodes({ source: o, selectAll: t });
30138
30125
  }
30139
- function dR(e, t, o = "apiSelectAll") {
30126
+ function cR(e, t, o = "apiSelectAll") {
30140
30127
  var i;
30141
30128
  (i = e.selectionSvc) == null || i.deselectAllRowNodes({ source: o, selectAll: t });
30142
30129
  }
30143
- function cR(e) {
30130
+ function uR(e) {
30144
30131
  var t;
30145
30132
  return ((t = e.selectionSvc) == null ? void 0 : t.getSelectedNodes()) ?? [];
30146
30133
  }
30147
- function uR(e) {
30134
+ function hR(e) {
30148
30135
  var t;
30149
30136
  return ((t = e.selectionSvc) == null ? void 0 : t.getSelectedRows()) ?? [];
30150
30137
  }
30151
- const hR = {
30138
+ const gR = {
30152
30139
  tag: "div",
30153
30140
  cls: "ag-selection-checkbox",
30154
30141
  role: "presentation",
@@ -30160,9 +30147,9 @@ const hR = {
30160
30147
  }
30161
30148
  ]
30162
30149
  };
30163
- class gR extends j {
30150
+ class pR extends j {
30164
30151
  constructor() {
30165
- super(hR, [wn]);
30152
+ super(gR, [wn]);
30166
30153
  R(this, "eCheckbox", I);
30167
30154
  R(this, "rowNode");
30168
30155
  R(this, "column");
@@ -30233,7 +30220,7 @@ class gR extends j {
30233
30220
  return i && typeof i != "string" ? Rt(i) : (n = (s = this.column) == null ? void 0 : s.getColDef()) == null ? void 0 : n.checkboxSelection;
30234
30221
  }
30235
30222
  }
30236
- class pR {
30223
+ class fR {
30237
30224
  constructor(t, o) {
30238
30225
  R(this, "rowModel");
30239
30226
  R(this, "pinnedRowModel");
@@ -30360,7 +30347,7 @@ class pR {
30360
30347
  return null;
30361
30348
  }
30362
30349
  }
30363
- class fR extends E {
30350
+ class CR extends E {
30364
30351
  constructor(o) {
30365
30352
  super();
30366
30353
  R(this, "column");
@@ -30441,7 +30428,7 @@ class fR extends E {
30441
30428
  return hd(s, o) && this.checkRightRowModelType(n) && this.checkSelectionType(n);
30442
30429
  }
30443
30430
  getSelectAllMode() {
30444
- const o = iR(this.gos, !1);
30431
+ const o = sR(this.gos, !1);
30445
30432
  if (o)
30446
30433
  return o;
30447
30434
  const { headerCheckboxSelectionCurrentPageOnly: i, headerCheckboxSelectionFilteredOnly: s } = this.column.getColDef();
@@ -30461,7 +30448,7 @@ function hd({ gos: e, selectionColSvc: t }, o) {
30461
30448
  typeof n == "function" ? r = n(B(e, { column: o, colDef: s })) : r = !!n;
30462
30449
  return r;
30463
30450
  }
30464
- class CR extends E {
30451
+ class mR extends E {
30465
30452
  constructor() {
30466
30453
  super(...arguments);
30467
30454
  R(this, "isRowSelectable");
@@ -30469,7 +30456,7 @@ class CR extends E {
30469
30456
  }
30470
30457
  postConstruct() {
30471
30458
  const { gos: o, beans: i } = this;
30472
- this.selectionCtx = new pR(i.rowModel, i.pinnedRowModel), this.addManagedPropertyListeners(["isRowSelectable", "rowSelection"], () => {
30459
+ this.selectionCtx = new fR(i.rowModel, i.pinnedRowModel), this.addManagedPropertyListeners(["isRowSelectable", "rowSelection"], () => {
30473
30460
  const s = Ps(o);
30474
30461
  s !== this.isRowSelectable && (this.isRowSelectable = s, this.updateSelectable());
30475
30462
  }), this.isRowSelectable = Ps(o), this.addManagedEventListeners({
@@ -30481,11 +30468,11 @@ class CR extends E {
30481
30468
  super.destroy(), this.selectionCtx.reset();
30482
30469
  }
30483
30470
  createCheckboxSelectionComponent() {
30484
- return new gR();
30471
+ return new pR();
30485
30472
  }
30486
30473
  createSelectAllFeature(o) {
30487
30474
  if (hd(this.beans, o))
30488
- return new fR(o);
30475
+ return new CR(o);
30489
30476
  }
30490
30477
  isMultiSelect() {
30491
30478
  return ho(this.gos);
@@ -30495,7 +30482,7 @@ class CR extends E {
30495
30482
  o.forEachGui(s, (r) => {
30496
30483
  r.rowComp.toggleCss("ag-row-selected", n);
30497
30484
  const a = r.element;
30498
- Ss(a, n), a.contains(q(this.beans)) && i(r);
30485
+ bs(a, n), a.contains(q(this.beans)) && i(r);
30499
30486
  });
30500
30487
  }
30501
30488
  announceAriaRowSelection(o) {
@@ -30592,7 +30579,7 @@ class CR extends E {
30592
30579
  return o.isColumnFunc(i, o.colDef.checkboxSelection);
30593
30580
  }
30594
30581
  inferNodeSelections(o, i, s, n) {
30595
- const { gos: r, selectionCtx: a } = this, l = o.isSelected(), d = go(r), c = nR(r), u = sR(r), h = this.isMultiSelect(), g = n === "rowClicked";
30582
+ const { gos: r, selectionCtx: a } = this, l = o.isSelected(), d = go(r), c = rR(r), u = nR(r), h = this.isMultiSelect(), g = n === "rowClicked";
30596
30583
  if (g && !(c || u)) return null;
30597
30584
  if (i && s && h) {
30598
30585
  const p = a.getRoot();
@@ -30636,7 +30623,7 @@ class CR extends E {
30636
30623
  };
30637
30624
  } else {
30638
30625
  a.setRoot(o);
30639
- const p = rR(r), f = ai(r) === "filteredDescendants", C = g && (!p || !c);
30626
+ const p = aR(r), f = ai(r) === "filteredDescendants", C = g && (!p || !c);
30640
30627
  if (f && l === void 0 && ie(r))
30641
30628
  return {
30642
30629
  node: o,
@@ -30660,7 +30647,7 @@ class CR extends E {
30660
30647
  }
30661
30648
  }
30662
30649
  }
30663
- class mR extends CR {
30650
+ class wR extends mR {
30664
30651
  constructor() {
30665
30652
  super(...arguments);
30666
30653
  R(this, "beanName", "selectionSvc");
@@ -30785,7 +30772,7 @@ class mR extends CR {
30785
30772
  const r = n.rootNode;
30786
30773
  if (!r)
30787
30774
  return !1;
30788
- i || (i = new bi(!0, r), i.active = !1);
30775
+ i || (i = new Si(!0, r), i.active = !1);
30789
30776
  let a = !1;
30790
30777
  return i.forEachChangedNodeDepthFirst((l) => {
30791
30778
  if (l !== r) {
@@ -30799,7 +30786,7 @@ class mR extends CR {
30799
30786
  let r = 0;
30800
30787
  return this.selectedNodes.forEach((a) => {
30801
30788
  const l = a.id == o.id;
30802
- if ((!i || !vR(o, a)) && !l) {
30789
+ if ((!i || !bR(o, a)) && !l) {
30803
30790
  const d = this.selectedNodes.get(a.id);
30804
30791
  r += this.setNodesSelected({
30805
30792
  nodes: [d],
@@ -31019,7 +31006,7 @@ class mR extends CR {
31019
31006
  if (a) {
31020
31007
  if (o === void 0) {
31021
31008
  const u = s.rootNode;
31022
- o = u ? new bi(!1, u) : void 0;
31009
+ o = u ? new Si(!1, u) : void 0;
31023
31010
  }
31024
31011
  o == null || o.forEachChangedNodeDepthFirst(d, !r, !r);
31025
31012
  } else
@@ -31044,7 +31031,7 @@ class mR extends CR {
31044
31031
  if (!this.masterSelectsDetail) return;
31045
31032
  const s = (a = (r = o.detailNode) == null ? void 0 : r.detailGridInfo) == null ? void 0 : a.api;
31046
31033
  if (!s) return;
31047
- const n = wR(s);
31034
+ const n = vR(s);
31048
31035
  if (o.isSelected() !== n && this.selectRowNode(o, n, i, "masterDetail") && this.dispatchSelectionChanged("masterDetail"), !n) {
31049
31036
  const l = this.detailSelection.get(o.id) ?? /* @__PURE__ */ new Set();
31050
31037
  for (const d of s.getSelectedNodes())
@@ -31094,7 +31081,7 @@ class mR extends CR {
31094
31081
  function ft(e) {
31095
31082
  return Hi(e) ? e.pinnedSibling : e.footer ? e.sibling : e;
31096
31083
  }
31097
- function wR(e) {
31084
+ function vR(e) {
31098
31085
  let t = 0, o = 0;
31099
31086
  return e.forEachNode((i) => {
31100
31087
  i.isSelected() ? t++ : i.selectable && o++;
@@ -31106,7 +31093,7 @@ function gd(e, t) {
31106
31093
  if (!(e > 0 && t > 0))
31107
31094
  return e > 0;
31108
31095
  }
31109
- function vR(e, t) {
31096
+ function bR(e, t) {
31110
31097
  let o = t.parent;
31111
31098
  for (; o; ) {
31112
31099
  if (o === e) return !0;
@@ -31117,24 +31104,24 @@ function vR(e, t) {
31117
31104
  const SR = {
31118
31105
  moduleName: "SharedRowSelection",
31119
31106
  version: Gi,
31120
- beans: [oR],
31107
+ beans: [iR],
31121
31108
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
31122
31109
  //@ts-expect-error
31123
31110
  apiFunctions: {
31124
- setNodesSelected: aR,
31125
- selectAll: lR,
31126
- deselectAll: dR,
31127
- getSelectedNodes: cR,
31128
- getSelectedRows: uR
31111
+ setNodesSelected: lR,
31112
+ selectAll: dR,
31113
+ deselectAll: cR,
31114
+ getSelectedNodes: uR,
31115
+ getSelectedRows: hR
31129
31116
  }
31130
- }, bR = {
31117
+ }, yR = {
31131
31118
  moduleName: "RowSelection",
31132
31119
  version: Gi,
31133
31120
  rowModels: ["clientSide", "infinite", "viewport"],
31134
- beans: [mR],
31121
+ beans: [wR],
31135
31122
  dependsOn: [SR]
31136
- }, yR = "ROOT_NODE_ID";
31137
- class RR extends E {
31123
+ }, RR = "ROOT_NODE_ID";
31124
+ class ER extends E {
31138
31125
  constructor() {
31139
31126
  super(...arguments);
31140
31127
  R(this, "nextId", 0);
@@ -31149,7 +31136,7 @@ class RR extends E {
31149
31136
  return (i = (o = this.rootNode) == null ? void 0 : o.allLeafChildren) == null ? void 0 : i.map((s) => s.data);
31150
31137
  }
31151
31138
  activate(o) {
31152
- this.rootNode = o, o.group = !0, o.level = -1, o.id = yR, o.allLeafChildren = [], o.childrenAfterGroup = [], o.childrenAfterSort = [], o.childrenAfterAggFilter = [], o.childrenAfterFilter = [], this.updateRootSiblingArrays(o);
31139
+ this.rootNode = o, o.group = !0, o.level = -1, o.id = RR, o.allLeafChildren = [], o.childrenAfterGroup = [], o.childrenAfterSort = [], o.childrenAfterAggFilter = [], o.childrenAfterFilter = [], this.updateRootSiblingArrays(o);
31153
31140
  }
31154
31141
  deactivate() {
31155
31142
  this.rootNode && (this.allNodesMap = {}, this.rootNode = null);
@@ -31172,22 +31159,22 @@ class RR extends E {
31172
31159
  var C;
31173
31160
  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
31161
  let u = !1, h = !1, g = !1, p = !1;
31175
- for (let m = 0, w = -1, S = i.length; m < S; m++) {
31162
+ for (let m = 0, w = -1, b = i.length; m < b; m++) {
31176
31163
  const v = i[m];
31177
- let b = this.getRowNode(
31164
+ let S = this.getRowNode(
31178
31165
  s({ data: v, level: 0 })
31179
31166
  );
31180
- if (!b)
31181
- u = !0, b = this.createRowNode(v, -1), r.add(b);
31167
+ if (!S)
31168
+ u = !0, S = this.createRowNode(v, -1), r.add(S);
31182
31169
  else {
31183
31170
  if (n) {
31184
- const x = b.sourceRowIndex;
31171
+ const x = S.sourceRowIndex;
31185
31172
  p || (p = x <= w || // A node was moved up, so order changed
31186
31173
  u), w = x;
31187
31174
  }
31188
- b.data !== v && (g = !0, b.updateData(v), r.update(b));
31175
+ S.data !== v && (g = !0, S.updateData(v), r.update(S));
31189
31176
  }
31190
- a.add(b);
31177
+ a.add(S);
31191
31178
  }
31192
31179
  const f = [];
31193
31180
  for (let m = 0; m < c; m++) {
@@ -31199,14 +31186,14 @@ class RR extends E {
31199
31186
  let w = 0;
31200
31187
  if (!n)
31201
31188
  for (let v = 0; v < c; ++v) {
31202
- const b = d[v];
31203
- a.delete(b) && (b.sourceRowIndex = w, m[w++] = b);
31189
+ const S = d[v];
31190
+ a.delete(S) && (S.sourceRowIndex = w, m[w++] = S);
31204
31191
  }
31205
31192
  for (const v of a)
31206
31193
  v.sourceRowIndex = w, m[w++] = v;
31207
31194
  l.allLeafChildren = m;
31208
- const S = l.sibling;
31209
- S && (S.allLeafChildren = m), o.rowNodesOrderChanged || (o.rowNodesOrderChanged = p);
31195
+ const b = l.sibling;
31196
+ b && (b.allLeafChildren = m), o.rowNodesOrderChanged || (o.rowNodesOrderChanged = p);
31210
31197
  }
31211
31198
  (u || h || p || g) && (this.deselectNodes(f), o.rowDataUpdated = !0);
31212
31199
  }
@@ -31322,7 +31309,7 @@ class RR extends E {
31322
31309
  return s || null;
31323
31310
  }
31324
31311
  }
31325
- class ER extends RR {
31312
+ class xR extends ER {
31326
31313
  constructor() {
31327
31314
  super(...arguments);
31328
31315
  R(this, "beanName", "csrmNodeSvc");
@@ -31347,10 +31334,10 @@ class ps {
31347
31334
  this.adds.add(t);
31348
31335
  }
31349
31336
  }
31350
- function xR(e) {
31337
+ function DR(e) {
31351
31338
  e.sibling && (e.sibling.childrenAfterFilter = e.childrenAfterFilter);
31352
31339
  }
31353
- function DR(e) {
31340
+ function FR(e) {
31354
31341
  if (K(e.childrenAfterSort))
31355
31342
  return;
31356
31343
  const t = e.childrenAfterSort;
@@ -31360,9 +31347,9 @@ function DR(e) {
31360
31347
  }
31361
31348
  }
31362
31349
  function pd(e) {
31363
- e.sibling && (e.sibling.childrenAfterSort = e.childrenAfterSort), DR(e);
31350
+ e.sibling && (e.sibling.childrenAfterSort = e.childrenAfterSort), FR(e);
31364
31351
  }
31365
- class FR extends E {
31352
+ class PR extends E {
31366
31353
  constructor() {
31367
31354
  super(...arguments);
31368
31355
  R(this, "beanName", "sortStage");
@@ -31390,42 +31377,42 @@ class FR extends E {
31390
31377
  );
31391
31378
  }
31392
31379
  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((b) => b.isRowGroupActive()), m = c.isPivotMode(), w = d.getCallback("postSortRows");
31394
- let S = !1;
31395
- const v = (b) => {
31380
+ 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");
31381
+ let b = !1;
31382
+ const v = (S) => {
31396
31383
  var D, F, P;
31397
- const x = m && b.leafGroup, T = f && C && !b.leafGroup && !l;
31384
+ const x = m && S.leafGroup, T = f && C && !S.leafGroup && !l;
31398
31385
  let L;
31399
31386
  if (T) {
31400
- const H = ((F = (D = u == null ? void 0 : u.columns) == null ? void 0 : D[b.level + 1]) == null ? void 0 : F.getSort()) === null, G = b.childrenAfterAggFilter.slice(0);
31401
- if (b.childrenAfterSort && !H) {
31387
+ 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);
31388
+ if (S.childrenAfterSort && !H) {
31402
31389
  const N = {};
31403
- b.childrenAfterSort.forEach((_, ne) => {
31390
+ S.childrenAfterSort.forEach((_, ne) => {
31404
31391
  N[_.id] = ne;
31405
31392
  }), G.sort(
31406
31393
  (_, ne) => (N[_.id] ?? 0) - (N[ne.id] ?? 0)
31407
31394
  );
31408
31395
  }
31409
31396
  L = G;
31410
- } else !s || x ? L = b.childrenAfterAggFilter.slice(0) : n && r ? L = PR(
31397
+ } else !s || x ? L = S.childrenAfterAggFilter.slice(0) : n && r ? L = TR(
31411
31398
  h,
31412
- b,
31399
+ S,
31413
31400
  r,
31414
31401
  a,
31415
31402
  i
31416
- ) : L = b.childrenAfterAggFilter.slice(0);
31417
- if (S || (S = ((P = b.childrenAfterSort) == null ? void 0 : P[0]) !== L[0]), b.childrenAfterSort = L, pd(b), w) {
31418
- const H = { nodes: b.childrenAfterSort };
31403
+ ) : L = S.childrenAfterAggFilter.slice(0);
31404
+ if (b || (b = ((P = S.childrenAfterSort) == null ? void 0 : P[0]) !== L[0]), S.childrenAfterSort = L, pd(S), w) {
31405
+ const H = { nodes: S.childrenAfterSort };
31419
31406
  w(H);
31420
31407
  }
31421
31408
  };
31422
- if (a == null || a.forEachChangedNodeDepthFirst(v), S && this.gos.get("groupHideOpenParents")) {
31423
- const b = p == null ? void 0 : p.getShowRowGroupCols();
31424
- b != null && b.length && g.refreshCells({ columns: b, force: !0 });
31409
+ if (a == null || a.forEachChangedNodeDepthFirst(v), b && this.gos.get("groupHideOpenParents")) {
31410
+ const S = p == null ? void 0 : p.getShowRowGroupCols();
31411
+ S != null && S.length && g.refreshCells({ columns: S, force: !0 });
31425
31412
  }
31426
31413
  }
31427
31414
  }
31428
- function PR(e, t, o, i, s) {
31415
+ function TR(e, t, o, i, s) {
31429
31416
  const n = t.childrenAfterAggFilter, r = t.childrenAfterSort;
31430
31417
  if (!r)
31431
31418
  return e.doFullSort(n, s);
@@ -31438,9 +31425,9 @@ function PR(e, t, o, i, s) {
31438
31425
  }) : a.add(p.id);
31439
31426
  }
31440
31427
  const u = r.filter((h) => a.has(h.id)).map((h, g) => ({ currentPos: g, rowNode: h }));
31441
- return l.sort((h, g) => e.compareRowNodes(s, h, g)), TR(e, s, l, u);
31428
+ return l.sort((h, g) => e.compareRowNodes(s, h, g)), IR(e, s, l, u);
31442
31429
  }
31443
- function TR(e, t, o, i) {
31430
+ function IR(e, t, o, i) {
31444
31431
  const s = [];
31445
31432
  let n = 0, r = 0;
31446
31433
  const a = o.length, l = i.length;
@@ -31455,7 +31442,7 @@ function TR(e, t, o, i) {
31455
31442
  s.push(i[r++].rowNode);
31456
31443
  return s;
31457
31444
  }
31458
- class IR extends E {
31445
+ class AR extends E {
31459
31446
  constructor() {
31460
31447
  super(...arguments);
31461
31448
  R(this, "beanName", "rowModel");
@@ -31706,7 +31693,7 @@ class IR extends E {
31706
31693
  this.refreshModel({ step: this.colModel.isPivotActive() ? "pivot" : "aggregate" });
31707
31694
  }
31708
31695
  createChangePath(o) {
31709
- const i = new bi(!1, this.rootNode);
31696
+ const i = new Si(!1, this.rootNode);
31710
31697
  return o || (i.active = !1), i;
31711
31698
  }
31712
31699
  isSuppressModelUpdateAfterUpdateTransaction(o) {
@@ -31922,7 +31909,7 @@ class IR extends E {
31922
31909
  }
31923
31910
  doFilter(o) {
31924
31911
  this.filterStage ? this.filterStage.execute({ rowNode: this.rootNode, changedPath: o }) : o.forEachChangedNodeDepthFirst((i) => {
31925
- i.childrenAfterFilter = i.childrenAfterGroup, xR(i);
31912
+ i.childrenAfterFilter = i.childrenAfterGroup, DR(i);
31926
31913
  }, !0);
31927
31914
  }
31928
31915
  doPivot(o) {
@@ -32057,11 +32044,11 @@ class IR extends E {
32057
32044
  this.onRowHeightChanged_debounced();
32058
32045
  }
32059
32046
  }
32060
- function AR(e) {
32047
+ function MR(e) {
32061
32048
  var t;
32062
32049
  (t = e.expansionSvc) == null || t.onGroupExpandedOrCollapsed();
32063
32050
  }
32064
- function MR(e, t) {
32051
+ function kR(e, t) {
32065
32052
  const o = Ae(e);
32066
32053
  o && ((!t || t === "everything") && (t = "group"), o.refreshModel({
32067
32054
  step: t,
@@ -32069,23 +32056,23 @@ function MR(e, t) {
32069
32056
  animate: !e.gos.get("suppressAnimationFrame")
32070
32057
  }));
32071
32058
  }
32072
- function kR(e) {
32059
+ function LR(e) {
32073
32060
  var t;
32074
32061
  return ((t = Ae(e)) == null ? void 0 : t.isEmpty()) ?? !0;
32075
32062
  }
32076
- function LR(e, t) {
32063
+ function GR(e, t) {
32077
32064
  var o;
32078
32065
  (o = Ae(e)) == null || o.forEachLeafNode(t);
32079
32066
  }
32080
- function GR(e, t) {
32067
+ function HR(e, t) {
32081
32068
  var o;
32082
32069
  (o = Ae(e)) == null || o.forEachNodeAfterFilter(t);
32083
32070
  }
32084
- function HR(e, t) {
32071
+ function OR(e, t) {
32085
32072
  var o;
32086
32073
  (o = Ae(e)) == null || o.forEachNodeAfterFilterAndSort(t);
32087
32074
  }
32088
- function OR(e) {
32075
+ function BR(e) {
32089
32076
  var t, o;
32090
32077
  if ((t = e.rowAutoHeight) != null && t.active) {
32091
32078
  A(3);
@@ -32093,7 +32080,7 @@ function OR(e) {
32093
32080
  }
32094
32081
  (o = Ae(e)) == null || o.resetRowHeights();
32095
32082
  }
32096
- function BR(e, t) {
32083
+ function VR(e, t) {
32097
32084
  return e.frameworkOverrides.wrapIncoming(
32098
32085
  () => {
32099
32086
  var o;
@@ -32101,7 +32088,7 @@ function BR(e, t) {
32101
32088
  }
32102
32089
  );
32103
32090
  }
32104
- function VR(e, t, o) {
32091
+ function NR(e, t, o) {
32105
32092
  e.frameworkOverrides.wrapIncoming(
32106
32093
  () => {
32107
32094
  var i;
@@ -32109,7 +32096,7 @@ function VR(e, t, o) {
32109
32096
  }
32110
32097
  );
32111
32098
  }
32112
- function NR(e) {
32099
+ function _R(e) {
32113
32100
  e.frameworkOverrides.wrapIncoming(
32114
32101
  () => {
32115
32102
  var t;
@@ -32117,33 +32104,33 @@ function NR(e) {
32117
32104
  }
32118
32105
  );
32119
32106
  }
32120
- function _R(e) {
32107
+ function WR(e) {
32121
32108
  var t;
32122
32109
  return (t = e.selectionSvc) == null ? void 0 : t.getBestCostNodeSelection();
32123
32110
  }
32124
- const WR = {
32111
+ const zR = {
32125
32112
  moduleName: "ClientSideRowModel",
32126
32113
  version: Gi,
32127
32114
  rowModels: ["clientSide"],
32128
- beans: [ER, IR, FR],
32115
+ beans: [xR, AR, PR],
32129
32116
  dependsOn: [$l]
32130
- }, zR = {
32117
+ }, $R = {
32131
32118
  moduleName: "ClientSideRowModelApi",
32132
32119
  version: Gi,
32133
32120
  apiFunctions: {
32134
- onGroupExpandedOrCollapsed: AR,
32135
- refreshClientSideRowModel: MR,
32136
- isRowDataEmpty: kR,
32137
- forEachLeafNode: LR,
32138
- forEachNodeAfterFilter: GR,
32139
- forEachNodeAfterFilterAndSort: HR,
32140
- resetRowHeights: OR,
32141
- applyTransaction: BR,
32142
- applyTransactionAsync: VR,
32143
- flushAsyncTransactions: NR,
32144
- getBestCostNodeSelection: _R
32121
+ onGroupExpandedOrCollapsed: MR,
32122
+ refreshClientSideRowModel: kR,
32123
+ isRowDataEmpty: LR,
32124
+ forEachLeafNode: GR,
32125
+ forEachNodeAfterFilter: HR,
32126
+ forEachNodeAfterFilterAndSort: OR,
32127
+ resetRowHeights: BR,
32128
+ applyTransaction: VR,
32129
+ applyTransactionAsync: NR,
32130
+ flushAsyncTransactions: _R,
32131
+ getBestCostNodeSelection: WR
32145
32132
  },
32146
- dependsOn: [Cb]
32133
+ dependsOn: [CS]
32147
32134
  };
32148
32135
  class yo {
32149
32136
  static getComponentDefinition(t, o) {
@@ -32214,14 +32201,14 @@ class yo {
32214
32201
  return n || Wt.options && Wt.options.components && Wt.options.components[o] && (n = Wt.options.components[o]), !n && !s ? ($(114, { component: o }), null) : n;
32215
32202
  }
32216
32203
  }
32217
- var $R = Object.defineProperty, UR = (e, t, o) => t in e ? $R(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, so = (e, t, o) => UR(e, typeof t != "symbol" ? t + "" : t, o);
32218
- class KR extends Qv {
32204
+ var UR = Object.defineProperty, KR = (e, t, o) => t in e ? UR(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, so = (e, t, o) => KR(e, typeof t != "symbol" ? t + "" : t, o);
32205
+ class jR extends Qv {
32219
32206
  constructor(t, o) {
32220
32207
  super(), so(this, "parent"), so(this, "provides"), this.parent = t, this.provides = o;
32221
32208
  }
32222
32209
  createWrapper(t) {
32223
32210
  const o = this;
32224
- class i extends jR {
32211
+ class i extends qR {
32225
32212
  init(r) {
32226
32213
  super.init(r);
32227
32214
  }
@@ -32263,7 +32250,7 @@ class KR extends Qv {
32263
32250
  this.parent = null;
32264
32251
  }
32265
32252
  }
32266
- class jR {
32253
+ class qR {
32267
32254
  constructor() {
32268
32255
  so(this, "componentInstance"), so(this, "element"), so(this, "unmount");
32269
32256
  }
@@ -32281,10 +32268,10 @@ class jR {
32281
32268
  this.componentInstance = o, this.unmount = s, this.element = i;
32282
32269
  }
32283
32270
  }
32284
- var qR = Object.defineProperty, YR = (e, t, o) => t in e ? qR(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, ZR = (e, t, o) => YR(e, t + "", o);
32285
- class QR extends wl {
32271
+ var YR = Object.defineProperty, ZR = (e, t, o) => t in e ? YR(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, QR = (e, t, o) => ZR(e, t + "", o);
32272
+ class XR extends wl {
32286
32273
  constructor(t) {
32287
- super("vue"), ZR(this, "parent"), this.parent = t;
32274
+ super("vue"), QR(this, "parent"), this.parent = t;
32288
32275
  }
32289
32276
  /*
32290
32277
  * vue components are specified in the "components" part of the vue component - as such we need a way to determine
@@ -32303,7 +32290,7 @@ class QR extends wl {
32303
32290
  return typeof t == "object";
32304
32291
  }
32305
32292
  }
32306
- function XR() {
32293
+ function JR() {
32307
32294
  return {
32308
32295
  // Vue 2 要求 Object/Array 类型默认值用 factory function
32309
32296
  gridOptions: () => ({}),
@@ -32740,7 +32727,7 @@ function XR() {
32740
32727
  // @END_EVENT_PROPS@
32741
32728
  };
32742
32729
  }
32743
- const JR = (e, t) => {
32730
+ const eE = (e, t) => {
32744
32731
  let o;
32745
32732
  return () => {
32746
32733
  const i = function() {
@@ -32749,12 +32736,12 @@ const JR = (e, t) => {
32749
32736
  window.clearTimeout(o), o = window.setTimeout(i, t);
32750
32737
  };
32751
32738
  };
32752
- function eE(e) {
32739
+ function tE(e) {
32753
32740
  return e && e.constructor && e.constructor.toString().substring(0, 5) === "class";
32754
32741
  }
32755
32742
  function qt(e) {
32756
32743
  const t = /* @__PURE__ */ new WeakSet(), o = (i) => {
32757
- if (eE(i))
32744
+ if (tE(i))
32758
32745
  return Xo(i);
32759
32746
  if (Ld(i) || Gd(i) || Hd(i)) {
32760
32747
  const s = Xo(i);
@@ -32768,7 +32755,7 @@ function qt(e) {
32768
32755
  };
32769
32756
  return o(e);
32770
32757
  }
32771
- const tE = /* @__PURE__ */ W({
32758
+ const oE = /* @__PURE__ */ W({
32772
32759
  __name: "AgGridVue",
32773
32760
  props: Vd({
32774
32761
  gridOptions: null,
@@ -33200,7 +33187,7 @@ const tE = /* @__PURE__ */ W({
33200
33187
  "onTooltip-show": null,
33201
33188
  "onTooltip-hide": null,
33202
33189
  "onSort-changed": null
33203
- }, XR()),
33190
+ }, JR()),
33204
33191
  emits: ["update:modelValue"],
33205
33192
  setup(e, { expose: t, emit: o }) {
33206
33193
  const i = e, s = V(), n = V(void 0), r = V(!1), a = V(!1), l = V(!1), d = V({}), c = V(null), u = Od(i);
@@ -33226,18 +33213,18 @@ const tE = /* @__PURE__ */ W({
33226
33213
  },
33227
33214
  { deep: !0 }
33228
33215
  );
33229
- const C = JR(() => {
33230
- f.value = !0, o("update:modelValue", b());
33216
+ const C = eE(() => {
33217
+ f.value = !0, o("update:modelValue", S());
33231
33218
  }, 10), m = Yt(), w = (D) => {
33232
33219
  var F;
33233
33220
  l.value && h.has(D) && (F = m == null ? void 0 : m.proxy) != null && F.$props["onUpdate:modelValue"] && C();
33234
- }, S = () => {
33221
+ }, b = () => {
33235
33222
  var D;
33236
33223
  (i.rowData || (D = i.gridOptions) != null && D.rowData) && g.value && A(232);
33237
33224
  }, v = () => {
33238
33225
  var D;
33239
33226
  return g.value || i.rowData || ((D = i.gridOptions) == null ? void 0 : D.rowData);
33240
- }, b = () => {
33227
+ }, S = () => {
33241
33228
  const D = [];
33242
33229
  return n == null || n.value.forEachLeafNode((F) => {
33243
33230
  D.push(F.data);
@@ -33258,10 +33245,10 @@ const tE = /* @__PURE__ */ W({
33258
33245
  }, L = () => Object.create(Yt().proxy._provided);
33259
33246
  return js(() => {
33260
33247
  Lt(sd, void 0, !0);
33261
- const D = new KR(Yt(), L()), F = {
33248
+ const D = new jR(Yt(), L()), F = {
33262
33249
  globalListener: x(),
33263
33250
  globalSyncListener: x(!0),
33264
- frameworkOverrides: new QR(Yt()),
33251
+ frameworkOverrides: new XR(Yt()),
33265
33252
  providedBeanInstances: {
33266
33253
  frameworkCompWrapper: D
33267
33254
  },
@@ -33280,7 +33267,7 @@ const tE = /* @__PURE__ */ W({
33280
33267
  r.value && ((D = n == null ? void 0 : n.value) == null || D.destroy(), a.value = !0);
33281
33268
  }), t({
33282
33269
  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: S, getRowDataBasedOnBindings: v, getRowData: b, globalEventListenerFactory: x, processChanges: T, getProvides: L };
33270
+ }), { __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
33271
  }
33285
33272
  });
33286
33273
  function se(e, t, o, i, s, n, r, a) {
@@ -33290,18 +33277,18 @@ function se(e, t, o, i, s, n, r, a) {
33290
33277
  options: l
33291
33278
  };
33292
33279
  }
33293
- var oE = function() {
33280
+ var iE = function() {
33294
33281
  var t = this, o = t._self._c;
33295
33282
  return t._self._setupProxy, o("div", { ref: "rootRef" });
33296
- }, iE = [], sE = /* @__PURE__ */ se(
33297
- tE,
33283
+ }, sE = [], nE = /* @__PURE__ */ se(
33298
33284
  oE,
33299
33285
  iE,
33286
+ sE,
33300
33287
  !1,
33301
33288
  null,
33302
33289
  "60566900"
33303
33290
  );
33304
- const fd = sE.exports, nE = (e) => {
33291
+ const fd = nE.exports, rE = (e) => {
33305
33292
  const t = Yt(), o = {
33306
33293
  id: e.id,
33307
33294
  rowIdMapper: e.rowIdMapper,
@@ -33325,7 +33312,7 @@ const fd = sE.exports, nE = (e) => {
33325
33312
  },
33326
33313
  currentInstance: t == null ? void 0 : t.proxy
33327
33314
  };
33328
- return eR(o);
33315
+ return tR(o);
33329
33316
  }, Cd = {
33330
33317
  functional: !0,
33331
33318
  name: "VNodeRender",
@@ -33335,7 +33322,7 @@ const fd = sE.exports, nE = (e) => {
33335
33322
  const i = t.props.params;
33336
33323
  return i.render ? i.render(i) : e("span", (o = i.valueFormatted) != null ? o : i.value);
33337
33324
  }
33338
- }, rE = {
33325
+ }, aE = {
33339
33326
  functional: !0,
33340
33327
  props: {
33341
33328
  params: {
@@ -33347,10 +33334,10 @@ const fd = sE.exports, nE = (e) => {
33347
33334
  const o = e("", {});
33348
33335
  return o.text = `${t.props.params.column.getColId()} holder`, o;
33349
33336
  }
33350
- }, aE = W({
33337
+ }, lE = W({
33351
33338
  name: "CellRenderer"
33352
- }), lE = /* @__PURE__ */ W({
33353
- ...aE,
33339
+ }), dE = /* @__PURE__ */ W({
33340
+ ...lE,
33354
33341
  props: {
33355
33342
  params: null
33356
33343
  },
@@ -33382,40 +33369,40 @@ const fd = sE.exports, nE = (e) => {
33382
33369
  }
33383
33370
  return !1;
33384
33371
  }), s = de(() => t.params.data.isTransient()), n = de(() => t.params.data.getRowSpan(t.params.column));
33385
- return { __sfc: !0, props: t, eventParams: o, isChange: i, isDraft: s, rowSpan: n, VNodeRenderer: Cd, CellHolder: rE };
33372
+ return { __sfc: !0, props: t, eventParams: o, isChange: i, isDraft: s, rowSpan: n, VNodeRenderer: Cd, CellHolder: aE };
33386
33373
  }
33387
33374
  });
33388
- var dE = function() {
33375
+ var cE = function() {
33389
33376
  var t = this, o = t._self._c, i = t._self._setupProxy;
33390
33377
  return i.rowSpan > 0 ? o("div", { staticClass: "custom-cell" }, [i.isChange ? o("span", { staticClass: "value-change" }) : t._e(), i.isDraft ? o("span", { staticClass: "value-change transient" }) : t._e(), o(i.VNodeRenderer, { attrs: { params: i.eventParams } })], 1) : o(i.CellHolder, { attrs: { params: i.eventParams } });
33391
- }, cE = [], uE = /* @__PURE__ */ se(
33392
- lE,
33378
+ }, uE = [], hE = /* @__PURE__ */ se(
33393
33379
  dE,
33394
33380
  cE,
33381
+ uE,
33395
33382
  !1,
33396
33383
  null,
33397
33384
  null
33398
33385
  );
33399
- const hE = uE.exports, gE = W({
33386
+ const gE = hE.exports, pE = W({
33400
33387
  name: "GridToolbar"
33401
- }), pE = /* @__PURE__ */ W({
33402
- ...gE,
33388
+ }), fE = /* @__PURE__ */ W({
33389
+ ...pE,
33403
33390
  setup(e) {
33404
33391
  return { __sfc: !0 };
33405
33392
  }
33406
33393
  });
33407
- var fE = function() {
33394
+ var CE = function() {
33408
33395
  var t = this, o = t._self._c;
33409
33396
  return t._self._setupProxy, o("div", { staticClass: "grid-toolbar" }, [o("div", { staticClass: "grid-toolbar-left" }, [t._t("default")], 2), o("div", { staticClass: "grid-toolbar-right" }, [t._t("system")], 2)]);
33410
- }, CE = [], mE = /* @__PURE__ */ se(
33411
- pE,
33397
+ }, mE = [], wE = /* @__PURE__ */ se(
33412
33398
  fE,
33413
33399
  CE,
33400
+ mE,
33414
33401
  !1,
33415
33402
  null,
33416
33403
  "f12c2536"
33417
33404
  );
33418
- const md = mE.exports, wE = /* @__PURE__ */ W({
33405
+ const md = wE.exports, vE = /* @__PURE__ */ W({
33419
33406
  __name: "FooterCellRender",
33420
33407
  props: {
33421
33408
  params: null
@@ -33424,18 +33411,18 @@ const md = mE.exports, wE = /* @__PURE__ */ W({
33424
33411
  return { __sfc: !0, props: e, VNodeRenderer: Cd };
33425
33412
  }
33426
33413
  });
33427
- var vE = function() {
33414
+ var bE = function() {
33428
33415
  var t = this, o = t._self._c, i = t._self._setupProxy;
33429
33416
  return o("div", { staticClass: "custom-cell" }, [o(i.VNodeRenderer, { attrs: { params: t.params } })], 1);
33430
- }, SE = [], bE = /* @__PURE__ */ se(
33431
- wE,
33417
+ }, SE = [], yE = /* @__PURE__ */ se(
33432
33418
  vE,
33419
+ bE,
33433
33420
  SE,
33434
33421
  !1,
33435
33422
  null,
33436
33423
  "4998e205"
33437
33424
  );
33438
- const yE = bE.exports, RE = W({
33425
+ const RE = yE.exports, EE = W({
33439
33426
  name: "SearchItem",
33440
33427
  props: {
33441
33428
  search: {
@@ -33449,19 +33436,19 @@ const yE = bE.exports, RE = W({
33449
33436
  setup(e) {
33450
33437
  return () => e.search.render(e.search);
33451
33438
  }
33452
- }), EE = null, xE = null;
33453
- var DE = /* @__PURE__ */ se(
33454
- RE,
33439
+ }), xE = null, DE = null;
33440
+ var FE = /* @__PURE__ */ se(
33455
33441
  EE,
33456
33442
  xE,
33443
+ DE,
33457
33444
  !1,
33458
33445
  null,
33459
33446
  "e1931525"
33460
33447
  );
33461
- const xn = DE.exports, FE = W({
33448
+ const xn = FE.exports, PE = W({
33462
33449
  name: "ClSearch"
33463
- }), PE = /* @__PURE__ */ W({
33464
- ...FE,
33450
+ }), TE = /* @__PURE__ */ W({
33451
+ ...PE,
33465
33452
  props: {
33466
33453
  search: null,
33467
33454
  teleported: { type: Boolean },
@@ -33512,20 +33499,20 @@ const xn = DE.exports, FE = W({
33512
33499
  }), { __sfc: !0, searchForm: o, props: t, loading: i, reset: s, persistenceKey: n, doPersistence: r, restore: a, doSearch: l, handleReset: d, SearchItem: xn };
33513
33500
  }
33514
33501
  });
33515
- var TE = function() {
33502
+ var IE = function() {
33516
33503
  var t = this, o = t._self._c, i = t._self._setupProxy;
33517
33504
  return o("el-form", { ref: "searchForm" }, [o("div", { staticClass: "search-container" }, [t._l(t.search, function(s) {
33518
33505
  return o("el-form-item", { key: s.field }, [o(i.SearchItem, { attrs: { search: s } })], 1);
33519
33506
  }), o("el-form-item", [o("el-button", { staticStyle: { width: "80px" }, attrs: { disabled: !t.enable || i.loading, type: "primary" }, on: { click: i.doSearch } }, [t._v(" " + t._s(t.confirmButtonText) + " ")]), o("el-button", { staticStyle: { width: "80px" }, attrs: { disabled: i.loading }, on: { click: i.handleReset } }, [t._v(t._s(t.resetButtonText))])], 1), t._t("default")], 2)]);
33520
- }, IE = [], AE = /* @__PURE__ */ se(
33521
- PE,
33507
+ }, AE = [], ME = /* @__PURE__ */ se(
33522
33508
  TE,
33523
33509
  IE,
33510
+ AE,
33524
33511
  !1,
33525
33512
  null,
33526
33513
  "962588ec"
33527
33514
  );
33528
- const K0 = AE.exports, wd = (e, t, o) => {
33515
+ const j0 = ME.exports, wd = (e, t, o) => {
33529
33516
  const i = V(), s = V(!1), n = de(() => {
33530
33517
  if (Array.isArray(o)) {
33531
33518
  const h = o.map((g) => {
@@ -33560,10 +33547,10 @@ const K0 = AE.exports, wd = (e, t, o) => {
33560
33547
  }) : o.value = tt(o == null ? void 0 : o.initValue);
33561
33548
  }
33562
33549
  };
33563
- }, ME = W({
33550
+ }, kE = W({
33564
33551
  name: "ClPopoverSearch"
33565
- }), kE = /* @__PURE__ */ W({
33566
- ...ME,
33552
+ }), LE = /* @__PURE__ */ W({
33553
+ ...kE,
33567
33554
  props: {
33568
33555
  search: null,
33569
33556
  teleported: { type: Boolean },
@@ -33585,7 +33572,7 @@ const K0 = AE.exports, wd = (e, t, o) => {
33585
33572
  return { __sfc: !0, props: t, search: o, visible: i, loading: s, width: n, loadingClass: r, hasConditionColor: a, doSearch: l, reset: d, popoverWidth: c, SearchItem: xn };
33586
33573
  }
33587
33574
  });
33588
- var LE = function() {
33575
+ var GE = function() {
33589
33576
  var t = this, o = t._self._c, i = t._self._setupProxy;
33590
33577
  return i.search ? o("el-popover", { attrs: { width: i.popoverWidth, trigger: "click" }, scopedSlots: t._u([{ key: "reference", fn: function() {
33591
33578
  return [o("div", [t._t("default", function() {
@@ -33598,18 +33585,18 @@ var LE = function() {
33598
33585
  } } }, [o("el-form", { on: { submit: function(s) {
33599
33586
  s.preventDefault(), s.stopPropagation();
33600
33587
  } } }, [o("el-form-item", [o(i.SearchItem, t._b({ attrs: { search: i.search, teleported: !1 } }, "SearchItem", { style: "width: 100%" }, !1))], 1)], 1), o("el-space", { staticStyle: { width: "100%", "justify-content": "end" }, attrs: { size: "small" } }, [o("el-button", { attrs: { size: "small" }, on: { click: i.reset } }, [t._v(" 重置 ")]), o("el-button", { attrs: { loading: i.loading, size: "small", type: "primary" }, on: { click: i.doSearch } }, [t._v("搜索")])], 1)], 1)]) : t._e();
33601
- }, GE = [], HE = /* @__PURE__ */ se(
33602
- kE,
33588
+ }, HE = [], OE = /* @__PURE__ */ se(
33603
33589
  LE,
33604
33590
  GE,
33591
+ HE,
33605
33592
  !1,
33606
33593
  null,
33607
33594
  null
33608
33595
  );
33609
- const j0 = HE.exports, OE = W({
33596
+ const q0 = OE.exports, BE = W({
33610
33597
  name: "ClDrawerSearch"
33611
- }), BE = /* @__PURE__ */ W({
33612
- ...OE,
33598
+ }), VE = /* @__PURE__ */ W({
33599
+ ...BE,
33613
33600
  props: {
33614
33601
  search: null,
33615
33602
  teleported: { type: Boolean },
@@ -33627,7 +33614,7 @@ const j0 = HE.exports, OE = W({
33627
33614
  }), { __sfc: !0, props: t, visible: o, loading: i, loadingClass: s, hasConditionColor: n, doSearch: r, reset: a, SearchItem: xn };
33628
33615
  }
33629
33616
  });
33630
- var VE = function() {
33617
+ var NE = function() {
33631
33618
  var t = this, o = t._self._c, i = t._self._setupProxy;
33632
33619
  return o("div", [o("div", { on: { click: function(s) {
33633
33620
  i.visible = !0;
@@ -33640,19 +33627,19 @@ var VE = function() {
33640
33627
  }, expression: "visible" } }, [o("el-form", { staticStyle: { height: "calc(100% - 100px)" }, attrs: { "label-position": "right", "label-suffix": ":", "label-width": "auto" } }, [o("el-scrollbar", t._l(t.search, function(s) {
33641
33628
  return o("el-form-item", { key: s.field, attrs: { label: s.label } }, [o(i.SearchItem, t._b({ attrs: { search: s, teleported: "" } }, "SearchItem", { style: "width: 100%" }, !1))], 1);
33642
33629
  }), 1)], 1), o("el-divider"), o("el-space", { staticStyle: { width: "100%", "justify-content": "end" }, attrs: { size: "small" } }, [o("el-button", { on: { click: i.reset } }, [t._v(" 重置 ")]), o("el-button", { attrs: { loading: i.loading, type: "primary" }, on: { click: i.doSearch } }, [t._v("搜索")])], 1)], 1)], 1);
33643
- }, NE = [], _E = /* @__PURE__ */ se(
33644
- BE,
33630
+ }, _E = [], WE = /* @__PURE__ */ se(
33645
33631
  VE,
33646
33632
  NE,
33633
+ _E,
33647
33634
  !1,
33648
33635
  null,
33649
33636
  null
33650
33637
  );
33651
- const WE = _E.exports;
33652
- var zE = Object.defineProperty, $E = (e, t, o) => t in e ? zE(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, UE = (e, t, o) => $E(e, t + "", o);
33638
+ const zE = WE.exports;
33639
+ var $E = Object.defineProperty, UE = (e, t, o) => t in e ? $E(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, KE = (e, t, o) => UE(e, t + "", o);
33653
33640
  class vd {
33654
33641
  constructor(t) {
33655
- UE(this, "record"), this.record = t;
33642
+ KE(this, "record"), this.record = t;
33656
33643
  }
33657
33644
  static from(t) {
33658
33645
  const o = t.filter((i) => {
@@ -33675,33 +33662,33 @@ class vd {
33675
33662
  return { ...this.record, ...t ?? {} };
33676
33663
  }
33677
33664
  }
33678
- const KE = W({
33665
+ const jE = W({
33679
33666
  name: "SearchButton"
33680
- }), jE = /* @__PURE__ */ W({
33681
- ...KE,
33667
+ }), qE = /* @__PURE__ */ W({
33668
+ ...jE,
33682
33669
  props: {
33683
33670
  searches: null
33684
33671
  },
33685
33672
  setup(e) {
33686
33673
  const t = e, o = Ro(Nt);
33687
- return { __sfc: !0, props: t, context: o, ClDrawerSearch: WE };
33674
+ return { __sfc: !0, props: t, context: o, ClDrawerSearch: zE };
33688
33675
  }
33689
33676
  });
33690
- var qE = function() {
33677
+ var YE = function() {
33691
33678
  var t = this, o = t._self._c, i = t._self._setupProxy;
33692
33679
  return o(i.ClDrawerSearch, { attrs: { search: t.searches, "search-remote": i.context.refresh } });
33693
- }, YE = [], ZE = /* @__PURE__ */ se(
33694
- jE,
33680
+ }, ZE = [], QE = /* @__PURE__ */ se(
33695
33681
  qE,
33696
33682
  YE,
33683
+ ZE,
33697
33684
  !1,
33698
33685
  null,
33699
33686
  "45be5dfc"
33700
33687
  );
33701
- const Sd = ZE.exports, QE = W({
33688
+ const bd = QE.exports, XE = W({
33702
33689
  name: "RefreshButton"
33703
- }), XE = /* @__PURE__ */ W({
33704
- ...QE,
33690
+ }), JE = /* @__PURE__ */ W({
33691
+ ...XE,
33705
33692
  setup(e) {
33706
33693
  const t = V(!1), { refresh: o } = Ro(Nt);
33707
33694
  return { __sfc: !0, loading: t, refresh: o, handlerRefreshClick: async () => {
@@ -33718,25 +33705,25 @@ const Sd = ZE.exports, QE = W({
33718
33705
  } };
33719
33706
  }
33720
33707
  });
33721
- var JE = function() {
33708
+ var e0 = function() {
33722
33709
  var t = this, o = t._self._c, i = t._self._setupProxy;
33723
33710
  return o("el-button", { attrs: { disabled: i.loading, circle: "" }, on: { click: i.handlerRefreshClick } }, [o("i", { class: ["el-icon-refresh", i.loading ? "is-loading" : ""] })]);
33724
- }, e0 = [], t0 = /* @__PURE__ */ se(
33725
- XE,
33711
+ }, t0 = [], o0 = /* @__PURE__ */ se(
33726
33712
  JE,
33727
33713
  e0,
33714
+ t0,
33728
33715
  !1,
33729
33716
  null,
33730
33717
  "0eaeb325"
33731
33718
  );
33732
- const bd = t0.exports;
33719
+ const Sd = o0.exports;
33733
33720
  function yd(e, t) {
33734
33721
  const o = t(e);
33735
- return o0(e) && (o.children = e.children.map((i) => yd(i, t))), o;
33722
+ return i0(e) && (o.children = e.children.map((i) => yd(i, t))), o;
33736
33723
  }
33737
- const o0 = (e) => !!e.children, i0 = () => {
33724
+ const i0 = (e) => !!e.children, s0 = () => {
33738
33725
  const e = Ro(Nt), t = V(), o = V([]), i = V([]), s = V(), n = (C) => {
33739
- const m = e.api.value.getAllDisplayedColumns(), w = m.find((S) => S.getColId() === C);
33726
+ const m = e.api.value.getAllDisplayedColumns(), w = m.find((b) => b.getColId() === C);
33740
33727
  return w ? m.indexOf(w) : -1;
33741
33728
  }, r = (C) => {
33742
33729
  if (C.field)
@@ -33747,12 +33734,12 @@ const o0 = (e) => !!e.children, i0 = () => {
33747
33734
  }, a = () => {
33748
33735
  var C, m;
33749
33736
  o.value = (m = (C = e.api.value.getColumnDefs()) == null ? void 0 : C.map(
33750
- (w) => yd(w, (S) => {
33751
- var v, b;
33737
+ (w) => yd(w, (b) => {
33738
+ var v, S;
33752
33739
  return {
33753
- id: r(S),
33754
- label: S.headerName,
33755
- pined: (b = (v = e.api.value.getColumnGroup(r(S))) == null ? void 0 : v.getPinned()) != null ? b : S.pinned
33740
+ id: r(b),
33741
+ label: b.headerName,
33742
+ pined: (S = (v = e.api.value.getColumnGroup(r(b))) == null ? void 0 : v.getPinned()) != null ? S : b.pinned
33756
33743
  };
33757
33744
  })
33758
33745
  )) != null ? m : [], i.value = e.api.value.getAllDisplayedColumns().map((w) => w.getColId());
@@ -33764,8 +33751,8 @@ const o0 = (e) => !!e.children, i0 = () => {
33764
33751
  const m = C.getChildren();
33765
33752
  return m ? [...m.flatMap((w) => c(w))] : [];
33766
33753
  }, u = (C, m, w) => {
33767
- const S = n(m[0].colId), v = n(w.colId);
33768
- return C === "after" ? v - m.length + 1 : v > S ? v - m.length : v;
33754
+ const b = n(m[0].colId), v = n(w.colId);
33755
+ return C === "after" ? v - m.length + 1 : v > b ? v - m.length : v;
33769
33756
  };
33770
33757
  return {
33771
33758
  treeData: o,
@@ -33776,11 +33763,11 @@ const o0 = (e) => !!e.children, i0 = () => {
33776
33763
  onColumnDragStart: d,
33777
33764
  onColumnDragFinish: (C, m, w) => {
33778
33765
  if (m && C && C.key !== m.key) {
33779
- const S = e.api.value.getColumnGroup(
33766
+ const b = e.api.value.getColumnGroup(
33780
33767
  C.key
33781
- ), v = e.api.value.getColumn(C.key), b = e.api.value.getColumn(m.key), x = c(S ?? v);
33782
- if (b) {
33783
- const T = u(w, x, b);
33768
+ ), v = e.api.value.getColumn(C.key), S = e.api.value.getColumn(m.key), x = c(b ?? v);
33769
+ if (S) {
33770
+ const T = u(w, x, S);
33784
33771
  e.api.value.moveColumns(x, T);
33785
33772
  }
33786
33773
  }
@@ -33791,17 +33778,17 @@ const o0 = (e) => !!e.children, i0 = () => {
33791
33778
  },
33792
33779
  onColumnPinedChange: (C, m) => {
33793
33780
  var w;
33794
- const S = e.api.value.getColumnGroup(C), v = S ? S.getDisplayedLeafColumns().map((x) => x.getColId()) : [C], b = S ? S.getPinned() : (w = e.api.value.getColumn(C)) == null ? void 0 : w.getPinned();
33795
- e.api.value.setColumnsPinned(v, b === m ? null : m), a();
33781
+ 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();
33782
+ e.api.value.setColumnsPinned(v, S === m ? null : m), a();
33796
33783
  },
33797
33784
  columnAutoResize: () => {
33798
33785
  e.api.value.sizeColumnsToFit();
33799
33786
  }
33800
33787
  };
33801
- }, s0 = W({
33788
+ }, n0 = W({
33802
33789
  name: "SettingButton"
33803
- }), n0 = /* @__PURE__ */ W({
33804
- ...s0,
33790
+ }), r0 = /* @__PURE__ */ W({
33791
+ ...n0,
33805
33792
  setup(e) {
33806
33793
  const {
33807
33794
  treeRef: t,
@@ -33814,13 +33801,13 @@ const o0 = (e) => !!e.children, i0 = () => {
33814
33801
  onColumnVisibleChange: l,
33815
33802
  onColumnPinedChange: d,
33816
33803
  columnAutoResize: c
33817
- } = i0(), u = V(!1), h = Ro(Nt);
33804
+ } = s0(), u = V(!1), h = Ro(Nt);
33818
33805
  return { __sfc: !0, treeRef: t, treeData: o, defaultCheckedKeys: i, refreshTreeData: s, checkColumnAllowDrop: n, onColumnDragStart: r, onColumnDragFinish: a, onColumnVisibleChange: l, onColumnPinedChange: d, columnAutoResize: c, visible: u, gridContext: h, handleResetGridState: () => {
33819
33806
  h.resetGridState(), s();
33820
33807
  } };
33821
33808
  }
33822
33809
  });
33823
- var r0 = function() {
33810
+ var a0 = function() {
33824
33811
  var t = this, o = t._self._c, i = t._self._setupProxy;
33825
33812
  return o("div", [o("el-button", { attrs: { circle: "" }, on: { click: function(s) {
33826
33813
  i.visible = !0;
@@ -33835,15 +33822,15 @@ var r0 = function() {
33835
33822
  return n.stopPropagation(), (() => i.onColumnPinedChange(s.key, "right")).apply(null, arguments);
33836
33823
  } } })])])];
33837
33824
  } }], null, !1, 2278526884) }) : t._e()], 1)], 1);
33838
- }, a0 = [], l0 = /* @__PURE__ */ se(
33839
- n0,
33825
+ }, l0 = [], d0 = /* @__PURE__ */ se(
33840
33826
  r0,
33841
33827
  a0,
33828
+ l0,
33842
33829
  !1,
33843
33830
  null,
33844
33831
  "522bf761"
33845
33832
  );
33846
- const Rd = l0.exports, d0 = {
33833
+ const Rd = d0.exports, c0 = {
33847
33834
  functional: !0,
33848
33835
  name: "HeaderVNodeRender",
33849
33836
  props: ["params"],
@@ -33851,10 +33838,10 @@ const Rd = l0.exports, d0 = {
33851
33838
  const o = t.props.params;
33852
33839
  return o.headerRender ? o.headerRender(o) : e("span", o.displayName);
33853
33840
  }
33854
- }, c0 = W({
33841
+ }, u0 = W({
33855
33842
  name: "HeaderRenderer"
33856
- }), u0 = /* @__PURE__ */ W({
33857
- ...c0,
33843
+ }), h0 = /* @__PURE__ */ W({
33844
+ ...u0,
33858
33845
  props: {
33859
33846
  params: null
33860
33847
  },
@@ -33871,60 +33858,60 @@ const Rd = l0.exports, d0 = {
33871
33858
  t.params.api.addEventListener("sortChanged", n), n();
33872
33859
  }), Or(() => {
33873
33860
  t.params.api.removeEventListener("sortChanged", n);
33874
- }), { __sfc: !0, props: t, sorted: o, sortIndex: i, context: s, handleSortChange: n, handleSortClick: r, HeaderVNodeRender: d0 };
33861
+ }), { __sfc: !0, props: t, sorted: o, sortIndex: i, context: s, handleSortChange: n, handleSortClick: r, HeaderVNodeRender: c0 };
33875
33862
  }
33876
33863
  });
33877
- var h0 = function() {
33864
+ var g0 = function() {
33878
33865
  var t = this, o = t._self._c, i = t._self._setupProxy;
33879
33866
  return o("div", [t.params.headerRender ? o(i.HeaderVNodeRender, { attrs: { params: t.params } }) : o("span", [t._v(t._s(t.params.displayName))]), t.params.enableSorting ? [i.sortIndex >= 0 ? o("span", { staticStyle: { "line-height": "12px" } }, [t._v(" " + t._s(i.sortIndex + 1))]) : t._e(), i.sorted === "asc" ? o("i", { staticClass: "el-icon-sort-up", staticStyle: { cursor: "pointer" }, attrs: { color: "var(--el-color-primary)" }, on: { click: (s) => i.handleSortClick(null, s) } }) : i.sorted === "desc" ? o("i", { staticClass: "el-icon-sort-down", staticStyle: { cursor: "pointer" }, attrs: { color: "var(--el-color-danger, #F56C6C)" }, on: { click: (s) => i.handleSortClick("asc", s) } }) : o("i", { staticClass: "el-icon-sort", staticStyle: { cursor: "pointer" }, on: { click: (s) => i.handleSortClick("desc", s) } })] : t._e()], 2);
33880
- }, g0 = [], p0 = /* @__PURE__ */ se(
33881
- u0,
33867
+ }, p0 = [], f0 = /* @__PURE__ */ se(
33882
33868
  h0,
33883
33869
  g0,
33870
+ p0,
33884
33871
  !1,
33885
33872
  null,
33886
33873
  "126699e0"
33887
33874
  );
33888
- const f0 = p0.exports, C0 = W({
33875
+ const C0 = f0.exports, m0 = W({
33889
33876
  name: "GridEmptyDataOverlay"
33890
- }), m0 = /* @__PURE__ */ W({
33891
- ...C0,
33877
+ }), w0 = /* @__PURE__ */ W({
33878
+ ...m0,
33892
33879
  setup(e) {
33893
33880
  return { __sfc: !0 };
33894
33881
  }
33895
33882
  });
33896
- var w0 = function() {
33883
+ var v0 = function() {
33897
33884
  var t = this, o = t._self._c;
33898
33885
  return t._self._setupProxy, o("el-empty", { attrs: { description: "没有数据了", "image-size": 75 } });
33899
- }, v0 = [], S0 = /* @__PURE__ */ se(
33900
- m0,
33886
+ }, b0 = [], S0 = /* @__PURE__ */ se(
33901
33887
  w0,
33902
33888
  v0,
33889
+ b0,
33903
33890
  !1,
33904
33891
  null,
33905
33892
  "05fc87c0"
33906
33893
  );
33907
- const b0 = S0.exports, y0 = W({
33894
+ const y0 = S0.exports, R0 = W({
33908
33895
  name: "GridLoadingOverlay"
33909
- }), R0 = /* @__PURE__ */ W({
33910
- ...y0,
33896
+ }), E0 = /* @__PURE__ */ W({
33897
+ ...R0,
33911
33898
  setup(e) {
33912
33899
  return { __sfc: !0 };
33913
33900
  }
33914
33901
  });
33915
- var E0 = function() {
33902
+ var x0 = function() {
33916
33903
  var t = this, o = t._self._c;
33917
33904
  return t._self._setupProxy, o("div", { directives: [{ name: "loading", rawName: "v-loading", value: !0, expression: "true" }], staticClass: "table-loading", staticStyle: { height: "100%", width: "100%" }, attrs: { "element-loading-text": "加载中", "element-loading-background": "rgba(0, 0, 0, 0.1)" } });
33918
- }, x0 = [], D0 = /* @__PURE__ */ se(
33919
- R0,
33905
+ }, D0 = [], F0 = /* @__PURE__ */ se(
33920
33906
  E0,
33921
33907
  x0,
33908
+ D0,
33922
33909
  !1,
33923
33910
  null,
33924
33911
  "c60c1386"
33925
33912
  );
33926
- const F0 = D0.exports, P0 = (e, t, o) => {
33927
- const i = tR(
33913
+ const P0 = F0.exports, T0 = (e, t, o) => {
33914
+ const i = oR(
33928
33915
  {
33929
33916
  columns: e.columns,
33930
33917
  gridOptions: e.gridOptions,
@@ -33937,25 +33924,25 @@ const F0 = D0.exports, P0 = (e, t, o) => {
33937
33924
  ...i,
33938
33925
  footerGridOptions: i.footerGridOptions
33939
33926
  };
33940
- }, T0 = () => ({
33927
+ }, I0 = () => ({
33941
33928
  theme: V("ag-theme-alpine")
33942
- }), I0 = W({
33929
+ }), A0 = W({
33943
33930
  // eslint-disable-next-line vue/multi-word-component-names
33944
33931
  name: "Grid",
33945
33932
  components: {
33946
- SearchButton: Sd,
33947
- RefreshButton: bd,
33933
+ SearchButton: bd,
33934
+ RefreshButton: Sd,
33948
33935
  SettingButton: Rd,
33949
- CellRenderer: hE,
33950
- GridEmptyDataOverlay: b0,
33951
- HeaderRenderer: f0,
33952
- GridLoadingOverlay: F0,
33936
+ CellRenderer: gE,
33937
+ GridEmptyDataOverlay: y0,
33938
+ HeaderRenderer: C0,
33939
+ GridLoadingOverlay: P0,
33953
33940
  AgGridVue: fd,
33954
33941
  GridToolbar: md,
33955
- FooterCellRender: yE
33942
+ FooterCellRender: RE
33956
33943
  }
33957
- }), A0 = /* @__PURE__ */ W({
33958
- ...I0,
33944
+ }), M0 = /* @__PURE__ */ W({
33945
+ ...A0,
33959
33946
  props: {
33960
33947
  id: null,
33961
33948
  rowIdMapper: {
@@ -33986,7 +33973,7 @@ const F0 = D0.exports, P0 = (e, t, o) => {
33986
33973
  }) {
33987
33974
  const o = e, i = V(), s = V(), {
33988
33975
  theme: n
33989
- } = T0(), {
33976
+ } = I0(), {
33990
33977
  gridOptions: r,
33991
33978
  dataCache: a,
33992
33979
  gridStyles: l,
@@ -33998,11 +33985,11 @@ const F0 = D0.exports, P0 = (e, t, o) => {
33998
33985
  getRows: p,
33999
33986
  refresh: f,
34000
33987
  resetGridState: C
34001
- } = nE(o), {
33988
+ } = rE(o), {
34002
33989
  footerGridOptions: m,
34003
33990
  setFooterData: w,
34004
- footerStyles: S
34005
- } = P0(o, s, l);
33991
+ footerStyles: b
33992
+ } = T0(o, s, l);
34006
33993
  return _d(Nt, {
34007
33994
  refresh: f,
34008
33995
  resetGridState: C,
@@ -34019,22 +34006,22 @@ const F0 = D0.exports, P0 = (e, t, o) => {
34019
34006
  reload: u,
34020
34007
  refresh: f,
34021
34008
  getRows: p,
34022
- createRow(v, b = !1) {
34009
+ createRow(v, S = !1) {
34023
34010
  const x = a.value.createRow(v);
34024
- return b ? new Rn(x, o.rowIdMapper, !0) : x;
34011
+ return S ? new Rn(x, o.rowIdMapper, !0) : x;
34025
34012
  },
34026
34013
  existRow: g,
34027
34014
  insertRows: h,
34028
34015
  startEditing: () => {
34029
- const v = a.value.getRows().filter((b) => !b.isEditing());
34030
- Qo(v) || (v.forEach((b) => b.startEditing()), u(), d.value.redrawRows());
34016
+ const v = a.value.getRows().filter((S) => !S.isEditing());
34017
+ Qo(v) || (v.forEach((S) => S.startEditing()), u(), d.value.redrawRows());
34031
34018
  },
34032
34019
  stopEditing: () => {
34033
- const v = a.value.getRows().filter((b) => b.isEditing());
34034
- Qo(v) || (v.forEach((b) => b.stopEditing()), u(), d.value.redrawRows());
34020
+ const v = a.value.getRows().filter((S) => S.isEditing());
34021
+ Qo(v) || (v.forEach((S) => S.stopEditing()), u(), d.value.redrawRows());
34035
34022
  },
34036
- deselectAll: (v, b) => {
34037
- d.value.deselectAll(v, b);
34023
+ deselectAll: (v, S) => {
34024
+ d.value.deselectAll(v, S);
34038
34025
  }
34039
34026
  }), {
34040
34027
  __sfc: !0,
@@ -34055,16 +34042,16 @@ const F0 = D0.exports, P0 = (e, t, o) => {
34055
34042
  resetGridState: C,
34056
34043
  footerGridOptions: m,
34057
34044
  setFooterData: w,
34058
- footerStyles: S,
34045
+ footerStyles: b,
34059
34046
  AgGridVue: fd,
34060
34047
  GridToolbar: md,
34061
- SearchButton: Sd,
34062
- RefreshButton: bd,
34048
+ SearchButton: bd,
34049
+ RefreshButton: Sd,
34063
34050
  SettingButton: Rd
34064
34051
  };
34065
34052
  }
34066
34053
  });
34067
- var M0 = function() {
34054
+ var k0 = function() {
34068
34055
  var t = this, o = t._self._c, i = t._self._setupProxy;
34069
34056
  return o("div", { ref: "gridElRef", staticClass: "cl-grid" }, [o(i.GridToolbar, { scopedSlots: t._u([{ key: "system", fn: function() {
34070
34057
  return [t.searches && t.tools.includes("search") ? o(i.SearchButton, { attrs: { searches: t.searches } }) : t._e(), t.tools.includes("refresh") ? o(i.RefreshButton) : t._e(), t.tools.includes("setting") ? o(i.SettingButton) : t._e()];
@@ -34073,18 +34060,18 @@ var M0 = function() {
34073
34060
  suppressHorizontalScroll: !!t.footerHeight,
34074
34061
  alignedGrids: () => [i.bottomRef].filter((s) => s)
34075
34062
  } } }), t.footerHeight ? o(i.AgGridVue, { ref: "bottomRef", staticClass: "cl-scrollbar footer-grid", class: [i.theme], style: i.footerStyles, attrs: { "grid-options": i.footerGridOptions } }) : t._e()], 1)], 1);
34076
- }, k0 = [], L0 = /* @__PURE__ */ se(
34077
- A0,
34063
+ }, L0 = [], G0 = /* @__PURE__ */ se(
34078
34064
  M0,
34079
34065
  k0,
34066
+ L0,
34080
34067
  !1,
34081
34068
  null,
34082
34069
  null
34083
34070
  );
34084
- const q0 = L0.exports;
34085
- var G0 = Object.defineProperty, H0 = (e, t, o) => t in e ? G0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, no = (e, t, o) => H0(e, typeof t != "symbol" ? t + "" : t, o);
34086
- const Y0 = (e) => new O0(e);
34087
- class O0 {
34071
+ const Y0 = G0.exports;
34072
+ var H0 = Object.defineProperty, O0 = (e, t, o) => t in e ? H0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, no = (e, t, o) => O0(e, typeof t != "symbol" ? t + "" : t, o);
34073
+ const Z0 = (e) => new B0(e);
34074
+ class B0 {
34088
34075
  constructor(t) {
34089
34076
  no(this, "colDef"), no(this, "agGridCellRenderParams"), this.colDef = t, this.agGridCellRenderParams = {};
34090
34077
  }
@@ -34104,8 +34091,8 @@ class O0 {
34104
34091
  return this.agGridCellRenderParams.headerRender && (this.colDef.headerComponentParams = this.agGridCellRenderParams.headerRender), this.colDef.cellRendererParams = this.agGridCellRenderParams, this.colDef;
34105
34092
  }
34106
34093
  }
34107
- const Z0 = (e) => new B0(e);
34108
- class B0 {
34094
+ const Q0 = (e) => new V0(e);
34095
+ class V0 {
34109
34096
  constructor(t) {
34110
34097
  no(this, "colDefs"), no(this, "rendersMap", /* @__PURE__ */ new Map()), no(this, "headerRendersMap", /* @__PURE__ */ new Map()), this.colDefs = t, this.eachColDef(t, (o) => {
34111
34098
  this.rendersMap.set(o.field, {}), this.headerRendersMap.set(o.field, {});
@@ -34149,7 +34136,7 @@ class B0 {
34149
34136
  }), this.colDefs;
34150
34137
  }
34151
34138
  }
34152
- const Q0 = (e, t) => ({
34139
+ const X0 = (e, t) => ({
34153
34140
  model: {
34154
34141
  value: At(e, t),
34155
34142
  callback: (o) => {
@@ -34160,40 +34147,40 @@ const Q0 = (e, t) => ({
34160
34147
  Kd({
34161
34148
  theme: "legacy"
34162
34149
  });
34163
- const X0 = {
34150
+ const J0 = {
34164
34151
  install: () => {
34165
34152
  oh.registerModules([
34166
- rb,
34167
- ab,
34168
- lb,
34169
- db,
34170
- ub,
34171
- cb,
34172
- Lb,
34173
- wb,
34174
- fS,
34153
+ rS,
34154
+ aS,
34155
+ lS,
34156
+ dS,
34157
+ uS,
34158
+ cS,
34159
+ LS,
34160
+ wS,
34161
+ fb,
34175
34162
  xl,
34176
34163
  sd,
34177
- $b,
34178
- Xb,
34164
+ $S,
34165
+ XS,
34179
34166
  iy,
34180
34167
  cy,
34181
- bR,
34168
+ yR,
34182
34169
  Pv,
34183
- Sy,
34184
- Dy,
34185
34170
  by,
34171
+ Dy,
34172
+ Sy,
34186
34173
  My,
34187
34174
  Av,
34188
- Pb,
34175
+ PS,
34189
34176
  Yl,
34190
34177
  ky,
34191
34178
  Gy,
34192
34179
  gf,
34193
34180
  my,
34181
+ $R,
34194
34182
  zR,
34195
- WR,
34196
- hb
34183
+ hS
34197
34184
  ]);
34198
34185
  }
34199
34186
  };
@@ -34201,44 +34188,44 @@ export {
34201
34188
  Li as ActualRow,
34202
34189
  zy as CLEAN_AG_GRID_OPTIONS,
34203
34190
  En as CellEditableRow,
34204
- O0 as CellRenderAdapter,
34205
- So as CellValue,
34206
- WE as ClDrawerSearch,
34207
- j0 as ClPopoverSearch,
34208
- K0 as ClSearch,
34209
- zR as ClientSideRowModelApiModule,
34210
- WR as ClientSideRowModelModule,
34211
- B0 as ColumnRendersBuilder,
34191
+ B0 as CellRenderAdapter,
34192
+ bo as CellValue,
34193
+ zE as ClDrawerSearch,
34194
+ q0 as ClPopoverSearch,
34195
+ j0 as ClSearch,
34196
+ $R as ClientSideRowModelApiModule,
34197
+ zR as ClientSideRowModelModule,
34198
+ V0 as ColumnRendersBuilder,
34212
34199
  Rn as EditableRow,
34213
34200
  Nt as GRID_CONTEXT,
34214
- q0 as Grid,
34201
+ Y0 as Grid,
34215
34202
  Wy as GridDataCache,
34216
34203
  Vy as GridDataSource,
34217
34204
  Uy as GridUtils,
34218
34205
  $y as ID_FIRST_DEEP,
34219
34206
  hs as ID_SPLITTER,
34220
34207
  To as ProjectionRow,
34221
- bR as RowSelectionModule,
34208
+ yR as RowSelectionModule,
34222
34209
  Ir as RowSpans,
34223
34210
  vd as Searches,
34224
- bo as ServerGetRowsParamsRequest,
34211
+ So as ServerGetRowsParamsRequest,
34225
34212
  SR as SharedRowSelectionModule,
34226
34213
  Ny as SpanMatrix,
34227
- X0 as VueGridPlugin,
34214
+ J0 as VueGridPlugin,
34228
34215
  Oy as _getColumnSortIndexe,
34229
34216
  ad as _getSortedColumns,
34230
34217
  Hy as _getSortedColumnsIndexes,
34231
34218
  jy as buildProxyOptions,
34232
34219
  Yy as defaultColDefCellClassRules,
34233
- U0 as isActualRow,
34234
- $0 as isGridRow,
34220
+ K0 as isActualRow,
34221
+ U0 as isGridRow,
34235
34222
  Ar as mergeRowClass,
34236
34223
  qy as selectionColumnCellClassRules,
34237
- tR as useFooter,
34238
- eR as useGrid,
34224
+ oR as useFooter,
34225
+ tR as useGrid,
34239
34226
  Zy as useGridScroll,
34240
34227
  Ky as useGridState,
34241
- Q0 as vModel,
34242
- Z0 as withColumnRenderBuilder,
34243
- Y0 as withRender
34228
+ X0 as vModel,
34229
+ Q0 as withColumnRenderBuilder,
34230
+ Z0 as withRender
34244
34231
  };