@epam/ai-dial-ui-kit 0.5.0-rc.101 → 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.
- package/dist/dial-ui-kit.cjs.js +4 -4
- package/dist/dial-ui-kit.es.js +189 -177
- package/dist/index.css +1 -1
- package/dist/src/components/Popup/Popup.d.ts +6 -2
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -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
|
-
}],
|
|
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:
|
|
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:
|
|
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,
|
|
5953
|
-
|
|
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 &&
|
|
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
|
|
8475
|
-
const te =
|
|
8474
|
+
for (const $ of y) {
|
|
8475
|
+
const te = $.colId;
|
|
8476
8476
|
if (te.startsWith(fa)) {
|
|
8477
|
-
T.push(
|
|
8477
|
+
T.push($), _.push($);
|
|
8478
8478
|
continue;
|
|
8479
8479
|
}
|
|
8480
8480
|
if (Ds(te)) {
|
|
8481
|
-
N.push(
|
|
8481
|
+
N.push($), _.push($);
|
|
8482
8482
|
continue;
|
|
8483
8483
|
}
|
|
8484
8484
|
const K = F(te);
|
|
8485
|
-
K ? (v(K,
|
|
8485
|
+
K ? (v(K, $, k, x, !1), Yt(M, K)) : (_.push($), B += 1);
|
|
8486
8486
|
}
|
|
8487
|
-
const H = (
|
|
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 = (
|
|
8489
|
+
const ue = ($, te, J = []) => {
|
|
8490
8490
|
for (const K of te) {
|
|
8491
|
-
const Y =
|
|
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
|
-
(
|
|
8497
|
+
($) => r?.getColumn($) ?? null,
|
|
8498
8498
|
T,
|
|
8499
8499
|
r?.getColumns()?.slice()
|
|
8500
8500
|
), ue(
|
|
8501
|
-
(
|
|
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: (
|
|
42887
|
-
u(
|
|
42886
|
+
setInnerRenderer: ($, te) => {
|
|
42887
|
+
u($), f(te);
|
|
42888
42888
|
},
|
|
42889
|
-
setChildCount: (
|
|
42890
|
-
toggleCss: (
|
|
42891
|
-
setContractedDisplayed: (
|
|
42892
|
-
setExpandedDisplayed: (
|
|
42893
|
-
setCheckboxVisible: (
|
|
42894
|
-
setCheckboxSpacing: (
|
|
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 = (
|
|
43428
|
-
|
|
43429
|
-
}, E = P((
|
|
43430
|
-
if (v.current =
|
|
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,
|
|
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
|
|
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: (
|
|
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,
|
|
43809
|
-
H.current = we,
|
|
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
|
|
43829
|
-
if (
|
|
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,
|
|
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),
|
|
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
|
|
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 &&
|
|
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() &&
|
|
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
|
|
43952
|
-
return /* @__PURE__ */ j.createElement(pv, { fallback: /* @__PURE__ */ j.createElement(uk, { cellCtrl: e, parent: k }) }, Fe ? /* @__PURE__ */ j.createElement(
|
|
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 = (
|
|
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
|
-
}), []),
|
|
43979
|
+
}), []), $ = EA(
|
|
43980
43980
|
ue,
|
|
43981
43981
|
() => w.current,
|
|
43982
43982
|
[]
|
|
43983
|
-
), te = n ?
|
|
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
|
|
44090
|
-
a.current = H, B(
|
|
44089
|
+
const $ = !!ue && a.current.length > 0 && H.length > 0;
|
|
44090
|
+
a.current = H, B($);
|
|
44091
44091
|
},
|
|
44092
44092
|
setSpannedRowCtrls: (H, ue) => {
|
|
44093
|
-
const
|
|
44094
|
-
h.current = H, se(
|
|
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),
|
|
44145
|
-
si(" AG Grid Body ", H), si(" AG Pinned Top ", ue), si(" AG Sticky Top ",
|
|
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
|
-
|
|
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
|
-
),
|
|
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:
|
|
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(),
|
|
44386
|
+
} = T.getOptionalSelectors(), $ = [];
|
|
44387
44387
|
if (ue) {
|
|
44388
44388
|
const J = e.createBean(new ue.component()), K = J.getGui();
|
|
44389
|
-
N.insertAdjacentElement("afterbegin", K),
|
|
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),
|
|
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),
|
|
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
|
|
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:
|
|
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
|
-
|
|
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
|
-
),
|
|
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:
|
|
45250
|
+
cellRenderer: $,
|
|
45251
45251
|
headerComponent: H
|
|
45252
45252
|
}),
|
|
45253
|
-
[
|
|
45253
|
+
[$, H]
|
|
45254
45254
|
), K = V(() => {
|
|
45255
45255
|
const D = (e ?? []).map(te);
|
|
45256
45256
|
return r ? [J, ...D] : D;
|
|
@@ -46071,69 +46071,77 @@ const o8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", n8 = "d
|
|
|
46071
46071
|
portalId: s,
|
|
46072
46072
|
className: i,
|
|
46073
46073
|
overlayClassName: o,
|
|
46074
|
-
|
|
46075
|
-
|
|
46076
|
-
|
|
46077
|
-
|
|
46078
|
-
|
|
46079
|
-
|
|
46074
|
+
titleClassName: n,
|
|
46075
|
+
headerClassName: r,
|
|
46076
|
+
dividers: a = !0,
|
|
46077
|
+
children: l,
|
|
46078
|
+
footer: c,
|
|
46079
|
+
onClose: d,
|
|
46080
|
+
size: u = Kt.Md,
|
|
46081
|
+
closeOnOutsideClick: h = !0
|
|
46080
46082
|
}) => {
|
|
46081
|
-
const { refs:
|
|
46083
|
+
const { refs: g, context: p } = Yc({
|
|
46082
46084
|
open: e,
|
|
46083
|
-
onOpenChange: (
|
|
46084
|
-
|
|
46085
|
+
onOpenChange: (S) => {
|
|
46086
|
+
S || d?.(null);
|
|
46085
46087
|
}
|
|
46086
|
-
}),
|
|
46088
|
+
}), f = Qc(p, { role: "dialog" }), C = Zc(p, { outsidePress: h }), { getFloatingProps: v } = Xc([f, C]);
|
|
46087
46089
|
if (!e) return null;
|
|
46088
|
-
const
|
|
46090
|
+
const w = typeof t == "string" ? "dial-popup-heading" : void 0, b = (S) => S ? typeof S == "string" ? /* @__PURE__ */ m(
|
|
46089
46091
|
"h3",
|
|
46090
46092
|
{
|
|
46091
|
-
id:
|
|
46093
|
+
id: w,
|
|
46092
46094
|
className: ee(
|
|
46093
46095
|
"flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
|
|
46094
46096
|
n
|
|
46095
46097
|
),
|
|
46096
|
-
children: /* @__PURE__ */ m(Ws, { tooltip:
|
|
46098
|
+
children: /* @__PURE__ */ m(Ws, { tooltip: S, children: S })
|
|
46097
46099
|
}
|
|
46098
|
-
) :
|
|
46100
|
+
) : S : /* @__PURE__ */ m("span", {});
|
|
46099
46101
|
return /* @__PURE__ */ m(ed, { id: s, children: /* @__PURE__ */ m(
|
|
46100
46102
|
uv,
|
|
46101
46103
|
{
|
|
46102
46104
|
className: ee(o8, o),
|
|
46103
|
-
children: /* @__PURE__ */ m(Og, { context:
|
|
46105
|
+
children: /* @__PURE__ */ m(Og, { context: p, children: /* @__PURE__ */ z(
|
|
46104
46106
|
"div",
|
|
46105
46107
|
{
|
|
46106
|
-
ref:
|
|
46107
|
-
...
|
|
46108
|
+
ref: g.setFloating,
|
|
46109
|
+
...v(),
|
|
46108
46110
|
role: "dialog",
|
|
46109
46111
|
"aria-modal": "true",
|
|
46110
|
-
"aria-labelledby":
|
|
46112
|
+
"aria-labelledby": w,
|
|
46111
46113
|
className: ee(
|
|
46112
46114
|
"dial-popup",
|
|
46113
|
-
a8[
|
|
46114
|
-
|
|
46115
|
+
a8[u],
|
|
46116
|
+
a && n8,
|
|
46115
46117
|
i
|
|
46116
46118
|
),
|
|
46117
46119
|
children: [
|
|
46118
|
-
/* @__PURE__ */ z(
|
|
46119
|
-
|
|
46120
|
-
|
|
46121
|
-
|
|
46122
|
-
|
|
46123
|
-
|
|
46124
|
-
|
|
46125
|
-
|
|
46126
|
-
|
|
46127
|
-
|
|
46120
|
+
/* @__PURE__ */ z(
|
|
46121
|
+
"div",
|
|
46122
|
+
{
|
|
46123
|
+
className: ge(r8, r),
|
|
46124
|
+
children: [
|
|
46125
|
+
b(t),
|
|
46126
|
+
/* @__PURE__ */ m(
|
|
46127
|
+
LC,
|
|
46128
|
+
{
|
|
46129
|
+
ariaLabel: "Close dialog",
|
|
46130
|
+
onClose: (S) => d?.(S)
|
|
46131
|
+
}
|
|
46132
|
+
)
|
|
46133
|
+
]
|
|
46134
|
+
}
|
|
46135
|
+
),
|
|
46128
46136
|
/* @__PURE__ */ m(
|
|
46129
46137
|
"div",
|
|
46130
46138
|
{
|
|
46131
46139
|
className: "flex-grow overflow-auto",
|
|
46132
46140
|
"aria-label": "popup-description",
|
|
46133
|
-
children:
|
|
46141
|
+
children: l
|
|
46134
46142
|
}
|
|
46135
46143
|
),
|
|
46136
|
-
|
|
46144
|
+
c
|
|
46137
46145
|
]
|
|
46138
46146
|
}
|
|
46139
46147
|
) })
|
|
@@ -46794,9 +46802,9 @@ const D8 = ({
|
|
|
46794
46802
|
}) => {
|
|
46795
46803
|
const x = id(), [T, N] = A(!1), [_, B] = A(
|
|
46796
46804
|
E && l || ""
|
|
46797
|
-
), se = O(null), oe = i !== void 0, [H, ue] = A(o),
|
|
46798
|
-
const
|
|
46799
|
-
return
|
|
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;
|
|
46800
46808
|
}, [e, _]);
|
|
46801
46809
|
be(() => {
|
|
46802
46810
|
!T && !E && B("");
|
|
@@ -46804,19 +46812,19 @@ const D8 = ({
|
|
|
46804
46812
|
E && B(l || "");
|
|
46805
46813
|
}, [l, E]);
|
|
46806
46814
|
const K = P(
|
|
46807
|
-
(
|
|
46808
|
-
oe || ue(
|
|
46815
|
+
(U) => {
|
|
46816
|
+
oe || ue(U), F?.(U);
|
|
46809
46817
|
},
|
|
46810
46818
|
[oe, F]
|
|
46811
|
-
), Y = (
|
|
46819
|
+
), Y = (U) => {
|
|
46812
46820
|
if (t) {
|
|
46813
46821
|
const Se = new Set(te);
|
|
46814
|
-
Se.has(
|
|
46822
|
+
Se.has(U) ? Se.delete(U) : Se.add(U), K(Array.from(Se));
|
|
46815
46823
|
} else
|
|
46816
|
-
K(
|
|
46824
|
+
K(U), N(!1);
|
|
46817
46825
|
}, ne = P(
|
|
46818
|
-
(
|
|
46819
|
-
if (
|
|
46826
|
+
(U, Se) => {
|
|
46827
|
+
if (U.stopPropagation(), !t) {
|
|
46820
46828
|
K("");
|
|
46821
46829
|
return;
|
|
46822
46830
|
}
|
|
@@ -46825,34 +46833,34 @@ const D8 = ({
|
|
|
46825
46833
|
},
|
|
46826
46834
|
[t, te, K]
|
|
46827
46835
|
), G = V(
|
|
46828
|
-
() => J.filter((
|
|
46836
|
+
() => J.filter((U) => !U.disabled),
|
|
46829
46837
|
[J]
|
|
46830
46838
|
), D = V(
|
|
46831
|
-
() => G.filter((
|
|
46839
|
+
() => G.filter((U) => te.includes(U.value)).length,
|
|
46832
46840
|
[G, te]
|
|
46833
|
-
), q = (
|
|
46834
|
-
E && !t &&
|
|
46841
|
+
), q = (U) => {
|
|
46842
|
+
E && !t && !U && Y(_), N(U);
|
|
46835
46843
|
}, le = G.length > 0 && D === G.length, ie = D > 0 && !le, ve = () => {
|
|
46836
46844
|
if (!(!t || G.length === 0))
|
|
46837
46845
|
if (le) {
|
|
46838
|
-
const
|
|
46846
|
+
const U = new Set(G.map((fe) => fe.value)), Se = te.filter((fe) => !U.has(fe));
|
|
46839
46847
|
K(Se);
|
|
46840
46848
|
} else {
|
|
46841
|
-
const
|
|
46842
|
-
G.forEach((Se) =>
|
|
46849
|
+
const U = new Set(te);
|
|
46850
|
+
G.forEach((Se) => U.add(Se.value)), K(Array.from(U));
|
|
46843
46851
|
}
|
|
46844
46852
|
}, Fe = te.length > 0;
|
|
46845
46853
|
be(() => {
|
|
46846
46854
|
T && E && !t && !v && requestAnimationFrame(() => {
|
|
46847
|
-
const
|
|
46848
|
-
if (
|
|
46849
|
-
|
|
46850
|
-
const Se =
|
|
46851
|
-
|
|
46855
|
+
const U = se.current;
|
|
46856
|
+
if (!U) return;
|
|
46857
|
+
U.focus();
|
|
46858
|
+
const Se = U.value?.length ?? 0;
|
|
46859
|
+
U.setSelectionRange?.(Se, Se);
|
|
46852
46860
|
});
|
|
46853
46861
|
}, [T, E, t, v]);
|
|
46854
46862
|
const xe = !t && Fe ? te[0] : void 0, Oe = V(
|
|
46855
|
-
() => xe ? e.find((
|
|
46863
|
+
() => xe ? e.find((U) => U.value === xe) : void 0,
|
|
46856
46864
|
[e, xe]
|
|
46857
46865
|
), nt = P(() => !t || te.length === 0 ? null : /* @__PURE__ */ m(
|
|
46858
46866
|
_C,
|
|
@@ -46926,8 +46934,8 @@ const D8 = ({
|
|
|
46926
46934
|
"aria-label": "Close select",
|
|
46927
46935
|
className: "shrink-0",
|
|
46928
46936
|
iconBefore: /* @__PURE__ */ m(ho, { size: 16 }),
|
|
46929
|
-
onClick: (
|
|
46930
|
-
R?.(
|
|
46937
|
+
onClick: (U) => {
|
|
46938
|
+
R?.(U), N(!1);
|
|
46931
46939
|
}
|
|
46932
46940
|
}
|
|
46933
46941
|
)
|
|
@@ -46957,60 +46965,60 @@ const D8 = ({
|
|
|
46957
46965
|
title: p,
|
|
46958
46966
|
description: f
|
|
46959
46967
|
}
|
|
46960
|
-
) }) : J.map((
|
|
46961
|
-
const Se = te.includes(
|
|
46968
|
+
) }) : J.map((U) => {
|
|
46969
|
+
const Se = te.includes(U.value);
|
|
46962
46970
|
return t ? /* @__PURE__ */ z(
|
|
46963
46971
|
"div",
|
|
46964
46972
|
{
|
|
46965
46973
|
role: "option",
|
|
46966
46974
|
"aria-selected": Se,
|
|
46967
|
-
"aria-disabled":
|
|
46975
|
+
"aria-disabled": !!U.disabled,
|
|
46968
46976
|
className: ee(
|
|
46969
46977
|
jl,
|
|
46970
46978
|
Se && R8,
|
|
46971
|
-
|
|
46979
|
+
U.disabled && bg,
|
|
46972
46980
|
"w-full"
|
|
46973
46981
|
),
|
|
46974
46982
|
children: [
|
|
46975
46983
|
/* @__PURE__ */ m(
|
|
46976
46984
|
Pr,
|
|
46977
46985
|
{
|
|
46978
|
-
id: `${s || x}-${
|
|
46986
|
+
id: `${s || x}-${U.value}`,
|
|
46979
46987
|
label: /* @__PURE__ */ z("span", { className: "flex w-full flex-1 min-w-0 items-center gap-2 text-primary", children: [
|
|
46980
|
-
|
|
46981
|
-
/* @__PURE__ */ m("span", { className: "truncate", children:
|
|
46988
|
+
U.icon && /* @__PURE__ */ m(Be, { icon: U.icon }),
|
|
46989
|
+
/* @__PURE__ */ m("span", { className: "truncate", children: U.label })
|
|
46982
46990
|
] }),
|
|
46983
46991
|
checked: Se,
|
|
46984
|
-
disabled:
|
|
46985
|
-
onChange: () =>
|
|
46986
|
-
ariaLabel:
|
|
46992
|
+
disabled: U.disabled,
|
|
46993
|
+
onChange: () => !U.disabled && Y(U.value),
|
|
46994
|
+
ariaLabel: U.label
|
|
46987
46995
|
}
|
|
46988
46996
|
),
|
|
46989
|
-
|
|
46997
|
+
U.description && /* @__PURE__ */ m("div", { className: "text-secondary dial-small", children: U.description })
|
|
46990
46998
|
]
|
|
46991
46999
|
},
|
|
46992
|
-
|
|
47000
|
+
U.value
|
|
46993
47001
|
) : /* @__PURE__ */ m(
|
|
46994
47002
|
"button",
|
|
46995
47003
|
{
|
|
46996
47004
|
role: "option",
|
|
46997
47005
|
type: "button",
|
|
46998
47006
|
"aria-selected": Se,
|
|
46999
|
-
"aria-disabled":
|
|
47000
|
-
disabled:
|
|
47007
|
+
"aria-disabled": !!U.disabled,
|
|
47008
|
+
disabled: U.disabled,
|
|
47001
47009
|
className: ee(
|
|
47002
47010
|
jl,
|
|
47003
47011
|
Se && x8,
|
|
47004
|
-
|
|
47012
|
+
U.disabled && bg
|
|
47005
47013
|
),
|
|
47006
|
-
onClick: () =>
|
|
47014
|
+
onClick: () => !U.disabled && Y(U.value),
|
|
47007
47015
|
children: /* @__PURE__ */ z("div", { className: "flex items-center gap-2 w-full", children: [
|
|
47008
|
-
|
|
47009
|
-
/* @__PURE__ */ m(yt, { text:
|
|
47010
|
-
|
|
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 })
|
|
47011
47019
|
] })
|
|
47012
47020
|
},
|
|
47013
|
-
|
|
47021
|
+
U.value
|
|
47014
47022
|
);
|
|
47015
47023
|
})
|
|
47016
47024
|
}
|
|
@@ -47018,8 +47026,8 @@ const D8 = ({
|
|
|
47018
47026
|
y && /* @__PURE__ */ m(
|
|
47019
47027
|
"div",
|
|
47020
47028
|
{
|
|
47021
|
-
onClick: (
|
|
47022
|
-
k?.(
|
|
47029
|
+
onClick: (U) => {
|
|
47030
|
+
k?.(U), k && N(!1);
|
|
47023
47031
|
},
|
|
47024
47032
|
children: typeof y == "function" ? y() : y
|
|
47025
47033
|
}
|
|
@@ -47041,11 +47049,11 @@ const D8 = ({
|
|
|
47041
47049
|
n === jc.Secondary ? "!bg-layer-4" : "",
|
|
47042
47050
|
w
|
|
47043
47051
|
),
|
|
47044
|
-
onMouseDown: (
|
|
47045
|
-
v || E && !t && (Ee(),
|
|
47052
|
+
onMouseDown: (U) => {
|
|
47053
|
+
v || E && !t && (Ee(), U.preventDefault());
|
|
47046
47054
|
},
|
|
47047
47055
|
onClick: () => {
|
|
47048
|
-
v || (N((
|
|
47056
|
+
v || (N((U) => !U), E && !t && (Ee(), se.current?.focus()));
|
|
47049
47057
|
},
|
|
47050
47058
|
children: [
|
|
47051
47059
|
E && !t ? /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary flex-1", children: /* @__PURE__ */ m(
|
|
@@ -47055,18 +47063,22 @@ const D8 = ({
|
|
|
47055
47063
|
type: "text",
|
|
47056
47064
|
placeholder: u ?? c,
|
|
47057
47065
|
value: _ || "",
|
|
47058
|
-
onChange: (
|
|
47066
|
+
onChange: (U) => B(U.currentTarget.value.trimStart()),
|
|
47059
47067
|
onFocus: () => !v && N(!0),
|
|
47060
|
-
onMouseDown: (
|
|
47061
|
-
Ee(),
|
|
47068
|
+
onMouseDown: (U) => {
|
|
47069
|
+
Ee(), U.stopPropagation();
|
|
47062
47070
|
},
|
|
47063
|
-
onClick: (
|
|
47064
|
-
|
|
47071
|
+
onClick: (U) => {
|
|
47072
|
+
U.stopPropagation();
|
|
47073
|
+
},
|
|
47074
|
+
onKeyDown: (U) => {
|
|
47075
|
+
U.stopPropagation();
|
|
47065
47076
|
},
|
|
47066
47077
|
className: "bg-transparent outline-none w-full dial-small",
|
|
47067
47078
|
ref: se,
|
|
47068
47079
|
disabled: v,
|
|
47069
|
-
"aria-disabled": v
|
|
47080
|
+
"aria-disabled": v,
|
|
47081
|
+
autoComplete: "off"
|
|
47070
47082
|
}
|
|
47071
47083
|
) }) : /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary", children: we() }),
|
|
47072
47084
|
!E && /* @__PURE__ */ m(
|
|
@@ -48279,7 +48291,7 @@ const oa = ({
|
|
|
48279
48291
|
const { path: x, nodeType: T, name: N, items: _ } = k, B = T === He.FOLDER;
|
|
48280
48292
|
if (!d && ZC(k)) return null;
|
|
48281
48293
|
if (!B && !t) return;
|
|
48282
|
-
const se = Array.isArray(_) && _.length > 0 && _.some((D) => D.nodeType === He.FOLDER || t), oe = S.has(x), H = r === x, ue = i.has(x),
|
|
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) ?? [];
|
|
48283
48295
|
return /* @__PURE__ */ m("div", { className: "cursor-pointer text-secondary", children: /* @__PURE__ */ z("div", { className: "flex flex-col w-full", "aria-label": "folder", children: [
|
|
48284
48296
|
/* @__PURE__ */ m(
|
|
48285
48297
|
Mt,
|
|
@@ -48298,7 +48310,7 @@ const oa = ({
|
|
|
48298
48310
|
),
|
|
48299
48311
|
"aria-selected": H,
|
|
48300
48312
|
children: [
|
|
48301
|
-
|
|
48313
|
+
!$ && /* @__PURE__ */ m(
|
|
48302
48314
|
"div",
|
|
48303
48315
|
{
|
|
48304
48316
|
className: "absolute size-full left-0 top-0 z-0",
|
|
@@ -48309,7 +48321,7 @@ const oa = ({
|
|
|
48309
48321
|
"div",
|
|
48310
48322
|
{
|
|
48311
48323
|
className: "relative flex flex-row truncate items-center w-fit h-6",
|
|
48312
|
-
onClick: () =>
|
|
48324
|
+
onClick: () => !$ && R(k),
|
|
48313
48325
|
children: /* @__PURE__ */ z(Ge, { children: [
|
|
48314
48326
|
B && /* @__PURE__ */ m(
|
|
48315
48327
|
ew,
|
|
@@ -48332,7 +48344,7 @@ const oa = ({
|
|
|
48332
48344
|
shared: J,
|
|
48333
48345
|
iconSize: Ns,
|
|
48334
48346
|
...!K && {
|
|
48335
|
-
editing:
|
|
48347
|
+
editing: $,
|
|
48336
48348
|
onSave: C,
|
|
48337
48349
|
onCancel: v,
|
|
48338
48350
|
validate: Y
|
|
@@ -48342,7 +48354,7 @@ const oa = ({
|
|
|
48342
48354
|
] })
|
|
48343
48355
|
}
|
|
48344
48356
|
),
|
|
48345
|
-
G.length > 0 &&
|
|
48357
|
+
G.length > 0 && !$ && !K && /* @__PURE__ */ m("div", { className: "flex-1 flex justify-end", children: /* @__PURE__ */ m(
|
|
48346
48358
|
Mt,
|
|
48347
48359
|
{
|
|
48348
48360
|
placement: "bottom-start",
|
|
@@ -49010,7 +49022,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49010
49022
|
f(ne), c(!0);
|
|
49011
49023
|
},
|
|
49012
49024
|
[]
|
|
49013
|
-
),
|
|
49025
|
+
), $ = P(() => {
|
|
49014
49026
|
c(!1), S.current || T();
|
|
49015
49027
|
}, [T, S]), [te, J] = A(), K = P(
|
|
49016
49028
|
(ne) => {
|
|
@@ -49028,7 +49040,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49028
49040
|
);
|
|
49029
49041
|
return {
|
|
49030
49042
|
handleDuplicate: H,
|
|
49031
|
-
handleCloseDestinationFolderPopup:
|
|
49043
|
+
handleCloseDestinationFolderPopup: $,
|
|
49032
49044
|
handleOpenDestinationFolderPopup: ue,
|
|
49033
49045
|
handleCopyTo: N,
|
|
49034
49046
|
handleMoveTo: _,
|
|
@@ -49229,7 +49241,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49229
49241
|
R(), S.current || x();
|
|
49230
49242
|
}, [R, S, x]), ue = P((G) => {
|
|
49231
49243
|
G.preventDefault(), G.stopPropagation(), G.dataTransfer.types.includes("Files") && r(!0);
|
|
49232
|
-
}, []),
|
|
49244
|
+
}, []), $ = P((G) => {
|
|
49233
49245
|
G.preventDefault(), G.stopPropagation();
|
|
49234
49246
|
const D = G.currentTarget.getBoundingClientRect(), q = G.clientX, le = G.clientY;
|
|
49235
49247
|
(q <= D.left || q >= D.right || le <= D.top || le >= D.bottom) && r(!1);
|
|
@@ -49311,7 +49323,7 @@ const xL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49311
49323
|
isDraggingOverWindow: a,
|
|
49312
49324
|
uploadError: c,
|
|
49313
49325
|
handleDragEnter: ue,
|
|
49314
|
-
handleDragLeave:
|
|
49326
|
+
handleDragLeave: $,
|
|
49315
49327
|
handleDragOver: te,
|
|
49316
49328
|
handleDrop: J,
|
|
49317
49329
|
clearError: ne,
|
|
@@ -49615,11 +49627,11 @@ const HL = ({
|
|
|
49615
49627
|
actionsRef: H,
|
|
49616
49628
|
sharedByMePaths: ue
|
|
49617
49629
|
}) => {
|
|
49618
|
-
const [
|
|
49630
|
+
const [$, te] = A(
|
|
49619
49631
|
/* @__PURE__ */ new Map()
|
|
49620
49632
|
), J = V(
|
|
49621
|
-
() => new Set(
|
|
49622
|
-
[
|
|
49633
|
+
() => new Set($.keys()),
|
|
49634
|
+
[$]
|
|
49623
49635
|
), K = P(() => te(/* @__PURE__ */ new Map()), []), { currentPath: Y, setCurrentPath: ne, handlePathChange: G } = PL({
|
|
49624
49636
|
path: o,
|
|
49625
49637
|
onPathChange: C,
|
|
@@ -49638,7 +49650,7 @@ const HL = ({
|
|
|
49638
49650
|
}), {
|
|
49639
49651
|
renamedPath: we,
|
|
49640
49652
|
renamedItem: Ee,
|
|
49641
|
-
renameHandler:
|
|
49653
|
+
renameHandler: U,
|
|
49642
49654
|
renameSaveHandler: Se,
|
|
49643
49655
|
renameCancelHandler: fe,
|
|
49644
49656
|
renameValidateHandler: De,
|
|
@@ -49873,7 +49885,7 @@ const HL = ({
|
|
|
49873
49885
|
toggleTreeCollapse: Oe,
|
|
49874
49886
|
setIsTreeCollapsed: nt,
|
|
49875
49887
|
selectedIds: J,
|
|
49876
|
-
selectedFiles:
|
|
49888
|
+
selectedFiles: $,
|
|
49877
49889
|
setSelectedFiles: te,
|
|
49878
49890
|
clearSelection: K,
|
|
49879
49891
|
currentFolder: ft,
|
|
@@ -49890,7 +49902,7 @@ const HL = ({
|
|
|
49890
49902
|
handleDownloadFiles: yo,
|
|
49891
49903
|
renamedPath: we,
|
|
49892
49904
|
renamedItem: Ee,
|
|
49893
|
-
onRename:
|
|
49905
|
+
onRename: U,
|
|
49894
49906
|
onRenameSave: Se,
|
|
49895
49907
|
onRenameCancel: fe,
|
|
49896
49908
|
onRenameValidate: De,
|
|
@@ -50355,7 +50367,7 @@ const iv = ({
|
|
|
50355
50367
|
}
|
|
50356
50368
|
],
|
|
50357
50369
|
[v, w]
|
|
50358
|
-
),
|
|
50370
|
+
), $ = V(() => n.map((Y) => ({
|
|
50359
50371
|
id: Y.path,
|
|
50360
50372
|
name: Y.name,
|
|
50361
50373
|
path: Y.path,
|
|
@@ -50481,7 +50493,7 @@ const iv = ({
|
|
|
50481
50493
|
OC,
|
|
50482
50494
|
{
|
|
50483
50495
|
columnDefs: te,
|
|
50484
|
-
rowData:
|
|
50496
|
+
rowData: $,
|
|
50485
50497
|
getRowId: (Y) => Y.id,
|
|
50486
50498
|
withSelectionColumn: !1,
|
|
50487
50499
|
wrapCustomCellRenderers: !1,
|
|
@@ -50499,7 +50511,7 @@ const iv = ({
|
|
|
50499
50511
|
R,
|
|
50500
50512
|
M,
|
|
50501
50513
|
te,
|
|
50502
|
-
|
|
50514
|
+
$
|
|
50503
50515
|
]
|
|
50504
50516
|
), K = P(() => {
|
|
50505
50517
|
if (f)
|
|
@@ -50832,7 +50844,7 @@ const e7 = ({
|
|
|
50832
50844
|
handleSetCopiedFiles: oe,
|
|
50833
50845
|
handleSetMovedFiles: H,
|
|
50834
50846
|
handleDuplicate: ue,
|
|
50835
|
-
handleCopyTo:
|
|
50847
|
+
handleCopyTo: $,
|
|
50836
50848
|
handleMoveTo: te,
|
|
50837
50849
|
handleDownloadFiles: J,
|
|
50838
50850
|
openDeleteConfirmation: K,
|
|
@@ -50850,7 +50862,7 @@ const e7 = ({
|
|
|
50850
50862
|
isDragging: nt,
|
|
50851
50863
|
isDraggingOverWindow: we,
|
|
50852
50864
|
handleDragEnter: Ee,
|
|
50853
|
-
handleDragLeave:
|
|
50865
|
+
handleDragLeave: U,
|
|
50854
50866
|
handleDragOver: Se,
|
|
50855
50867
|
handleDrop: fe,
|
|
50856
50868
|
onUploadFiles: De,
|
|
@@ -51354,7 +51366,7 @@ const e7 = ({
|
|
|
51354
51366
|
"aria-label": "File Manager Grid View",
|
|
51355
51367
|
className: ge(Q8),
|
|
51356
51368
|
onDragEnter: Ee,
|
|
51357
|
-
onDragLeave:
|
|
51369
|
+
onDragLeave: U,
|
|
51358
51370
|
onDragOver: Se,
|
|
51359
51371
|
onDrop: fe,
|
|
51360
51372
|
children: /* @__PURE__ */ m(
|
|
@@ -51424,7 +51436,7 @@ const e7 = ({
|
|
|
51424
51436
|
onClose: _,
|
|
51425
51437
|
onConfirm: () => {
|
|
51426
51438
|
const Z = d?.destinationFolderPath ?? "/";
|
|
51427
|
-
se === tt.Copy ?
|
|
51439
|
+
se === tt.Copy ? $(Z) : te(Z), _();
|
|
51428
51440
|
},
|
|
51429
51441
|
mode: se,
|
|
51430
51442
|
items: t,
|