@epam/ai-dial-ui-kit 0.6.0-rc.6 → 0.6.0-rc.8

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(
@@ -45614,20 +45614,21 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45614
45614
  separator: n = QC,
45615
45615
  className: r,
45616
45616
  iconBefore: a,
45617
- labelClassName: l
45617
+ labelClassName: l,
45618
+ ...c
45618
45619
  }) => {
45619
- const c = ge(
45620
+ const d = ge(
45620
45621
  YC,
45621
45622
  o ? a8 : r8,
45622
45623
  r
45623
- ), d = (!!t || !!s) && !o && !i, u = d ? ge(
45624
+ ), u = (!!t || !!s) && !o && !i, h = u ? ge(
45624
45625
  Tg,
45625
45626
  l8
45626
45627
  ) : ge(
45627
45628
  Tg,
45628
45629
  c8,
45629
45630
  i ? "pointer-events-none opacity-75" : ""
45630
- ), h = typeof e == "string" ? /* @__PURE__ */ m(
45631
+ ), g = typeof e == "string" ? /* @__PURE__ */ m(
45631
45632
  wt,
45632
45633
  {
45633
45634
  className: l,
@@ -45645,24 +45646,32 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45645
45646
  children: e
45646
45647
  }
45647
45648
  );
45648
- return /* @__PURE__ */ z("li", { className: c, "aria-label": "breadcrumb-item", children: [
45649
- d ? /* @__PURE__ */ z("a", { href: t, onClick: s, className: u, children: [
45650
- a,
45651
- h
45652
- ] }) : /* @__PURE__ */ z(
45653
- "span",
45654
- {
45655
- className: u,
45656
- "aria-current": o ? "page" : void 0,
45657
- "aria-disabled": i ? "true" : void 0,
45658
- children: [
45649
+ return /* @__PURE__ */ z(
45650
+ "li",
45651
+ {
45652
+ ...c,
45653
+ className: d,
45654
+ "aria-label": c["aria-label"] || "breadcrumb-item",
45655
+ children: [
45656
+ u ? /* @__PURE__ */ z("a", { href: t, onClick: s, className: h, children: [
45659
45657
  a,
45660
- h
45661
- ]
45662
- }
45663
- ),
45664
- !o && /* @__PURE__ */ m("span", { className: ZC, "aria-label": "separator", children: n })
45665
- ] });
45658
+ g
45659
+ ] }) : /* @__PURE__ */ z(
45660
+ "span",
45661
+ {
45662
+ className: h,
45663
+ "aria-current": o ? "page" : void 0,
45664
+ "aria-disabled": i ? "true" : void 0,
45665
+ children: [
45666
+ a,
45667
+ g
45668
+ ]
45669
+ }
45670
+ ),
45671
+ !o && /* @__PURE__ */ m("span", { className: ZC, "aria-label": "separator", children: n })
45672
+ ]
45673
+ }
45674
+ );
45666
45675
  }, u8 = ({
45667
45676
  pathItems: e,
45668
45677
  separator: t = QC,
@@ -45766,7 +45775,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45766
45775
  iconClassName: e,
45767
45776
  ...t
45768
45777
  }) => /* @__PURE__ */ m(
45769
- Ae,
45778
+ Ie,
45770
45779
  {
45771
45780
  ...t,
45772
45781
  iconBefore: /* @__PURE__ */ m(En, { ...de, className: e || "" })
@@ -45783,7 +45792,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45783
45792
  disableTooltip: l,
45784
45793
  onChange: c
45785
45794
  }) => /* @__PURE__ */ m(
45786
- js,
45795
+ Es,
45787
45796
  {
45788
45797
  tooltip: l ? null : e,
45789
45798
  triggerClassName: ge("flex", o),
@@ -45925,7 +45934,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
45925
45934
  }
45926
45935
  ),
45927
45936
  /* @__PURE__ */ m(
45928
- js,
45937
+ Es,
45929
45938
  {
45930
45939
  tooltip: x ? void 0 : R || i,
45931
45940
  triggerClassName: ee(l, "flex-1"),
@@ -46160,7 +46169,7 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
46160
46169
  "flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
46161
46170
  n
46162
46171
  ),
46163
- children: /* @__PURE__ */ m(js, { tooltip: S, children: S })
46172
+ children: /* @__PURE__ */ m(Es, { tooltip: S, children: S })
46164
46173
  }
46165
46174
  ) : S : /* @__PURE__ */ m("span", {});
46166
46175
  return /* @__PURE__ */ m(hd, { id: s, children: /* @__PURE__ */ m(
@@ -46216,13 +46225,13 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
46216
46225
  var Rn = /* @__PURE__ */ ((e) => (e.Info = "info", e.Danger = "danger", e))(Rn || {});
46217
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 = {
46218
46227
  [Rn.Info]: {
46219
- confirmVariant: He.Primary,
46220
- cancelVariant: He.Secondary
46228
+ confirmVariant: Ne.Primary,
46229
+ cancelVariant: Ne.Secondary
46221
46230
  },
46222
46231
  [Rn.Danger]: {
46223
46232
  container: "dial-danger-popup",
46224
- confirmVariant: He.Danger,
46225
- cancelVariant: He.Secondary
46233
+ confirmVariant: Ne.Danger,
46234
+ cancelVariant: Ne.Secondary
46226
46235
  }
46227
46236
  }, E8 = ({
46228
46237
  header: e,
@@ -46246,15 +46255,15 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46246
46255
  }) => {
46247
46256
  const w = r ? null : /* @__PURE__ */ z("div", { className: y8, children: [
46248
46257
  /* @__PURE__ */ m(
46249
- Ae,
46258
+ Ie,
46250
46259
  {
46251
- variant: He.Secondary,
46260
+ variant: Ne.Secondary,
46252
46261
  label: n,
46253
46262
  onClick: () => h ? h() : d?.()
46254
46263
  }
46255
46264
  ),
46256
46265
  /* @__PURE__ */ m(
46257
- Ae,
46266
+ Ie,
46258
46267
  {
46259
46268
  variant: Mg[f].confirmVariant,
46260
46269
  className: c,
@@ -46291,7 +46300,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46291
46300
  "flex gap-x-2 gap-y-1",
46292
46301
  t
46293
46302
  ),
46294
- 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(
46295
46304
  Ed,
46296
46305
  {
46297
46306
  tag: o,
@@ -46364,7 +46373,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46364
46373
  (l || c) && "dial-input-error"
46365
46374
  ),
46366
46375
  children: [
46367
- /* @__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 }) }),
46368
46377
  !s && /* @__PURE__ */ m("div", { className: "flex-shrink-0", children: /* @__PURE__ */ m(
46369
46378
  Ve,
46370
46379
  {
@@ -46438,17 +46447,17 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46438
46447
  size: b,
46439
46448
  footer: /* @__PURE__ */ z("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
46440
46449
  /* @__PURE__ */ m(
46441
- Ae,
46450
+ Ie,
46442
46451
  {
46443
- variant: He.Secondary,
46452
+ variant: Ne.Secondary,
46444
46453
  label: g,
46445
46454
  onClick: x
46446
46455
  }
46447
46456
  ),
46448
46457
  /* @__PURE__ */ m(
46449
- Ae,
46458
+ Ie,
46450
46459
  {
46451
- variant: He.Primary,
46460
+ variant: Ne.Primary,
46452
46461
  label: p,
46453
46462
  onClick: E,
46454
46463
  disabled: !f
@@ -46490,17 +46499,17 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
46490
46499
  }) => {
46491
46500
  const f = o ? null : /* @__PURE__ */ z("div", { className: M8, children: [
46492
46501
  /* @__PURE__ */ m(
46493
- Ae,
46502
+ Ie,
46494
46503
  {
46495
- variant: He.Secondary,
46504
+ variant: Ne.Secondary,
46496
46505
  label: i,
46497
46506
  onClick: () => d ? d() : l?.()
46498
46507
  }
46499
46508
  ),
46500
46509
  /* @__PURE__ */ m(
46501
- Ae,
46510
+ Ie,
46502
46511
  {
46503
- variant: He.Primary,
46512
+ variant: Ne.Primary,
46504
46513
  className: a,
46505
46514
  label: s,
46506
46515
  disabled: n,
@@ -46927,14 +46936,14 @@ const z8 = ({
46927
46936
  const ye = !t && le ? se[0] : void 0, Re = B(
46928
46937
  () => ye ? e.find((j) => j.value === ye) : void 0,
46929
46938
  [e, ye]
46930
- ), Ie = D(() => !t || se.length === 0 ? null : /* @__PURE__ */ m(
46939
+ ), Ae = D(() => !t || se.length === 0 ? null : /* @__PURE__ */ m(
46931
46940
  sv,
46932
46941
  {
46933
46942
  options: e,
46934
46943
  selectedValues: se,
46935
46944
  handleRemoveTag: oe
46936
46945
  }
46937
- ), [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: [
46938
46947
  Re.icon && /* @__PURE__ */ m(Ve, { icon: Re.icon }),
46939
46948
  /* @__PURE__ */ m(
46940
46949
  wt,
@@ -46950,7 +46959,7 @@ const z8 = ({
46950
46959
  a,
46951
46960
  i,
46952
46961
  c,
46953
- Ie,
46962
+ Ae,
46954
46963
  Re
46955
46964
  ]);
46956
46965
  xn(T, () => ({
@@ -46994,7 +47003,7 @@ const z8 = ({
46994
47003
  }
46995
47004
  ),
46996
47005
  b && /* @__PURE__ */ m(
46997
- Ae,
47006
+ Ie,
46998
47007
  {
46999
47008
  "aria-label": "Close select",
47000
47009
  className: "shrink-0",
@@ -47853,9 +47862,9 @@ const tL = function(t, s, i) {
47853
47862
  t && /* @__PURE__ */ m("p", { className: "mb-1", children: t }),
47854
47863
  s && /* @__PURE__ */ m("p", { className: "mb-0.5", children: s }),
47855
47864
  i && /* @__PURE__ */ m(
47856
- Ae,
47865
+ Ie,
47857
47866
  {
47858
- variant: He.Tertiary,
47867
+ variant: Ne.Tertiary,
47859
47868
  label: i,
47860
47869
  onClick: () => u.current?.click()
47861
47870
  }
@@ -47972,9 +47981,9 @@ const tL = function(t, s, i) {
47972
47981
  ),
47973
47982
  a && !!i?.length && /* @__PURE__ */ z("div", { className: "flex flex-row items-center gap-x-2", children: [
47974
47983
  /* @__PURE__ */ m(
47975
- Ae,
47984
+ Ie,
47976
47985
  {
47977
- variant: He.Tertiary,
47986
+ variant: Ne.Tertiary,
47978
47987
  className: "!text-error",
47979
47988
  iconBefore: /* @__PURE__ */ m(En, { ...de }),
47980
47989
  label: c,
@@ -47982,9 +47991,9 @@ const tL = function(t, s, i) {
47982
47991
  }
47983
47992
  ),
47984
47993
  (o ? o > i?.length : !0) && /* @__PURE__ */ m(
47985
- Ae,
47994
+ Ie,
47986
47995
  {
47987
- variant: He.Tertiary,
47996
+ variant: Ne.Tertiary,
47988
47997
  iconBefore: /* @__PURE__ */ m(uw, { ...de }),
47989
47998
  label: d,
47990
47999
  onClick: g
@@ -48028,10 +48037,10 @@ const tL = function(t, s, i) {
48028
48037
  items: e.items
48029
48038
  },
48030
48039
  onOpenChange: (o) => s(o),
48031
- children: /* @__PURE__ */ m(Ae, { ...e, iconAfter: i })
48040
+ children: /* @__PURE__ */ m(Ie, { ...e, iconAfter: i })
48032
48041
  }
48033
48042
  ) });
48034
- }, 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;
48035
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 || {});
48036
48045
  const Si = (e, t) => {
48037
48046
  if (!(!e || !e.length || !t))
@@ -48153,7 +48162,7 @@ const EL = ({
48153
48162
  inputRef: p,
48154
48163
  onChange: f
48155
48164
  }) => {
48156
- 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(
48157
48166
  gw,
48158
48167
  {
48159
48168
  ...de,
@@ -48423,7 +48432,7 @@ const pa = ({
48423
48432
  type: H ? Qt.Folder : Qt.File,
48424
48433
  loading: ue,
48425
48434
  shared: te,
48426
- iconSize: Vs,
48435
+ iconSize: zs,
48427
48436
  ...!Z && {
48428
48437
  editing: U,
48429
48438
  onSave: C,
@@ -48537,10 +48546,10 @@ const pa = ({
48537
48546
  }, [u, S]), x = D(() => {
48538
48547
  (!d || String(d).trim() === "") && f?.("");
48539
48548
  }, [d, f]), E = D(() => w && S ? /* @__PURE__ */ m(
48540
- Ae,
48549
+ Ie,
48541
48550
  {
48542
48551
  className: "!p-[9px]",
48543
- variant: He.Secondary,
48552
+ variant: Ne.Secondary,
48544
48553
  iconBefore: /* @__PURE__ */ m(fw, { ...de }),
48545
48554
  onClick: () => {
48546
48555
  y(!1), f?.("");
@@ -48622,7 +48631,7 @@ const uv = () => {
48622
48631
  areHiddenFilesVisible: i,
48623
48632
  onToggleHiddenFiles: o,
48624
48633
  isNewButtonVisible: n,
48625
- newButtonVariant: r = He.Secondary,
48634
+ newButtonVariant: r = Ne.Secondary,
48626
48635
  newButtonDropdownItems: a = [],
48627
48636
  newButtonLabel: l = "New",
48628
48637
  hiddenFilesSwitcherLabel: c = "Hidden files",
@@ -48679,7 +48688,7 @@ const uv = () => {
48679
48688
  menu: { items: g },
48680
48689
  allowedPlacements: ["bottom", "bottom-start"],
48681
48690
  children: /* @__PURE__ */ m(
48682
- Ae,
48691
+ Ie,
48683
48692
  {
48684
48693
  className: "h-[38px]",
48685
48694
  iconBefore: /* @__PURE__ */ m(
@@ -48776,11 +48785,11 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48776
48785
  ref: a,
48777
48786
  className: "absolute top-0 left-0 invisible pointer-events-none overflow-hidden whitespace-nowrap flex gap-3",
48778
48787
  children: s.map(({ key: u, icon: h, title: g }) => /* @__PURE__ */ m(
48779
- Ae,
48788
+ Ie,
48780
48789
  {
48781
48790
  iconBefore: h,
48782
48791
  label: g,
48783
- variant: He.Secondary,
48792
+ variant: Ne.Secondary,
48784
48793
  hideTitleOnMobile: !0
48785
48794
  },
48786
48795
  u
@@ -48796,12 +48805,12 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48796
48805
  "aria-label": "File bulk actions",
48797
48806
  children: [
48798
48807
  /* @__PURE__ */ m("div", { ref: r, children: /* @__PURE__ */ m(
48799
- Ae,
48808
+ Ie,
48800
48809
  {
48801
48810
  label: d,
48802
48811
  onClick: t,
48803
48812
  textClassName: "text-accent-primary whitespace-nowrap",
48804
- variant: He.Tertiary,
48813
+ variant: Ne.Tertiary,
48805
48814
  iconBefore: /* @__PURE__ */ m(go, { ...de, className: "text-accent-primary" })
48806
48815
  }
48807
48816
  ) }),
@@ -48812,7 +48821,7 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48812
48821
  menu: { items: c },
48813
48822
  allowedPlacements: ["bottom", "bottom-start"],
48814
48823
  children: /* @__PURE__ */ m(
48815
- Ae,
48824
+ Ie,
48816
48825
  {
48817
48826
  className: "h-[38px]",
48818
48827
  iconBefore: /* @__PURE__ */ m(
@@ -48827,12 +48836,12 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
48827
48836
  }
48828
48837
  ),
48829
48838
  l.map(({ key: u, icon: h, title: g, onClick: p, disabled: f }) => /* @__PURE__ */ m(
48830
- Ae,
48839
+ Ie,
48831
48840
  {
48832
48841
  className: "!p-[9px]",
48833
48842
  iconBefore: h,
48834
48843
  label: g,
48835
- variant: He.Secondary,
48844
+ variant: Ne.Secondary,
48836
48845
  hideTitleOnMobile: !0,
48837
48846
  disabled: f,
48838
48847
  onClick: (C) => p?.({ key: u, domEvent: C })
@@ -49286,26 +49295,26 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49286
49295
  u(void 0), p.current = $;
49287
49296
  const fe = _(A);
49288
49297
  if (fe.length > 0) {
49289
- 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(", ")}`;
49290
49299
  return u(pe), !1;
49291
49300
  }
49292
49301
  if (t)
49293
49302
  try {
49294
- const Ie = await t(
49303
+ const Ae = await t(
49295
49304
  A,
49296
49305
  $,
49297
49306
  Y
49298
49307
  );
49299
- if (!Ie.valid)
49308
+ if (!Ae.valid)
49300
49309
  return u(
49301
- Ie.message || o.validationFailed || "Validation failed"
49310
+ Ae.message || o.validationFailed || "Validation failed"
49302
49311
  ), !1;
49303
49312
  } catch {
49304
49313
  return u(
49305
49314
  o.validationError || "Validation error occurred"
49306
49315
  ), !1;
49307
49316
  }
49308
- const le = new Map(A.map((Ie) => [Ie.name, Ie]));
49317
+ const le = new Map(A.map((Ae) => [Ae.name, Ae]));
49309
49318
  C(le);
49310
49319
  const ye = H(A, Y);
49311
49320
  return w({ destinationFolder: Y }), x(Y, ye, {
@@ -49405,7 +49414,7 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49405
49414
  }
49406
49415
  const ye = le.name.replace(/\.zip$/i, "");
49407
49416
  if (Y.some(
49408
- (Ie) => Ie.nodeType === Le.FOLDER && Ie.name.toLowerCase() === ye.toLowerCase()
49417
+ (Ae) => Ae.nodeType === Le.FOLDER && Ae.name.toLowerCase() === ye.toLowerCase()
49409
49418
  )) {
49410
49419
  u(
49411
49420
  o.validationFailed || `Folder with name "${ye}" already exists`
@@ -49668,7 +49677,7 @@ const QL = ({
49668
49677
  return /* @__PURE__ */ z(Be, { children: [
49669
49678
  e,
49670
49679
  /* @__PURE__ */ m(
49671
- Ae,
49680
+ Ie,
49672
49681
  {
49673
49682
  disabled: i,
49674
49683
  className: n,
@@ -49850,19 +49859,19 @@ const r7 = ({
49850
49859
  defaultSelectedPaths: l,
49851
49860
  onSelectedPathsChange: c
49852
49861
  }), ye = B(() => {
49853
- const Ne = /* @__PURE__ */ new Map();
49862
+ const He = /* @__PURE__ */ new Map();
49854
49863
  return $.forEach((Pt) => {
49855
49864
  const ts = Si(s, Pt);
49856
- ts && Ne.set(Pt, ts);
49857
- }), Ne;
49858
- }, [$, 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({
49859
49868
  path: o,
49860
49869
  defaultPath: n,
49861
49870
  onPathChange: S,
49862
49871
  onSelectionClear: fe
49863
49872
  }), [Pe, j] = I(), xe = w?.destinationFolderPath ?? Pe, ve = D(
49864
- (Ne) => {
49865
- w?.setDestinationFolderPath ? w.setDestinationFolderPath(Ne) : j(Ne);
49873
+ (He) => {
49874
+ w?.setDestinationFolderPath ? w.setDestinationFolderPath(He) : j(He);
49866
49875
  },
49867
49876
  [w]
49868
49877
  ), { areHiddenFilesVisible: De, toggleHiddenFilesVisibility: Je } = BL({
@@ -49921,7 +49930,7 @@ const r7 = ({
49921
49930
  handleConflictDuplicate: Gn,
49922
49931
  handleConflictDecideForEach: Bn
49923
49932
  } = zL({
49924
- getDestinationFiles: (Ne) => Gg(s, Ne)?.items ?? [],
49933
+ getDestinationFiles: (He) => Gg(s, He)?.items ?? [],
49925
49934
  onCopyFiles: R,
49926
49935
  onMoveToFiles: x,
49927
49936
  onCopySuccess: fe,
@@ -49979,20 +49988,20 @@ const r7 = ({
49979
49988
  allowedFileTypes: Y,
49980
49989
  validationMessages: _
49981
49990
  }), sl = D(
49982
- (Ne) => {
49991
+ (He) => {
49983
49992
  const Pt = Re ?? "", ts = Dt?.items ?? [];
49984
- Mi(Ne, Pt, ts);
49993
+ Mi(He, Pt, ts);
49985
49994
  },
49986
49995
  [Re, Dt, Mi]
49987
49996
  ), ko = D(() => {
49988
- const Ne = Re ?? "", Pt = Dt?.items ?? [];
49989
- Io(Ne, Pt);
49997
+ const He = Re ?? "", Pt = Dt?.items ?? [];
49998
+ Io(He, Pt);
49990
49999
  }, [Re, Dt, Io]), il = D(() => {
49991
- const Ne = Re ?? "", Pt = Dt?.items ?? [];
49992
- it(Ne, Pt);
50000
+ const He = Re ?? "", Pt = Dt?.items ?? [];
50001
+ it(He, Pt);
49993
50002
  }, [Re, Dt, it]), {
49994
50003
  isCreatingFolder: Lo,
49995
- newFolderTempId: Ms,
50004
+ newFolderTempId: Is,
49996
50005
  startFolderCreation: Oo,
49997
50006
  cancelFolderCreation: No,
49998
50007
  saveFolderCreation: qn,
@@ -50034,8 +50043,8 @@ const r7 = ({
50034
50043
  owner: dt.owner
50035
50044
  }));
50036
50045
  }
50037
- const Ne = so(Fo).trim(), Pt = Dt?.items ?? [];
50038
- let ts = Ne ? yL(Dt) : Pt;
50046
+ const He = so(Fo).trim(), Pt = Dt?.items ?? [];
50047
+ let ts = He ? yL(Dt) : Pt;
50039
50048
  De || (ts = ts.filter((Ue) => !nd(Ue)));
50040
50049
  const ul = ts.map((Ue) => ({
50041
50050
  id: Ue.id ?? Ue.path,
@@ -50050,19 +50059,19 @@ const r7 = ({
50050
50059
  owner: Ue.owner,
50051
50060
  contentType: Ue.contentType
50052
50061
  }));
50053
- if (Lo && Ms && !Ne && ul.unshift({
50054
- id: Ms,
50062
+ if (Lo && Is && !He && ul.unshift({
50063
+ id: Is,
50055
50064
  name: "",
50056
50065
  updatedAt: void 0,
50057
50066
  size: "",
50058
50067
  author: void 0,
50059
- path: Ms,
50068
+ path: Is,
50060
50069
  nodeType: Le.FOLDER,
50061
50070
  extension: void 0,
50062
50071
  isTemporary: !0,
50063
50072
  owner: void 0
50064
- }), !Ne) return ul;
50065
- const Cv = Ne.split(/\s+/).filter(Boolean);
50073
+ }), !He) return ul;
50074
+ const Cv = He.split(/\s+/).filter(Boolean);
50066
50075
  return ul.filter((Ue) => {
50067
50076
  if (Ue.isTemporary) return !0;
50068
50077
  const Ct = so(Ue.name), dt = so(Ue.author), vv = SL(Ue.extension);
@@ -50077,20 +50086,20 @@ const r7 = ({
50077
50086
  Fo,
50078
50087
  De,
50079
50088
  Lo,
50080
- Ms
50081
- ]), Is = D(
50082
- (Ne) => {
50083
- pe(Ne.path);
50089
+ Is
50090
+ ]), As = D(
50091
+ (He) => {
50092
+ pe(He.path);
50084
50093
  },
50085
50094
  [pe]
50086
- ), As = D(
50087
- (Ne) => {
50088
- pe(Ne);
50095
+ ), ks = D(
50096
+ (He) => {
50097
+ pe(He);
50089
50098
  },
50090
50099
  [pe]
50091
50100
  ), Ho = D(
50092
- (Ne) => {
50093
- Ne.nodeType === Le.FOLDER ? pe(Ne.path) : y?.(Ne);
50101
+ (He) => {
50102
+ He.nodeType === Le.FOLDER ? pe(He.path) : y?.(He);
50094
50103
  },
50095
50104
  [pe, y]
50096
50105
  ), { expandedPaths: Zn, setExpandedPaths: nl, collapseAll: Qs } = dv({
@@ -50134,7 +50143,7 @@ const r7 = ({
50134
50143
  folderCreationValidationMessages: ue
50135
50144
  },
50136
50145
  currentPath: Re,
50137
- setCurrentPath: Ie,
50146
+ setCurrentPath: Ae,
50138
50147
  searchValue: Na,
50139
50148
  effectiveSearchValue: Fo,
50140
50149
  setSearchValue: Ha,
@@ -50172,8 +50181,8 @@ const r7 = ({
50172
50181
  deleteConfirmationOpen: Vn,
50173
50182
  itemsToDelete: zn,
50174
50183
  handlePathChange: pe,
50175
- handleTreeItemClick: Is,
50176
- handleBreadcrumbItemClick: As,
50184
+ handleTreeItemClick: As,
50185
+ handleBreadcrumbItemClick: ks,
50177
50186
  handleSearchChange: Ga,
50178
50187
  handleTableRowClick: Ho,
50179
50188
  onTableFileClick: y,
@@ -50193,7 +50202,7 @@ const r7 = ({
50193
50202
  newActions: ol,
50194
50203
  isNewButtonVisible: K,
50195
50204
  isCreatingFolder: Lo,
50196
- newFolderTempId: Ms,
50205
+ newFolderTempId: Is,
50197
50206
  startFolderCreation: Oo,
50198
50207
  cancelFolderCreation: No,
50199
50208
  saveFolderCreation: qn,
@@ -50338,11 +50347,14 @@ const fv = ({
50338
50347
  onValidateUpload: c,
50339
50348
  maxFileSize: d,
50340
50349
  header: u,
50341
- ...h
50350
+ sourceFolder: h,
50351
+ disabledPathTooltip: g = "Unavailable for the original path. Please select another folder",
50352
+ path: p,
50353
+ ...f
50342
50354
  }) => {
50343
- const [g, p] = I(!1), f = L(null), C = D((w) => {
50344
- p(w);
50345
- }, []), 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]);
50346
50358
  return /* @__PURE__ */ m(
50347
50359
  yo,
50348
50360
  {
@@ -50355,13 +50367,13 @@ const fv = ({
50355
50367
  footer: /* @__PURE__ */ z("div", { className: "flex justify-between space-x-2 py-4 px-6", children: [
50356
50368
  /* @__PURE__ */ z("div", { className: "flex space-x-4", children: [
50357
50369
  /* @__PURE__ */ m(
50358
- Ae,
50370
+ Ie,
50359
50371
  {
50360
50372
  label: n,
50361
- variant: He.Tertiary,
50373
+ variant: Ne.Tertiary,
50362
50374
  iconBefore: /* @__PURE__ */ m(vw, { ...de }),
50363
50375
  onClick: () => {
50364
- f.current?.createFolder();
50376
+ w.current?.createFolder();
50365
50377
  }
50366
50378
  }
50367
50379
  ),
@@ -50370,15 +50382,15 @@ const fv = ({
50370
50382
  "div",
50371
50383
  {
50372
50384
  className: "inline-flex items-center cursor-pointer",
50373
- onClick: (w) => {
50374
- w.stopPropagation(), C(!g);
50385
+ onClick: (R) => {
50386
+ R.stopPropagation(), b(!C);
50375
50387
  },
50376
50388
  children: /* @__PURE__ */ m(
50377
50389
  JC,
50378
50390
  {
50379
50391
  label: a,
50380
- isOn: g,
50381
- onChange: C,
50392
+ isOn: C,
50393
+ onChange: b,
50382
50394
  switchId: "hidden-files-switch"
50383
50395
  }
50384
50396
  )
@@ -50387,39 +50399,49 @@ const fv = ({
50387
50399
  ] }),
50388
50400
  /* @__PURE__ */ z("div", { className: "flex space-x-4", children: [
50389
50401
  /* @__PURE__ */ m(
50390
- Ae,
50402
+ Ie,
50391
50403
  {
50392
50404
  onClick: e,
50393
50405
  label: "Cancel",
50394
- variant: He.Secondary
50406
+ variant: Ne.Secondary
50395
50407
  }
50396
50408
  ),
50397
- /* @__PURE__ */ m(
50398
- Ae,
50409
+ y ? /* @__PURE__ */ m(Es, { tooltip: g, children: /* @__PURE__ */ m(
50410
+ Ie,
50399
50411
  {
50400
50412
  onClick: t,
50401
50413
  label: r === "copy" ? i : o,
50402
- 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
50403
50424
  }
50404
50425
  )
50405
50426
  ] })
50406
50427
  ] }),
50407
- header: u ?? v,
50428
+ header: u ?? S,
50408
50429
  children: /* @__PURE__ */ m(
50409
50430
  y7,
50410
50431
  {
50411
- ...h,
50412
- actionsRef: f,
50413
- showHiddenFiles: g,
50414
- onShowHiddenFilesChange: C,
50432
+ ...f,
50433
+ actionsRef: w,
50434
+ path: p,
50435
+ showHiddenFiles: C,
50436
+ onShowHiddenFilesChange: b,
50415
50437
  treeOptions: {
50416
- ...h.treeOptions,
50438
+ ...f.treeOptions,
50417
50439
  collapsed: !0,
50418
- expandedPaths: /* @__PURE__ */ new Set([h.rootItem?.path || "/"])
50440
+ expandedPaths: /* @__PURE__ */ new Set([f.rootItem?.path || "/"])
50419
50441
  },
50420
50442
  gridOptions: {
50421
50443
  withSelectionColumn: !1,
50422
- ...h.gridOptions
50444
+ ...f.gridOptions
50423
50445
  },
50424
50446
  onUploadFiles: l,
50425
50447
  onValidateUpload: c,
@@ -50650,13 +50672,13 @@ const fv = ({
50650
50672
  Ld,
50651
50673
  {
50652
50674
  name: X.data.name,
50653
- iconSize: Vs
50675
+ iconSize: zs
50654
50676
  }
50655
50677
  ) : /* @__PURE__ */ m(
50656
50678
  kd,
50657
50679
  {
50658
50680
  name: X.data.name,
50659
- iconSize: Vs
50681
+ iconSize: zs
50660
50682
  }
50661
50683
  )
50662
50684
  },
@@ -50813,19 +50835,19 @@ const fv = ({
50813
50835
  dividers: !1,
50814
50836
  footer: /* @__PURE__ */ z("div", { className: "flex justify-end gap-3 py-4 px-6", children: [
50815
50837
  /* @__PURE__ */ m(
50816
- Ae,
50838
+ Ie,
50817
50839
  {
50818
50840
  onClick: t,
50819
50841
  label: h,
50820
- variant: He.Secondary
50842
+ variant: Ne.Secondary
50821
50843
  }
50822
50844
  ),
50823
50845
  /* @__PURE__ */ m(
50824
- Ae,
50846
+ Ie,
50825
50847
  {
50826
50848
  onClick: Z,
50827
50849
  label: u,
50828
- variant: He.Primary
50850
+ variant: Ne.Primary
50829
50851
  }
50830
50852
  )
50831
50853
  ] }),
@@ -50870,7 +50892,7 @@ const fv = ({
50870
50892
  name: t,
50871
50893
  elementId: e,
50872
50894
  shared: a,
50873
- iconSize: Vs,
50895
+ iconSize: zs,
50874
50896
  details: /* @__PURE__ */ z("div", { className: "flex items-center gap-1 dial-tiny text-secondary", children: [
50875
50897
  /* @__PURE__ */ m("span", { children: i }),
50876
50898
  o && i && /* @__PURE__ */ m(wr, { size: 2, className: "text-secondary" }),
@@ -51118,7 +51140,7 @@ const C7 = ({
51118
51140
  onRenameSave: le,
51119
51141
  onRenameCancel: ye,
51120
51142
  onRenameValidate: Re,
51121
- getDisplayName: Ie,
51143
+ getDisplayName: Ae,
51122
51144
  isDragging: pe,
51123
51145
  isDraggingOverWindow: Pe,
51124
51146
  handleDragEnter: j,
@@ -51197,8 +51219,8 @@ const C7 = ({
51197
51219
  minWidth: 200,
51198
51220
  cellRenderer: (K) => {
51199
51221
  const Te = K.data.nodeType, {
51200
- saveFolderCreation: Is,
51201
- validateFolderName: As,
51222
+ saveFolderCreation: As,
51223
+ validateFolderName: ks,
51202
51224
  cancelFolderCreation: Ho,
51203
51225
  newFolderTempId: Zn,
51204
51226
  sharedByMePaths: nl
@@ -51212,9 +51234,9 @@ const C7 = ({
51212
51234
  elementId: `new-folder-${K.data.id}`,
51213
51235
  editing: !0,
51214
51236
  shared: Qs,
51215
- iconSize: Vs,
51216
- validate: As,
51217
- onSave: Is,
51237
+ iconSize: zs,
51238
+ validate: ks,
51239
+ onSave: As,
51218
51240
  onCancel: Ho,
51219
51241
  inputContainerClassName: ge([
51220
51242
  "!h-9",
@@ -51241,7 +51263,7 @@ const C7 = ({
51241
51263
  elementId: `rename-${K.data.id}`,
51242
51264
  editing: !0,
51243
51265
  shared: Qs,
51244
- iconSize: Vs,
51266
+ iconSize: zs,
51245
51267
  validate: (ts) => Qn(ts, Go),
51246
51268
  onSave: cl,
51247
51269
  onCancel: dl,
@@ -51269,14 +51291,14 @@ const C7 = ({
51269
51291
  {
51270
51292
  name: K.data.name,
51271
51293
  shared: Qs,
51272
- iconSize: Vs
51294
+ iconSize: zs
51273
51295
  }
51274
51296
  ) : /* @__PURE__ */ m(
51275
51297
  kd,
51276
51298
  {
51277
51299
  name: K.data.name,
51278
51300
  shared: Qs,
51279
- iconSize: Vs
51301
+ iconSize: zs
51280
51302
  }
51281
51303
  );
51282
51304
  }
@@ -51408,9 +51430,9 @@ const C7 = ({
51408
51430
  ]
51409
51431
  ), el = B(() => {
51410
51432
  const K = /* @__PURE__ */ new Map();
51411
- return R.forEach((Te, Is) => {
51412
- const As = S.find((Ho) => Ho.path === Is);
51413
- 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);
51414
51436
  }), K;
51415
51437
  }, [R, S]), tl = B(() => {
51416
51438
  const K = /* @__PURE__ */ new Set();
@@ -51418,7 +51440,7 @@ const C7 = ({
51418
51440
  }, [p, S, Ao]), sl = D(
51419
51441
  (K) => {
51420
51442
  const Te = /* @__PURE__ */ new Set();
51421
- K.forEach((Is, As) => Te.add(As)), E(Te);
51443
+ K.forEach((As, ks) => Te.add(ks)), E(Te);
51422
51444
  },
51423
51445
  [E]
51424
51446
  ), ko = g7({
@@ -51554,7 +51576,7 @@ const C7 = ({
51554
51576
  Gn,
51555
51577
  g,
51556
51578
  w
51557
- ]), Ms = p7({
51579
+ ]), Is = p7({
51558
51580
  actionLabels: r?.actionLabels,
51559
51581
  onDuplicate: (K) => U([K]),
51560
51582
  onCopy: (K) => {
@@ -51571,9 +51593,9 @@ const C7 = ({
51571
51593
  }), Oo = D(
51572
51594
  (K) => {
51573
51595
  const Te = Si(t, K.path);
51574
- return Te ? Ms(Te) : [];
51596
+ return Te ? Is(Te) : [];
51575
51597
  },
51576
- [t, Ms]
51598
+ [t, Is]
51577
51599
  ), { actionsColumnDef: No } = C7({
51578
51600
  getContextMenuItems: Oo,
51579
51601
  isRowDisabled: Ao,
@@ -51674,7 +51696,7 @@ const C7 = ({
51674
51696
  context: {
51675
51697
  cancelFolderCreation: Ge,
51676
51698
  saveFolderCreation: rt,
51677
- getDisplayName: Ie,
51699
+ getDisplayName: Ae,
51678
51700
  onRenameCancel: ye,
51679
51701
  onRenameSave: le,
51680
51702
  onRenameValidate: Re,
@@ -51728,7 +51750,8 @@ const C7 = ({
51728
51750
  path: d?.destinationFolderPath || b,
51729
51751
  onPathChange: (K) => {
51730
51752
  d?.setDestinationFolderPath?.(K);
51731
- }
51753
+ },
51754
+ sourceFolder: b || "/"
51732
51755
  }
51733
51756
  ),
51734
51757
  /* @__PURE__ */ m(
@@ -51795,14 +51818,14 @@ const C7 = ({
51795
51818
  };
51796
51819
  export {
51797
51820
  Vi as AlertVariant,
51798
- He as ButtonVariant,
51821
+ Ne as ButtonVariant,
51799
51822
  Rn as ConfirmationPopupVariant,
51800
51823
  M7 as DialAlert,
51801
51824
  W7 as DialAutocompleteInput,
51802
51825
  ev as DialAutocompleteInputValue,
51803
51826
  u8 as DialBreadcrumb,
51804
51827
  mr as DialBreadcrumbItem,
51805
- Ae as DialButton,
51828
+ Ie as DialButton,
51806
51829
  Ng as DialButtonDropdown,
51807
51830
  Gr as DialCheckbox,
51808
51831
  KC as DialCloseButton,
@@ -51859,7 +51882,7 @@ export {
51859
51882
  G7 as DialTextAreaField,
51860
51883
  H7 as DialTextInputField,
51861
51884
  g8 as DialTextarea,
51862
- js as DialTooltip,
51885
+ Es as DialTooltip,
51863
51886
  ed as DropdownItemType,
51864
51887
  zt as DropdownTrigger,
51865
51888
  jk as DropdownType,