@epam/ai-dial-ui-kit 0.6.0-rc.7 → 0.6.0-rc.9

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.
@@ -246,7 +246,7 @@ function Lw(e, ...t) {
246
246
  const et = (e) => {
247
247
  const t = (s) => s[e] || [];
248
248
  return t.isThemeGetter = !0, t;
249
- }, op = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, np = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ow = /^\d+\/\d+$/, Nw = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hw = /\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$/, Gw = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Bw = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vw = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ii = (e) => Ow.test(e), Ee = (e) => !!e && !Number.isNaN(Number(e)), ks = (e) => !!e && Number.isInteger(Number(e)), gl = (e) => e.endsWith("%") && Ee(e.slice(0, -1)), ps = (e) => Nw.test(e), zw = () => !0, Ww = (e) => (
249
+ }, op = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, np = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ow = /^\d+\/\d+$/, Nw = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hw = /\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$/, Gw = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Bw = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vw = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ii = (e) => Ow.test(e), Ee = (e) => !!e && !Number.isNaN(Number(e)), Ls = (e) => !!e && Number.isInteger(Number(e)), gl = (e) => e.endsWith("%") && Ee(e.slice(0, -1)), ps = (e) => Nw.test(e), zw = () => !0, Ww = (e) => (
250
250
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
251
251
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
252
252
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
@@ -276,9 +276,9 @@ const et = (e) => {
276
276
  "bottom-left",
277
277
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
278
278
  "left-bottom"
279
- ], y = () => [...S(), ae, re], R = () => ["auto", "hidden", "clip", "visible", "scroll"], x = () => ["auto", "contain", "none"], E = () => [ae, re, l], T = () => [Ii, "full", "auto", ...E()], k = () => [ks, "none", "subgrid", ae, re], F = () => ["auto", {
280
- span: ["full", ks, ae, re]
281
- }, ks, ae, re], P = () => [ks, "auto", ae, re], G = () => ["auto", "min", "max", "fr", ae, re], _ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], H = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ie = () => ["auto", ...E()], ne = () => [Ii, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], N = () => [e, ae, re], ue = () => [...S(), Lu, ku, {
279
+ ], y = () => [...S(), ae, re], R = () => ["auto", "hidden", "clip", "visible", "scroll"], x = () => ["auto", "contain", "none"], E = () => [ae, re, l], T = () => [Ii, "full", "auto", ...E()], k = () => [Ls, "none", "subgrid", ae, re], F = () => ["auto", {
280
+ span: ["full", Ls, ae, re]
281
+ }, Ls, ae, re], P = () => [Ls, "auto", ae, re], G = () => ["auto", "min", "max", "fr", ae, re], _ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], H = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ie = () => ["auto", ...E()], ne = () => [Ii, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], N = () => [e, ae, re], ue = () => [...S(), Lu, ku, {
282
282
  position: [ae, re]
283
283
  }], U = () => ["no-repeat", {
284
284
  repeat: ["", "x", "y", "space", "round"]
@@ -545,7 +545,7 @@ const et = (e) => {
545
545
  * @see https://tailwindcss.com/docs/z-index
546
546
  */
547
547
  z: [{
548
- z: [ks, "auto", ae, re]
548
+ z: [Ls, "auto", ae, re]
549
549
  }],
550
550
  // ------------------------
551
551
  // --- Flexbox and Grid ---
@@ -597,7 +597,7 @@ const et = (e) => {
597
597
  * @see https://tailwindcss.com/docs/order
598
598
  */
599
599
  order: [{
600
- order: [ks, "first", "last", "none", ae, re]
600
+ order: [Ls, "first", "last", "none", ae, re]
601
601
  }],
602
602
  /**
603
603
  * Grid Template Columns
@@ -1275,9 +1275,9 @@ const et = (e) => {
1275
1275
  bg: ["none", {
1276
1276
  linear: [{
1277
1277
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1278
- }, ks, ae, re],
1278
+ }, Ls, ae, re],
1279
1279
  radial: ["", ae, re],
1280
- conic: [ks, ae, re]
1280
+ conic: [Ls, ae, re]
1281
1281
  }, Zw, Kw]
1282
1282
  }],
1283
1283
  /**
@@ -2861,7 +2861,7 @@ const hi = ({
2861
2861
  children: e
2862
2862
  }
2863
2863
  );
2864
- }, js = ({
2864
+ }, Es = ({
2865
2865
  hideTooltip: e,
2866
2866
  tooltip: t,
2867
2867
  children: s,
@@ -2901,7 +2901,7 @@ const hi = ({
2901
2901
  children: [
2902
2902
  typeof e == "string" ? /* @__PURE__ */ m("span", { className: "min-h-4", children: e }) : e,
2903
2903
  t && /* @__PURE__ */ m("span", { children: s ?? "(Optional)" }),
2904
- o && /* @__PURE__ */ m(js, { tooltip: o, children: /* @__PURE__ */ m(
2904
+ o && /* @__PURE__ */ m(Es, { tooltip: o, children: /* @__PURE__ */ m(
2905
2905
  Ve,
2906
2906
  {
2907
2907
  icon: /* @__PURE__ */ m(md, { size: 14, className: "text-secondary" })
@@ -2910,13 +2910,13 @@ const hi = ({
2910
2910
  ]
2911
2911
  }
2912
2912
  ) : null;
2913
- var He = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Tertiary = "tertiary", e.Danger = "danger", e))(He || {});
2913
+ var Ne = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Tertiary = "tertiary", e.Danger = "danger", e))(Ne || {});
2914
2914
  const o1 = {
2915
- [He.Primary]: "dial-primary-button",
2916
- [He.Secondary]: "dial-secondary-button",
2917
- [He.Tertiary]: "dial-tertiary-button",
2918
- [He.Danger]: "dial-danger-button"
2919
- }, Ae = ({
2915
+ [Ne.Primary]: "dial-primary-button",
2916
+ [Ne.Secondary]: "dial-secondary-button",
2917
+ [Ne.Tertiary]: "dial-tertiary-button",
2918
+ [Ne.Danger]: "dial-danger-button"
2919
+ }, Ie = ({
2920
2920
  label: e,
2921
2921
  variant: t,
2922
2922
  className: s,
@@ -2991,7 +2991,7 @@ const n1 = (e) => ({
2991
2991
  /* @__PURE__ */ m("div", { className: "text-primary", children: t })
2992
2992
  ] }),
2993
2993
  n && /* @__PURE__ */ m(
2994
- Ae,
2994
+ Ie,
2995
2995
  {
2996
2996
  className: "ml-2 text-secondary hover:text-primary",
2997
2997
  "aria-label": "Close alert",
@@ -3559,7 +3559,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
3559
3559
  children: [
3560
3560
  f && a,
3561
3561
  /* @__PURE__ */ m(
3562
- Ae,
3562
+ Ie,
3563
3563
  {
3564
3564
  className: "hover:text-accent-primary p-1",
3565
3565
  onClick: w,
@@ -3587,7 +3587,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
3587
3587
  /* @__PURE__ */ m("label", { className: "dial-tiny mb-2 text-secondary", children: e }),
3588
3588
  i || /* @__PURE__ */ z("div", { className: "flex flex-row items-center", children: [
3589
3589
  /* @__PURE__ */ m(
3590
- js,
3590
+ Es,
3591
3591
  {
3592
3592
  triggerClassName: "text-primary",
3593
3593
  tooltip: s || t,
@@ -3621,7 +3621,7 @@ const y1 = {
3621
3621
  /* @__PURE__ */ m(Ve, { icon: o }),
3622
3622
  /* @__PURE__ */ m(wt, { text: e }),
3623
3623
  s && /* @__PURE__ */ m(
3624
- Ae,
3624
+ Ie,
3625
3625
  {
3626
3626
  iconAfter: /* @__PURE__ */ m(go, { size: 16 }),
3627
3627
  onClick: (l) => s(l)
@@ -6454,7 +6454,7 @@ function Ra(e, t) {
6454
6454
  }
6455
6455
  var gS = "[tabindex], input, select, button, textarea, [href]", Bp = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
6456
6456
  function en(e) {
6457
- return !e || !e.matches("input, select, button, textarea") || !e.matches(Bp) ? !1 : Es(e);
6457
+ return !e || !e.matches("input, select, button, textarea") || !e.matches(Bp) ? !1 : Ds(e);
6458
6458
  }
6459
6459
  function $e(e, t, s = {}) {
6460
6460
  const { skipAriaHidden: i } = s;
@@ -6556,13 +6556,13 @@ function Ft(e) {
6556
6556
  for (; e?.firstChild; )
6557
6557
  e.firstChild.remove();
6558
6558
  }
6559
- function zs(e) {
6559
+ function Ws(e) {
6560
6560
  e?.parentNode && e.remove();
6561
6561
  }
6562
6562
  function Wp(e) {
6563
6563
  return !!e.offsetParent;
6564
6564
  }
6565
- function Es(e) {
6565
+ function Ds(e) {
6566
6566
  return e.checkVisibility ? e.checkVisibility({ checkVisibilityCSS: !0 }) : !(!Wp(e) || window.getComputedStyle(e).visibility !== "visible");
6567
6567
  }
6568
6568
  function Hd(e) {
@@ -6599,11 +6599,11 @@ function Vd(e) {
6599
6599
  function Tt(e, t, s) {
6600
6600
  s == null || s === "" ? e.removeAttribute(t) : e.setAttribute(t, s.toString());
6601
6601
  }
6602
- function Ds(e, t, s) {
6602
+ function Ps(e, t, s) {
6603
6603
  const o = Ip(e).ResizeObserver, n = o ? new o(s) : null;
6604
6604
  return n?.observe(t), () => n?.disconnect();
6605
6605
  }
6606
- function Ps(e, t) {
6606
+ function Ts(e, t) {
6607
6607
  const s = Ip(e);
6608
6608
  s.requestAnimationFrame ? s.requestAnimationFrame(t) : s.webkitRequestAnimationFrame ? s.webkitRequestAnimationFrame(t) : s.setTimeout(t, 0);
6609
6609
  }
@@ -6707,7 +6707,7 @@ var Rr = (e, ...t) => {
6707
6707
  t.removeEventListener(s, i, o);
6708
6708
  e.length = 0;
6709
6709
  }
6710
- }, Hs = (e) => {
6710
+ }, Gs = (e) => {
6711
6711
  e.cancelable && e.preventDefault();
6712
6712
  };
6713
6713
  function RS(e, t) {
@@ -6917,7 +6917,7 @@ function Sc(e, t = "setTimeout", s) {
6917
6917
  for (const r of n)
6918
6918
  r();
6919
6919
  };
6920
- t === "raf" ? Ps(s, o) : window.setTimeout(o, 0);
6920
+ t === "raf" ? Ts(s, o) : window.setTimeout(o, 0);
6921
6921
  }
6922
6922
  function lt(e, t, s) {
6923
6923
  let i;
@@ -7357,7 +7357,7 @@ function af(e) {
7357
7357
  function ZS(e, t) {
7358
7358
  return t ? !e.get("enableStrictPivotColumnOrder") : e.get("maintainColumnOrder");
7359
7359
  }
7360
- function Ws(e, t, s = !1, i) {
7360
+ function _s(e, t, s = !1, i) {
7361
7361
  const { gos: o, environment: n } = e;
7362
7362
  if (i == null && (i = n.getDefaultRowHeight()), af(o)) {
7363
7363
  if (s)
@@ -7455,7 +7455,7 @@ function Rl(e) {
7455
7455
  function ey(e) {
7456
7456
  return typeof e.get("rowSelection") != "string";
7457
7457
  }
7458
- function _s(e) {
7458
+ function Us(e) {
7459
7459
  const t = e.get("cellSelection");
7460
7460
  return t !== void 0 ? !!t : e.get("enableRangeSelection");
7461
7461
  }
@@ -7586,7 +7586,7 @@ var dy = {
7586
7586
  function ff() {
7587
7587
  return uy++;
7588
7588
  }
7589
- function Us(e) {
7589
+ function $s(e) {
7590
7590
  return e instanceof xi;
7591
7591
  }
7592
7592
  var xi = class extends O {
@@ -8040,12 +8040,12 @@ var Dr = class extends O {
8040
8040
  forEachLeafColumn(e) {
8041
8041
  if (this.children)
8042
8042
  for (const t of this.children)
8043
- Us(t) ? e(t) : pt(t) && t.forEachLeafColumn(e);
8043
+ $s(t) ? e(t) : pt(t) && t.forEachLeafColumn(e);
8044
8044
  }
8045
8045
  addLeafColumns(e) {
8046
8046
  if (this.children)
8047
8047
  for (const t of this.children)
8048
- Us(t) ? e.push(t) : pt(t) && t.addLeafColumns(e);
8048
+ $s(t) ? e.push(t) : pt(t) && t.addLeafColumns(e);
8049
8049
  }
8050
8050
  getColumnGroupShow() {
8051
8051
  const e = this.colGroupDef;
@@ -8162,7 +8162,7 @@ function vf(e) {
8162
8162
  const t = [], s = (i) => {
8163
8163
  for (let o = 0; o < i.length; o++) {
8164
8164
  const n = i[o];
8165
- Us(n) ? t.push(n) : pt(n) && s(n.getChildren());
8165
+ $s(n) ? t.push(n) : pt(n) && s(n.getChildren());
8166
8166
  }
8167
8167
  };
8168
8168
  return s(e), t;
@@ -8185,14 +8185,14 @@ function Xr(e, t, s) {
8185
8185
  function Kd(e) {
8186
8186
  return e.getId().startsWith(xa);
8187
8187
  }
8188
- function Ts(e) {
8188
+ function Ms(e) {
8189
8189
  return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith(mf) ?? !1;
8190
8190
  }
8191
8191
  function ys(e) {
8192
8192
  return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith(Cf) ?? !1;
8193
8193
  }
8194
8194
  function py(e) {
8195
- return Ts(e) || ys(e);
8195
+ return Ms(e) || ys(e);
8196
8196
  }
8197
8197
  function Jr(e) {
8198
8198
  let t = [];
@@ -8496,7 +8496,7 @@ function Yt(e, t, s) {
8496
8496
  P.push(U), _.push(U);
8497
8497
  continue;
8498
8498
  }
8499
- if (Ts(se)) {
8499
+ if (Ms(se)) {
8500
8500
  G.push(U), _.push(U);
8501
8501
  continue;
8502
8502
  }
@@ -8829,7 +8829,7 @@ var dh = (e, t, s, i) => {
8829
8829
  const c = Kd(l);
8830
8830
  if (i) {
8831
8831
  const d = r?.includes(l);
8832
- return c || d || o && Ts(l) || n && ys(l);
8832
+ return c || d || o && Ms(l) || n && ys(l);
8833
8833
  } else
8834
8834
  return c || l.isVisible();
8835
8835
  });
@@ -9745,7 +9745,7 @@ function Zi(e, t, s = !1) {
9745
9745
  const i = gS;
9746
9746
  let o = Bp;
9747
9747
  t && (o += ", " + t), s && (o += ', [tabindex="-1"]');
9748
- const n = Array.prototype.slice.apply(e.querySelectorAll(i)).filter((l) => Es(l)), r = Array.prototype.slice.apply(e.querySelectorAll(o));
9748
+ const n = Array.prototype.slice.apply(e.querySelectorAll(i)).filter((l) => Ds(l)), r = Array.prototype.slice.apply(e.querySelectorAll(o));
9749
9749
  return r.length ? ((l, c) => l.filter((d) => c.indexOf(d) === -1))(n, r) : n;
9750
9750
  }
9751
9751
  function vi(e, t = !1, s = !1, i = !1) {
@@ -10340,7 +10340,7 @@ var si = class extends Gf {
10340
10340
  }
10341
10341
  highlightItem(e) {
10342
10342
  const t = e.getGui();
10343
- if (!Es(t))
10343
+ if (!Ds(t))
10344
10344
  return;
10345
10345
  this.clearHighlighted(), e.setHighlighted(!0), this.highlightedItem = e;
10346
10346
  const s = this.getGui(), { scrollTop: i, clientHeight: o } = s, { offsetTop: n, offsetHeight: r } = t;
@@ -10726,7 +10726,7 @@ var si = class extends Gf {
10726
10726
  }, fh, Qi = (fh = typeof window == "object" ? window : {}).agStyleInjectionState ?? (fh.agStyleInjectionState = {
10727
10727
  map: /* @__PURE__ */ new WeakMap(),
10728
10728
  grids: /* @__PURE__ */ new Set()
10729
- }), St = (e) => new zf(e), Gs = "$default", qR = 0, zf = class {
10729
+ }), St = (e) => new zf(e), Bs = "$default", qR = 0, zf = class {
10730
10730
  constructor({ feature: e, params: t, modeParams: s = {}, css: i, cssImports: o }) {
10731
10731
  this.feature = e, this.css = i, this.cssImports = o, this.modeParams = {
10732
10732
  // NOTE: it's important that default is defined first, putting it
@@ -10734,8 +10734,8 @@ var si = class extends Gf {
10734
10734
  // params override any prior modal params, so modal params in this
10735
10735
  // part need to come after default params to prevent them from being
10736
10736
  // immediately overridden.
10737
- [Gs]: {
10738
- ...s[Gs] ?? {},
10737
+ [Bs]: {
10738
+ ...s[Bs] ?? {},
10739
10739
  ...t ?? {}
10740
10740
  },
10741
10741
  ...s
@@ -10921,7 +10921,7 @@ ${o}`;
10921
10921
  withoutPart(t) {
10922
10922
  return this.withPart(St({ feature: t }));
10923
10923
  }
10924
- withParams(t, s = Gs) {
10924
+ withParams(t, s = Bs) {
10925
10925
  return this.withPart(
10926
10926
  St({
10927
10927
  modeParams: { [s]: t }
@@ -10958,7 +10958,7 @@ ${o}`;
10958
10958
  // NOTE: defining the default mode here is important, it ensures
10959
10959
  // that the default mode is first in iteration order, which puts
10960
10960
  // it first in outputted CSS, allowing other modes to override it
10961
- [Gs]: { ...JR }
10961
+ [Bs]: { ...JR }
10962
10962
  };
10963
10963
  for (const i of Ch(this.parts))
10964
10964
  for (const o of Object.keys(i.modeParams)) {
@@ -10969,10 +10969,10 @@ ${o}`;
10969
10969
  const c = n[l];
10970
10970
  c !== void 0 && (r[l] = c, a.add(l));
10971
10971
  }
10972
- if (o === Gs)
10972
+ if (o === Bs)
10973
10973
  for (const l of Object.keys(s)) {
10974
10974
  const c = s[l];
10975
- if (l !== Gs)
10975
+ if (l !== Bs)
10976
10976
  for (const d of a)
10977
10977
  delete c[d];
10978
10978
  }
@@ -10997,7 +10997,7 @@ ${o}`;
10997
10997
  const r = this._getModeParams();
10998
10998
  for (const l of Object.keys(r)) {
10999
10999
  const c = r[l];
11000
- if (l !== Gs) {
11000
+ if (l !== Bs) {
11001
11001
  const u = `:where([data-ag-theme-mode="${typeof CSS == "object" ? CSS.escape(l) : l}"]) & {
11002
11002
  `;
11003
11003
  o += u, n += u;
@@ -11013,7 +11013,7 @@ ${o}`;
11013
11013
  `;
11014
11014
  }
11015
11015
  }
11016
- l !== Gs && (o += `}
11016
+ l !== Bs && (o += `}
11017
11017
  `, n += `}
11018
11018
  `);
11019
11019
  }
@@ -11602,7 +11602,7 @@ ${n}}
11602
11602
  )), t.style.left = `${d}px`, t.style.top = `${u}px`, e.postProcessCallback && e.postProcessCallback());
11603
11603
  };
11604
11604
  if (l(), !n) {
11605
- const c = Ds(this.beans, t, () => l(!0));
11605
+ const c = Ps(this.beans, t, () => l(!0));
11606
11606
  setTimeout(() => c(), x2);
11607
11607
  }
11608
11608
  }
@@ -11909,7 +11909,7 @@ ${n}}
11909
11909
  const s = this.beans, i = (a) => this.onScroll(a), o = (a) => this.onKeyDown(a), n = ns(s), r = nt(s);
11910
11910
  Rr(
11911
11911
  e.handlers,
11912
- [n, "contextmenu", Hs],
11912
+ [n, "contextmenu", Gs],
11913
11913
  [n, "keydown", o],
11914
11914
  [r, "scroll", i, { capture: !0 }],
11915
11915
  [r.defaultView || window, "scroll", i],
@@ -11949,8 +11949,8 @@ ${n}}
11949
11949
  [o, "pointerup", c],
11950
11950
  [o, "pointercancel", d],
11951
11951
  [o, "pointermove", l, { passive: !1 }],
11952
- [o, "touchmove", Hs, { passive: !1 }],
11953
- [n, "mousemove", Hs, { passive: !1 }]
11952
+ [o, "touchmove", Gs, { passive: !1 }],
11953
+ [n, "mousemove", Gs, { passive: !1 }]
11954
11954
  ), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : fs(t);
11955
11955
  }
11956
11956
  // gets called whenever mouse down on any drag source
@@ -11958,14 +11958,14 @@ ${n}}
11958
11958
  if (this.gos.get("suppressTouch") || !e.includeTouch || !fs(t) || en(kl(t)))
11959
11959
  return;
11960
11960
  if (e.stopPropagationForTouch && t.stopPropagation(), this.isPointer()) {
11961
- Hs(t);
11961
+ Gs(t);
11962
11962
  return;
11963
11963
  }
11964
11964
  this.destroyDrag();
11965
11965
  const i = this.beans, o = ns(i), n = new Al(o, e, t.touches[0]), r = (c) => this.onTouchMove(c), a = (c) => this.onTouchUp(c), l = t.target ?? e.eElement;
11966
11966
  this.initDrag(
11967
11967
  n,
11968
- [ns(i), "touchmove", Hs, { passive: !1 }],
11968
+ [ns(i), "touchmove", Gs, { passive: !1 }],
11969
11969
  [l, "touchmove", r, { passive: !0 }],
11970
11970
  [l, "touchend", a, { passive: !0 }],
11971
11971
  [l, "touchcancel", a, { passive: !0 }]
@@ -11988,7 +11988,7 @@ ${n}}
11988
11988
  }
11989
11989
  /** only gets called after a mouse down - as this is only added after mouseDown and is removed when mouseUp happens */
11990
11990
  onMouseOrPointerMove(e) {
11991
- fs(e) && (qs() && nt(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) && Hs(e), this.onMove(e));
11991
+ fs(e) && (qs() && nt(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) && Gs(e), this.onMove(e));
11992
11992
  }
11993
11993
  onTouchMove(e) {
11994
11994
  const t = this.drag;
@@ -12397,11 +12397,11 @@ var vn = class extends O {
12397
12397
  }
12398
12398
  addDisplayedLeafColumns(e) {
12399
12399
  for (const t of this.displayedChildren ?? [])
12400
- Us(t) ? e.push(t) : Ze(t) && t.addDisplayedLeafColumns(e);
12400
+ $s(t) ? e.push(t) : Ze(t) && t.addDisplayedLeafColumns(e);
12401
12401
  }
12402
12402
  addLeafColumns(e) {
12403
12403
  for (const t of this.children ?? [])
12404
- Us(t) ? e.push(t) : Ze(t) && t.addLeafColumns(e);
12404
+ $s(t) ? e.push(t) : Ze(t) && t.addLeafColumns(e);
12405
12405
  }
12406
12406
  getChildren() {
12407
12407
  return this.children;
@@ -12442,7 +12442,7 @@ var vn = class extends O {
12442
12442
  }
12443
12443
  this.dispatchLocalEvent({ type: "displayedChildrenChanged" });
12444
12444
  }
12445
- }, Oc = "row-group-", iu = "t-", ou = "b-", k2 = 0, $s = class {
12445
+ }, Oc = "row-group-", iu = "t-", ou = "b-", k2 = 0, js = class {
12446
12446
  constructor(e) {
12447
12447
  this.master = !1, this.detail = void 0, this.rowIndex = null, this.key = null, this.sourceRowIndex = -1, this._leafs = void 0, this.childrenMapped = null, this.treeParent = null, this.treeNodeFlags = 0, this.displayed = !1, this.rowTop = null, this.oldRowTop = null, this.selectable = !0, this.__objectId = k2++, this.alreadyRendered = !1, this.hovered = !1, this.__selected = !1, this.beans = e;
12448
12448
  }
@@ -12773,7 +12773,7 @@ var O2 = /* @__PURE__ */ new Set([
12773
12773
  "treeNodeFlags",
12774
12774
  "treeParent"
12775
12775
  ]), N2 = (e, t) => {
12776
- const s = new $s(t);
12776
+ const s = new js(t);
12777
12777
  for (const i of Object.keys(e))
12778
12778
  O2.has(i) || (s[i] = e[i]);
12779
12779
  return s.oldRowTop = null, s;
@@ -12792,7 +12792,7 @@ var O2 = /* @__PURE__ */ new Set([
12792
12792
  agDateColumnFilter: "agDateColumnFilterHandler",
12793
12793
  agTextColumnFilter: "agTextColumnFilterHandler"
12794
12794
  }, H2 = new Set(Object.values(Jf));
12795
- function Ls(e, t) {
12795
+ function Os(e, t) {
12796
12796
  const s = e.filterUi;
12797
12797
  if (!s)
12798
12798
  return null;
@@ -12986,7 +12986,7 @@ var V2 = class extends Ke {
12986
12986
  filterSummaryInRangeValues: (e) => `(${e[0]}, ${e[1]})`,
12987
12987
  filterSummaryTextQuote: (e) => `"${e[0]}"`
12988
12988
  };
12989
- function Bs(e, t, s) {
12989
+ function Vs(e, t, s) {
12990
12990
  return xS(e, z2, t, s);
12991
12991
  }
12992
12992
  function nu(e, t) {
@@ -13043,7 +13043,7 @@ var W2 = class extends Ke {
13043
13043
  if (l) {
13044
13044
  const d = n.map((u) => {
13045
13045
  const h = `${u}Filter`;
13046
- return { type: u, label: Bs(this, h) };
13046
+ return { type: u, label: Vs(this, h) };
13047
13047
  });
13048
13048
  if (this.applyActive = Da(this.params), !c) {
13049
13049
  c = this.createBean(new V2()), this.appendChild(c.getGui());
@@ -13059,7 +13059,7 @@ var W2 = class extends Ke {
13059
13059
  }
13060
13060
  c.updateButtons(d, a);
13061
13061
  } else
13062
- this.applyActive = !1, c && (zs(c.getGui()), this.eButtons = this.destroyBean(c));
13062
+ this.applyActive = !1, c && (Ws(c.getGui()), this.eButtons = this.destroyBean(c));
13063
13063
  }
13064
13064
  close(e) {
13065
13065
  const t = this.hidePopup;
@@ -13317,7 +13317,7 @@ var K2 = {
13317
13317
  function Y2(e, t = !1) {
13318
13318
  return (t ? q2 : K2)[e ?? "text"];
13319
13319
  }
13320
- var sm = "ag-resizer-wrapper", Os = (e, t) => ({
13320
+ var sm = "ag-resizer-wrapper", Ns = (e, t) => ({
13321
13321
  tag: "div",
13322
13322
  ref: `${e}Resizer`,
13323
13323
  cls: `ag-resizer ag-resizer-${t}`
@@ -13325,14 +13325,14 @@ var sm = "ag-resizer-wrapper", Os = (e, t) => ({
13325
13325
  tag: "div",
13326
13326
  cls: sm,
13327
13327
  children: [
13328
- Os("eTopLeft", "topLeft"),
13329
- Os("eTop", "top"),
13330
- Os("eTopRight", "topRight"),
13331
- Os("eRight", "right"),
13332
- Os("eBottomRight", "bottomRight"),
13333
- Os("eBottom", "bottom"),
13334
- Os("eBottomLeft", "bottomLeft"),
13335
- Os("eLeft", "left")
13328
+ Ns("eTopLeft", "topLeft"),
13329
+ Ns("eTop", "top"),
13330
+ Ns("eTopRight", "topRight"),
13331
+ Ns("eRight", "right"),
13332
+ Ns("eBottomRight", "bottomRight"),
13333
+ Ns("eBottom", "bottom"),
13334
+ Ns("eBottomLeft", "bottomLeft"),
13335
+ Ns("eLeft", "left")
13336
13336
  ]
13337
13337
  }, Q2 = class extends O {
13338
13338
  constructor(e, t) {
@@ -13360,7 +13360,7 @@ var sm = "ag-resizer-wrapper", Os = (e, t) => ({
13360
13360
  const { centered: t, forcePopupParentAsOffsetParent: s, minWidth: i, width: o, minHeight: n, height: r, x: a, y: l } = this.config;
13361
13361
  this.offsetParent || this.setOffsetParent();
13362
13362
  let c = 0, d = 0;
13363
- const u = Es(this.element);
13363
+ const u = Ds(this.element);
13364
13364
  if (u) {
13365
13365
  const h = this.findBoundaryElement(), g = window.getComputedStyle(h);
13366
13366
  if (g.minWidth != null) {
@@ -13500,7 +13500,7 @@ var sm = "ag-resizer-wrapper", Os = (e, t) => ({
13500
13500
  const s = this.getAvailableHeight();
13501
13501
  this.element.style.setProperty("max-height", `${s}px`);
13502
13502
  };
13503
- e && this.popupSvc ? (this.resizeObserverSubscriber?.(), this.resizeObserverSubscriber = Ds(
13503
+ e && this.popupSvc ? (this.resizeObserverSubscriber?.(), this.resizeObserverSubscriber = Ps(
13504
13504
  this.beans,
13505
13505
  this.popupSvc?.getPopupParent(),
13506
13506
  t
@@ -13873,7 +13873,7 @@ var X2 = "ag-focus-managed", bo = class extends O {
13873
13873
  this.positionableFeature = this.destroyBean(this.positionableFeature), super.destroy();
13874
13874
  }
13875
13875
  translate(e) {
13876
- return Bs(this, e);
13876
+ return Vs(this, e);
13877
13877
  }
13878
13878
  // override to control positionable feature
13879
13879
  getPositionableElement() {
@@ -13919,7 +13919,7 @@ var Tr = {
13919
13919
  }, s = t.autoHeight ? Tr.AUTO_HEIGHT : t.print ? Tr.PRINT : Tr.NORMAL;
13920
13920
  this.view.updateLayoutClasses(s, t);
13921
13921
  }
13922
- }, Ns = "Viewport", Eh = "fakeVScrollComp", Ll = [
13922
+ }, Hs = "Viewport", Eh = "fakeVScrollComp", Ll = [
13923
13923
  "fakeHScrollComp",
13924
13924
  "centerHeader",
13925
13925
  "topCenter",
@@ -13978,7 +13978,7 @@ var Tr = {
13978
13978
  }
13979
13979
  addHorizontalScrollListeners() {
13980
13980
  this.addManagedElementListeners(this.centerRowsCtrl.eViewport, {
13981
- scroll: this.onHScroll.bind(this, Ns)
13981
+ scroll: this.onHScroll.bind(this, Hs)
13982
13982
  });
13983
13983
  for (const e of Ll) {
13984
13984
  const t = this.ctrlsSvc.get(e);
@@ -13986,7 +13986,7 @@ var Tr = {
13986
13986
  }
13987
13987
  }
13988
13988
  addVerticalScrollListeners() {
13989
- const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), s = t ? lt(this, this.onVScroll.bind(this, Ns), Dh) : this.onVScroll.bind(this, Ns), i = t ? lt(this, this.onVScroll.bind(this, Eh), Dh) : this.onVScroll.bind(this, Eh);
13989
+ const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), s = t ? lt(this, this.onVScroll.bind(this, Hs), Dh) : this.onVScroll.bind(this, Hs), i = t ? lt(this, this.onVScroll.bind(this, Eh), Dh) : this.onVScroll.bind(this, Eh);
13990
13990
  this.addManagedElementListeners(this.eBodyViewport, { scroll: s }), this.registerScrollPartner(e, i);
13991
13991
  }
13992
13992
  registerScrollPartner(e, t) {
@@ -13999,7 +13999,7 @@ var Tr = {
13999
13999
  this.centerRowsCtrl != null && (e === void 0 && (e = this.centerRowsCtrl.getCenterViewportScrollLeft()), this.setScrollLeftForAllContainersExceptCurrent(Math.abs(e)));
14000
14000
  }
14001
14001
  setScrollLeftForAllContainersExceptCurrent(e) {
14002
- for (const t of [...Ll, Ns]) {
14002
+ for (const t of [...Ll, Hs]) {
14003
14003
  if (this.lastScrollSource[
14004
14004
  1
14005
14005
  /* Horizontal */
@@ -14010,7 +14010,7 @@ var Tr = {
14010
14010
  }
14011
14011
  }
14012
14012
  getViewportForSource(e) {
14013
- return e === Ns ? this.centerRowsCtrl.eViewport : this.ctrlsSvc.get(e).eViewport;
14013
+ return e === Hs ? this.centerRowsCtrl.eViewport : this.ctrlsSvc.get(e).eViewport;
14014
14014
  }
14015
14015
  isControllingScroll(e, t) {
14016
14016
  return this.lastScrollSource[t] == null ? (t === 0 ? this.lastScrollSource[0] = e : this.lastScrollSource[1] = e, !0) : this.lastScrollSource[t] === e;
@@ -14036,10 +14036,10 @@ var Tr = {
14036
14036
  ))
14037
14037
  return;
14038
14038
  let t;
14039
- if (e === Ns ? t = this.eBodyViewport.scrollTop : t = this.ctrlsSvc.get("fakeVScrollComp").getScrollPosition(), this.shouldBlockScrollUpdate(0, t, !0))
14039
+ if (e === Hs ? t = this.eBodyViewport.scrollTop : t = this.ctrlsSvc.get("fakeVScrollComp").getScrollPosition(), this.shouldBlockScrollUpdate(0, t, !0))
14040
14040
  return;
14041
14041
  const { animationFrameSvc: s } = this;
14042
- s?.setScrollTop(t), this.nextScrollTop = t, e === Ns ? this.ctrlsSvc.get("fakeVScrollComp").setScrollPosition(t) : this.eBodyViewport.scrollTop = t, s?.active ? s.schedule() : this.scrollGridIfNeeded(!0), this.resetLastVScrollDebounced();
14042
+ s?.setScrollTop(t), this.nextScrollTop = t, e === Hs ? this.ctrlsSvc.get("fakeVScrollComp").setScrollPosition(t) : this.eBodyViewport.scrollTop = t, s?.active ? s.schedule() : this.scrollGridIfNeeded(!0), this.resetLastVScrollDebounced();
14043
14043
  }
14044
14044
  doHorizontalScroll(e) {
14045
14045
  const t = this.ctrlsSvc.get("fakeHScrollComp").getScrollPosition();
@@ -14101,7 +14101,7 @@ var Tr = {
14101
14101
  t = !0;
14102
14102
  break;
14103
14103
  }
14104
- t && this.onHScroll(Ns);
14104
+ t && this.onHScroll(Hs);
14105
14105
  }
14106
14106
  scrollGridIfNeeded(e = !1) {
14107
14107
  const t = this.scrollTop != this.nextScrollTop;
@@ -14286,7 +14286,7 @@ var Tr = {
14286
14286
  }
14287
14287
  listenForResize() {
14288
14288
  const { beans: e, centerContainerCtrl: t, gridBodyCtrl: s } = this, i = () => {
14289
- Ps(e, () => {
14289
+ Ts(e, () => {
14290
14290
  this.onCenterViewportResized();
14291
14291
  });
14292
14292
  };
@@ -14530,7 +14530,7 @@ var gx = class extends O {
14530
14530
  beans: { rowModel: t, rangeSvc: s, selectionSvc: i },
14531
14531
  gos: o
14532
14532
  } = this;
14533
- s && _s(o) && !oy(o) && t.isRowsToRender() ? nx(this.beans) : i && i.selectAllRowNodes({ source: "keyboardSelectAll", selectAll: pf(o) }), e.preventDefault();
14533
+ s && Us(o) && !oy(o) && t.isRowsToRender() ? nx(this.beans) : i && i.selectAllRowNodes({ source: "keyboardSelectAll", selectAll: pf(o) }), e.preventDefault();
14534
14534
  }
14535
14535
  onCtrlAndC(e, t) {
14536
14536
  if (!e || this.gos.get("enableCellTextSelection"))
@@ -14833,7 +14833,7 @@ var mx = ["topCenter", "topLeft", "topRight"], Cx = ["bottomCenter", "bottomLeft
14833
14833
  return _r(this.eViewport, this.enableRtl);
14834
14834
  }
14835
14835
  registerViewportResizeListener(e) {
14836
- const t = Ds(this.beans, this.eViewport, e);
14836
+ const t = Ps(this.beans, this.eViewport, e);
14837
14837
  this.addDestroyFunc(() => t());
14838
14838
  }
14839
14839
  isViewportInTheDOMTree() {
@@ -14921,7 +14921,7 @@ var mx = ["topCenter", "topLeft", "topRight"], Cx = ["bottomCenter", "bottomLeft
14921
14921
  const { scrollVisibleSvc: e } = this, t = e.verticalScrollShowing;
14922
14922
  this.setVerticalScrollPaddingVisible(t), this.setStickyWidth(t), this.setStickyBottomOffsetBottom();
14923
14923
  const s = t && e.getScrollbarWidth() || 0, i = Of() ? 16 : 0, o = `calc(100% + ${s + i}px)`;
14924
- Ps(this.beans, () => this.comp.setBodyViewportWidth(o)), this.updateScrollingClasses();
14924
+ Ts(this.beans, () => this.comp.setBodyViewportWidth(o)), this.updateScrollingClasses();
14925
14925
  }
14926
14926
  setGridRootRole() {
14927
14927
  const { rowGroupColsSvc: e, colModel: t } = this;
@@ -15145,7 +15145,7 @@ var um = class extends Ke {
15145
15145
  });
15146
15146
  }
15147
15147
  onScrollVisibilityChanged() {
15148
- this.invisibleScrollbar === void 0 && this.initialiseInvisibleScrollbar(), Ps(this.beans, () => this.setScrollVisible());
15148
+ this.invisibleScrollbar === void 0 && this.initialiseInvisibleScrollbar(), Ts(this.beans, () => this.setScrollVisible());
15149
15149
  }
15150
15150
  hideAndShowInvisibleScrollAsNeeded() {
15151
15151
  this.addManagedEventListeners({
@@ -15163,7 +15163,7 @@ var um = class extends Ke {
15163
15163
  const t = this.eViewport;
15164
15164
  IS(
15165
15165
  this,
15166
- () => Es(t),
15166
+ () => Ds(t),
15167
15167
  () => this.setScrollPosition(e),
15168
15168
  100
15169
15169
  );
@@ -15234,7 +15234,7 @@ var um = class extends Ke {
15234
15234
  return _r(this.eViewport, this.enableRtl);
15235
15235
  }
15236
15236
  setScrollPosition(e) {
15237
- Es(this.eViewport) || this.attemptSettingScrollPosition(e), Ur(this.eViewport, e, this.enableRtl);
15237
+ Ds(this.eViewport) || this.attemptSettingScrollPosition(e), Ur(this.eViewport, e, this.enableRtl);
15238
15238
  }
15239
15239
  }, kx = {
15240
15240
  tag: "div",
@@ -15271,7 +15271,7 @@ var um = class extends Ke {
15271
15271
  return this.eViewport.scrollTop;
15272
15272
  }
15273
15273
  setScrollPosition(e, t) {
15274
- !t && !Es(this.eViewport) && this.attemptSettingScrollPosition(e), this.eViewport.scrollTop = e;
15274
+ !t && !Ds(this.eViewport) && this.attemptSettingScrollPosition(e), this.eViewport.scrollTop = e;
15275
15275
  }
15276
15276
  }, Ox = "ag-column-first", Nx = "ag-column-last";
15277
15277
  function hm(e, t, s, i) {
@@ -15409,7 +15409,7 @@ var $x = class extends O {
15409
15409
  headerRowsChanged: e,
15410
15410
  columnHeaderHeightChanged: e,
15411
15411
  // add this to the animation frame to avoid a feedback loop
15412
- columnGroupHeaderHeightChanged: () => Ps(this.beans, () => e()),
15412
+ columnGroupHeaderHeightChanged: () => Ts(this.beans, () => e()),
15413
15413
  gridStylesChanged: e,
15414
15414
  advancedFilterEnabledChanged: e
15415
15415
  });
@@ -15590,7 +15590,7 @@ var $x = class extends O {
15590
15590
  const u = this.column.isAutoHeaderHeight();
15591
15591
  u && !r && c(), !u && r && d();
15592
15592
  }, c = () => {
15593
- r = !0, this.comp.toggleCss("ag-header-cell-auto-height", !0), n(0), a = Ds(this.beans, t, () => n(0));
15593
+ r = !0, this.comp.toggleCss("ag-header-cell-auto-height", !0), n(0), a = Ps(this.beans, t, () => n(0));
15594
15594
  }, d = () => {
15595
15595
  r = !1, a && a(), this.comp.toggleCss("ag-header-cell-auto-height", !1), a = void 0;
15596
15596
  };
@@ -16265,7 +16265,7 @@ var qx = 0, Bl = class extends O {
16265
16265
  }
16266
16266
  getHeaderCtrlForColumn(e) {
16267
16267
  const t = (s) => s?.getHeaderCellCtrls().find((i) => i.column === e);
16268
- if (Us(e))
16268
+ if ($s(e))
16269
16269
  return t(this.columnsRowCtrl);
16270
16270
  if (this.groupsRowCtrls.length !== 0)
16271
16271
  for (let s = 0; s < this.groupsRowCtrls.length; s++) {
@@ -16346,7 +16346,7 @@ var qx = 0, Bl = class extends O {
16346
16346
  return !e.getColDef().suppressHeaderFilterButton && !!this.beans.filterManager?.isFilterAllowed(e);
16347
16347
  }
16348
16348
  isHeaderContextMenuEnabled(e) {
16349
- return !(e && Us(e) ? e.getColDef() : e?.getColGroupDef())?.suppressHeaderContextMenu && this.gos.get("columnMenu") === "new";
16349
+ return !(e && $s(e) ? e.getColDef() : e?.getColGroupDef())?.suppressHeaderContextMenu && this.gos.get("columnMenu") === "new";
16350
16350
  }
16351
16351
  isHeaderMenuButtonAlwaysShowEnabled() {
16352
16352
  return this.isSuppressMenuHide();
@@ -16381,7 +16381,7 @@ var qx = 0, Bl = class extends O {
16381
16381
  e?.showMenuAfterMouseEvent(r, a, s, n, i);
16382
16382
  } else if (r) {
16383
16383
  const a = this.beans, l = a.ctrlsSvc;
16384
- l.getScrollFeature().ensureColumnVisible(r, "auto"), Ps(a, () => {
16384
+ l.getScrollFeature().ensureColumnVisible(r, "auto"), Ts(a, () => {
16385
16385
  const c = l.getHeaderRowContainerCtrl(r.getPinned())?.getHeaderCtrlForColumn(r);
16386
16386
  c && e?.showMenuAfterButtonClick(
16387
16387
  r,
@@ -16774,7 +16774,7 @@ var kh = class extends O {
16774
16774
  let e = !1, t = 0;
16775
16775
  const s = (i) => {
16776
16776
  if (i.rowHeightEstimated) {
16777
- const o = Ws(this.beans, i);
16777
+ const o = _s(this.beans, i);
16778
16778
  i.setRowTop(t), i.setRowHeight(o.height), t += o.height, e = !0;
16779
16779
  }
16780
16780
  };
@@ -16895,7 +16895,7 @@ function uF(e, t) {
16895
16895
  let s = 0, i = !1;
16896
16896
  return t.forEach((o, n) => {
16897
16897
  if (i || (i = o.rowTop !== s), o.setRowTop(s), o.rowHeightEstimated || o.rowHeight == null) {
16898
- const r = Ws(e, o).height;
16898
+ const r = _s(e, o).height;
16899
16899
  i || (i = o.rowHeight !== r), o.setRowHeight(r);
16900
16900
  }
16901
16901
  o.setRowIndex(n), s += o.rowHeight;
@@ -16970,7 +16970,7 @@ var Nh = class extends O {
16970
16970
  let e = !1, t = 0;
16971
16971
  const s = (i) => {
16972
16972
  if (i.rowHeightEstimated) {
16973
- const o = Ws(this.beans, i);
16973
+ const o = _s(this.beans, i);
16974
16974
  i.setRowTop(t), i.setRowHeight(o.height), t += o.height, e = !0;
16975
16975
  }
16976
16976
  };
@@ -17007,7 +17007,7 @@ var Nh = class extends O {
17007
17007
  if (h !== void 0)
17008
17008
  h.data !== d && h.updateData(d), l += this.setRowTopAndRowIndex(h, l, c), n.delete(u);
17009
17009
  else {
17010
- const g = new $s(this.beans);
17010
+ const g = new js(this.beans);
17011
17011
  g.id = u, g.data = d, g.rowPinned = t, l += this.setRowTopAndRowIndex(g, l, c), s.cache[u] = g, s.order.push(u);
17012
17012
  }
17013
17013
  }
@@ -17016,7 +17016,7 @@ var Nh = class extends O {
17016
17016
  s.order = r;
17017
17017
  }
17018
17018
  setRowTopAndRowIndex(e, t, s) {
17019
- return e.setRowTop(t), e.setRowHeight(Ws(this.beans, e).height), e.setRowIndex(s), e.rowHeight;
17019
+ return e.setRowTop(t), e.setRowHeight(_s(this.beans, e).height), e.setRowIndex(s), e.rowHeight;
17020
17020
  }
17021
17021
  getPinnedTopTotalHeight() {
17022
17022
  return Hh(this.pinnedTopRows);
@@ -17456,7 +17456,7 @@ function wm({ gos: e, selectionColSvc: t }, s) {
17456
17456
  const i = e.get("rowSelection"), o = s.getColDef(), { headerCheckboxSelection: n } = o;
17457
17457
  let r = !1;
17458
17458
  if (typeof i == "object") {
17459
- const l = Ts(s), c = Kd(s);
17459
+ const l = Ms(s), c = Kd(s);
17460
17460
  (qr(i) === "autoGroupColumn" && c || l && t?.isSelectionColumnEnabled()) && (r = Fr(i));
17461
17461
  } else typeof n == "function" ? r = n(me(e, { column: s, colDef: o })) : r = !!n;
17462
17462
  return r;
@@ -17574,7 +17574,7 @@ var bF = class extends O {
17574
17574
  isCellCheckboxSelection(e, t) {
17575
17575
  const s = this.gos.get("rowSelection");
17576
17576
  if (s && typeof s != "string") {
17577
- const i = Ts(e) && qi(s);
17577
+ const i = Ms(e) && qi(s);
17578
17578
  return e.isColumnFunc(t, i);
17579
17579
  } else
17580
17580
  return e.isColumnFunc(t, e.colDef.checkboxSelection);
@@ -17843,7 +17843,7 @@ var bF = class extends O {
17843
17843
  }
17844
17844
  destroy() {
17845
17845
  const { eTopGuard: e, eBottomGuard: t } = this;
17846
- zs(e), zs(t), super.destroy();
17846
+ Ws(e), Ws(t), super.destroy();
17847
17847
  }
17848
17848
  }, yF = class extends Ke {
17849
17849
  initialiseTabGuard(t) {
@@ -17893,7 +17893,7 @@ var bF = class extends O {
17893
17893
  [o, "touchcancel", a, l],
17894
17894
  // we set passive=false, as we want to prevent default on this event
17895
17895
  [o, "touchend", r, c],
17896
- [o, "contextmenu", Hs, c]
17896
+ [o, "contextmenu", Gs, c]
17897
17897
  );
17898
17898
  }
17899
17899
  this.clearLongPress(), this.longPressTimer = window.setTimeout(() => {
@@ -17909,7 +17909,7 @@ var bF = class extends O {
17909
17909
  }
17910
17910
  onTouchEnd(e) {
17911
17911
  const t = this.touchStart;
17912
- !t || !sn(t, e.changedTouches) || (this.moved || (this.eventSvc?.dispatchEvent({ type: "tap", touchStart: t }), this.checkDoubleTap(t)), this.preventClick && Hs(e), this.cancel());
17912
+ !t || !sn(t, e.changedTouches) || (this.moved || (this.eventSvc?.dispatchEvent({ type: "tap", touchStart: t }), this.checkDoubleTap(t)), this.preventClick && Gs(e), this.cancel());
17913
17913
  }
17914
17914
  onTouchCancel(e) {
17915
17915
  const t = this.touchStart;
@@ -18082,7 +18082,7 @@ var IF = class extends O {
18082
18082
  this.view = e, this.eGridHostDiv = t, this.eGui = s, this.eGui.setAttribute("grid-id", this.beans.context.getId());
18083
18083
  const { dragAndDrop: i, ctrlsSvc: o } = this.beans;
18084
18084
  i?.registerGridDropTarget(() => this.eGui, this), this.createManagedBean(new ru(this.view)), this.view.setRtlClass(this.gos.get("enableRtl") ? "ag-rtl" : "ag-ltr");
18085
- const n = Ds(this.beans, this.eGridHostDiv, this.onGridSizeChanged.bind(this));
18085
+ const n = Ps(this.beans, this.eGridHostDiv, this.onGridSizeChanged.bind(this));
18086
18086
  this.addDestroyFunc(() => n()), o.register("gridCtrl", this);
18087
18087
  }
18088
18088
  isDetailGrid() {
@@ -19464,7 +19464,7 @@ var wn = class {
19464
19464
  return new ZF(e, t, s, i, o, n);
19465
19465
  }
19466
19466
  createRowDragCompForRow(e, t) {
19467
- if (_s(this.gos))
19467
+ if (Us(this.gos))
19468
19468
  return;
19469
19469
  const s = this.getLocaleTextFunc();
19470
19470
  return this.createRowDragComp(
@@ -21252,7 +21252,7 @@ function ui(e, t, s) {
21252
21252
  function Ul(e) {
21253
21253
  const t = [];
21254
21254
  return ui(e, !0, (s) => {
21255
- Us(s) && t.push(s);
21255
+ $s(s) && t.push(s);
21256
21256
  }), t;
21257
21257
  }
21258
21258
  var n3 = class extends O {
@@ -23426,7 +23426,7 @@ var VD = class extends C2 {
23426
23426
  )) : t.style.width = `var(${e.cssName}, ${Kl}px)`, s.appendChild(t), this.sizeEls.set(e, t);
23427
23427
  let n = this.measureSizeEl(e);
23428
23428
  n === "no-styles" && !o && W(9, { variable: e });
23429
- const r = Ds(this.beans, t, () => {
23429
+ const r = Ps(this.beans, t, () => {
23430
23430
  const a = this.measureSizeEl(e);
23431
23431
  a === "detached" || a === "no-styles" || (this.lastKnownValues.set(e, a), a !== n && (n = a, this.fireStylesChangedEvent(e.changeKey)));
23432
23432
  });
@@ -25797,7 +25797,7 @@ var wP = Km(!0), bP = Km(!1), SP = class extends Ke {
25797
25797
  if (!this.eMenu)
25798
25798
  return;
25799
25799
  if (this.currentShowMenu = this.workOutShowMenu(), !this.currentShowMenu) {
25800
- zs(this.eMenu), this.eMenu = void 0;
25800
+ Ws(this.eMenu), this.eMenu = void 0;
25801
25801
  return;
25802
25802
  }
25803
25803
  const { gos: e, eMenu: t, params: s } = this, i = Mt(e);
@@ -25860,7 +25860,7 @@ var wP = Km(!0), bP = Km(!1), SP = class extends Ke {
25860
25860
  }
25861
25861
  configureFilter(e, t, s, i) {
25862
25862
  if (!e)
25863
- return zs(t), !1;
25863
+ return Ws(t), !1;
25864
25864
  const o = this.params.column;
25865
25865
  return this.addInIcon(i, t, o), this.addManagedListeners(o, { filterChanged: s }), s(), !0;
25866
25866
  }
@@ -26062,7 +26062,7 @@ var wP = Km(!0), bP = Km(!1), SP = class extends Ke {
26062
26062
  }
26063
26063
  requestFrame() {
26064
26064
  const e = this.executeFrame.bind(this, 60);
26065
- Ps(this.beans, e);
26065
+ Ts(this.beans, e);
26066
26066
  }
26067
26067
  isQueueEmpty() {
26068
26068
  return !this.ticking;
@@ -26977,7 +26977,7 @@ var qP = class extends O {
26977
26977
  onBackspaceOrDeleteKeyDown(e, t) {
26978
26978
  const { cellCtrl: s, beans: i, rowNode: o } = this, { gos: n, rangeSvc: r, eventSvc: a, editSvc: l } = i;
26979
26979
  if (a.dispatchEvent({ type: "keyShortcutChangedCellStart" }), KP(e, n.get("enableCellEditingOnBackspace")) && !l?.isEditing(s, { withOpenEditor: !0 })) {
26980
- if (r && _s(n))
26980
+ if (r && Us(n))
26981
26981
  r.clearCellRangeCellValues({ dispatchWrapperEvents: !0, wrapperEventSource: "deleteKey" });
26982
26982
  else if (s.isCellEditable()) {
26983
26983
  const { column: c } = s, d = this.beans.valueSvc.getDeleteValue(c, o);
@@ -27301,7 +27301,7 @@ var qP = class extends O {
27301
27301
  const { beans: e } = this;
27302
27302
  this.positionFeature = new ZP(this, e), this.customStyleFeature = e.cellStyles?.createCellCustomStyleFeature(this, e), this.editStyleFeature = e.editSvc?.createCellStyleFeature(this, e), this.mouseListener = new YP(this, e, this.column), this.keyboardListener = new qP(this, e, this.rowNode, this.rowCtrl), this.enableTooltipFeature();
27303
27303
  const { rangeSvc: t } = e;
27304
- t && _s(e.gos) && (this.rangeFeature = t.createCellRangeFeature(e, this)), ys(this.column) && (this.rowResizeFeature = this.beans.rowNumbersSvc.createRowNumbersRowResizerFeature(e, this));
27304
+ t && Us(e.gos) && (this.rangeFeature = t.createCellRangeFeature(e, this)), ys(this.column) && (this.rowResizeFeature = this.beans.rowNumbersSvc.createRowNumbersRowResizerFeature(e, this));
27305
27305
  }
27306
27306
  isCellSpanning() {
27307
27307
  return !1;
@@ -27386,7 +27386,7 @@ var qP = class extends O {
27386
27386
  const u = this.editSvc.prepDetailsDuringBatch(this, { compDetails: l, valueToDisplay: a });
27387
27387
  u && (u.compDetails ? l = u.compDetails : u.valueToDisplay && (a = u.valueToDisplay));
27388
27388
  }
27389
- this.comp.setRenderDetails(l, a, e), this.customRowDragComp?.refreshVisibility(), !t && n && Ps(s, () => n?.refreshHandle()), this.rowResizeFeature?.refreshRowResizer();
27389
+ this.comp.setRenderDetails(l, a, e), this.customRowDragComp?.refreshVisibility(), !t && n && Ts(s, () => n?.refreshHandle()), this.rowResizeFeature?.refreshRowResizer();
27390
27390
  }
27391
27391
  setupControlComps() {
27392
27392
  const e = this.column.getColDef();
@@ -27411,7 +27411,7 @@ var qP = class extends O {
27411
27411
  return (this.rowNode.rowPinned == null || t && kn(this.rowNode)) && !!e;
27412
27412
  }
27413
27413
  isCheckboxSelection(e) {
27414
- const { rowSelection: t, groupDisplayType: s } = this.beans.gridOptions, i = qr(t), o = Ts(this.column);
27414
+ const { rowSelection: t, groupDisplayType: s } = this.beans.gridOptions, i = qr(t), o = Ms(this.column);
27415
27415
  return s === "custom" && i !== "selectionColumn" && o ? !1 : e.checkboxSelection || o && typeof t == "object" && qi(t);
27416
27416
  }
27417
27417
  refreshShouldDestroy() {
@@ -28266,7 +28266,7 @@ var r5 = class extends O {
28266
28266
  return this.fullWidthGui ? this.fullWidthGui.element : null;
28267
28267
  }
28268
28268
  getRowYPosition() {
28269
- const e = this.allRowGuis.find((t) => Es(t.element))?.element;
28269
+ const e = this.allRowGuis.find((t) => Ds(t.element))?.element;
28270
28270
  return e ? e.getBoundingClientRect().top : 0;
28271
28271
  }
28272
28272
  onSuppressCellFocusChanged(e) {
@@ -28578,7 +28578,7 @@ var r5 = class extends O {
28578
28578
  onRowHeightChanged(e) {
28579
28579
  if (this.rowNode.rowHeight == null)
28580
28580
  return;
28581
- const t = this.rowNode.rowHeight, s = this.beans.environment.getDefaultRowHeight(), o = af(this.gos) ? Ws(this.beans, this.rowNode).height : void 0, n = o ? `${Math.min(s, o) - 2}px` : void 0;
28581
+ const t = this.rowNode.rowHeight, s = this.beans.environment.getDefaultRowHeight(), o = af(this.gos) ? _s(this.beans, this.rowNode).height : void 0, n = o ? `${Math.min(s, o) - 2}px` : void 0;
28582
28582
  this.forEachGui(e, (r) => {
28583
28583
  r.element.style.height = `${t}px`, n && r.element.style.setProperty("--ag-line-height", n);
28584
28584
  });
@@ -29624,8 +29624,8 @@ var x5 = (
29624
29624
  this.eventSvc.removeListener("cellSelectionChanged", e), this.eventSvc.removeListener("columnMoved", t), this.eventSvc.removeListener("columnPinned", t), this.eventSvc.removeListener("columnVisible", t);
29625
29625
  };
29626
29626
  this.addDestroyFunc(() => i()), this.addManagedPropertyListeners(["enableRangeSelection", "cellSelection"], () => {
29627
- _s(this.gos) ? s() : i();
29628
- }), _s(this.gos) && s();
29627
+ Us(this.gos) ? s() : i();
29628
+ }), Us(this.gos) && s();
29629
29629
  };
29630
29630
  }
29631
29631
  wireBeans(e) {
@@ -30279,7 +30279,7 @@ var x5 = (
30279
30279
  * but not execute the event until all of the data has finished being rendered to the dom.
30280
30280
  */
30281
30281
  dispatchFirstDataRenderedEvent() {
30282
- this.dataFirstRenderedFired || (this.dataFirstRenderedFired = !0, Ps(this.beans, () => {
30282
+ this.dataFirstRenderedFired || (this.dataFirstRenderedFired = !0, Ts(this.beans, () => {
30283
30283
  this.beans.eventSvc.dispatchEvent({
30284
30284
  type: "firstDataRendered",
30285
30285
  firstRow: this.firstRenderedRow,
@@ -33001,7 +33001,7 @@ var U4 = {
33001
33001
  })
33002
33002
  );
33003
33003
  else {
33004
- const h = Ls(c);
33004
+ const h = Os(c);
33005
33005
  h && l.push(
33006
33006
  h.then((g) => {
33007
33007
  a(d, e(g), {
@@ -33032,7 +33032,7 @@ var U4 = {
33032
33032
  })
33033
33033
  );
33034
33034
  else {
33035
- const n = Ls(i);
33035
+ const n = Os(i);
33036
33036
  n && s.push(
33037
33037
  n.then((r) => {
33038
33038
  this.setColFilterActive(
@@ -33094,7 +33094,7 @@ var U4 = {
33094
33094
  () => this.updateFilterFlagInColumns("filterChanged", s).then(() => {
33095
33095
  this.allColumnFilters.forEach((o) => {
33096
33096
  const { column: n, isHandler: r } = o;
33097
- i !== n.getColId() && (r && o.handler.onAnyFilterChanged?.(), Ls(o, r)?.then((a) => {
33097
+ i !== n.getColId() && (r && o.handler.onAnyFilterChanged?.(), Os(o, r)?.then((a) => {
33098
33098
  typeof a?.onAnyFilterChanged == "function" && a.onAnyFilterChanged();
33099
33099
  }));
33100
33100
  }), this.processingFilterChange = !0;
@@ -33112,7 +33112,7 @@ var U4 = {
33112
33112
  this.allColumnFilters.forEach((s) => {
33113
33113
  const i = s.isHandler;
33114
33114
  i && s.handler.onNewRowsLoaded?.();
33115
- const o = Ls(s, i);
33115
+ const o = Os(s, i);
33116
33116
  o && t.push(
33117
33117
  o.then((n) => {
33118
33118
  n.onNewRowsLoaded?.();
@@ -33146,13 +33146,13 @@ var U4 = {
33146
33146
  }
33147
33147
  getOrCreateFilterUi(e) {
33148
33148
  const t = this.getOrCreateFilterWrapper(e, !0);
33149
- return t ? Ls(t) : null;
33149
+ return t ? Os(t) : null;
33150
33150
  }
33151
33151
  getFilterUiForDisplay(e) {
33152
33152
  const t = this.getOrCreateFilterWrapper(e, !0);
33153
33153
  if (!t)
33154
33154
  return null;
33155
- const s = Ls(t);
33155
+ const s = Os(t);
33156
33156
  return s ? s.then((i) => ({
33157
33157
  comp: i,
33158
33158
  params: t.filterUi.filterParams,
@@ -33517,7 +33517,7 @@ var U4 = {
33517
33517
  this.destroyFilterUi(s, o, g, p);
33518
33518
  return;
33519
33519
  }
33520
- s.filterUi.filterParams = f, Ls(s, h)?.then((C) => {
33520
+ s.filterUi.filterParams = f, Os(s, h)?.then((C) => {
33521
33521
  (C?.refresh ? C.refresh(f) : !0) === !1 ? this.destroyFilterUi(s, o, g, p) : this.dispatchLocalEvent({
33522
33522
  type: "filterParamsChanged",
33523
33523
  column: o,
@@ -33649,7 +33649,7 @@ var U4 = {
33649
33649
  this.refreshHandlerAndUi(n, t, "api").then(() => i());
33650
33650
  return;
33651
33651
  }
33652
- const o = Ls(e);
33652
+ const o = Os(e);
33653
33653
  if (o) {
33654
33654
  o.then((n) => {
33655
33655
  if (typeof n?.setModel != "function") {
@@ -34032,7 +34032,7 @@ var q4 = class extends O {
34032
34032
  const c = () => r?.afterGuiDetached(), d = ry(this.gos) ? i ?? this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody : void 0, u = (f) => {
34033
34033
  Mh(e, !1, "contextMenu");
34034
34034
  const C = f instanceof KeyboardEvent;
34035
- this.tabListener && (this.tabListener = this.tabListener()), C && i && Es(i) && Hf(i)?.focus({ preventScroll: !0 }), c(), this.destroyBean(this.activeMenu), this.dispatchVisibleChangedEvent(!1, s, e), n?.();
34035
+ this.tabListener && (this.tabListener = this.tabListener()), C && i && Ds(i) && Hf(i)?.focus({ preventScroll: !0 }), c(), this.destroyBean(this.activeMenu), this.dispatchVisibleChangedEvent(!1, s, e), n?.();
34036
34036
  }, h = this.getLocaleTextFunc(), g = o && s !== "columnFilter" ? h("ariaLabelColumnMenu", "Column Menu") : h("ariaLabelColumnFilter", "Column Filter"), p = this.popupSvc?.addPopup({
34037
34037
  modal: !0,
34038
34038
  eChild: a,
@@ -34395,12 +34395,12 @@ var bu = class extends J2 {
34395
34395
  removeElements(e, t, s) {
34396
34396
  const i = cn(e, t, s);
34397
34397
  for (const o of i)
34398
- zs(o);
34398
+ Ws(o);
34399
34399
  }
34400
34400
  removeComponents(e, t, s) {
34401
34401
  const i = cn(e, t, s);
34402
34402
  for (const o of i)
34403
- zs(o.getGui()), this.destroyBean(o);
34403
+ Ws(o.getGui()), this.destroyBean(o);
34404
34404
  }
34405
34405
  afterGuiAttached(e) {
34406
34406
  if (super.afterGuiAttached(e), this.resetPlaceholder(), !e?.suppressFocus) {
@@ -34934,13 +34934,13 @@ var ug = 1e3, hg = 1 / 0, sT = class extends bu {
34934
34934
  getModelAsString(e, t) {
34935
34935
  const s = this.getLocaleTextFunc(), i = t === "filterToolPanel";
34936
34936
  if (!e)
34937
- return i ? Bs(this, "filterSummaryInactive") : null;
34937
+ return i ? Vs(this, "filterSummaryInactive") : null;
34938
34938
  if (e.operator != null) {
34939
34939
  const n = e, a = (n.conditions ?? []).map((c) => this.getModelAsString(c, t)), l = n.operator === "AND" ? "andCondition" : "orCondition";
34940
- return a.join(` ${Bs(this, l)} `);
34940
+ return a.join(` ${Vs(this, l)} `);
34941
34941
  } else {
34942
34942
  if (e.type === "blank" || e.type === "notBlank")
34943
- return i ? Bs(this, e.type === "blank" ? "filterSummaryBlank" : "filterSummaryNotBlank") : s(e.type, e.type);
34943
+ return i ? Vs(this, e.type === "blank" ? "filterSummaryBlank" : "filterSummaryNotBlank") : s(e.type, e.type);
34944
34944
  {
34945
34945
  const n = e, r = this.optionsFactory.getCustomOption(n.type), { displayKey: a, displayName: l, numberOfInputs: c } = r || {};
34946
34946
  return a && l && c === 0 ? s(a, l) : this.conditionToString(
@@ -34960,7 +34960,7 @@ var ug = 1e3, hg = 1 / 0, sT = class extends bu {
34960
34960
  conditionForToolPanel(e, t, s, i, o, n) {
34961
34961
  let r;
34962
34962
  const a = this.getTypeKey(e);
34963
- return a && (r = Bs(this, a)), o && n && (r = this.getLocaleTextFunc()(o, n)), r != null ? t ? `${r} ${Bs(this, "filterSummaryInRangeValues", [s(), i()])}` : `${r} ${s()}` : null;
34963
+ return a && (r = Vs(this, a)), o && n && (r = this.getLocaleTextFunc()(o, n)), r != null ? t ? `${r} ${Vs(this, "filterSummaryInRangeValues", [s(), i()])}` : `${r} ${s()}` : null;
34964
34964
  }
34965
34965
  getTypeKey(e) {
34966
34966
  const t = this.filterTypeKeys[e];
@@ -35566,7 +35566,7 @@ var hT = {
35566
35566
  conditionToString(e, t, s, i, o) {
35567
35567
  const { filter: n, filterTo: r, type: a } = e;
35568
35568
  if (t) {
35569
- const l = (d) => () => Bs(this, "filterSummaryTextQuote", [d]), c = this.conditionForToolPanel(
35569
+ const l = (d) => () => Vs(this, "filterSummaryTextQuote", [d]), c = this.conditionForToolPanel(
35570
35570
  a,
35571
35571
  s,
35572
35572
  l(n),
@@ -36256,7 +36256,7 @@ var xT = class extends O {
36256
36256
  keyShortcutChangedCellEnd: () => {
36257
36257
  let e;
36258
36258
  const { rangeSvc: t, gos: s } = this.beans;
36259
- t && _s(s) ? e = new Jl(this.cellValueChanges, void 0, void 0, [
36259
+ t && Us(s) ? e = new Jl(this.cellValueChanges, void 0, void 0, [
36260
36260
  ...t.getCellRanges()
36261
36261
  ]) : e = new Bi(this.cellValueChanges), this.pushActionsToUndoStack(e), this.isRangeInAction = !1;
36262
36262
  },
@@ -37819,7 +37819,7 @@ var PC = class extends O {
37819
37819
  }, t((h) => {
37820
37820
  if (!h)
37821
37821
  return null;
37822
- const g = h.filter((p) => !Ts(p));
37822
+ const g = h.filter((p) => !Ms(p));
37823
37823
  return [...r, ...g];
37824
37824
  });
37825
37825
  }
@@ -38109,7 +38109,7 @@ var XM = class extends bF {
38109
38109
  createDaemonNode(e) {
38110
38110
  if (!e.id)
38111
38111
  return;
38112
- const t = new $s(this.beans);
38112
+ const t = new js(this.beans);
38113
38113
  return t.id = e.id, t.data = e.data, t.__selected = e.__selected, t.level = e.level, t;
38114
38114
  }
38115
38115
  // if the id has changed for the node, then this means the rowNode
@@ -38760,7 +38760,7 @@ var l6 = {
38760
38760
  });
38761
38761
  }
38762
38762
  createRowNode(e, t) {
38763
- const s = new $s(this.beans);
38763
+ const s = new js(this.beans);
38764
38764
  s.parent = this.rootNode, s.level = t, s.group = !1, s.expanded = !1, s.setDataAndId(e, String(this.nextId++));
38765
38765
  const i = s.id, o = this.allNodesMap;
38766
38766
  return o[i] && W(2, { nodeId: i }), o[i] = s, s;
@@ -38944,7 +38944,7 @@ var l6 = {
38944
38944
  super(...arguments), this.beanName = "rowModel", this.rootNode = null, this.rowCountReady = !1, this.nodeManager = void 0, this.rowsToDisplay = [], this.rowDataUpdatedPending = !1, this.asyncTransactions = null, this.asyncTransactionsTimer = 0, this.started = !1, this.refreshingModel = !1, this.rowNodesCountReady = !1, this.stages = [], this.stagesRefreshProps = /* @__PURE__ */ new Map(), this.onRowHeightChanged_debounced = lt(this, this.onRowHeightChanged.bind(this), 100);
38945
38945
  }
38946
38946
  postConstruct() {
38947
- const e = this.beans, t = new $s(e);
38947
+ const e = this.beans, t = new js(e);
38948
38948
  this.rootNode = t, this.nodeManager = this.createBean(new g6(t));
38949
38949
  const s = this.refreshModel.bind(this, { step: "group" }), i = this.refreshModel.bind(this, {
38950
38950
  step: "group",
@@ -39000,7 +39000,7 @@ var l6 = {
39000
39000
  for (let d = l; d <= c; d++) {
39001
39001
  const u = this.getRow(d);
39002
39002
  if (u.rowHeightEstimated) {
39003
- const h = Ws(this.beans, u);
39003
+ const h = _s(this.beans, u);
39004
39004
  u.setRowHeight(h.height), o = !0, n = !0;
39005
39005
  }
39006
39006
  }
@@ -39035,7 +39035,7 @@ var l6 = {
39035
39035
  for (let r = 0, a = s.length; r < a; ++r) {
39036
39036
  const l = s[r], c = l.id;
39037
39037
  if (c != null && e?.add(c), l.rowHeight == null) {
39038
- const d = Ws(t, l, n, i);
39038
+ const d = _s(t, l, n, i);
39039
39039
  l.setRowHeight(d.height, d.estimated);
39040
39040
  }
39041
39041
  l.setRowTop(o), l.setRowIndex(r), o += l.rowHeight;
@@ -39655,7 +39655,7 @@ var L6 = {
39655
39655
  };
39656
39656
  }
39657
39657
  getColumnsToExport(e) {
39658
- const { allColumns: t = !1, skipRowGroups: s = !1, exportRowNumbers: i = !1, columnKeys: o } = e, { colModel: n, gos: r, visibleCols: a } = this, l = n.isPivotMode(), c = (h) => Ts(h) ? !1 : !ys(h) || i;
39658
+ const { allColumns: t = !1, skipRowGroups: s = !1, exportRowNumbers: i = !1, columnKeys: o } = e, { colModel: n, gos: r, visibleCols: a } = this, l = n.isPivotMode(), c = (h) => Ms(h) ? !1 : !ys(h) || i;
39659
39659
  if (o?.length)
39660
39660
  return n.getColsForKeys(o).filter(c);
39661
39661
  const d = r.get("treeData");
@@ -39870,7 +39870,7 @@ var W6 = {
39870
39870
  rowNodes: o
39871
39871
  } = this;
39872
39872
  for (let n = 0; n < e; n++) {
39873
- const r = s + n, a = new $s(i);
39873
+ const r = s + n, a = new js(i);
39874
39874
  a.setRowHeight(t), a.uiLevel = 0, a.setRowIndex(r), a.setRowTop(t * r), o.push(a);
39875
39875
  }
39876
39876
  }
@@ -39931,7 +39931,7 @@ var W6 = {
39931
39931
  const { rowNodes: t, beans: s } = this;
39932
39932
  t.forEach((o, n) => {
39933
39933
  const r = e.rowData ? e.rowData[n] : void 0;
39934
- !o.id && o.alreadyRendered && r && (t[n] = new $s(s), t[n].setRowIndex(o.rowIndex), t[n].setRowTop(o.rowTop), t[n].setRowHeight(o.rowHeight), o.clearRowTopAndRowIndex()), this.setDataAndId(t[n], r, this.startRow + n);
39934
+ !o.id && o.alreadyRendered && r && (t[n] = new js(s), t[n].setRowIndex(o.rowIndex), t[n].setRowTop(o.rowTop), t[n].setRowHeight(o.rowHeight), o.clearRowTopAndRowIndex()), this.setDataAndId(t[n], r, this.startRow + n);
39935
39935
  });
39936
39936
  const i = e.rowCount != null && e.rowCount >= 0 ? e.rowCount : void 0;
39937
39937
  this.parentCache.pageLoaded(this, i);
@@ -40098,7 +40098,7 @@ var W6 = {
40098
40098
  postConstruct() {
40099
40099
  if (this.gos.get("rowModelType") !== "infinite")
40100
40100
  return;
40101
- const e = this.beans, t = new $s(e);
40101
+ const e = this.beans, t = new js(e);
40102
40102
  this.rootNode = t, t.level = -1, this.rowHeight = li(e), this.addEventListeners(), this.addDestroyFunc(() => this.destroyCache());
40103
40103
  }
40104
40104
  start() {
@@ -40822,7 +40822,7 @@ var gI = class extends O {
40822
40822
  }
40823
40823
  setCellSelectionState(e) {
40824
40824
  const { gos: t, rangeSvc: s, colModel: i, visibleCols: o } = this.beans;
40825
- if (!_s(t) || !s)
40825
+ if (!Us(t) || !s)
40826
40826
  return;
40827
40827
  const n = [];
40828
40828
  for (const r of e?.cellRanges ?? []) {
@@ -41681,7 +41681,7 @@ var tA = class extends O {
41681
41681
  if (!e.scaleUpToFitGridWidth)
41682
41682
  return o(i);
41683
41683
  const n = wg(this.beans), r = (c) => s.leftCols.some((d) => nn(d, c)), a = (c) => s.rightCols.some((d) => nn(d, c)), l = e.colKeys.filter(
41684
- (c) => !Ts(c) && !ys(c) && !r(c) && !a(c)
41684
+ (c) => !Ms(c) && !ys(c) && !r(c) && !a(c)
41685
41685
  );
41686
41686
  this.sizeColumnsToFit(n, e.source, !0, {
41687
41687
  defaultMaxWidth: e.defaultMaxWidth,
@@ -42646,7 +42646,7 @@ var AA = {
42646
42646
  let n = !1;
42647
42647
  const r = (a) => {
42648
42648
  const l = a.__autoHeights;
42649
- let c = Ws(this.beans, a).height;
42649
+ let c = _s(this.beans, a).height;
42650
42650
  for (const d of o) {
42651
42651
  let u = l?.[d.getColId()];
42652
42652
  const h = s?.getCellSpan(d, a);
@@ -42730,7 +42730,7 @@ var AA = {
42730
42730
  this.setRowAutoHeight(o, v, n);
42731
42731
  }, l = () => a(0);
42732
42732
  l();
42733
- const c = Ds(r, t, l);
42733
+ const c = Ps(r, t, l);
42734
42734
  return s.addDestroyFunc(() => {
42735
42735
  c(), this.setRowAutoHeight(o, void 0, n);
42736
42736
  }), !0;
@@ -43876,7 +43876,7 @@ var ok = 1e3, nk = class {
43876
43876
  let Pe;
43877
43877
  const j = (xe) => {
43878
43878
  xe && (pe.insertAdjacentElement("afterbegin", xe.getGui()), ie.current.push(() => {
43879
- zs(xe.getGui()), o.destroyBean(xe), ne.current === Pe && (ne.current = void 0);
43879
+ Ws(xe.getGui()), o.destroyBean(xe), ne.current === Pe && (ne.current = void 0);
43880
43880
  }));
43881
43881
  };
43882
43882
  C && j(e.createSelectionCheckbox()), S && j(e.createDndSource()), w && (Pe = e.createRowDragComp(), ne.current = Pe, Pe && (j(Pe), Pe.refreshVisibility()));
@@ -43973,8 +43973,8 @@ var ok = 1e3, nk = class {
43973
43973
  }, Re = () => {
43974
43974
  const pe = () => l == null ? null : Z ? /* @__PURE__ */ q.createElement("span", { role: "presentation", id: `cell-${r}`, className: X, ref: se }, ye()) : ye(), Pe = (j) => Rk(j, oe, k.current, e, R);
43975
43975
  return d != null ? d.popup ? /* @__PURE__ */ q.createElement(q.Fragment, null, pe(), Pe(d)) : Pe(d) : pe();
43976
- }, Ie = () => /* @__PURE__ */ q.createElement("div", { ref: $, style: p, role: T, "col-id": n }, Z ? /* @__PURE__ */ q.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: A }, Re()) : Re());
43977
- return e.isCellSpanning() ? /* @__PURE__ */ q.createElement("div", { ref: fe, className: "ag-spanned-cell-wrapper", role: "presentation" }, Ie()) : Ie();
43976
+ }, Ae = () => /* @__PURE__ */ q.createElement("div", { ref: $, style: p, role: T, "col-id": n }, Z ? /* @__PURE__ */ q.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: A }, Re()) : Re());
43977
+ return e.isCellSpanning() ? /* @__PURE__ */ q.createElement("div", { ref: fe, className: "ag-spanned-cell-wrapper", role: "presentation" }, Ae()) : Ae();
43978
43978
  }, Dk = ft(Ek), Pk = ({ rowCtrl: e, containerType: t }) => {
43979
43979
  const { context: s, gos: i, editSvc: o } = st(mt), n = st(HC) === "default", r = L(), a = L(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = I(
43980
43980
  () => c ? e.rowNode.getRowIndexString() : null
@@ -44022,8 +44022,8 @@ var ok = 1e3, nk = class {
44022
44022
  // if we don't maintain the order, then cols will be ripped out and into the dom
44023
44023
  // when cols reordered, which would stop the CSS transitions from working
44024
44024
  setCellCtrls: (le, ye) => {
44025
- const Re = w.current, Ie = ua(Re, le, a.current);
44026
- Ie !== Re && (w.current = Ie, n ? N.current() : yn(ye, () => S(Ie)));
44025
+ const Re = w.current, Ae = ua(Re, le, a.current);
44026
+ Ae !== Re && (w.current = Ae, n ? N.current() : yn(ye, () => S(Ae)));
44027
44027
  },
44028
44028
  showFullWidth: (le) => {
44029
44029
  G.current = le.params, R(le);
@@ -44206,7 +44206,7 @@ var ok = 1e3, nk = class {
44206
44206
  },
44207
44207
  registerBodyViewportResizeListener: (Ge) => {
44208
44208
  if (Z.current) {
44209
- const rt = Ds(e, Z.current, Ge);
44209
+ const rt = Ps(e, Z.current, Ge);
44210
44210
  Ce.current.push(() => rt());
44211
44211
  }
44212
44212
  },
@@ -44242,7 +44242,7 @@ var ok = 1e3, nk = class {
44242
44242
  ), Re = B(
44243
44243
  () => Gt("ag-floating-bottom", x ? "ag-invisible" : null, G),
44244
44244
  [G, x]
44245
- ), Ie = B(
44245
+ ), Ae = B(
44246
44246
  () => ({
44247
44247
  height: n,
44248
44248
  minHeight: n,
@@ -44279,7 +44279,7 @@ var ok = 1e3, nk = class {
44279
44279
  return /* @__PURE__ */ q.createElement("div", { ref: V, className: A }, /* @__PURE__ */ q.createElement(Ck, null), ve({
44280
44280
  section: ue,
44281
44281
  className: fe,
44282
- style: Ie,
44282
+ style: Ae,
44283
44283
  children: ["topLeft", "topCenter", "topRight", "topFullWidth"]
44284
44284
  }), /* @__PURE__ */ q.createElement("div", { className: $, ref: te, role: "presentation" }, ve({
44285
44285
  section: Z,
@@ -44683,7 +44683,7 @@ var Wk = class extends c4 {
44683
44683
  e.node.setRowHeight(F), (qe(n) || Ri(n)) && r.onRowHeightChanged();
44684
44684
  }, 0);
44685
44685
  };
44686
- v.current = Ds(s, x, k), k();
44686
+ v.current = Ps(s, x, k), k();
44687
44687
  }
44688
44688
  }, []), R = D((x) => {
44689
44689
  f.current?.registerDetailWithMaster(x);
@@ -44763,7 +44763,7 @@ const Kk = ee(
44763
44763
  onClose: i,
44764
44764
  ...o
44765
44765
  }) => /* @__PURE__ */ m(
44766
- Ae,
44766
+ Ie,
44767
44767
  {
44768
44768
  "aria-label": e,
44769
44769
  className: ge("text-secondary hover:enabled:text-accent-primary", t),
@@ -45275,7 +45275,7 @@ const qC = ({
45275
45275
  const ye = le.data ? i?.(le.data) ?? [] : [];
45276
45276
  let Re = null;
45277
45277
  typeof $ == "function" ? Re = /* @__PURE__ */ m($, { ...le }) : Re = U(le);
45278
- const Ie = le.data ? p(le.data) : null, pe = Ie ? l?.has(Ie) : !1;
45278
+ const Ae = le.data ? p(le.data) : null, pe = Ae ? l?.has(Ae) : !1;
45279
45279
  return /* @__PURE__ */ m(
45280
45280
  At,
45281
45281
  {
@@ -45592,7 +45592,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45592
45592
  R.id
45593
45593
  )),
45594
45594
  children: /* @__PURE__ */ m(
45595
- Ae,
45595
+ Ie,
45596
45596
  {
45597
45597
  iconBefore: /* @__PURE__ */ m(Fn, { size: 18 }),
45598
45598
  className: ee(
@@ -45775,7 +45775,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45775
45775
  iconClassName: e,
45776
45776
  ...t
45777
45777
  }) => /* @__PURE__ */ m(
45778
- Ae,
45778
+ Ie,
45779
45779
  {
45780
45780
  ...t,
45781
45781
  iconBefore: /* @__PURE__ */ m(En, { ...de, className: e || "" })
@@ -45792,7 +45792,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45792
45792
  disableTooltip: l,
45793
45793
  onChange: c
45794
45794
  }) => /* @__PURE__ */ m(
45795
- js,
45795
+ Es,
45796
45796
  {
45797
45797
  tooltip: l ? null : e,
45798
45798
  triggerClassName: ge("flex", o),
@@ -45934,7 +45934,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45934
45934
  }
45935
45935
  ),
45936
45936
  /* @__PURE__ */ m(
45937
- js,
45937
+ Es,
45938
45938
  {
45939
45939
  tooltip: x ? void 0 : R || i,
45940
45940
  triggerClassName: ee(l, "flex-1"),
@@ -46169,7 +46169,7 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
46169
46169
  "flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
46170
46170
  n
46171
46171
  ),
46172
- children: /* @__PURE__ */ m(js, { tooltip: S, children: S })
46172
+ children: /* @__PURE__ */ m(Es, { tooltip: S, children: S })
46173
46173
  }
46174
46174
  ) : S : /* @__PURE__ */ m("span", {});
46175
46175
  return /* @__PURE__ */ m(hd, { id: s, children: /* @__PURE__ */ m(
@@ -46225,13 +46225,13 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
46225
46225
  var Rn = /* @__PURE__ */ ((e) => (e.Info = "info", e.Danger = "danger", e))(Rn || {});
46226
46226
  const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-150 px-6 py-4", x8 = "Cancel", F8 = "Ok", Mg = {
46227
46227
  [Rn.Info]: {
46228
- confirmVariant: He.Primary,
46229
- cancelVariant: He.Secondary
46228
+ confirmVariant: Ne.Primary,
46229
+ cancelVariant: Ne.Secondary
46230
46230
  },
46231
46231
  [Rn.Danger]: {
46232
46232
  container: "dial-danger-popup",
46233
- confirmVariant: He.Danger,
46234
- cancelVariant: He.Secondary
46233
+ confirmVariant: Ne.Danger,
46234
+ cancelVariant: Ne.Secondary
46235
46235
  }
46236
46236
  }, E8 = ({
46237
46237
  header: e,
@@ -46255,15 +46255,15 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46255
46255
  }) => {
46256
46256
  const w = r ? null : /* @__PURE__ */ z("div", { className: y8, children: [
46257
46257
  /* @__PURE__ */ m(
46258
- Ae,
46258
+ Ie,
46259
46259
  {
46260
- variant: He.Secondary,
46260
+ variant: Ne.Secondary,
46261
46261
  label: n,
46262
46262
  onClick: () => h ? h() : d?.()
46263
46263
  }
46264
46264
  ),
46265
46265
  /* @__PURE__ */ m(
46266
- Ae,
46266
+ Ie,
46267
46267
  {
46268
46268
  variant: Mg[f].confirmVariant,
46269
46269
  className: c,
@@ -46300,7 +46300,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46300
46300
  "flex gap-x-2 gap-y-1",
46301
46301
  t
46302
46302
  ),
46303
- children: e?.map((o) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(js, { tooltip: o, children: /* @__PURE__ */ m(
46303
+ children: e?.map((o) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(Es, { tooltip: o, children: /* @__PURE__ */ m(
46304
46304
  Ed,
46305
46305
  {
46306
46306
  tag: o,
@@ -46373,7 +46373,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46373
46373
  (l || c) && "dial-input-error"
46374
46374
  ),
46375
46375
  children: [
46376
- /* @__PURE__ */ m(js, { tooltip: p == null ? void 0 : String(p), children: p || !u ? /* @__PURE__ */ m("span", { className: o, children: p }) : /* @__PURE__ */ m("span", { className: "text-secondary", children: u }) }),
46376
+ /* @__PURE__ */ m(Es, { tooltip: p == null ? void 0 : String(p), children: p || !u ? /* @__PURE__ */ m("span", { className: o, children: p }) : /* @__PURE__ */ m("span", { className: "text-secondary", children: u }) }),
46377
46377
  !s && /* @__PURE__ */ m("div", { className: "flex-shrink-0", children: /* @__PURE__ */ m(
46378
46378
  Ve,
46379
46379
  {
@@ -46447,17 +46447,17 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46447
46447
  size: b,
46448
46448
  footer: /* @__PURE__ */ z("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
46449
46449
  /* @__PURE__ */ m(
46450
- Ae,
46450
+ Ie,
46451
46451
  {
46452
- variant: He.Secondary,
46452
+ variant: Ne.Secondary,
46453
46453
  label: g,
46454
46454
  onClick: x
46455
46455
  }
46456
46456
  ),
46457
46457
  /* @__PURE__ */ m(
46458
- Ae,
46458
+ Ie,
46459
46459
  {
46460
- variant: He.Primary,
46460
+ variant: Ne.Primary,
46461
46461
  label: p,
46462
46462
  onClick: E,
46463
46463
  disabled: !f
@@ -46499,17 +46499,17 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46499
46499
  }) => {
46500
46500
  const f = o ? null : /* @__PURE__ */ z("div", { className: M8, children: [
46501
46501
  /* @__PURE__ */ m(
46502
- Ae,
46502
+ Ie,
46503
46503
  {
46504
- variant: He.Secondary,
46504
+ variant: Ne.Secondary,
46505
46505
  label: i,
46506
46506
  onClick: () => d ? d() : l?.()
46507
46507
  }
46508
46508
  ),
46509
46509
  /* @__PURE__ */ m(
46510
- Ae,
46510
+ Ie,
46511
46511
  {
46512
- variant: He.Primary,
46512
+ variant: Ne.Primary,
46513
46513
  className: a,
46514
46514
  label: s,
46515
46515
  disabled: n,
@@ -46694,17 +46694,17 @@ const L8 = {
46694
46694
  }, W7 = ({
46695
46695
  placeholder: e = "",
46696
46696
  selectedItems: t = [],
46697
- updateSelected: s,
46698
- listClassName: i,
46699
- listElementClassName: o,
46700
- containerClassName: n,
46701
- inputClassName: r
46697
+ listClassName: s,
46698
+ listElementClassName: i,
46699
+ containerClassName: o,
46700
+ inputClassName: n,
46701
+ onChange: r
46702
46702
  }) => {
46703
46703
  const [a, l] = I(""), c = D(
46704
46704
  (u) => {
46705
- u.key === "Enter" && (s([...t, u.currentTarget.value]), l("")), (u.key === "Backspace" || u.key === "Delete") && t.length && !a && s(t.slice(0, -1));
46705
+ u.key === "Enter" && (r([...t, u.currentTarget.value]), l("")), (u.key === "Backspace" || u.key === "Delete") && t.length && !a && r(t.slice(0, -1));
46706
46706
  },
46707
- [t, s, a]
46707
+ [t, r, a]
46708
46708
  ), d = D(
46709
46709
  (u) => {
46710
46710
  l(u.target.value);
@@ -46716,15 +46716,15 @@ const L8 = {
46716
46716
  {
46717
46717
  className: ee([
46718
46718
  "dial-input px-3 py-2 flex flex-row items-center flex-wrap w-fit gap-2",
46719
- n
46719
+ o
46720
46720
  ]),
46721
46721
  children: [
46722
46722
  /* @__PURE__ */ m(
46723
46723
  ev,
46724
46724
  {
46725
46725
  selectedItems: t,
46726
- listClassName: i,
46727
- listElementClassName: o
46726
+ listClassName: s,
46727
+ listElementClassName: i
46728
46728
  }
46729
46729
  ),
46730
46730
  /* @__PURE__ */ m(
@@ -46732,7 +46732,7 @@ const L8 = {
46732
46732
  {
46733
46733
  type: "text",
46734
46734
  value: a,
46735
- className: ee(["border-0 bg-transparent p-0", r]),
46735
+ className: ee(["border-0 bg-transparent p-0", n]),
46736
46736
  placeholder: t?.length ? "" : e,
46737
46737
  onKeyDown: c,
46738
46738
  onChange: d
@@ -46936,14 +46936,14 @@ const z8 = ({
46936
46936
  const ye = !t && le ? se[0] : void 0, Re = B(
46937
46937
  () => ye ? e.find((j) => j.value === ye) : void 0,
46938
46938
  [e, ye]
46939
- ), Ie = D(() => !t || se.length === 0 ? null : /* @__PURE__ */ m(
46939
+ ), Ae = D(() => !t || se.length === 0 ? null : /* @__PURE__ */ m(
46940
46940
  sv,
46941
46941
  {
46942
46942
  options: e,
46943
46943
  selectedValues: se,
46944
46944
  handleRemoveTag: oe
46945
46945
  }
46946
- ), [t, e, se, oe]), pe = D(() => t ? le ? Ie() : /* @__PURE__ */ m("span", { className: "text-secondary truncate", children: c }) : Re ? /* @__PURE__ */ z(Be, { children: [
46946
+ ), [t, e, se, oe]), pe = D(() => t ? le ? Ae() : /* @__PURE__ */ m("span", { className: "text-secondary truncate", children: c }) : Re ? /* @__PURE__ */ z(Be, { children: [
46947
46947
  Re.icon && /* @__PURE__ */ m(Ve, { icon: Re.icon }),
46948
46948
  /* @__PURE__ */ m(
46949
46949
  wt,
@@ -46959,7 +46959,7 @@ const z8 = ({
46959
46959
  a,
46960
46960
  i,
46961
46961
  c,
46962
- Ie,
46962
+ Ae,
46963
46963
  Re
46964
46964
  ]);
46965
46965
  xn(T, () => ({
@@ -47003,7 +47003,7 @@ const z8 = ({
47003
47003
  }
47004
47004
  ),
47005
47005
  b && /* @__PURE__ */ m(
47006
- Ae,
47006
+ Ie,
47007
47007
  {
47008
47008
  "aria-label": "Close select",
47009
47009
  className: "shrink-0",
@@ -47862,9 +47862,9 @@ const tL = function(t, s, i) {
47862
47862
  t && /* @__PURE__ */ m("p", { className: "mb-1", children: t }),
47863
47863
  s && /* @__PURE__ */ m("p", { className: "mb-0.5", children: s }),
47864
47864
  i && /* @__PURE__ */ m(
47865
- Ae,
47865
+ Ie,
47866
47866
  {
47867
- variant: He.Tertiary,
47867
+ variant: Ne.Tertiary,
47868
47868
  label: i,
47869
47869
  onClick: () => u.current?.click()
47870
47870
  }
@@ -47981,9 +47981,9 @@ const tL = function(t, s, i) {
47981
47981
  ),
47982
47982
  a && !!i?.length && /* @__PURE__ */ z("div", { className: "flex flex-row items-center gap-x-2", children: [
47983
47983
  /* @__PURE__ */ m(
47984
- Ae,
47984
+ Ie,
47985
47985
  {
47986
- variant: He.Tertiary,
47986
+ variant: Ne.Tertiary,
47987
47987
  className: "!text-error",
47988
47988
  iconBefore: /* @__PURE__ */ m(En, { ...de }),
47989
47989
  label: c,
@@ -47991,9 +47991,9 @@ const tL = function(t, s, i) {
47991
47991
  }
47992
47992
  ),
47993
47993
  (o ? o > i?.length : !0) && /* @__PURE__ */ m(
47994
- Ae,
47994
+ Ie,
47995
47995
  {
47996
- variant: He.Tertiary,
47996
+ variant: Ne.Tertiary,
47997
47997
  iconBefore: /* @__PURE__ */ m(uw, { ...de }),
47998
47998
  label: d,
47999
47999
  onClick: g
@@ -48037,10 +48037,10 @@ const tL = function(t, s, i) {
48037
48037
  items: e.items
48038
48038
  },
48039
48039
  onOpenChange: (o) => s(o),
48040
- children: /* @__PURE__ */ m(Ae, { ...e, iconAfter: i })
48040
+ children: /* @__PURE__ */ m(Ie, { ...e, iconAfter: i })
48041
48041
  }
48042
48042
  ) });
48043
- }, aL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-2", Hg = "w-full text-secondary flex items-center gap-2", lL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", cL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", dL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", uL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", hL = 280, gL = "Files", Vs = 20, pL = "Files", rc = ".dial_folder", fL = 280, mL = 460, ac = 44, CL = 56, vL = 800;
48043
+ }, aL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-2", Hg = "w-full text-secondary flex items-center gap-2", lL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", cL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", dL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", uL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", hL = 280, gL = "Files", zs = 20, pL = "Files", rc = ".dial_folder", fL = 280, mL = 460, ac = 44, CL = 56, vL = 800;
48044
48044
  var Le = /* @__PURE__ */ ((e) => (e.ITEM = "item", e.FOLDER = "folder", e))(Le || {}), wL = /* @__PURE__ */ ((e) => (e.FILE = "FILE", e.PROMPT = "PROMPT", e.CONVERSATION = "CONVERSATION", e.APPLICATION = "APPLICATION", e.TOOLSET = "TOOL_SET", e))(wL || {}), bL = /* @__PURE__ */ ((e) => (e.READ = "READ", e.WRITE = "WRITE", e.SHARE = "SHARE", e))(bL || {});
48045
48045
  const Si = (e, t) => {
48046
48046
  if (!(!e || !e.length || !t))
@@ -48162,7 +48162,7 @@ const EL = ({
48162
48162
  inputRef: p,
48163
48163
  onChange: f
48164
48164
  }) => {
48165
- const C = () => d ? /* @__PURE__ */ m(js, { tooltip: u, children: g || /* @__PURE__ */ m(
48165
+ const C = () => d ? /* @__PURE__ */ m(Es, { tooltip: u, children: g || /* @__PURE__ */ m(
48166
48166
  gw,
48167
48167
  {
48168
48168
  ...de,
@@ -48432,7 +48432,7 @@ const pa = ({
48432
48432
  type: H ? Qt.Folder : Qt.File,
48433
48433
  loading: ue,
48434
48434
  shared: te,
48435
- iconSize: Vs,
48435
+ iconSize: zs,
48436
48436
  ...!Z && {
48437
48437
  editing: U,
48438
48438
  onSave: C,
@@ -48546,10 +48546,10 @@ const pa = ({
48546
48546
  }, [u, S]), x = D(() => {
48547
48547
  (!d || String(d).trim() === "") && f?.("");
48548
48548
  }, [d, f]), E = D(() => w && S ? /* @__PURE__ */ m(
48549
- Ae,
48549
+ Ie,
48550
48550
  {
48551
48551
  className: "!p-[9px]",
48552
- variant: He.Secondary,
48552
+ variant: Ne.Secondary,
48553
48553
  iconBefore: /* @__PURE__ */ m(fw, { ...de }),
48554
48554
  onClick: () => {
48555
48555
  y(!1), f?.("");
@@ -48631,7 +48631,7 @@ const uv = () => {
48631
48631
  areHiddenFilesVisible: i,
48632
48632
  onToggleHiddenFiles: o,
48633
48633
  isNewButtonVisible: n,
48634
- newButtonVariant: r = He.Secondary,
48634
+ newButtonVariant: r = Ne.Secondary,
48635
48635
  newButtonDropdownItems: a = [],
48636
48636
  newButtonLabel: l = "New",
48637
48637
  hiddenFilesSwitcherLabel: c = "Hidden files",
@@ -48688,7 +48688,7 @@ const uv = () => {
48688
48688
  menu: { items: g },
48689
48689
  allowedPlacements: ["bottom", "bottom-start"],
48690
48690
  children: /* @__PURE__ */ m(
48691
- Ae,
48691
+ Ie,
48692
48692
  {
48693
48693
  className: "h-[38px]",
48694
48694
  iconBefore: /* @__PURE__ */ m(
@@ -48785,11 +48785,11 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48785
48785
  ref: a,
48786
48786
  className: "absolute top-0 left-0 invisible pointer-events-none overflow-hidden whitespace-nowrap flex gap-3",
48787
48787
  children: s.map(({ key: u, icon: h, title: g }) => /* @__PURE__ */ m(
48788
- Ae,
48788
+ Ie,
48789
48789
  {
48790
48790
  iconBefore: h,
48791
48791
  label: g,
48792
- variant: He.Secondary,
48792
+ variant: Ne.Secondary,
48793
48793
  hideTitleOnMobile: !0
48794
48794
  },
48795
48795
  u
@@ -48805,12 +48805,12 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48805
48805
  "aria-label": "File bulk actions",
48806
48806
  children: [
48807
48807
  /* @__PURE__ */ m("div", { ref: r, children: /* @__PURE__ */ m(
48808
- Ae,
48808
+ Ie,
48809
48809
  {
48810
48810
  label: d,
48811
48811
  onClick: t,
48812
48812
  textClassName: "text-accent-primary whitespace-nowrap",
48813
- variant: He.Tertiary,
48813
+ variant: Ne.Tertiary,
48814
48814
  iconBefore: /* @__PURE__ */ m(go, { ...de, className: "text-accent-primary" })
48815
48815
  }
48816
48816
  ) }),
@@ -48821,7 +48821,7 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48821
48821
  menu: { items: c },
48822
48822
  allowedPlacements: ["bottom", "bottom-start"],
48823
48823
  children: /* @__PURE__ */ m(
48824
- Ae,
48824
+ Ie,
48825
48825
  {
48826
48826
  className: "h-[38px]",
48827
48827
  iconBefore: /* @__PURE__ */ m(
@@ -48836,12 +48836,12 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48836
48836
  }
48837
48837
  ),
48838
48838
  l.map(({ key: u, icon: h, title: g, onClick: p, disabled: f }) => /* @__PURE__ */ m(
48839
- Ae,
48839
+ Ie,
48840
48840
  {
48841
48841
  className: "!p-[9px]",
48842
48842
  iconBefore: h,
48843
48843
  label: g,
48844
- variant: He.Secondary,
48844
+ variant: Ne.Secondary,
48845
48845
  hideTitleOnMobile: !0,
48846
48846
  disabled: f,
48847
48847
  onClick: (C) => p?.({ key: u, domEvent: C })
@@ -49295,26 +49295,26 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49295
49295
  u(void 0), p.current = $;
49296
49296
  const fe = _(A);
49297
49297
  if (fe.length > 0) {
49298
- const Ie = s ? (s / 1048576).toFixed(2) : 0, pe = o.oversizedFiles || `Files exceed maximum size (${Ie}MB): ${fe.join(", ")}`;
49298
+ const Ae = s ? (s / 1048576).toFixed(2) : 0, pe = o.oversizedFiles || `Files exceed maximum size (${Ae}MB): ${fe.join(", ")}`;
49299
49299
  return u(pe), !1;
49300
49300
  }
49301
49301
  if (t)
49302
49302
  try {
49303
- const Ie = await t(
49303
+ const Ae = await t(
49304
49304
  A,
49305
49305
  $,
49306
49306
  Y
49307
49307
  );
49308
- if (!Ie.valid)
49308
+ if (!Ae.valid)
49309
49309
  return u(
49310
- Ie.message || o.validationFailed || "Validation failed"
49310
+ Ae.message || o.validationFailed || "Validation failed"
49311
49311
  ), !1;
49312
49312
  } catch {
49313
49313
  return u(
49314
49314
  o.validationError || "Validation error occurred"
49315
49315
  ), !1;
49316
49316
  }
49317
- const le = new Map(A.map((Ie) => [Ie.name, Ie]));
49317
+ const le = new Map(A.map((Ae) => [Ae.name, Ae]));
49318
49318
  C(le);
49319
49319
  const ye = H(A, Y);
49320
49320
  return w({ destinationFolder: Y }), x(Y, ye, {
@@ -49414,7 +49414,7 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49414
49414
  }
49415
49415
  const ye = le.name.replace(/\.zip$/i, "");
49416
49416
  if (Y.some(
49417
- (Ie) => Ie.nodeType === Le.FOLDER && Ie.name.toLowerCase() === ye.toLowerCase()
49417
+ (Ae) => Ae.nodeType === Le.FOLDER && Ae.name.toLowerCase() === ye.toLowerCase()
49418
49418
  )) {
49419
49419
  u(
49420
49420
  o.validationFailed || `Folder with name "${ye}" already exists`
@@ -49677,7 +49677,7 @@ const QL = ({
49677
49677
  return /* @__PURE__ */ z(Be, { children: [
49678
49678
  e,
49679
49679
  /* @__PURE__ */ m(
49680
- Ae,
49680
+ Ie,
49681
49681
  {
49682
49682
  disabled: i,
49683
49683
  className: n,
@@ -49859,19 +49859,19 @@ const r7 = ({
49859
49859
  defaultSelectedPaths: l,
49860
49860
  onSelectedPathsChange: c
49861
49861
  }), ye = B(() => {
49862
- const Ne = /* @__PURE__ */ new Map();
49862
+ const He = /* @__PURE__ */ new Map();
49863
49863
  return $.forEach((Pt) => {
49864
49864
  const ts = Si(s, Pt);
49865
- ts && Ne.set(Pt, ts);
49866
- }), Ne;
49867
- }, [$, s]), { currentPath: Re, setCurrentPath: Ie, handlePathChange: pe } = WL({
49865
+ ts && He.set(Pt, ts);
49866
+ }), He;
49867
+ }, [$, s]), { currentPath: Re, setCurrentPath: Ae, handlePathChange: pe } = WL({
49868
49868
  path: o,
49869
49869
  defaultPath: n,
49870
49870
  onPathChange: S,
49871
49871
  onSelectionClear: fe
49872
49872
  }), [Pe, j] = I(), xe = w?.destinationFolderPath ?? Pe, ve = D(
49873
- (Ne) => {
49874
- w?.setDestinationFolderPath ? w.setDestinationFolderPath(Ne) : j(Ne);
49873
+ (He) => {
49874
+ w?.setDestinationFolderPath ? w.setDestinationFolderPath(He) : j(He);
49875
49875
  },
49876
49876
  [w]
49877
49877
  ), { areHiddenFilesVisible: De, toggleHiddenFilesVisibility: Je } = BL({
@@ -49930,7 +49930,7 @@ const r7 = ({
49930
49930
  handleConflictDuplicate: Gn,
49931
49931
  handleConflictDecideForEach: Bn
49932
49932
  } = zL({
49933
- getDestinationFiles: (Ne) => Gg(s, Ne)?.items ?? [],
49933
+ getDestinationFiles: (He) => Gg(s, He)?.items ?? [],
49934
49934
  onCopyFiles: R,
49935
49935
  onMoveToFiles: x,
49936
49936
  onCopySuccess: fe,
@@ -49988,20 +49988,20 @@ const r7 = ({
49988
49988
  allowedFileTypes: Y,
49989
49989
  validationMessages: _
49990
49990
  }), sl = D(
49991
- (Ne) => {
49991
+ (He) => {
49992
49992
  const Pt = Re ?? "", ts = Dt?.items ?? [];
49993
- Mi(Ne, Pt, ts);
49993
+ Mi(He, Pt, ts);
49994
49994
  },
49995
49995
  [Re, Dt, Mi]
49996
49996
  ), ko = D(() => {
49997
- const Ne = Re ?? "", Pt = Dt?.items ?? [];
49998
- Io(Ne, Pt);
49997
+ const He = Re ?? "", Pt = Dt?.items ?? [];
49998
+ Io(He, Pt);
49999
49999
  }, [Re, Dt, Io]), il = D(() => {
50000
- const Ne = Re ?? "", Pt = Dt?.items ?? [];
50001
- it(Ne, Pt);
50000
+ const He = Re ?? "", Pt = Dt?.items ?? [];
50001
+ it(He, Pt);
50002
50002
  }, [Re, Dt, it]), {
50003
50003
  isCreatingFolder: Lo,
50004
- newFolderTempId: Ms,
50004
+ newFolderTempId: Is,
50005
50005
  startFolderCreation: Oo,
50006
50006
  cancelFolderCreation: No,
50007
50007
  saveFolderCreation: qn,
@@ -50043,8 +50043,8 @@ const r7 = ({
50043
50043
  owner: dt.owner
50044
50044
  }));
50045
50045
  }
50046
- const Ne = so(Fo).trim(), Pt = Dt?.items ?? [];
50047
- let ts = Ne ? yL(Dt) : Pt;
50046
+ const He = so(Fo).trim(), Pt = Dt?.items ?? [];
50047
+ let ts = He ? yL(Dt) : Pt;
50048
50048
  De || (ts = ts.filter((Ue) => !nd(Ue)));
50049
50049
  const ul = ts.map((Ue) => ({
50050
50050
  id: Ue.id ?? Ue.path,
@@ -50059,19 +50059,19 @@ const r7 = ({
50059
50059
  owner: Ue.owner,
50060
50060
  contentType: Ue.contentType
50061
50061
  }));
50062
- if (Lo && Ms && !Ne && ul.unshift({
50063
- id: Ms,
50062
+ if (Lo && Is && !He && ul.unshift({
50063
+ id: Is,
50064
50064
  name: "",
50065
50065
  updatedAt: void 0,
50066
50066
  size: "",
50067
50067
  author: void 0,
50068
- path: Ms,
50068
+ path: Is,
50069
50069
  nodeType: Le.FOLDER,
50070
50070
  extension: void 0,
50071
50071
  isTemporary: !0,
50072
50072
  owner: void 0
50073
- }), !Ne) return ul;
50074
- const Cv = Ne.split(/\s+/).filter(Boolean);
50073
+ }), !He) return ul;
50074
+ const Cv = He.split(/\s+/).filter(Boolean);
50075
50075
  return ul.filter((Ue) => {
50076
50076
  if (Ue.isTemporary) return !0;
50077
50077
  const Ct = so(Ue.name), dt = so(Ue.author), vv = SL(Ue.extension);
@@ -50086,20 +50086,20 @@ const r7 = ({
50086
50086
  Fo,
50087
50087
  De,
50088
50088
  Lo,
50089
- Ms
50090
- ]), Is = D(
50091
- (Ne) => {
50092
- pe(Ne.path);
50089
+ Is
50090
+ ]), As = D(
50091
+ (He) => {
50092
+ pe(He.path);
50093
50093
  },
50094
50094
  [pe]
50095
- ), As = D(
50096
- (Ne) => {
50097
- pe(Ne);
50095
+ ), ks = D(
50096
+ (He) => {
50097
+ pe(He);
50098
50098
  },
50099
50099
  [pe]
50100
50100
  ), Ho = D(
50101
- (Ne) => {
50102
- Ne.nodeType === Le.FOLDER ? pe(Ne.path) : y?.(Ne);
50101
+ (He) => {
50102
+ He.nodeType === Le.FOLDER ? pe(He.path) : y?.(He);
50103
50103
  },
50104
50104
  [pe, y]
50105
50105
  ), { expandedPaths: Zn, setExpandedPaths: nl, collapseAll: Qs } = dv({
@@ -50143,7 +50143,7 @@ const r7 = ({
50143
50143
  folderCreationValidationMessages: ue
50144
50144
  },
50145
50145
  currentPath: Re,
50146
- setCurrentPath: Ie,
50146
+ setCurrentPath: Ae,
50147
50147
  searchValue: Na,
50148
50148
  effectiveSearchValue: Fo,
50149
50149
  setSearchValue: Ha,
@@ -50181,8 +50181,8 @@ const r7 = ({
50181
50181
  deleteConfirmationOpen: Vn,
50182
50182
  itemsToDelete: zn,
50183
50183
  handlePathChange: pe,
50184
- handleTreeItemClick: Is,
50185
- handleBreadcrumbItemClick: As,
50184
+ handleTreeItemClick: As,
50185
+ handleBreadcrumbItemClick: ks,
50186
50186
  handleSearchChange: Ga,
50187
50187
  handleTableRowClick: Ho,
50188
50188
  onTableFileClick: y,
@@ -50202,7 +50202,7 @@ const r7 = ({
50202
50202
  newActions: ol,
50203
50203
  isNewButtonVisible: K,
50204
50204
  isCreatingFolder: Lo,
50205
- newFolderTempId: Ms,
50205
+ newFolderTempId: Is,
50206
50206
  startFolderCreation: Oo,
50207
50207
  cancelFolderCreation: No,
50208
50208
  saveFolderCreation: qn,
@@ -50347,11 +50347,14 @@ const fv = ({
50347
50347
  onValidateUpload: c,
50348
50348
  maxFileSize: d,
50349
50349
  header: u,
50350
- ...h
50350
+ sourceFolder: h,
50351
+ disabledPathTooltip: g = "Unavailable for the original path. Please select another folder",
50352
+ path: p,
50353
+ ...f
50351
50354
  }) => {
50352
- const [g, p] = I(!1), f = L(null), C = D((w) => {
50353
- p(w);
50354
- }, []), v = r === tt.Copy ? "Copy to" : "Move to";
50355
+ const [C, v] = I(!1), w = L(null), b = D((R) => {
50356
+ v(R);
50357
+ }, []), S = r === tt.Copy ? "Copy to" : "Move to", y = B(() => !p || !h ? !1 : h === p, [p, h]);
50355
50358
  return /* @__PURE__ */ m(
50356
50359
  yo,
50357
50360
  {
@@ -50364,13 +50367,13 @@ const fv = ({
50364
50367
  footer: /* @__PURE__ */ z("div", { className: "flex justify-between space-x-2 py-4 px-6", children: [
50365
50368
  /* @__PURE__ */ z("div", { className: "flex space-x-4", children: [
50366
50369
  /* @__PURE__ */ m(
50367
- Ae,
50370
+ Ie,
50368
50371
  {
50369
50372
  label: n,
50370
- variant: He.Tertiary,
50373
+ variant: Ne.Tertiary,
50371
50374
  iconBefore: /* @__PURE__ */ m(vw, { ...de }),
50372
50375
  onClick: () => {
50373
- f.current?.createFolder();
50376
+ w.current?.createFolder();
50374
50377
  }
50375
50378
  }
50376
50379
  ),
@@ -50379,15 +50382,15 @@ const fv = ({
50379
50382
  "div",
50380
50383
  {
50381
50384
  className: "inline-flex items-center cursor-pointer",
50382
- onClick: (w) => {
50383
- w.stopPropagation(), C(!g);
50385
+ onClick: (R) => {
50386
+ R.stopPropagation(), b(!C);
50384
50387
  },
50385
50388
  children: /* @__PURE__ */ m(
50386
50389
  JC,
50387
50390
  {
50388
50391
  label: a,
50389
- isOn: g,
50390
- onChange: C,
50392
+ isOn: C,
50393
+ onChange: b,
50391
50394
  switchId: "hidden-files-switch"
50392
50395
  }
50393
50396
  )
@@ -50396,39 +50399,49 @@ const fv = ({
50396
50399
  ] }),
50397
50400
  /* @__PURE__ */ z("div", { className: "flex space-x-4", children: [
50398
50401
  /* @__PURE__ */ m(
50399
- Ae,
50402
+ Ie,
50400
50403
  {
50401
50404
  onClick: e,
50402
50405
  label: "Cancel",
50403
- variant: He.Secondary
50406
+ variant: Ne.Secondary
50404
50407
  }
50405
50408
  ),
50406
- /* @__PURE__ */ m(
50407
- Ae,
50409
+ y ? /* @__PURE__ */ m(Es, { tooltip: g, children: /* @__PURE__ */ m(
50410
+ Ie,
50408
50411
  {
50409
50412
  onClick: t,
50410
50413
  label: r === "copy" ? i : o,
50411
- variant: He.Primary
50414
+ variant: Ne.Primary,
50415
+ disabled: y,
50416
+ "aria-disabled": y
50417
+ }
50418
+ ) }) : /* @__PURE__ */ m(
50419
+ Ie,
50420
+ {
50421
+ onClick: t,
50422
+ label: r === "copy" ? i : o,
50423
+ variant: Ne.Primary
50412
50424
  }
50413
50425
  )
50414
50426
  ] })
50415
50427
  ] }),
50416
- header: u ?? v,
50428
+ header: u ?? S,
50417
50429
  children: /* @__PURE__ */ m(
50418
50430
  y7,
50419
50431
  {
50420
- ...h,
50421
- actionsRef: f,
50422
- showHiddenFiles: g,
50423
- onShowHiddenFilesChange: C,
50432
+ ...f,
50433
+ actionsRef: w,
50434
+ path: p,
50435
+ showHiddenFiles: C,
50436
+ onShowHiddenFilesChange: b,
50424
50437
  treeOptions: {
50425
- ...h.treeOptions,
50438
+ ...f.treeOptions,
50426
50439
  collapsed: !0,
50427
- expandedPaths: /* @__PURE__ */ new Set([h.rootItem?.path || "/"])
50440
+ expandedPaths: /* @__PURE__ */ new Set([f.rootItem?.path || "/"])
50428
50441
  },
50429
50442
  gridOptions: {
50430
50443
  withSelectionColumn: !1,
50431
- ...h.gridOptions
50444
+ ...f.gridOptions
50432
50445
  },
50433
50446
  onUploadFiles: l,
50434
50447
  onValidateUpload: c,
@@ -50659,13 +50672,13 @@ const fv = ({
50659
50672
  Ld,
50660
50673
  {
50661
50674
  name: X.data.name,
50662
- iconSize: Vs
50675
+ iconSize: zs
50663
50676
  }
50664
50677
  ) : /* @__PURE__ */ m(
50665
50678
  kd,
50666
50679
  {
50667
50680
  name: X.data.name,
50668
- iconSize: Vs
50681
+ iconSize: zs
50669
50682
  }
50670
50683
  )
50671
50684
  },
@@ -50822,19 +50835,19 @@ const fv = ({
50822
50835
  dividers: !1,
50823
50836
  footer: /* @__PURE__ */ z("div", { className: "flex justify-end gap-3 py-4 px-6", children: [
50824
50837
  /* @__PURE__ */ m(
50825
- Ae,
50838
+ Ie,
50826
50839
  {
50827
50840
  onClick: t,
50828
50841
  label: h,
50829
- variant: He.Secondary
50842
+ variant: Ne.Secondary
50830
50843
  }
50831
50844
  ),
50832
50845
  /* @__PURE__ */ m(
50833
- Ae,
50846
+ Ie,
50834
50847
  {
50835
50848
  onClick: Z,
50836
50849
  label: u,
50837
- variant: He.Primary
50850
+ variant: Ne.Primary
50838
50851
  }
50839
50852
  )
50840
50853
  ] }),
@@ -50879,7 +50892,7 @@ const fv = ({
50879
50892
  name: t,
50880
50893
  elementId: e,
50881
50894
  shared: a,
50882
- iconSize: Vs,
50895
+ iconSize: zs,
50883
50896
  details: /* @__PURE__ */ z("div", { className: "flex items-center gap-1 dial-tiny text-secondary", children: [
50884
50897
  /* @__PURE__ */ m("span", { children: i }),
50885
50898
  o && i && /* @__PURE__ */ m(wr, { size: 2, className: "text-secondary" }),
@@ -51127,7 +51140,7 @@ const C7 = ({
51127
51140
  onRenameSave: le,
51128
51141
  onRenameCancel: ye,
51129
51142
  onRenameValidate: Re,
51130
- getDisplayName: Ie,
51143
+ getDisplayName: Ae,
51131
51144
  isDragging: pe,
51132
51145
  isDraggingOverWindow: Pe,
51133
51146
  handleDragEnter: j,
@@ -51206,8 +51219,8 @@ const C7 = ({
51206
51219
  minWidth: 200,
51207
51220
  cellRenderer: (K) => {
51208
51221
  const Te = K.data.nodeType, {
51209
- saveFolderCreation: Is,
51210
- validateFolderName: As,
51222
+ saveFolderCreation: As,
51223
+ validateFolderName: ks,
51211
51224
  cancelFolderCreation: Ho,
51212
51225
  newFolderTempId: Zn,
51213
51226
  sharedByMePaths: nl
@@ -51221,9 +51234,9 @@ const C7 = ({
51221
51234
  elementId: `new-folder-${K.data.id}`,
51222
51235
  editing: !0,
51223
51236
  shared: Qs,
51224
- iconSize: Vs,
51225
- validate: As,
51226
- onSave: Is,
51237
+ iconSize: zs,
51238
+ validate: ks,
51239
+ onSave: As,
51227
51240
  onCancel: Ho,
51228
51241
  inputContainerClassName: ge([
51229
51242
  "!h-9",
@@ -51250,7 +51263,7 @@ const C7 = ({
51250
51263
  elementId: `rename-${K.data.id}`,
51251
51264
  editing: !0,
51252
51265
  shared: Qs,
51253
- iconSize: Vs,
51266
+ iconSize: zs,
51254
51267
  validate: (ts) => Qn(ts, Go),
51255
51268
  onSave: cl,
51256
51269
  onCancel: dl,
@@ -51278,14 +51291,14 @@ const C7 = ({
51278
51291
  {
51279
51292
  name: K.data.name,
51280
51293
  shared: Qs,
51281
- iconSize: Vs
51294
+ iconSize: zs
51282
51295
  }
51283
51296
  ) : /* @__PURE__ */ m(
51284
51297
  kd,
51285
51298
  {
51286
51299
  name: K.data.name,
51287
51300
  shared: Qs,
51288
- iconSize: Vs
51301
+ iconSize: zs
51289
51302
  }
51290
51303
  );
51291
51304
  }
@@ -51417,9 +51430,9 @@ const C7 = ({
51417
51430
  ]
51418
51431
  ), el = B(() => {
51419
51432
  const K = /* @__PURE__ */ new Map();
51420
- return R.forEach((Te, Is) => {
51421
- const As = S.find((Ho) => Ho.path === Is);
51422
- As && K.set(Is, As);
51433
+ return R.forEach((Te, As) => {
51434
+ const ks = S.find((Ho) => Ho.path === As);
51435
+ ks && K.set(As, ks);
51423
51436
  }), K;
51424
51437
  }, [R, S]), tl = B(() => {
51425
51438
  const K = /* @__PURE__ */ new Set();
@@ -51427,7 +51440,7 @@ const C7 = ({
51427
51440
  }, [p, S, Ao]), sl = D(
51428
51441
  (K) => {
51429
51442
  const Te = /* @__PURE__ */ new Set();
51430
- K.forEach((Is, As) => Te.add(As)), E(Te);
51443
+ K.forEach((As, ks) => Te.add(ks)), E(Te);
51431
51444
  },
51432
51445
  [E]
51433
51446
  ), ko = g7({
@@ -51563,7 +51576,7 @@ const C7 = ({
51563
51576
  Gn,
51564
51577
  g,
51565
51578
  w
51566
- ]), Ms = p7({
51579
+ ]), Is = p7({
51567
51580
  actionLabels: r?.actionLabels,
51568
51581
  onDuplicate: (K) => U([K]),
51569
51582
  onCopy: (K) => {
@@ -51580,9 +51593,9 @@ const C7 = ({
51580
51593
  }), Oo = D(
51581
51594
  (K) => {
51582
51595
  const Te = Si(t, K.path);
51583
- return Te ? Ms(Te) : [];
51596
+ return Te ? Is(Te) : [];
51584
51597
  },
51585
- [t, Ms]
51598
+ [t, Is]
51586
51599
  ), { actionsColumnDef: No } = C7({
51587
51600
  getContextMenuItems: Oo,
51588
51601
  isRowDisabled: Ao,
@@ -51683,7 +51696,7 @@ const C7 = ({
51683
51696
  context: {
51684
51697
  cancelFolderCreation: Ge,
51685
51698
  saveFolderCreation: rt,
51686
- getDisplayName: Ie,
51699
+ getDisplayName: Ae,
51687
51700
  onRenameCancel: ye,
51688
51701
  onRenameSave: le,
51689
51702
  onRenameValidate: Re,
@@ -51737,7 +51750,8 @@ const C7 = ({
51737
51750
  path: d?.destinationFolderPath || b,
51738
51751
  onPathChange: (K) => {
51739
51752
  d?.setDestinationFolderPath?.(K);
51740
- }
51753
+ },
51754
+ sourceFolder: b || "/"
51741
51755
  }
51742
51756
  ),
51743
51757
  /* @__PURE__ */ m(
@@ -51804,14 +51818,14 @@ const C7 = ({
51804
51818
  };
51805
51819
  export {
51806
51820
  Vi as AlertVariant,
51807
- He as ButtonVariant,
51821
+ Ne as ButtonVariant,
51808
51822
  Rn as ConfirmationPopupVariant,
51809
51823
  M7 as DialAlert,
51810
51824
  W7 as DialAutocompleteInput,
51811
51825
  ev as DialAutocompleteInputValue,
51812
51826
  u8 as DialBreadcrumb,
51813
51827
  mr as DialBreadcrumbItem,
51814
- Ae as DialButton,
51828
+ Ie as DialButton,
51815
51829
  Ng as DialButtonDropdown,
51816
51830
  Gr as DialCheckbox,
51817
51831
  KC as DialCloseButton,
@@ -51868,7 +51882,7 @@ export {
51868
51882
  G7 as DialTextAreaField,
51869
51883
  H7 as DialTextInputField,
51870
51884
  g8 as DialTextarea,
51871
- js as DialTooltip,
51885
+ Es as DialTooltip,
51872
51886
  ed as DropdownItemType,
51873
51887
  zt as DropdownTrigger,
51874
51888
  jk as DropdownType,