@scvzerng/element-ui-ag-grid-vue2 0.0.37 → 0.0.38

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.
@@ -3,7 +3,7 @@ var Dd = (e, t, o) => t in e ? xd(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var R = (e, t, o) => Dd(e, typeof t != "symbol" ? t + "" : t, o);
4
4
  import { get as Gt, cloneDeep as st, isString as Fd, isFunction as Pd, isArray as ce, debounce as Td, sumBy as Id, isEmpty as Jo, isNumber as Hr, set as Or, isEqual as Ad, isPlainObject as Md, omit as kd } from "lodash-unified";
5
5
  import ws from "md5";
6
- import Kt, { reactive as vs, ref as N, watch as St, computed as ae, nextTick as Ni, toRaw as ei, defineComponent as z, isRef as Ld, isReactive as Gd, isProxy as Hd, toRefs as Od, getCurrentInstance as Jt, onMounted as Zs, markRaw as Bd, onUnmounted as Br, mergeDefaults as Vd, onBeforeMount as Nd, inject as xo, provide as _d } from "vue";
6
+ import Kt, { reactive as vs, ref as N, watch as bt, computed as ae, nextTick as Ni, toRaw as ei, defineComponent as z, isRef as Ld, isReactive as Gd, isProxy as Hd, toRefs as Od, getCurrentInstance as Jt, onMounted as Zs, markRaw as Bd, onUnmounted as Br, mergeDefaults as Vd, onBeforeMount as Nd, inject as xo, provide as _d } from "vue";
7
7
  import { Message as Wd } from "element-ui";
8
8
  var nt = class {
9
9
  constructor() {
@@ -98,7 +98,7 @@ function A(e) {
98
98
  function q(e) {
99
99
  return !A(e);
100
100
  }
101
- function bs(e) {
101
+ function Ss(e) {
102
102
  return e != null && typeof e.toString == "function" ? e.toString() : null;
103
103
  }
104
104
  function kn(e, t) {
@@ -173,9 +173,9 @@ var Qs = class Ye {
173
173
  };
174
174
  Qs.gridOptions = void 0;
175
175
  Qs.mergeStrategy = "shallow";
176
- var Ss = Qs;
176
+ var bs = Qs;
177
177
  function Kd(e, t = "shallow") {
178
- Ss.gridOptions = e, Ss.mergeStrategy = t;
178
+ bs.gridOptions = e, bs.mergeStrategy = t;
179
179
  }
180
180
  var jd = {
181
181
  suppressContextMenu: !1,
@@ -352,9 +352,9 @@ var jd = {
352
352
  enableFilterHandlers: !1
353
353
  };
354
354
  function Me(e, t, o) {
355
- o == null || typeof o == "string" && o == "" ? _r(e, t) : be(e, t, o);
355
+ o == null || typeof o == "string" && o == "" ? _r(e, t) : Se(e, t, o);
356
356
  }
357
- function be(e, t, o) {
357
+ function Se(e, t, o) {
358
358
  e.setAttribute(Wr(t), o.toString());
359
359
  }
360
360
  function _r(e, t) {
@@ -395,37 +395,37 @@ function $r(e, t) {
395
395
  Me(e, "hidden", t);
396
396
  }
397
397
  function ys(e, t) {
398
- be(e, "expanded", t);
398
+ Se(e, "expanded", t);
399
399
  }
400
400
  function Jd(e, t) {
401
- be(e, "setsize", t);
401
+ Se(e, "setsize", t);
402
402
  }
403
403
  function ec(e, t) {
404
- be(e, "posinset", t);
404
+ Se(e, "posinset", t);
405
405
  }
406
406
  function tc(e, t) {
407
- be(e, "multiselectable", t);
407
+ Se(e, "multiselectable", t);
408
408
  }
409
409
  function oc(e, t) {
410
- be(e, "rowcount", t);
410
+ Se(e, "rowcount", t);
411
411
  }
412
412
  function ti(e, t) {
413
- be(e, "rowindex", t);
413
+ Se(e, "rowindex", t);
414
414
  }
415
415
  function ic(e, t) {
416
- be(e, "rowspan", t);
416
+ Se(e, "rowspan", t);
417
417
  }
418
418
  function sc(e, t) {
419
- be(e, "colcount", t);
419
+ Se(e, "colcount", t);
420
420
  }
421
421
  function Ur(e, t) {
422
- be(e, "colindex", t);
422
+ Se(e, "colindex", t);
423
423
  }
424
424
  function nc(e, t) {
425
- be(e, "colspan", t);
425
+ Se(e, "colspan", t);
426
426
  }
427
427
  function rc(e, t) {
428
- be(e, "sort", t);
428
+ Se(e, "sort", t);
429
429
  }
430
430
  function ac(e) {
431
431
  _r(e, "sort");
@@ -749,7 +749,7 @@ var ra = "https://www.ag-grid.com", M = "34.1.1", Vn = 2e3, Nn = 100, aa = "_ver
749
749
  function vc(e) {
750
750
  Uo = e;
751
751
  }
752
- function bc(e) {
752
+ function Sc(e) {
753
753
  xt = e;
754
754
  }
755
755
  function la(e, t, o) {
@@ -758,7 +758,7 @@ function la(e, t, o) {
758
758
  function nn(e, t, o, i) {
759
759
  e(`error #${t}`, ...la(t, o, i));
760
760
  }
761
- function Sc(e) {
761
+ function bc(e) {
762
762
  if (!e)
763
763
  return String(e);
764
764
  const t = {};
@@ -768,7 +768,7 @@ function Sc(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 = Sc(e)), t;
771
+ return e instanceof Error ? t = e.toString() : typeof e == "object" && (t = bc(e)), t;
772
772
  }
773
773
  function ni(e) {
774
774
  return e === void 0 ? "undefined" : e === null ? "null" : e;
@@ -1080,7 +1080,7 @@ var va = /* @__PURE__ */ (() => {
1080
1080
  return o = "on" + o, qi[o] = o in i;
1081
1081
  };
1082
1082
  })();
1083
- function ba(e, t, o) {
1083
+ function Sa(e, t, o) {
1084
1084
  let i = t;
1085
1085
  for (; i; ) {
1086
1086
  const s = ha(e, i, o);
@@ -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;
@@ -1819,7 +1819,7 @@ var Zc = class {
1819
1819
  this.existingKeys[e[t]] = !0;
1820
1820
  }
1821
1821
  getUniqueKey(e, t) {
1822
- e = bs(e);
1822
+ e = Ss(e);
1823
1823
  let o = 0;
1824
1824
  for (; ; ) {
1825
1825
  let i = e ?? t;
@@ -2145,7 +2145,7 @@ function Ot(e, t, o, i, s = null) {
2145
2145
  });
2146
2146
  }
2147
2147
  function ye(e, t, o) {
2148
- var S;
2148
+ var b;
2149
2149
  const {
2150
2150
  colModel: i,
2151
2151
  rowGroupColsSvc: s,
@@ -2225,15 +2225,15 @@ function ye(e, t, o) {
2225
2225
  }), D(), { unmatchedAndAutoStates: _, unmatchedCount: O };
2226
2226
  };
2227
2227
  l == null || l.start();
2228
- let { unmatchedAndAutoStates: b, unmatchedCount: v } = w(
2228
+ let { unmatchedAndAutoStates: S, unmatchedCount: v } = w(
2229
2229
  t.state || [],
2230
2230
  f,
2231
2231
  (x) => i.getColDefCol(x)
2232
2232
  );
2233
- if (b.length > 0 || A(t.defaultState)) {
2234
- const x = ((S = c == null ? void 0 : c.getPivotResultCols()) == null ? void 0 : S.list) ?? [];
2233
+ if (S.length > 0 || A(t.defaultState)) {
2234
+ const x = ((b = c == null ? void 0 : c.getPivotResultCols()) == null ? void 0 : b.list) ?? [];
2235
2235
  v = w(
2236
- b,
2236
+ S,
2237
2237
  x,
2238
2238
  (P) => (c == null ? void 0 : c.getPivotResultCol(P)) ?? null
2239
2239
  ).unmatchedCount;
@@ -2241,17 +2241,17 @@ function ye(e, t, o) {
2241
2241
  return l == null || l.finish(), v === 0;
2242
2242
  }
2243
2243
  function uu(e, t) {
2244
- var w, b;
2244
+ var w, S;
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 = xa(l), c = [];
2249
2249
  let u = 1e3, h = 1e3;
2250
2250
  const g = (v) => {
2251
- const S = Ga(v);
2252
- q(S.rowGroupIndex) && S.rowGroup && (S.rowGroupIndex = u++), q(S.pivotIndex) && S.pivot && (S.pivotIndex = h++), c.push(S);
2251
+ const b = Ga(v);
2252
+ q(b.rowGroupIndex) && b.rowGroup && (b.rowGroupIndex = u++), q(b.pivotIndex) && b.pivot && (b.pivotIndex = h++), c.push(b);
2253
2253
  };
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), ye(e, { state: c }, t);
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), ye(e, { state: c }, t);
2255
2255
  const p = (i == null ? void 0 : i.getColumns()) ?? [], m = [...(s == null ? void 0 : s.getColumns()) ?? [], ...p, ...a].map((v) => ({ colId: v.colId }));
2256
2256
  ye(e, { state: m, applyOrder: !0 }, t), n.dispatchEvent(B(r, { type: "columnsReset", source: t }));
2257
2257
  }
@@ -2304,8 +2304,8 @@ function La(e, t) {
2304
2304
  f.length > 0 && cu(a, "columnValueChanged", f, t), Ot(a, h((x, P) => x.width != P.getActualWidth()), !0, t), ka(a, h((x, P) => x.pinned != P.getPinned()), t), du(a, h((x, P) => x.hide == P.isVisible()), t);
2305
2305
  const v = h((x, P) => x.sort != P.getSort() || x.sortIndex != P.getSortIndex());
2306
2306
  v.length > 0 && (r == null || r.dispatchSortChangedEvents(t, v));
2307
- const S = gi(e);
2308
- pu(d, S, t, n, a);
2307
+ const b = gi(e);
2308
+ pu(d, b, t, n, a);
2309
2309
  };
2310
2310
  }
2311
2311
  function gi(e) {
@@ -2448,11 +2448,11 @@ var $n = (e, t, o, i) => {
2448
2448
  }
2449
2449
  // called from SyncService, when grid has finished initialising
2450
2450
  createColsFromColDefs(e) {
2451
- var m, w, b;
2451
+ var m, w, S;
2452
2452
  const { beans: t } = this, { valueCache: o, colAutosize: i, rowGroupColsSvc: s, pivotColsSvc: n, valueColsSvc: r, visibleCols: a, eventSvc: l } = t, d = this.colDefs ? La(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
- ui(t, (b = this.colDefCols) == null ? void 0 : b.tree, h.columnTree);
2455
+ ui(t, (S = this.colDefCols) == null ? void 0 : S.tree, h.columnTree);
2456
2456
  const g = h.columnTree, p = h.treeDepth, f = xa(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",
@@ -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 bu = class extends E {
2985
+ var Su = class extends E {
2986
2986
  constructor() {
2987
2987
  super(...arguments), this.beanName = "userCompFactory";
2988
2988
  }
@@ -2993,14 +2993,14 @@ var bu = 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 b;
2996
+ var S;
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 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);
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);
3002
3002
  };
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) {
3003
+ if (a != null && f(a), l == null && d == null && o != null && f(o), l && r && !wu(l) && (l = (S = this.agCompUtils) == null ? void 0 : S.adaptFunction(t, l)), !l && !d) {
3004
3004
  const { validation: v } = this.beans;
3005
3005
  s && (a !== o || !o) ? a ? v != null && v.isProvidedUserComp(a) || K(50, { compName: a }) : o ? v || K(260, {
3006
3006
  ...this.gos.getModuleErrorParams(),
@@ -3052,7 +3052,7 @@ var bu = class extends E {
3052
3052
  } else typeof l == "object" && he(r, l);
3053
3053
  return he(r, i), n ? n(r) : r;
3054
3054
  }
3055
- }, Su = {
3055
+ }, bu = {
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 bu = 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(Su, "agDragAndDropImage", t, !0);
3085
+ return e.getCompDetailsFromGridOptions(bu, "agDragAndDropImage", t, !0);
3086
3086
  }
3087
3087
  function Ou(e, t, o) {
3088
3088
  return e.getCompDetails(t, yu, "agColumnHeader", o);
@@ -3675,18 +3675,18 @@ function ze({
3675
3675
  return e === ve && (e = t), e !== t;
3676
3676
  }
3677
3677
  function Vt(e, t, o) {
3678
- var C, m, w, b, v, S, x;
3678
+ var C, m, w, S, v, b, x;
3679
3679
  const { key: i, event: s, cellStartedEdit: n, silent: r } = o ?? {}, a = j(e, t), l = (C = a == null ? void 0 : a.comp) == null ? void 0 : C.getCellEditor(), d = Ka(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
- (b = l.refresh) == null || b.call(l, d);
3685
+ (S = l.refresh) == null || S.call(l, d);
3686
3686
  return;
3687
3687
  }
3688
3688
  const h = t.column.getColDef(), g = Oa(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
- ja(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"));
3689
+ ja(g.params, s), a && (a.editCompDetails = g, (v = a.comp) == null || v.setEditDetails(g, p, f, e.gos.get("reactiveCustomComponents")), (b = a == null ? void 0 : a.rowCtrl) == null || b.refreshRow({ suppressFlash: !0 }), r || (x = e.editSvc) == null || x.dispatchCellEvent(t, s, "cellEditingStarted"));
3690
3690
  }
3691
3691
  function Ua(e) {
3692
3692
  var s;
@@ -3697,8 +3697,8 @@ function Ua(e) {
3697
3697
  };
3698
3698
  }
3699
3699
  function Ka(e, t, o, i) {
3700
- var C, m, w, b;
3701
- const { valueSvc: s, gos: n, editSvc: r } = e, a = j(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 = Ua(g)) == null ? void 0 : w.editorValue : void 0), f = p === ve ? (b = s.getValueForDisplay(c, u)) == null ? void 0 : b.value : p;
3700
+ var C, m, w, S;
3701
+ const { valueSvc: s, gos: n, editSvc: r } = e, a = j(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 = Ua(g)) == null ? void 0 : w.editorValue : void 0), f = p === ve ? (S = s.getValueForDisplay(c, u)) == null ? void 0 : S.value : p;
3702
3702
  return B(n, {
3703
3703
  value: f,
3704
3704
  eventKey: o ?? null,
@@ -3804,8 +3804,8 @@ function Ci(e, t, o) {
3804
3804
  function ct(e) {
3805
3805
  var u, h, g, p, f, C, m, w;
3806
3806
  const t = $a(e), o = new _a(), { ariaAnnounce: i, localeSvc: s, editModelSvc: n, gos: r } = e, a = r.get("editType") === "fullRow", d = Vr(s)("ariaValidationErrorPrefix", "Cell Editor Validation");
3807
- for (const b of t) {
3808
- const { ctrl: v, editor: S } = b, { rowNode: x, column: P } = v, k = ((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;
3807
+ for (const S of t) {
3808
+ const { ctrl: v, editor: b } = S, { rowNode: x, column: P } = v, k = ((u = b.getValidationErrors) == null ? void 0 : u.call(b)) ?? [], D = ((h = b.getValidationElement) == null ? void 0 : h.call(b, !1)) || !((g = b.isPopup) != null && g.call(b)) && v.eGui;
3809
3809
  if (D) {
3810
3810
  const F = k != null && k.length > 0, L = F ? k.join(". ") : "";
3811
3811
  Xd(D, F), F && i.announceValue(`${d} ${k}`, "editorValidation"), D instanceof HTMLInputElement ? D.setCustomValidity(L) : D.classList.toggle("invalid", F);
@@ -3822,15 +3822,15 @@ function ct(e) {
3822
3822
  }
3823
3823
  Qe(e, !1), n == null || n.setCellValidationModel(o);
3824
3824
  const c = /* @__PURE__ */ new Set();
3825
- for (const { ctrl: b } of t)
3826
- c.add(b.rowCtrl);
3825
+ for (const { ctrl: S } of t)
3826
+ c.add(S.rowCtrl);
3827
3827
  if (a) {
3828
- const b = vh(e);
3829
- n == null || n.setRowValidationModel(b);
3828
+ const S = vh(e);
3829
+ n == null || n.setRowValidationModel(S);
3830
3830
  }
3831
- for (const b of c.values()) {
3832
- (p = b.rowEditStyleFeature) == null || p.applyRowStyles();
3833
- for (const v of b.getAllCellCtrls())
3831
+ for (const S of c.values()) {
3832
+ (p = S.rowEditStyleFeature) == null || p.applyRowStyles();
3833
+ for (const v of S.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 bh(e) {
3871
+ function Sh(e) {
3872
3872
  var i;
3873
3873
  ct(e);
3874
3874
  const t = (i = e.editModelSvc) == null ? void 0 : i.getCellValidationModel().getCellValidationMap();
@@ -3886,12 +3886,12 @@ function bh(e) {
3886
3886
  });
3887
3887
  }), o;
3888
3888
  }
3889
- var Sh = "ag-column-first", yh = "ag-column-last";
3889
+ var bh = "ag-column-first", yh = "ag-column-last";
3890
3890
  function qa(e, t, o, i) {
3891
3891
  return q(e) ? [] : Eh(e.headerClass, e, t, o, i);
3892
3892
  }
3893
3893
  function Ya(e, t, o) {
3894
- e.toggleCss(Sh, o.isColAtEdge(t, "first")), e.toggleCss(yh, o.isColAtEdge(t, "last"));
3894
+ e.toggleCss(bh, o.isColAtEdge(t, "first")), e.toggleCss(yh, o.isColAtEdge(t, "last"));
3895
3895
  }
3896
3896
  function Rh(e, t, o, i) {
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, S = (_t() || v) && !w && !Xs(s) && !p;
4242
- n.focusCell(S, e);
4241
+ const w = h == null ? void 0 : h.isEditing(n), v = u.get("enableCellTextSelection") && e.defaultPrevented, b = (_t() || v) && !w && !Xs(s) && !p;
4242
+ n.focusCell(b, 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: b, rowIndex: v, rowPinned: S } = w;
4248
+ const { column: S, rowIndex: v, rowPinned: b } = w;
4249
4249
  h != null && h.isEditing(w) && (h == null || h.stopEditing(w)), c.setFocusedCell({
4250
- column: b,
4250
+ column: S,
4251
4251
  rowIndex: v,
4252
- rowPinned: S,
4252
+ rowPinned: b,
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 b = t || o;
4267
- l.setRangeToCell(f, b);
4266
+ const S = t || o;
4267
+ l.setRangeToCell(f, S);
4268
4268
  }
4269
4269
  }
4270
4270
  a.dispatchEvent(this.cellCtrl.createEvent(e, "cellMouseDown"));
@@ -4393,9 +4393,9 @@ var Lh = class extends E {
4393
4393
  destroy() {
4394
4394
  super.destroy();
4395
4395
  }
4396
- }, Hh = "ag-cell", Oh = "ag-cell-auto-height", Bh = "ag-cell-normal-height", Vh = "ag-cell-focus", Nh = "ag-cell-first-right-pinned", _h = "ag-cell-last-left-pinned", Wh = "ag-cell-not-inline-editing", zh = "ag-cell-wrap-text", bi = "cellCtrl";
4396
+ }, Hh = "ag-cell", Oh = "ag-cell-auto-height", Bh = "ag-cell-normal-height", Vh = "ag-cell-focus", Nh = "ag-cell-first-right-pinned", _h = "ag-cell-last-left-pinned", Wh = "ag-cell-not-inline-editing", zh = "ag-cell-wrap-text", Si = "cellCtrl";
4397
4397
  function Qa(e, t) {
4398
- return ba(e, t, bi);
4398
+ return Sa(e, t, Si);
4399
4399
  }
4400
4400
  var $h = 0, Mt = class extends E {
4401
4401
  constructor(e, t, o, i) {
@@ -4605,7 +4605,7 @@ var $h = 0, Mt = class extends E {
4605
4605
  }
4606
4606
  addDomData(e) {
4607
4607
  const t = this.eGui;
4608
- rt(this.beans.gos, t, bi, this), e.addDestroyFunc(() => rt(this.beans.gos, t, bi, null));
4608
+ rt(this.beans.gos, t, Si, this), e.addDestroyFunc(() => rt(this.beans.gos, t, Si, null));
4609
4609
  }
4610
4610
  createEvent(e, t) {
4611
4611
  const { rowNode: o, column: i, value: s, beans: n } = this;
@@ -5274,9 +5274,9 @@ function tl(e, t) {
5274
5274
  return e + "_" + t;
5275
5275
  }
5276
5276
  function Q(e) {
5277
- return e instanceof bo;
5277
+ return e instanceof So;
5278
5278
  }
5279
- var bo = class extends E {
5279
+ var So = class extends E {
5280
5280
  constructor(e, t, o, i) {
5281
5281
  super(), this.providedColumnGroup = e, this.groupId = t, this.partId = o, this.pinned = i, this.isColumn = !1, this.displayedChildren = [], this.autoHeaderHeight = null, this.parent = null;
5282
5282
  }
@@ -5788,12 +5788,12 @@ function $e(e, t = !0, o = "-") {
5788
5788
  return t && (i += hn + [e.getHours(), e.getMinutes(), e.getSeconds()].map((s) => Zn(s, 2)).join(":")), i;
5789
5789
  }
5790
5790
  function Qo(e, t = !1) {
5791
- return !!So(e, t);
5791
+ return !!bo(e, t);
5792
5792
  }
5793
5793
  function eg(e) {
5794
5794
  return Qo(e, !0);
5795
5795
  }
5796
- function So(e, t = !1) {
5796
+ function bo(e, t = !1) {
5797
5797
  if (!e || !Jh.test(e))
5798
5798
  return null;
5799
5799
  const [o, i] = e.split(hn);
@@ -5856,7 +5856,7 @@ var tg = "ag-focus-managed", Ai = class extends E {
5856
5856
  }
5857
5857
  });
5858
5858
  }
5859
- }, Se = {
5859
+ }, be = {
5860
5860
  AUTO_HEIGHT: "ag-layout-auto-height",
5861
5861
  NORMAL: "ag-layout-normal",
5862
5862
  PRINT: "ag-layout-print"
@@ -5872,7 +5872,7 @@ var tg = "ag-focus-managed", Ai = class extends E {
5872
5872
  autoHeight: e === "autoHeight",
5873
5873
  normal: e === "normal",
5874
5874
  print: e === "print"
5875
- }, o = t.autoHeight ? Se.AUTO_HEIGHT : t.print ? Se.PRINT : Se.NORMAL;
5875
+ }, o = t.autoHeight ? be.AUTO_HEIGHT : t.print ? be.PRINT : be.NORMAL;
5876
5876
  this.view.updateLayoutClasses(o, t);
5877
5877
  }
5878
5878
  }, Ne = "Viewport", Qn = "fakeVScrollComp", Yi = [
@@ -6151,9 +6151,9 @@ var tg = "ag-focus-managed", Ai = 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, b = c.rowHeight, v = r.getPixelOffset(), S = c.rowTop - v, x = S + c.rowHeight, P = this.getVScrollPosition(), k = a.divStretchOffset, D = P.top + k, F = P.bottom + k, L = F - D, V = a.getScrollPositionForPixel(S), $ = a.getScrollPositionForPixel(x - L), G = Math.min((V + $) / 2, S), _ = D + C > S, O = F - m < x;
6154
+ const { stickyTopHeight: C, stickyBottomHeight: m } = d, w = c.rowTop, S = c.rowHeight, v = r.getPixelOffset(), b = c.rowTop - v, x = b + c.rowHeight, P = this.getVScrollPosition(), k = a.divStretchOffset, D = P.top + k, F = P.bottom + k, L = F - D, V = a.getScrollPositionForPixel(b), $ = a.getScrollPositionForPixel(x - L), G = Math.min((V + $) / 2, b), _ = D + C > b, O = F - m < x;
6155
6155
  let W = null;
6156
- t === "top" ? W = V - C : t === "bottom" ? W = $ + m : t === "middle" ? W = G : _ ? W = V - C : O && ($ - V > L ? W = V - C : W = $ + m), W !== null && (this.setVerticalScrollPosition(W), l.redraw({ afterScroll: !0 })), u = w !== c.rowTop || b !== c.rowHeight, h = C !== d.stickyTopHeight || m !== d.stickyBottomHeight, g++;
6156
+ t === "top" ? W = V - C : t === "bottom" ? W = $ + m : t === "middle" ? W = G : _ ? W = V - C : O && ($ - V > L ? W = V - C : W = $ + m), W !== null && (this.setVerticalScrollPosition(W), l.redraw({ afterScroll: !0 })), u = w !== c.rowTop || S !== c.rowHeight, h = C !== d.stickyTopHeight || m !== d.stickyBottomHeight, g++;
6157
6157
  } while ((u || h) && g < 10);
6158
6158
  if ((p = this.animationFrameSvc) == null || p.flushAllFrames(), o < 10 && (c != null && c.stub || !((f = this.beans.rowAutoHeight) != null && f.areRowsMeasured()))) {
6159
6159
  const C = this.getVScrollPosition().top;
@@ -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, Si = "renderedRow", yi = class extends E {
6387
+ }, ng = 0, bi = "renderedRow", yi = 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 = {
@@ -6436,7 +6436,7 @@ var sg = class extends E {
6436
6436
  const t = this.gos;
6437
6437
  this.onSuppressCellFocusChanged(this.beans.gos.get("suppressCellFocus")), this.listenOnDomOrder(e), this.onRowHeightChanged(e), this.updateRowIndexes(e), this.setFocusedClasses(e), this.setStylesFromGridOptions(!1, e), et(t) && this.rowNode.selectable && this.onRowSelected(e), this.updateColumnLists(!this.useAnimationFrameForCreate);
6438
6438
  const o = e.rowComp;
6439
- this.getInitialRowClasses(e.containerType).forEach((s) => o.toggleCss(s, !0)), this.executeSlideAndFadeAnimations(e), this.rowNode.group && ys(e.element, this.rowNode.expanded == !0), this.setRowCompRowId(o), this.setRowCompRowBusinessKey(o), rt(t, e.element, Si, this), e.compBean.addDestroyFunc(() => rt(t, e.element, Si, null)), this.useAnimationFrameForCreate ? this.beans.animationFrameSvc.createTask(
6439
+ this.getInitialRowClasses(e.containerType).forEach((s) => o.toggleCss(s, !0)), this.executeSlideAndFadeAnimations(e), this.rowNode.group && ys(e.element, this.rowNode.expanded == !0), this.setRowCompRowId(o), this.setRowCompRowBusinessKey(o), rt(t, e.element, bi, this), e.compBean.addDestroyFunc(() => rt(t, e.element, bi, null)), this.useAnimationFrameForCreate ? this.beans.animationFrameSvc.createTask(
6440
6440
  this.addHoverFunctionality.bind(this, e),
6441
6441
  this.rowNode.rowIndex,
6442
6442
  "p2",
@@ -7303,7 +7303,7 @@ var pg = class extends E {
7303
7303
  const { gos: t } = this;
7304
7304
  return {
7305
7305
  cellCtrl: Qa(t, e),
7306
- rowCtrl: ba(t, e, Si)
7306
+ rowCtrl: Sa(t, e, bi)
7307
7307
  };
7308
7308
  }
7309
7309
  processKeyboardEvent(e, t) {
@@ -7562,7 +7562,7 @@ function Cg(e) {
7562
7562
  function To(e) {
7563
7563
  return fg[e];
7564
7564
  }
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"], nl = ["stickyTopCenter", "stickyTopLeft", "stickyTopRight"], rl = ["stickyBottomCenter", "stickyBottomLeft", "stickyBottomRight"], Eg = [
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"], nl = ["stickyTopCenter", "stickyTopLeft", "stickyTopRight"], rl = ["stickyBottomCenter", "stickyBottomLeft", "stickyBottomRight"], Eg = [
7566
7566
  ...nl,
7567
7567
  "stickyTopFullWidth",
7568
7568
  ...rl,
@@ -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
- bg,
7608
+ Sg,
7609
7609
  () => this.createManagedBean(
7610
7610
  new il(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
- Sg,
7616
+ bg,
7617
7617
  () => this.createManagedBean(new pn((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 } = ut(this.eGui), C = h + g + p + f, w = t.offsetHeight + C;
8587
8587
  if (u < 5) {
8588
- const b = te(s), v = !b || !b.contains(t), S = w == 0;
8589
- if (v || S) {
8588
+ const S = te(s), v = !S || !S.contains(t), b = w == 0;
8589
+ if (v || b) {
8590
8590
  Ps(() => n(u + 1), "raf", s);
8591
8591
  return;
8592
8592
  }
@@ -9584,7 +9584,7 @@ function ap(e) {
9584
9584
  ]
9585
9585
  };
9586
9586
  }
9587
- var bn = class extends fl {
9587
+ var Sn = class extends fl {
9588
9588
  constructor(e, t, o = "text", i = "input") {
9589
9589
  super(e, (e == null ? void 0 : e.template) ?? ap(i), [], t), this.inputType = o, this.displayFieldTag = i, this.eLabel = T, this.eWrapper = T, this.eInput = T;
9590
9590
  }
@@ -9637,7 +9637,7 @@ var bn = class extends fl {
9637
9637
  }
9638
9638
  return this;
9639
9639
  }
9640
- }, Cl = class extends bn {
9640
+ }, Cl = class extends Sn {
9641
9641
  constructor(e, t = "ag-checkbox", o = "checkbox") {
9642
9642
  super(e, t, o), this.labelAlignment = "right", this.selected = !1, this.readOnly = !1, this.passive = !1;
9643
9643
  }
@@ -9711,7 +9711,7 @@ var bn = class extends fl {
9711
9711
  const t = this.eWrapper.classList;
9712
9712
  t.toggle("ag-checked", e === !0), t.toggle("ag-indeterminate", e == null);
9713
9713
  }
9714
- }, Sn = {
9714
+ }, bn = {
9715
9715
  selector: "AG-CHECKBOX",
9716
9716
  component: Cl
9717
9717
  }, lp = (
@@ -9730,7 +9730,7 @@ var bn = class extends fl {
9730
9730
  ]
9731
9731
  }, cp = class extends Y {
9732
9732
  constructor() {
9733
- super(dp, [Sn]), this.eCheckbox = T, this.registerCSS(lp);
9733
+ super(dp, [bn]), this.eCheckbox = T, this.registerCSS(lp);
9734
9734
  }
9735
9735
  init(e) {
9736
9736
  this.refresh(e);
@@ -10329,7 +10329,7 @@ var wp = class extends E {
10329
10329
  getGrandTotalPinned() {
10330
10330
  return this.inner.getGrandTotalPinned();
10331
10331
  }
10332
- }, yn = class extends bn {
10332
+ }, yn = class extends Sn {
10333
10333
  constructor(e, t = "ag-text-field", o = "text") {
10334
10334
  super(e, t, o);
10335
10335
  }
@@ -10360,7 +10360,7 @@ var wp = class extends E {
10360
10360
  }, vp = {
10361
10361
  selector: "AG-INPUT-TEXT-FIELD",
10362
10362
  component: yn
10363
- }, bp = class extends bn {
10363
+ }, Sp = class extends Sn {
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
- }, Sp = {
10377
+ }, bp = {
10378
10378
  selector: "AG-INPUT-TEXT-AREA",
10379
- component: bp
10379
+ component: Sp
10380
10380
  }, yp = class extends yn {
10381
10381
  constructor(e) {
10382
10382
  super(e, "ag-number-field", "number");
@@ -10506,7 +10506,7 @@ var wp = class extends E {
10506
10506
  }
10507
10507
  getDate() {
10508
10508
  if (this.eInput.validity.valid)
10509
- return So(this.getValue()) ?? void 0;
10509
+ return bo(this.getValue()) ?? void 0;
10510
10510
  }
10511
10511
  setDate(e, t) {
10512
10512
  this.setValue($e(e ?? null, this.includeTime), t);
@@ -11220,7 +11220,7 @@ var wp = class extends E {
11220
11220
  }
11221
11221
  }, vl = 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 = `${ra}/${this.frameworkName}-data-grid`, bc(this.baseDocLink);
11223
+ this.frameworkName = e, this.renderingEngine = "vanilla", this.batchFrameworkComps = !1, this.wrapIncoming = (t) => t(), this.wrapOutgoing = (t) => t(), this.baseDocLink = `${ra}/${this.frameworkName}-data-grid`, Sc(this.baseDocLink);
11224
11224
  }
11225
11225
  setInterval(e, t) {
11226
11226
  return new mo((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), b = s.addPopup({
11596
+ }, w = s.positionPopupByComponent.bind(s, m), S = 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
- b && (this.hideEditorPopup = b.hideFunc);
11607
+ S && (this.hideEditorPopup = S.hideFunc);
11608
11608
  }
11609
11609
  detach() {
11610
11610
  this.eRow.removeChild(this.getGui());
@@ -11916,8 +11916,8 @@ var Qp = class extends Y {
11916
11916
  updateLayoutClasses: (a, l) => {
11917
11917
  const d = [this.eBodyViewport.classList, this.eBody.classList];
11918
11918
  for (const c of d)
11919
- c.toggle(Se.AUTO_HEIGHT, l.autoHeight), c.toggle(Se.NORMAL, l.normal), c.toggle(Se.PRINT, l.print);
11920
- this.toggleCss(Se.AUTO_HEIGHT, l.autoHeight), this.toggleCss(Se.NORMAL, l.normal), this.toggleCss(Se.PRINT, l.print);
11919
+ c.toggle(be.AUTO_HEIGHT, l.autoHeight), c.toggle(be.NORMAL, l.normal), c.toggle(be.PRINT, l.print);
11920
+ this.toggleCss(be.AUTO_HEIGHT, l.autoHeight), this.toggleCss(be.NORMAL, l.normal), this.toggleCss(be.PRINT, l.print);
11921
11921
  },
11922
11922
  setAlwaysVerticalScrollClass: (a, l) => this.eBodyViewport.classList.toggle(al, l),
11923
11923
  registerBodyViewportResizeListener: (a) => {
@@ -12116,7 +12116,7 @@ var Qp = class extends Y {
12116
12116
  });
12117
12117
  }
12118
12118
  updateLayoutClasses(e, t) {
12119
- const o = this.rootWrapperBody.classList, { AUTO_HEIGHT: i, NORMAL: s, PRINT: n } = Se, { autoHeight: r, normal: a, print: l } = t;
12119
+ const o = this.rootWrapperBody.classList, { AUTO_HEIGHT: i, NORMAL: s, PRINT: n } = be, { autoHeight: r, normal: a, print: l } = t;
12120
12120
  o.toggle(i, r), o.toggle(s, a), o.toggle(n, l), this.toggleCss(i, r), this.toggleCss(s, a), this.toggleCss(n, l);
12121
12121
  }
12122
12122
  createTemplate(e) {
@@ -12533,12 +12533,12 @@ var Qp = class extends Y {
12533
12533
  },
12534
12534
  wireBeans() {
12535
12535
  }
12536
- }, tf = (e, t) => e.eventSvc.dispatchEvent(t), bl = class {
12536
+ }, tf = (e, t) => e.eventSvc.dispatchEvent(t), Sl = class {
12537
12537
  };
12538
- Reflect.defineProperty(bl, "name", { value: "GridApi" });
12538
+ Reflect.defineProperty(Sl, "name", { value: "GridApi" });
12539
12539
  var of = class extends E {
12540
12540
  constructor() {
12541
- super(), this.beanName = "apiFunctionSvc", this.api = new bl(), this.fns = {
12541
+ super(), this.beanName = "apiFunctionSvc", this.api = new Sl(), this.fns = {
12542
12542
  ...ns,
12543
12543
  // dispatchEvent is used by frameworks, also used by aligned grids to identify a grid api instance
12544
12544
  dispatchEvent: tf
@@ -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) {
@@ -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 bf = class extends E {
12874
+ var Sf = 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 bf = class extends E {
12909
12909
  this.clearColumnsList();
12910
12910
  }
12911
12911
  };
12912
- function Sf(e, t) {
12912
+ function bf(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 Rl(e) {
12953
12953
  let { allMovingColumns: u } = e;
12954
12954
  t && (u = yf(u));
12955
12955
  const h = u.slice();
12956
- Sf(l.getCols(), h);
12956
+ bf(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((b) => b.getColDef().suppressMovable))
13015
+ if (n.get("suppressMovableColumns") || t.some((S) => S.getColDef().suppressMovable))
13016
13016
  return [];
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));
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));
13018
13018
  let p = 0, f = i;
13019
13019
  if (o) {
13020
- let b = 0;
13021
- u.forEach((v) => b += v.getActualWidth()), f -= b;
13020
+ let S = 0;
13021
+ u.forEach((v) => S += v.getActualWidth()), f -= S;
13022
13022
  }
13023
13023
  if (f > 0) {
13024
- for (let b = 0; b < h.length; b++) {
13025
- const v = h[b];
13024
+ for (let S = 0; S < h.length; S++) {
13025
+ const v = h[S];
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 b = h[p - 1];
13035
- C = g.indexOf(b) + 1;
13034
+ const S = h[p - 1];
13035
+ C = g.indexOf(S) + 1;
13036
13036
  } else
13037
13037
  C = g.indexOf(h[0]), C === -1 && (C = 0);
13038
- const m = [C], w = (b, v) => b - v;
13038
+ const m = [C], w = (S, v) => S - v;
13039
13039
  if (o) {
13040
- let b = C + 1;
13040
+ let S = C + 1;
13041
13041
  const v = c.length - 1;
13042
- for (; b <= v; )
13043
- m.push(b), b++;
13042
+ for (; S <= v; )
13043
+ m.push(S), S++;
13044
13044
  m.sort(w);
13045
13045
  } else {
13046
- let b = C;
13046
+ let S = C;
13047
13047
  const v = c.length - 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;
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;
13052
13052
  const x = 0;
13053
- for (; b >= x; )
13054
- m.push(b), b--;
13053
+ for (; S >= x; )
13054
+ m.push(S), S--;
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 bf(o)), t.addDropTarget(this), this.addDestroyFunc(() => t.removeDropTarget(this));
13431
+ }), this.moveColumnFeature = this.createManagedBean(new If(o)), this.bodyDropPivotTarget = this.createManagedBean(new Sf(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 b = o.getGroupId(), v = o.getLeafColumns();
13549
+ const S = o.getGroupId(), v = o.getLeafColumns();
13550
13550
  if (!v.length)
13551
13551
  return;
13552
- const S = v[0].getParent();
13553
- if (!S)
13552
+ const b = v[0].getParent();
13553
+ if (!b)
13554
13554
  return;
13555
- w = Lf(S, b);
13555
+ w = Lf(b, S);
13556
13556
  } else
13557
13557
  w = o;
13558
13558
  w && d.focusHeaderPosition({
@@ -13923,28 +13923,28 @@ var Nf = class extends E {
13923
13923
  }
13924
13924
  C = !1;
13925
13925
  const w = [];
13926
- let b = 0, v = u;
13926
+ let S = 0, v = u;
13927
13927
  h.forEach((x, P) => {
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[P];
13933
- b += D;
13933
+ S += D;
13934
13934
  }
13935
13935
  });
13936
- const S = 1 / b;
13936
+ const b = 1 / S;
13937
13937
  w.forEach((x, P) => {
13938
13938
  const k = P === w.length - 1;
13939
13939
  let D;
13940
- k ? D = v : (D = Math.round(g[P] * u * S), v -= D);
13940
+ k ? D = v : (D = Math.round(g[P] * u * b), v -= D);
13941
13941
  const F = x.getMinWidth(), L = x.getMaxWidth();
13942
13942
  D < F ? (D = F, f[x.getId()] = !0, C = !0) : L > 0 && D > L && (D = L, f[x.getId()] = !0, C = !0), p[x.getId()] = D;
13943
13943
  });
13944
13944
  }
13945
13945
  h.forEach((w) => {
13946
- const b = p[w.getId()];
13947
- w.getActualWidth() !== b && (w.setActualWidth(b, i), n.push(w));
13946
+ const S = p[w.getId()];
13947
+ w.getActualWidth() !== S && (w.setActualWidth(S, i), n.push(w));
13948
13948
  });
13949
13949
  });
13950
13950
  const a = n.length > 0;
@@ -14699,7 +14699,7 @@ var rC = class extends E {
14699
14699
  createColumnGroup(e, t, o, i, s) {
14700
14700
  const n = e.getGroupId(), r = t.getInstanceIdForKey(n), a = tl(n, r);
14701
14701
  let l = o[a];
14702
- return l && l.getProvidedColumnGroup() !== e && (l = null), A(l) ? l.reset() : (l = new bo(e, n, r, i), s || this.createBean(l)), l;
14702
+ return l && l.getProvidedColumnGroup() !== e && (l = null), A(l) ? l.reset() : (l = new So(e, n, r, i), s || this.createBean(l)), l;
14703
14703
  }
14704
14704
  // returns back a 2d map of ColumnGroup as follows: groupId -> instanceId -> ColumnGroup
14705
14705
  mapOldGroupsById(e) {
@@ -14807,10 +14807,10 @@ function wC(e) {
14807
14807
  function vC(e) {
14808
14808
  uu(e, "api");
14809
14809
  }
14810
- function bC(e) {
14810
+ function SC(e) {
14811
14811
  return e.visibleCols.isPinningLeft() || e.visibleCols.isPinningRight();
14812
14812
  }
14813
- function SC(e) {
14813
+ function bC(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 S = m - C, x = Math.round(S);
14956
+ const b = m - C, x = Math.round(b);
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 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;
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;
14966
14966
  }
14967
- const b = w === 0 ? "all" : w > 0 ? "min" : "max";
14967
+ const S = w === 0 ? "all" : w > 0 ? "min" : "max";
14968
14968
  for (const v of a)
14969
- h(v) || (b === "all" || v.violationType === b) && u(v, v.targetSize);
14969
+ h(v) || (S === "all" || v.violationType === S) && 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);
@@ -15304,7 +15304,7 @@ var kC = class extends E {
15304
15304
  const t = this.getLocaleTextFunc(), o = this.getDateIncludesTimeFlag(e);
15305
15305
  return {
15306
15306
  baseDataType: e,
15307
- valueParser: (i) => So(i.newValue && String(i.newValue)),
15307
+ valueParser: (i) => bo(i.newValue && String(i.newValue)),
15308
15308
  valueFormatter: (i) => i.value == null ? "" : !(i.value instanceof Date) || isNaN(i.value.getTime()) ? t("invalidDate", "Invalid Date") : $e(i.value, o) ?? "",
15309
15309
  dataTypeMatcher: (i) => i instanceof Date
15310
15310
  };
@@ -15313,7 +15313,7 @@ var kC = class extends E {
15313
15313
  const t = this.getDateIncludesTimeFlag(e);
15314
15314
  return {
15315
15315
  baseDataType: e,
15316
- dateParser: (o) => So(o) ?? void 0,
15316
+ dateParser: (o) => bo(o) ?? void 0,
15317
15317
  dateFormatter: (o) => $e(o ?? null, t) ?? void 0,
15318
15318
  valueParser: (o) => Qo(String(o.newValue)) ? o.newValue : null,
15319
15319
  valueFormatter: (o) => Qo(String(o.value)) ? String(o.value) : "",
@@ -15335,7 +15335,7 @@ var kC = class extends E {
15335
15335
  },
15336
15336
  text: {
15337
15337
  baseDataType: "text",
15338
- valueParser: (t) => t.newValue === "" ? null : bs(t.newValue),
15338
+ valueParser: (t) => t.newValue === "" ? null : Ss(t.newValue),
15339
15339
  dataTypeMatcher: (t) => typeof t == "string"
15340
15340
  },
15341
15341
  boolean: {
@@ -15357,7 +15357,7 @@ var kC = class extends E {
15357
15357
  object: {
15358
15358
  baseDataType: "object",
15359
15359
  valueParser: () => null,
15360
- valueFormatter: (t) => bs(t.value) ?? ""
15360
+ valueFormatter: (t) => Ss(t.value) ?? ""
15361
15361
  }
15362
15362
  };
15363
15363
  }
@@ -15458,8 +15458,8 @@ var VC = {
15458
15458
  applyColumnState: mC,
15459
15459
  getColumnState: wC,
15460
15460
  resetColumnState: vC,
15461
- isPinning: bC,
15462
- isPinningLeft: SC,
15461
+ isPinning: SC,
15462
+ isPinningLeft: bC,
15463
15463
  isPinningRight: yC,
15464
15464
  getDisplayedColAfter: RC,
15465
15465
  getDisplayedColBefore: EC,
@@ -16302,29 +16302,29 @@ ${s}`;
16302
16302
  return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? Ae(e.onto) : "transparent"}, ${t} ${tm(e.mix * 100, 0, 100)}%)`;
16303
16303
  }
16304
16304
  return !1;
16305
- }, mm = ki, bt = (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 : ` ${Ae(o)} `)})` : e && "ref" in e ? Ae(e.ref) : !1, wm = ki, Us = (e, t) => typeof e == "string" ? e : e === !0 ? Us({}, t) : e === !1 ? t === "columnBorder" ? Us({ color: "transparent" }, t) : "none" : e && "ref" in e ? Ae(e.ref) : Ml(e.style ?? "solid") + " " + bt(e.width ?? { ref: "borderWidth" }) + " " + En(e.color ?? { ref: "borderColor" }), vm = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? Ae(e.ref) : [
16306
- bt(e.offsetX ?? 0),
16307
- bt(e.offsetY ?? 0),
16308
- bt(e.radius ?? 0),
16309
- bt(e.spread ?? 0),
16305
+ }, mm = ki, St = (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 : ` ${Ae(o)} `)})` : e && "ref" in e ? Ae(e.ref) : !1, wm = ki, Us = (e, t) => typeof e == "string" ? e : e === !0 ? Us({}, t) : e === !1 ? t === "columnBorder" ? Us({ color: "transparent" }, t) : "none" : e && "ref" in e ? Ae(e.ref) : Ml(e.style ?? "solid") + " " + St(e.width ?? { ref: "borderWidth" }) + " " + En(e.color ?? { ref: "borderColor" }), vm = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? Ae(e.ref) : [
16306
+ St(e.offsetX ?? 0),
16307
+ St(e.offsetY ?? 0),
16308
+ St(e.radius ?? 0),
16309
+ St(e.spread ?? 0),
16310
16310
  En(e.color ?? { ref: "foregroundColor" })
16311
16311
  ].join(" "), Ml = ki, kl = (e) => typeof e == "string" ? e.includes(",") ? e : fr(e) : e && "googleFont" in e ? kl(e.googleFont) : e && "ref" in e ? Ae(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), fr(t))).join(", ") : !1, fr = (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
- ), bm = ki, Ll = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? Ll({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? Ae(e.ref) : !1, Sm = (e, t) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && K(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? Ae(e.ref) : !1, ym = {
16316
+ ), Sm = ki, Ll = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? Ll({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? Ae(e.ref) : !1, bm = (e, t) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && K(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? Ae(e.ref) : !1, ym = {
16317
16317
  color: En,
16318
16318
  colorScheme: mm,
16319
- length: bt,
16319
+ length: St,
16320
16320
  scale: wm,
16321
16321
  border: Us,
16322
16322
  borderStyle: Ml,
16323
16323
  shadow: vm,
16324
16324
  image: Ll,
16325
16325
  fontFamily: kl,
16326
- fontWeight: bm,
16327
- duration: Sm
16326
+ fontWeight: Sm,
16327
+ duration: bm
16328
16328
  }, Rm = (e, t) => {
16329
16329
  const o = Cm(e);
16330
16330
  return ym[o](t, e);
@@ -16803,7 +16803,7 @@ ${n}}
16803
16803
  cssName: "--ag-header-height",
16804
16804
  changeKey: "headerHeightChanged",
16805
16805
  defaultValue: 48
16806
- }, br = {
16806
+ }, Sr = {
16807
16807
  cssName: "--ag-list-item-height",
16808
16808
  changeKey: "listItemHeightChanged",
16809
16809
  defaultValue: 24
@@ -16812,7 +16812,7 @@ ${n}}
16812
16812
  changeKey: "rowBorderWidthChanged",
16813
16813
  defaultValue: 1,
16814
16814
  border: !0
16815
- }, 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(wr), this.getSizeEl(vr), this.getSizeEl(br), this.getSizeEl(ds), 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(wr), this.getSizeEl(vr), this.getSizeEl(Sr), this.getSizeEl(ds), 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(ds);
@@ -16857,7 +16857,7 @@ ${n}}
16857
16857
  return Math.min(36, this.getDefaultRowHeight());
16858
16858
  }
16859
16859
  getDefaultListItemHeight() {
16860
- return this.getCSSVariablePixelValue(br);
16860
+ return this.getCSSVariablePixelValue(Sr);
16861
16861
  }
16862
16862
  applyThemeClasses(e) {
16863
16863
  const { gridTheme: t } = this;
@@ -17135,7 +17135,7 @@ var iw = class extends E {
17135
17135
  findHeader(e, t) {
17136
17136
  const { colGroupSvc: o, visibleCols: i } = this.beans;
17137
17137
  let s = e.column;
17138
- if (s instanceof bo) {
17138
+ if (s instanceof So) {
17139
17139
  const l = s.getDisplayedLeafColumns();
17140
17140
  s = t === "Before" ? l[0] : l[l.length - 1];
17141
17141
  }
@@ -17197,7 +17197,7 @@ function nw(e, t, o) {
17197
17197
  headerRowIndex: i,
17198
17198
  headerRowIndexWithoutSpan: i
17199
17199
  };
17200
- if (e instanceof bo) {
17200
+ if (e instanceof So) {
17201
17201
  if (i >= o)
17202
17202
  return {
17203
17203
  column: e.getDisplayedLeafColumns()[0],
@@ -17205,7 +17205,7 @@ function nw(e, t, o) {
17205
17205
  headerRowIndexWithoutSpan: i
17206
17206
  };
17207
17207
  let r = e.getDisplayedChildren()[0];
17208
- if (r instanceof bo && r.isPadding()) {
17208
+ if (r instanceof So && r.isPadding()) {
17209
17209
  const l = r.getDisplayedLeafColumns()[0];
17210
17210
  l.isSpanHeaderHeight() && (r = l);
17211
17211
  }
@@ -17269,7 +17269,7 @@ var rw = class extends E {
17269
17269
  */
17270
17270
  doesRowOrCellHaveBrowserFocus() {
17271
17271
  const e = Z(this.beans);
17272
- return this.isDomDataPresentInHierarchy(e, bi) ? !0 : this.isDomDataPresentInHierarchy(e, Si);
17272
+ return this.isDomDataPresentInHierarchy(e, Si) ? !0 : this.isDomDataPresentInHierarchy(e, bi);
17273
17273
  }
17274
17274
  isDomDataPresentInHierarchy(e, t) {
17275
17275
  let o = e;
@@ -18317,7 +18317,7 @@ var rw = class extends E {
18317
18317
  "findSearchValue",
18318
18318
  "styleNonce",
18319
18319
  "renderingMode"
18320
- ], bw = [
18320
+ ], Sw = [
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
- ], Sw = [
18359
+ ], bw = [
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
  ], Ks = () => [
18621
- ...Sw,
18622
18621
  ...bw,
18622
+ ...Sw,
18623
18623
  ...vw,
18624
18624
  ..._l,
18625
18625
  ...Ew,
@@ -20482,7 +20482,7 @@ var cv = (
20482
20482
  }) : i = wo(t, !1), i && e.preventDefault();
20483
20483
  }
20484
20484
  updateLayoutClasses(e, t) {
20485
- const o = this.eOverlayWrapper.classList, { AUTO_HEIGHT: i, NORMAL: s, PRINT: n } = Se;
20485
+ const o = this.eOverlayWrapper.classList, { AUTO_HEIGHT: i, NORMAL: s, PRINT: n } = be;
20486
20486
  o.toggle(i, t.autoHeight), o.toggle(s, t.normal), o.toggle(n, t.print);
20487
20487
  }
20488
20488
  postConstruct() {
@@ -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: S, pageLastPixel: x } = t.getCurrentPagePixelRange(), P = e.divStretchOffset, k = u.getVScrollPosition(), D = k.top, F = k.bottom;
21343
- h ? (p = S + P, f = x + P) : (p = Math.max(D + v - c, S) + P, f = Math.min(F + v + c, x) + P), this.firstVisibleVPixel = Math.max(D + v, S) + P, this.lastVisibleVPixel = Math.min(F + v, x) + P, g = this.ensureAllRowsInRangeHaveHeightsCalculated(p, f);
21342
+ const v = t.getPixelOffset(), { pageFirstPixel: b, pageLastPixel: x } = t.getCurrentPagePixelRange(), P = e.divStretchOffset, k = u.getVScrollPosition(), D = k.top, F = k.bottom;
21343
+ h ? (p = b + P, f = x + P) : (p = Math.max(D + v - c, b) + P, f = Math.min(F + v + c, x) + P), this.firstVisibleVPixel = Math.max(D + v, b) + P, this.lastVisibleVPixel = Math.min(F + v, x) + P, 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(), b = t.getLastRow();
21347
- C < w && (C = w), m > b && (m = b), i = C, s = m;
21346
+ const w = t.getFirstRow(), S = t.getLastRow();
21347
+ C < w && (C = w), m > S && (m = S), i = C, s = m;
21348
21348
  }
21349
21349
  const n = ie(this.gos, "normal"), r = this.gos.get("suppressMaxRenderedRowRestriction"), a = Math.max(this.getRowBuffer(), 500);
21350
21350
  n && !r && s - i > a && (s = i + a);
@@ -21564,7 +21564,7 @@ var vv = class extends E {
21564
21564
  return o.getValue(t, e, !1);
21565
21565
  }
21566
21566
  };
21567
- function bv(e) {
21567
+ function Sv(e) {
21568
21568
  var t;
21569
21569
  (t = e.sortSvc) == null || t.onSortChanged("api");
21570
21570
  }
@@ -21573,7 +21573,7 @@ var Ul = {
21573
21573
  version: M,
21574
21574
  beans: [hw, vv],
21575
21575
  apiFunctions: {
21576
- onSortChanged: bv
21576
+ onSortChanged: Sv
21577
21577
  },
21578
21578
  userComponents: {
21579
21579
  agSortIndicator: xn
@@ -21586,7 +21586,7 @@ var Ul = {
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
- }, Sv = class extends E {
21589
+ }, bv = class extends E {
21590
21590
  constructor() {
21591
21591
  super(...arguments), this.beanName = "syncSvc", this.waitingForColumns = !1;
21592
21592
  }
@@ -22009,7 +22009,7 @@ var Ev = "paste", xv = class extends E {
22009
22009
  lw,
22010
22010
  of,
22011
22011
  jC,
22012
- bu,
22012
+ Su,
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
- Sv,
22026
+ bv,
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: [
@@ -22740,7 +22740,7 @@ function $v(e, t, o) {
22740
22740
  }
22741
22741
  var Uv = 1, Kv = class {
22742
22742
  create(e, t, o, i, s, n) {
22743
- const r = Ss.applyGlobalGridOptions(t), a = r.gridId ?? String(Uv++), l = this.getRegisteredModules(s, a, r.rowModelType), d = this.createBeansList(r.rowModelType, l, a), c = this.createProvidedBeans(e, r, s);
22743
+ const r = bs.applyGlobalGridOptions(t), a = r.gridId ?? String(Uv++), l = this.getRegisteredModules(s, a, r.rowModelType), d = this.createBeansList(r.rowModelType, l, a), c = this.createProvidedBeans(e, r, s);
22744
22744
  if (!d)
22745
22745
  return;
22746
22746
  const h = {
@@ -22882,14 +22882,14 @@ function Yv(e, t = !1) {
22882
22882
  rowGroup: C,
22883
22883
  rowGroupIndex: m,
22884
22884
  aggFunc: w,
22885
- pivot: b,
22885
+ pivot: S,
22886
22886
  pivotIndex: v,
22887
- pinned: S,
22887
+ pinned: b,
22888
22888
  hide: x,
22889
22889
  width: P,
22890
22890
  flex: k
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 }), b && (n[v ?? 0] = g), S && (S === "right" ? a : r).push(g), x && l.push(g), (k != null || P) && d.push({ colId: g, flex: k ?? void 0, width: P });
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), (k != null || P) && d.push({ colId: g, flex: k ?? void 0, width: P });
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
- }, eb = 1e3, tb = 1e3, Fr = 100, Pr, _o = !1, ob = class extends E {
22939
+ }, eS = 1e3, tS = 1e3, Fr = 100, Pr, _o = !1, oS = class extends E {
22940
22940
  constructor(e, t) {
22941
22941
  super(), this.tooltipCtrl = e, this.getTooltipValue = t, this.interactionEnabled = !1, this.isInteractingWithTooltip = !1, this.state = 0, this.tooltipInstanceCount = 0, this.tooltipMouseTrack = !1;
22942
22942
  }
@@ -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() - Pr < eb;
23007
+ return Date.now() - Pr < eS;
23008
23008
  }
23009
23009
  setToDoNothing(e) {
23010
23010
  !e && this.state === 2 && this.hideTooltip(), this.onBodyScrollEventCallback && (this.onBodyScrollEventCallback(), this.onBodyScrollEventCallback = void 0), this.onColumnMovedEventCallback && (this.onColumnMovedEventCallback(), this.onColumnMovedEventCallback = void 0), this.onDocumentKeyDownCallback && (this.onDocumentKeyDownCallback(), this.onDocumentKeyDownCallback = void 0), this.clearTimeouts(), this.state = 0, this.lastMouseEvent = null;
@@ -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 ? tb : 0;
23116
+ const e = this.tooltipPopupDestroyFunc, t = this.tooltipComp, o = this.tooltipTrigger === 0 ? tS : 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 gs(e) {
23156
23156
  return e.get("tooltipShowMode") === "whenTruncated";
23157
23157
  }
23158
- var ib = class extends E {
23158
+ var iS = 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 ib = class extends E {
23179
23179
  }
23180
23180
  createTooltipFeatureIfNeeded() {
23181
23181
  this.tooltipManager == null && (this.tooltipManager = this.createBean(
23182
- new ob(this.ctrl, () => this.tooltip),
23182
+ new oS(this.ctrl, () => this.tooltip),
23183
23183
  this.beans.context
23184
23184
  ));
23185
23185
  }
@@ -23192,7 +23192,7 @@ var ib = class extends E {
23192
23192
  destroy() {
23193
23193
  this.tooltipManager = this.destroyBean(this.tooltipManager, this.beans.context), super.destroy();
23194
23194
  }
23195
- }, sb = {
23195
+ }, sS = {
23196
23196
  enableBrowserTooltips: !0,
23197
23197
  tooltipTrigger: !0,
23198
23198
  tooltipMouseTrack: !0,
@@ -23276,7 +23276,7 @@ var ib = class extends E {
23276
23276
  enableCellSpan: !0,
23277
23277
  enableFilterHandlers: !0,
23278
23278
  filterHandlers: !0
23279
- }, de = "clientSide", ne = "serverSide", Ct = "infinite", nb = {
23279
+ }, de = "clientSide", ne = "serverSide", Ct = "infinite", nS = {
23280
23280
  onGroupExpandedOrCollapsed: [de],
23281
23281
  refreshClientSideRowModel: [de],
23282
23282
  isRowDataEmpty: [de],
@@ -23306,7 +23306,7 @@ var ib = class extends E {
23306
23306
  onRowHeightChanged: [de, ne],
23307
23307
  setRowCount: [Ct, ne],
23308
23308
  getCacheBlockState: [Ct, ne]
23309
- }, rb = {
23309
+ }, rS = {
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 ib = class extends E {
23341
23341
  new: 'deselectAll("currentPage")'
23342
23342
  }
23343
23343
  };
23344
- function ab(e, t, o) {
23345
- const i = rb[e];
23344
+ function aS(e, t, o) {
23345
+ const i = rS[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,7 +23350,7 @@ function ab(e, t, o) {
23350
23350
  return io(`Since ${n} api.${d} is deprecated. ${u}${l ?? ""}`), t.apply(t, c);
23351
23351
  };
23352
23352
  }
23353
- const s = nb[e];
23353
+ const s = nS[e];
23354
23354
  return s ? (...n) => {
23355
23355
  const r = o.rowModel.getType();
23356
23356
  if (!s.includes(r)) {
@@ -23362,7 +23362,7 @@ function ab(e, t, o) {
23362
23362
  return t.apply(t, n);
23363
23363
  } : t;
23364
23364
  }
23365
- var lb = {
23365
+ var lS = {
23366
23366
  detailCellRendererCtrl: "SharedMasterDetail",
23367
23367
  dndSourceComp: "DragAndDrop",
23368
23368
  fillHandle: "CellSelection",
@@ -23382,7 +23382,7 @@ var lb = {
23382
23382
  agNumberColumnFilterHandler: "NumberFilter",
23383
23383
  agDateColumnFilterHandler: "DateFilter",
23384
23384
  agTextColumnFilterHandler: "TextFilter"
23385
- }, db = {
23385
+ }, dS = {
23386
23386
  expanded: 1,
23387
23387
  contracted: 1,
23388
23388
  "tree-closed": 1,
@@ -23450,7 +23450,7 @@ var lb = {
23450
23450
  "chevron-left": 1,
23451
23451
  "chevron-right": 1,
23452
23452
  edit: 1
23453
- }, cb = {
23453
+ }, cS = {
23454
23454
  chart: "MenuCore",
23455
23455
  cancel: "EnterpriseCore",
23456
23456
  first: "Pagination",
@@ -23557,7 +23557,7 @@ var lb = {
23557
23557
  rowUnpin: "PinnedRow",
23558
23558
  rowPinBottom: "PinnedRow",
23559
23559
  rowPinTop: "PinnedRow"
23560
- }, ub = /* @__PURE__ */ new Set([
23560
+ }, uS = /* @__PURE__ */ new Set([
23561
23561
  "colorPicker",
23562
23562
  "smallUp",
23563
23563
  "checkboxChecked",
@@ -23568,7 +23568,7 @@ var lb = {
23568
23568
  "smallDown",
23569
23569
  "smallLeft",
23570
23570
  "smallRight"
23571
- ]), hb = class extends E {
23571
+ ]), hS = class extends E {
23572
23572
  constructor() {
23573
23573
  super(...arguments), this.beanName = "validation";
23574
23574
  }
@@ -23576,13 +23576,13 @@ var lb = {
23576
23576
  this.gridOptions = e.gridOptions, vc(this);
23577
23577
  }
23578
23578
  warnOnInitialPropertyUpdate(e, t) {
23579
- e === "api" && sb[t] && I(22, { key: t });
23579
+ e === "api" && sS[t] && I(22, { key: t });
23580
23580
  }
23581
23581
  processGridOptions(e) {
23582
23582
  this.processOptions(e, Pw());
23583
23583
  }
23584
23584
  validateApiFunction(e, t) {
23585
- return ab(e, t, this.beans);
23585
+ return aS(e, t, this.beans);
23586
23586
  }
23587
23587
  missingUserComponent(e, t, o, i) {
23588
23588
  const s = Lt[t];
@@ -23597,7 +23597,7 @@ var lb = {
23597
23597
  });
23598
23598
  }
23599
23599
  missingDynamicBean(e) {
23600
- const t = lb[e];
23600
+ const t = lS[e];
23601
23601
  return t ? Te(200, {
23602
23602
  ...this.gos.getModuleErrorParams(),
23603
23603
  moduleName: t,
@@ -23605,12 +23605,12 @@ var lb = {
23605
23605
  }) : void 0;
23606
23606
  }
23607
23607
  checkRowEvents(e) {
23608
- pb.has(e) && I(10, { eventType: e });
23608
+ pS.has(e) && I(10, { eventType: e });
23609
23609
  }
23610
23610
  validateIcon(e) {
23611
- if (ub.has(e) && I(43, { iconName: e }), db[e])
23611
+ if (uS.has(e) && I(43, { iconName: e }), dS[e])
23612
23612
  return;
23613
- const t = cb[e];
23613
+ const t = cS[e];
23614
23614
  if (t) {
23615
23615
  K(200, {
23616
23616
  reasonOrId: `icon '${e}'`,
@@ -23644,8 +23644,8 @@ var lb = {
23644
23644
  Object.keys(e).forEach((c) => {
23645
23645
  const u = i[c];
23646
23646
  if (u) {
23647
- const { message: w, version: b } = u;
23648
- l.add(`As of v${b}, ${String(c)} is deprecated. ${w ?? ""}`);
23647
+ const { message: w, version: S } = u;
23648
+ l.add(`As of v${S}, ${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 lb = {
23701
23701
  `);
23702
23702
  }
23703
23703
  checkProperties(e, t, o, i, s) {
23704
- const n = ["__ob__", "__v_skip", "__metadata__"], r = gb(
23704
+ const n = ["__ob__", "__v_skip", "__metadata__"], r = gS(
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 gb(e, t, o) {
23724
+ function gS(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 gb(e, t, o) {
23729
23729
  (n) => i[n] = Ys({ inputValue: n, allSuggestions: o }).values
23730
23730
  ), i;
23731
23731
  }
23732
- var pb = /* @__PURE__ */ new Set([
23732
+ var pS = /* @__PURE__ */ new Set([
23733
23733
  "firstChildChanged",
23734
23734
  "lastChildChanged",
23735
23735
  "childIndexChanged"
23736
- ]), fb = {
23736
+ ]), fS = {
23737
23737
  moduleName: "Validation",
23738
23738
  version: M,
23739
- beans: [hb]
23740
- }, Wo = 0, Cb = 200, mb = class extends E {
23739
+ beans: [hS]
23740
+ }, Wo = 0, CS = 200, mS = class extends E {
23741
23741
  constructor() {
23742
23742
  super(...arguments), this.beanName = "popupSvc", this.popupList = [];
23743
23743
  }
@@ -23889,7 +23889,7 @@ var pb = /* @__PURE__ */ new Set([
23889
23889
  };
23890
23890
  if (l(), !n) {
23891
23891
  const d = ht(this.beans, t, () => l(!0));
23892
- setTimeout(() => d(), Cb);
23892
+ setTimeout(() => d(), CS);
23893
23893
  }
23894
23894
  }
23895
23895
  getActivePopups() {
@@ -23944,12 +23944,12 @@ var pb = /* @__PURE__ */ new Set([
23944
23944
  return;
23945
23945
  C.key === y.ESCAPE && !Oe(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: b, forceHide: v } = C;
23947
+ const { mouseEvent: m, touchEvent: w, keyboardEvent: S, 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 || b), 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 || S), 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 pb = /* @__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 b = h[m] - g[m];
24018
- if (b != C.lastDiff) {
24017
+ const S = h[m] - g[m];
24018
+ if (S != C.lastDiff) {
24019
24019
  const v = this.keepXYWithinBounds(
24020
24020
  s,
24021
- C.initial + C.initialDiff - b,
24021
+ C.initial + C.initialDiff - S,
24022
24022
  C.direction
24023
24023
  );
24024
24024
  s.style[m] = `${v}px`, C.last = v;
24025
24025
  }
24026
- C.lastDiff = b;
24026
+ C.lastDiff = S;
24027
24027
  };
24028
24028
  f(l, "top"), f(d, "left");
24029
24029
  }, 200).then((h) => {
@@ -24094,15 +24094,15 @@ var pb = /* @__PURE__ */ new Set([
24094
24094
  }, Yl = {
24095
24095
  moduleName: "Popup",
24096
24096
  version: M,
24097
- beans: [mb]
24098
- }, wb = (
24097
+ beans: [mS]
24098
+ }, wS = (
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
  ), ps = (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
- }, vb = class extends E {
24105
+ }, vS = class extends E {
24106
24106
  constructor() {
24107
24107
  super(...arguments), this.beanName = "tooltipSvc";
24108
24108
  }
@@ -24231,19 +24231,19 @@ var pb = /* @__PURE__ */ new Set([
24231
24231
  }, Zl = {
24232
24232
  moduleName: "Tooltip",
24233
24233
  version: M,
24234
- beans: [vb],
24234
+ beans: [vS],
24235
24235
  dynamicBeans: {
24236
- tooltipFeature: ib
24236
+ tooltipFeature: iS
24237
24237
  },
24238
24238
  userComponents: {
24239
24239
  agTooltipComponent: Jv
24240
24240
  },
24241
24241
  dependsOn: [Yl],
24242
- css: [wb]
24243
- }, bb = (
24242
+ css: [wS]
24243
+ }, SS = (
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
- ), Sb = {
24246
+ ), bS = {
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 pb = /* @__PURE__ */ new Set([
24253
24253
  role: "presentation"
24254
24254
  }
24255
24255
  ]
24256
- }, yb = class extends Mi {
24256
+ }, yS = class extends Mi {
24257
24257
  constructor() {
24258
- super(Sb, [Sn]), this.eEditor = T;
24258
+ super(bS, [bn]), this.eEditor = T;
24259
24259
  }
24260
24260
  initialiseEditor(e) {
24261
24261
  const t = e.value ?? void 0, o = this.eEditor;
@@ -24334,16 +24334,16 @@ var pb = /* @__PURE__ */ new Set([
24334
24334
  getValidationErrors() {
24335
24335
  return this.cellEditorInput.getValidationErrors();
24336
24336
  }
24337
- }, Rb = {
24337
+ }, RS = {
24338
24338
  tag: "ag-input-date-field",
24339
24339
  ref: "eEditor",
24340
24340
  cls: "ag-cell-editor"
24341
- }, Eb = class {
24341
+ }, ES = class {
24342
24342
  constructor(e, t) {
24343
24343
  this.getDataTypeService = e, this.getLocaleTextFunc = t;
24344
24344
  }
24345
24345
  getTemplate() {
24346
- return Rb;
24346
+ return RS;
24347
24347
  }
24348
24348
  getAgComponents() {
24349
24349
  return [wl];
@@ -24389,25 +24389,25 @@ var pb = /* @__PURE__ */ new Set([
24389
24389
  if (e instanceof Date)
24390
24390
  return $e(e, this.includeTime ?? !1);
24391
24391
  }
24392
- }, xb = class extends Gi {
24392
+ }, xS = class extends Gi {
24393
24393
  constructor() {
24394
24394
  super(
24395
- new Eb(
24395
+ new ES(
24396
24396
  () => this.beans.dataTypeSvc,
24397
24397
  () => this.getLocaleTextFunc()
24398
24398
  )
24399
24399
  );
24400
24400
  }
24401
- }, Db = {
24401
+ }, DS = {
24402
24402
  tag: "ag-input-date-field",
24403
24403
  ref: "eEditor",
24404
24404
  cls: "ag-cell-editor"
24405
- }, Fb = class {
24405
+ }, FS = class {
24406
24406
  constructor(e, t) {
24407
24407
  this.getDataTypeService = e, this.getLocaleTextFunc = t;
24408
24408
  }
24409
24409
  getTemplate() {
24410
- return Db;
24410
+ return DS;
24411
24411
  }
24412
24412
  getAgComponents() {
24413
24413
  return [wl];
@@ -24457,22 +24457,22 @@ var pb = /* @__PURE__ */ new Set([
24457
24457
  }
24458
24458
  parseDate(e) {
24459
24459
  const t = this.getDataTypeService();
24460
- return t ? t.getDateParserFunction(this.params.column)(e) : So(e) ?? void 0;
24460
+ return t ? t.getDateParserFunction(this.params.column)(e) : bo(e) ?? void 0;
24461
24461
  }
24462
24462
  formatDate(e) {
24463
24463
  const t = this.getDataTypeService();
24464
24464
  return t ? t.getDateFormatterFunction(this.params.column)(e) : $e(e ?? null, this.includeTime ?? !1) ?? void 0;
24465
24465
  }
24466
- }, Pb = class extends Gi {
24466
+ }, PS = class extends Gi {
24467
24467
  constructor() {
24468
24468
  super(
24469
- new Fb(
24469
+ new FS(
24470
24470
  () => this.beans.dataTypeSvc,
24471
24471
  () => this.getLocaleTextFunc()
24472
24472
  )
24473
24473
  );
24474
24474
  }
24475
- }, Tb = {
24475
+ }, TS = {
24476
24476
  tag: "div",
24477
24477
  cls: "ag-large-text",
24478
24478
  children: [
@@ -24482,9 +24482,9 @@ var pb = /* @__PURE__ */ new Set([
24482
24482
  cls: "ag-large-text-input"
24483
24483
  }
24484
24484
  ]
24485
- }, Ib = class extends Mi {
24485
+ }, IS = class extends Mi {
24486
24486
  constructor() {
24487
- super(Tb, [Sp]), this.eEditor = T;
24487
+ super(TS, [bp]), this.eEditor = T;
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 pb = /* @__PURE__ */ new Set([
24518
24518
  cellEditorParams: e
24519
24519
  }) : n;
24520
24520
  }
24521
- }, Ab = {
24521
+ }, AS = {
24522
24522
  tag: "ag-input-number-field",
24523
24523
  ref: "eEditor",
24524
24524
  cls: "ag-cell-editor"
24525
- }, Mb = class {
24525
+ }, MS = class {
24526
24526
  constructor(e) {
24527
24527
  this.getLocaleTextFunc = e;
24528
24528
  }
24529
24529
  getTemplate() {
24530
- return Ab;
24530
+ return AS;
24531
24531
  }
24532
24532
  getAgComponents() {
24533
24533
  return [Rp];
@@ -24575,11 +24575,11 @@ var pb = /* @__PURE__ */ new Set([
24575
24575
  setCaret() {
24576
24576
  _t() && this.eEditor.getInputElement().focus({ preventScroll: !0 });
24577
24577
  }
24578
- }, kb = class extends Gi {
24578
+ }, kS = class extends Gi {
24579
24579
  constructor() {
24580
- super(new Mb(() => this.getLocaleTextFunc()));
24580
+ super(new MS(() => this.getLocaleTextFunc()));
24581
24581
  }
24582
- }, Lb = {
24582
+ }, LS = {
24583
24583
  tag: "div",
24584
24584
  cls: "ag-cell-edit-wrapper",
24585
24585
  children: [
@@ -24589,9 +24589,9 @@ var pb = /* @__PURE__ */ new Set([
24589
24589
  cls: "ag-cell-editor"
24590
24590
  }
24591
24591
  ]
24592
- }, Gb = class extends Mi {
24592
+ }, GS = class extends Mi {
24593
24593
  constructor() {
24594
- super(Lb, [Ap]), this.eEditor = T, this.startedByEnter = !1;
24594
+ super(LS, [Ap]), this.eEditor = T, this.startedByEnter = !1;
24595
24595
  }
24596
24596
  wireBeans(e) {
24597
24597
  this.valueSvc = e.valueSvc;
@@ -24643,16 +24643,16 @@ var pb = /* @__PURE__ */ new Set([
24643
24643
  cellEditorParams: e
24644
24644
  }) : s;
24645
24645
  }
24646
- }, Hb = {
24646
+ }, HS = {
24647
24647
  tag: "ag-input-text-field",
24648
24648
  ref: "eEditor",
24649
24649
  cls: "ag-cell-editor"
24650
- }, Ob = class {
24650
+ }, OS = class {
24651
24651
  constructor(e) {
24652
24652
  this.getLocaleTextFunc = e;
24653
24653
  }
24654
24654
  getTemplate() {
24655
- return Hb;
24655
+ return HS;
24656
24656
  }
24657
24657
  getAgComponents() {
24658
24658
  return [vp];
@@ -24683,13 +24683,13 @@ var pb = /* @__PURE__ */ new Set([
24683
24683
  }
24684
24684
  }, Tr = class extends Gi {
24685
24685
  constructor() {
24686
- super(new Ob(() => this.getLocaleTextFunc()));
24686
+ super(new OS(() => this.getLocaleTextFunc()));
24687
24687
  }
24688
24688
  };
24689
- function Bb(e) {
24689
+ function BS(e) {
24690
24690
  return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
24691
24691
  }
24692
- function Vb(e) {
24692
+ function VS(e) {
24693
24693
  return e.ctrlsSvc.getScrollFeature().getHScrollPosition();
24694
24694
  }
24695
24695
  function Ql(e, t, o = "auto") {
@@ -24704,13 +24704,13 @@ function Xl(e, t, o) {
24704
24704
  "ensureVisible"
24705
24705
  );
24706
24706
  }
24707
- function Nb(e, t, o = null) {
24707
+ function NS(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 _b(e) {
24713
+ function _S(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 _b(e) {
24733
24733
  });
24734
24734
  }), o;
24735
24735
  }
24736
- function Wb(e, t = !1) {
24736
+ function WS(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
  }) : Qe(e, !0), It(e)) : o == null || o.stopEditing(void 0, { cancel: t, source: "api" });
24742
24742
  }
24743
- function zb(e, t) {
24743
+ function zS(e, t) {
24744
24744
  var i;
24745
24745
  const o = j(e, t);
24746
24746
  return ((i = e.editSvc) == null ? void 0 : i.isEditing(o)) ?? !1;
24747
24747
  }
24748
- function $b(e, t) {
24748
+ function $S(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
  I(12, { colKey: i });
@@ -24772,13 +24772,13 @@ function $b(e, t) {
24772
24772
  }
24773
24773
  );
24774
24774
  }
24775
- function Ub(e) {
24775
+ function US(e) {
24776
24776
  var t;
24777
24777
  return ((t = e.editSvc) == null ? void 0 : t.validateEdit()) || null;
24778
24778
  }
24779
- var Kb = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, jb = class extends vn {
24779
+ var KS = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, jS = class extends vn {
24780
24780
  constructor(e) {
24781
- super(Kb), this.params = e;
24781
+ super(KS), this.params = e;
24782
24782
  }
24783
24783
  postConstruct() {
24784
24784
  rt(this.gos, this.getGui(), "popupEditorWrapper", !0), this.addKeyDownListener();
@@ -24815,7 +24815,7 @@ function td(e, { rowNode: t, column: o }) {
24815
24815
  })
24816
24816
  );
24817
24817
  }
24818
- var qb = class extends E {
24818
+ var qS = 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 qb = 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
- }, Yb = class extends E {
24840
+ }, YS = 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 qb = 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
- }, Zb = ({ rowModel: e, pinnedRowModel: t, editModelSvc: o }, i) => {
24866
+ }, ZS = ({ 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
- }, Qb = ({ editModelSvc: e }, t, o) => {
24871
+ }, QS = ({ 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
- }, Xb = (e) => () => {
24878
+ }, XS = (e) => () => {
24879
24879
  const t = new Set(e.colModel.getCols()), o = e.editModelSvc.getEditMap(!0), i = new Set(o.keys());
24880
- Qb(e, Zb(e, i), t);
24881
- }, Jb = /* @__PURE__ */ new Set(["undo", "redo"]), od = {
24880
+ QS(e, ZS(e, i), t);
24881
+ }, JS = /* @__PURE__ */ new Set(["undo", "redo"]), od = {
24882
24882
  paste: "ui",
24883
24883
  rangeSvc: "ui",
24884
24884
  fillHandle: "api",
24885
24885
  cellClear: "api"
24886
- }, eS = new Set(Object.keys(od)), tS = /* @__PURE__ */ new Set([
24886
+ }, eb = new Set(Object.keys(od)), tb = /* @__PURE__ */ new Set([
24887
24887
  "paste",
24888
24888
  "rangeSvc",
24889
24889
  "renderer",
24890
24890
  "cellClear",
24891
24891
  "redo",
24892
24892
  "undo"
24893
- ]), zo = { cancel: !0, source: "api" }, oS = { cancel: !1, source: "api" }, mt = { checkSiblings: !0 }, Zt = { force: !0, suppressFlash: !0 }, iS = class extends E {
24893
+ ]), zo = { cancel: !0, source: "api" }, ob = { cancel: !1, source: "api" }, mt = { checkSiblings: !0 }, Zt = { force: !0, suppressFlash: !0 }, ib = class extends E {
24894
24894
  constructor() {
24895
24895
  super(...arguments), this.beanName = "editSvc", this.batch = !1;
24896
24896
  }
@@ -24899,9 +24899,9 @@ var qb = 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, zo), this.createStrategy(i);
24901
24901
  });
24902
- const t = Xb(e), o = () => {
24902
+ const t = XS(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, zo) : this.isEditing() && (this.isBatchEditing() ? It(e, this.model.getEditPositions()) : this.stopEditing(void 0, oS)), !1;
24904
+ return i || s ? this.stopEditing(void 0, zo) : this.isEditing() && (this.isBatchEditing() ? It(e, this.model.getEditPositions()) : this.stopEditing(void 0, ob)), !1;
24905
24905
  };
24906
24906
  this.addManagedEventListeners({
24907
24907
  columnPinned: t,
@@ -24948,7 +24948,7 @@ var qb = 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 bh(this.beans);
24951
+ return Sh(this.beans);
24952
24952
  }
24953
24953
  isEditing(e, t) {
24954
24954
  return this.model.hasEdits(e, t ?? mt);
@@ -24977,7 +24977,7 @@ var qb = 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 (eS.has(s))
24980
+ if (eb.has(s))
24981
24981
  return this.isBatchEditing() ? (this.bulkRefresh(e), !1) : this.stopEditing(e, { ...t, source: od[s] });
24982
24982
  if (!(this.isEditing(e) || this.isBatchEditing() && a.hasEdits(e, mt)) || !this.strategy)
24983
24983
  return !1;
@@ -24990,8 +24990,8 @@ var qb = 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, b = m === y.ESCAPE, v = m === y.TAB;
24994
- (w || v || b) && (w || v ? Qe(r, !0) : b && this.revertSingleCellEdit(d), this.isBatchEditing() ? (C = this.strategy) == null || C.cleanupEditors() : It(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, S = m === y.ESCAPE, v = m === y.TAB;
24994
+ (w || v || S) && (w || v ? Qe(r, !0) : S && this.revertSingleCellEdit(d), this.isBatchEditing() ? (C = this.strategy) == null || C.cleanupEditors() : It(r, a.getEditPositions(), { event: o }), o.preventDefault(), this.bulkRefresh(e, c, { suppressFlash: !0 }), c = a.getEditMap());
24995
24995
  } else
24996
24996
  Qe(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), Hs(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 qb = class extends E {
25134
25134
  ph(this, this.beans, e);
25135
25135
  }
25136
25136
  createPopupEditorWrapper(e) {
25137
- return new jb(e);
25137
+ return new jS(e);
25138
25138
  }
25139
25139
  setDataValue(e, t, o) {
25140
25140
  var r;
25141
- if ((!this.isEditing() || o === "commit") && !tS.has(o))
25141
+ if ((!this.isEditing() || o === "commit") && !tb.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 || Jb.has(o))
25146
+ if (!o || JS.has(o))
25147
25147
  return Zo(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 qb = class extends E {
25249
25249
  l && l.focusCell(!0);
25250
25250
  }
25251
25251
  createCellStyleFeature(e, t) {
25252
- return new qb(e, t);
25252
+ return new qS(e, t);
25253
25253
  }
25254
25254
  createRowStyleFeature(e, t) {
25255
- return new Yb(e, t);
25255
+ return new YS(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 qb = class extends E {
25424
25424
  destroy() {
25425
25425
  this.cleanupEditors(), super.destroy();
25426
25426
  }
25427
- }, sS = class extends id {
25427
+ }, sb = class extends id {
25428
25428
  constructor() {
25429
25429
  super(...arguments), this.beanName = "fullRow", this.startedRows = [];
25430
25430
  }
@@ -25542,7 +25542,7 @@ var qb = class extends E {
25542
25542
  destroy() {
25543
25543
  super.destroy(), this.rowNode = void 0, this.startedRows.length = 0;
25544
25544
  }
25545
- }, nS = class extends id {
25545
+ }, nb = class extends id {
25546
25546
  constructor() {
25547
25547
  super(...arguments), this.beanName = "singleCell";
25548
25548
  }
@@ -25618,86 +25618,86 @@ var qb = class extends E {
25618
25618
  }, pt = {
25619
25619
  moduleName: "EditCore",
25620
25620
  version: M,
25621
- beans: [rh, iS],
25621
+ beans: [rh, ib],
25622
25622
  apiFunctions: {
25623
- getEditingCells: _b,
25623
+ getEditingCells: _S,
25624
25624
  getCellEditorInstances: fh,
25625
- startEditingCell: $b,
25626
- stopEditing: Wb,
25627
- isEditing: zb,
25628
- validateEdit: Ub
25625
+ startEditingCell: $S,
25626
+ stopEditing: WS,
25627
+ isEditing: zS,
25628
+ validateEdit: US
25629
25629
  },
25630
25630
  dynamicBeans: {
25631
- singleCell: nS,
25632
- fullRow: sS
25631
+ singleCell: nb,
25632
+ fullRow: sb
25633
25633
  },
25634
25634
  dependsOn: [Yl, Zl],
25635
- css: [bb]
25636
- }, rS = {
25635
+ css: [SS]
25636
+ }, rb = {
25637
25637
  moduleName: "TextEditor",
25638
25638
  version: M,
25639
25639
  userComponents: { agCellEditor: Tr, agTextCellEditor: Tr },
25640
25640
  dependsOn: [pt]
25641
- }, aS = {
25641
+ }, ab = {
25642
25642
  moduleName: "NumberEditor",
25643
25643
  version: M,
25644
25644
  userComponents: {
25645
25645
  agNumberCellEditor: {
25646
- classImp: kb
25646
+ classImp: kS
25647
25647
  }
25648
25648
  },
25649
25649
  dependsOn: [pt]
25650
- }, lS = {
25650
+ }, lb = {
25651
25651
  moduleName: "DateEditor",
25652
25652
  version: M,
25653
25653
  userComponents: {
25654
- agDateCellEditor: xb,
25655
- agDateStringCellEditor: Pb
25654
+ agDateCellEditor: xS,
25655
+ agDateStringCellEditor: PS
25656
25656
  },
25657
25657
  dependsOn: [pt]
25658
- }, dS = {
25658
+ }, db = {
25659
25659
  moduleName: "CheckboxEditor",
25660
25660
  version: M,
25661
25661
  userComponents: {
25662
- agCheckboxCellEditor: yb
25662
+ agCheckboxCellEditor: yS
25663
25663
  },
25664
25664
  dependsOn: [pt]
25665
- }, cS = {
25665
+ }, cb = {
25666
25666
  moduleName: "SelectEditor",
25667
25667
  version: M,
25668
- userComponents: { agSelectCellEditor: Gb },
25668
+ userComponents: { agSelectCellEditor: GS },
25669
25669
  dependsOn: [pt]
25670
- }, uS = {
25670
+ }, ub = {
25671
25671
  moduleName: "LargeTextEditor",
25672
25672
  version: M,
25673
- userComponents: { agLargeTextCellEditor: Ib },
25673
+ userComponents: { agLargeTextCellEditor: IS },
25674
25674
  dependsOn: [pt]
25675
- }, hS = {
25675
+ }, hb = {
25676
25676
  moduleName: "CustomEditor",
25677
25677
  version: M,
25678
25678
  dependsOn: [pt]
25679
25679
  };
25680
- function gS(e) {
25680
+ function gb(e) {
25681
25681
  var t;
25682
25682
  (t = e.expansionSvc) == null || t.expandAll(!0);
25683
25683
  }
25684
- function pS(e) {
25684
+ function pb(e) {
25685
25685
  var t;
25686
25686
  (t = e.expansionSvc) == null || t.expandAll(!1);
25687
25687
  }
25688
- function fS(e) {
25688
+ function fb(e) {
25689
25689
  const t = ke(e), o = jv(e);
25690
25690
  t ? t.onRowHeightChanged() : o && o.onRowHeightChanged();
25691
25691
  }
25692
- var CS = {
25692
+ var Cb = {
25693
25693
  moduleName: "CsrmSsrmSharedApi",
25694
25694
  version: M,
25695
25695
  apiFunctions: {
25696
- expandAll: gS,
25697
- collapseAll: pS,
25698
- onRowHeightChanged: fS
25696
+ expandAll: gb,
25697
+ collapseAll: pb,
25698
+ onRowHeightChanged: fb
25699
25699
  }
25700
- }, mS = class extends E {
25700
+ }, mb = class extends E {
25701
25701
  constructor() {
25702
25702
  super(...arguments), this.beanName = "alignedGridsSvc", this.consuming = !1;
25703
25703
  }
@@ -25846,27 +25846,27 @@ var CS = {
25846
25846
  u.setGridOption("alwaysShowVerticalScroll", d);
25847
25847
  });
25848
25848
  }
25849
- }, wS = {
25849
+ }, wb = {
25850
25850
  moduleName: "AlignedGrids",
25851
25851
  version: M,
25852
- beans: [mS],
25852
+ beans: [mb],
25853
25853
  dependsOn: [Dl]
25854
- }, vS = "↑", bS = "↓", SS = {
25854
+ }, vb = "↑", Sb = "↓", bb = {
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
- }, yS = class extends Y {
25860
+ }, yb = class extends Y {
25861
25861
  constructor() {
25862
- super(SS), this.eValue = T, this.eDelta = T, this.refreshCount = 0;
25862
+ super(bb), this.eValue = T, this.eDelta = T, 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 = A(i) ? i : o, n = t >= 0, r = this.eDelta;
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);
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);
25870
25870
  }
25871
25871
  setTimerToRemoveDelta() {
25872
25872
  this.refreshCount++;
@@ -25894,15 +25894,15 @@ var CS = {
25894
25894
  }
25895
25895
  return n && s.classList.add("ag-value-change-value-highlight"), t || this.setTimerToRemoveDelta(), this.lastValue = o, !0;
25896
25896
  }
25897
- }, RS = (
25897
+ }, Rb = (
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
- ), ES = {
25900
+ ), Eb = {
25901
25901
  tag: "span",
25902
25902
  children: [{ tag: "span", ref: "eCurrent", cls: "ag-value-slide-current" }]
25903
- }, xS = class extends Y {
25903
+ }, xb = class extends Y {
25904
25904
  constructor() {
25905
- super(ES), this.eCurrent = T, this.refreshCount = 0, this.registerCSS(RS);
25905
+ super(Eb), this.eCurrent = T, this.refreshCount = 0, this.registerCSS(Rb);
25906
25906
  }
25907
25907
  init(e) {
25908
25908
  this.refresh(e, !0);
@@ -25929,7 +25929,7 @@ var CS = {
25929
25929
  const i = this.eCurrent;
25930
25930
  return A(e.valueFormatted) ? i.textContent = e.valueFormatted : A(e.value) ? i.textContent = o : we(i), !0;
25931
25931
  }
25932
- }, DS = class extends E {
25932
+ }, Db = 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 CS = {
25998
25998
  this.animations[e].clear();
25999
25999
  }
26000
26000
  };
26001
- function FS(e, t = {}) {
26001
+ function Fb(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 PS = {
26007
+ var Pb = {
26008
26008
  moduleName: "HighlightChanges",
26009
26009
  version: M,
26010
- beans: [DS],
26010
+ beans: [Db],
26011
26011
  userComponents: {
26012
- agAnimateShowChangeCellRenderer: yS,
26013
- agAnimateSlideCellRenderer: xS
26012
+ agAnimateShowChangeCellRenderer: yb,
26013
+ agAnimateSlideCellRenderer: xb
26014
26014
  },
26015
26015
  apiFunctions: {
26016
- flashCells: FS
26016
+ flashCells: Fb
26017
26017
  }
26018
26018
  };
26019
- function TS(e) {
26019
+ function Tb(e) {
26020
26020
  var t;
26021
26021
  return ((t = e.stateSvc) == null ? void 0 : t.getState()) ?? {};
26022
26022
  }
26023
- function IS(e, t, o) {
26023
+ function Ib(e, t, o) {
26024
26024
  var i;
26025
26025
  return (i = e.stateSvc) == null ? void 0 : i.setState(t, o);
26026
26026
  }
26027
26027
  function Ir(e) {
26028
26028
  switch (e = { ...e }, e.version || (e.version = "32.1.0"), e.version) {
26029
26029
  case "32.1.0":
26030
- e = AS(e);
26030
+ e = Ab(e);
26031
26031
  }
26032
26032
  return e.version = M, e;
26033
26033
  }
26034
- function AS(e) {
26035
- return e.cellSelection = MS(e, "rangeSelection"), e;
26034
+ function Ab(e) {
26035
+ return e.cellSelection = Mb(e, "rangeSelection"), e;
26036
26036
  }
26037
- function MS(e, t) {
26037
+ function Mb(e, t) {
26038
26038
  if (e && typeof e == "object")
26039
26039
  return e[t];
26040
26040
  }
26041
- var kS = class extends E {
26041
+ var kb = 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 = me(this, () => this.dispatchQueuedStateUpdateEvents(), 0), this.onRowGroupOpenedDebounced = me(
26044
26044
  this,
@@ -26230,24 +26230,24 @@ var kS = class extends E {
26230
26230
  w && (r == null || r.aggregationModel.forEach(({ colId: F, aggFunc: L }) => {
26231
26231
  p(F).aggFunc = L;
26232
26232
  })), (w || !o) && (f.aggFunc = null);
26233
- const b = h("pivot", a);
26234
- b && (a == null || a.pivotColIds.forEach((F, L) => {
26233
+ const S = h("pivot", a);
26234
+ S && (a == null || a.pivotColIds.forEach((F, L) => {
26235
26235
  const V = p(F);
26236
26236
  V.pivot = !0, V.pivotIndex = L;
26237
26237
  }), this.gos.updateGridOptions({
26238
26238
  options: { pivotMode: !!(a != null && a.pivotMode) },
26239
26239
  source: t
26240
- })), (b || !o) && (f.pivot = null, f.pivotIndex = null);
26240
+ })), (S || !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 S = h("columnVisibility", d);
26248
- S && (d == null || d.hiddenColIds.forEach((F) => {
26247
+ const b = h("columnVisibility", d);
26248
+ b && (d == null || d.hiddenColIds.forEach((F) => {
26249
26249
  p(F).hide = !0;
26250
- })), (S || !o) && (f.hide = null);
26250
+ })), (b || !o) && (f.hide = null);
26251
26251
  const x = h("columnSizing", c);
26252
26252
  x && (c == null || c.columnSizingModel.forEach(({ colId: F, flex: L, width: V }) => {
26253
26253
  const $ = p(F);
@@ -26540,101 +26540,101 @@ var kS = class extends E {
26540
26540
  suppressEventsAndDispatchInitEvent(e) {
26541
26541
  this.startSuppressEvents(), e(), this.stopSuppressEvents("gridInitializing");
26542
26542
  }
26543
- }, LS = {
26543
+ }, Lb = {
26544
26544
  moduleName: "GridState",
26545
26545
  version: M,
26546
- beans: [kS],
26546
+ beans: [kb],
26547
26547
  apiFunctions: {
26548
- getState: TS,
26549
- setState: IS
26548
+ getState: Tb,
26549
+ setState: Ib
26550
26550
  }
26551
26551
  };
26552
- function GS(e, t = {}) {
26552
+ function Gb(e, t = {}) {
26553
26553
  const o = t ? t.rowNodes : void 0;
26554
26554
  e.frameworkOverrides.wrapIncoming(() => e.rowRenderer.redrawRows(o));
26555
26555
  }
26556
26556
  function sd(e, t, o, i, s) {
26557
26557
  t && (i && t.parent && t.parent.level !== -1 && sd(e, t.parent, o, i, s), t.setExpanded(o, void 0, s));
26558
26558
  }
26559
- function HS(e, t) {
26559
+ function Hb(e, t) {
26560
26560
  return e.rowModel.getRowNode(t);
26561
26561
  }
26562
- function OS(e, t, o, i) {
26562
+ function Ob(e, t, o, i) {
26563
26563
  e.rowRenderer.addRenderedRowListener(t, o, i);
26564
26564
  }
26565
- function BS(e) {
26565
+ function Bb(e) {
26566
26566
  return e.rowRenderer.getRenderedNodes();
26567
26567
  }
26568
- function VS(e, t, o) {
26568
+ function Vb(e, t, o) {
26569
26569
  e.rowModel.forEachNode(t, o);
26570
26570
  }
26571
- function NS(e) {
26571
+ function Nb(e) {
26572
26572
  return e.rowRenderer.firstRenderedRow;
26573
26573
  }
26574
- function _S(e) {
26574
+ function _b(e) {
26575
26575
  return e.rowRenderer.lastRenderedRow;
26576
26576
  }
26577
- function WS(e, t) {
26577
+ function Wb(e, t) {
26578
26578
  return e.rowModel.getRow(t);
26579
26579
  }
26580
- function zS(e) {
26580
+ function zb(e) {
26581
26581
  return e.rowModel.getRowCount();
26582
26582
  }
26583
26583
  var nd = {
26584
26584
  moduleName: "RowApi",
26585
26585
  version: M,
26586
26586
  apiFunctions: {
26587
- redrawRows: GS,
26587
+ redrawRows: Gb,
26588
26588
  setRowNodeExpanded: sd,
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 = {
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 = {
26599
26599
  moduleName: "ScrollApi",
26600
26600
  version: M,
26601
26601
  apiFunctions: {
26602
- getVerticalPixelRange: Bb,
26603
- getHorizontalPixelRange: Vb,
26602
+ getVerticalPixelRange: BS,
26603
+ getHorizontalPixelRange: VS,
26604
26604
  ensureColumnVisible: Ql,
26605
26605
  ensureIndexVisible: Xl,
26606
- ensureNodeVisible: Nb
26606
+ ensureNodeVisible: NS
26607
26607
  }
26608
26608
  };
26609
- function US(e, t, o) {
26609
+ function Ub(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 KS(e, t = {}) {
26615
+ function Kb(e, t = {}) {
26616
26616
  e.frameworkOverrides.wrapIncoming(() => e.rowRenderer.refreshCells(t));
26617
26617
  }
26618
- function jS(e) {
26618
+ function jb(e) {
26619
26619
  e.frameworkOverrides.wrapIncoming(
26620
26620
  () => e.ctrlsSvc.getHeaderRowContainerCtrls().forEach((t) => t.refresh())
26621
26621
  );
26622
26622
  }
26623
- function qS(e) {
26623
+ function qb(e) {
26624
26624
  var t;
26625
26625
  return ((t = e.animationFrameSvc) == null ? void 0 : t.isQueueEmpty()) ?? !0;
26626
26626
  }
26627
- function YS(e) {
26627
+ function Yb(e) {
26628
26628
  var t;
26629
26629
  (t = e.animationFrameSvc) == null || t.flushAllFrames();
26630
26630
  }
26631
- function ZS(e) {
26631
+ function Zb(e) {
26632
26632
  return {
26633
26633
  rowHeight: rn(e),
26634
26634
  headerHeight: Io(e)
26635
26635
  };
26636
26636
  }
26637
- function QS(e, t = {}) {
26637
+ function Qb(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 QS(e, t = {}) {
26653
26653
  }
26654
26654
  }), [...i, ...o];
26655
26655
  }
26656
- var XS = {
26656
+ var Xb = {
26657
26657
  moduleName: "RenderApi",
26658
26658
  version: M,
26659
26659
  apiFunctions: {
26660
- setGridAriaProperty: US,
26661
- refreshCells: KS,
26662
- refreshHeader: jS,
26663
- isAnimationFrameQueueEmpty: qS,
26664
- flushAllAnimationFrames: YS,
26665
- getSizesForCurrentTheme: ZS,
26666
- getCellRendererInstances: QS
26660
+ setGridAriaProperty: Ub,
26661
+ refreshCells: Kb,
26662
+ refreshHeader: jb,
26663
+ isAnimationFrameQueueEmpty: qb,
26664
+ flushAllAnimationFrames: Yb,
26665
+ getSizesForCurrentTheme: Zb,
26666
+ getCellRendererInstances: Qb
26667
26667
  }
26668
26668
  };
26669
- function JS(e, t) {
26669
+ function Jb(e, t) {
26670
26670
  var o, i;
26671
26671
  typeof t == "number" ? (o = e.colAutosize) == null || o.sizeColumnsToFit(t, "api") : (i = e.colAutosize) == null || i.sizeColumnsToFitGridBody(t);
26672
26672
  }
@@ -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: b, maxWidth: v, minWidth: S }) => [b, { maxWidth: v, minWidth: S }])
26719
+ a.map(({ colId: S, maxWidth: v, minWidth: b }) => [S, { maxWidth: v, minWidth: b }])
26720
26720
  ), m = o ?? this.gos.get("skipHeaderOnAutoSize"), w = i ?? m;
26721
26721
  for (; f !== 0; ) {
26722
26722
  f = 0;
26723
- const b = [];
26723
+ const S = [];
26724
26724
  t.forEach((v) => {
26725
26725
  if (!v || Qc(v))
26726
26726
  return;
26727
- const S = u.getCol(v);
26728
- if (!S || p.indexOf(S) >= 0)
26727
+ const b = u.getCol(v);
26728
+ if (!b || p.indexOf(b) >= 0)
26729
26729
  return;
26730
- const x = h.getPreferredWidthForColumn(S, m);
26730
+ const x = h.getPreferredWidthForColumn(b, m);
26731
26731
  if (x > 0) {
26732
- const P = C[S.colId] ?? {};
26732
+ const P = C[b.colId] ?? {};
26733
26733
  P.minWidth ?? (P.minWidth = r), P.maxWidth ?? (P.maxWidth = n);
26734
- const k = oy(S, x, P);
26735
- S.setActualWidth(k, l), p.push(S), f++;
26734
+ const k = oy(b, x, P);
26735
+ b.setActualWidth(k, l), p.push(b), f++;
26736
26736
  }
26737
- b.push(S);
26738
- }), b.length && g.refresh(l);
26737
+ S.push(b);
26738
+ }), S.length && g.refresh(l);
26739
26739
  }
26740
26740
  w || this.autoSizeColumnGroupsByColumns(t, l, s), Ot(this.eventSvc, p, !0, "autosizeColumns");
26741
26741
  }
@@ -26824,8 +26824,8 @@ var ty = class extends E {
26824
26824
  if (e <= 0 || !n.length || e === Le(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), b = f.getActualWidth();
26828
- return (m == null || b >= m) && (w == null || b <= 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), S = f.getActualWidth();
26828
+ return (m == null || S >= m) && (w == null || S <= w);
26829
26829
  }))
26830
26830
  return;
26831
26831
  const a = [], l = [];
@@ -26858,7 +26858,7 @@ var ty = class extends E {
26858
26858
  const f = p / Le(a);
26859
26859
  let C = p;
26860
26860
  for (let m = a.length - 1; m >= 0; m--) {
26861
- const w = a[m], b = s == null ? void 0 : s[w.getId()], v = (b == null ? void 0 : b.minWidth) ?? (i == null ? void 0 : i.defaultMinWidth), S = (b == null ? void 0 : b.maxWidth) ?? (i == null ? void 0 : i.defaultMaxWidth), x = w.getMinWidth(), P = w.getMaxWidth(), k = typeof v == "number" && v > x ? v : x, D = typeof S == "number" && S < P ? S : P;
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(), P = w.getMaxWidth(), k = typeof v == "number" && v > x ? v : x, D = typeof b == "number" && b < P ? b : P;
26862
26862
  let F = Math.round(w.getActualWidth() * f);
26863
26863
  F < k ? (F = k, 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: M,
26928
26928
  beans: [ty],
26929
26929
  apiFunctions: {
26930
- sizeColumnsToFit: JS,
26930
+ sizeColumnsToFit: Jb,
26931
26931
  autoSizeColumns: rd,
26932
26932
  autoSizeAllColumns: ey
26933
26933
  },
@@ -27181,17 +27181,17 @@ var cy = {
27181
27181
  super(), this.column = e;
27182
27182
  }
27183
27183
  buildCache(e) {
27184
- var b;
27184
+ var S;
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, S) => {
27191
- p = v, f = null, C = S;
27190
+ const m = (v, b) => {
27191
+ p = v, f = null, C = b;
27192
27192
  }, w = (v) => {
27193
- const S = !v.isExpandable() && !v.group && !v.detail && (c ? !c({ rowNode: v }) : !0);
27194
- if (v.rowIndex == null || !S) {
27193
+ const b = !v.isExpandable() && !v.group && !v.detail && (c ? !c({ rowNode: v }) : !0);
27194
+ if (v.rowIndex == null || !b) {
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
- (b = s.forEachDisplayedNode) == null || b.call(s, (v) => {
27229
+ (S = s.forEachDisplayedNode) == null || S.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
- }, by = {
27441
+ }, Sy = {
27442
27442
  moduleName: "CellStyle",
27443
27443
  version: M,
27444
27444
  beans: [vy]
27445
- }, Sy = {
27445
+ }, by = {
27446
27446
  moduleName: "RowStyle",
27447
27447
  version: M,
27448
27448
  beans: [sg]
@@ -27702,8 +27702,8 @@ var My = {
27702
27702
  return;
27703
27703
  const { paddingTop: u, paddingBottom: h, borderBottomWidth: g, borderTopWidth: p } = ut(i), f = u + h + g + p, m = t.offsetHeight + f;
27704
27704
  if (c < 5) {
27705
- const b = te(r), v = !b || !b.contains(t), S = m == 0;
27706
- if (v || S) {
27705
+ const S = te(r), v = !S || !S.contains(t), b = m == 0;
27706
+ if (v || b) {
27707
27707
  window.setTimeout(() => a(c + 1), 0);
27708
27708
  return;
27709
27709
  }
@@ -27918,6 +27918,24 @@ class Ao {
27918
27918
  getId() {
27919
27919
  return this.actualRow.getId();
27920
27920
  }
27921
+ /**
27922
+ * 选中该行 (委派给 actualRow)
27923
+ */
27924
+ select(t) {
27925
+ this.actualRow.select(t);
27926
+ }
27927
+ /**
27928
+ * 取消选中该行 (委派给 actualRow)
27929
+ */
27930
+ unselect(t) {
27931
+ this.actualRow.unselect(t);
27932
+ }
27933
+ /**
27934
+ * 该行当前是否被选中 (委派给 actualRow)
27935
+ */
27936
+ isSelected() {
27937
+ return this.actualRow.isSelected();
27938
+ }
27921
27939
  getCell(t) {
27922
27940
  return this.actualRow.getCell(t, this.getNestingIndexes());
27923
27941
  }
@@ -27986,6 +28004,24 @@ class dd {
27986
28004
  getId() {
27987
28005
  return this.actualRow.id;
27988
28006
  }
28007
+ /**
28008
+ * 选中该行 (委派给 actualRow)
28009
+ */
28010
+ select(t) {
28011
+ this.actualRow.select(t);
28012
+ }
28013
+ /**
28014
+ * 取消选中该行 (委派给 actualRow)
28015
+ */
28016
+ unselect(t) {
28017
+ this.actualRow.unselect(t);
28018
+ }
28019
+ /**
28020
+ * 该行当前是否被选中 (委派给 actualRow)
28021
+ */
28022
+ isSelected() {
28023
+ return this.actualRow.isSelected();
28024
+ }
27989
28025
  getRowSpans() {
27990
28026
  return this.actualRow.getRowSpans();
27991
28027
  }
@@ -28428,9 +28464,9 @@ class Ny {
28428
28464
  if (h.length > 0) {
28429
28465
  const f = /* @__PURE__ */ new Set();
28430
28466
  for (const w of h)
28431
- for (const b of c.keys())
28432
- if (b.startsWith(`${w.id}|`)) {
28433
- const v = b.substring(w.id.length + 1);
28467
+ for (const S of c.keys())
28468
+ if (S.startsWith(`${w.id}|`)) {
28469
+ const v = S.substring(w.id.length + 1);
28434
28470
  f.add(v);
28435
28471
  }
28436
28472
  const C = h[0], m = s.spanRow;
@@ -29134,6 +29170,30 @@ class Hi {
29134
29170
  getId() {
29135
29171
  return this.id;
29136
29172
  }
29173
+ /**
29174
+ * 选中该行
29175
+ *
29176
+ * 走 bridge -> ag-grid setNodesSelected, 跟 grid.selectByIds([id]) 同一套语义.
29177
+ * 没有 bridge 时 (纯数据 / 单测场景) 是 noop.
29178
+ */
29179
+ select(t) {
29180
+ var o, i;
29181
+ (i = (o = this.bridge) == null ? void 0 : o.setSelected) == null || i.call(o, this, !0, t);
29182
+ }
29183
+ /**
29184
+ * 取消选中该行
29185
+ */
29186
+ unselect(t) {
29187
+ var o, i;
29188
+ (i = (o = this.bridge) == null ? void 0 : o.setSelected) == null || i.call(o, this, !1, t);
29189
+ }
29190
+ /**
29191
+ * 该行当前是否被选中
29192
+ */
29193
+ isSelected() {
29194
+ var t, o;
29195
+ return ((o = (t = this.bridge) == null ? void 0 : t.isRowSelected) == null ? void 0 : o.call(t, this)) ?? !1;
29196
+ }
29137
29197
  isEditing() {
29138
29198
  return !1;
29139
29199
  }
@@ -29689,6 +29749,40 @@ class Qy {
29689
29749
  };
29690
29750
  });
29691
29751
  }
29752
+ /**
29753
+ * 设置单行的选中状态
29754
+ *
29755
+ * 走 ag-grid 的 setNodesSelected, 跟 grid.selectByIds([id]) 同一套语义:
29756
+ * 勾选框状态、行选中事件、单选模式下的互斥都跟手动点勾选框一样.
29757
+ */
29758
+ setSelected(t, o, i = "api") {
29759
+ const s = this.findRowNodes(t);
29760
+ s.length !== 0 && this.gridApi.setNodesSelected({ nodes: s, newValue: o, source: i });
29761
+ }
29762
+ /**
29763
+ * 该行当前是否被选中
29764
+ *
29765
+ * 合并行: 该 ActualRow 拆出的所有 ProjectionRow 都选中才算选中
29766
+ */
29767
+ isRowSelected(t) {
29768
+ const o = this.findRowNodes(t);
29769
+ return o.length === 0 ? !1 : o.every((i) => i.isSelected());
29770
+ }
29771
+ /**
29772
+ * 按行 id 找 rowNode
29773
+ *
29774
+ * - node.data 是 ProjectionRow, getId() 委派给 actualRow.getId(),
29775
+ * 等于 rowIdMapper(rawData) 的输出, 跟业务传的 id 同体系
29776
+ * - 合并行: 同一 ActualRow 拆成多个 ProjectionRow, 这里会全部找到
29777
+ * - forEachNode 遍历所有 rowNode (含虚拟滚动未渲染的)
29778
+ */
29779
+ findRowNodes(t) {
29780
+ const o = t.getId(), i = [];
29781
+ return this.gridApi.forEachNode((s) => {
29782
+ const n = s.data;
29783
+ n && typeof n.getId == "function" && n.getId() === o && i.push(s);
29784
+ }), i;
29785
+ }
29692
29786
  }
29693
29787
  const cd = (e, t) => {
29694
29788
  if (t.length === 0) return [];
@@ -29731,7 +29825,7 @@ const cd = (e, t) => {
29731
29825
  }), d = ({ data: G }) => G.id, c = N(new Wy(e.rowIdMapper)), u = N(
29732
29826
  new Vy(e.rowData, c.value)
29733
29827
  );
29734
- St(
29828
+ bt(
29735
29829
  () => e.enableCursorPage,
29736
29830
  (G) => {
29737
29831
  c.value.enableCursorPage = G === !0;
@@ -29749,7 +29843,7 @@ const cd = (e, t) => {
29749
29843
  u.value.loadData();
29750
29844
  }, w = async (G, _ = 0) => {
29751
29845
  c.value.insertRows(G, _), m();
29752
- }, b = (G) => c.value.getRows().some((_) => _.getId() === G.getId()), v = () => c.value.getRows(), S = () => {
29846
+ }, S = (G) => c.value.getRows().some((_) => _.getId() === G.getId()), v = () => c.value.getRows(), b = () => {
29753
29847
  var ee, Ee;
29754
29848
  const G = i.value.querySelector(".ag-body-viewport"), _ = Number.parseFloat(
29755
29849
  G.querySelector(".ag-center-cols-container").style.height
@@ -29823,7 +29917,7 @@ const cd = (e, t) => {
29823
29917
  },
29824
29918
  onRowDataUpdated() {
29825
29919
  Ni(() => {
29826
- S(), Ni(() => {
29920
+ b(), Ni(() => {
29827
29921
  x();
29828
29922
  });
29829
29923
  });
@@ -29888,7 +29982,7 @@ const cd = (e, t) => {
29888
29982
  resetGridState: g,
29889
29983
  reload: m,
29890
29984
  insertRows: w,
29891
- existRow: b,
29985
+ existRow: S,
29892
29986
  getRows: v,
29893
29987
  refresh: k,
29894
29988
  selectByIds: (G, _) => Xy(o.value, G, _),
@@ -29899,7 +29993,7 @@ const cd = (e, t) => {
29899
29993
  const i = N(), s = N([{}]), n = ae(() => e.footerHeight ? {
29900
29994
  height: `${e.footerHeight + 10}px`
29901
29995
  } : {});
29902
- St(
29996
+ bt(
29903
29997
  () => [s.value, i.value],
29904
29998
  () => {
29905
29999
  var d;
@@ -30230,7 +30324,7 @@ const gR = {
30230
30324
  };
30231
30325
  class pR extends Y {
30232
30326
  constructor() {
30233
- super(gR, [Sn]);
30327
+ super(gR, [bn]);
30234
30328
  R(this, "eCheckbox", T);
30235
30329
  R(this, "rowNode");
30236
30330
  R(this, "column");
@@ -30867,7 +30961,7 @@ class wR extends mR {
30867
30961
  let r = 0;
30868
30962
  return this.selectedNodes.forEach((a) => {
30869
30963
  const l = a.id == o.id;
30870
- if ((!i || !bR(o, a)) && !l) {
30964
+ if ((!i || !SR(o, a)) && !l) {
30871
30965
  const d = this.selectedNodes.get(a.id);
30872
30966
  r += this.setNodesSelected({
30873
30967
  nodes: [d],
@@ -31174,7 +31268,7 @@ function pd(e, t) {
31174
31268
  if (!(e > 0 && t > 0))
31175
31269
  return e > 0;
31176
31270
  }
31177
- function bR(e, t) {
31271
+ function SR(e, t) {
31178
31272
  let o = t.parent;
31179
31273
  for (; o; ) {
31180
31274
  if (o === e) return !0;
@@ -31182,7 +31276,7 @@ function bR(e, t) {
31182
31276
  }
31183
31277
  return !1;
31184
31278
  }
31185
- const SR = {
31279
+ const bR = {
31186
31280
  moduleName: "SharedRowSelection",
31187
31281
  version: Oi,
31188
31282
  beans: [iR],
@@ -31200,7 +31294,7 @@ const SR = {
31200
31294
  version: Oi,
31201
31295
  rowModels: ["clientSide", "infinite", "viewport"],
31202
31296
  beans: [wR],
31203
- dependsOn: [SR]
31297
+ dependsOn: [bR]
31204
31298
  }, RR = "ROOT_NODE_ID";
31205
31299
  class ER extends E {
31206
31300
  constructor() {
@@ -31240,22 +31334,22 @@ class ER extends E {
31240
31334
  var C;
31241
31335
  const s = ri(this.gos), n = !this.gos.get("suppressMaintainUnsortedOrder"), r = o.changedRowNodes, a = /* @__PURE__ */ new Set(), l = this.rootNode, d = l.allLeafChildren, c = d.length;
31242
31336
  let u = !1, h = !1, g = !1, p = !1;
31243
- for (let m = 0, w = -1, b = i.length; m < b; m++) {
31337
+ for (let m = 0, w = -1, S = i.length; m < S; m++) {
31244
31338
  const v = i[m];
31245
- let S = this.getRowNode(
31339
+ let b = this.getRowNode(
31246
31340
  s({ data: v, level: 0 })
31247
31341
  );
31248
- if (!S)
31249
- u = !0, S = this.createRowNode(v, -1), r.add(S);
31342
+ if (!b)
31343
+ u = !0, b = this.createRowNode(v, -1), r.add(b);
31250
31344
  else {
31251
31345
  if (n) {
31252
- const x = S.sourceRowIndex;
31346
+ const x = b.sourceRowIndex;
31253
31347
  p || (p = x <= w || // A node was moved up, so order changed
31254
31348
  u), w = x;
31255
31349
  }
31256
- S.data !== v && (g = !0, S.updateData(v), r.update(S));
31350
+ b.data !== v && (g = !0, b.updateData(v), r.update(b));
31257
31351
  }
31258
- a.add(S);
31352
+ a.add(b);
31259
31353
  }
31260
31354
  const f = [];
31261
31355
  for (let m = 0; m < c; m++) {
@@ -31267,14 +31361,14 @@ class ER extends E {
31267
31361
  let w = 0;
31268
31362
  if (!n)
31269
31363
  for (let v = 0; v < c; ++v) {
31270
- const S = d[v];
31271
- a.delete(S) && (S.sourceRowIndex = w, m[w++] = S);
31364
+ const b = d[v];
31365
+ a.delete(b) && (b.sourceRowIndex = w, m[w++] = b);
31272
31366
  }
31273
31367
  for (const v of a)
31274
31368
  v.sourceRowIndex = w, m[w++] = v;
31275
31369
  l.allLeafChildren = m;
31276
- const b = l.sibling;
31277
- b && (b.allLeafChildren = m), o.rowNodesOrderChanged || (o.rowNodesOrderChanged = p);
31370
+ const S = l.sibling;
31371
+ S && (S.allLeafChildren = m), o.rowNodesOrderChanged || (o.rowNodesOrderChanged = p);
31278
31372
  }
31279
31373
  (u || h || p || g) && (this.deselectNodes(f), o.rowDataUpdated = !0);
31280
31374
  }
@@ -31458,38 +31552,38 @@ class PR extends E {
31458
31552
  );
31459
31553
  }
31460
31554
  sort(o, i, s, n, r, a, l) {
31461
- 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");
31462
- let b = !1;
31463
- const v = (S) => {
31555
+ 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");
31556
+ let S = !1;
31557
+ const v = (b) => {
31464
31558
  var D, F, L;
31465
- const x = m && S.leafGroup, P = f && C && !S.leafGroup && !l;
31559
+ const x = m && b.leafGroup, P = f && C && !b.leafGroup && !l;
31466
31560
  let k;
31467
31561
  if (P) {
31468
- const V = ((F = (D = u == null ? void 0 : u.columns) == null ? void 0 : D[S.level + 1]) == null ? void 0 : F.getSort()) === null, $ = S.childrenAfterAggFilter.slice(0);
31469
- if (S.childrenAfterSort && !V) {
31562
+ const V = ((F = (D = u == null ? void 0 : u.columns) == null ? void 0 : D[b.level + 1]) == null ? void 0 : F.getSort()) === null, $ = b.childrenAfterAggFilter.slice(0);
31563
+ if (b.childrenAfterSort && !V) {
31470
31564
  const G = {};
31471
- S.childrenAfterSort.forEach((_, O) => {
31565
+ b.childrenAfterSort.forEach((_, O) => {
31472
31566
  G[_.id] = O;
31473
31567
  }), $.sort(
31474
31568
  (_, O) => (G[_.id] ?? 0) - (G[O.id] ?? 0)
31475
31569
  );
31476
31570
  }
31477
31571
  k = $;
31478
- } else !s || x ? k = S.childrenAfterAggFilter.slice(0) : n && r ? k = TR(
31572
+ } else !s || x ? k = b.childrenAfterAggFilter.slice(0) : n && r ? k = TR(
31479
31573
  h,
31480
- S,
31574
+ b,
31481
31575
  r,
31482
31576
  a,
31483
31577
  i
31484
- ) : k = S.childrenAfterAggFilter.slice(0);
31485
- if (b || (b = ((L = S.childrenAfterSort) == null ? void 0 : L[0]) !== k[0]), S.childrenAfterSort = k, fd(S), w) {
31486
- const V = { nodes: S.childrenAfterSort };
31578
+ ) : k = b.childrenAfterAggFilter.slice(0);
31579
+ if (S || (S = ((L = b.childrenAfterSort) == null ? void 0 : L[0]) !== k[0]), b.childrenAfterSort = k, fd(b), w) {
31580
+ const V = { nodes: b.childrenAfterSort };
31487
31581
  w(V);
31488
31582
  }
31489
31583
  };
31490
- if (a == null || a.forEachChangedNodeDepthFirst(v), b && this.gos.get("groupHideOpenParents")) {
31491
- const S = p == null ? void 0 : p.getShowRowGroupCols();
31492
- S != null && S.length && g.refreshCells({ columns: S, force: !0 });
31584
+ if (a == null || a.forEachChangedNodeDepthFirst(v), S && this.gos.get("groupHideOpenParents")) {
31585
+ const b = p == null ? void 0 : p.getShowRowGroupCols();
31586
+ b != null && b.length && g.refreshCells({ columns: b, force: !0 });
31493
31587
  }
31494
31588
  }
31495
31589
  }
@@ -32211,7 +32305,7 @@ const zR = {
32211
32305
  flushAsyncTransactions: _R,
32212
32306
  getBestCostNodeSelection: WR
32213
32307
  },
32214
- dependsOn: [CS]
32308
+ dependsOn: [Cb]
32215
32309
  };
32216
32310
  class Eo {
32217
32311
  static getComponentDefinition(t, o) {
@@ -33273,7 +33367,7 @@ const oE = /* @__PURE__ */ z({
33273
33367
  setup(e, { expose: t, emit: o }) {
33274
33368
  const i = e, s = N(), n = N(void 0), r = N(!1), a = N(!1), l = N(!1), d = N({}), c = N(null), u = Od(i);
33275
33369
  Ks().filter((D) => D != "gridOptions").forEach((D) => {
33276
- St(
33370
+ bt(
33277
33371
  () => u[D],
33278
33372
  (F, L) => {
33279
33373
  (D === "rowData" && !f.value || D !== "rowData") && P(D, F), f.value = !1;
@@ -33282,12 +33376,12 @@ const oE = /* @__PURE__ */ z({
33282
33376
  );
33283
33377
  });
33284
33378
  const h = /* @__PURE__ */ new Set(["rowDataUpdated", "cellValueChanged", "rowValueChanged"]), g = N(i.modelValue), p = N(!1), f = N(!1);
33285
- St(
33379
+ bt(
33286
33380
  () => i.modelValue,
33287
33381
  (D) => {
33288
33382
  g.value = D;
33289
33383
  }
33290
- ), St(
33384
+ ), bt(
33291
33385
  g,
33292
33386
  (D, F) => {
33293
33387
  r.value && (f.value || (p.value = !0, P("rowData", Xt(D), Xt(F))), f.value = !1);
@@ -33295,17 +33389,17 @@ const oE = /* @__PURE__ */ z({
33295
33389
  { deep: !0 }
33296
33390
  );
33297
33391
  const C = eE(() => {
33298
- f.value = !0, o("update:modelValue", S());
33392
+ f.value = !0, o("update:modelValue", b());
33299
33393
  }, 10), m = Jt(), w = (D) => {
33300
33394
  var F;
33301
33395
  l.value && h.has(D) && (F = m == null ? void 0 : m.proxy) != null && F.$props["onUpdate:modelValue"] && C();
33302
- }, b = () => {
33396
+ }, S = () => {
33303
33397
  var D;
33304
33398
  (i.rowData || (D = i.gridOptions) != null && D.rowData) && g.value && I(232);
33305
33399
  }, v = () => {
33306
33400
  var D;
33307
33401
  return g.value || i.rowData || ((D = i.gridOptions) == null ? void 0 : D.rowData);
33308
- }, S = () => {
33402
+ }, b = () => {
33309
33403
  const D = [];
33310
33404
  return n == null || n.value.forEachLeafNode((F) => {
33311
33405
  D.push(F.data);
@@ -33348,7 +33442,7 @@ const oE = /* @__PURE__ */ z({
33348
33442
  r.value && ((D = n == null ? void 0 : n.value) == null || D.destroy(), a.value = !0);
33349
33443
  }), t({
33350
33444
  api: n
33351
- }), { __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: P, getProvides: k };
33445
+ }), { __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: P, getProvides: k };
33352
33446
  }
33353
33447
  });
33354
33448
  function le(e, t, o, i, s, n, r, a) {
@@ -33493,13 +33587,13 @@ const wd = wE.exports, vE = /* @__PURE__ */ z({
33493
33587
  return { __sfc: !0, props: e, VNodeRenderer: md };
33494
33588
  }
33495
33589
  });
33496
- var bE = function() {
33590
+ var SE = function() {
33497
33591
  var t = this, o = t._self._c, i = t._self._setupProxy;
33498
33592
  return o("div", { staticClass: "custom-cell" }, [o(i.VNodeRenderer, { attrs: { params: t.params } })], 1);
33499
- }, SE = [], yE = /* @__PURE__ */ le(
33593
+ }, bE = [], yE = /* @__PURE__ */ le(
33500
33594
  vE,
33501
- bE,
33502
33595
  SE,
33596
+ bE,
33503
33597
  !1,
33504
33598
  null,
33505
33599
  "4998e205"
@@ -33719,7 +33813,7 @@ var NE = function() {
33719
33813
  );
33720
33814
  const zE = WE.exports;
33721
33815
  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);
33722
- class bd {
33816
+ class Sd {
33723
33817
  constructor(t) {
33724
33818
  KE(this, "record"), this.record = t;
33725
33819
  }
@@ -33734,7 +33828,7 @@ class bd {
33734
33828
  }),
33735
33829
  {}
33736
33830
  );
33737
- return new bd(o);
33831
+ return new Sd(o);
33738
33832
  }
33739
33833
  transform(t, o) {
33740
33834
  const i = this.record[t], s = o(i);
@@ -33767,7 +33861,7 @@ var YE = function() {
33767
33861
  null,
33768
33862
  "45be5dfc"
33769
33863
  );
33770
- const Sd = QE.exports, XE = z({
33864
+ const bd = QE.exports, XE = z({
33771
33865
  name: "RefreshButton"
33772
33866
  }), JE = /* @__PURE__ */ z({
33773
33867
  ...XE,
@@ -33805,7 +33899,7 @@ function Rd(e, t) {
33805
33899
  }
33806
33900
  const i0 = (e) => !!e.children, s0 = () => {
33807
33901
  const e = xo($t), t = N(), o = N([]), i = N([]), s = N(), n = (C) => {
33808
- const m = e.api.value.getAllDisplayedColumns(), w = m.find((b) => b.getColId() === C);
33902
+ const m = e.api.value.getAllDisplayedColumns(), w = m.find((S) => S.getColId() === C);
33809
33903
  return w ? m.indexOf(w) : -1;
33810
33904
  }, r = (C) => {
33811
33905
  if (C.field)
@@ -33816,12 +33910,12 @@ const i0 = (e) => !!e.children, s0 = () => {
33816
33910
  }, a = () => {
33817
33911
  var C, m;
33818
33912
  o.value = (m = (C = e.api.value.getColumnDefs()) == null ? void 0 : C.map(
33819
- (w) => Rd(w, (b) => {
33820
- var v, S;
33913
+ (w) => Rd(w, (S) => {
33914
+ var v, b;
33821
33915
  return {
33822
- id: r(b),
33823
- label: b.headerName,
33824
- pined: (S = (v = e.api.value.getColumnGroup(r(b))) == null ? void 0 : v.getPinned()) != null ? S : b.pinned
33916
+ id: r(S),
33917
+ label: S.headerName,
33918
+ pined: (b = (v = e.api.value.getColumnGroup(r(S))) == null ? void 0 : v.getPinned()) != null ? b : S.pinned
33825
33919
  };
33826
33920
  })
33827
33921
  )) != null ? m : [], i.value = e.api.value.getAllDisplayedColumns().map((w) => w.getColId());
@@ -33833,8 +33927,8 @@ const i0 = (e) => !!e.children, s0 = () => {
33833
33927
  const m = C.getChildren();
33834
33928
  return m ? [...m.flatMap((w) => c(w))] : [];
33835
33929
  }, u = (C, m, w) => {
33836
- const b = n(m[0].colId), v = n(w.colId);
33837
- return C === "after" ? v - m.length + 1 : v > b ? v - m.length : v;
33930
+ const S = n(m[0].colId), v = n(w.colId);
33931
+ return C === "after" ? v - m.length + 1 : v > S ? v - m.length : v;
33838
33932
  };
33839
33933
  return {
33840
33934
  treeData: o,
@@ -33845,11 +33939,11 @@ const i0 = (e) => !!e.children, s0 = () => {
33845
33939
  onColumnDragStart: d,
33846
33940
  onColumnDragFinish: (C, m, w) => {
33847
33941
  if (m && C && C.key !== m.key) {
33848
- const b = e.api.value.getColumnGroup(
33942
+ const S = e.api.value.getColumnGroup(
33849
33943
  C.key
33850
- ), v = e.api.value.getColumn(C.key), S = e.api.value.getColumn(m.key), x = c(b ?? v);
33851
- if (S) {
33852
- const P = u(w, x, S);
33944
+ ), v = e.api.value.getColumn(C.key), b = e.api.value.getColumn(m.key), x = c(S ?? v);
33945
+ if (b) {
33946
+ const P = u(w, x, b);
33853
33947
  e.api.value.moveColumns(x, P);
33854
33948
  }
33855
33949
  }
@@ -33860,8 +33954,8 @@ const i0 = (e) => !!e.children, s0 = () => {
33860
33954
  },
33861
33955
  onColumnPinedChange: (C, m) => {
33862
33956
  var w;
33863
- 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();
33864
- e.api.value.setColumnsPinned(v, S === m ? null : m), a();
33957
+ 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();
33958
+ e.api.value.setColumnsPinned(v, b === m ? null : m), a();
33865
33959
  },
33866
33960
  columnAutoResize: () => {
33867
33961
  e.api.value.sizeColumnsToFit();
@@ -33965,15 +34059,15 @@ const C0 = f0.exports, m0 = z({
33965
34059
  var v0 = function() {
33966
34060
  var t = this, o = t._self._c;
33967
34061
  return t._self._setupProxy, o("el-empty", { attrs: { description: "没有数据了", "image-size": 75 } });
33968
- }, b0 = [], S0 = /* @__PURE__ */ le(
34062
+ }, S0 = [], b0 = /* @__PURE__ */ le(
33969
34063
  w0,
33970
34064
  v0,
33971
- b0,
34065
+ S0,
33972
34066
  !1,
33973
34067
  null,
33974
34068
  "05fc87c0"
33975
34069
  );
33976
- const y0 = S0.exports, R0 = z({
34070
+ const y0 = b0.exports, R0 = z({
33977
34071
  name: "GridLoadingOverlay"
33978
34072
  }), E0 = /* @__PURE__ */ z({
33979
34073
  ...R0,
@@ -34012,7 +34106,7 @@ const P0 = F0.exports, T0 = (e, t, o) => {
34012
34106
  // eslint-disable-next-line vue/multi-word-component-names
34013
34107
  name: "Grid",
34014
34108
  components: {
34015
- SearchButton: Sd,
34109
+ SearchButton: bd,
34016
34110
  RefreshButton: yd,
34017
34111
  SettingButton: Ed,
34018
34112
  CellRenderer: gE,
@@ -34074,13 +34168,13 @@ const P0 = F0.exports, T0 = (e, t, o) => {
34074
34168
  } = rE(o), {
34075
34169
  footerGridOptions: m,
34076
34170
  setFooterData: w,
34077
- footerStyles: b
34171
+ footerStyles: S
34078
34172
  } = T0(o, s, l);
34079
34173
  return _d($t, {
34080
34174
  refresh: f,
34081
34175
  resetGridState: C,
34082
34176
  api: d
34083
- }), St(() => r.value, () => {
34177
+ }), bt(() => r.value, () => {
34084
34178
  d.value && d.value.updateGridOptions(kd(r.value, ["scrollbarWidth", "getRowId", "suppressRowTransform", "defaultColGroupDef"]));
34085
34179
  }, {
34086
34180
  deep: !0
@@ -34092,22 +34186,22 @@ const P0 = F0.exports, T0 = (e, t, o) => {
34092
34186
  reload: u,
34093
34187
  refresh: f,
34094
34188
  getRows: p,
34095
- createRow(v, S = !1) {
34189
+ createRow(v, b = !1) {
34096
34190
  const x = a.value.createRow(v);
34097
- return S ? new Dn(x, o.rowIdMapper, !0) : x;
34191
+ return b ? new Dn(x, o.rowIdMapper, !0) : x;
34098
34192
  },
34099
34193
  existRow: g,
34100
34194
  insertRows: h,
34101
34195
  startEditing: () => {
34102
- const v = a.value.getRows().filter((S) => !S.isEditing());
34103
- Jo(v) || (v.forEach((S) => S.startEditing()), u(), d.value.redrawRows());
34196
+ const v = a.value.getRows().filter((b) => !b.isEditing());
34197
+ Jo(v) || (v.forEach((b) => b.startEditing()), u(), d.value.redrawRows());
34104
34198
  },
34105
34199
  stopEditing: () => {
34106
- const v = a.value.getRows().filter((S) => S.isEditing());
34107
- Jo(v) || (v.forEach((S) => S.stopEditing()), u(), d.value.redrawRows());
34200
+ const v = a.value.getRows().filter((b) => b.isEditing());
34201
+ Jo(v) || (v.forEach((b) => b.stopEditing()), u(), d.value.redrawRows());
34108
34202
  },
34109
- deselectAll: (v, S) => {
34110
- d.value.deselectAll(v, S);
34203
+ deselectAll: (v, b) => {
34204
+ d.value.deselectAll(v, b);
34111
34205
  }
34112
34206
  }), {
34113
34207
  __sfc: !0,
@@ -34128,10 +34222,10 @@ const P0 = F0.exports, T0 = (e, t, o) => {
34128
34222
  resetGridState: C,
34129
34223
  footerGridOptions: m,
34130
34224
  setFooterData: w,
34131
- footerStyles: b,
34225
+ footerStyles: S,
34132
34226
  AgGridVue: Cd,
34133
34227
  GridToolbar: wd,
34134
- SearchButton: Sd,
34228
+ SearchButton: bd,
34135
34229
  RefreshButton: yd,
34136
34230
  SettingButton: Ed
34137
34231
  };
@@ -34236,29 +34330,29 @@ Kd({
34236
34330
  const J0 = {
34237
34331
  install: () => {
34238
34332
  oh.registerModules([
34239
- rS,
34240
- aS,
34241
- lS,
34242
- dS,
34243
- uS,
34244
- cS,
34245
- LS,
34246
- wS,
34247
- fb,
34333
+ rb,
34334
+ ab,
34335
+ lb,
34336
+ db,
34337
+ ub,
34338
+ cb,
34339
+ Lb,
34340
+ wb,
34341
+ fS,
34248
34342
  Dl,
34249
34343
  nd,
34250
- $S,
34251
- XS,
34344
+ $b,
34345
+ Xb,
34252
34346
  iy,
34253
34347
  cy,
34254
34348
  yR,
34255
34349
  Pv,
34256
- by,
34257
- Dy,
34258
34350
  Sy,
34351
+ Dy,
34352
+ by,
34259
34353
  My,
34260
34354
  Av,
34261
- PS,
34355
+ Pb,
34262
34356
  Zl,
34263
34357
  ky,
34264
34358
  Gy,
@@ -34266,7 +34360,7 @@ const J0 = {
34266
34360
  my,
34267
34361
  $R,
34268
34362
  zR,
34269
- hS
34363
+ hb
34270
34364
  ]);
34271
34365
  }
34272
34366
  };
@@ -34293,9 +34387,9 @@ export {
34293
34387
  Ao as ProjectionRow,
34294
34388
  yR as RowSelectionModule,
34295
34389
  Ar as RowSpans,
34296
- bd as Searches,
34390
+ Sd as Searches,
34297
34391
  Xe as ServerGetRowsParamsRequest,
34298
- SR as SharedRowSelectionModule,
34392
+ bR as SharedRowSelectionModule,
34299
34393
  Ny as SpanMatrix,
34300
34394
  J0 as VueGridPlugin,
34301
34395
  Oy as _getColumnSortIndexe,