@epam/ai-dial-ui-kit 0.10.0-dev.34 → 0.10.0-dev.37

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.
@@ -565,7 +565,7 @@ const Ex = (e, t) => {
565
565
  }, qx = [], gt = (e) => {
566
566
  const t = (i) => i[e] || qx;
567
567
  return t.isThemeGetter = !0, t;
568
- }, Sv = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Rv = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kx = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yx = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zx = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Qx = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Xx = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Jx = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, hs = (e) => Kx.test(e), He = (e) => !!e && !Number.isNaN(Number(e)), ps = (e) => !!e && Number.isInteger(Number(e)), gd = (e) => e.endsWith("%") && He(e.slice(0, -1)), Ki = (e) => Yx.test(e), Fv = () => !0, ey = (e) => (
568
+ }, Sv = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Rv = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kx = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yx = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zx = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Qx = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Xx = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Jx = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, hs = (e) => Kx.test(e), He = (e) => !!e && !Number.isNaN(Number(e)), ps = (e) => !!e && Number.isInteger(Number(e)), gd = (e) => e.endsWith("%") && He(e.slice(0, -1)), qi = (e) => Yx.test(e), Fv = () => !0, ey = (e) => (
569
569
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
570
570
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
571
571
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
@@ -624,22 +624,22 @@ const Ex = (e, t) => {
624
624
  theme: {
625
625
  animate: ["spin", "ping", "pulse", "bounce"],
626
626
  aspect: ["video"],
627
- blur: [Ki],
628
- breakpoint: [Ki],
627
+ blur: [qi],
628
+ breakpoint: [qi],
629
629
  color: [Fv],
630
- container: [Ki],
631
- "drop-shadow": [Ki],
630
+ container: [qi],
631
+ "drop-shadow": [qi],
632
632
  ease: ["in", "out", "in-out"],
633
633
  font: [sy],
634
634
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
635
- "inset-shadow": [Ki],
635
+ "inset-shadow": [qi],
636
636
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
637
637
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
638
- radius: [Ki],
639
- shadow: [Ki],
638
+ radius: [qi],
639
+ shadow: [qi],
640
640
  spacing: ["px", He],
641
- text: [Ki],
642
- "text-shadow": [Ki],
641
+ text: [qi],
642
+ "text-shadow": [qi],
643
643
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
644
644
  },
645
645
  classGroups: {
@@ -3242,7 +3242,8 @@ const Gg = {
3242
3242
  },
3243
3243
  [Qe.Error]: {
3244
3244
  [Ge.Solid]: "dial-error-solid-button",
3245
- [Ge.Ghost]: "dial-error-ghost-button"
3245
+ [Ge.Ghost]: "dial-error-ghost-button",
3246
+ [Ge.Outlined]: "dial-error-outlined-button"
3246
3247
  },
3247
3248
  [Qe.Success]: {
3248
3249
  [Ge.Ghost]: "dial-success-ghost-button"
@@ -3512,19 +3513,19 @@ const oi = 18, se = {
3512
3513
  );
3513
3514
  return d ? /* @__PURE__ */ g.jsx(Qt, { ...d, children: f }) : f;
3514
3515
  };
3515
- var Ni = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(Ni || {});
3516
+ var Qi = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(Qi || {});
3516
3517
  const wy = (e) => ({
3517
3518
  info: /* @__PURE__ */ g.jsx(yh, { ...e }),
3518
3519
  error: /* @__PURE__ */ g.jsx(F0, { ...e }),
3519
3520
  warning: /* @__PURE__ */ g.jsx(Sh, { ...e }),
3520
3521
  success: /* @__PURE__ */ g.jsx(R0, { ...e })
3521
3522
  }), by = {
3522
- [Ni.Info]: "bg-info border-info text-info",
3523
- [Ni.Success]: "bg-success border-success text-success",
3524
- [Ni.Warning]: "bg-warning border-warning text-warning",
3525
- [Ni.Error]: "bg-error border-error text-error"
3523
+ [Qi.Info]: "bg-info border-info text-info",
3524
+ [Qi.Success]: "bg-success border-success text-success",
3525
+ [Qi.Warning]: "bg-warning border-warning text-warning",
3526
+ [Qi.Error]: "bg-error border-error text-error"
3526
3527
  }, xy = "items-center justify-between gap-2 p-3 border border-solid dial-small-text-150 rounded flex", yy = ({
3527
- variant: e = Ni.Info,
3528
+ variant: e = Qi.Info,
3528
3529
  message: t,
3529
3530
  className: i,
3530
3531
  iconSize: s = 24,
@@ -6853,7 +6854,7 @@ function ir(e, t) {
6853
6854
  return !0;
6854
6855
  }
6855
6856
  }
6856
- function zi(e, t) {
6857
+ function Vi(e, t) {
6857
6858
  const i = e.indexOf(t);
6858
6859
  i >= 0 && e.splice(i, 1);
6859
6860
  }
@@ -6866,7 +6867,7 @@ function oR(e, t) {
6866
6867
  }
6867
6868
  function of(e, t, i) {
6868
6869
  for (let s = 0; s < t.length; s++)
6869
- zi(e, t[s]);
6870
+ Vi(e, t[s]);
6870
6871
  for (let s = t.length - 1; s >= 0; s--)
6871
6872
  e.splice(i, 0, t[s]);
6872
6873
  }
@@ -7242,9 +7243,9 @@ function TR(e) {
7242
7243
  return e.clientHeight < e.scrollHeight;
7243
7244
  }
7244
7245
  function El(e, t) {
7245
- t === "flex" ? (e.style.removeProperty("width"), e.style.removeProperty("minWidth"), e.style.removeProperty("maxWidth"), e.style.flex = "1 1 auto") : Bi(e, t);
7246
+ t === "flex" ? (e.style.removeProperty("width"), e.style.removeProperty("minWidth"), e.style.removeProperty("maxWidth"), e.style.flex = "1 1 auto") : Gi(e, t);
7246
7247
  }
7247
- function Bi(e, t) {
7248
+ function Gi(e, t) {
7248
7249
  t = op(t), e.style.width = t, e.style.maxWidth = t, e.style.minWidth = t;
7249
7250
  }
7250
7251
  function vr(e, t) {
@@ -7638,16 +7639,16 @@ function Ot(e, t, i = !0, s = !1) {
7638
7639
  function df(e) {
7639
7640
  return typeof e == "object" && e !== null;
7640
7641
  }
7641
- var lp = class Yi {
7642
+ var lp = class Ki {
7642
7643
  /**
7643
7644
  * @param providedOptions
7644
7645
  * @returns Shallow copy of the provided options with global options merged in.
7645
7646
  */
7646
7647
  static applyGlobalGridOptions(t) {
7647
- if (!Yi.gridOptions)
7648
+ if (!Ki.gridOptions)
7648
7649
  return { ...t };
7649
7650
  let i = {};
7650
- return Ot(i, Yi.gridOptions, !0, !0), Yi.mergeStrategy === "deep" ? Ot(i, t, !0, !0) : i = { ...i, ...t }, Yi.gridOptions.context && (i.context = Yi.gridOptions.context), t.context && (Yi.mergeStrategy === "deep" && i.context && Ot(t.context, i.context, !0, !0), i.context = t.context), i;
7651
+ return Ot(i, Ki.gridOptions, !0, !0), Ki.mergeStrategy === "deep" ? Ot(i, t, !0, !0) : i = { ...i, ...t }, Ki.gridOptions.context && (i.context = Ki.gridOptions.context), t.context && (Ki.mergeStrategy === "deep" && i.context && Ot(t.context, i.context, !0, !0), i.context = t.context), i;
7651
7652
  }
7652
7653
  /**
7653
7654
  * Apply global grid option for a specific option key.
@@ -7658,10 +7659,10 @@ var lp = class Yi {
7658
7659
  * @returns The merged value if applicable, otherwise the provided value.
7659
7660
  */
7660
7661
  static applyGlobalGridOption(t, i) {
7661
- if (Yi.mergeStrategy === "deep") {
7662
+ if (Ki.mergeStrategy === "deep") {
7662
7663
  const s = uC(t);
7663
7664
  if (s && typeof s == "object" && typeof i == "object")
7664
- return Yi.applyGlobalGridOptions({ [t]: i })[t];
7665
+ return Ki.applyGlobalGridOptions({ [t]: i })[t];
7665
7666
  }
7666
7667
  return i;
7667
7668
  }
@@ -8022,7 +8023,7 @@ function d3(e, t) {
8022
8023
  const i = t[0];
8023
8024
  return `error #${i} ` + SC(i, t[1], e).join(" ");
8024
8025
  }
8025
- function Vi(...e) {
8026
+ function Bi(...e) {
8026
8027
  return d3(void 0, e);
8027
8028
  }
8028
8029
  function FC(e, t) {
@@ -8098,7 +8099,7 @@ function oo(e) {
8098
8099
  function PC(e) {
8099
8100
  return !(e.get("paginateChildRows") || e.get("groupHideOpenParents") || Rt(e, "print"));
8100
8101
  }
8101
- function Qi(e) {
8102
+ function Zi(e) {
8102
8103
  return !e.get("autoGroupColumnDef")?.comparator && !e.get("treeData");
8103
8104
  }
8104
8105
  function Tl(e) {
@@ -9010,7 +9011,7 @@ function Ou(e, t, i, s) {
9010
9011
  l && j3(e, l, r);
9011
9012
  const c = r.cellDataType;
9012
9013
  Ot(r, t, !1, !0), c !== void 0 && (r.cellDataType = c);
9013
- const d = n.get("autoGroupColumnDef"), u = Qi(n);
9014
+ const d = n.get("autoGroupColumnDef"), u = Zi(n);
9014
9015
  return t.rowGroup && d && u && Ot(
9015
9016
  r,
9016
9017
  {
@@ -9058,7 +9059,7 @@ function HC(e) {
9058
9059
  };
9059
9060
  return i(e), t;
9060
9061
  }
9061
- function Zi(e) {
9062
+ function Yi(e) {
9062
9063
  return e.reduce((t, i) => t + i.getActualWidth(), 0);
9063
9064
  }
9064
9065
  function Ll(e, t, i) {
@@ -10012,13 +10013,13 @@ var $C = "ag-resizer-wrapper", gs = (e, t) => ({
10012
10013
  const t = this.element, { popup: i } = this.config;
10013
10014
  let s = !1;
10014
10015
  if (typeof e == "string" && e.includes("%"))
10015
- Bi(t, e), e = Sl(t), s = !0;
10016
+ Gi(t, e), e = Sl(t), s = !0;
10016
10017
  else if (this.positioned) {
10017
10018
  e = Math.max(this.minWidth, e);
10018
10019
  const { clientWidth: n } = this.offsetParent, o = i ? this.position.x : this.element.getBoundingClientRect().left;
10019
10020
  n && e + o > n && (e = n - o);
10020
10021
  }
10021
- this.getWidth() !== e && (s ? (t.style.maxWidth = "unset", t.style.minWidth = "unset") : this.config.popup ? Bi(t, e) : (t.style.width = `${e}px`, t.style.flex = " unset", this.lastSize.width = typeof e == "number" ? e : Number.parseFloat(e)));
10022
+ this.getWidth() !== e && (s ? (t.style.maxWidth = "unset", t.style.minWidth = "unset") : this.config.popup ? Gi(t, e) : (t.style.width = `${e}px`, t.style.flex = " unset", this.lastSize.width = typeof e == "number" ? e : Number.parseFloat(e)));
10022
10023
  }
10023
10024
  offsetElement(e = 0, t = 0, i) {
10024
10025
  const { forcePopupParentAsOffsetParent: s } = this.config, n = s ? this.boundaryEl : this.element;
@@ -10860,7 +10861,7 @@ var UF = class extends at {
10860
10861
  this.eEditor.destroy(), this.errorMessages = null, super.destroy();
10861
10862
  }
10862
10863
  };
10863
- function _i(e) {
10864
+ function ji(e) {
10864
10865
  const t = e.rowModel;
10865
10866
  return t.getType() === "clientSide" ? t : void 0;
10866
10867
  }
@@ -11313,7 +11314,7 @@ var YF = /* @__PURE__ */ new Set([
11313
11314
  t.has(e) || (t.add(e), i.add(e), s.push(e), this.sort());
11314
11315
  }
11315
11316
  delete(e) {
11316
- this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id), zi(this.order, e);
11317
+ this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id), Vi(this.order, e);
11317
11318
  }
11318
11319
  has(e) {
11319
11320
  return this.visible.has(e);
@@ -11383,7 +11384,7 @@ var xf = class extends z {
11383
11384
  }
11384
11385
  postConstruct() {
11385
11386
  const { gos: e, beans: t } = this;
11386
- this.top = new bf(t, "top"), this.bottom = new bf(t, "bottom"), this.csrm = _i(t) ?? null;
11387
+ this.top = new bf(t, "top"), this.bottom = new bf(t, "bottom"), this.csrm = ji(t) ?? null;
11387
11388
  const i = (n) => Id(t, n.pinnedSibling), s = () => {
11388
11389
  const n = e.get("isRowPinned");
11389
11390
  n && e.get("enableRowPinning") && t.rowModel.forEachNode((o) => this.pinRow(o, n(o)), !0), this.refreshRowPositions(), this.dispatchRowPinnedEvents();
@@ -12119,7 +12120,7 @@ function Pf(e) {
12119
12120
  const { pinnedRowModel: s, pageBounds: n } = e, o = s?.getPinnedBottomRowCount(), r = s?.getPinnedTopRowCount();
12120
12121
  return o ? (i = "bottom", t = o - 1) : e.rowModel.getRowCount() ? t = n.getLastRow() : r && (i = "top", t = r - 1), t === void 0 ? null : { rowIndex: t, rowPinned: i };
12121
12122
  }
12122
- function Wi(e, t) {
12123
+ function zi(e, t) {
12123
12124
  switch (t.rowPinned) {
12124
12125
  case "top":
12125
12126
  return e.pinnedRowModel?.getPinnedTopRow(t.rowIndex);
@@ -13419,9 +13420,9 @@ var NE = 0, kd = class extends z {
13419
13420
  const e = this.scrollVisibleSvc.verticalScrollShowing;
13420
13421
  let t = this.visibleCols.getDisplayedColumnsRightWidth();
13421
13422
  const i = !this.enableRtl && e, s = this.scrollVisibleSvc.getScrollbarWidth();
13422
- i && (t += s), Bi(this.eRightSpacer, t), this.eRightSpacer.classList.toggle("ag-scroller-corner", t <= s);
13423
+ i && (t += s), Gi(this.eRightSpacer, t), this.eRightSpacer.classList.toggle("ag-scroller-corner", t <= s);
13423
13424
  let n = this.visibleCols.getColsLeftWidth();
13424
- this.enableRtl && e && (n += s), Bi(this.eLeftSpacer, n), this.eLeftSpacer.classList.toggle("ag-scroller-corner", n <= s);
13425
+ this.enableRtl && e && (n += s), Gi(this.eLeftSpacer, n), this.eLeftSpacer.classList.toggle("ag-scroller-corner", n <= s);
13425
13426
  }
13426
13427
  setScrollVisible() {
13427
13428
  const e = this.scrollVisibleSvc.horizontalScrollShowing, t = this.invisibleScrollbar, i = this.gos.get("suppressHorizontalScroll"), s = e && this.scrollVisibleSvc.getScrollbarWidth() || 0, o = i ? 0 : s === 0 && t ? 16 : s, r = () => {
@@ -13473,7 +13474,7 @@ var NE = 0, kd = class extends z {
13473
13474
  }
13474
13475
  setScrollVisible() {
13475
13476
  const { scrollVisibleSvc: e } = this.beans, t = e.verticalScrollShowing, i = this.invisibleScrollbar, s = t && e.getScrollbarWidth() || 0, n = s === 0 && i ? 16 : s;
13476
- this.toggleCss("ag-scrollbar-invisible", i), Bi(this.getGui(), n), Bi(this.eViewport, n), Bi(this.eContainer, n), this.setDisplayed(t, { skipAriaHidden: !0 });
13477
+ this.toggleCss("ag-scrollbar-invisible", i), Gi(this.getGui(), n), Gi(this.eViewport, n), Gi(this.eContainer, n), this.setDisplayed(t, { skipAriaHidden: !0 });
13477
13478
  }
13478
13479
  onRowContainerHeightChanged(e) {
13479
13480
  const i = e.getGridBodyCtrl().eBodyViewport, s = this.getScrollPosition(), n = i.scrollTop;
@@ -17479,7 +17480,7 @@ function SD(e, t) {
17479
17480
  s[a.getId()] = a.isVisible();
17480
17481
  const n = [];
17481
17482
  for (const a of t)
17482
- i.indexOf(a) >= 0 && (n.push(a), zi(i, a));
17483
+ i.indexOf(a) >= 0 && (n.push(a), Vi(i, a));
17483
17484
  for (const a of i)
17484
17485
  n.push(a);
17485
17486
  const o = [], r = e.getLeafColumns();
@@ -18214,7 +18215,7 @@ var KD = class extends z {
18214
18215
  }
18215
18216
  // after setColumnWidth or updateGroupsAndPresentedCols
18216
18217
  updateBodyWidths() {
18217
- const e = Zi(this.centerCols), t = Zi(this.leftCols), i = Zi(this.rightCols);
18218
+ const e = Yi(this.centerCols), t = Yi(this.leftCols), i = Yi(this.rightCols);
18218
18219
  this.isBodyWidthDirty = this.bodyWidth !== e, (this.bodyWidth !== e || this.leftWidth !== t || this.rightWidth !== i) && (this.bodyWidth = e, this.leftWidth = t, this.rightWidth = i, this.eventSvc.dispatchEvent({
18219
18220
  type: "columnContainerWidthChanged"
18220
18221
  }), this.eventSvc.dispatchEvent({
@@ -18277,7 +18278,7 @@ var KD = class extends z {
18277
18278
  const s = t.getCols().slice(0), n = this.gos.get("enableRtl");
18278
18279
  for (const o of [this.leftCols, this.rightCols, this.centerCols]) {
18279
18280
  if (n) {
18280
- let r = Zi(o);
18281
+ let r = Yi(o);
18281
18282
  for (const a of o)
18282
18283
  r -= a.getActualWidth(), a.setLeft(r, e);
18283
18284
  } else {
@@ -18386,11 +18387,11 @@ var KD = class extends z {
18386
18387
  // + angularGrid -> setting pinned body width
18387
18388
  // note: this should be cached
18388
18389
  getColsLeftWidth() {
18389
- return Zi(this.leftCols);
18390
+ return Yi(this.leftCols);
18390
18391
  }
18391
18392
  // note: this should be cached
18392
18393
  getDisplayedColumnsRightWidth() {
18393
- return Zi(this.rightCols);
18394
+ return Yi(this.rightCols);
18394
18395
  }
18395
18396
  isColAtEdge(e, t) {
18396
18397
  const i = this.allCols;
@@ -18744,14 +18745,14 @@ function Ri(e, t, i) {
18744
18745
  continue;
18745
18746
  }
18746
18747
  const Y = S(I);
18747
- Y ? (C(Y, k, T, P, !1), zi(E, Y)) : (Z.push(k), O += 1);
18748
+ Y ? (C(Y, k, T, P, !1), Vi(E, Y)) : (Z.push(k), O += 1);
18748
18749
  }
18749
18750
  const $ = (k) => C(k, null, T, P, !1);
18750
18751
  E.forEach($), n?.sortColumns(jf.bind(n, T, B)), o?.sortColumns(jf.bind(o, P, W)), s.refreshCols(!1, i);
18751
18752
  const ne = (k, I, j = []) => {
18752
18753
  for (const Y of I) {
18753
18754
  const re = k(Y.colId);
18754
- zi(j, re), C(re, Y, null, null, !0);
18755
+ Vi(j, re), C(re, Y, null, null, !0);
18755
18756
  }
18756
18757
  j.forEach($);
18757
18758
  };
@@ -19353,7 +19354,7 @@ var jf = (e, t, i, s) => {
19353
19354
  return this.getGui().clientWidth;
19354
19355
  }
19355
19356
  setWidth(e) {
19356
- return Bi(this.getGui(), e), this;
19357
+ return Gi(this.getGui(), e), this;
19357
19358
  }
19358
19359
  getPreviousValue() {
19359
19360
  return this.previousValue;
@@ -20784,7 +20785,7 @@ var i4 = class extends e4 {
20784
20785
  return this.icons[e];
20785
20786
  }
20786
20787
  getDynamicError(e, t) {
20787
- return t ? Vi(279, { name: e }) : this.beans.validation?.missingDynamicBean(e) ?? Vi(256);
20788
+ return t ? Bi(279, { name: e }) : this.beans.validation?.missingDynamicBean(e) ?? Bi(256);
20788
20789
  }
20789
20790
  }, s4 = 23, n4 = class extends z {
20790
20791
  constructor() {
@@ -20847,8 +20848,8 @@ var i4 = class extends e4 {
20847
20848
  return;
20848
20849
  let a = e;
20849
20850
  s && (a = `@layer ${CSS.escape(s).replaceAll("\\.", ".")} { ${e} }`);
20850
- let l = Hi.map.get(t);
20851
- if (l || (l = [], Hi.map.set(t, l)), l.some((h) => h.injectedCss === a))
20851
+ let l = Ni.map.get(t);
20852
+ if (l || (l = [], Ni.map.set(t, l)), l.some((h) => h.injectedCss === a))
20852
20853
  return;
20853
20854
  const c = document.createElement("style");
20854
20855
  o && c.setAttribute("nonce", o), c.dataset.agCss = i, c.dataset.agCssVersion = te, c.textContent = a;
@@ -20872,20 +20873,20 @@ var i4 = class extends e4 {
20872
20873
  }, r4 = (e, t, i, s, n, o) => {
20873
20874
  if (Lp || Bw)
20874
20875
  return;
20875
- const r = Hi.grids.get(e);
20876
- r ? r.paramsCss = t : Hi.grids.set(e, { styleContainer: s, paramsCss: t }), qu(s), t && i && vn(t, s, i, n, 2, o, !0);
20876
+ const r = Ni.grids.get(e);
20877
+ r ? r.paramsCss = t : Ni.grids.set(e, { styleContainer: s, paramsCss: t }), qu(s), t && i && vn(t, s, i, n, 2, o, !0);
20877
20878
  }, a4 = (e) => {
20878
- const t = Hi.grids.get(e)?.styleContainer;
20879
+ const t = Ni.grids.get(e)?.styleContainer;
20879
20880
  if (!t)
20880
20881
  return;
20881
- Hi.grids.delete(e), Array.from(Hi.grids.values()).some(
20882
+ Ni.grids.delete(e), Array.from(Ni.grids.values()).some(
20882
20883
  (s) => s.styleContainer === t
20883
- ) ? qu(t) : (qu(t, !0), Hi.map.delete(t));
20884
+ ) ? qu(t) : (qu(t, !0), Ni.map.delete(t));
20884
20885
  }, qu = (e, t = !1) => {
20885
20886
  const i = /* @__PURE__ */ new Set();
20886
- for (const n of Hi.grids.values())
20887
+ for (const n of Ni.grids.values())
20887
20888
  n.styleContainer === e && i.add(n.paramsCss);
20888
- const s = Hi.map.get(e) ?? [];
20889
+ const s = Ni.map.get(e) ?? [];
20889
20890
  for (let n = s.length - 1; n >= 0; n--)
20890
20891
  (t || s[n].isParams && !i.has(s[n].rawCss)) && (s[n].el.remove(), s.splice(n, 1));
20891
20892
  }, zw = () => {
@@ -20896,7 +20897,7 @@ var i4 = class extends e4 {
20896
20897
  grids: /* @__PURE__ */ new Map(),
20897
20898
  paramsId: 0
20898
20899
  }, e.set(te, t)), t;
20899
- }, Hi = zw(), Mt = (e) => new Ww(e), ws = "$default", l4 = 0, Ww = class {
20900
+ }, Ni = zw(), Mt = (e) => new Ww(e), ws = "$default", l4 = 0, Ww = class {
20900
20901
  constructor({ feature: e, params: t, modeParams: i = {}, css: s, cssImports: n }) {
20901
20902
  this.feature = e, this.css = s, this.cssImports = n, this.modeParams = {
20902
20903
  // NOTE: it's important that default is defined first, putting it
@@ -20931,7 +20932,7 @@ ${n}`;
20931
20932
  }
20932
20933
  return s && e && vn(s.css, e, s.class, t, 1, i), s ? s.class : !1;
20933
20934
  }
20934
- }, c4 = (e) => e.replace(/[A-Z]|\d+/g, (t) => `-${t}`).toLowerCase(), Op = (e) => `--ag-${c4(e)}`, ji = (e) => `var(${Op(e)})`, d4 = (e, t, i) => Math.max(t, Math.min(i, e)), u4 = (e) => {
20935
+ }, c4 = (e) => e.replace(/[A-Z]|\d+/g, (t) => `-${t}`).toLowerCase(), Op = (e) => `--ag-${c4(e)}`, Wi = (e) => `var(${Op(e)})`, d4 = (e, t, i) => Math.max(t, Math.min(i, e)), u4 = (e) => {
20935
20936
  const t = /* @__PURE__ */ new Map();
20936
20937
  return (i) => {
20937
20938
  const s = i;
@@ -20945,7 +20946,7 @@ ${n}`;
20945
20946
  ref: "foregroundColor",
20946
20947
  mix: e,
20947
20948
  onto: "headerBackgroundColor"
20948
- }), dt = { ref: "backgroundColor" }, Gi = { ref: "foregroundColor" }, Zt = { ref: "accentColor" }, jl = {
20949
+ }), dt = { ref: "backgroundColor" }, Hi = { ref: "foregroundColor" }, Zt = { ref: "accentColor" }, jl = {
20949
20950
  backgroundColor: "#fff",
20950
20951
  foregroundColor: "#181d1f",
20951
20952
  borderColor: Lt(0.15),
@@ -20953,7 +20954,7 @@ ${n}`;
20953
20954
  browserColorScheme: "light"
20954
20955
  }, p4 = {
20955
20956
  ...jl,
20956
- textColor: Gi,
20957
+ textColor: Hi,
20957
20958
  accentColor: "#2196f3",
20958
20959
  invalidColor: "#e02525",
20959
20960
  fontFamily: [
@@ -21118,27 +21119,27 @@ ${n}`;
21118
21119
  "fontFamily",
21119
21120
  "fontWeight",
21120
21121
  "duration"
21121
- ], f4 = u4((e) => (e = e.toLowerCase(), g4.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Sc = (e) => typeof e == "object" && e?.ref ? ji(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1, Np = (e) => {
21122
+ ], f4 = u4((e) => (e = e.toLowerCase(), g4.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Sc = (e) => typeof e == "object" && e?.ref ? Wi(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1, Np = (e) => {
21122
21123
  if (typeof e == "string")
21123
21124
  return e;
21124
21125
  if (typeof e == "object" && e && "ref" in e) {
21125
- const t = ji(e.ref);
21126
- return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? ji(e.onto) : "transparent"}, ${t} ${d4(e.mix * 100, 0, 100)}%)`;
21126
+ const t = Wi(e.ref);
21127
+ return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? Wi(e.onto) : "transparent"}, ${t} ${d4(e.mix * 100, 0, 100)}%)`;
21127
21128
  }
21128
21129
  return !1;
21129
- }, m4 = Sc, Xn = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : typeof e == "object" && e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (i) => i[0] === "-" ? i : " " + ji(i) + " ")})` : typeof e == "object" && e && "ref" in e ? ji(e.ref) : !1, v4 = Sc, Ku = (e, t) => typeof e == "string" ? e : e === !0 ? Ku({}, t) : e === !1 ? t === "columnBorder" ? Ku({ color: "transparent" }, t) : "none" : typeof e == "object" && e && "ref" in e ? ji(e.ref) : jw(e.style ?? "solid") + " " + Xn(e.width ?? { ref: "borderWidth" }) + " " + Np(e.color ?? { ref: "borderColor" }), Yf = (e) => [
21130
+ }, m4 = Sc, Xn = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : typeof e == "object" && e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (i) => i[0] === "-" ? i : " " + Wi(i) + " ")})` : typeof e == "object" && e && "ref" in e ? Wi(e.ref) : !1, v4 = Sc, Ku = (e, t) => typeof e == "string" ? e : e === !0 ? Ku({}, t) : e === !1 ? t === "columnBorder" ? Ku({ color: "transparent" }, t) : "none" : typeof e == "object" && e && "ref" in e ? Wi(e.ref) : jw(e.style ?? "solid") + " " + Xn(e.width ?? { ref: "borderWidth" }) + " " + Np(e.color ?? { ref: "borderColor" }), Yf = (e) => [
21130
21131
  Xn(e.offsetX ?? 0),
21131
21132
  Xn(e.offsetY ?? 0),
21132
21133
  Xn(e.radius ?? 0),
21133
21134
  Xn(e.spread ?? 0),
21134
21135
  Np(e.color ?? { ref: "foregroundColor" }),
21135
21136
  ...e.inset ? ["inset"] : []
21136
- ].join(" "), C4 = (e) => typeof e == "string" ? e : e === !1 ? "none" : typeof e == "object" && e && "ref" in e ? ji(e.ref) : Array.isArray(e) ? e.map(Yf).join(", ") : Yf(e), jw = Sc, _w = (e) => typeof e == "string" ? e.includes(",") ? e : Zf(e) : typeof e == "object" && e && "googleFont" in e ? _w(e.googleFont) : typeof e == "object" && e && "ref" in e ? ji(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), Zf(t))).join(", ") : !1, Zf = (e) => (
21137
+ ].join(" "), C4 = (e) => typeof e == "string" ? e : e === !1 ? "none" : typeof e == "object" && e && "ref" in e ? Wi(e.ref) : Array.isArray(e) ? e.map(Yf).join(", ") : Yf(e), jw = Sc, _w = (e) => typeof e == "string" ? e.includes(",") ? e : Zf(e) : typeof e == "object" && e && "googleFont" in e ? _w(e.googleFont) : typeof e == "object" && e && "ref" in e ? Wi(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), Zf(t))).join(", ") : !1, Zf = (e) => (
21137
21138
  // don't quote var() expressions or quote safe identifier names, so that
21138
21139
  // people can specify fonts like sans-serif which are keywords not strings,
21139
21140
  // or var(--my-var)
21140
21141
  /^[\w-]+$|\w\(/.test(e) ? e : JSON.stringify(e)
21141
- ), w4 = Sc, Uw = (e) => typeof e == "string" ? e : typeof e == "object" && e && "url" in e ? `url(${JSON.stringify(e.url)})` : typeof e == "object" && e && "svg" in e ? Uw({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : typeof e == "object" && e && "ref" in e ? ji(e.ref) : !1, b4 = (e, t, i) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && i?.warn(104, { value: e, param: t }), `${e}s`) : typeof e == "object" && e && "ref" in e ? ji(e.ref) : !1, x4 = {
21142
+ ), w4 = Sc, Uw = (e) => typeof e == "string" ? e : typeof e == "object" && e && "url" in e ? `url(${JSON.stringify(e.url)})` : typeof e == "object" && e && "svg" in e ? Uw({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : typeof e == "object" && e && "ref" in e ? Wi(e.ref) : !1, b4 = (e, t, i) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && i?.warn(104, { value: e, param: t }), `${e}s`) : typeof e == "object" && e && "ref" in e ? Wi(e.ref) : !1, x4 = {
21142
21143
  color: Np,
21143
21144
  colorScheme: m4,
21144
21145
  length: Xn,
@@ -21580,17 +21581,17 @@ ${i}}
21580
21581
  mix: 0.7
21581
21582
  },
21582
21583
  filterPanelCardSubtleHoverColor: { ref: "textColor" },
21583
- findMatchColor: Gi,
21584
+ findMatchColor: Hi,
21584
21585
  findMatchBackgroundColor: "#ffff00",
21585
- findActiveMatchColor: Gi,
21586
+ findActiveMatchColor: Hi,
21586
21587
  findActiveMatchBackgroundColor: "#ffa500",
21587
21588
  filterToolPanelGroupIndent: {
21588
21589
  ref: "spacing"
21589
21590
  },
21590
21591
  rowLoadingSkeletonEffectColor: Lt(0.15),
21591
- statusBarLabelColor: Gi,
21592
+ statusBarLabelColor: Hi,
21592
21593
  statusBarLabelFontWeight: 500,
21593
- statusBarValueColor: Gi,
21594
+ statusBarValueColor: Hi,
21594
21595
  statusBarValueFontWeight: 500,
21595
21596
  pinnedSourceRowTextColor: {
21596
21597
  ref: "textColor"
@@ -21657,8 +21658,8 @@ ${i}}
21657
21658
  feature: "buttonStyle",
21658
21659
  params: {
21659
21660
  ...Zw,
21660
- buttonBorder: { color: Gi, width: 2, style: "outset" },
21661
- buttonActiveBorder: { color: Gi, width: 2, style: "inset" },
21661
+ buttonBorder: { color: Hi, width: 2, style: "outset" },
21662
+ buttonActiveBorder: { color: Hi, width: 2, style: "inset" },
21662
21663
  buttonBackgroundColor: yt(0.07),
21663
21664
  buttonHoverBackgroundColor: dt,
21664
21665
  buttonVerticalPadding: { calc: "spacing * 0.5" }
@@ -21775,8 +21776,8 @@ ${i}}
21775
21776
  advancedFilterBuilderColumnPillColor: "#355f2d",
21776
21777
  advancedFilterBuilderOptionPillColor: "#5a3168",
21777
21778
  advancedFilterBuilderValuePillColor: "#374c86",
21778
- filterPanelApplyButtonColor: Gi,
21779
- columnPanelApplyButtonColor: Gi,
21779
+ filterPanelApplyButtonColor: Hi,
21780
+ columnPanelApplyButtonColor: Hi,
21780
21781
  findMatchColor: dt,
21781
21782
  findActiveMatchColor: dt,
21782
21783
  checkboxUncheckedBorderColor: yt(0.4),
@@ -22118,7 +22119,7 @@ ${i}}
22118
22119
  statusBarLabelColor: Lt(0.54),
22119
22120
  statusBarLabelFontWeight: 600,
22120
22121
  statusBarValueFontWeight: 600,
22121
- panelTitleBarIconColor: Gi,
22122
+ panelTitleBarIconColor: Hi,
22122
22123
  colorPickerThumbSize: 13,
22123
22124
  colorPickerTrackSize: 11,
22124
22125
  colorPickerThumbBorderWidth: 2,
@@ -22716,7 +22717,7 @@ var A6 = class extends z {
22716
22717
  }
22717
22718
  return null;
22718
22719
  }
22719
- const n = Wi(this.beans, s);
22720
+ const n = zi(this.beans, s);
22720
22721
  return !n || i.isSuppressNavigable(n) || t && this.rowRenderer.getRowByPosition(s)?.isFullWidth() ? null : {
22721
22722
  rowIndex: s.rowIndex,
22722
22723
  rowPinned: s.rowPinned,
@@ -22731,7 +22732,7 @@ var A6 = class extends z {
22731
22732
  return t && !wi(this.beans) ? this.focusLastHeader() : i && this.focusOverlay(t) ? !0 : t ? !1 : xo(this.beans, t);
22732
22733
  const n = t ? Pf(this.beans) : Df(this.beans);
22733
22734
  if (n) {
22734
- const o = e.column ?? this.focusedHeader?.column, { rowIndex: r, rowPinned: a } = n, l = Wi(this.beans, n);
22735
+ const o = e.column ?? this.focusedHeader?.column, { rowIndex: r, rowPinned: a } = n, l = zi(this.beans, n);
22735
22736
  if (!o || !l || r == null)
22736
22737
  return !1;
22737
22738
  if (o.isSuppressNavigable(l)) {
@@ -23106,11 +23107,11 @@ var H6 = () => ({
23106
23107
  validate: ({ icons: t }) => {
23107
23108
  if (t) {
23108
23109
  if (t.smallDown)
23109
- return Vi(262);
23110
+ return Bi(262);
23110
23111
  if (t.smallLeft)
23111
- return Vi(263);
23112
+ return Bi(263);
23112
23113
  if (t.smallRight)
23113
- return Vi(264);
23114
+ return Bi(264);
23114
23115
  }
23115
23116
  return null;
23116
23117
  }
@@ -23944,11 +23945,11 @@ var Q6 = {
23944
23945
  validate: ({ icons: i }) => {
23945
23946
  if (i) {
23946
23947
  if (i.smallDown)
23947
- return Vi(262);
23948
+ return Bi(262);
23948
23949
  if (i.smallLeft)
23949
- return Vi(263);
23950
+ return Bi(263);
23950
23951
  if (i.smallRight)
23951
- return Vi(264);
23952
+ return Bi(264);
23952
23953
  }
23953
23954
  return null;
23954
23955
  }
@@ -27921,7 +27922,7 @@ var XT = class extends z {
27921
27922
  Nt(e.column) || this.beans.rangeSvc?.setRangeToCell(e);
27922
27923
  }
27923
27924
  isValidNavigateCell(e) {
27924
- return !!Wi(this.beans, e);
27925
+ return !!zi(this.beans, e);
27925
27926
  }
27926
27927
  getLastCellOfColSpan(e) {
27927
27928
  const t = Zn(this.beans, e);
@@ -28028,7 +28029,7 @@ var tI = {
28028
28029
  onPinnedWidthChanged() {
28029
28030
  const e = this.getWidth(), t = e > 0;
28030
28031
  for (const i of this.elements)
28031
- i && (Ye(i, t), Bi(i, e));
28032
+ i && (Ye(i, t), Gi(i, e));
28032
28033
  }
28033
28034
  }, rI = class extends z {
28034
28035
  constructor() {
@@ -29029,7 +29030,7 @@ var FI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
29029
29030
  }
29030
29031
  getLockOnRefresh() {
29031
29032
  if (this.refreshInProgress)
29032
- throw new Error(Vi(252));
29033
+ throw new Error(Bi(252));
29033
29034
  this.refreshInProgress = !0, this.beans.frameworkOverrides.getLockOnRefresh?.();
29034
29035
  }
29035
29036
  releaseLockOnRefresh() {
@@ -29490,11 +29491,11 @@ var FI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
29490
29491
  }
29491
29492
  removeRow(e) {
29492
29493
  const t = e.id, i = this.entriesMap[t];
29493
- delete this.entriesMap[t], zi(this.entriesList, i);
29494
+ delete this.entriesMap[t], Vi(this.entriesList, i);
29494
29495
  }
29495
29496
  removeFromCache(e) {
29496
29497
  const t = e.rowNode.id;
29497
- delete this.entriesMap[t], zi(this.entriesList, e);
29498
+ delete this.entriesMap[t], Vi(this.entriesList, e);
29498
29499
  }
29499
29500
  getEntries() {
29500
29501
  return this.entriesList;
@@ -29551,7 +29552,7 @@ var HI = class extends z {
29551
29552
  }), this.updateOptions(), e();
29552
29553
  }
29553
29554
  updateOptions() {
29554
- this.accentedSort = !!this.gos.get("accentedSort"), this.primaryColumnsSortGroups = Qi(this.gos);
29555
+ this.accentedSort = !!this.gos.get("accentedSort"), this.primaryColumnsSortGroups = Zi(this.gos);
29555
29556
  }
29556
29557
  updatePivotModeState() {
29557
29558
  this.pivotActive = this.beans.colModel.isPivotActive();
@@ -29705,7 +29706,7 @@ var qs = (e, t) => ({
29705
29706
  const { eSortMixed: e, column: t, gos: i } = this;
29706
29707
  this.addInIcon("sortUnSort", e, t);
29707
29708
  const s = t.getColDef().showRowGroup;
29708
- Qi(i) && s && (this.addManagedEventListeners({
29709
+ Zi(i) && s && (this.addManagedEventListeners({
29709
29710
  // Watch global events, as row group columns can effect their display column.
29710
29711
  sortChanged: this.updateMultiSortIndicator.bind(this),
29711
29712
  // when grouping changes so can sort indexes and icons
@@ -29754,7 +29755,7 @@ var qs = (e, t) => ({
29754
29755
  this.progressSort(e, s, "uiColumnSorted");
29755
29756
  }
29756
29757
  setSortForColumn(e, t, i, s) {
29757
- const { gos: n, showRowGroupCols: o } = this.beans, r = Qi(n);
29758
+ const { gos: n, showRowGroupCols: o } = this.beans, r = Zi(n);
29758
29759
  let a = [e];
29759
29760
  if (r && e.getColDef().showRowGroup) {
29760
29761
  const u = o?.getSourceColumnsForGroupColumn?.(e)?.filter((h) => h.isSortable());
@@ -29770,7 +29771,7 @@ var qs = (e, t) => ({
29770
29771
  this.updateSortIndex(e), c.push(...a), this.dispatchSortChangedEvents(s, c);
29771
29772
  }
29772
29773
  updateSortIndex(e) {
29773
- const { gos: t, colModel: i, showRowGroupCols: s } = this.beans, n = Qi(t), o = s?.getShowRowGroupCol(e.getId()), r = n && o || e, a = this.getColumnsWithSortingOrdered();
29774
+ const { gos: t, colModel: i, showRowGroupCols: s } = this.beans, n = Zi(t), o = s?.getShowRowGroupCol(e.getId()), r = n && o || e, a = this.getColumnsWithSortingOrdered();
29774
29775
  i.forAllCols((d) => this.setColSortIndex(d, null));
29775
29776
  const l = a.filter((d) => n && d.getColDef().showRowGroup ? !1 : d !== r);
29776
29777
  (r.getSortDef() ? [...l, r] : l).forEach((d, u) => this.setColSortIndex(d, u));
@@ -29814,7 +29815,7 @@ var qs = (e, t) => ({
29814
29815
  if (t.forAllCols((c) => {
29815
29816
  c.getSortDef() && n.push(c);
29816
29817
  }), t.isPivotMode()) {
29817
- const c = Qi(e);
29818
+ const c = Zi(e);
29818
29819
  n = n.filter((d) => {
29819
29820
  const u = !!d.getAggFunc(), h = !d.isPrimary(), p = c ? i?.getShowRowGroupCol(d.getId()) : d.getColDef().showRowGroup;
29820
29821
  return u || h || p;
@@ -29830,7 +29831,7 @@ var qs = (e, t) => ({
29830
29831
  return p > f ? 1 : -1;
29831
29832
  } else return h == null ? -1 : 1;
29832
29833
  });
29833
- const a = Qi(e) && !!o.length;
29834
+ const a = Zi(e) && !!o.length;
29834
29835
  a && (n = [
29835
29836
  ...new Set(
29836
29837
  // if linked sorting, replace all columns with the display group column for index purposes, and ensure uniqueness
@@ -29870,7 +29871,7 @@ var qs = (e, t) => ({
29870
29871
  return this.collectSortItems();
29871
29872
  }
29872
29873
  canColumnDisplayMixedSort(e) {
29873
- const t = Qi(this.gos), i = !!e.getColDef().showRowGroup;
29874
+ const t = Zi(this.gos), i = !!e.getColDef().showRowGroup;
29874
29875
  return t && i;
29875
29876
  }
29876
29877
  getDisplaySortForColumn(e) {
@@ -30002,7 +30003,7 @@ var $I = "paste", qI = class extends z {
30002
30003
  super.destroy(), this.batchedPath = null, this.batchedNodes = null;
30003
30004
  }
30004
30005
  postConstruct() {
30005
- this.csrm = _i(this.beans), this.addManagedEventListeners({ cellValueChanged: this.onCellValueChanged.bind(this) });
30006
+ this.csrm = ji(this.beans), this.addManagedEventListeners({ cellValueChanged: this.onCellValueChanged.bind(this) });
30006
30007
  }
30007
30008
  /**
30008
30009
  * Begin a deferred change-detection pass: subsequent `cellValueChanged` events are accumulated
@@ -32068,7 +32069,7 @@ var q8 = class extends z {
32068
32069
  const t = e.length;
32069
32070
  if (!t)
32070
32071
  return !1;
32071
- if (Qi(this.gos)) {
32072
+ if (Zi(this.gos)) {
32072
32073
  for (let i = 0; i < t; ++i) {
32073
32074
  const s = e[i].column;
32074
32075
  if (s.isPrimary() && s.isRowGroupActive())
@@ -32694,7 +32695,7 @@ function tM(e) {
32694
32695
  e.expansionSvc?.onGroupExpandedOrCollapsed();
32695
32696
  }
32696
32697
  function iM(e, t) {
32697
- const i = _i(e);
32698
+ const i = ji(e);
32698
32699
  i && ((!t || t === "everything") && (t = "group"), i.refreshModel({
32699
32700
  step: t,
32700
32701
  keepRenderedRows: !0,
@@ -32702,29 +32703,29 @@ function iM(e, t) {
32702
32703
  }));
32703
32704
  }
32704
32705
  function sM(e) {
32705
- return _i(e)?.isEmpty() ?? !0;
32706
+ return ji(e)?.isEmpty() ?? !0;
32706
32707
  }
32707
32708
  function nM(e, t) {
32708
- _i(e)?.forEachLeafNode(t);
32709
+ ji(e)?.forEachLeafNode(t);
32709
32710
  }
32710
32711
  function oM(e, t) {
32711
- _i(e)?.forEachNodeAfterFilter(t);
32712
+ ji(e)?.forEachNodeAfterFilter(t);
32712
32713
  }
32713
32714
  function rM(e, t) {
32714
- _i(e)?.forEachNodeAfterFilterAndSort(t);
32715
+ ji(e)?.forEachNodeAfterFilterAndSort(t);
32715
32716
  }
32716
32717
  function aM(e, t) {
32717
32718
  return e.frameworkOverrides.wrapIncoming(
32718
- () => _i(e)?.updateRowData(t)
32719
+ () => ji(e)?.updateRowData(t)
32719
32720
  );
32720
32721
  }
32721
32722
  function lM(e, t, i) {
32722
32723
  e.frameworkOverrides.wrapIncoming(
32723
- () => _i(e)?.batchUpdateRowData(t, i)
32724
+ () => ji(e)?.batchUpdateRowData(t, i)
32724
32725
  );
32725
32726
  }
32726
32727
  function cM(e) {
32727
- e.frameworkOverrides.wrapIncoming(() => _i(e)?.flushAsyncTransactions());
32728
+ e.frameworkOverrides.wrapIncoming(() => ji(e)?.flushAsyncTransactions());
32728
32729
  }
32729
32730
  function dM(e) {
32730
32731
  return e.selectionSvc?.getBestCostNodeSelection();
@@ -32933,7 +32934,7 @@ var mM = class extends z {
32933
32934
  const a = n.visibleCols.allCols;
32934
32935
  if (e <= 0 || !a.length)
32935
32936
  return;
32936
- const l = Zi(a);
32937
+ const l = Yi(a);
32937
32938
  if (s?.onlyScaleUp && l > e || e === l && a.every((w) => {
32938
32939
  if (w.colDef.suppressSizeToFit)
32939
32940
  return !0;
@@ -32949,7 +32950,7 @@ var mM = class extends z {
32949
32950
  const h = d.slice(0);
32950
32951
  let p = !1;
32951
32952
  const f = (C) => {
32952
- zi(d, C), u.push(C);
32953
+ Vi(d, C), u.push(C);
32953
32954
  }, m = {};
32954
32955
  for (const C of d) {
32955
32956
  s?.onlyScaleUp && (m[C.getColId()] = C.getActualWidth()), C.resetActualWidth(t);
@@ -32958,14 +32959,14 @@ var mM = class extends z {
32958
32959
  }
32959
32960
  for (; !p; ) {
32960
32961
  p = !0;
32961
- const C = e - Zi(u);
32962
+ const C = e - Yi(u);
32962
32963
  if (C <= 0)
32963
32964
  for (const w of d) {
32964
32965
  const b = r?.[w.getId()]?.minWidth ?? s?.defaultMinWidth ?? w.minWidth;
32965
32966
  w.setActualWidth(b, t, !0);
32966
32967
  }
32967
32968
  else {
32968
- const w = C / Zi(d);
32969
+ const w = C / Yi(d);
32969
32970
  let b = C;
32970
32971
  for (let x = d.length - 1; x >= 0; x--) {
32971
32972
  const y = d[x], R = y.getColId(), S = m[R], F = r?.[R], E = F?.minWidth ?? s?.defaultMinWidth ?? S, T = F?.maxWidth ?? s?.defaultMaxWidth, P = Math.max(E ?? -1 / 0, y.getMinWidth()), A = Math.min(T ?? 1 / 0, y.getMaxWidth());
@@ -34521,7 +34522,7 @@ var jM = (e, t) => {
34521
34522
  s?.beginDeferred();
34522
34523
  try {
34523
34524
  for (const n of e.cellValueChanges) {
34524
- const { rowIndex: o, rowPinned: r, columnId: a } = n, l = { rowIndex: o, rowPinned: r }, c = Wi(this.beans, l);
34525
+ const { rowIndex: o, rowPinned: r, columnId: a } = n, l = { rowIndex: o, rowPinned: r }, c = zi(this.beans, l);
34525
34526
  c?.displayed && c.setDataValue(a, t(n), i);
34526
34527
  }
34527
34528
  } finally {
@@ -34552,7 +34553,7 @@ var jM = (e, t) => {
34552
34553
  });
34553
34554
  }
34554
34555
  processCell(e) {
34555
- const t = e[0], { rowIndex: i, rowPinned: s } = t, n = { rowIndex: i, rowPinned: s }, o = Wi(this.beans, n), r = {
34556
+ const t = e[0], { rowIndex: i, rowPinned: s } = t, n = { rowIndex: i, rowPinned: s }, o = zi(this.beans, n), r = {
34556
34557
  rowPinned: t.rowPinned,
34557
34558
  rowIndex: o.rowIndex,
34558
34559
  columnId: t.columnId
@@ -35812,7 +35813,7 @@ function Ok(e, t) {
35812
35813
  K(12, { colKey: s });
35813
35814
  return;
35814
35815
  }
35815
- const d = Wi(e, {
35816
+ const d = zi(e, {
35816
35817
  rowIndex: n,
35817
35818
  rowPinned: o || null
35818
35819
  });
@@ -36540,7 +36541,7 @@ var _k = class extends z {
36540
36541
  i.forEach((h) => {
36541
36542
  const p = h.columns.some((f) => f?.isAllowFormula());
36542
36543
  if (n?.forEachRowInRange(h, (f) => {
36543
- const m = Wi(s, f);
36544
+ const m = zi(s, f);
36544
36545
  if (m === void 0)
36545
36546
  return;
36546
36547
  const v = a.get(m) ?? /* @__PURE__ */ new Map();
@@ -36597,7 +36598,7 @@ var _k = class extends z {
36597
36598
  const p = r ? s.getCol(r) : l ? s.getCol(l) : a;
36598
36599
  if (!p)
36599
36600
  continue;
36600
- const f = Wi(i, { rowIndex: c, rowPinned: d });
36601
+ const f = zi(i, { rowIndex: c, rowPinned: d });
36601
36602
  if (!f)
36602
36603
  continue;
36603
36604
  const m = n.getValue(p, f, "data", !0);
@@ -36658,7 +36659,7 @@ var N1 = class extends z {
36658
36659
  if (s.isEditing(void 0, { withOpenEditor: !0 })) {
36659
36660
  const { column: c, rowIndex: d, rowPinned: u } = e, h = {
36660
36661
  column: c,
36661
- rowNode: Wi(n, { rowIndex: d, rowPinned: u })
36662
+ rowNode: zi(n, { rowIndex: d, rowPinned: u })
36662
36663
  }, p = r.get("invalidEditValueMode") === "block";
36663
36664
  if (p)
36664
36665
  return;
@@ -36939,7 +36940,7 @@ var N1 = class extends z {
36939
36940
  return this.rowNode = void 0, this.column = void 0, !0;
36940
36941
  }
36941
36942
  onCellFocusChanged(e) {
36942
- const { colModel: t, editSvc: i } = this.beans, { rowIndex: s, column: n, rowPinned: o } = e, r = Wi(this.beans, { rowIndex: s, rowPinned: o }), a = Zu(n), l = t.getCol(a), c = e.previousParams;
36943
+ const { colModel: t, editSvc: i } = this.beans, { rowIndex: s, column: n, rowPinned: o } = e, r = zi(this.beans, { rowIndex: s, rowPinned: o }), a = Zu(n), l = t.getCol(a), c = e.previousParams;
36943
36944
  if (c) {
36944
36945
  const d = Zu(c.column);
36945
36946
  if (c?.rowIndex === s && d === a && c?.rowPinned === o)
@@ -41892,7 +41893,7 @@ var m9 = class extends z {
41892
41893
  this.blocks.push(e), e.addEventListener("loadComplete", this.loadComplete.bind(this)), this.checkBlockToLoad();
41893
41894
  }
41894
41895
  removeBlock(e) {
41895
- zi(this.blocks, e);
41896
+ Vi(this.blocks, e);
41896
41897
  }
41897
41898
  destroy() {
41898
41899
  super.destroy(), this.active = !1;
@@ -44000,7 +44001,7 @@ var RL = {
44000
44001
  default:
44001
44002
  l = t;
44002
44003
  }
44003
- l && zi(l, n);
44004
+ l && Vi(l, n);
44004
44005
  };
44005
44006
  (this.beans.rowNumbersSvc?.getColumn(gp) ? 2 : 1) === s && o();
44006
44007
  }
@@ -45466,7 +45467,7 @@ var cO = {
45466
45467
  }
45467
45468
  missingDynamicBean(e) {
45468
45469
  const t = cO[e];
45469
- return t ? Vi(200, {
45470
+ return t ? Bi(200, {
45470
45471
  ...this.gos.getModuleErrorParams(),
45471
45472
  moduleName: t,
45472
45473
  reasonOrId: e
@@ -55808,7 +55809,7 @@ const NG = (e, t, i, s, n) => {
55808
55809
  handleUploadConflictDecideForEach: re
55809
55810
  };
55810
55811
  }, Ub = Vr(void 0), $b = {
55811
- hiddenItemWarning: `${Ni.Warning}__A dot at the start of the name will make the item hidden`
55812
+ hiddenItemWarning: "A dot at the start of the name will make the item hidden"
55812
55813
  }, UG = {
55813
55814
  emptyName: "Name cannot be empty",
55814
55815
  duplicateName: "An item with this name already exists",
@@ -56337,8 +56338,8 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56337
56338
  autoSelectUploadedItems: cs = !1
56338
56339
  }) => {
56339
56340
  const {
56340
- selectedPaths: Ui,
56341
- clearSelection: $i,
56341
+ selectedPaths: _i,
56342
+ clearSelection: Ui,
56342
56343
  setSelectedPaths: js
56343
56344
  } = sB({
56344
56345
  selectedPaths: l,
@@ -56374,31 +56375,31 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56374
56375
  [xe, cs]
56375
56376
  ), $c = V(() => {
56376
56377
  const Pe = /* @__PURE__ */ new Map();
56377
- return Ui.forEach((_e) => {
56378
+ return _i.forEach((_e) => {
56378
56379
  const Ke = is(s, _e);
56379
56380
  Ke && Pe.set(_e, Ke);
56380
56381
  }), Pe;
56381
- }, [Ui, s]);
56382
+ }, [_i, s]);
56382
56383
  be(() => {
56383
- if (Ui.size === 0) return;
56384
+ if (_i.size === 0) return;
56384
56385
  let Pe = !1;
56385
- for (const _e of Ui)
56386
+ for (const _e of _i)
56386
56387
  if (!is(s, _e)) {
56387
56388
  Pe = !0;
56388
56389
  break;
56389
56390
  }
56390
56391
  if (Pe) {
56391
56392
  const _e = /* @__PURE__ */ new Set();
56392
- for (const Ke of Ui)
56393
+ for (const Ke of _i)
56393
56394
  is(s, Ke) && _e.add(Ke);
56394
56395
  js(_e);
56395
56396
  }
56396
- }, [s, Ui, js]);
56397
+ }, [s, _i, js]);
56397
56398
  const { currentPath: lt, setCurrentPath: qc, handlePathChange: Dt } = VG({
56398
56399
  path: o,
56399
56400
  defaultPath: r,
56400
56401
  onPathChange: R,
56401
- onSelectionClear: $i
56402
+ onSelectionClear: Ui
56402
56403
  }), zo = V(() => {
56403
56404
  const {
56404
56405
  showFiles: Pe = !0,
@@ -56411,7 +56412,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56411
56412
  x?.setDestinationFolderPath ? x.setDestinationFolderPath(Pe) : In(Pe);
56412
56413
  },
56413
56414
  [x]
56414
- ), { areHiddenFilesVisible: qi, toggleHiddenFilesVisibility: sa } = HG({
56415
+ ), { areHiddenFilesVisible: $i, toggleHiddenFilesVisibility: sa } = HG({
56415
56416
  showHiddenFiles: u,
56416
56417
  onShowHiddenFilesChange: h
56417
56418
  }), { isTreeCollapsed: na, toggleTreeCollapse: oa, setIsTreeCollapsed: kn } = GG({
@@ -56474,9 +56475,9 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56474
56475
  getDestinationFiles: (Pe) => gu(s, Pe)?.items ?? [],
56475
56476
  onCopyFiles: T,
56476
56477
  onMoveToFiles: P,
56477
- onCopySuccess: $i,
56478
- onMoveSuccess: $i,
56479
- onDuplicateSuccess: $i,
56478
+ onCopySuccess: Ui,
56479
+ onMoveSuccess: Ui,
56480
+ onDuplicateSuccess: Ui,
56480
56481
  getCopyHeader: x?.getCopyHeader,
56481
56482
  getMoveHeader: x?.getMoveHeader
56482
56483
  });
@@ -56491,11 +56492,11 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56491
56492
  confirmDelete: cd
56492
56493
  } = zG({
56493
56494
  onDeleteFiles: A,
56494
- onDeleteSuccess: $i
56495
+ onDeleteSuccess: Ui
56495
56496
  }), { handleDownloadFiles: qo } = WG({
56496
56497
  onDownloadFiles: H,
56497
56498
  customDownloadItemsAction: Pn,
56498
- onDownloadSuccess: $i
56499
+ onDownloadSuccess: Ui
56499
56500
  }), {
56500
56501
  isDragging: Bn,
56501
56502
  isDraggingOverWindow: _s,
@@ -56584,7 +56585,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56584
56585
  (et) => et.nodeType !== Re.ITEM
56585
56586
  )), jo || (Be = Be.filter(
56586
56587
  (et) => et.nodeType !== Re.FOLDER
56587
- )), qi || (Be = Be.filter((et) => !et.path.split("/").filter(Boolean).some((Qo) => Qo.startsWith("."))));
56588
+ )), $i || (Be = Be.filter((et) => !et.path.split("/").filter(Boolean).some((Qo) => Qo.startsWith("."))));
56588
56589
  const Zo = Be.map((et) => ({
56589
56590
  ...et,
56590
56591
  id: et.id ?? et.path,
@@ -56616,7 +56617,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56616
56617
  let Ke = Pe ? kG(pt) : _e;
56617
56618
  Wo || (Ke = Ke.filter((Be) => Be.nodeType !== Re.ITEM)), jo || (Ke = Ke.filter(
56618
56619
  (Be) => Be.nodeType !== Re.FOLDER
56619
- )), qi || (Ke = Ke.filter((Be) => Pe ? !Be.path.split("/").filter(Boolean).some((et) => et.startsWith(".")) : !Wb(Be)));
56620
+ )), $i || (Ke = Ke.filter((Be) => Pe ? !Be.path.split("/").filter(Boolean).some((et) => et.startsWith(".")) : !Wb(Be)));
56620
56621
  const vi = Ke.map((Be) => ({
56621
56622
  ...Be,
56622
56623
  id: Be.id ?? Be.path,
@@ -56657,7 +56658,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56657
56658
  aa,
56658
56659
  pt,
56659
56660
  Ln,
56660
- qi,
56661
+ $i,
56661
56662
  Ti,
56662
56663
  zn,
56663
56664
  Wo,
@@ -56745,15 +56746,15 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
56745
56746
  searchValue: ra,
56746
56747
  effectiveSearchValue: Ln,
56747
56748
  setSearchValue: td,
56748
- areHiddenFilesVisible: qi,
56749
+ areHiddenFilesVisible: $i,
56749
56750
  toggleHiddenFilesVisibility: sa,
56750
56751
  isTreeCollapsed: na,
56751
56752
  toggleTreeCollapse: oa,
56752
56753
  setIsTreeCollapsed: kn,
56753
- selectedPaths: Ui,
56754
+ selectedPaths: _i,
56754
56755
  selectedFiles: $c,
56755
56756
  setSelectedPaths: js,
56756
- clearSelection: $i,
56757
+ clearSelection: Ui,
56757
56758
  currentFolder: pt,
56758
56759
  gridRows: a0,
56759
56760
  handleCopyTo: la,
@@ -57751,11 +57752,11 @@ const FB = ({
57751
57752
  }) => {
57752
57753
  const b = () => {
57753
57754
  const x = u?.startsWith(
57754
- `${Ni.Warning}__`
57755
+ `${Qi.Warning}__`
57755
57756
  );
57756
57757
  if (!d && !x) return null;
57757
57758
  const y = u?.replace(
57758
- `${Ni.Warning}__`,
57759
+ `${Qi.Warning}__`,
57759
57760
  ""
57760
57761
  );
57761
57762
  return /* @__PURE__ */ g.jsx(Qt, { tooltip: y, children: p || (x ? /* @__PURE__ */ g.jsx(
@@ -57824,7 +57825,7 @@ function DB({
57824
57825
  if (!s)
57825
57826
  return p(), !0;
57826
57827
  const b = s(w);
57827
- return b ? b.startsWith(`${Ni.Warning}__`) ? (p(!1, b), !0) : (p(!0, b), !1) : (p(), !0);
57828
+ return b ? b.startsWith(`${Qi.Warning}__`) ? (p(!1, b), !0) : (p(!0, b), !1) : (p(), !0);
57828
57829
  },
57829
57830
  [s, p]
57830
57831
  ), m = D(
@@ -58798,8 +58799,8 @@ const NB = () => {
58798
58799
  conflictingFiles: zc,
58799
58800
  conflictResolutionOpen: Wc,
58800
58801
  handleConflictReplace: cs,
58801
- handleConflictDuplicate: Ui,
58802
- handleConflictCancel: $i,
58802
+ handleConflictDuplicate: _i,
58803
+ handleConflictCancel: Ui,
58803
58804
  handleConflictDecideForEach: js,
58804
58805
  uploadConflictingFiles: ds,
58805
58806
  uploadConflictResolutionOpen: jc,
@@ -58816,7 +58817,7 @@ const NB = () => {
58816
58817
  onRemoveFilesAccess: In,
58817
58818
  actionsRef: Kc,
58818
58819
  searchInProgress: Mn,
58819
- isSearchMode: qi,
58820
+ isSearchMode: $i,
58820
58821
  emptyStateIcon: sa,
58821
58822
  emptyStateTitle: na = "You don't have any files",
58822
58823
  emptyStateDescription: oa = "Upload or drag and drop files",
@@ -58858,11 +58859,11 @@ const NB = () => {
58858
58859
  } = l ?? {}, { containerRef: ld, isBelowBreakpoint: ei } = SG(
58859
58860
  f,
58860
58861
  m
58861
- ), cd = V(() => qi ? [
58862
+ ), cd = V(() => $i ? [
58862
58863
  wt.Name,
58863
58864
  wt.Path,
58864
58865
  wt.Actions
58865
- ] : fa, [qi, fa]), qo = D(
58866
+ ] : fa, [$i, fa]), qo = D(
58866
58867
  (ee, Je, st) => NG(
58867
58868
  ee,
58868
58869
  Je,
@@ -59329,7 +59330,7 @@ const NB = () => {
59329
59330
  Pt
59330
59331
  ]
59331
59332
  ), Da = V(
59332
- () => F.length === 0 && !qi && !n ? Sa() : /* @__PURE__ */ g.jsx(
59333
+ () => F.length === 0 && !$i && !n ? Sa() : /* @__PURE__ */ g.jsx(
59333
59334
  Sb,
59334
59335
  {
59335
59336
  columnDefs: Yo,
@@ -59353,7 +59354,7 @@ const NB = () => {
59353
59354
  ),
59354
59355
  [
59355
59356
  F,
59356
- qi,
59357
+ $i,
59357
59358
  n,
59358
59359
  Sa,
59359
59360
  Yo,
@@ -59491,9 +59492,9 @@ const NB = () => {
59491
59492
  {
59492
59493
  ...p,
59493
59494
  open: Wc,
59494
- onClose: $i,
59495
+ onClose: Ui,
59495
59496
  onReplace: cs,
59496
- onDuplicate: Ui,
59497
+ onDuplicate: _i,
59497
59498
  onDecideForEach: js,
59498
59499
  conflictingFiles: zc
59499
59500
  }
@@ -60772,7 +60773,7 @@ const yg = ({
60772
60773
  );
60773
60774
  };
60774
60775
  export {
60775
- Ni as AlertVariant,
60776
+ Qi as AlertVariant,
60776
60777
  se as BASE_ICON_PROPS,
60777
60778
  oi as BASE_ICON_SIZE,
60778
60779
  Ge as ButtonAppearance,