@cocoar/vue-data-grid 1.6.2 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Re, computed as V, openBlock as q, createElementBlock as J, Fragment as Hu, renderList as Vu, createBlock as ws, unref as mo, withCtx as ir, createTextVNode as Bu, toDisplayString as ut, normalizeClass as ci, createCommentVNode as ui, normalizeStyle as sr, createVNode as Yo, createElementVNode as yn, ref as ue, watch as me, isRef as Ml, useTemplateRef as Nu, toRefs as Wu, useModel as Ss, getCurrentInstance as Si, onMounted as zu, markRaw as _u, onUnmounted as Uu, mergeModels as Qo, mergeDefaults as $u, toRaw as sa, isReactive as Ku, isProxy as ju, render as na, renderSlot as ji, useSlots as qu, onBeforeUnmount as Yu, mergeProps as Qu, createSlots as Zu } from "vue";
1
+ import { defineComponent as Re, computed as V, openBlock as q, createElementBlock as J, Fragment as Hu, renderList as Vu, createBlock as ws, unref as mo, normalizeStyle as Ss, withCtx as sr, createTextVNode as Bu, toDisplayString as ut, normalizeClass as ci, createCommentVNode as ui, createVNode as Yo, createElementVNode as Rn, ref as ue, watch as me, isRef as Ml, useTemplateRef as Nu, toRefs as Wu, useModel as bs, getCurrentInstance as Si, onMounted as zu, markRaw as _u, onUnmounted as Uu, mergeModels as Qo, mergeDefaults as $u, toRaw as sa, isReactive as Ku, isProxy as ju, render as na, renderSlot as ji, useSlots as qu, onBeforeUnmount as Yu, mergeProps as Qu, createSlots as Zu } from "vue";
2
2
  import { CoarTag as Ju, CoarIcon as nr, CoarTextInput as Xu } from "@cocoar/vue-ui";
3
3
  import { useI18n as Al, useL10n as rr } from "@cocoar/vue-localization";
4
4
  const Il = "__coarQuickFilter", kl = "__coarHeaderI18nKey";
@@ -213,49 +213,74 @@ const eh = { class: "coar-tag-cell-renderer" }, th = /* @__PURE__ */ Re({
213
213
  params: {}
214
214
  },
215
215
  setup(e) {
216
- const t = e, { t: o } = Al(), i = V(() => t.params.colDef?.cellRendererParams?.config ?? {}), s = V(() => i.value.size ?? "s"), n = V(() => {
217
- const u = i.value, h = a(t.params.value, u), g = a(
218
- r(t.params.value, t.params.valueFormatted),
219
- u
216
+ const t = /* @__PURE__ */ new Set(["neutral", "success", "warning", "error", "info", "accent"]), o = e, { t: i } = Al(), s = V(() => o.params.colDef?.cellRendererParams?.config ?? {}), n = V(() => s.value.size ?? "s"), r = V(() => {
217
+ const g = s.value, p = l(o.params.value, g), f = l(
218
+ a(o.params.value, o.params.valueFormatted),
219
+ g
220
220
  );
221
- return h.map((p, f) => ({
222
- label: d(g[f] ?? p, u),
223
- variant: c(p, u)
224
- }));
221
+ return p.filter((m, C) => !!(f[C] ?? m)).map((m, C) => {
222
+ const v = u(m, g);
223
+ return {
224
+ label: c(f[C] ?? m, g),
225
+ ...v
226
+ };
227
+ });
225
228
  });
226
- function r(u, h) {
227
- return h == null || Array.isArray(u) || u != null && typeof u == "object" ? u : h;
228
- }
229
- function a(u, h) {
230
- if (u == null) return [];
231
- if (Array.isArray(u))
232
- return u.map((g) => l(g, h));
233
- if (typeof u == "string") {
234
- const g = h.separator ?? ",";
235
- return u.split(g).map((p) => p.trim()).filter(Boolean);
236
- }
237
- return [String(u)];
238
- }
239
- function l(u, h) {
240
- return u != null && typeof u == "object" && h.labelProperty ? String(u[h.labelProperty] ?? "") : String(u ?? "");
241
- }
242
- function d(u, h) {
243
- return h.i18nPrefix ? o(h.i18nPrefix + u) : u;
244
- }
245
- function c(u, h) {
246
- return h.variantMap?.[u] ?? h.variant ?? "neutral";
229
+ function a(g, p) {
230
+ return p == null || Array.isArray(g) || g != null && typeof g == "object" ? g : p;
231
+ }
232
+ function l(g, p) {
233
+ if (g == null) return [];
234
+ if (Array.isArray(g))
235
+ return g.map((f) => d(f, p));
236
+ if (typeof g == "string") {
237
+ const f = p.separator ?? ",";
238
+ return g.split(f).map((m) => m.trim()).filter(Boolean);
239
+ }
240
+ return [String(g)];
241
+ }
242
+ function d(g, p) {
243
+ return g != null && typeof g == "object" && p.labelProperty ? String(g[p.labelProperty] ?? "") : String(g ?? "");
244
+ }
245
+ function c(g, p) {
246
+ return p.i18nPrefix ? i(p.i18nPrefix + g) : g;
247
+ }
248
+ function u(g, p) {
249
+ const f = p.variantFn?.(g);
250
+ if (f != null)
251
+ return h(f);
252
+ const m = p.variantMap?.[g];
253
+ return m != null ? { variant: m } : { variant: p.variant ?? "neutral" };
254
+ }
255
+ function h(g) {
256
+ return typeof g == "object" ? {
257
+ variant: "neutral",
258
+ style: {
259
+ "--coar-tag-bg": g.bg,
260
+ "--coar-tag-border-color": g.border ?? g.bg,
261
+ ...g.text ? { color: g.text } : {}
262
+ }
263
+ } : t.has(g) ? { variant: g } : {
264
+ variant: "neutral",
265
+ style: {
266
+ "--coar-tag-bg": `color-mix(in oklch, ${g} 15%, transparent)`,
267
+ "--coar-tag-border-color": g,
268
+ color: g
269
+ }
270
+ };
247
271
  }
248
- return (u, h) => (q(), J("div", eh, [
249
- (q(!0), J(Hu, null, Vu(n.value, (g) => (q(), ws(mo(Ju), {
250
- key: g.label,
251
- variant: g.variant,
252
- size: s.value
272
+ return (g, p) => (q(), J("div", eh, [
273
+ (q(!0), J(Hu, null, Vu(r.value, (f) => (q(), ws(mo(Ju), {
274
+ key: f.label,
275
+ variant: f.variant,
276
+ size: n.value,
277
+ style: Ss(f.style)
253
278
  }, {
254
- default: ir(() => [
255
- Bu(ut(g.label), 1)
279
+ default: sr(() => [
280
+ Bu(ut(f.label), 1)
256
281
  ]),
257
282
  _: 2
258
- }, 1032, ["variant", "size"]))), 128))
283
+ }, 1032, ["variant", "size", "style"]))), 128))
259
284
  ]));
260
285
  }
261
286
  }), oh = /* @__PURE__ */ Re({
@@ -348,7 +373,7 @@ const eh = { class: "coar-tag-cell-renderer" }, th = /* @__PURE__ */ Re({
348
373
  }
349
374
  return (u, h) => (q(), J("div", {
350
375
  class: "coar-tree-cell",
351
- style: sr({ paddingLeft: `${n.value * 20}px` })
376
+ style: Ss({ paddingLeft: `${n.value * 20}px` })
352
377
  }, [
353
378
  r.value ? (q(), J("span", {
354
379
  key: 0,
@@ -363,7 +388,7 @@ const eh = { class: "coar-tag-cell-renderer" }, th = /* @__PURE__ */ Re({
363
388
  "rotate-transition": 150
364
389
  }, null, 8, ["rotate"])
365
390
  ])) : (q(), J("span", dh)),
366
- yn("span", ch, ut(e.params.value), 1),
391
+ Rn("span", ch, ut(e.params.value), 1),
367
392
  r.value && d.value ? (q(), J("span", uh, " (" + ut(l.value) + ") ", 1)) : ui("", !0)
368
393
  ], 4));
369
394
  }
@@ -490,8 +515,8 @@ const ph = { class: "coar-grid-header__label" }, fh = {
490
515
  class: ci(["coar-grid-header", { "coar-grid-header--sortable": e.params.enableSorting }]),
491
516
  onClick: a
492
517
  }, [
493
- yn("span", ph, ut(s.value), 1),
494
- d[0] || (d[0] = yn("span", { class: "coar-grid-header__spacer" }, null, -1)),
518
+ Rn("span", ph, ut(s.value), 1),
519
+ d[0] || (d[0] = Rn("span", { class: "coar-grid-header__spacer" }, null, -1)),
495
520
  n.value ? (q(), J("span", fh, ut(n.value === "asc" ? "▲" : "▼"), 1)) : ui("", !0)
496
521
  ], 2));
497
522
  }
@@ -1344,7 +1369,7 @@ function x(e) {
1344
1369
  function z(e) {
1345
1370
  return !x(e);
1346
1371
  }
1347
- function Rn(e) {
1372
+ function Fn(e) {
1348
1373
  return e != null && typeof e.toString == "function" ? e.toString() : null;
1349
1374
  }
1350
1375
  function Zo(e, t) {
@@ -1470,7 +1495,7 @@ function Dh(e, t) {
1470
1495
  function Vl(e, t) {
1471
1496
  Te(e, "hidden", t);
1472
1497
  }
1473
- function Fn(e, t) {
1498
+ function Pn(e, t) {
1474
1499
  Fe(e, "expanded", t);
1475
1500
  }
1476
1501
  function xh(e, t) {
@@ -1518,7 +1543,7 @@ function Hh(e, t) {
1518
1543
  function aa(e, t) {
1519
1544
  Te(e, "owns", t);
1520
1545
  }
1521
- function bs(e, t) {
1546
+ function ys(e, t) {
1522
1547
  return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
1523
1548
  }
1524
1549
  var Vh = "[tabindex], input, select, button, textarea, [href]", Wl = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
@@ -1698,9 +1723,9 @@ function ot(e, t) {
1698
1723
  const o = Ll(e);
1699
1724
  o.requestAnimationFrame ? o.requestAnimationFrame(t) : o.webkitRequestAnimationFrame ? o.webkitRequestAnimationFrame(t) : o.setTimeout(t, 0);
1700
1725
  }
1701
- var jl = "data-ref", Bs;
1726
+ var jl = "data-ref", Ns;
1702
1727
  function la() {
1703
- return Bs ?? (Bs = document.createTextNode(" ")), Bs.cloneNode();
1728
+ return Ns ?? (Ns = document.createTextNode(" ")), Ns.cloneNode();
1704
1729
  }
1705
1730
  function dt(e) {
1706
1731
  const { attrs: t, children: o, cls: i, ref: s, role: n, tag: r } = e, a = document.createElement(r);
@@ -1717,7 +1742,7 @@ function dt(e) {
1717
1742
  }
1718
1743
  return a;
1719
1744
  }
1720
- var Wh = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], zh = ["wheel"], Ns = {}, ql = /* @__PURE__ */ (() => {
1745
+ var Wh = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], zh = ["wheel"], Ws = {}, ql = /* @__PURE__ */ (() => {
1721
1746
  const e = {
1722
1747
  select: "input",
1723
1748
  change: "input",
@@ -1728,10 +1753,10 @@ var Wh = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], zh =
1728
1753
  abort: "img"
1729
1754
  };
1730
1755
  return (o) => {
1731
- if (typeof Ns[o] == "boolean")
1732
- return Ns[o];
1756
+ if (typeof Ws[o] == "boolean")
1757
+ return Ws[o];
1733
1758
  const i = document.createElement(e[o] || "div");
1734
- return o = "on" + o, Ns[o] = o in i;
1759
+ return o = "on" + o, Ws[o] = o in i;
1735
1760
  };
1736
1761
  })();
1737
1762
  function _h(e, t) {
@@ -1986,10 +2011,10 @@ function eg(e) {
1986
2011
  return e.eventServiceType === "global";
1987
2012
  }
1988
2013
  var b = class extends de {
1989
- }, Pn = /* @__PURE__ */ new Set(), ys = (e, t) => {
1990
- Pn.has(t) || (Pn.add(t), e());
2014
+ }, Dn = /* @__PURE__ */ new Set(), Rs = (e, t) => {
2015
+ Dn.has(t) || (Dn.add(t), e());
1991
2016
  };
1992
- ys._set = Pn;
2017
+ Rs._set = Dn;
1993
2018
  var tg = {
1994
2019
  pending: !1,
1995
2020
  funcs: []
@@ -1997,7 +2022,7 @@ var tg = {
1997
2022
  pending: !1,
1998
2023
  funcs: []
1999
2024
  };
2000
- function Dn(e, t = "setTimeout", o) {
2025
+ function xn(e, t = "setTimeout", o) {
2001
2026
  const i = t === "raf" ? og : tg;
2002
2027
  if (i.funcs.push(e), i.pending)
2003
2028
  return;
@@ -2272,10 +2297,10 @@ function gt(e, t, ...o) {
2272
2297
  e.get("debug") && console.log("AG Grid: " + t, ...o);
2273
2298
  }
2274
2299
  function zo(e, ...t) {
2275
- ys(() => console.warn("AG Grid: " + e, ...t), e + t?.join(""));
2300
+ Rs(() => console.warn("AG Grid: " + e, ...t), e + t?.join(""));
2276
2301
  }
2277
2302
  function to(e, ...t) {
2278
- ys(() => console.error("AG Grid: " + e, ...t), e + t?.join(""));
2303
+ Rs(() => console.error("AG Grid: " + e, ...t), e + t?.join(""));
2279
2304
  }
2280
2305
  var Xl = /* @__PURE__ */ new Set(), Xi = {}, oo = {}, Oi, ed = !1, td = !1, ag = !1;
2281
2306
  function lg(e) {
@@ -2308,7 +2333,7 @@ function vo(e, t, o = !1) {
2308
2333
  function cg(e) {
2309
2334
  delete oo[e];
2310
2335
  }
2311
- function xn(e, t, o) {
2336
+ function En(e, t, o) {
2312
2337
  const i = (s) => !!Xi[s]?.[e] || !!oo[t]?.[s]?.[e];
2313
2338
  return i(o) || i("all");
2314
2339
  }
@@ -2376,12 +2401,12 @@ function vg(e) {
2376
2401
  function Gi(e) {
2377
2402
  return e === void 0 ? "undefined" : e === null ? "null" : e;
2378
2403
  }
2379
- function En(e, t) {
2404
+ function Tn(e, t) {
2380
2405
  return `${e}?${t.toString()}`;
2381
2406
  }
2382
2407
  function wg(e, t, o) {
2383
2408
  const i = Array.from(t.entries()).sort((n, r) => r[1].length - n[1].length);
2384
- let s = En(e, t);
2409
+ let s = Tn(e, t);
2385
2410
  for (const [n, r] of i) {
2386
2411
  if (n === id)
2387
2412
  continue;
@@ -2389,7 +2414,7 @@ function wg(e, t, o) {
2389
2414
  if (a <= 0)
2390
2415
  break;
2391
2416
  const l = "...", d = a + l.length, c = r.length - d > ha ? r.slice(0, r.length - d) + l : r.slice(0, ha) + l;
2392
- t.set(n, c), s = En(e, t);
2417
+ t.set(n, c), s = Tn(e, t);
2393
2418
  }
2394
2419
  return s;
2395
2420
  }
@@ -2398,7 +2423,7 @@ function rd(e, t) {
2398
2423
  if (o.append(id, E), t)
2399
2424
  for (const n of Object.keys(t))
2400
2425
  o.append(n, vg(t[n]));
2401
- const i = `${io}/errors/${e}`, s = En(i, o);
2426
+ const i = `${io}/errors/${e}`, s = Tn(i, o);
2402
2427
  return s.length <= ua ? s : wg(i, o, ua);
2403
2428
  }
2404
2429
  var Sg = (e, t, o) => {
@@ -2457,19 +2482,19 @@ function pt(e, t, o = !1, i) {
2457
2482
  node: t,
2458
2483
  data: t.data
2459
2484
  }, d = s.getCallback("getRowHeight")(l);
2460
- if (Tn(d))
2485
+ if (Mn(d))
2461
2486
  return d === 0 && R(23), { height: Math.max(1, d), estimated: !1 };
2462
2487
  }
2463
2488
  if (t.detail && s.get("masterDetail"))
2464
2489
  return Fg(s);
2465
2490
  const r = s.get("rowHeight");
2466
- return { height: r && Tn(r) ? r : i, estimated: !1 };
2491
+ return { height: r && Mn(r) ? r : i, estimated: !1 };
2467
2492
  }
2468
2493
  function Fg(e) {
2469
2494
  if (e.get("detailRowAutoHeight"))
2470
2495
  return { height: 1, estimated: !1 };
2471
2496
  const t = e.get("detailRowHeight");
2472
- return Tn(t) ? { height: t, estimated: !1 } : { height: 300, estimated: !1 };
2497
+ return Mn(t) ? { height: t, estimated: !1 } : { height: 300, estimated: !1 };
2473
2498
  }
2474
2499
  function Tt(e) {
2475
2500
  const { environment: t, gos: o } = e, i = o.get("rowHeight");
@@ -2478,7 +2503,7 @@ function Tt(e) {
2478
2503
  const s = t.refreshRowHeightVariable();
2479
2504
  return s !== -1 ? s : (R(24), t.getDefaultRowHeight());
2480
2505
  }
2481
- function Tn(e) {
2506
+ function Mn(e) {
2482
2507
  return !isNaN(e) && typeof e == "number" && isFinite(e);
2483
2508
  }
2484
2509
  function dd(e, t, o) {
@@ -2499,7 +2524,7 @@ function cd(e) {
2499
2524
  function Le(e) {
2500
2525
  return !e.get("autoGroupColumnDef")?.comparator && !e.get("treeData");
2501
2526
  }
2502
- function Mn(e) {
2527
+ function An(e) {
2503
2528
  const t = e.get("groupAggFiltering");
2504
2529
  if (typeof t == "function")
2505
2530
  return e.getCallback("groupAggFiltering");
@@ -2519,7 +2544,7 @@ function wo(e) {
2519
2544
  const t = e.getCallback("getRowId");
2520
2545
  return t === void 0 ? t : (o) => {
2521
2546
  let i = t(o);
2522
- return typeof i != "string" && (ys(() => R(25, { id: i }), "getRowIdString"), i = String(i)), i;
2547
+ return typeof i != "string" && (Rs(() => R(25, { id: i }), "getRowIdString"), i = String(i)), i;
2523
2548
  };
2524
2549
  }
2525
2550
  function Pg(e, t) {
@@ -2540,7 +2565,7 @@ function es(e) {
2540
2565
  if (typeof e == "object")
2541
2566
  return e.checkboxLocation ?? "selectionColumn";
2542
2567
  }
2543
- function Ws(e) {
2568
+ function zs(e) {
2544
2569
  return e?.hideDisabledCheckboxes ?? !1;
2545
2570
  }
2546
2571
  function xg(e) {
@@ -2570,7 +2595,7 @@ function Tg(e) {
2570
2595
  const t = pd(e);
2571
2596
  return t === !0 || t === "enableDeselection";
2572
2597
  }
2573
- function An(e) {
2598
+ function In(e) {
2574
2599
  const t = e.get("rowSelection");
2575
2600
  return typeof t == "string" ? e.get("isRowSelectable") : t?.isRowSelectable;
2576
2601
  }
@@ -3107,7 +3132,7 @@ var Ng = ["asc", "desc", null], Wg = [
3107
3132
  }
3108
3133
  };
3109
3134
  function xe(e) {
3110
- return ao(e) ? { direction: e.direction, type: e.type } : { direction: Rs(e), type: et(e) };
3135
+ return ao(e) ? { direction: e.direction, type: e.type } : { direction: Fs(e), type: et(e) };
3111
3136
  }
3112
3137
  function ct(e) {
3113
3138
  return e === "asc" || e === "desc" || e === null;
@@ -3124,7 +3149,7 @@ function ao(e) {
3124
3149
  function Vi(e, t) {
3125
3150
  return e ? t ? e.type === t.type && e.direction === t.direction : e ? e.direction === null : !0 : t ? t.direction === null : !0;
3126
3151
  }
3127
- function Rs(e) {
3152
+ function Fs(e) {
3128
3153
  return ct(e) ? e : null;
3129
3154
  }
3130
3155
  function et(e) {
@@ -3262,7 +3287,7 @@ var _g = class {
3262
3287
  this.existingKeys[e[t]] = !0;
3263
3288
  }
3264
3289
  getUniqueKey(e, t) {
3265
- e = Rn(e);
3290
+ e = Fn(e);
3266
3291
  let o = 0;
3267
3292
  for (; ; ) {
3268
3293
  let i = e ?? t;
@@ -3308,7 +3333,7 @@ function fa(e, t, o) {
3308
3333
  for (let i = t.length - 1; i >= 0; i--)
3309
3334
  e.splice(o, 0, t[i]);
3310
3335
  }
3311
- var Fs = "ag-Grid-AutoColumn", Cd = "ag-Grid-SelectionColumn", vd = "ag-Grid-RowNumbersColumn";
3336
+ var Ps = "ag-Grid-AutoColumn", Cd = "ag-Grid-SelectionColumn", vd = "ag-Grid-RowNumbersColumn";
3312
3337
  function wd(e) {
3313
3338
  const t = [], o = (i) => {
3314
3339
  for (let s = 0; s < i.length; s++) {
@@ -3334,7 +3359,7 @@ function is(e, t, o) {
3334
3359
  e.context.destroyBeans(s);
3335
3360
  }
3336
3361
  function Rr(e) {
3337
- return e.getId().startsWith(Fs);
3362
+ return e.getId().startsWith(Ps);
3338
3363
  }
3339
3364
  function wt(e) {
3340
3365
  return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith(Cd) ?? !1;
@@ -3440,10 +3465,10 @@ function Jg(e, t, o, i, s, n) {
3440
3465
  r && i?.splice(r.idx, 1);
3441
3466
  let a = r?.column;
3442
3467
  if (a) {
3443
- const l = In(e, o, a.getColId());
3468
+ const l = kn(e, o, a.getColId());
3444
3469
  a.setColDef(l, o, n), Xg(e, a, l, n);
3445
3470
  } else {
3446
- const l = s.getUniqueKey(o.colId, o.field), d = In(e, o, l);
3471
+ const l = s.getUniqueKey(o.colId, o.field), d = kn(e, o, l);
3447
3472
  a = new Bt(d, o, l, t), e.context.createBean(a);
3448
3473
  }
3449
3474
  return e.dataTypeSvc?.addColumnListeners(a), a;
@@ -3492,7 +3517,7 @@ function ep(e, t) {
3492
3517
  return { idx: o, column: t[o] };
3493
3518
  }
3494
3519
  }
3495
- function In(e, t, o, i) {
3520
+ function kn(e, t, o, i) {
3496
3521
  const { gos: s, dataTypeSvc: n } = e, r = {}, a = s.get("defaultColDef");
3497
3522
  le(r, a, !1, !0);
3498
3523
  const l = tp(e, r, t, o);
@@ -3635,12 +3660,12 @@ function Ee(e, t, o) {
3635
3660
  const C = (D, F, T, O, M) => {
3636
3661
  if (!D)
3637
3662
  return;
3638
- const A = jg(F, t.defaultState), I = A("flex").value1, G = A("sort").value1, $ = A("sortType").value1, Q = ct(G) || yr($), se = et($), Gs = Rs(G), Hs = Q ? { type: se, direction: Gs } : void 0;
3663
+ const A = jg(F, t.defaultState), I = A("flex").value1, G = A("sort").value1, $ = A("sortType").value1, Q = ct(G) || yr($), se = et($), Hs = Fs(G), Vs = Q ? { type: se, direction: Hs } : void 0;
3639
3664
  if (yd(
3640
3665
  e,
3641
3666
  D,
3642
3667
  A("hide").value1,
3643
- Hs,
3668
+ Vs,
3644
3669
  A("sortIndex").value1,
3645
3670
  A("pinned").value1,
3646
3671
  I,
@@ -3656,10 +3681,10 @@ function Ee(e, t, o) {
3656
3681
  }, v = (D, F, T) => {
3657
3682
  const O = xd(e, o), M = F.slice(), A = {}, I = {}, G = [], $ = [], Q = [];
3658
3683
  let se = 0;
3659
- const Gs = s?.columns.slice() ?? [], Hs = n?.columns.slice() ?? [];
3684
+ const Hs = s?.columns.slice() ?? [], Vs = n?.columns.slice() ?? [];
3660
3685
  for (const ae of D) {
3661
3686
  const Eo = ae.colId;
3662
- if (Eo.startsWith(Fs)) {
3687
+ if (Eo.startsWith(Ps)) {
3663
3688
  G.push(ae), Q.push(ae);
3664
3689
  continue;
3665
3690
  }
@@ -3671,13 +3696,13 @@ function Ee(e, t, o) {
3671
3696
  _t ? (C(_t, ae, A, I, !1), We(M, _t)) : (Q.push(ae), se += 1);
3672
3697
  }
3673
3698
  const zt = (ae) => C(ae, null, A, I, !1);
3674
- M.forEach(zt), s?.sortColumns(ma.bind(s, A, Gs)), n?.sortColumns(ma.bind(n, I, Hs)), i.refreshCols(!1, o);
3675
- const xo = (ae, Eo, Vs = []) => {
3699
+ M.forEach(zt), s?.sortColumns(ma.bind(s, A, Hs)), n?.sortColumns(ma.bind(n, I, Vs)), i.refreshCols(!1, o);
3700
+ const xo = (ae, Eo, Bs = []) => {
3676
3701
  for (const _t of Eo) {
3677
3702
  const ia = ae(_t.colId);
3678
- We(Vs, ia), C(ia, _t, null, null, !0);
3703
+ We(Bs, ia), C(ia, _t, null, null, !0);
3679
3704
  }
3680
- Vs.forEach(zt);
3705
+ Bs.forEach(zt);
3681
3706
  };
3682
3707
  return xo(
3683
3708
  (ae) => r?.getColumn(ae) ?? null,
@@ -3770,7 +3795,7 @@ function xd(e, t) {
3770
3795
  f.length > 0 && np(a, "columnValueChanged", f, t), So(a, h((F, T) => F.width != T.getActualWidth()), !0, t), Dd(a, h((F, T) => F.pinned != T.getPinned()), t), sp(a, h((F, T) => F.hide == T.isVisible()), t);
3771
3796
  const y = h((F, T) => !Vi(T.getSortDef(), {
3772
3797
  type: et(F.sortType),
3773
- direction: Rs(F.sort)
3798
+ direction: Fs(F.sort)
3774
3799
  }) || F.sortIndex != T.getSortIndex());
3775
3800
  y.length > 0 && r?.dispatchSortChangedEvents(t, y);
3776
3801
  const D = ns(e);
@@ -3855,7 +3880,7 @@ function lp(e, t, o, i) {
3855
3880
  const l = a.getColId();
3856
3881
  if (n[l] != null)
3857
3882
  continue;
3858
- l.startsWith(Fs) ? s.splice(r++, 0, a) : s.push(a);
3883
+ l.startsWith(Ps) ? s.splice(r++, 0, a) : s.push(a);
3859
3884
  }
3860
3885
  if (s = Rd(s, i), !Fd(s, o.getColTree())) {
3861
3886
  R(39);
@@ -4649,7 +4674,7 @@ function zp(e, t, o, i) {
4649
4674
  function Ld(e, t) {
4650
4675
  return Id(e, t, Fr);
4651
4676
  }
4652
- function zs(e, t, o) {
4677
+ function _s(e, t, o) {
4653
4678
  return e.mergeParams(t, Fr, o);
4654
4679
  }
4655
4680
  function si(e) {
@@ -4723,28 +4748,28 @@ var Pr = class extends Do {
4723
4748
  const e = this.parentComponent;
4724
4749
  e?.isAlive() && e.getGui().classList.remove("ag-has-popup"), super.destroy();
4725
4750
  }
4726
- }, _s, Us, $s, Ks, kn, Ln, js;
4751
+ }, Us, $s, Ks, js, Ln, On, qs;
4727
4752
  function St() {
4728
- return _s === void 0 && (_s = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), _s;
4753
+ return Us === void 0 && (Us = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), Us;
4729
4754
  }
4730
4755
  function ni() {
4731
- return Us === void 0 && (Us = /(firefox)/i.test(navigator.userAgent)), Us;
4756
+ return $s === void 0 && ($s = /(firefox)/i.test(navigator.userAgent)), $s;
4732
4757
  }
4733
4758
  function Gd() {
4734
- return $s === void 0 && ($s = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)), $s;
4759
+ return Ks === void 0 && (Ks = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)), Ks;
4735
4760
  }
4736
4761
  function Mt() {
4737
- return Ks === void 0 && (Ks = /iPad|iPhone|iPod/.test(navigator.platform) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1), Ks;
4762
+ return js === void 0 && (js = /iPad|iPhone|iPod/.test(navigator.platform) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1), js;
4738
4763
  }
4739
- function On(e) {
4764
+ function Gn(e) {
4740
4765
  if (!e)
4741
4766
  return null;
4742
4767
  const t = e.tabIndex, o = e.getAttribute("tabIndex");
4743
4768
  return t === -1 && (o === null || o === "" && !ni()) ? null : t.toString();
4744
4769
  }
4745
4770
  function Qp() {
4746
- if (js !== void 0)
4747
- return js;
4771
+ if (qs !== void 0)
4772
+ return qs;
4748
4773
  if (!document.body)
4749
4774
  return -1;
4750
4775
  let e = 1e6;
@@ -4755,21 +4780,21 @@ function Qp() {
4755
4780
  break;
4756
4781
  e = i;
4757
4782
  }
4758
- return o.remove(), js = e, e;
4783
+ return o.remove(), qs = e, e;
4759
4784
  }
4760
4785
  function Zp() {
4761
- return Ln == null && Hd(), Ln;
4786
+ return On == null && Hd(), On;
4762
4787
  }
4763
4788
  function Hd() {
4764
4789
  const e = document.body, t = document.createElement("div");
4765
4790
  t.style.width = t.style.height = "100px", t.style.opacity = "0", t.style.overflow = "scroll", t.style.msOverflowStyle = "scrollbar", t.style.position = "absolute", e.appendChild(t);
4766
4791
  let o = t.offsetWidth - t.clientWidth;
4767
- o === 0 && t.clientWidth === 0 && (o = null), t.parentNode && t.remove(), o != null && (Ln = o, kn = o === 0);
4792
+ o === 0 && t.clientWidth === 0 && (o = null), t.parentNode && t.remove(), o != null && (On = o, Ln = o === 0);
4768
4793
  }
4769
4794
  function Vd() {
4770
- return kn == null && Hd(), kn;
4795
+ return Ln == null && Hd(), Ln;
4771
4796
  }
4772
- var Gn = !1, rs = 0;
4797
+ var Hn = !1, rs = 0;
4773
4798
  function Jp(e) {
4774
4799
  rs > 0 || (e.addEventListener("keydown", as), e.addEventListener("mousedown", as));
4775
4800
  }
@@ -4777,8 +4802,8 @@ function Xp(e) {
4777
4802
  rs > 0 || (e.removeEventListener("keydown", as), e.removeEventListener("mousedown", as));
4778
4803
  }
4779
4804
  function as(e) {
4780
- const t = Gn, o = e.type === "keydown";
4781
- o && (e.ctrlKey || e.metaKey || e.altKey) || t !== o && (Gn = o);
4805
+ const t = Hn, o = e.type === "keydown";
4806
+ o && (e.ctrlKey || e.metaKey || e.altKey) || t !== o && (Hn = o);
4782
4807
  }
4783
4808
  function ef(e) {
4784
4809
  const t = X(e);
@@ -4787,7 +4812,7 @@ function ef(e) {
4787
4812
  };
4788
4813
  }
4789
4814
  function Bd() {
4790
- return Gn;
4815
+ return Hn;
4791
4816
  }
4792
4817
  function co(e, t, o = !1) {
4793
4818
  const i = Vh;
@@ -4813,9 +4838,9 @@ function Nt(e, t, o, i) {
4813
4838
  }
4814
4839
  function Nd(e, t = 5) {
4815
4840
  let o = 0;
4816
- for (; e && On(e) === null && ++o <= t; )
4841
+ for (; e && Gn(e) === null && ++o <= t; )
4817
4842
  e = e.parentElement;
4818
- return On(e) === null ? null : e;
4843
+ return Gn(e) === null ? null : e;
4819
4844
  }
4820
4845
  var tf = "ag-focus-managed", Wd = class extends de {
4821
4846
  constructor(e, t = {
@@ -4855,7 +4880,7 @@ var tf = "ag-focus-managed", Wd = class extends de {
4855
4880
  }
4856
4881
  });
4857
4882
  }
4858
- }, qs = {
4883
+ }, Ys = {
4859
4884
  TAB_GUARD: "ag-tab-guard",
4860
4885
  TAB_GUARD_TOP: "ag-tab-guard-top",
4861
4886
  TAB_GUARD_BOTTOM: "ag-tab-guard-bottom"
@@ -5401,7 +5426,7 @@ function bi(e, t = !0) {
5401
5426
  `:${Oe(e.getSeconds(), 2)}`
5402
5427
  ] : [e.getFullYear(), e.getMonth() + 1, Oe(e.getDate(), 2)].map(String) : null;
5403
5428
  }
5404
- var Ys = (e) => {
5429
+ var Qs = (e) => {
5405
5430
  if (e > 3 && e < 21)
5406
5431
  return "th";
5407
5432
  switch (e % 10) {
@@ -5426,8 +5451,8 @@ var Ys = (e) => {
5426
5451
  "October",
5427
5452
  "November",
5428
5453
  "December"
5429
- ], Qs = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
5430
- function Hn(e, t) {
5454
+ ], Zs = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
5455
+ function Vn(e, t) {
5431
5456
  if (t == null)
5432
5457
  return ve(e, !1);
5433
5458
  const o = Oe(e.getFullYear(), 4), i = {
@@ -5437,15 +5462,15 @@ function Hn(e, t) {
5437
5462
  MMMM: () => Sa[e.getMonth()],
5438
5463
  MMM: () => Sa[e.getMonth()].slice(0, 3),
5439
5464
  MM: () => Oe(e.getMonth() + 1, 2),
5440
- Mo: () => `${e.getMonth() + 1}${Ys(e.getMonth() + 1)}`,
5465
+ Mo: () => `${e.getMonth() + 1}${Qs(e.getMonth() + 1)}`,
5441
5466
  M: () => `${e.getMonth() + 1}`,
5442
- Do: () => `${e.getDate()}${Ys(e.getDate())}`,
5467
+ Do: () => `${e.getDate()}${Qs(e.getDate())}`,
5443
5468
  DD: () => Oe(e.getDate(), 2),
5444
5469
  D: () => `${e.getDate()}`,
5445
- dddd: () => Qs[e.getDay()],
5446
- ddd: () => Qs[e.getDay()].slice(0, 3),
5447
- dd: () => Qs[e.getDay()].slice(0, 2),
5448
- do: () => `${e.getDay()}${Ys(e.getDay())}`,
5470
+ dddd: () => Zs[e.getDay()],
5471
+ ddd: () => Zs[e.getDay()].slice(0, 3),
5472
+ dd: () => Zs[e.getDay()].slice(0, 2),
5473
+ do: () => `${e.getDay()}${Qs(e.getDay())}`,
5449
5474
  d: () => `${e.getDay()}`
5450
5475
  }, s = new RegExp(Object.keys(i).join("|"), "g");
5451
5476
  return t.replace(s, (n) => n in i ? i[n]() : n);
@@ -5485,7 +5510,7 @@ function fe(e, t = !1, o) {
5485
5510
  return null;
5486
5511
  return d;
5487
5512
  }
5488
- function Vn(e) {
5513
+ function Bn(e) {
5489
5514
  const { inputValue: t, allSuggestions: o, hideIrrelevant: i, filterByPercentageOfBestMatch: s } = e;
5490
5515
  let n = (o ?? []).map(
5491
5516
  (l, d) => ({
@@ -5827,7 +5852,7 @@ var Dt = class extends Ud {
5827
5852
  }
5828
5853
  });
5829
5854
  }
5830
- }, Ps = {
5855
+ }, Ds = {
5831
5856
  selector: "AG-INPUT-TEXT-FIELD",
5832
5857
  component: Wt
5833
5858
  }, ff = class extends Dt {
@@ -6223,7 +6248,7 @@ var Dt = class extends Ud {
6223
6248
  }
6224
6249
  setupAria() {
6225
6250
  const e = this.getAriaElement();
6226
- e.setAttribute("tabindex", this.gos.get("tabIndex").toString()), Fn(e, !1), this.ariaRole && ht(e, this.ariaRole);
6251
+ e.setAttribute("tabindex", this.gos.get("tabIndex").toString()), Pn(e, !1), this.ariaRole && ht(e, this.ariaRole);
6227
6252
  }
6228
6253
  onLabelOrWrapperMouseDown(e) {
6229
6254
  if (e) {
@@ -6317,7 +6342,7 @@ var Dt = class extends Ud {
6317
6342
  if (!this.isAlive())
6318
6343
  return;
6319
6344
  const t = this.getAriaElement();
6320
- Fn(t, e);
6345
+ Pn(t, e);
6321
6346
  const o = this.eWrapper.classList;
6322
6347
  o.toggle("ag-picker-expanded", e), o.toggle("ag-picker-collapsed", !e);
6323
6348
  }
@@ -6662,7 +6687,7 @@ ${s}`;
6662
6687
  "fontFamily",
6663
6688
  "fontWeight",
6664
6689
  "duration"
6665
- ], Bf = Of((e) => (e = e.toLowerCase(), Vf.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Ds = (e) => typeof e == "object" && e?.ref ? _e(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1, Ir = (e) => {
6690
+ ], Bf = Of((e) => (e = e.toLowerCase(), Vf.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), xs = (e) => typeof e == "object" && e?.ref ? _e(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1, Ir = (e) => {
6666
6691
  if (typeof e == "string")
6667
6692
  return e;
6668
6693
  if (e && "ref" in e) {
@@ -6670,23 +6695,23 @@ ${s}`;
6670
6695
  return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? _e(e.onto) : "transparent"}, ${t} ${Lf(e.mix * 100, 0, 100)}%)`;
6671
6696
  }
6672
6697
  return !1;
6673
- }, Nf = Ds, Qt = (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 : " " + _e(o) + " ")})` : e && "ref" in e ? _e(e.ref) : !1, Wf = Ds, Bn = (e, t) => typeof e == "string" ? e : e === !0 ? Bn({}, t) : e === !1 ? t === "columnBorder" ? Bn({ color: "transparent" }, t) : "none" : e && "ref" in e ? _e(e.ref) : Yd(e.style ?? "solid") + " " + Qt(e.width ?? { ref: "borderWidth" }) + " " + Ir(e.color ?? { ref: "borderColor" }), zf = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? _e(e.ref) : [
6698
+ }, Nf = xs, Qt = (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 : " " + _e(o) + " ")})` : e && "ref" in e ? _e(e.ref) : !1, Wf = xs, Nn = (e, t) => typeof e == "string" ? e : e === !0 ? Nn({}, t) : e === !1 ? t === "columnBorder" ? Nn({ color: "transparent" }, t) : "none" : e && "ref" in e ? _e(e.ref) : Yd(e.style ?? "solid") + " " + Qt(e.width ?? { ref: "borderWidth" }) + " " + Ir(e.color ?? { ref: "borderColor" }), zf = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? _e(e.ref) : [
6674
6699
  Qt(e.offsetX ?? 0),
6675
6700
  Qt(e.offsetY ?? 0),
6676
6701
  Qt(e.radius ?? 0),
6677
6702
  Qt(e.spread ?? 0),
6678
6703
  Ir(e.color ?? { ref: "foregroundColor" })
6679
- ].join(" "), Yd = Ds, Qd = (e) => typeof e == "string" ? e.includes(",") ? e : ya(e) : e && "googleFont" in e ? Qd(e.googleFont) : e && "ref" in e ? _e(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), ya(t))).join(", ") : !1, ya = (e) => (
6704
+ ].join(" "), Yd = xs, Qd = (e) => typeof e == "string" ? e.includes(",") ? e : ya(e) : e && "googleFont" in e ? Qd(e.googleFont) : e && "ref" in e ? _e(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), ya(t))).join(", ") : !1, ya = (e) => (
6680
6705
  // don't quote var() expressions or quote safe identifier names, so that
6681
6706
  // people can specify fonts like sans-serif which are keywords not strings,
6682
6707
  // or var(--my-var)
6683
6708
  /^[\w-]+$|\w\(/.test(e) ? e : JSON.stringify(e)
6684
- ), _f = Ds, Zd = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? Zd({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? _e(e.ref) : !1, Uf = (e, t, o) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && o.warn(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? _e(e.ref) : !1, $f = {
6709
+ ), _f = xs, Zd = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? Zd({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? _e(e.ref) : !1, Uf = (e, t, o) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && o.warn(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? _e(e.ref) : !1, $f = {
6685
6710
  color: Ir,
6686
6711
  colorScheme: Nf,
6687
6712
  length: Qt,
6688
6713
  scale: Wf,
6689
- border: Bn,
6714
+ border: Nn,
6690
6715
  borderStyle: Yd,
6691
6716
  shadow: zf,
6692
6717
  image: Zd,
@@ -6972,7 +6997,7 @@ ${n}}
6972
6997
  if (t.offsetParent == null)
6973
6998
  return "detached";
6974
6999
  const o = t.offsetWidth;
6975
- return o === Zs ? "no-styles" : (this.sizesMeasured = !0, o);
7000
+ return o === Js ? "no-styles" : (this.sizesMeasured = !0, o);
6976
7001
  }
6977
7002
  getMeasurementContainer() {
6978
7003
  let e = this.eMeasurementContainer;
@@ -6987,8 +7012,8 @@ ${n}}
6987
7012
  const { border: i, noWarn: s } = e;
6988
7013
  i ? (t.className = "ag-measurement-element-border", t.style.setProperty(
6989
7014
  "--ag-internal-measurement-border",
6990
- `var(${e.cssName}, solid ${Zs}px)`
6991
- )) : t.style.width = `var(${e.cssName}, ${Zs}px)`, o.appendChild(t), this.sizeEls.set(e, t);
7015
+ `var(${e.cssName}, solid ${Js}px)`
7016
+ )) : t.style.width = `var(${e.cssName}, ${Js}px)`, o.appendChild(t), this.sizeEls.set(e, t);
6992
7017
  let n = this.measureSizeEl(e);
6993
7018
  n === "no-styles" && !s && this.varError(e);
6994
7019
  const r = Ct(this.beans, t, () => {
@@ -7037,7 +7062,7 @@ ${n}}
7037
7062
  [e]: !0
7038
7063
  });
7039
7064
  }
7040
- }, Zs = 15538, om = (e, t, o) => {
7065
+ }, Js = 15538, om = (e, t, o) => {
7041
7066
  let i = 60;
7042
7067
  const s = setInterval(() => {
7043
7068
  typeof ShadowRoot < "u" && e.getRootNode() instanceof ShadowRoot && (t(), clearInterval(s)), (hr(e) || --i < 0) && clearInterval(s);
@@ -7728,7 +7753,7 @@ ${n}}
7728
7753
  oc(e);
7729
7754
  const { eElement: o, pointerId: i } = e;
7730
7755
  o && t.pointerId === i && tc(o, i);
7731
- }, Ut, Zt, Js = { passive: !0 }, st = { passive: !1 }, Me = (e) => {
7756
+ }, Ut, Zt, Xs = { passive: !0 }, st = { passive: !1 }, Me = (e) => {
7732
7757
  if (!Zt)
7733
7758
  Zt = /* @__PURE__ */ new WeakSet();
7734
7759
  else if (Zt.has(e))
@@ -7790,7 +7815,7 @@ ${n}}
7790
7815
  }
7791
7816
  shouldPreventMouseEvent(e) {
7792
7817
  const t = e.type;
7793
- return (t === "mousemove" || t === "pointermove") && e.cancelable && ti(this.beans, e) && !No(en(e));
7818
+ return (t === "mousemove" || t === "pointermove") && e.cancelable && ti(this.beans, e) && !No(tn(e));
7794
7819
  }
7795
7820
  initDrag(e, ...t) {
7796
7821
  this.drag = e;
@@ -7820,10 +7845,10 @@ ${n}}
7820
7845
  if (Zt?.has(t))
7821
7846
  return;
7822
7847
  const i = t.pointerType;
7823
- if (i === "touch" && (o.gos.get("suppressTouch") || !e.includeTouch || (e.stopPropagationForTouch && t.stopPropagation(), No(en(t)))) || !t.isPrimary || i === "mouse" && t.button !== 0)
7848
+ if (i === "touch" && (o.gos.get("suppressTouch") || !e.includeTouch || (e.stopPropagationForTouch && t.stopPropagation(), No(tn(t)))) || !t.isPrimary || i === "mouse" && t.button !== 0)
7824
7849
  return;
7825
7850
  this.destroyDrag();
7826
- const s = Ie(o), n = e.eElement, r = t.pointerId, a = new Xs(s, e, t, r);
7851
+ const s = Ie(o), n = e.eElement, r = t.pointerId, a = new en(s, e, t, r);
7827
7852
  Ut ?? (Ut = /* @__PURE__ */ new WeakMap()), Ut.set(s, a);
7828
7853
  const l = (h) => {
7829
7854
  h.pointerId === r && this.onMouseOrPointerMove(h);
@@ -7843,19 +7868,19 @@ ${n}}
7843
7868
  }
7844
7869
  // gets called whenever mouse down on any drag source
7845
7870
  onTouchStart(e, t) {
7846
- if (this.gos.get("suppressTouch") || !e.includeTouch || !Me(t) || No(en(t)))
7871
+ if (this.gos.get("suppressTouch") || !e.includeTouch || !Me(t) || No(tn(t)))
7847
7872
  return;
7848
7873
  if (e.stopPropagationForTouch && t.stopPropagation(), this.isPointer()) {
7849
7874
  this.dragging && qt(t);
7850
7875
  return;
7851
7876
  }
7852
7877
  this.destroyDrag();
7853
- const i = this.beans, s = Ie(i), n = new Xs(s, e, t.touches[0]), r = (h) => this.onTouchMove(h), a = (h) => this.onTouchUp(h), l = (h) => this.onTouchCancel(h), d = (h) => this.draggingPreventDefault(h), c = Ie(i), u = t.target ?? e.eElement;
7878
+ const i = this.beans, s = Ie(i), n = new en(s, e, t.touches[0]), r = (h) => this.onTouchMove(h), a = (h) => this.onTouchUp(h), l = (h) => this.onTouchCancel(h), d = (h) => this.draggingPreventDefault(h), c = Ie(i), u = t.target ?? e.eElement;
7854
7879
  this.initDrag(
7855
7880
  n,
7856
- [u, "touchmove", r, Js],
7857
- [u, "touchend", a, Js],
7858
- [u, "touchcancel", l, Js],
7881
+ [u, "touchmove", r, Xs],
7882
+ [u, "touchend", a, Xs],
7883
+ [u, "touchcancel", l, Xs],
7859
7884
  [c, "touchmove", d, st],
7860
7885
  [c, "touchend", a, st],
7861
7886
  [c, "touchcancel", l, st]
@@ -7871,7 +7896,7 @@ ${n}}
7871
7896
  return;
7872
7897
  const o = this.beans;
7873
7898
  this.destroyDrag();
7874
- const i = new Xs(Ie(o), e, t), s = (a) => this.onMouseOrPointerMove(a), n = (a) => this.onMouseOrPointerUp(a), r = Ie(o);
7899
+ const i = new en(Ie(o), e, t), s = (a) => this.onMouseOrPointerMove(a), n = (a) => this.onMouseOrPointerUp(a), r = Ie(o);
7875
7900
  this.initDrag(i, [r, "mousemove", s], [r, "mouseup", n]), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : Me(t);
7876
7901
  }
7877
7902
  onScroll(e) {
@@ -7936,11 +7961,11 @@ ${n}}
7936
7961
  const o = e.params.eElement.style;
7937
7962
  o && (o.touchAction = t);
7938
7963
  }
7939
- }, Xs = class {
7964
+ }, en = class {
7940
7965
  constructor(e, t, o, i = null) {
7941
7966
  this.rootEl = e, this.params = t, this.start = o, this.pointerId = i, this.handlers = [], this.lastDrag = null, this.pointerCapture = null, this.eElement = t.eElement;
7942
7967
  }
7943
- }, en = (e) => {
7968
+ }, tn = (e) => {
7944
7969
  const t = e.target;
7945
7970
  return t instanceof Element ? t : null;
7946
7971
  }, mm = class extends de {
@@ -8232,8 +8257,8 @@ ${n}}
8232
8257
  return this.tabGuardCtrl;
8233
8258
  }
8234
8259
  createTabGuard(e) {
8235
- const t = X(this.beans).createElement("div"), o = e === "top" ? qs.TAB_GUARD_TOP : qs.TAB_GUARD_BOTTOM;
8236
- return t.classList.add(qs.TAB_GUARD, o), ht(t, "presentation"), t;
8260
+ const t = X(this.beans).createElement("div"), o = e === "top" ? Ys.TAB_GUARD_TOP : Ys.TAB_GUARD_BOTTOM;
8261
+ return t.classList.add(Ys.TAB_GUARD, o), ht(t, "presentation"), t;
8237
8262
  }
8238
8263
  addTabGuards(e, t) {
8239
8264
  const o = this.eFocusableElement;
@@ -8829,7 +8854,7 @@ var ym = /* @__PURE__ */ new Set([
8829
8854
  for (const i of Object.keys(e))
8830
8855
  ym.has(i) || (o[i] = e[i]);
8831
8856
  return o.oldRowTop = null, o;
8832
- }, Nn = (e, t, o) => {
8857
+ }, Wn = (e, t, o) => {
8833
8858
  if (!o)
8834
8859
  return;
8835
8860
  let i = o.rowIndex;
@@ -9062,9 +9087,9 @@ function Ge(e, t, o) {
9062
9087
  }
9063
9088
  function Or(e, t) {
9064
9089
  const { debounceMs: o } = e;
9065
- return xs(e) ? (o != null && R(71), 0) : o ?? t;
9090
+ return Es(e) ? (o != null && R(71), 0) : o ?? t;
9066
9091
  }
9067
- function xs(e) {
9092
+ function Es(e) {
9068
9093
  return (e.buttons?.indexOf("apply") ?? -1) >= 0;
9069
9094
  }
9070
9095
  function ac(e, t, o, i) {
@@ -9128,7 +9153,7 @@ var Tm = class extends N {
9128
9153
  const h = `${u}Filter`;
9129
9154
  return { type: u, label: Ge(this, h) };
9130
9155
  });
9131
- if (this.applyActive = xs(this.params), !d) {
9156
+ if (this.applyActive = Es(this.params), !d) {
9132
9157
  d = this.createBean(new xm()), this.appendChild(d.getGui());
9133
9158
  const u = this.column, h = (g) => ({ event: p }) => {
9134
9159
  this.updateModel(u, g, { fromButtons: !0 }), this.afterAction(g, p);
@@ -9278,7 +9303,7 @@ function Im(e, t) {
9278
9303
  function ka(e) {
9279
9304
  return e instanceof Date && !isNaN(e.getTime());
9280
9305
  }
9281
- var Wn = {
9306
+ var zn = {
9282
9307
  number: () => {
9283
9308
  },
9284
9309
  boolean: () => ({
@@ -9308,13 +9333,13 @@ var Wn = {
9308
9333
  },
9309
9334
  isValidDate: (t) => typeof t == "string" && ka(e.dateParser(t))
9310
9335
  }),
9311
- dateTime: (e) => Wn.date(e),
9312
- dateTimeString: (e) => Wn.dateString(e),
9336
+ dateTime: (e) => zn.date(e),
9337
+ dateTimeString: (e) => zn.dateString(e),
9313
9338
  object: () => {
9314
9339
  },
9315
9340
  text: () => {
9316
9341
  }
9317
- }, zn = {
9342
+ }, _n = {
9318
9343
  number: () => ({ comparator: Im }),
9319
9344
  boolean: ({ t: e }) => ({
9320
9345
  valueFormatter: (t) => x(t.value) ? e(String(t.value), t.value ? "True" : "False") : e("blanks", "(Blanks)")
@@ -9352,11 +9377,11 @@ var Wn = {
9352
9377
  }
9353
9378
  }),
9354
9379
  dateTime: (e) => {
9355
- const t = zn.date(e);
9380
+ const t = _n.date(e);
9356
9381
  return t.treeListPathGetter = bi, t;
9357
9382
  },
9358
9383
  dateTimeString(e) {
9359
- const t = e.dataTypeDefinition.dateParser, o = zn.dateString(e);
9384
+ const t = e.dataTypeDefinition.dateParser, o = _n.dateString(e);
9360
9385
  return o.treeListPathGetter = (i) => bi(t(i ?? void 0)), o;
9361
9386
  },
9362
9387
  object: ({ formatValue: e, t }) => ({
@@ -9372,7 +9397,7 @@ function km(e, t, o, i, s, n, r) {
9372
9397
  let a = t, l = o;
9373
9398
  const d = e === "agSetColumnFilter";
9374
9399
  !l && i.baseDataType === "object" && !d && (l = ({ column: g, node: p }) => s({ column: g, node: p, value: n.valueSvc.getValue(g, p) }));
9375
- const u = (d ? zn : Wn)[i.baseDataType], h = u({ dataTypeDefinition: i, formatValue: s, t: r });
9400
+ const u = (d ? _n : zn)[i.baseDataType], h = u({ dataTypeDefinition: i, formatValue: s, t: r });
9376
9401
  return a = typeof t == "object" ? {
9377
9402
  ...h,
9378
9403
  ...t
@@ -9463,7 +9488,7 @@ var dc = {
9463
9488
  this.commonUpdateParams(e, t);
9464
9489
  }
9465
9490
  commonUpdateParams(e, t) {
9466
- this.applyActive = xs(e), this.setupApplyDebounced();
9491
+ this.applyActive = Es(e), this.setupApplyDebounced();
9467
9492
  }
9468
9493
  /**
9469
9494
  * @deprecated v34 Use the same method on the filter handler (`api.getColumnFilterHandler()`) instead.
@@ -9622,14 +9647,14 @@ var Pe = {
9622
9647
  }, o = t.autoHeight ? Pe.AUTO_HEIGHT : t.print ? Pe.PRINT : Pe.NORMAL;
9623
9648
  this.view.updateLayoutClasses(o, t);
9624
9649
  }
9625
- }, rt = "Viewport", La = "fakeVScrollComp", tn = [
9650
+ }, rt = "Viewport", La = "fakeVScrollComp", on = [
9626
9651
  "fakeHScrollComp",
9627
9652
  "centerHeader",
9628
9653
  "topCenter",
9629
9654
  "bottomCenter",
9630
9655
  "stickyTopCenter",
9631
9656
  "stickyBottomCenter"
9632
- ], Oa = 100, on = 150, Nm = class extends b {
9657
+ ], Oa = 100, sn = 150, Nm = class extends b {
9633
9658
  constructor(e) {
9634
9659
  super(), this.clearRetryListenerFncs = [], this.lastScrollSource = [null, null], this.scrollLeft = -1, this.nextScrollTop = -1, this.scrollTop = -1, this.lastOffsetHeight = -1, this.lastScrollTop = -1, this.lastIsHorizontalScrollShowing = !1, this.scrollTimer = 0, this.isScrollActive = !1, this.isVerticalPositionInvalidated = !0, this.isHorizontalPositionInvalidated = !0, this.eBodyViewport = e, this.resetLastHScrollDebounced = ee(
9635
9660
  this,
@@ -9637,14 +9662,14 @@ var Pe = {
9637
9662
  1
9638
9663
  /* Horizontal */
9639
9664
  ] = null,
9640
- on
9665
+ sn
9641
9666
  ), this.resetLastVScrollDebounced = ee(
9642
9667
  this,
9643
9668
  () => this.lastScrollSource[
9644
9669
  0
9645
9670
  /* Vertical */
9646
9671
  ] = null,
9647
- on
9672
+ sn
9648
9673
  );
9649
9674
  }
9650
9675
  wireBeans(e) {
@@ -9683,7 +9708,7 @@ var Pe = {
9683
9708
  this.addManagedElementListeners(this.centerRowsCtrl.eViewport, {
9684
9709
  scroll: this.onHScroll.bind(this, rt)
9685
9710
  });
9686
- for (const e of tn) {
9711
+ for (const e of on) {
9687
9712
  const t = this.ctrlsSvc.get(e);
9688
9713
  this.registerScrollPartner(t, this.onHScroll.bind(this, e));
9689
9714
  }
@@ -9702,7 +9727,7 @@ var Pe = {
9702
9727
  this.centerRowsCtrl != null && (e === void 0 && (e = this.centerRowsCtrl.getCenterViewportScrollLeft()), this.setScrollLeftForAllContainersExceptCurrent(Math.abs(e)));
9703
9728
  }
9704
9729
  setScrollLeftForAllContainersExceptCurrent(e) {
9705
- for (const t of [...tn, rt]) {
9730
+ for (const t of [...on, rt]) {
9706
9731
  if (this.lastScrollSource[
9707
9732
  1
9708
9733
  /* Horizontal */
@@ -9766,7 +9791,7 @@ var Pe = {
9766
9791
  ...t,
9767
9792
  type: "bodyScrollEnd"
9768
9793
  });
9769
- }, on);
9794
+ }, sn);
9770
9795
  }
9771
9796
  shouldBlockScrollUpdate(e, t, o = !1) {
9772
9797
  return o && !Mt() ? !1 : e === 0 ? this.shouldBlockVerticalScroll(t) : this.shouldBlockHorizontalScroll(t);
@@ -9799,7 +9824,7 @@ var Pe = {
9799
9824
  checkScrollLeft() {
9800
9825
  const e = this.scrollLeft;
9801
9826
  let t = !1;
9802
- for (const o of tn)
9827
+ for (const o of on)
9803
9828
  if (this.getViewportForSource(o).scrollLeft !== e) {
9804
9829
  t = !0;
9805
9830
  break;
@@ -10080,7 +10105,7 @@ var cs = "renderedRow";
10080
10105
  function _m(e, t) {
10081
10106
  return hc(e, t, cs);
10082
10107
  }
10083
- function _n(e, t, o, i, s) {
10108
+ function Un(e, t, o, i, s) {
10084
10109
  const n = i ? i.getColDef().suppressKeyboardEvent : void 0;
10085
10110
  if (!n)
10086
10111
  return !1;
@@ -10144,7 +10169,7 @@ var $m = class extends b {
10144
10169
  }
10145
10170
  processCellKeyboardEvent(e, t, o) {
10146
10171
  const i = this.editSvc?.isEditing(e, { withOpenEditor: !0 }) ?? !1;
10147
- !_n(
10172
+ !Un(
10148
10173
  this.gos,
10149
10174
  o,
10150
10175
  e.rowNode,
@@ -10154,7 +10179,7 @@ var $m = class extends b {
10154
10179
  }
10155
10180
  processFullWidthRowKeyboardEvent(e, t, o) {
10156
10181
  const { rowNode: i } = e, { focusSvc: s, navigation: n } = this.beans, a = s.getFocusedCell()?.column;
10157
- if (!_n(this.gos, o, i, a, !1)) {
10182
+ if (!Un(this.gos, o, i, a, !1)) {
10158
10183
  const d = o.key;
10159
10184
  if (t === "keydown")
10160
10185
  switch (d) {
@@ -10243,26 +10268,26 @@ var $m = class extends b {
10243
10268
  const t = e.uiContainerHeight, o = t != null ? `${t}px` : "";
10244
10269
  this.eContainer.style.height = o, this.eViewport && (this.eViewport.style.height = o);
10245
10270
  }
10246
- }, Fi = (e) => e.topRowCtrls, Pi = (e) => e.getStickyTopRowCtrls(), Di = (e) => e.getStickyBottomRowCtrls(), xi = (e) => e.bottomRowCtrls, Ei = (e) => e.allRowCtrls, sn = (e) => e.getCtrls("top"), nn = (e) => e.getCtrls("center"), rn = (e) => e.getCtrls("bottom"), Km = {
10271
+ }, Fi = (e) => e.topRowCtrls, Pi = (e) => e.getStickyTopRowCtrls(), Di = (e) => e.getStickyBottomRowCtrls(), xi = (e) => e.bottomRowCtrls, Ei = (e) => e.allRowCtrls, nn = (e) => e.getCtrls("top"), rn = (e) => e.getCtrls("center"), an = (e) => e.getCtrls("bottom"), Km = {
10247
10272
  center: {
10248
10273
  type: "center",
10249
10274
  name: "center-cols",
10250
10275
  getRowCtrls: Ei,
10251
- getSpannedRowCtrls: nn
10276
+ getSpannedRowCtrls: rn
10252
10277
  },
10253
10278
  left: {
10254
10279
  type: "left",
10255
10280
  name: "pinned-left-cols",
10256
10281
  pinnedType: "left",
10257
10282
  getRowCtrls: Ei,
10258
- getSpannedRowCtrls: nn
10283
+ getSpannedRowCtrls: rn
10259
10284
  },
10260
10285
  right: {
10261
10286
  type: "right",
10262
10287
  name: "pinned-right-cols",
10263
10288
  pinnedType: "right",
10264
10289
  getRowCtrls: Ei,
10265
- getSpannedRowCtrls: nn
10290
+ getSpannedRowCtrls: rn
10266
10291
  },
10267
10292
  fullWidth: {
10268
10293
  type: "fullWidth",
@@ -10274,7 +10299,7 @@ var $m = class extends b {
10274
10299
  type: "center",
10275
10300
  name: "floating-top",
10276
10301
  getRowCtrls: Fi,
10277
- getSpannedRowCtrls: sn
10302
+ getSpannedRowCtrls: nn
10278
10303
  },
10279
10304
  topLeft: {
10280
10305
  type: "left",
@@ -10282,7 +10307,7 @@ var $m = class extends b {
10282
10307
  container: "ag-pinned-left-floating-top",
10283
10308
  pinnedType: "left",
10284
10309
  getRowCtrls: Fi,
10285
- getSpannedRowCtrls: sn
10310
+ getSpannedRowCtrls: nn
10286
10311
  },
10287
10312
  topRight: {
10288
10313
  type: "right",
@@ -10290,7 +10315,7 @@ var $m = class extends b {
10290
10315
  container: "ag-pinned-right-floating-top",
10291
10316
  pinnedType: "right",
10292
10317
  getRowCtrls: Fi,
10293
- getSpannedRowCtrls: sn
10318
+ getSpannedRowCtrls: nn
10294
10319
  },
10295
10320
  topFullWidth: {
10296
10321
  type: "fullWidth",
@@ -10352,7 +10377,7 @@ var $m = class extends b {
10352
10377
  type: "center",
10353
10378
  name: "floating-bottom",
10354
10379
  getRowCtrls: xi,
10355
- getSpannedRowCtrls: rn
10380
+ getSpannedRowCtrls: an
10356
10381
  },
10357
10382
  bottomLeft: {
10358
10383
  type: "left",
@@ -10360,7 +10385,7 @@ var $m = class extends b {
10360
10385
  container: "ag-pinned-left-floating-bottom",
10361
10386
  pinnedType: "left",
10362
10387
  getRowCtrls: xi,
10363
- getSpannedRowCtrls: rn
10388
+ getSpannedRowCtrls: an
10364
10389
  },
10365
10390
  bottomRight: {
10366
10391
  type: "right",
@@ -10368,7 +10393,7 @@ var $m = class extends b {
10368
10393
  container: "ag-pinned-right-floating-bottom",
10369
10394
  pinnedType: "right",
10370
10395
  getRowCtrls: xi,
10371
- getSpannedRowCtrls: rn
10396
+ getSpannedRowCtrls: an
10372
10397
  },
10373
10398
  bottomFullWidth: {
10374
10399
  type: "fullWidth",
@@ -11093,7 +11118,7 @@ function DC(e, t) {
11093
11118
  function At(e) {
11094
11119
  return e.gos.get("suppressHeaderFocus") || !!e.overlays?.exclusive;
11095
11120
  }
11096
- function Es(e) {
11121
+ function Ts(e) {
11097
11122
  return e.gos.get("suppressCellFocus") || !!e.overlays?.exclusive;
11098
11123
  }
11099
11124
  function yo(e, t, o = !1) {
@@ -11580,7 +11605,7 @@ var IC = class extends b {
11580
11605
  if (u < 5) {
11581
11606
  const y = !X(s)?.contains(t), D = v == 0;
11582
11607
  if (y || D) {
11583
- Dn(() => n(u + 1), "raf", s);
11608
+ xn(() => n(u + 1), "raf", s);
11584
11609
  return;
11585
11610
  }
11586
11611
  }
@@ -12051,7 +12076,7 @@ var IC = class extends b {
12051
12076
  function Va(e) {
12052
12077
  return typeof e?.getAnchorElementForMenu == "function" && typeof e.onMenuKeyboardShortcut == "function";
12053
12078
  }
12054
- var zC = 0, an = class extends b {
12079
+ var zC = 0, ln = class extends b {
12055
12080
  constructor(e, t, o) {
12056
12081
  super(), this.rowIndex = e, this.pinned = t, this.type = o, this.instanceId = zC++, this.comp = null, this.allCtrls = [];
12057
12082
  let i = "ag-header-row-column";
@@ -12253,7 +12278,7 @@ var zC = 0, an = class extends b {
12253
12278
  return;
12254
12279
  }
12255
12280
  for (let g = h; g < u; g++) {
12256
- const p = this.createBean(new an(g, this.pinned, "group"));
12281
+ const p = this.createBean(new ln(g, this.pinned, "group"));
12257
12282
  this.groupsRowCtrls.push(p);
12258
12283
  }
12259
12284
  }
@@ -12263,7 +12288,7 @@ var zC = 0, an = class extends b {
12263
12288
  this.columnsRowCtrl = this.destroyBean(this.columnsRowCtrl);
12264
12289
  return;
12265
12290
  }
12266
- this.columnsRowCtrl == null || !e ? (this.columnsRowCtrl = this.destroyBean(this.columnsRowCtrl), this.columnsRowCtrl = this.createBean(new an(u, this.pinned, "column"))) : this.columnsRowCtrl.rowIndex !== u && this.columnsRowCtrl.setRowIndex(u);
12291
+ this.columnsRowCtrl == null || !e ? (this.columnsRowCtrl = this.destroyBean(this.columnsRowCtrl), this.columnsRowCtrl = this.createBean(new ln(u, this.pinned, "column"))) : this.columnsRowCtrl.rowIndex !== u && this.columnsRowCtrl.setRowIndex(u);
12267
12292
  }, l = () => {
12268
12293
  this.includeFloatingFilter = !!o?.hasFloatingFilters() && !this.hidden;
12269
12294
  const u = () => {
@@ -12275,7 +12300,7 @@ var zC = 0, an = class extends b {
12275
12300
  }
12276
12301
  e || u();
12277
12302
  const h = s++;
12278
- this.filtersRowCtrl ? this.filtersRowCtrl.rowIndex !== h && this.filtersRowCtrl.setRowIndex(h) : this.filtersRowCtrl = this.createBean(new an(h, this.pinned, "filter"));
12303
+ this.filtersRowCtrl ? this.filtersRowCtrl.rowIndex !== h && this.filtersRowCtrl.setRowIndex(h) : this.filtersRowCtrl = this.createBean(new ln(h, this.pinned, "filter"));
12279
12304
  }, d = this.getAllCtrls();
12280
12305
  r(), a(), l();
12281
12306
  const c = this.getAllCtrls();
@@ -12421,7 +12446,7 @@ function Na(e) {
12421
12446
  const { enterpriseMenuFactory: t, filterMenuFactory: o, gos: i } = e;
12422
12447
  return t && Ce(i) ? t : o;
12423
12448
  }
12424
- var Ts = class extends Pr {
12449
+ var Ms = class extends Pr {
12425
12450
  constructor() {
12426
12451
  super(...arguments), this.errorMessages = null;
12427
12452
  }
@@ -12431,7 +12456,7 @@ var Ts = class extends Pr {
12431
12456
  destroy() {
12432
12457
  this.errorMessages = null;
12433
12458
  }
12434
- }, Ms = class extends N {
12459
+ }, As = class extends N {
12435
12460
  constructor() {
12436
12461
  super();
12437
12462
  }
@@ -12487,7 +12512,7 @@ var KC = {
12487
12512
  { tag: "span", ref: "eLoadingIcon", cls: "ag-loading-icon" },
12488
12513
  { tag: "span", ref: "eLoadingText", cls: "ag-loading-text" }
12489
12514
  ]
12490
- }, jC = class extends Ms {
12515
+ }, jC = class extends As {
12491
12516
  constructor() {
12492
12517
  super(...arguments), this.eLoadingIcon = P, this.eLoadingText = P;
12493
12518
  }
@@ -12507,7 +12532,7 @@ var KC = {
12507
12532
  { tag: "span", ref: "eExportingIcon", cls: "ag-loading-icon" },
12508
12533
  { tag: "span", ref: "eExportingText", cls: "ag-exporting-text" }
12509
12534
  ]
12510
- }, YC = class extends Ms {
12535
+ }, YC = class extends As {
12511
12536
  constructor() {
12512
12537
  super(...arguments), this.eExportingIcon = P, this.eExportingText = P;
12513
12538
  }
@@ -12519,7 +12544,7 @@ var KC = {
12519
12544
  const i = e.exporting?.overlayText ?? this.getLocaleTextFunc()("exportingOoo", "Exporting...");
12520
12545
  this.eExportingText.textContent = i, t.ariaAnnounce.announceValue(i, "overlay");
12521
12546
  }
12522
- }, QC = { tag: "span", cls: "ag-overlay-no-rows-center" }, ZC = class extends Ms {
12547
+ }, QC = { tag: "span", cls: "ag-overlay-no-rows-center" }, ZC = class extends As {
12523
12548
  init(e) {
12524
12549
  const { beans: t, gos: o } = this, i = Ye(o.get("overlayNoRowsTemplate")?.trim());
12525
12550
  if (this.setTemplate(i ?? QC), !i) {
@@ -12527,7 +12552,7 @@ var KC = {
12527
12552
  this.getGui().textContent = s, t.ariaAnnounce.announceValue(s, "overlay");
12528
12553
  }
12529
12554
  }
12530
- }, JC = { tag: "span", cls: "ag-overlay-no-matching-rows-center" }, XC = class extends Ms {
12555
+ }, JC = { tag: "span", cls: "ag-overlay-no-matching-rows-center" }, XC = class extends As {
12531
12556
  init(e) {
12532
12557
  const { beans: t } = this;
12533
12558
  this.setTemplate(JC);
@@ -12635,7 +12660,7 @@ var KC = {
12635
12660
  t = i;
12636
12661
  else {
12637
12662
  const u = s.getColId();
12638
- u.startsWith(Fs) ? t = i == null || i === "" ? void 0 : i === "true" : n.aggData && n.aggData[u] !== void 0 || n.sourceRowIndex >= 0 ? t = i ?? void 0 : o = !1;
12663
+ u.startsWith(Ps) ? t = i == null || i === "" ? void 0 : i === "true" : n.aggData && n.aggData[u] !== void 0 || n.sourceRowIndex >= 0 ? t = i ?? void 0 : o = !1;
12639
12664
  }
12640
12665
  else
12641
12666
  t = i ?? void 0;
@@ -12647,7 +12672,7 @@ var KC = {
12647
12672
  r.setValue(t);
12648
12673
  const a = e.disabled ?? !s?.isCellEditable(n);
12649
12674
  r.setDisabled(a);
12650
- const l = this.getLocaleTextFunc(), d = bs(l, t), c = a ? d : `${l("ariaToggleCellValue", "Press SPACE to toggle cell value")} (${d})`;
12675
+ const l = this.getLocaleTextFunc(), d = ys(l, t), c = a ? d : `${l("ariaToggleCellValue", "Press SPACE to toggle cell value")} (${d})`;
12651
12676
  r.setInputAriaLabel(c);
12652
12677
  }
12653
12678
  onCheckboxChanged(e) {
@@ -12722,7 +12747,7 @@ function Pc(e) {
12722
12747
  const t = e.parent;
12723
12748
  return t?.childrenAfterSort?.some((o) => o == e) ? Pc(t) : !1;
12724
12749
  }
12725
- function ln(e, t) {
12750
+ function dn(e, t) {
12726
12751
  const { gos: o, rowModel: i, filterManager: s } = e;
12727
12752
  return gi(o) ? !i.getRowNode(t.id) : s?.isAnyFilterPresent() ? !Pc(t) : o.get("pivotMode") ? !t.group : !1;
12728
12753
  }
@@ -12741,7 +12766,7 @@ var za = class extends b {
12741
12766
  postConstruct() {
12742
12767
  const { gos: e, beans: t } = this;
12743
12768
  this.top = new Wa(t, "top"), this.bottom = new Wa(t, "bottom");
12744
- const o = (s) => ln(t, s.pinnedSibling), i = () => {
12769
+ const o = (s) => dn(t, s.pinnedSibling), i = () => {
12745
12770
  const s = e.get("isRowPinned");
12746
12771
  s && e.get("enableRowPinning") && t.rowModel.forEachNode((n) => this.pinRow(n, s(n)), !0), this.refreshRowPositions(), this.dispatchRowPinnedEvents();
12747
12772
  };
@@ -12802,10 +12827,10 @@ var za = class extends b {
12802
12827
  return;
12803
12828
  a.delete(r);
12804
12829
  const l = r.pinnedSibling;
12805
- dn(r), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(l);
12830
+ cn(r), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(l);
12806
12831
  } else {
12807
12832
  const r = _a(this.beans, e, t), a = this.getContainer(t);
12808
- a.add(r), ln(this.beans, e) && a.hide((l) => ln(this.beans, l.pinnedSibling)), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(e);
12833
+ a.add(r), dn(this.beans, e) && a.hide((l) => dn(this.beans, l.pinnedSibling)), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(e);
12809
12834
  }
12810
12835
  }
12811
12836
  isManual() {
@@ -12897,14 +12922,14 @@ var za = class extends b {
12897
12922
  return;
12898
12923
  const n = s.pinnedSibling, r = n && this.findPinnedRowNode(n);
12899
12924
  if (o) {
12900
- if (r && r.floating !== o && (r.delete(n), dn(n)), !r || r.floating !== o) {
12925
+ if (r && r.floating !== o && (r.delete(n), cn(n)), !r || r.floating !== o) {
12901
12926
  const a = _a(t, s, o);
12902
12927
  this.getContainer(o).add(a);
12903
12928
  }
12904
12929
  } else {
12905
12930
  if (!r)
12906
12931
  return;
12907
- r.delete(n), dn(n);
12932
+ r.delete(n), cn(n);
12908
12933
  }
12909
12934
  }
12910
12935
  onGridStylesChanges(e) {
@@ -12956,7 +12981,7 @@ function _a(e, t, o) {
12956
12981
  const s = o === "top" ? kr : Lr;
12957
12982
  return i.id = `${s}${o}-${t.id}`, i.pinnedSibling = t, t.pinnedSibling = i, i;
12958
12983
  }
12959
- function dn(e) {
12984
+ function cn(e) {
12960
12985
  if (!e.pinnedSibling)
12961
12986
  return;
12962
12987
  e.rowPinned = null, e._destroy(!1);
@@ -13072,16 +13097,16 @@ var $a = class extends b {
13072
13097
  return Ka(this.pinnedBottomRows);
13073
13098
  }
13074
13099
  getPinnedTopRowCount() {
13075
- return $n(this.pinnedTopRows);
13100
+ return Kn(this.pinnedTopRows);
13076
13101
  }
13077
13102
  getPinnedBottomRowCount() {
13078
- return $n(this.pinnedBottomRows);
13103
+ return Kn(this.pinnedBottomRows);
13079
13104
  }
13080
13105
  getPinnedTopRow(e) {
13081
- return Un(this.pinnedTopRows, e);
13106
+ return $n(this.pinnedTopRows, e);
13082
13107
  }
13083
13108
  getPinnedBottomRow(e) {
13084
- return Un(this.pinnedBottomRows, e);
13109
+ return $n(this.pinnedBottomRows, e);
13085
13110
  }
13086
13111
  getPinnedRowById(e, t) {
13087
13112
  return Uo(this.getCache(t), e);
@@ -13103,16 +13128,16 @@ var $a = class extends b {
13103
13128
  }
13104
13129
  };
13105
13130
  function Ka(e) {
13106
- const t = $n(e);
13131
+ const t = Kn(e);
13107
13132
  if (t === 0)
13108
13133
  return 0;
13109
- const o = Un(e, t - 1);
13134
+ const o = $n(e, t - 1);
13110
13135
  return o === void 0 ? 0 : o.rowTop + o.rowHeight;
13111
13136
  }
13112
13137
  function Uo(e, t) {
13113
13138
  return e.cache[t];
13114
13139
  }
13115
- function Un(e, t) {
13140
+ function $n(e, t) {
13116
13141
  return Uo(e, e.order[t]);
13117
13142
  }
13118
13143
  function Mo(e, t) {
@@ -13121,7 +13146,7 @@ function Mo(e, t) {
13121
13146
  s && t(s, i);
13122
13147
  });
13123
13148
  }
13124
- function $n(e) {
13149
+ function Kn(e) {
13125
13150
  return e.order.length;
13126
13151
  }
13127
13152
  var gv = class extends b {
@@ -13289,7 +13314,7 @@ var fv = {
13289
13314
  this.showOrHideSelect();
13290
13315
  }
13291
13316
  onSelectionChanged() {
13292
- const e = this.getLocaleTextFunc(), { rowNode: t, eCheckbox: o } = this, i = t.isSelected(), s = bs(e, i), [n, r] = t.selectable ? ["ariaRowToggleSelection", "Press Space to toggle row selection"] : ["ariaRowSelectionDisabled", "Row Selection is disabled for this row"], a = e(n, r);
13317
+ const e = this.getLocaleTextFunc(), { rowNode: t, eCheckbox: o } = this, i = t.isSelected(), s = ys(e, i), [n, r] = t.selectable ? ["ariaRowToggleSelection", "Press Space to toggle row selection"] : ["ariaRowSelectionDisabled", "Row Selection is disabled for this row"], a = e(n, r);
13293
13318
  o.setValue(i, !0), o.setInputAriaLabel(`${a} (${s})`);
13294
13319
  }
13295
13320
  init(e) {
@@ -13304,9 +13329,9 @@ var fv = {
13304
13329
  dataChanged: this.onDataChanged.bind(this),
13305
13330
  selectableChanged: this.onSelectableChanged.bind(this)
13306
13331
  }), this.addManagedPropertyListener("rowSelection", ({ currentValue: i, previousValue: s }) => {
13307
- const n = typeof i == "object" ? Ws(i) : void 0, r = typeof s == "object" ? Ws(s) : void 0;
13332
+ const n = typeof i == "object" ? zs(i) : void 0, r = typeof s == "object" ? zs(s) : void 0;
13308
13333
  n !== r && this.onSelectableChanged();
13309
- }), An(this.gos) || typeof this.getIsVisible() == "function") {
13334
+ }), In(this.gos) || typeof this.getIsVisible() == "function") {
13310
13335
  const i = this.showOrHideSelect.bind(this);
13311
13336
  this.addManagedEventListeners({ displayedColumnsChanged: i }), this.addManagedListeners(this.rowNode, {
13312
13337
  dataChanged: i,
@@ -13328,7 +13353,7 @@ var fv = {
13328
13353
  }
13329
13354
  } else
13330
13355
  r = n ?? !1;
13331
- const a = s && !r || !s && r, l = s || r, d = i.get("rowSelection"), c = d && typeof d != "string" ? !Ws(d) : !!e?.getColDef().showDisabledCheckboxes;
13356
+ const a = s && !r || !s && r, l = s || r, d = i.get("rowSelection"), c = d && typeof d != "string" ? !zs(d) : !!e?.getColDef().showDisabledCheckboxes;
13332
13357
  this.setVisible(l && (a ? c : !0)), this.setDisplayed(l && (a ? c : !0)), l && this.eCheckbox.setDisabled(a), o?.removeHidden && this.setDisplayed(l);
13333
13358
  }
13334
13359
  getIsVisible() {
@@ -13495,7 +13520,7 @@ var fv = {
13495
13520
  o.setDisabled(!s), this.refreshSelectAllLabel(), this.processingEventFromCheckbox = !1;
13496
13521
  }
13497
13522
  refreshSelectAllLabel(e = !1) {
13498
- const t = this.getLocaleTextFunc(), { headerCellCtrl: o, cbSelectAll: i, cbSelectAllVisible: s } = this, n = i.getValue(), r = bs(t, n), a = t("ariaRowSelectAll", "Press Space to toggle all rows selection");
13523
+ const t = this.getLocaleTextFunc(), { headerCellCtrl: o, cbSelectAll: i, cbSelectAllVisible: s } = this, n = i.getValue(), r = ys(t, n), a = t("ariaRowSelectAll", "Press Space to toggle all rows selection");
13499
13524
  o.setAriaDescriptionProperty(
13500
13525
  "selectAll",
13501
13526
  s ? `${a} (${r})` : null
@@ -13549,9 +13574,9 @@ var wv = class extends b {
13549
13574
  postConstruct() {
13550
13575
  const { gos: e, beans: t } = this;
13551
13576
  this.selectionCtx = new Cv(t.rowModel, t.pinnedRowModel), this.addManagedPropertyListeners(["isRowSelectable", "rowSelection"], () => {
13552
- const o = An(e);
13577
+ const o = In(e);
13553
13578
  o !== this.isRowSelectable && (this.isRowSelectable = o, this.updateSelectable());
13554
- }), this.isRowSelectable = An(e), this.addManagedEventListeners({
13579
+ }), this.isRowSelectable = In(e), this.addManagedEventListeners({
13555
13580
  cellValueChanged: (o) => this.updateRowSelectable(o.node),
13556
13581
  rowNodeDataChanged: (o) => this.updateRowSelectable(o.node)
13557
13582
  });
@@ -13930,7 +13955,7 @@ var xv = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, Ev = {
13930
13955
  role: "rowgroup",
13931
13956
  attrs: { tabindex: "-1" },
13932
13957
  children: [{ tag: "div", ref: "eCenterContainer", cls: "ag-header-container", role: "presentation" }]
13933
- }, cn = class extends N {
13958
+ }, un = class extends N {
13934
13959
  constructor(e) {
13935
13960
  super(), this.eCenterContainer = P, this.headerRowComps = {}, this.rowCompsList = [], this.pinned = e;
13936
13961
  }
@@ -13992,7 +14017,7 @@ var xv = { tag: "div", cls: "ag-pinned-left-header", role: "rowgroup" }, Ev = {
13992
14017
  const o = (i) => {
13993
14018
  this.createManagedBean(i), this.appendChild(i);
13994
14019
  };
13995
- o(new cn("left")), o(new cn(null)), o(new cn("right"));
14020
+ o(new un("left")), o(new un(null)), o(new un("right"));
13996
14021
  }
13997
14022
  }, Iv = {
13998
14023
  selector: "AG-HEADER-ROOT",
@@ -14631,7 +14656,7 @@ var Bv = class extends N {
14631
14656
  }
14632
14657
  isFocusable() {
14633
14658
  const e = this.beans;
14634
- return !Es(e) || !At(e) || !!e.sideBar?.comp?.isDisplayed();
14659
+ return !Ts(e) || !At(e) || !!e.sideBar?.comp?.isDisplayed();
14635
14660
  }
14636
14661
  getNextFocusableIndex(e, t) {
14637
14662
  const o = U(this.beans), i = e.findIndex((n) => n.getGui().contains(o)), s = i + (t ? -1 : 1);
@@ -15095,7 +15120,7 @@ var Bv = class extends N {
15095
15120
  ...L("AiToolkit", {
15096
15121
  getStructuredSchema: 0
15097
15122
  })
15098
- }, un = {
15123
+ }, hn = {
15099
15124
  isDestroyed: () => !0,
15100
15125
  destroy() {
15101
15126
  },
@@ -15113,7 +15138,7 @@ Reflect.defineProperty(Tc, "name", { value: "GridApi" });
15113
15138
  var Uv = class extends b {
15114
15139
  constructor() {
15115
15140
  super(), this.beanName = "apiFunctionSvc", this.api = new Tc(), this.fns = {
15116
- ...un,
15141
+ ...hn,
15117
15142
  // dispatchEvent is used by frameworks, also used by aligned grids to identify a grid api instance
15118
15143
  dispatchEvent: _v
15119
15144
  }, this.preDestroyLink = "";
@@ -15126,7 +15151,7 @@ var Uv = class extends b {
15126
15151
  }
15127
15152
  addFunction(e, t) {
15128
15153
  const { fns: o, beans: i } = this;
15129
- o !== un && (o[e] = i?.validation?.validateApiFunction(e, t) ?? t);
15154
+ o !== hn && (o[e] = i?.validation?.validateApiFunction(e, t) ?? t);
15130
15155
  }
15131
15156
  makeApi(e) {
15132
15157
  return {
@@ -15149,7 +15174,7 @@ var Uv = class extends b {
15149
15174
  }
15150
15175
  }
15151
15176
  destroy() {
15152
- super.destroy(), this.fns = un, this.beans = null;
15177
+ super.destroy(), this.fns = hn, this.beans = null;
15153
15178
  }
15154
15179
  };
15155
15180
  function $v(e) {
@@ -15535,7 +15560,7 @@ var sw = class extends fm {
15535
15560
  const h = this.beans.groupEditSvc, g = !!h?.canSetParent(r);
15536
15561
  let p = null;
15537
15562
  if (u?.footer) {
15538
- const m = Nn(a, -1, u) ?? Nn(a, 1, u);
15563
+ const m = Wn(a, -1, u) ?? Wn(a, 1, u);
15539
15564
  g && (p = u.sibling ?? d), u = m ?? null;
15540
15565
  }
15541
15566
  u?.detail && (u = u.parent), r.moved && (r.moved = c !== u);
@@ -15778,7 +15803,7 @@ var sw = class extends fm {
15778
15803
  n = t.suppressMoveWhenRowDragging ? Math.abs(n) : 1;
15779
15804
  const a = new Set(t.rows);
15780
15805
  do {
15781
- const l = Nn(e, r, i);
15806
+ const l = Wn(e, r, i);
15782
15807
  if (!l)
15783
15808
  break;
15784
15809
  a.has(l) || (o = l, --n), i = l;
@@ -16206,16 +16231,16 @@ function Tw(e) {
16206
16231
  }
16207
16232
  return C;
16208
16233
  }
16209
- function Kn(e) {
16234
+ function jn(e) {
16210
16235
  const { pinned: t, fromKeyboard: o, gos: i, ctrlsSvc: s, useHeaderRow: n, skipScrollPadding: r } = e;
16211
16236
  let a = s.getHeaderRowContainerCtrl(t)?.eViewport, { x: l } = e;
16212
16237
  return a ? (o && (l -= a.getBoundingClientRect().left), i.get("enableRtl") && (n && (a = a.querySelector(".ag-header-row")), l = a.clientWidth - l), t == null && !r && (l += s.get("center").getCenterViewportScrollLeft()), l) : 0;
16213
16238
  }
16214
- function hn(e, t) {
16239
+ function gn(e, t) {
16215
16240
  for (const o of e)
16216
16241
  o.moving = t, o.dispatchColEvent("movingChanged", "uiColumnMoved");
16217
16242
  }
16218
- var Za = 7, jn = 100, Ai = jn / 2, Mw = 5, Aw = 100, Iw = class extends b {
16243
+ var Za = 7, qn = 100, Ai = qn / 2, Mw = 5, Aw = 100, Iw = class extends b {
16219
16244
  constructor(e) {
16220
16245
  super(), this.pinned = e, this.needToMoveLeft = !1, this.needToMoveRight = !1, this.lastMovedInfo = null, this.isCenterContainer = !x(e);
16221
16246
  }
@@ -16261,7 +16286,7 @@ var Za = 7, jn = 100, Ai = jn / 2, Mw = 5, Aw = 100, Iw = class extends b {
16261
16286
  }
16262
16287
  if (this.lastDraggingEvent = e, !e || !i && z(e.hDirection))
16263
16288
  return;
16264
- const a = Kn({
16289
+ const a = jn({
16265
16290
  x: e.x,
16266
16291
  pinned: this.pinned,
16267
16292
  gos: s,
@@ -16440,7 +16465,7 @@ var Za = 7, jn = 100, Ai = jn / 2, Mw = 5, Aw = 100, Iw = class extends b {
16440
16465
  if (n == null)
16441
16466
  return null;
16442
16467
  const r = e.getActualWidth();
16443
- return Kn({
16468
+ return jn({
16444
16469
  x: o ? n + r - t : n + t,
16445
16470
  pinned: e.getPinned(),
16446
16471
  useHeaderRow: o,
@@ -16486,7 +16511,7 @@ var Za = 7, jn = 100, Ai = jn / 2, Mw = 5, Aw = 100, Iw = class extends b {
16486
16511
  }
16487
16512
  moveInterval() {
16488
16513
  let e;
16489
- this.intervalCount++, e = 10 + this.intervalCount * Mw, e > jn && (e = jn);
16514
+ this.intervalCount++, e = 10 + this.intervalCount * Mw, e > qn && (e = qn);
16490
16515
  let t = null;
16491
16516
  const o = this.gridBodyCon.scrollFeature;
16492
16517
  if (this.needToMoveLeft ? t = o.scrollHorizontally(-e) : this.needToMoveRight && (t = o.scrollHorizontally(e)), t !== 0)
@@ -16662,7 +16687,7 @@ var Lw = class extends b {
16662
16687
  return new Lw(e, t);
16663
16688
  }
16664
16689
  moveHeader(e, t, o, i, s) {
16665
- const { ctrlsSvc: n, gos: r, colModel: a, visibleCols: l, focusSvc: d } = this.beans, c = t.getBoundingClientRect(), u = c.left, h = Y(o), g = h ? c.width : o.getActualWidth(), p = e === "left" !== r.get("enableRtl"), f = Kn({
16690
+ const { ctrlsSvc: n, gos: r, colModel: a, visibleCols: l, focusSvc: d } = this.beans, c = t.getBoundingClientRect(), u = c.left, h = Y(o), g = h ? c.width : o.getActualWidth(), p = e === "left" !== r.get("enableRtl"), f = jn({
16666
16691
  x: p ? u - 20 : u + g + 20,
16667
16692
  pinned: i,
16668
16693
  fromKeyboard: !0,
@@ -16719,10 +16744,10 @@ var Lw = class extends b {
16719
16744
  getDragItem: l ? () => Vw(t, r.allCols) : () => Hw(t),
16720
16745
  dragItemName: o,
16721
16746
  onDragStarted: () => {
16722
- a = !i.get("suppressDragLeaveHidesColumns"), hn(d, !0);
16747
+ a = !i.get("suppressDragLeaveHidesColumns"), gn(d, !0);
16723
16748
  },
16724
- onDragStopped: () => hn(d, !1),
16725
- onDragCancelled: () => hn(d, !1),
16749
+ onDragStopped: () => gn(d, !1),
16750
+ onDragCancelled: () => gn(d, !1),
16726
16751
  onGridEnter: (h) => {
16727
16752
  if (a) {
16728
16753
  const { columns: g = [], visibleState: p } = h ?? {}, f = l ? (C) => !p || p[C.getColId()] : () => !0, m = g.filter(
@@ -17415,7 +17440,7 @@ var aS = class extends b {
17415
17440
  }
17416
17441
  refresh(e, t = !1) {
17417
17442
  const { colFlex: o, colModel: i, colGroupSvc: s, colViewport: n, selectionColSvc: r } = this.beans;
17418
- t || this.buildTrees(i, s), s?.updateOpenClosedVisibility(), this.leftCols = gn(this.treeLeft), this.centerCols = gn(this.treeCenter), this.rightCols = gn(this.treeRight), r?.refreshVisibility(this.leftCols, this.centerCols, this.rightCols), this.joinColsAriaOrder(i), this.joinCols(), this.headerGroupRowCount = this.getHeaderRowCount(), this.setLeftValues(e), this.autoHeightCols = this.allCols.filter((a) => a.isAutoHeight()), o?.refreshFlexedColumns(), this.updateBodyWidths(), this.setFirstRightAndLastLeftPinned(i, this.leftCols, this.rightCols, e), n.checkViewportColumns(!1), this.eventSvc.dispatchEvent({
17443
+ t || this.buildTrees(i, s), s?.updateOpenClosedVisibility(), this.leftCols = pn(this.treeLeft), this.centerCols = pn(this.treeCenter), this.rightCols = pn(this.treeRight), r?.refreshVisibility(this.leftCols, this.centerCols, this.rightCols), this.joinColsAriaOrder(i), this.joinCols(), this.headerGroupRowCount = this.getHeaderRowCount(), this.setLeftValues(e), this.autoHeightCols = this.allCols.filter((a) => a.isAutoHeight()), o?.refreshFlexedColumns(), this.updateBodyWidths(), this.setFirstRightAndLastLeftPinned(i, this.leftCols, this.rightCols, e), n.checkViewportColumns(!1), this.eventSvc.dispatchEvent({
17419
17444
  type: "displayedColumnsChanged",
17420
17445
  source: e
17421
17446
  });
@@ -17644,7 +17669,7 @@ function It(e, t, o) {
17644
17669
  o(s);
17645
17670
  }
17646
17671
  }
17647
- function gn(e) {
17672
+ function pn(e) {
17648
17673
  const t = [];
17649
17674
  return It(e, !0, (o) => {
17650
17675
  ft(o) && t.push(o);
@@ -18020,7 +18045,7 @@ function kS(e) {
18020
18045
  function LS(e) {
18021
18046
  return e.colViewport.getViewportColumns();
18022
18047
  }
18023
- function qn(e, t) {
18048
+ function Yn(e, t) {
18024
18049
  if (!e)
18025
18050
  return;
18026
18051
  const o = e, i = {};
@@ -18028,7 +18053,7 @@ function qn(e, t) {
18028
18053
  if (t && t.indexOf(s) >= 0 || Zl.has(s))
18029
18054
  continue;
18030
18055
  const n = o[s];
18031
- typeof n == "object" && n !== null && n.constructor === Object ? i[s] = qn(n) : i[s] = n;
18056
+ typeof n == "object" && n !== null && n.constructor === Object ? i[s] = Yn(n) : i[s] = n;
18032
18057
  }
18033
18058
  return i;
18034
18059
  }
@@ -18072,11 +18097,11 @@ var OS = class extends b {
18072
18097
  return i;
18073
18098
  }
18074
18099
  createDefFromGroup(e) {
18075
- const t = qn(e.getColGroupDef(), ["children"]);
18100
+ const t = Yn(e.getColGroupDef(), ["children"]);
18076
18101
  return t && (t.groupId = e.getGroupId()), t;
18077
18102
  }
18078
18103
  createDefFromColumn(e, t, o) {
18079
- const i = qn(e.getColDef());
18104
+ const i = Yn(e.getColDef());
18080
18105
  return i.colId = e.getColId(), i.width = e.getActualWidth(), i.rowGroup = e.isRowGroupActive(), i.rowGroupIndex = e.isRowGroupActive() ? t.indexOf(e) : null, i.pivot = e.isPivotActive(), i.pivotIndex = e.isPivotActive() ? o.indexOf(e) : null, i.aggFunc = e.isValueActive() ? e.getAggFunc() : null, i.hide = e.isVisible() ? void 0 : !0, i.pinned = e.isPinned() ? e.getPinned() : null, i.sort = e.getSortDef(), i.sortIndex = e.getSortIndex() != null ? e.getSortIndex() : null, i;
18081
18106
  }
18082
18107
  }, GS = class extends b {
@@ -18335,18 +18360,18 @@ var HS = [
18335
18360
  if (!j(o))
18336
18361
  return !1;
18337
18362
  const i = { cellRenderer: !0, valueGetter: !0, valueParser: !0, refData: !0 };
18338
- if (pn(t, i))
18363
+ if (fn(t, i))
18339
18364
  return !1;
18340
18365
  const s = t.type === null ? e.type : t.type;
18341
18366
  if (s) {
18342
18367
  const n = o.get("columnTypes") ?? {};
18343
18368
  if (ss(s).some((a) => {
18344
18369
  const l = n[a.trim()];
18345
- return l && pn(l, i);
18370
+ return l && fn(l, i);
18346
18371
  }))
18347
18372
  return !1;
18348
18373
  }
18349
- return !pn(e, i);
18374
+ return !fn(e, i);
18350
18375
  }
18351
18376
  inferCellDataType(e, t) {
18352
18377
  if (!e)
@@ -18423,7 +18448,7 @@ var HS = [
18423
18448
  const o = e.getUserProvidedColDef();
18424
18449
  if (!o)
18425
18450
  return !1;
18426
- const i = In(this.beans, o, e.getColId());
18451
+ const i = kn(this.beans, o, e.getColId());
18427
18452
  return e.setColDef(i, o, t), !0;
18428
18453
  }
18429
18454
  getDateStringTypeDefinition(e) {
@@ -18517,7 +18542,7 @@ var HS = [
18517
18542
  },
18518
18543
  text: {
18519
18544
  baseDataType: "text",
18520
- valueParser: (t) => t.newValue === "" ? null : Rn(t.newValue),
18545
+ valueParser: (t) => t.newValue === "" ? null : Fn(t.newValue),
18521
18546
  dataTypeMatcher: (t) => typeof t == "string"
18522
18547
  },
18523
18548
  boolean: {
@@ -18536,7 +18561,7 @@ var HS = [
18536
18561
  object: {
18537
18562
  baseDataType: "object",
18538
18563
  valueParser: () => null,
18539
- valueFormatter: (t) => Rn(t.value) ?? ""
18564
+ valueFormatter: (t) => Fn(t.value) ?? ""
18540
18565
  }
18541
18566
  };
18542
18567
  }
@@ -18601,7 +18626,7 @@ function BS(e, t, o, i) {
18601
18626
  const s = e[o];
18602
18627
  return s === null ? (t[o] = !1, !1) : i === void 0 ? !!s : s === i;
18603
18628
  }
18604
- function pn(e, t) {
18629
+ function fn(e, t) {
18605
18630
  return [
18606
18631
  ["cellRenderer", "agSparklineCellRenderer"],
18607
18632
  ["valueGetter", void 0],
@@ -19626,7 +19651,7 @@ var jS = class extends b {
19626
19651
  cssName: "--ag-header-height",
19627
19652
  changeKey: "headerHeightChanged",
19628
19653
  defaultValue: 48
19629
- }, fn = {
19654
+ }, mn = {
19630
19655
  cssName: "--ag-row-border",
19631
19656
  changeKey: "rowBorderWidthChanged",
19632
19657
  defaultValue: 1,
@@ -19645,13 +19670,13 @@ function Ob(e, t) {
19645
19670
  }
19646
19671
  var Gb = class extends tm {
19647
19672
  initVariables() {
19648
- this.addManagedPropertyListener("rowHeight", () => this.refreshRowHeightVariable()), this.getSizeEl(ol), this.getSizeEl(il), this.getSizeEl(fn), this.getSizeEl(sl), this.refreshRowBorderWidthVariable();
19673
+ this.addManagedPropertyListener("rowHeight", () => this.refreshRowHeightVariable()), this.getSizeEl(ol), this.getSizeEl(il), this.getSizeEl(mn), this.getSizeEl(sl), this.refreshRowBorderWidthVariable();
19649
19674
  }
19650
19675
  getPinnedRowBorderWidth() {
19651
19676
  return this.getCSSVariablePixelValue(sl);
19652
19677
  }
19653
19678
  getRowBorderWidth() {
19654
- return this.getCSSVariablePixelValue(fn);
19679
+ return this.getCSSVariablePixelValue(mn);
19655
19680
  }
19656
19681
  getDefaultRowHeight() {
19657
19682
  return this.getCSSVariablePixelValue(ol);
@@ -19684,7 +19709,7 @@ var Gb = class extends tm {
19684
19709
  e === "rowBorderWidthChanged" && this.refreshRowBorderWidthVariable(), super.fireStylesChangedEvent(e);
19685
19710
  }
19686
19711
  refreshRowBorderWidthVariable() {
19687
- const e = this.getCSSVariablePixelValue(fn);
19712
+ const e = this.getCSSVariablePixelValue(mn);
19688
19713
  this.eRootDiv.style.setProperty("--ag-internal-row-border-width", `${e}px`);
19689
19714
  }
19690
19715
  postProcessThemeChange(e, t) {
@@ -20166,7 +20191,7 @@ var Wb = class extends b {
20166
20191
  const { backwards: t = !1, canFocusOverlay: o = !0, event: i } = e;
20167
20192
  if (this.overlays?.exclusive)
20168
20193
  return o && this.focusOverlay(t);
20169
- if (Es(this.beans))
20194
+ if (Ts(this.beans))
20170
20195
  return t && !At(this.beans) ? this.focusLastHeader() : o && this.focusOverlay(t) ? !0 : t ? !1 : yo(this.beans, t);
20171
20196
  const s = t ? yC(this.beans) : bC(this.beans);
20172
20197
  if (s) {
@@ -20380,7 +20405,7 @@ var Wb = class extends b {
20380
20405
  "bulkEditingStopped",
20381
20406
  "batchEditingStarted",
20382
20407
  "batchEditingStopped"
20383
- ], As = Ub.reduce(
20408
+ ], Is = Ub.reduce(
20384
20409
  (e, t) => (e[t] = Lg(t), e),
20385
20410
  {}
20386
20411
  ), ho = {
@@ -21116,7 +21141,7 @@ ${a}`;
21116
21141
  "isRowPinnable",
21117
21142
  "isRowPinned",
21118
21143
  "isRowValidDropPosition"
21119
- ], Yn = () => [
21144
+ ], Qn = () => [
21120
21145
  ...Xb,
21121
21146
  ...Jb,
21122
21147
  ...Zb,
@@ -21560,7 +21585,7 @@ var sy = {
21560
21585
  return le(t, e), t;
21561
21586
  }, ry = () => ({
21562
21587
  objectName: "gridOptions",
21563
- allProperties: [...Yn(), ...Object.values(As)],
21588
+ allProperties: [...Qn(), ...Object.values(Is)],
21564
21589
  propertyExceptions: ["api"],
21565
21590
  docsUrl: "grid-options/",
21566
21591
  deprecations: iy(),
@@ -21574,7 +21599,7 @@ var sy = {
21574
21599
  if (i && !e || !i && e || !cy(t))
21575
21600
  return;
21576
21601
  const s = (n, r) => {
21577
- const a = As[n], l = this.gridOptions[a];
21602
+ const a = Is[n], l = this.gridOptions[a];
21578
21603
  typeof l == "function" && this.beans.frameworkOverrides.wrapOutgoing(() => l(r));
21579
21604
  };
21580
21605
  if (this.gridReadyFired)
@@ -21705,7 +21730,7 @@ var sy = {
21705
21730
  };
21706
21731
  }
21707
21732
  isModuleRegistered(e) {
21708
- return xn(e, this.gridId, this.get("rowModelType"));
21733
+ return En(e, this.gridId, this.get("rowModelType"));
21709
21734
  }
21710
21735
  setInstanceDomData(e) {
21711
21736
  e[rl] = this.instanceId;
@@ -21722,7 +21747,7 @@ var sy = {
21722
21747
  }
21723
21748
  };
21724
21749
  function cy(e) {
21725
- return !!As[e];
21750
+ return !!Is[e];
21726
21751
  }
21727
21752
  var uy = class extends b {
21728
21753
  constructor(e, t) {
@@ -22635,7 +22660,7 @@ function K(e, t = {}) {
22635
22660
  const { cellCtrl: o, colId: i, columnId: s, column: n } = t;
22636
22661
  if (o)
22637
22662
  return o;
22638
- const r = e.colModel.getCol(i ?? s ?? Qn(n)), a = t.rowCtrl ?? $r(e, t), l = a?.getCellCtrl(r) ?? void 0;
22663
+ const r = e.colModel.getCol(i ?? s ?? Zn(n)), a = t.rowCtrl ?? $r(e, t), l = a?.getCellCtrl(r) ?? void 0;
22639
22664
  if (l)
22640
22665
  return l;
22641
22666
  const d = t.rowNode ?? a?.rowNode;
@@ -22652,7 +22677,7 @@ function Ay(e, t, o) {
22652
22677
  return;
22653
22678
  const n = (r) => {
22654
22679
  const a = r.relatedTarget;
22655
- if (On(a) === null) {
22680
+ if (Gn(a) === null) {
22656
22681
  al(t);
22657
22682
  return;
22658
22683
  }
@@ -22666,7 +22691,7 @@ function Ay(e, t, o) {
22666
22691
  for (const r of o)
22667
22692
  e.addManagedElementListeners(r, { focusout: n });
22668
22693
  }
22669
- function Qn(e) {
22694
+ function Zn(e) {
22670
22695
  if (e)
22671
22696
  return typeof e == "string" ? e : e.getColId();
22672
22697
  }
@@ -23722,7 +23747,7 @@ var Ny = class extends b {
23722
23747
  }
23723
23748
  onCellFocused(e) {
23724
23749
  const { beans: t } = this;
23725
- if (Es(t))
23750
+ if (Ts(t))
23726
23751
  return;
23727
23752
  if (!this.comp) {
23728
23753
  e && (this.focusEventWhileNotReady = e);
@@ -23984,7 +24009,7 @@ var Jy = class extends b {
23984
24009
  const o = e.rowComp, i = this.getInitialRowClasses(e.containerType);
23985
24010
  for (const s of i)
23986
24011
  o.toggleCss(s, !0);
23987
- this.executeSlideAndFadeAnimations(e), this.rowNode.group && Fn(e.element, this.rowNode.expanded == !0), this.setRowCompRowId(o), this.setRowCompRowBusinessKey(o), Lt(t, e.element, cs, this), e.compBean.addDestroyFunc(() => Lt(t, e.element, cs, null)), this.useAnimationFrameForCreate ? this.beans.animationFrameSvc.createTask(
24012
+ this.executeSlideAndFadeAnimations(e), this.rowNode.group && Pn(e.element, this.rowNode.expanded == !0), this.setRowCompRowId(o), this.setRowCompRowBusinessKey(o), Lt(t, e.element, cs, this), e.compBean.addDestroyFunc(() => Lt(t, e.element, cs, null)), this.useAnimationFrameForCreate ? this.beans.animationFrameSvc.createTask(
23988
24013
  this.addHoverFunctionality.bind(this, e),
23989
24014
  this.rowNode.rowIndex,
23990
24015
  "p2",
@@ -24002,9 +24027,9 @@ var Jy = class extends b {
24002
24027
  }
24003
24028
  executeSlideAndFadeAnimations(e) {
24004
24029
  const { containerType: t } = e;
24005
- this.slideInAnimation[t] && (Dn(() => {
24030
+ this.slideInAnimation[t] && (xn(() => {
24006
24031
  this.onTopChanged();
24007
- }), this.slideInAnimation[t] = !1), this.fadeInAnimation[t] && (Dn(() => {
24032
+ }), this.slideInAnimation[t] = !1), this.fadeInAnimation[t] && (xn(() => {
24008
24033
  e.rowComp.toggleCss("ag-opacity-zero", !1);
24009
24034
  }), this.fadeInAnimation[t] = !1);
24010
24035
  }
@@ -24844,12 +24869,12 @@ var Jy = class extends b {
24844
24869
  }
24845
24870
  // this method is throttled, see the `constructor`
24846
24871
  onPageDown(e) {
24847
- const t = this.beans, o = mn(t), i = this.getViewportHeight(), { pageBounds: s, rowModel: n, rowAutoHeight: r } = t, a = s.getPixelOffset(), l = o.top + i, d = n.getRowIndexAtPixel(l + a);
24872
+ const t = this.beans, o = Cn(t), i = this.getViewportHeight(), { pageBounds: s, rowModel: n, rowAutoHeight: r } = t, a = s.getPixelOffset(), l = o.top + i, d = n.getRowIndexAtPixel(l + a);
24848
24873
  r?.active ? this.navigateToNextPageWithAutoHeight(e, d) : this.navigateToNextPage(e, d);
24849
24874
  }
24850
24875
  // this method is throttled, see the `constructor`
24851
24876
  onPageUp(e) {
24852
- const t = this.beans, o = mn(t), { pageBounds: i, rowModel: s, rowAutoHeight: n } = t, r = i.getPixelOffset(), a = o.top, l = s.getRowIndexAtPixel(a + r);
24877
+ const t = this.beans, o = Cn(t), { pageBounds: i, rowModel: s, rowAutoHeight: n } = t, r = i.getPixelOffset(), a = o.top, l = s.getRowIndexAtPixel(a + r);
24853
24878
  n?.active ? this.navigateToNextPageWithAutoHeight(e, l, !0) : this.navigateToNextPage(e, l, !0);
24854
24879
  }
24855
24880
  navigateToNextPage(e, t, o = !1) {
@@ -24906,7 +24931,7 @@ var Jy = class extends b {
24906
24931
  return Math.max(0, Math.min(l, r));
24907
24932
  }
24908
24933
  getViewportHeight() {
24909
- const e = this.beans, t = mn(e), o = this.beans.scrollVisibleSvc.getScrollbarWidth();
24934
+ const e = this.beans, t = Cn(e), o = this.beans.scrollVisibleSvc.getScrollbarWidth();
24910
24935
  let i = t.bottom - t.top;
24911
24936
  return e.ctrlsSvc.get("center").isHorizontalScrollShowing() && (i -= o), i;
24912
24937
  }
@@ -25161,7 +25186,7 @@ var Jy = class extends b {
25161
25186
  this.gridBodyCon.scrollFeature.ensureIndexVisible(e);
25162
25187
  }
25163
25188
  };
25164
- function mn(e) {
25189
+ function Cn(e) {
25165
25190
  return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
25166
25191
  }
25167
25192
  var tR = {
@@ -26310,10 +26335,10 @@ var CR = (
26310
26335
  * @param rowNodes if provided, returns the RowCtrls for the provided rowNodes. otherwise returns all RowCtrls.
26311
26336
  */
26312
26337
  getRowCtrls(e) {
26313
- const t = Zn(e), o = this.getAllRowCtrls();
26338
+ const t = Jn(e), o = this.getAllRowCtrls();
26314
26339
  return !e || !t ? o : o.filter((i) => {
26315
26340
  const s = i.rowNode;
26316
- return Jn(s, t);
26341
+ return Xn(s, t);
26317
26342
  });
26318
26343
  }
26319
26344
  // returns CellCtrl's that match the provided rowNodes and columns. eg if one row node
@@ -26448,12 +26473,12 @@ var CR = (
26448
26473
  this.refreshFloatingRowComps(), this.removeRowCtrls(e), this.redraw({ afterScroll: !0 });
26449
26474
  }
26450
26475
  getFullWidthRowCtrls(e) {
26451
- const t = Zn(e);
26476
+ const t = Jn(e);
26452
26477
  return this.getAllRowCtrls().filter((o) => {
26453
26478
  if (!o.isFullWidth())
26454
26479
  return !1;
26455
26480
  const i = o.rowNode;
26456
- return !(t != null && !Jn(i, t));
26481
+ return !(t != null && !Xn(i, t));
26457
26482
  });
26458
26483
  }
26459
26484
  createOrUpdateRowCtrl(e, t, o, i) {
@@ -26634,7 +26659,7 @@ var CR = (
26634
26659
  return this.entriesList;
26635
26660
  }
26636
26661
  };
26637
- function Zn(e) {
26662
+ function Jn(e) {
26638
26663
  if (!e)
26639
26664
  return;
26640
26665
  const t = {
@@ -26658,7 +26683,7 @@ function Zn(e) {
26658
26683
  }
26659
26684
  return t;
26660
26685
  }
26661
- function Jn(e, t) {
26686
+ function Xn(e, t) {
26662
26687
  const o = e.id;
26663
26688
  switch (e.rowPinned) {
26664
26689
  case "top":
@@ -26818,7 +26843,7 @@ var Rt = (e, t) => ({
26818
26843
  this.updateIcons(), this.suppressOrder || this.updateSortOrder();
26819
26844
  }
26820
26845
  updateIcons() {
26821
- const { eSortAsc: e, eSortDesc: t, eSortAbsoluteAsc: o, eSortAbsoluteDesc: i, eSortNone: s, column: n, gos: r, beans: a } = this, l = a.sortSvc.getDisplaySortForColumn(n), d = et(l?.type), c = Rs(l?.direction), u = n.getAvailableSortTypes(), h = u.has("default"), g = u.has("absolute"), p = d === "absolute", f = d === "default", m = c === "asc", C = c === "desc";
26846
+ const { eSortAsc: e, eSortDesc: t, eSortAbsoluteAsc: o, eSortAbsoluteDesc: i, eSortNone: s, column: n, gos: r, beans: a } = this, l = a.sortSvc.getDisplaySortForColumn(n), d = et(l?.type), c = Fs(l?.direction), u = n.getAvailableSortTypes(), h = u.has("default"), g = u.has("absolute"), p = d === "absolute", f = d === "default", m = c === "asc", C = c === "desc";
26822
26847
  if (e && B(e, m && f && h, { skipAriaHidden: !0 }), t && B(t, C && f && h, { skipAriaHidden: !0 }), s) {
26823
26848
  const v = !n.getColDef().unSortIcon && !r.get("unSortIcon");
26824
26849
  B(s, !v && !c, { skipAriaHidden: !0 });
@@ -27651,7 +27676,7 @@ var BR = "paste", NR = class extends b {
27651
27676
  TreeData: 1,
27652
27677
  ViewportRowModel: 1,
27653
27678
  Formula: 1
27654
- }, Cn = [
27679
+ }, vn = [
27655
27680
  "TextFilter",
27656
27681
  "NumberFilter",
27657
27682
  "DateFilter",
@@ -27672,7 +27697,7 @@ var BR = "paste", NR = class extends b {
27672
27697
  ],
27673
27698
  CheckboxCellRenderer: ["AllCommunity"],
27674
27699
  ClientSideRowModelHierarchy: ["RowGrouping", "Pivot", "TreeData"],
27675
- ColumnFilter: Cn,
27700
+ ColumnFilter: vn,
27676
27701
  ColumnGroupHeaderComp: ["AllCommunity"],
27677
27702
  ColumnGroup: ["AllCommunity"],
27678
27703
  ColumnHeaderComp: ["AllCommunity"],
@@ -27682,7 +27707,7 @@ var BR = "paste", NR = class extends b {
27682
27707
  CsrmSsrmSharedApi: ["ClientSideRowModelApi", "ServerSideRowModelApi"],
27683
27708
  RowModelSharedApi: ["ClientSideRowModelApi", "ServerSideRowModelApi"],
27684
27709
  EnterpriseCore: ["AllEnterprise"],
27685
- FilterCore: [...Cn, "QuickFilter", "ExternalFilter", "AdvancedFilter"],
27710
+ FilterCore: [...vn, "QuickFilter", "ExternalFilter", "AdvancedFilter"],
27686
27711
  GroupCellRenderer: ["RowGrouping", "Pivot", "TreeData", "MasterDetail", "ServerSideRowModel"],
27687
27712
  KeyboardNavigation: ["AllCommunity"],
27688
27713
  LoadingCellRenderer: ["ServerSideRowModel"],
@@ -27693,7 +27718,7 @@ var BR = "paste", NR = class extends b {
27693
27718
  SharedAggregation: ["RowGrouping", "Pivot", "TreeData", "ServerSideRowModel"],
27694
27719
  SharedDragAndDrop: ["AllCommunity"],
27695
27720
  SharedMasterDetail: ["MasterDetail", "ServerSideRowModel"],
27696
- SharedMenu: [...Cn, "ColumnMenu", "ContextMenu"],
27721
+ SharedMenu: [...vn, "ColumnMenu", "ContextMenu"],
27697
27722
  SharedPivot: ["Pivot", "ServerSideRowModel"],
27698
27723
  SharedRowGrouping: ["RowGrouping", "ServerSideRowModel"],
27699
27724
  SharedRowSelection: ["RowSelection", "ServerSideRowModel"],
@@ -27933,7 +27958,7 @@ ${eF(t)}`,
27933
27958
  (a) => !["agCellEditor", "agGroupRowRenderer", "agSortIndicator"].includes(a)
27934
27959
  ),
27935
27960
  ...Object.keys(i ?? []).filter((a) => !!i[a])
27936
- ], r = Vn({
27961
+ ], r = Bn({
27937
27962
  inputValue: t,
27938
27963
  allSuggestions: n,
27939
27964
  hideIrrelevant: !0,
@@ -27953,7 +27978,7 @@ ${eF(t)}`,
27953
27978
  107: ({ key: e, value: t }) => `Invalid value for theme param ${e} - ${t}`,
27954
27979
  108: ({ e }) => ["chart update failed", e],
27955
27980
  109: ({ inputValue: e, allSuggestions: t }) => {
27956
- const o = Vn({
27981
+ const o = Bn({
27957
27982
  inputValue: e,
27958
27983
  allSuggestions: t,
27959
27984
  hideIrrelevant: !0,
@@ -28310,7 +28335,7 @@ var nF = 1, rF = class {
28310
28335
  }
28311
28336
  if (!e) {
28312
28337
  const a = Object.entries(i).filter(
28313
- ([l, d]) => xn(d, o, l)
28338
+ ([l, d]) => En(d, o, l)
28314
28339
  );
28315
28340
  if (a.length == 1) {
28316
28341
  const [l, d] = a[0];
@@ -28324,7 +28349,7 @@ var nF = 1, rF = class {
28324
28349
  }
28325
28350
  }
28326
28351
  }
28327
- if (!xn(n, o, s)) {
28352
+ if (!En(n, o, s)) {
28328
28353
  const a = od(), l = `rowModelType = '${s}'`, d = `Missing module ${n}Module for rowModelType ${s}.`;
28329
28354
  Ho(
28330
28355
  200,
@@ -28354,7 +28379,7 @@ function bt(e) {
28354
28379
  const t = e.rowModel;
28355
28380
  return t.getType() === "clientSide" ? t : void 0;
28356
28381
  }
28357
- function Is(e) {
28382
+ function ks(e) {
28358
28383
  const t = e.rowModel;
28359
28384
  return t.getType() === "infinite" ? t : void 0;
28360
28385
  }
@@ -28393,17 +28418,17 @@ function dF(e, t = !1) {
28393
28418
  c.push(g), p && (o[m ?? u++] = { colId: g, sort: p, type: f }), C && (i[v ?? 0] = g), typeof w == "string" && s.push({ colId: g, aggFunc: w }), y && (n[D ?? 0] = g), F && (F === "right" ? a : r).push(g), T && l.push(g), (M != null || O) && d.push({ colId: g, flex: M ?? void 0, width: O === null ? void 0 : O });
28394
28419
  }
28395
28420
  return {
28396
- sort: o.length ? { sortModel: vn(o) } : void 0,
28397
- rowGroup: i.length ? { groupColIds: vn(i) } : void 0,
28421
+ sort: o.length ? { sortModel: wn(o) } : void 0,
28422
+ rowGroup: i.length ? { groupColIds: wn(i) } : void 0,
28398
28423
  aggregation: s.length ? { aggregationModel: s } : void 0,
28399
- pivot: n.length || t ? { pivotMode: t, pivotColIds: vn(n) } : void 0,
28424
+ pivot: n.length || t ? { pivotMode: t, pivotColIds: wn(n) } : void 0,
28400
28425
  columnPinning: r.length || a.length ? { leftColIds: r, rightColIds: a } : void 0,
28401
28426
  columnVisibility: l.length ? { hiddenColIds: l } : void 0,
28402
28427
  columnSizing: d.length ? { columnSizingModel: d } : void 0,
28403
28428
  columnOrder: c.length ? { orderedColIds: c } : void 0
28404
28429
  };
28405
28430
  }
28406
- function vn(e) {
28431
+ function wn(e) {
28407
28432
  return e.filter((t) => t != null);
28408
28433
  }
28409
28434
  function cF(e) {
@@ -28430,7 +28455,7 @@ var uF = class {
28430
28455
  };
28431
28456
  }
28432
28457
  };
28433
- function wn(e) {
28458
+ function Sn(e) {
28434
28459
  return e.get("tooltipShowMode") === "whenTruncated";
28435
28460
  }
28436
28461
  function hF(e, t) {
@@ -29088,7 +29113,7 @@ function PF(e, t, o) {
29088
29113
  );
29089
29114
  if (s.length > 0)
29090
29115
  for (const n of s)
29091
- i[n] = Vn({ inputValue: n, allSuggestions: o }).values;
29116
+ i[n] = Bn({ inputValue: n, allSuggestions: o }).values;
29092
29117
  return i;
29093
29118
  }
29094
29119
  var DF = /* @__PURE__ */ new Set([
@@ -29100,7 +29125,7 @@ var DF = /* @__PURE__ */ new Set([
29100
29125
  version: E,
29101
29126
  beans: [FF]
29102
29127
  };
29103
- function Xn(e) {
29128
+ function er(e) {
29104
29129
  const t = e.sibling;
29105
29130
  t && (t.childrenAfterFilter = e.childrenAfterFilter);
29106
29131
  }
@@ -29120,7 +29145,7 @@ var EF = class extends b {
29120
29145
  i.hasChildren() && e && !s ? i.childrenAfterFilter = i.childrenAfterGroup.filter((n) => {
29121
29146
  const r = n.childrenAfterFilter && n.childrenAfterFilter.length > 0, a = n.data && this.filterManager.doesRowPassFilter({ rowNode: n });
29122
29147
  return r || a;
29123
- }) : i.childrenAfterFilter = i.childrenAfterGroup, Xn(i);
29148
+ }) : i.childrenAfterFilter = i.childrenAfterGroup, er(i);
29124
29149
  };
29125
29150
  if (this.doingTreeDataFiltering()) {
29126
29151
  const i = (n, r) => {
@@ -29142,7 +29167,7 @@ var EF = class extends b {
29142
29167
  if (i.childrenAfterFilter = i.childrenAfterGroup, i.hasChildren())
29143
29168
  for (const s of i.childrenAfterGroup)
29144
29169
  s.softFiltered = e && !(s.data && this.filterManager.doesRowPassFilter({ rowNode: s }));
29145
- Xn(i);
29170
+ er(i);
29146
29171
  };
29147
29172
  t.forEachChangedNodeDepthFirst(o, !0);
29148
29173
  }
@@ -29422,7 +29447,7 @@ var IF = {
29422
29447
  isStopPropagation(e) {
29423
29448
  return Je(e);
29424
29449
  }
29425
- }, ks = {
29450
+ }, Ls = {
29426
29451
  moduleName: "Popup",
29427
29452
  version: E,
29428
29453
  beans: [kF]
@@ -29618,7 +29643,7 @@ var KF = {
29618
29643
  ), !0) : !1;
29619
29644
  }
29620
29645
  updateActiveFilters() {
29621
- const e = (d) => d ? d.isFilterActive ? d.isFilterActive() : (R(67), !1) : !1, { colModel: t, gos: o } = this.beans, i = !!Mn(o), s = (d) => {
29646
+ const e = (d) => d ? d.isFilterActive ? d.isFilterActive() : (R(67), !1) : !1, { colModel: t, gos: o } = this.beans, i = !!An(o), s = (d) => {
29622
29647
  if (!d.isPrimary())
29623
29648
  return !0;
29624
29649
  const u = !t.isPivotActive();
@@ -29978,7 +30003,7 @@ var KF = {
29978
30003
  const i = this.createHandlerFunc(e, t, o);
29979
30004
  if (!i)
29980
30005
  return;
29981
- const s = zs(
30006
+ const s = _s(
29982
30007
  this.beans.userCompFactory,
29983
30008
  t,
29984
30009
  this.createFilterCompParams(e, !0, "init")
@@ -30028,7 +30053,7 @@ var KF = {
30028
30053
  this.getOrCreateFilterUi(e)?.then((f) => {
30029
30054
  g(si(f));
30030
30055
  });
30031
- }, a = e.getColDef(), l = s?.isSelectable(a) ? s.getFilterDef(e, a) : a, d = Bm(i, l, () => this.getDefaultFloatingFilter(e)) ?? "agReadOnlyFloatingFilter", c = n.get("enableFilterHandlers"), u = zs(
30056
+ }, a = e.getColDef(), l = s?.isSelectable(a) ? s.getFilterDef(e, a) : a, d = Bm(i, l, () => this.getDefaultFloatingFilter(e)) ?? "agReadOnlyFloatingFilter", c = n.get("enableFilterHandlers"), u = _s(
30032
30057
  o,
30033
30058
  l,
30034
30059
  this.createFilterCompParams(e, c, "init", !0)
@@ -30125,7 +30150,7 @@ var KF = {
30125
30150
  this.destroyFilter(s, "paramsUpdated");
30126
30151
  return;
30127
30152
  }
30128
- const { compDetails: g, createFilterUi: p } = (r ? this.createFilterComp(s, d, a, (m) => m, u, "colDef") : null) ?? { compDetails: null, createFilterUi: null }, f = g?.params ?? zs(
30153
+ const { compDetails: g, createFilterUi: p } = (r ? this.createFilterComp(s, d, a, (m) => m, u, "colDef") : null) ?? { compDetails: null, createFilterUi: null }, f = g?.params ?? _s(
30129
30154
  i.userCompFactory,
30130
30155
  d,
30131
30156
  this.createFilterCompParams(s, u, "colDef")
@@ -30509,7 +30534,7 @@ var QF = class extends b {
30509
30534
  return this.isAdvFilterEnabled() && this.advancedFilter.isHeaderActive();
30510
30535
  }
30511
30536
  refreshFiltersForAggregations() {
30512
- Mn(this.gos) && this.isAnyFilterPresent() && this.onFilterChanged();
30537
+ An(this.gos) && this.isAnyFilterPresent() && this.onFilterChanged();
30513
30538
  }
30514
30539
  onFilterChanged(e = {}) {
30515
30540
  const { source: t, additionalEventAttributes: o, columns: i = [] } = e;
@@ -30529,7 +30554,7 @@ var QF = class extends b {
30529
30554
  return !!this.quickFilter?.isFilterPresent();
30530
30555
  }
30531
30556
  updateAggFiltering() {
30532
- this.aggFiltering = !!Mn(this.gos);
30557
+ this.aggFiltering = !!An(this.gos);
30533
30558
  }
30534
30559
  isAggregateQuickFilterPresent() {
30535
30560
  return this.isQuickFilterPresent() && this.shouldApplyQuickFilterAfterAgg();
@@ -30742,7 +30767,7 @@ var QF = class extends b {
30742
30767
  ]
30743
30768
  }, e0 = class extends N {
30744
30769
  constructor() {
30745
- super(XF, [Ps]), this.eFloatingFilterText = P;
30770
+ super(XF, [Ds]), this.eFloatingFilterText = P;
30746
30771
  }
30747
30772
  init(e) {
30748
30773
  this.params = e;
@@ -31667,7 +31692,7 @@ var nu = class extends b {
31667
31692
  }), this.filterTypeKeys = au;
31668
31693
  }
31669
31694
  conditionToString(e, t, o, i, s) {
31670
- const { type: n } = e, r = fe(e.dateFrom), a = fe(e.dateTo), l = this.filterParams.inRangeFloatingFilterDateFormat, d = t ? this.formatValue.bind(this) : (h) => Hn(h, l), c = () => r !== null ? d(r) : "null", u = () => a !== null ? d(a) : "null";
31695
+ const { type: n } = e, r = fe(e.dateFrom), a = fe(e.dateTo), l = this.filterParams.inRangeFloatingFilterDateFormat, d = t ? this.formatValue.bind(this) : (h) => Vn(h, l), c = () => r !== null ? d(r) : "null", u = () => a !== null ? d(a) : "null";
31671
31696
  if (t) {
31672
31697
  const h = this.conditionForToolPanel(
31673
31698
  n,
@@ -31783,7 +31808,7 @@ var l0 = class extends ru {
31783
31808
  ]
31784
31809
  }, c0 = class extends du {
31785
31810
  constructor() {
31786
- super(d0, [Ps]), this.eReadOnlyText = P, this.eDateWrapper = P, this.FilterModelFormatterClass = lu, this.filterType = "date", this.defaultOptions = Jr;
31811
+ super(d0, [Ds]), this.eReadOnlyText = P, this.eDateWrapper = P, this.FilterModelFormatterClass = lu, this.filterType = "date", this.defaultOptions = Jr;
31787
31812
  }
31788
31813
  setParams(e) {
31789
31814
  super.setParams(e), this.createDateComponent();
@@ -31862,7 +31887,7 @@ var l0 = class extends ru {
31862
31887
  ]
31863
31888
  }, h0 = class extends N {
31864
31889
  constructor() {
31865
- super(u0, [Ps]), this.eDateInput = P, this.isApply = !1, this.applyOnFocusOut = !1;
31890
+ super(u0, [Ds]), this.eDateInput = P, this.isApply = !1, this.applyOnFocusOut = !1;
31866
31891
  }
31867
31892
  init(e) {
31868
31893
  this.params = e, this.setParams(e);
@@ -31904,7 +31929,7 @@ var l0 = class extends ru {
31904
31929
  );
31905
31930
  h && g && h.getTime() > g.getTime() && R(87);
31906
31931
  }
31907
- n ? n instanceof Date ? t.min = Hn(n) : t.min = n : i && (t.min = `${i}-01-01`), r ? r instanceof Date ? t.max = Hn(r) : t.max = r : s && (t.max = `${s}-12-31`), this.isApply = e.location === "floatingFilter" && !!a?.includes("apply");
31932
+ n ? n instanceof Date ? t.min = Vn(n) : t.min = n : i && (t.min = `${i}-01-01`), r ? r instanceof Date ? t.max = Vn(r) : t.max = r : s && (t.max = `${s}-12-31`), this.isApply = e.location === "floatingFilter" && !!a?.includes("apply");
31908
31933
  }
31909
31934
  refresh(e) {
31910
31935
  this.params = e, this.setParams(e);
@@ -31942,7 +31967,7 @@ var l0 = class extends ru {
31942
31967
  "blank",
31943
31968
  "notBlank"
31944
31969
  ];
31945
- function er(e) {
31970
+ function tr(e) {
31946
31971
  return e?.allowedCharPattern ?? null;
31947
31972
  }
31948
31973
  function Cs(e) {
@@ -31990,7 +32015,7 @@ var g0 = class extends Zr {
31990
32015
  super.setElementValue(e, s), s === null && e.setCustomValidity("");
31991
32016
  }
31992
32017
  createEValue() {
31993
- const { params: e, eValuesFrom: t, eValuesTo: o } = this, i = er(e), s = te({ tag: "div", cls: "ag-filter-body", role: "presentation" }), n = this.createFromToElement(s, t, "from", i), r = this.createFromToElement(s, o, "to", i), a = (c, u, h) => () => this.refreshInputPairValidation(c, u, h), l = a(n, r, !0);
32018
+ const { params: e, eValuesFrom: t, eValuesTo: o } = this, i = tr(e), s = te({ tag: "div", cls: "ag-filter-body", role: "presentation" }), n = this.createFromToElement(s, t, "from", i), r = this.createFromToElement(s, o, "to", i), a = (c, u, h) => () => this.refreshInputPairValidation(c, u, h), l = a(n, r, !0);
31994
32019
  n.onValueChange(l), n.addGuiEventListener("focusin", l);
31995
32020
  const d = a(n, r, !1);
31996
32021
  return r.onValueChange(d), r.addGuiEventListener("focusin", d), s;
@@ -32119,7 +32144,7 @@ var hu = class extends Xr {
32119
32144
  i.setInputAriaLabel(e), t !== void 0 && i.setAutoComplete(t), i.toggleCss("ag-floating-filter-search-icon", !!o), i.setInputPlaceholder(o);
32120
32145
  }
32121
32146
  };
32122
- function tr(e) {
32147
+ function or(e) {
32123
32148
  const t = e?.trim();
32124
32149
  return t === "" ? e : t;
32125
32150
  }
@@ -32154,7 +32179,7 @@ var m0 = {
32154
32179
  ariaLabel: this.getAriaLabel(n),
32155
32180
  autoComplete: r ?? !1,
32156
32181
  placeholder: c
32157
- }), this.applyActive = xs(a), !i) {
32182
+ }), this.applyActive = Es(a), !i) {
32158
32183
  const u = Or(a, o);
32159
32184
  t.setValueChangedListener(ee(this, this.syncUpWithParentFilter.bind(this), u));
32160
32185
  }
@@ -32172,7 +32197,7 @@ var m0 = {
32172
32197
  return;
32173
32198
  const { inputSvc: i, params: s, lastType: n } = this;
32174
32199
  let r = i.getValue();
32175
- if (s.filterParams.trimInput && (r = tr(r), i.setValue(r, !0)), o) {
32200
+ if (s.filterParams.trimInput && (r = or(r), i.setValue(r, !0)), o) {
32176
32201
  const a = s, l = a.model, d = this.convertValue(r), c = d == null ? null : {
32177
32202
  ...l ?? {
32178
32203
  filterType: this.filterType,
@@ -32244,10 +32269,10 @@ var m0 = {
32244
32269
  super(...arguments), this.FilterModelFormatterClass = hu, this.filterType = "number", this.defaultOptions = ea;
32245
32270
  }
32246
32271
  updateParams(e) {
32247
- er(e.filterParams) !== this.allowedCharPattern && this.recreateFloatingFilterInputService(e), super.updateParams(e);
32272
+ tr(e.filterParams) !== this.allowedCharPattern && this.recreateFloatingFilterInputService(e), super.updateParams(e);
32248
32273
  }
32249
32274
  createFloatingFilterInputService(e) {
32250
- return this.allowedCharPattern = er(e.filterParams), this.allowedCharPattern ? this.createManagedBean(
32275
+ return this.allowedCharPattern = tr(e.filterParams), this.allowedCharPattern ? this.createManagedBean(
32251
32276
  new gu({
32252
32277
  config: { allowedCharPattern: this.allowedCharPattern }
32253
32278
  })
@@ -32385,7 +32410,7 @@ var m0 = {
32385
32410
  const i = {
32386
32411
  ...o
32387
32412
  }, { filter: s, filterTo: n } = o;
32388
- return s && (i.filter = tr(s) ?? null), n && (i.filterTo = tr(n) ?? null), i;
32413
+ return s && (i.filter = or(s) ?? null), n && (i.filterTo = or(n) ?? null), i;
32389
32414
  };
32390
32415
  return cc(e) ? {
32391
32416
  ...e,
@@ -32537,7 +32562,7 @@ var E0 = class extends b {
32537
32562
  moduleName: "FilterValue",
32538
32563
  version: E,
32539
32564
  beans: [JF]
32540
- }, Ls = {
32565
+ }, Os = {
32541
32566
  moduleName: "ColumnFilter",
32542
32567
  version: E,
32543
32568
  beans: [jF, ZF],
@@ -32561,16 +32586,16 @@ var E0 = class extends b {
32561
32586
  getColumnFilterHandler: UF,
32562
32587
  doFilterAction: $F
32563
32588
  },
32564
- dependsOn: [oa, ks, Cu, IF]
32589
+ dependsOn: [oa, Ls, Cu, IF]
32565
32590
  }, M0 = {
32566
32591
  moduleName: "CustomFilter",
32567
32592
  version: E,
32568
32593
  userComponents: { agReadOnlyFloatingFilter: e0 },
32569
- dependsOn: [Ls]
32594
+ dependsOn: [Os]
32570
32595
  }, A0 = {
32571
32596
  moduleName: "TextFilter",
32572
32597
  version: E,
32573
- dependsOn: [Ls],
32598
+ dependsOn: [Os],
32574
32599
  userComponents: {
32575
32600
  agTextColumnFilter: {
32576
32601
  classImp: w0,
@@ -32586,7 +32611,7 @@ var E0 = class extends b {
32586
32611
  }, I0 = {
32587
32612
  moduleName: "NumberFilter",
32588
32613
  version: E,
32589
- dependsOn: [Ls],
32614
+ dependsOn: [Os],
32590
32615
  userComponents: {
32591
32616
  agNumberColumnFilter: {
32592
32617
  classImp: g0,
@@ -32602,7 +32627,7 @@ var E0 = class extends b {
32602
32627
  }, k0 = {
32603
32628
  moduleName: "DateFilter",
32604
32629
  version: E,
32605
- dependsOn: [Ls],
32630
+ dependsOn: [Os],
32606
32631
  userComponents: {
32607
32632
  agDateColumnFilter: {
32608
32633
  classImp: s0,
@@ -32638,7 +32663,7 @@ var E0 = class extends b {
32638
32663
  }, H0 = (
32639
32664
  /*css*/
32640
32665
  ".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),&:where(.ag-cell-formula-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}}"
32641
- ), Sn = (e, t, o) => {
32666
+ ), bn = (e, t, o) => {
32642
32667
  const { editModelSvc: i } = e, s = i?.getCellValidationModel()?.getCellValidation(t)?.errorMessages, n = i?.getRowValidationModel().getRowValidation(t)?.errorMessages, r = s || n;
32643
32668
  return r?.length ? r.join(o("tooltipValidationErrorSeparator", ". ")) : void 0;
32644
32669
  }, V0 = class extends b {
@@ -32647,7 +32672,7 @@ var E0 = class extends b {
32647
32672
  }
32648
32673
  setupHeaderTooltip(e, t, o, i) {
32649
32674
  e && t.destroyBean(e);
32650
- const s = this.gos, n = wn(s), { column: r, eGui: a } = t, l = r.getColDef();
32675
+ const s = this.gos, n = Sn(s), { column: r, eGui: a } = t, l = r.getColDef();
32651
32676
  !i && n && !l.headerComponent && (i = ki(
32652
32677
  () => a.querySelector(".ag-header-cell-text")
32653
32678
  ));
@@ -32668,7 +32693,7 @@ var E0 = class extends b {
32668
32693
  }
32669
32694
  setupHeaderGroupTooltip(e, t, o, i) {
32670
32695
  e && t.destroyBean(e);
32671
- const s = this.gos, n = wn(s), { column: r, eGui: a } = t, l = r.getColGroupDef();
32696
+ const s = this.gos, n = Sn(s), { column: r, eGui: a } = t, l = r.getColGroupDef();
32672
32697
  !i && n && !l?.headerGroupComponent && (i = ki(
32673
32698
  () => a.querySelector(".ag-header-group-text")
32674
32699
  ));
@@ -32692,7 +32717,7 @@ var E0 = class extends b {
32692
32717
  const { beans: i } = this, { gos: s, editSvc: n } = i, { column: r, rowNode: a } = e;
32693
32718
  let l = "cell";
32694
32719
  const d = () => {
32695
- const g = !!!n?.isEditing(e) && Sn(i, e, this.getLocaleTextFunc());
32720
+ const g = !!!n?.isEditing(e) && bn(i, e, this.getLocaleTextFunc());
32696
32721
  if (g)
32697
32722
  return l = "cellEditor", g;
32698
32723
  l = "cell";
@@ -32712,10 +32737,10 @@ var E0 = class extends b {
32712
32737
  valueFormatted: e.valueFormatted
32713
32738
  })
32714
32739
  ) : null;
32715
- }, c = wn(s);
32740
+ }, c = Sn(s);
32716
32741
  o || (c && !e.isCellRenderer() ? o = () => {
32717
32742
  const h = !!n?.isEditing(e);
32718
- if (!h && Sn(i, e, this.getLocaleTextFunc()))
32743
+ if (!h && bn(i, e, this.getLocaleTextFunc()))
32719
32744
  return !0;
32720
32745
  if (!r.isTooltipEnabled())
32721
32746
  return !1;
@@ -32775,7 +32800,7 @@ var E0 = class extends b {
32775
32800
  return;
32776
32801
  const n = {
32777
32802
  getGui: () => s,
32778
- getTooltipValue: () => Sn(o, e, this.getLocaleTextFunc()),
32803
+ getTooltipValue: () => bn(o, e, this.getLocaleTextFunc()),
32779
32804
  getLocation: () => "cellEditor",
32780
32805
  shouldDisplayTooltip: () => {
32781
32806
  const { editModelSvc: a } = o, l = a?.getRowValidationModel()?.getRowValidationMap(), d = a?.getCellValidationModel()?.getCellValidationMap(), c = !!l && l.size > 0, u = !!d && d.size > 0;
@@ -32816,13 +32841,13 @@ var E0 = class extends b {
32816
32841
  userComponents: {
32817
32842
  agTooltipComponent: um
32818
32843
  },
32819
- dependsOn: [ks],
32844
+ dependsOn: [Ls],
32820
32845
  css: [H0]
32821
32846
  }, jt = class {
32822
32847
  constructor(e) {
32823
32848
  this.cellValueChanges = e;
32824
32849
  }
32825
- }, bn = class extends jt {
32850
+ }, yn = class extends jt {
32826
32851
  constructor(e, t, o, i) {
32827
32852
  super(e), this.initialRange = t, this.finalRange = o, this.ranges = i;
32828
32853
  }
@@ -32928,7 +32953,7 @@ var E0 = class extends b {
32928
32953
  n,
32929
32954
  (r) => r[i],
32930
32955
  s
32931
- ), n instanceof bn ? this.processRange(n.ranges || [n[o]]) : this.processCell(n.cellValueChanges), t.push(n), !0) : !1;
32956
+ ), n instanceof yn ? this.processRange(n.ranges || [n[o]]) : this.processCell(n.cellValueChanges), t.push(n), !0) : !1;
32932
32957
  }
32933
32958
  processAction(e, t, o) {
32934
32959
  for (const i of e.cellValueChanges) {
@@ -33005,7 +33030,7 @@ var E0 = class extends b {
33005
33030
  this.isRangeInAction = !0;
33006
33031
  },
33007
33032
  fillEnd: (e) => {
33008
- const t = new bn(this.cellValueChanges, e.initialRange, e.finalRange);
33033
+ const t = new yn(this.cellValueChanges, e.initialRange, e.finalRange);
33009
33034
  this.pushActionsToUndoStack(t), this.isRangeInAction = !1;
33010
33035
  },
33011
33036
  keyShortcutChangedCellStart: () => {
@@ -33014,7 +33039,7 @@ var E0 = class extends b {
33014
33039
  keyShortcutChangedCellEnd: () => {
33015
33040
  let e;
33016
33041
  const { rangeSvc: t, gos: o } = this.beans;
33017
- t && Xe(o) ? e = new bn(this.cellValueChanges, void 0, void 0, [
33042
+ t && Xe(o) ? e = new yn(this.cellValueChanges, void 0, void 0, [
33018
33043
  ...t.getCellRanges()
33019
33044
  ]) : e = new jt(this.cellValueChanges), this.pushActionsToUndoStack(e), this.isRangeInAction = !1;
33020
33045
  },
@@ -33052,7 +33077,7 @@ var E0 = class extends b {
33052
33077
  role: "presentation"
33053
33078
  }
33054
33079
  ]
33055
- }, U0 = class extends Ts {
33080
+ }, U0 = class extends Ms {
33056
33081
  constructor() {
33057
33082
  super(_0, [Er]), this.eEditor = P;
33058
33083
  }
@@ -33075,7 +33100,7 @@ var E0 = class extends b {
33075
33100
  return !1;
33076
33101
  }
33077
33102
  setAriaLabel(e) {
33078
- const t = this.getLocaleTextFunc(), o = bs(t, e), i = t("ariaToggleCellValue", "Press SPACE to toggle cell value");
33103
+ const t = this.getLocaleTextFunc(), o = ys(t, e), i = t("ariaToggleCellValue", "Press SPACE to toggle cell value");
33079
33104
  this.eEditor.setInputAriaLabel(`${i} (${o})`);
33080
33105
  }
33081
33106
  getValidationElement(e) {
@@ -33089,7 +33114,7 @@ var E0 = class extends b {
33089
33114
  cellEditorParams: e
33090
33115
  }) : null;
33091
33116
  }
33092
- }, Os = class extends Ts {
33117
+ }, Gs = class extends Ms {
33093
33118
  constructor(e) {
33094
33119
  super(), this.cellEditorInput = e, this.eEditor = P;
33095
33120
  }
@@ -33186,7 +33211,7 @@ var E0 = class extends b {
33186
33211
  if (e instanceof Date)
33187
33212
  return ve(e, this.includeTime ?? !1);
33188
33213
  }
33189
- }, j0 = class extends Os {
33214
+ }, j0 = class extends Gs {
33190
33215
  constructor() {
33191
33216
  super(
33192
33217
  new K0(
@@ -33259,7 +33284,7 @@ var E0 = class extends b {
33259
33284
  const t = this.getDataTypeService();
33260
33285
  return t ? t.getDateFormatterFunction(this.params.column)(e) : ve(e ?? null, this.includeTime ?? !1) ?? void 0;
33261
33286
  }
33262
- }, Q0 = class extends Os {
33287
+ }, Q0 = class extends Gs {
33263
33288
  constructor() {
33264
33289
  super(
33265
33290
  new Y0(
@@ -33278,7 +33303,7 @@ var E0 = class extends b {
33278
33303
  cls: "ag-large-text-input"
33279
33304
  }
33280
33305
  ]
33281
- }, J0 = class extends Ts {
33306
+ }, J0 = class extends Ms {
33282
33307
  constructor() {
33283
33308
  super(Z0, [mf]), this.eEditor = P;
33284
33309
  }
@@ -33375,7 +33400,7 @@ var E0 = class extends b {
33375
33400
  setCaret() {
33376
33401
  St() && this.eEditor.getInputElement().focus({ preventScroll: !0 });
33377
33402
  }
33378
- }, tP = class extends Os {
33403
+ }, tP = class extends Gs {
33379
33404
  constructor() {
33380
33405
  super(new eP(() => this.getLocaleTextFunc()));
33381
33406
  }
@@ -33389,7 +33414,7 @@ var E0 = class extends b {
33389
33414
  cls: "ag-cell-editor"
33390
33415
  }
33391
33416
  ]
33392
- }, iP = class extends Ts {
33417
+ }, iP = class extends Ms {
33393
33418
  constructor() {
33394
33419
  super(oP, [Ef]), this.eEditor = P, this.startedByEnter = !1;
33395
33420
  }
@@ -33455,7 +33480,7 @@ var E0 = class extends b {
33455
33480
  return sP;
33456
33481
  }
33457
33482
  getAgComponents() {
33458
- return [Ps];
33483
+ return [Ds];
33459
33484
  }
33460
33485
  init(e, t) {
33461
33486
  this.eEditor = e, this.params = t;
@@ -33482,7 +33507,7 @@ var E0 = class extends b {
33482
33507
  const e = this.eEditor, t = e.getValue(), o = x(t) && t.length || 0;
33483
33508
  o && e.getInputElement().setSelectionRange(o, o);
33484
33509
  }
33485
- }, Rl = class extends Os {
33510
+ }, Rl = class extends Gs {
33486
33511
  constructor() {
33487
33512
  super(new nP(() => this.getLocaleTextFunc()));
33488
33513
  }
@@ -33603,7 +33628,7 @@ var wP = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, SP =
33603
33628
  }
33604
33629
  addKeyDownListener() {
33605
33630
  const e = this.getGui(), t = this.params, o = (i) => {
33606
- _n(this.gos, i, t.node, t.column, !0) || t.onKeyDown(i);
33631
+ Un(this.gos, i, t.node, t.column, !0) || t.onKeyDown(i);
33607
33632
  };
33608
33633
  this.addManagedElementListeners(e, { keydown: o });
33609
33634
  }
@@ -33619,13 +33644,13 @@ function bP(e, { column: t }, o, i, s = "ui") {
33619
33644
  function yP(e, t) {
33620
33645
  return e.get("suppressClickEdit") === !0 ? 0 : e.get("singleClickEdit") === !0 || t?.singleClickEdit ? 1 : 2;
33621
33646
  }
33622
- function or(e, { rowNode: t, column: o }, i = "ui") {
33647
+ function ir(e, { rowNode: t, column: o }, i = "ui") {
33623
33648
  const s = o.getColDef().editable, n = e.editModelSvc;
33624
33649
  return o.isColumnFunc(t, s) || !!n && n.hasEdits({ rowNode: t, column: o }, { withOpenEditor: !0 });
33625
33650
  }
33626
33651
  function RP(e, t, o = "ui") {
33627
- const i = or(e, t, o);
33628
- return i === !0 || o === "ui" ? i : e.colModel.getCols().some((n) => or(e, { rowNode: t.rowNode, column: n }, o));
33652
+ const i = ir(e, t, o);
33653
+ return i === !0 || o === "ui" ? i : e.colModel.getCols().some((n) => ir(e, { rowNode: t.rowNode, column: n }, o));
33629
33654
  }
33630
33655
  var vs = (e, t = !1) => {
33631
33656
  if (e !== void 0)
@@ -33982,7 +34007,7 @@ var FP = class extends b {
33982
34007
  } else if (!i.get("enableGroupEdit"))
33983
34008
  return !1;
33984
34009
  }
33985
- const n = Fl(i) === "fullRow" ? RP(s, e, t) : or(s, e, t);
34010
+ const n = Fl(i) === "fullRow" ? RP(s, e, t) : ir(s, e, t);
33986
34011
  return n && (this.strategy ?? (this.strategy = this.createStrategy())), n;
33987
34012
  }
33988
34013
  cellEditingInvalidCommitBlocks() {
@@ -34479,9 +34504,9 @@ var Du = class extends b {
34479
34504
  return super.stop(e, t), this.rowNode = void 0, this.column = void 0, !0;
34480
34505
  }
34481
34506
  onCellFocusChanged(e) {
34482
- const { colModel: t, editSvc: o } = this.beans, { rowIndex: i, column: s, rowPinned: n } = e, r = tt(this.beans, { rowIndex: i, rowPinned: n }), a = Qn(s), l = t.getCol(a), d = e.previousParams;
34507
+ const { colModel: t, editSvc: o } = this.beans, { rowIndex: i, column: s, rowPinned: n } = e, r = tt(this.beans, { rowIndex: i, rowPinned: n }), a = Zn(s), l = t.getCol(a), d = e.previousParams;
34483
34508
  if (d) {
34484
- const c = Qn(d.column);
34509
+ const c = Zn(d.column);
34485
34510
  if (d?.rowIndex === i && c === a && d?.rowPinned === n)
34486
34511
  return;
34487
34512
  }
@@ -34547,7 +34572,7 @@ var Du = class extends b {
34547
34572
  singleCell: HP,
34548
34573
  fullRow: GP
34549
34574
  },
34550
- dependsOn: [ks, vu],
34575
+ dependsOn: [Ls, vu],
34551
34576
  css: [z0]
34552
34577
  }, VP = {
34553
34578
  moduleName: "UndoRedoEdit",
@@ -35269,7 +35294,7 @@ function cD(e, t, o) {
35269
35294
  H(28);
35270
35295
  return;
35271
35296
  }
35272
- Is(e)?.setRowCount(t, o);
35297
+ ks(e)?.setRowCount(t, o);
35273
35298
  }
35274
35299
  function uD(e) {
35275
35300
  return gi(e.gos) ? e.rowModel.getBlockStates() : e.rowNodeBlockLoader?.getBlockState() ?? {};
@@ -36181,7 +36206,7 @@ var gD = {
36181
36206
  return;
36182
36207
  }
36183
36208
  e.forEachChangedNodeDepthFirst((o) => {
36184
- o.childrenAfterFilter = o.childrenAfterGroup, Xn(o);
36209
+ o.childrenAfterFilter = o.childrenAfterGroup, er(o);
36185
36210
  }, !0);
36186
36211
  }
36187
36212
  doPivot(e) {
@@ -37103,13 +37128,13 @@ var jD = {
37103
37128
  }
37104
37129
  };
37105
37130
  function JD(e) {
37106
- Is(e)?.refreshCache();
37131
+ ks(e)?.refreshCache();
37107
37132
  }
37108
37133
  function XD(e) {
37109
- Is(e)?.purgeCache();
37134
+ ks(e)?.purgeCache();
37110
37135
  }
37111
37136
  function ex(e) {
37112
- return Is(e)?.getRowCount();
37137
+ return ks(e)?.getRowCount();
37113
37138
  }
37114
37139
  var tx = class extends b {
37115
37140
  constructor() {
@@ -38383,7 +38408,7 @@ var Mx = class extends b {
38383
38408
  paginationGoToLastPage: Ex,
38384
38409
  paginationGoToPage: Tx
38385
38410
  },
38386
- dependsOn: [ks]
38411
+ dependsOn: [Ls]
38387
38412
  };
38388
38413
  function Bx(e, t = {}) {
38389
38414
  const o = t ? t.rowNodes : void 0;
@@ -38477,9 +38502,9 @@ function tE(e, t = {}) {
38477
38502
  }
38478
38503
  if (t.columns?.length)
38479
38504
  return o;
38480
- const i = [], s = Zn(t.rowNodes);
38505
+ const i = [], s = Jn(t.rowNodes);
38481
38506
  for (const n of e.rowRenderer.getAllRowCtrls()) {
38482
- if (s && !Jn(n.rowNode, s) || !n.isFullWidth())
38507
+ if (s && !Xn(n.rowNode, s) || !n.isFullWidth())
38483
38508
  continue;
38484
38509
  const r = n.getFullWidthCellRenderers();
38485
38510
  for (let a = 0; a < r.length; a++) {
@@ -39106,7 +39131,7 @@ var fE = {
39106
39131
  }
39107
39132
  onCellFocused(e) {
39108
39133
  const { beans: t } = this;
39109
- if (Es(t)) {
39134
+ if (Ts(t)) {
39110
39135
  this.focusedCellPosition = void 0;
39111
39136
  return;
39112
39137
  }
@@ -40783,7 +40808,7 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
40783
40808
  emits: /* @__PURE__ */ Qo(["update:modelValue"], ["update:modelValue"]),
40784
40809
  setup(e, { expose: t, emit: o }) {
40785
40810
  const i = e, s = Nu("root"), n = ue(void 0), r = ue(!1), a = ue(!1), l = ue(!1), d = ue({}), c = ue(null), u = Wu(i);
40786
- Yn().filter((M) => M != "gridOptions").forEach((M) => {
40811
+ Qn().filter((M) => M != "gridOptions").forEach((M) => {
40787
40812
  me(
40788
40813
  () => u[M],
40789
40814
  (A, I) => {
@@ -40792,7 +40817,7 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
40792
40817
  { deep: !0 }
40793
40818
  );
40794
40819
  });
40795
- const h = /* @__PURE__ */ new Set(["rowDataUpdated", "cellValueChanged", "rowValueChanged"]), g = Ss(e, "modelValue"), p = ue(!1), f = ue(!1), m = o;
40820
+ const h = /* @__PURE__ */ new Set(["rowDataUpdated", "cellValueChanged", "rowValueChanged"]), g = bs(e, "modelValue"), p = ue(!1), f = ue(!1), m = o;
40796
40821
  me(
40797
40822
  g,
40798
40823
  (M, A) => {
@@ -40836,10 +40861,10 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
40836
40861
  modules: i.modules
40837
40862
  }, I = _u(
40838
40863
  Og(Go(i.gridOptions), i, [
40839
- ...Yn(),
40864
+ ...Qn(),
40840
40865
  // we could have replaced it with GRID_OPTIONS_VALIDATORS().allProperties,
40841
40866
  // but that prevents tree shaking of validation code in Vue
40842
- ...Object.values(As)
40867
+ ...Object.values(Is)
40843
40868
  ])
40844
40869
  ), G = y();
40845
40870
  G !== void 0 && (I.rowData = Go(G)), n.value = sF(s.value, I, A), r.value = !0;
@@ -40866,7 +40891,7 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
40866
40891
  }),
40867
40892
  emits: ["update:modelValue"],
40868
40893
  setup(e) {
40869
- const t = e, o = Ss(e, "modelValue");
40894
+ const t = e, o = bs(e, "modelValue");
40870
40895
  return (i, s) => (q(), J("div", {
40871
40896
  class: ci(["coar-data-grid-search", { "coar-data-grid-search--bordered": t.bordered, "coar-data-grid-search--elevated": t.elevated }])
40872
40897
  }, [
@@ -40878,7 +40903,7 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
40878
40903
  clearable: "",
40879
40904
  class: "coar-data-grid-search__input"
40880
40905
  }, {
40881
- prefix: ir(() => [
40906
+ prefix: sr(() => [
40882
40907
  Yo(mo(nr), {
40883
40908
  name: "search",
40884
40909
  source: "coar-builtin",
@@ -40928,7 +40953,7 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
40928
40953
  const m = f.target;
40929
40954
  return i.some((C) => m.classList.contains(C));
40930
40955
  }
40931
- const n = e, r = Ss(e, "search"), a = V(
40956
+ const n = e, r = bs(e, "search"), a = V(
40932
40957
  () => n.showSearch || !!o["toolbar-left"] || !!o["toolbar-right"]
40933
40958
  ), l = ue("");
40934
40959
  me(
@@ -40980,7 +41005,7 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
40980
41005
  "ag-theme-cocoar--has-toolbar": a.value
40981
41006
  }
40982
41007
  ]]),
40983
- style: sr(n.style ?? "display: flex; flex-direction: column; flex: 1 1 auto; height: 100%;"),
41008
+ style: Ss(n.style ?? "display: flex; flex-direction: column; flex: 1 1 auto; height: 100%;"),
40984
41009
  onClick: g,
40985
41010
  onContextmenu: p
40986
41011
  }, [
@@ -41024,7 +41049,7 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
41024
41049
  }),
41025
41050
  emits: ["update:search"],
41026
41051
  setup(e) {
41027
- const t = e, o = Ss(e, "search");
41052
+ const t = e, o = bs(e, "search");
41028
41053
  return (i, s) => (q(), ws(nT, {
41029
41054
  search: o.value,
41030
41055
  "onUpdate:search": s[0] || (s[0] = (n) => o.value = n),
@@ -41034,13 +41059,13 @@ const ZE = { ref: "root" }, JE = /* @__PURE__ */ Re({
41034
41059
  bordered: t.bordered,
41035
41060
  elevated: t.elevated,
41036
41061
  class: ci(t.gridClass),
41037
- style: sr(t.gridStyle),
41062
+ style: Ss(t.gridStyle),
41038
41063
  "search-placeholder": t.searchPlaceholder,
41039
41064
  "search-size": t.searchSize
41040
41065
  }, Zu({ _: 2 }, [
41041
41066
  i.$slots.actions ? {
41042
41067
  name: "toolbar-right",
41043
- fn: ir(() => [
41068
+ fn: sr(() => [
41044
41069
  ji(i.$slots, "actions")
41045
41070
  ]),
41046
41071
  key: "0"