@epam/ai-dial-ui-kit 0.5.0-rc.102 → 0.5.0-rc.103

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.
@@ -420,7 +420,7 @@ const et = (e) => {
420
420
  span: ["full", Ts, ae, re]
421
421
  }, Ts, ae, re], T = () => [Ts, "auto", ae, re], N = () => ["auto", "min", "max", "fr", ae, re], _ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], se = () => ["auto", ...E()], oe = () => [Ii, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], H = () => [e, ae, re], ue = () => [...S(), yu, Su, {
422
422
  position: [ae, re]
423
- }], U = () => ["no-repeat", {
423
+ }], $ = () => ["no-repeat", {
424
424
  repeat: ["", "x", "y", "space", "round"]
425
425
  }], te = () => ["auto", "cover", "contain", Gw, Ow, {
426
426
  size: [ae, re]
@@ -1398,7 +1398,7 @@ const et = (e) => {
1398
1398
  * @see https://tailwindcss.com/docs/background-repeat
1399
1399
  */
1400
1400
  "bg-repeat": [{
1401
- bg: U()
1401
+ bg: $()
1402
1402
  }],
1403
1403
  /**
1404
1404
  * Background Size
@@ -2075,7 +2075,7 @@ const et = (e) => {
2075
2075
  * @see https://tailwindcss.com/docs/mask-repeat
2076
2076
  */
2077
2077
  "mask-repeat": [{
2078
- mask: U()
2078
+ mask: $()
2079
2079
  }],
2080
2080
  /**
2081
2081
  * Mask Size
@@ -5949,10 +5949,10 @@ var Ir = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(Ir ||
5949
5949
  height: this.createSizeForCssProperty(b, "height")
5950
5950
  };
5951
5951
  this.flexDir === "row" ? se.flexBasis = se.width : this.flexDir === "column" && (se.flexBasis = se.height);
5952
- var oe = this.state.width !== se.width, H = this.state.height !== se.height, ue = this.state.flexBasis !== se.flexBasis, U = oe || H || ue;
5953
- U && rw(function() {
5952
+ var oe = this.state.width !== se.width, H = this.state.height !== se.height, ue = this.state.flexBasis !== se.flexBasis, $ = oe || H || ue;
5953
+ $ && rw(function() {
5954
5954
  i.setState(se);
5955
- }), this.props.onResize && U && this.props.onResize(s, h, this.resizable, T);
5955
+ }), this.props.onResize && $ && this.props.onResize(s, h, this.resizable, T);
5956
5956
  }
5957
5957
  }, t.prototype.onMouseUp = function(s) {
5958
5958
  var i, o, n = this.state, r = n.isResizing, a = n.direction;
@@ -8471,34 +8471,34 @@ function jt(e, t, s) {
8471
8471
  const E = hf(e, s), M = R.slice(), k = {}, x = {}, T = [], N = [], _ = [];
8472
8472
  let B = 0;
8473
8473
  const se = o?.columns.slice() ?? [], oe = n?.columns.slice() ?? [];
8474
- for (const U of y) {
8475
- const te = U.colId;
8474
+ for (const $ of y) {
8475
+ const te = $.colId;
8476
8476
  if (te.startsWith(fa)) {
8477
- T.push(U), _.push(U);
8477
+ T.push($), _.push($);
8478
8478
  continue;
8479
8479
  }
8480
8480
  if (Ds(te)) {
8481
- N.push(U), _.push(U);
8481
+ N.push($), _.push($);
8482
8482
  continue;
8483
8483
  }
8484
8484
  const K = F(te);
8485
- K ? (v(K, U, k, x, !1), Yt(M, K)) : (_.push(U), B += 1);
8485
+ K ? (v(K, $, k, x, !1), Yt(M, K)) : (_.push($), B += 1);
8486
8486
  }
8487
- const H = (U) => v(U, null, k, x, !1);
8487
+ const H = ($) => v($, null, k, x, !1);
8488
8488
  M.forEach(H), o?.sortColumns(Xu.bind(o, k, se)), n?.sortColumns(Xu.bind(n, x, oe)), i.refreshCols(!1, s);
8489
- const ue = (U, te, J = []) => {
8489
+ const ue = ($, te, J = []) => {
8490
8490
  for (const K of te) {
8491
- const Y = U(K.colId);
8491
+ const Y = $(K.colId);
8492
8492
  Yt(J, Y), v(Y, K, null, null, !0);
8493
8493
  }
8494
8494
  J.forEach(H);
8495
8495
  };
8496
8496
  return ue(
8497
- (U) => r?.getColumn(U) ?? null,
8497
+ ($) => r?.getColumn($) ?? null,
8498
8498
  T,
8499
8499
  r?.getColumns()?.slice()
8500
8500
  ), ue(
8501
- (U) => a?.getColumn(U) ?? null,
8501
+ ($) => a?.getColumn($) ?? null,
8502
8502
  N,
8503
8503
  a?.getColumns()?.slice()
8504
8504
  ), my(t, i, p), c.refresh(s), g.dispatchEvent({
@@ -42883,15 +42883,15 @@ var DC = sd((e, t) => {
42883
42883
  return;
42884
42884
  }
42885
42885
  const H = {
42886
- setInnerRenderer: (U, te) => {
42887
- u(U), f(te);
42886
+ setInnerRenderer: ($, te) => {
42887
+ u($), f(te);
42888
42888
  },
42889
- setChildCount: (U) => g(U),
42890
- toggleCss: (U, te) => v((J) => J.setClass(U, te)),
42891
- setContractedDisplayed: (U) => y((te) => te.setClass("ag-hidden", !U)),
42892
- setExpandedDisplayed: (U) => b((te) => te.setClass("ag-hidden", !U)),
42893
- setCheckboxVisible: (U) => F((te) => te.setClass("ag-invisible", !U)),
42894
- setCheckboxSpacing: (U) => F((te) => te.setClass("ag-group-checkbox-spacing", U))
42889
+ setChildCount: ($) => g($),
42890
+ toggleCss: ($, te) => v((J) => J.setClass($, te)),
42891
+ setContractedDisplayed: ($) => y((te) => te.setClass("ag-hidden", !$)),
42892
+ setExpandedDisplayed: ($) => b((te) => te.setClass("ag-hidden", !$)),
42893
+ setCheckboxVisible: ($) => F((te) => te.setClass("ag-invisible", !$)),
42894
+ setCheckboxSpacing: ($) => F((te) => te.setClass("ag-group-checkbox-spacing", $))
42895
42895
  }, ue = s.createDynamicBean("groupCellRendererCtrl", !0);
42896
42896
  ue && (c.current = i.createBean(ue), c.current.init(
42897
42897
  H,
@@ -43424,10 +43424,10 @@ var UA = 1e3, $A = class {
43424
43424
  () => new Wt("ag-header-cell", "ag-floating-filter")
43425
43425
  ), [a, l] = A(() => new Wt()), [c, d] = A(
43426
43426
  () => new Wt("ag-floating-filter-button", "ag-hidden")
43427
- ), [u, h] = A("false"), [g, p] = A(), [, f] = A(1), C = O(), v = O(null), w = O(null), b = O(null), S = O(null), y = O(), R = O(), F = (U) => {
43428
- U != null && y.current && y.current(U);
43429
- }, E = P((U) => {
43430
- if (v.current = U, !U || !e.isAlive() || t.isDestroyed()) {
43427
+ ), [u, h] = A("false"), [g, p] = A(), [, f] = A(1), C = O(), v = O(null), w = O(null), b = O(null), S = O(null), y = O(), R = O(), F = ($) => {
43428
+ $ != null && y.current && y.current($);
43429
+ }, E = P(($) => {
43430
+ if (v.current = $, !$ || !e.isAlive() || t.isDestroyed()) {
43431
43431
  C.current = t.destroyBean(C.current);
43432
43432
  return;
43433
43433
  }
@@ -43448,7 +43448,7 @@ var UA = 1e3, $A = class {
43448
43448
  getFloatingFilterComp: () => R.current ? R.current : null,
43449
43449
  setMenuIcon: (J) => S.current?.appendChild(J)
43450
43450
  };
43451
- e.setComp(te, U, S.current, w.current, C.current);
43451
+ e.setComp(te, $, S.current, w.current, C.current);
43452
43452
  }, []);
43453
43453
  $t(
43454
43454
  () => Dn(g, t, w.current, F),
@@ -43458,7 +43458,7 @@ var UA = 1e3, $A = class {
43458
43458
  be(() => {
43459
43459
  if (g?.componentFromFramework)
43460
43460
  if (N) {
43461
- const U = _ ? qA : OA, te = new U(g.params, () => f((J) => J + 1));
43461
+ const $ = _ ? qA : OA, te = new $(g.params, () => f((J) => J + 1));
43462
43462
  F(te), se(te);
43463
43463
  } else
43464
43464
  pu();
@@ -43468,7 +43468,7 @@ var UA = 1e3, $A = class {
43468
43468
  gu.Provider,
43469
43469
  {
43470
43470
  value: {
43471
- setMethods: (U) => B.setMethods(U)
43471
+ setMethods: ($) => B.setMethods($)
43472
43472
  }
43473
43473
  },
43474
43474
  /* @__PURE__ */ j.createElement(ue, { ...oe })
@@ -43805,8 +43805,8 @@ var UA = 1e3, $A = class {
43805
43805
  instanceId: r
43806
43806
  } = e, a = O(), [l, c] = A(
43807
43807
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
43808
- ), [d, u] = A(), [h, g] = A(1), [p, f] = A(), [C, v] = A(!1), [w, b] = A(!1), [S, y] = A(!1), [R, F] = A(), E = V(() => e.isForceWrapper(), [e]), M = V(() => e.getCellAriaRole(), [e]), k = O(null), x = O(null), T = O(null), N = O(), _ = O(), B = O(), se = O([]), oe = O(), H = O(), [ue, U] = A(0), te = P((we) => {
43809
- H.current = we, U((Ee) => Ee + 1);
43808
+ ), [d, u] = A(), [h, g] = A(1), [p, f] = A(), [C, v] = A(!1), [w, b] = A(!1), [S, y] = A(!1), [R, F] = A(), E = V(() => e.isForceWrapper(), [e]), M = V(() => e.getCellAriaRole(), [e]), k = O(null), x = O(null), T = O(null), N = O(), _ = O(), B = O(), se = O([]), oe = O(), H = O(), [ue, $] = A(0), te = P((we) => {
43809
+ H.current = we, $((Ee) => Ee + 1);
43810
43810
  }, []), J = l != null && (C || S || w) && (d == null || !!d.popup), K = E || J, Y = V(() => e.getCellValueClass(), [e]), ne = P(
43811
43811
  (we) => {
43812
43812
  if (_.current = we, we) {
@@ -43825,19 +43825,19 @@ var UA = 1e3, $A = class {
43825
43825
  if (D.current = l, we == null || we.compDetails == null || Ee == null || Ee.compDetails == null)
43826
43826
  return;
43827
43827
  oe.current?.refreshVisibility();
43828
- const $ = we.compDetails, Se = Ee.compDetails;
43829
- if ($.componentClass != Se.componentClass || T.current?.refresh == null)
43828
+ const U = we.compDetails, Se = Ee.compDetails;
43829
+ if (U.componentClass != Se.componentClass || T.current?.refresh == null)
43830
43830
  return;
43831
43831
  T.current.refresh(Se.params) != !0 && g((De) => De + 1);
43832
43832
  }, [l]), $t(() => {
43833
43833
  if (!(d && !d.compDetails.componentFromFramework) || o.isDestroyed())
43834
43834
  return;
43835
- const Ee = d.compDetails, $ = d.popup === !0, Se = Ee.newAgStackInstance();
43835
+ const Ee = d.compDetails, U = d.popup === !0, Se = Ee.newAgStackInstance();
43836
43836
  return Se.then((fe) => {
43837
43837
  if (!fe)
43838
43838
  return;
43839
43839
  const De = fe.getGui();
43840
- ne(fe), $ || ((E ? B : k).current?.appendChild(De), fe.afterGuiAttached?.()), F(fe);
43840
+ ne(fe), U || ((E ? B : k).current?.appendChild(De), fe.afterGuiAttached?.()), F(fe);
43841
43841
  }), () => {
43842
43842
  Se.then((fe) => {
43843
43843
  const De = fe.getGui();
@@ -43855,12 +43855,12 @@ var UA = 1e3, $A = class {
43855
43855
  return;
43856
43856
  }
43857
43857
  let Ee;
43858
- const $ = (Se) => {
43858
+ const U = (Se) => {
43859
43859
  Se && (we.insertAdjacentElement("afterbegin", Se.getGui()), se.current.push(() => {
43860
43860
  Hs(Se.getGui()), o.destroyBean(Se), oe.current === Ee && (oe.current = void 0);
43861
43861
  }));
43862
43862
  };
43863
- C && $(e.createSelectionCheckbox()), S && $(e.createDndSource()), w && (Ee = e.createRowDragComp(), oe.current = Ee, Ee && ($(Ee), Ee.refreshVisibility()));
43863
+ C && U(e.createSelectionCheckbox()), S && U(e.createDndSource()), w && (Ee = e.createRowDragComp(), oe.current = Ee, Ee && (U(Ee), Ee.refreshVisibility()));
43864
43864
  },
43865
43865
  [e, o, S, w, C]
43866
43866
  ), le = P(() => {
@@ -43870,7 +43870,7 @@ var UA = 1e3, $A = class {
43870
43870
  return;
43871
43871
  }
43872
43872
  a.current = o.createBean(new vo());
43873
- const $ = {
43873
+ const U = {
43874
43874
  toggleCss: (fe, De) => G.current.toggleCss(fe, De),
43875
43875
  setUserStyles: (fe) => f(fe),
43876
43876
  getFocusableElement: () => k.current,
@@ -43914,7 +43914,7 @@ var UA = 1e3, $A = class {
43914
43914
  compProxy: Ve
43915
43915
  }), De || c(void 0);
43916
43916
  } else
43917
- e.hasBrowserFocus() && $.getFocusableElement().focus({ preventScroll: !0 }), _.current = void 0, u(void 0);
43917
+ e.hasBrowserFocus() && U.getFocusableElement().focus({ preventScroll: !0 }), _.current = void 0, u(void 0);
43918
43918
  },
43919
43919
  refreshEditStyles: (fe, De) => {
43920
43920
  if (!k.current)
@@ -43924,7 +43924,7 @@ var UA = 1e3, $A = class {
43924
43924
  }
43925
43925
  }, Se = B.current || void 0;
43926
43926
  e.setComp(
43927
- $,
43927
+ U,
43928
43928
  Ee,
43929
43929
  x.current ?? void 0,
43930
43930
  Se,
@@ -43948,11 +43948,11 @@ var UA = 1e3, $A = class {
43948
43948
  if (!we)
43949
43949
  return Ee?.toString?.() ?? Ee;
43950
43950
  if (we.componentFromFramework) {
43951
- const $ = we.componentClass;
43952
- return /* @__PURE__ */ j.createElement(pv, { fallback: /* @__PURE__ */ j.createElement(uk, { cellCtrl: e, parent: k }) }, Fe ? /* @__PURE__ */ j.createElement($, { ...we.params, key: h }) : /* @__PURE__ */ j.createElement($, { ...we.params, key: h, ref: T }));
43951
+ const U = we.componentClass;
43952
+ return /* @__PURE__ */ j.createElement(pv, { fallback: /* @__PURE__ */ j.createElement(uk, { cellCtrl: e, parent: k }) }, Fe ? /* @__PURE__ */ j.createElement(U, { ...we.params, key: h }) : /* @__PURE__ */ j.createElement(U, { ...we.params, key: h, ref: T }));
43953
43953
  }
43954
43954
  }, Oe = () => {
43955
- const we = () => l == null ? null : K ? /* @__PURE__ */ j.createElement("span", { role: "presentation", id: `cell-${r}`, className: Y, ref: te }, xe()) : xe(), Ee = ($) => ck($, ne, k.current, e, R);
43955
+ const we = () => l == null ? null : K ? /* @__PURE__ */ j.createElement("span", { role: "presentation", id: `cell-${r}`, className: Y, ref: te }, xe()) : xe(), Ee = (U) => ck(U, ne, k.current, e, R);
43956
43956
  return d != null ? d.popup ? /* @__PURE__ */ j.createElement(j.Fragment, null, we(), Ee(d)) : Ee(d) : we();
43957
43957
  }, nt = () => /* @__PURE__ */ j.createElement("div", { ref: ie, style: p, role: M, "col-id": n }, K ? /* @__PURE__ */ j.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: q }, Oe()) : Oe());
43958
43958
  return e.isCellSpanning() ? /* @__PURE__ */ j.createElement("div", { ref: ve, className: "ag-spanned-cell-wrapper", role: "presentation" }, nt()) : nt();
@@ -43976,11 +43976,11 @@ var UA = 1e3, $A = class {
43976
43976
  }), ue = P((ie) => (H.current = ie, () => {
43977
43977
  H.current = () => {
43978
43978
  };
43979
- }), []), U = EA(
43979
+ }), []), $ = EA(
43980
43980
  ue,
43981
43981
  () => w.current,
43982
43982
  []
43983
- ), te = n ? U : b, J = P((ie) => {
43983
+ ), te = n ? $ : b, J = P((ie) => {
43984
43984
  if (x.current = ie, r.current = ie ? s.createBean(new vo()) : s.destroyBean(r.current), !ie) {
43985
43985
  e.unsetComp(t);
43986
43986
  return;
@@ -44086,12 +44086,12 @@ var UA = 1e3, $A = class {
44086
44086
  o.current && (o.current.style.height = H);
44087
44087
  },
44088
44088
  setRowCtrls: ({ rowCtrls: H, useFlushSync: ue }) => {
44089
- const U = !!ue && a.current.length > 0 && H.length > 0;
44090
- a.current = H, B(U);
44089
+ const $ = !!ue && a.current.length > 0 && H.length > 0;
44090
+ a.current = H, B($);
44091
44091
  },
44092
44092
  setSpannedRowCtrls: (H, ue) => {
44093
- const U = !!ue && h.current.length > 0 && H.length > 0;
44094
- h.current = H, se(U);
44093
+ const $ = !!ue && h.current.length > 0 && H.length > 0;
44094
+ h.current = H, se($);
44095
44095
  },
44096
44096
  setDomOrder: (H) => {
44097
44097
  C.current != H && (C.current = H, B(!1));
@@ -44141,8 +44141,8 @@ var UA = 1e3, $A = class {
44141
44141
  }, mk = gt(fk), Ck = () => {
44142
44142
  const e = st(pt), { context: t, overlays: s } = e, [i, o] = A(""), [n, r] = A(0), [a, l] = A(0), [c, d] = A("0px"), [u, h] = A("0px"), [g, p] = A("100%"), [f, C] = A("0px"), [v, w] = A("0px"), [b, S] = A("100%"), [y, R] = A(!0), [F, E] = A(!0), [M, k] = A(null), [x, T] = A(""), [N, _] = A(null), [B, se] = A("ag-layout-normal"), oe = O();
44143
44143
  oe.current || (oe.current = new yn(() => H.current));
44144
- const H = O(null), ue = O(null), U = O(null), te = O(null), J = O(null), K = O(null), Y = O(null), ne = O([]), G = O([]);
44145
- si(" AG Grid Body ", H), si(" AG Pinned Top ", ue), si(" AG Sticky Top ", U), si(" AG Middle ", K), si(" AG Pinned Bottom ", Y);
44144
+ const H = O(null), ue = O(null), $ = O(null), te = O(null), J = O(null), K = O(null), Y = O(null), ne = O([]), G = O([]);
44145
+ si(" AG Grid Body ", H), si(" AG Pinned Top ", ue), si(" AG Sticky Top ", $), si(" AG Middle ", K), si(" AG Pinned Bottom ", Y);
44146
44146
  const D = P((De) => {
44147
44147
  if (H.current = De, !De || t.isDestroyed()) {
44148
44148
  ne.current = t.destroyBeans(ne.current);
@@ -44202,7 +44202,7 @@ var UA = 1e3, $A = class {
44202
44202
  K.current,
44203
44203
  ue.current,
44204
44204
  Y.current,
44205
- U.current,
44205
+ $.current,
44206
44206
  te.current
44207
44207
  );
44208
44208
  }, []), q = V(() => Nt("ag-root", "ag-unselectable", B), [B]), le = V(
@@ -44244,7 +44244,7 @@ var UA = 1e3, $A = class {
44244
44244
  width: b
44245
44245
  }),
44246
44246
  [f, v, b]
44247
- ), $ = V(
44247
+ ), U = V(
44248
44248
  () => ({
44249
44249
  height: a,
44250
44250
  minHeight: a,
@@ -44267,7 +44267,7 @@ var UA = 1e3, $A = class {
44267
44267
  className: le,
44268
44268
  children: ["left", "center", "right", "fullWidth"]
44269
44269
  })), fe({
44270
- section: U,
44270
+ section: $,
44271
44271
  className: Fe,
44272
44272
  style: we,
44273
44273
  children: ["stickyTopLeft", "stickyTopCenter", "stickyTopRight", "stickyTopFullWidth"]
@@ -44279,7 +44279,7 @@ var UA = 1e3, $A = class {
44279
44279
  }), fe({
44280
44280
  section: Y,
44281
44281
  className: Oe,
44282
- style: $,
44282
+ style: U,
44283
44283
  children: ["bottomLeft", "bottomCenter", "bottomRight", "bottomFullWidth"]
44284
44284
  }));
44285
44285
  }, vk = gt(Ck), wk = (e, t) => {
@@ -44383,18 +44383,18 @@ var UA = 1e3, $A = class {
44383
44383
  sideBarSelector: oe,
44384
44384
  statusBarSelector: H,
44385
44385
  gridHeaderDropZonesSelector: ue
44386
- } = T.getOptionalSelectors(), U = [];
44386
+ } = T.getOptionalSelectors(), $ = [];
44387
44387
  if (ue) {
44388
44388
  const J = e.createBean(new ue.component()), K = J.getGui();
44389
- N.insertAdjacentElement("afterbegin", K), U.push(K), _.push(J);
44389
+ N.insertAdjacentElement("afterbegin", K), $.push(K), _.push(J);
44390
44390
  }
44391
44391
  if (oe) {
44392
44392
  const J = e.createBean(new oe.component()), K = J.getGui(), Y = C.querySelector(".ag-tab-guard-bottom");
44393
- Y && (Y.insertAdjacentElement("beforebegin", K), U.push(K)), _.push(J), S.current.push(J);
44393
+ Y && (Y.insertAdjacentElement("beforebegin", K), $.push(K)), _.push(J), S.current.push(J);
44394
44394
  }
44395
44395
  const te = (J) => {
44396
44396
  const K = e.createBean(new J()), Y = K.getGui();
44397
- return N.insertAdjacentElement("beforeend", Y), U.push(Y), _.push(K), K;
44397
+ return N.insertAdjacentElement("beforeend", Y), $.push(Y), _.push(K), K;
44398
44398
  };
44399
44399
  if (H && te(H.component), se) {
44400
44400
  const J = te(se.component);
@@ -44402,7 +44402,7 @@ var UA = 1e3, $A = class {
44402
44402
  }
44403
44403
  return B && te(B.component), () => {
44404
44404
  e.destroyBeans(_);
44405
- for (const J of U)
44405
+ for (const J of $)
44406
44406
  J.remove();
44407
44407
  };
44408
44408
  }, [u, C, e]);
@@ -44823,7 +44823,7 @@ const kk = ee(
44823
44823
  const q = D.target;
44824
44824
  return !(g?.current && q instanceof Node && g.current.contains(q));
44825
44825
  }
44826
- }), H = Qc(_, { role: "menu" }), { getReferenceProps: ue, getFloatingProps: U } = Xc([
44826
+ }), H = Qc(_, { role: "menu" }), { getReferenceProps: ue, getFloatingProps: $ } = Xc([
44827
44827
  B,
44828
44828
  se,
44829
44829
  oe,
@@ -44981,7 +44981,7 @@ const kk = ee(
44981
44981
  !v && "w-max",
44982
44982
  h
44983
44983
  ),
44984
- ...U(),
44984
+ ...$(),
44985
44985
  children: [
44986
44986
  c && /* @__PURE__ */ m("div", { className: "flex items-center justify-between px-2 pt-2", children: /* @__PURE__ */ m(
44987
44987
  LC,
@@ -45186,7 +45186,7 @@ const OC = ({
45186
45186
  }
45187
45187
  },
45188
45188
  [i]
45189
- ), U = P(
45189
+ ), $ = P(
45190
45190
  (D) => {
45191
45191
  if (!D.data) return null;
45192
45192
  const q = g(D.data), le = x.has(q), ie = `row-select-${q}`;
@@ -45247,10 +45247,10 @@ const OC = ({
45247
45247
  floatingFilter: !1,
45248
45248
  suppressMenu: !0,
45249
45249
  borderless: !0,
45250
- cellRenderer: U,
45250
+ cellRenderer: $,
45251
45251
  headerComponent: H
45252
45252
  }),
45253
- [U, H]
45253
+ [$, H]
45254
45254
  ), K = V(() => {
45255
45255
  const D = (e ?? []).map(te);
45256
45256
  return r ? [J, ...D] : D;
@@ -46802,9 +46802,9 @@ const D8 = ({
46802
46802
  }) => {
46803
46803
  const x = id(), [T, N] = A(!1), [_, B] = A(
46804
46804
  E && l || ""
46805
- ), se = O(null), oe = i !== void 0, [H, ue] = A(o), U = oe ? i : H, te = V(() => t ? Array.isArray(U) ? U : [] : typeof U == "string" ? [U] : [], [U, t]), J = V(() => {
46806
- const $ = _.trim().toLowerCase();
46807
- return $ ? e.filter((Se) => Se.label.toLowerCase().includes($)) : e;
46805
+ ), se = O(null), oe = i !== void 0, [H, ue] = A(o), $ = oe ? i : H, te = V(() => t ? Array.isArray($) ? $ : [] : typeof $ == "string" ? [$] : [], [$, t]), J = V(() => {
46806
+ const U = _.trim().toLowerCase();
46807
+ return U ? e.filter((Se) => Se.label.toLowerCase().includes(U)) : e;
46808
46808
  }, [e, _]);
46809
46809
  be(() => {
46810
46810
  !T && !E && B("");
@@ -46812,19 +46812,19 @@ const D8 = ({
46812
46812
  E && B(l || "");
46813
46813
  }, [l, E]);
46814
46814
  const K = P(
46815
- ($) => {
46816
- oe || ue($), F?.($);
46815
+ (U) => {
46816
+ oe || ue(U), F?.(U);
46817
46817
  },
46818
46818
  [oe, F]
46819
- ), Y = ($) => {
46819
+ ), Y = (U) => {
46820
46820
  if (t) {
46821
46821
  const Se = new Set(te);
46822
- Se.has($) ? Se.delete($) : Se.add($), K(Array.from(Se));
46822
+ Se.has(U) ? Se.delete(U) : Se.add(U), K(Array.from(Se));
46823
46823
  } else
46824
- K($), N(!1);
46824
+ K(U), N(!1);
46825
46825
  }, ne = P(
46826
- ($, Se) => {
46827
- if ($.stopPropagation(), !t) {
46826
+ (U, Se) => {
46827
+ if (U.stopPropagation(), !t) {
46828
46828
  K("");
46829
46829
  return;
46830
46830
  }
@@ -46833,34 +46833,34 @@ const D8 = ({
46833
46833
  },
46834
46834
  [t, te, K]
46835
46835
  ), G = V(
46836
- () => J.filter(($) => !$.disabled),
46836
+ () => J.filter((U) => !U.disabled),
46837
46837
  [J]
46838
46838
  ), D = V(
46839
- () => G.filter(($) => te.includes($.value)).length,
46839
+ () => G.filter((U) => te.includes(U.value)).length,
46840
46840
  [G, te]
46841
- ), q = ($) => {
46842
- E && !t && !$ && Y(_), N($);
46841
+ ), q = (U) => {
46842
+ E && !t && !U && Y(_), N(U);
46843
46843
  }, le = G.length > 0 && D === G.length, ie = D > 0 && !le, ve = () => {
46844
46844
  if (!(!t || G.length === 0))
46845
46845
  if (le) {
46846
- const $ = new Set(G.map((fe) => fe.value)), Se = te.filter((fe) => !$.has(fe));
46846
+ const U = new Set(G.map((fe) => fe.value)), Se = te.filter((fe) => !U.has(fe));
46847
46847
  K(Se);
46848
46848
  } else {
46849
- const $ = new Set(te);
46850
- G.forEach((Se) => $.add(Se.value)), K(Array.from($));
46849
+ const U = new Set(te);
46850
+ G.forEach((Se) => U.add(Se.value)), K(Array.from(U));
46851
46851
  }
46852
46852
  }, Fe = te.length > 0;
46853
46853
  be(() => {
46854
46854
  T && E && !t && !v && requestAnimationFrame(() => {
46855
- const $ = se.current;
46856
- if (!$) return;
46857
- $.focus();
46858
- const Se = $.value?.length ?? 0;
46859
- $.setSelectionRange?.(Se, Se);
46855
+ const U = se.current;
46856
+ if (!U) return;
46857
+ U.focus();
46858
+ const Se = U.value?.length ?? 0;
46859
+ U.setSelectionRange?.(Se, Se);
46860
46860
  });
46861
46861
  }, [T, E, t, v]);
46862
46862
  const xe = !t && Fe ? te[0] : void 0, Oe = V(
46863
- () => xe ? e.find(($) => $.value === xe) : void 0,
46863
+ () => xe ? e.find((U) => U.value === xe) : void 0,
46864
46864
  [e, xe]
46865
46865
  ), nt = P(() => !t || te.length === 0 ? null : /* @__PURE__ */ m(
46866
46866
  _C,
@@ -46934,8 +46934,8 @@ const D8 = ({
46934
46934
  "aria-label": "Close select",
46935
46935
  className: "shrink-0",
46936
46936
  iconBefore: /* @__PURE__ */ m(ho, { size: 16 }),
46937
- onClick: ($) => {
46938
- R?.($), N(!1);
46937
+ onClick: (U) => {
46938
+ R?.(U), N(!1);
46939
46939
  }
46940
46940
  }
46941
46941
  )
@@ -46965,60 +46965,60 @@ const D8 = ({
46965
46965
  title: p,
46966
46966
  description: f
46967
46967
  }
46968
- ) }) : J.map(($) => {
46969
- const Se = te.includes($.value);
46968
+ ) }) : J.map((U) => {
46969
+ const Se = te.includes(U.value);
46970
46970
  return t ? /* @__PURE__ */ z(
46971
46971
  "div",
46972
46972
  {
46973
46973
  role: "option",
46974
46974
  "aria-selected": Se,
46975
- "aria-disabled": !!$.disabled,
46975
+ "aria-disabled": !!U.disabled,
46976
46976
  className: ee(
46977
46977
  jl,
46978
46978
  Se && R8,
46979
- $.disabled && bg,
46979
+ U.disabled && bg,
46980
46980
  "w-full"
46981
46981
  ),
46982
46982
  children: [
46983
46983
  /* @__PURE__ */ m(
46984
46984
  Pr,
46985
46985
  {
46986
- id: `${s || x}-${$.value}`,
46986
+ id: `${s || x}-${U.value}`,
46987
46987
  label: /* @__PURE__ */ z("span", { className: "flex w-full flex-1 min-w-0 items-center gap-2 text-primary", children: [
46988
- $.icon && /* @__PURE__ */ m(Be, { icon: $.icon }),
46989
- /* @__PURE__ */ m("span", { className: "truncate", children: $.label })
46988
+ U.icon && /* @__PURE__ */ m(Be, { icon: U.icon }),
46989
+ /* @__PURE__ */ m("span", { className: "truncate", children: U.label })
46990
46990
  ] }),
46991
46991
  checked: Se,
46992
- disabled: $.disabled,
46993
- onChange: () => !$.disabled && Y($.value),
46994
- ariaLabel: $.label
46992
+ disabled: U.disabled,
46993
+ onChange: () => !U.disabled && Y(U.value),
46994
+ ariaLabel: U.label
46995
46995
  }
46996
46996
  ),
46997
- $.description && /* @__PURE__ */ m("div", { className: "text-secondary dial-small", children: $.description })
46997
+ U.description && /* @__PURE__ */ m("div", { className: "text-secondary dial-small", children: U.description })
46998
46998
  ]
46999
46999
  },
47000
- $.value
47000
+ U.value
47001
47001
  ) : /* @__PURE__ */ m(
47002
47002
  "button",
47003
47003
  {
47004
47004
  role: "option",
47005
47005
  type: "button",
47006
47006
  "aria-selected": Se,
47007
- "aria-disabled": !!$.disabled,
47008
- disabled: $.disabled,
47007
+ "aria-disabled": !!U.disabled,
47008
+ disabled: U.disabled,
47009
47009
  className: ee(
47010
47010
  jl,
47011
47011
  Se && x8,
47012
- $.disabled && bg
47012
+ U.disabled && bg
47013
47013
  ),
47014
- onClick: () => !$.disabled && Y($.value),
47014
+ onClick: () => !U.disabled && Y(U.value),
47015
47015
  children: /* @__PURE__ */ z("div", { className: "flex items-center gap-2 w-full", children: [
47016
- $.icon && /* @__PURE__ */ m(Be, { icon: $.icon }),
47017
- /* @__PURE__ */ m(yt, { text: $.label }),
47018
- $.description && /* @__PURE__ */ m("div", { className: "text-secondary dial-small", children: $.description })
47016
+ U.icon && /* @__PURE__ */ m(Be, { icon: U.icon }),
47017
+ /* @__PURE__ */ m(yt, { text: U.label }),
47018
+ U.description && /* @__PURE__ */ m("div", { className: "text-secondary dial-small", children: U.description })
47019
47019
  ] })
47020
47020
  },
47021
- $.value
47021
+ U.value
47022
47022
  );
47023
47023
  })
47024
47024
  }
@@ -47026,8 +47026,8 @@ const D8 = ({
47026
47026
  y && /* @__PURE__ */ m(
47027
47027
  "div",
47028
47028
  {
47029
- onClick: ($) => {
47030
- k?.($), k && N(!1);
47029
+ onClick: (U) => {
47030
+ k?.(U), k && N(!1);
47031
47031
  },
47032
47032
  children: typeof y == "function" ? y() : y
47033
47033
  }
@@ -47049,11 +47049,11 @@ const D8 = ({
47049
47049
  n === jc.Secondary ? "!bg-layer-4" : "",
47050
47050
  w
47051
47051
  ),
47052
- onMouseDown: ($) => {
47053
- v || E && !t && (Ee(), $.preventDefault());
47052
+ onMouseDown: (U) => {
47053
+ v || E && !t && (Ee(), U.preventDefault());
47054
47054
  },
47055
47055
  onClick: () => {
47056
- v || (N(($) => !$), E && !t && (Ee(), se.current?.focus()));
47056
+ v || (N((U) => !U), E && !t && (Ee(), se.current?.focus()));
47057
47057
  },
47058
47058
  children: [
47059
47059
  E && !t ? /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary flex-1", children: /* @__PURE__ */ m(
@@ -47063,18 +47063,22 @@ const D8 = ({
47063
47063
  type: "text",
47064
47064
  placeholder: u ?? c,
47065
47065
  value: _ || "",
47066
- onChange: ($) => B($.currentTarget.value),
47066
+ onChange: (U) => B(U.currentTarget.value.trimStart()),
47067
47067
  onFocus: () => !v && N(!0),
47068
- onMouseDown: ($) => {
47069
- Ee(), $.stopPropagation();
47068
+ onMouseDown: (U) => {
47069
+ Ee(), U.stopPropagation();
47070
47070
  },
47071
- onClick: ($) => {
47072
- $.stopPropagation();
47071
+ onClick: (U) => {
47072
+ U.stopPropagation();
47073
+ },
47074
+ onKeyDown: (U) => {
47075
+ U.stopPropagation();
47073
47076
  },
47074
47077
  className: "bg-transparent outline-none w-full dial-small",
47075
47078
  ref: se,
47076
47079
  disabled: v,
47077
- "aria-disabled": v
47080
+ "aria-disabled": v,
47081
+ autoComplete: "off"
47078
47082
  }
47079
47083
  ) }) : /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary", children: we() }),
47080
47084
  !E && /* @__PURE__ */ m(
@@ -48287,7 +48291,7 @@ const oa = ({
48287
48291
  const { path: x, nodeType: T, name: N, items: _ } = k, B = T === He.FOLDER;
48288
48292
  if (!d && ZC(k)) return null;
48289
48293
  if (!B && !t) return;
48290
- const se = Array.isArray(_) && _.length > 0 && _.some((D) => D.nodeType === He.FOLDER || t), oe = S.has(x), H = r === x, ue = i.has(x), U = u === x, te = o.has(x), J = n.has(x), K = g && h && x === g && B, Y = w && ((D) => w(D, k)), ne = H ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", G = K ? [] : f?.(k) ?? [];
48294
+ const se = Array.isArray(_) && _.length > 0 && _.some((D) => D.nodeType === He.FOLDER || t), oe = S.has(x), H = r === x, ue = i.has(x), $ = u === x, te = o.has(x), J = n.has(x), K = g && h && x === g && B, Y = w && ((D) => w(D, k)), ne = H ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", G = K ? [] : f?.(k) ?? [];
48291
48295
  return /* @__PURE__ */ m("div", { className: "cursor-pointer text-secondary", children: /* @__PURE__ */ z("div", { className: "flex flex-col w-full", "aria-label": "folder", children: [
48292
48296
  /* @__PURE__ */ m(
48293
48297
  Mt,
@@ -48306,7 +48310,7 @@ const oa = ({
48306
48310
  ),
48307
48311
  "aria-selected": H,
48308
48312
  children: [
48309
- !U && /* @__PURE__ */ m(
48313
+ !$ && /* @__PURE__ */ m(
48310
48314
  "div",
48311
48315
  {
48312
48316
  className: "absolute size-full left-0 top-0 z-0",
@@ -48317,7 +48321,7 @@ const oa = ({
48317
48321
  "div",
48318
48322
  {
48319
48323
  className: "relative flex flex-row truncate items-center w-fit h-6",
48320
- onClick: () => !U && R(k),
48324
+ onClick: () => !$ && R(k),
48321
48325
  children: /* @__PURE__ */ z(Ge, { children: [
48322
48326
  B && /* @__PURE__ */ m(
48323
48327
  ew,
@@ -48340,7 +48344,7 @@ const oa = ({
48340
48344
  shared: J,
48341
48345
  iconSize: Ns,
48342
48346
  ...!K && {
48343
- editing: U,
48347
+ editing: $,
48344
48348
  onSave: C,
48345
48349
  onCancel: v,
48346
48350
  validate: Y
@@ -48350,7 +48354,7 @@ const oa = ({
48350
48354
  ] })
48351
48355
  }
48352
48356
  ),
48353
- G.length > 0 && !U && !K && /* @__PURE__ */ m("div", { className: "flex-1 flex justify-end", children: /* @__PURE__ */ m(
48357
+ G.length > 0 && !$ && !K && /* @__PURE__ */ m("div", { className: "flex-1 flex justify-end", children: /* @__PURE__ */ m(
48354
48358
  Mt,
48355
48359
  {
48356
48360
  placement: "bottom-start",
@@ -49018,7 +49022,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49018
49022
  f(ne), c(!0);
49019
49023
  },
49020
49024
  []
49021
- ), U = P(() => {
49025
+ ), $ = P(() => {
49022
49026
  c(!1), S.current || T();
49023
49027
  }, [T, S]), [te, J] = A(), K = P(
49024
49028
  (ne) => {
@@ -49036,7 +49040,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49036
49040
  );
49037
49041
  return {
49038
49042
  handleDuplicate: H,
49039
- handleCloseDestinationFolderPopup: U,
49043
+ handleCloseDestinationFolderPopup: $,
49040
49044
  handleOpenDestinationFolderPopup: ue,
49041
49045
  handleCopyTo: N,
49042
49046
  handleMoveTo: _,
@@ -49237,7 +49241,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49237
49241
  R(), S.current || x();
49238
49242
  }, [R, S, x]), ue = P((G) => {
49239
49243
  G.preventDefault(), G.stopPropagation(), G.dataTransfer.types.includes("Files") && r(!0);
49240
- }, []), U = P((G) => {
49244
+ }, []), $ = P((G) => {
49241
49245
  G.preventDefault(), G.stopPropagation();
49242
49246
  const D = G.currentTarget.getBoundingClientRect(), q = G.clientX, le = G.clientY;
49243
49247
  (q <= D.left || q >= D.right || le <= D.top || le >= D.bottom) && r(!1);
@@ -49319,7 +49323,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
49319
49323
  isDraggingOverWindow: a,
49320
49324
  uploadError: c,
49321
49325
  handleDragEnter: ue,
49322
- handleDragLeave: U,
49326
+ handleDragLeave: $,
49323
49327
  handleDragOver: te,
49324
49328
  handleDrop: J,
49325
49329
  clearError: ne,
@@ -49623,11 +49627,11 @@ const HL = ({
49623
49627
  actionsRef: H,
49624
49628
  sharedByMePaths: ue
49625
49629
  }) => {
49626
- const [U, te] = A(
49630
+ const [$, te] = A(
49627
49631
  /* @__PURE__ */ new Map()
49628
49632
  ), J = V(
49629
- () => new Set(U.keys()),
49630
- [U]
49633
+ () => new Set($.keys()),
49634
+ [$]
49631
49635
  ), K = P(() => te(/* @__PURE__ */ new Map()), []), { currentPath: Y, setCurrentPath: ne, handlePathChange: G } = PL({
49632
49636
  path: o,
49633
49637
  onPathChange: C,
@@ -49646,7 +49650,7 @@ const HL = ({
49646
49650
  }), {
49647
49651
  renamedPath: we,
49648
49652
  renamedItem: Ee,
49649
- renameHandler: $,
49653
+ renameHandler: U,
49650
49654
  renameSaveHandler: Se,
49651
49655
  renameCancelHandler: fe,
49652
49656
  renameValidateHandler: De,
@@ -49881,7 +49885,7 @@ const HL = ({
49881
49885
  toggleTreeCollapse: Oe,
49882
49886
  setIsTreeCollapsed: nt,
49883
49887
  selectedIds: J,
49884
- selectedFiles: U,
49888
+ selectedFiles: $,
49885
49889
  setSelectedFiles: te,
49886
49890
  clearSelection: K,
49887
49891
  currentFolder: ft,
@@ -49898,7 +49902,7 @@ const HL = ({
49898
49902
  handleDownloadFiles: yo,
49899
49903
  renamedPath: we,
49900
49904
  renamedItem: Ee,
49901
- onRename: $,
49905
+ onRename: U,
49902
49906
  onRenameSave: Se,
49903
49907
  onRenameCancel: fe,
49904
49908
  onRenameValidate: De,
@@ -50363,7 +50367,7 @@ const iv = ({
50363
50367
  }
50364
50368
  ],
50365
50369
  [v, w]
50366
- ), U = V(() => n.map((Y) => ({
50370
+ ), $ = V(() => n.map((Y) => ({
50367
50371
  id: Y.path,
50368
50372
  name: Y.name,
50369
50373
  path: Y.path,
@@ -50489,7 +50493,7 @@ const iv = ({
50489
50493
  OC,
50490
50494
  {
50491
50495
  columnDefs: te,
50492
- rowData: U,
50496
+ rowData: $,
50493
50497
  getRowId: (Y) => Y.id,
50494
50498
  withSelectionColumn: !1,
50495
50499
  wrapCustomCellRenderers: !1,
@@ -50507,7 +50511,7 @@ const iv = ({
50507
50511
  R,
50508
50512
  M,
50509
50513
  te,
50510
- U
50514
+ $
50511
50515
  ]
50512
50516
  ), K = P(() => {
50513
50517
  if (f)
@@ -50840,7 +50844,7 @@ const e7 = ({
50840
50844
  handleSetCopiedFiles: oe,
50841
50845
  handleSetMovedFiles: H,
50842
50846
  handleDuplicate: ue,
50843
- handleCopyTo: U,
50847
+ handleCopyTo: $,
50844
50848
  handleMoveTo: te,
50845
50849
  handleDownloadFiles: J,
50846
50850
  openDeleteConfirmation: K,
@@ -50858,7 +50862,7 @@ const e7 = ({
50858
50862
  isDragging: nt,
50859
50863
  isDraggingOverWindow: we,
50860
50864
  handleDragEnter: Ee,
50861
- handleDragLeave: $,
50865
+ handleDragLeave: U,
50862
50866
  handleDragOver: Se,
50863
50867
  handleDrop: fe,
50864
50868
  onUploadFiles: De,
@@ -51362,7 +51366,7 @@ const e7 = ({
51362
51366
  "aria-label": "File Manager Grid View",
51363
51367
  className: ge(Q8),
51364
51368
  onDragEnter: Ee,
51365
- onDragLeave: $,
51369
+ onDragLeave: U,
51366
51370
  onDragOver: Se,
51367
51371
  onDrop: fe,
51368
51372
  children: /* @__PURE__ */ m(
@@ -51432,7 +51436,7 @@ const e7 = ({
51432
51436
  onClose: _,
51433
51437
  onConfirm: () => {
51434
51438
  const Z = d?.destinationFolderPath ?? "/";
51435
- se === tt.Copy ? U(Z) : te(Z), _();
51439
+ se === tt.Copy ? $(Z) : te(Z), _();
51436
51440
  },
51437
51441
  mode: se,
51438
51442
  items: t,