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

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