@epam/ai-dial-ui-kit 0.5.0-rc.84 → 0.5.0-rc.85
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 +120 -116
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -418,7 +418,7 @@ const Xe = (e) => {
|
|
|
418
418
|
"left-bottom"
|
|
419
419
|
], y = () => [...S(), le, ae], R = () => ["auto", "hidden", "clip", "visible", "scroll"], x = () => ["auto", "contain", "none"], E = () => [le, ae, l], M = () => [xi, "full", "auto", ...E()], k = () => [Ds, "none", "subgrid", le, ae], F = () => ["auto", {
|
|
420
420
|
span: ["full", Ds, le, ae]
|
|
421
|
-
}, Ds, le, ae], P = () => [Ds, "auto", le, ae], H = () => ["auto", "min", "max", "fr", le, ae], _ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], V = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"],
|
|
421
|
+
}, Ds, le, ae], P = () => [Ds, "auto", le, ae], H = () => ["auto", "min", "max", "fr", le, ae], _ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], V = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], se = () => ["auto", ...E()], re = () => [xi, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], N = () => [e, le, ae], ne = () => [...S(), Zd, Yd, {
|
|
422
422
|
position: [le, ae]
|
|
423
423
|
}], K = () => ["no-repeat", {
|
|
424
424
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -973,63 +973,63 @@ const Xe = (e) => {
|
|
|
973
973
|
* @see https://tailwindcss.com/docs/margin
|
|
974
974
|
*/
|
|
975
975
|
m: [{
|
|
976
|
-
m:
|
|
976
|
+
m: se()
|
|
977
977
|
}],
|
|
978
978
|
/**
|
|
979
979
|
* Margin X
|
|
980
980
|
* @see https://tailwindcss.com/docs/margin
|
|
981
981
|
*/
|
|
982
982
|
mx: [{
|
|
983
|
-
mx:
|
|
983
|
+
mx: se()
|
|
984
984
|
}],
|
|
985
985
|
/**
|
|
986
986
|
* Margin Y
|
|
987
987
|
* @see https://tailwindcss.com/docs/margin
|
|
988
988
|
*/
|
|
989
989
|
my: [{
|
|
990
|
-
my:
|
|
990
|
+
my: se()
|
|
991
991
|
}],
|
|
992
992
|
/**
|
|
993
993
|
* Margin Start
|
|
994
994
|
* @see https://tailwindcss.com/docs/margin
|
|
995
995
|
*/
|
|
996
996
|
ms: [{
|
|
997
|
-
ms:
|
|
997
|
+
ms: se()
|
|
998
998
|
}],
|
|
999
999
|
/**
|
|
1000
1000
|
* Margin End
|
|
1001
1001
|
* @see https://tailwindcss.com/docs/margin
|
|
1002
1002
|
*/
|
|
1003
1003
|
me: [{
|
|
1004
|
-
me:
|
|
1004
|
+
me: se()
|
|
1005
1005
|
}],
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Margin Top
|
|
1008
1008
|
* @see https://tailwindcss.com/docs/margin
|
|
1009
1009
|
*/
|
|
1010
1010
|
mt: [{
|
|
1011
|
-
mt:
|
|
1011
|
+
mt: se()
|
|
1012
1012
|
}],
|
|
1013
1013
|
/**
|
|
1014
1014
|
* Margin Right
|
|
1015
1015
|
* @see https://tailwindcss.com/docs/margin
|
|
1016
1016
|
*/
|
|
1017
1017
|
mr: [{
|
|
1018
|
-
mr:
|
|
1018
|
+
mr: se()
|
|
1019
1019
|
}],
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Margin Bottom
|
|
1022
1022
|
* @see https://tailwindcss.com/docs/margin
|
|
1023
1023
|
*/
|
|
1024
1024
|
mb: [{
|
|
1025
|
-
mb:
|
|
1025
|
+
mb: se()
|
|
1026
1026
|
}],
|
|
1027
1027
|
/**
|
|
1028
1028
|
* Margin Left
|
|
1029
1029
|
* @see https://tailwindcss.com/docs/margin
|
|
1030
1030
|
*/
|
|
1031
1031
|
ml: [{
|
|
1032
|
-
ml:
|
|
1032
|
+
ml: se()
|
|
1033
1033
|
}],
|
|
1034
1034
|
/**
|
|
1035
1035
|
* Space Between X
|
|
@@ -5923,14 +5923,14 @@ var vr = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vr ||
|
|
|
5923
5923
|
b = "".concat(V, "vh");
|
|
5924
5924
|
}
|
|
5925
5925
|
}
|
|
5926
|
-
var
|
|
5926
|
+
var se = {
|
|
5927
5927
|
width: this.createSizeForCssProperty(S, "width"),
|
|
5928
5928
|
height: this.createSizeForCssProperty(b, "height")
|
|
5929
5929
|
};
|
|
5930
|
-
this.flexDir === "row" ?
|
|
5931
|
-
var re = this.state.width !==
|
|
5930
|
+
this.flexDir === "row" ? se.flexBasis = se.width : this.flexDir === "column" && (se.flexBasis = se.height);
|
|
5931
|
+
var re = this.state.width !== se.width, N = this.state.height !== se.height, ne = this.state.flexBasis !== se.flexBasis, K = re || N || ne;
|
|
5932
5932
|
K && Vv(function() {
|
|
5933
|
-
i.setState(
|
|
5933
|
+
i.setState(se);
|
|
5934
5934
|
}), this.props.onResize && K && this.props.onResize(s, h, this.resizable, P);
|
|
5935
5935
|
}
|
|
5936
5936
|
}, t.prototype.onMouseUp = function(s) {
|
|
@@ -8376,7 +8376,7 @@ function Ut(e, t, s) {
|
|
|
8376
8376
|
}, w = (y, R, x) => {
|
|
8377
8377
|
const E = Vp(e, s), M = R.slice(), k = {}, F = {}, P = [], H = [], _ = [];
|
|
8378
8378
|
let V = 0;
|
|
8379
|
-
const
|
|
8379
|
+
const se = o?.columns.slice() ?? [], re = n?.columns.slice() ?? [];
|
|
8380
8380
|
for (const K of y) {
|
|
8381
8381
|
const q = K.colId;
|
|
8382
8382
|
if (q.startsWith(sa)) {
|
|
@@ -8391,7 +8391,7 @@ function Ut(e, t, s) {
|
|
|
8391
8391
|
J ? (C(J, K, k, F, !1), jt(M, J)) : (_.push(K), V += 1);
|
|
8392
8392
|
}
|
|
8393
8393
|
const N = (K) => C(K, null, k, F, !1);
|
|
8394
|
-
M.forEach(N), o?.sortColumns(Eu.bind(o, k,
|
|
8394
|
+
M.forEach(N), o?.sortColumns(Eu.bind(o, k, se)), n?.sortColumns(Eu.bind(n, F, re)), i.refreshCols(!1, s);
|
|
8395
8395
|
const ne = (K, q, X = []) => {
|
|
8396
8396
|
for (const J of q) {
|
|
8397
8397
|
const Z = K(J.colId);
|
|
@@ -42811,7 +42811,7 @@ var sC = Ic((e, t) => {
|
|
|
42811
42811
|
}, []), M = B(() => `ag-cell-wrapper ${m.toString()}`, [m]), k = B(() => `ag-group-expanded ${w.toString()}`, [w]), F = B(
|
|
42812
42812
|
() => `ag-group-contracted ${S.toString()}`,
|
|
42813
42813
|
[S]
|
|
42814
|
-
), P = B(() => `ag-group-checkbox ${R.toString()}`, [R]), H = d?.componentFromFramework, _ = H ? d.componentClass : void 0, V = d == null && p != null,
|
|
42814
|
+
), P = B(() => `ag-group-checkbox ${R.toString()}`, [R]), H = d?.componentFromFramework, _ = H ? d.componentClass : void 0, V = d == null && p != null, se = co(p);
|
|
42815
42815
|
return /* @__PURE__ */ $.createElement(
|
|
42816
42816
|
"span",
|
|
42817
42817
|
{
|
|
@@ -42822,7 +42822,7 @@ var sC = Ic((e, t) => {
|
|
|
42822
42822
|
/* @__PURE__ */ $.createElement("span", { className: k, ref: a }),
|
|
42823
42823
|
/* @__PURE__ */ $.createElement("span", { className: F, ref: l }),
|
|
42824
42824
|
/* @__PURE__ */ $.createElement("span", { className: P, ref: r }),
|
|
42825
|
-
/* @__PURE__ */ $.createElement("span", { className: "ag-group-value", ref: n }, V ?
|
|
42825
|
+
/* @__PURE__ */ $.createElement("span", { className: "ag-group-value", ref: n }, V ? se : H ? /* @__PURE__ */ $.createElement(_, { ...d.params }) : null),
|
|
42826
42826
|
/* @__PURE__ */ $.createElement("span", { className: "ag-group-child-count" }, h)
|
|
42827
42827
|
);
|
|
42828
42828
|
}), Hh = sC, Wd = jr({
|
|
@@ -43360,12 +43360,12 @@ var RA = 1e3, xA = class {
|
|
|
43360
43360
|
() => mn(g, t, w.current, x),
|
|
43361
43361
|
[g]
|
|
43362
43362
|
);
|
|
43363
|
-
const M = B(() => n.toString(), [n]), k = B(() => a.toString(), [a]), F = B(() => c.toString(), [c]), P = B(() => !!(g && g.componentFromFramework && go(g.componentClass)), [g]), H = B(() => s.get("reactiveCustomComponents"), []), _ = B(() => s.get("enableFilterHandlers"), []), [V,
|
|
43363
|
+
const M = B(() => n.toString(), [n]), k = B(() => a.toString(), [a]), F = B(() => c.toString(), [c]), P = B(() => !!(g && g.componentFromFramework && go(g.componentClass)), [g]), H = B(() => s.get("reactiveCustomComponents"), []), _ = B(() => s.get("enableFilterHandlers"), []), [V, se] = A();
|
|
43364
43364
|
we(() => {
|
|
43365
43365
|
if (g?.componentFromFramework)
|
|
43366
43366
|
if (H) {
|
|
43367
43367
|
const K = _ ? DA : pA, q = new K(g.params, () => f((X) => X + 1));
|
|
43368
|
-
x(q),
|
|
43368
|
+
x(q), se(q);
|
|
43369
43369
|
} else
|
|
43370
43370
|
_d();
|
|
43371
43371
|
}, [g]);
|
|
@@ -43711,7 +43711,7 @@ var RA = 1e3, xA = class {
|
|
|
43711
43711
|
instanceId: r
|
|
43712
43712
|
} = e, a = O(), [l, c] = A(
|
|
43713
43713
|
() => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
|
|
43714
|
-
), [d, u] = A(), [h, g] = A(1), [p, f] = A(), [m, C] = A(!1), [w, b] = A(!1), [S, y] = A(!1), [R, x] = A(), E = B(() => e.isForceWrapper(), [e]), M = B(() => e.getCellAriaRole(), [e]), k = O(null), F = O(null), P = O(null), H = O(), _ = O(), V = O(),
|
|
43714
|
+
), [d, u] = A(), [h, g] = A(1), [p, f] = A(), [m, C] = A(!1), [w, b] = A(!1), [S, y] = A(!1), [R, x] = A(), E = B(() => e.isForceWrapper(), [e]), M = B(() => e.getCellAriaRole(), [e]), k = O(null), F = O(null), P = O(null), H = O(), _ = O(), V = O(), se = O([]), re = O(), N = O(), [ne, K] = A(0), q = T((be) => {
|
|
43715
43715
|
N.current = be, K((De) => De + 1);
|
|
43716
43716
|
}, []), X = l != null && (m || S || w) && (d == null || !!d.popup), J = E || X, Z = B(() => e.getCellValueClass(), [e]), ie = T(
|
|
43717
43717
|
(be) => {
|
|
@@ -43754,15 +43754,15 @@ var RA = 1e3, xA = class {
|
|
|
43754
43754
|
const j = T(
|
|
43755
43755
|
(be) => {
|
|
43756
43756
|
if (V.current = be, !be || o.isDestroyed() || !e.isAlive()) {
|
|
43757
|
-
const ye =
|
|
43758
|
-
|
|
43757
|
+
const ye = se.current;
|
|
43758
|
+
se.current = [];
|
|
43759
43759
|
for (const ge of ye)
|
|
43760
43760
|
ge();
|
|
43761
43761
|
return;
|
|
43762
43762
|
}
|
|
43763
43763
|
let De;
|
|
43764
43764
|
const U = (ye) => {
|
|
43765
|
-
ye && (be.insertAdjacentElement("afterbegin", ye.getGui()),
|
|
43765
|
+
ye && (be.insertAdjacentElement("afterbegin", ye.getGui()), se.current.push(() => {
|
|
43766
43766
|
Os(ye.getGui()), o.destroyBean(ye), re.current === De && (re.current = void 0);
|
|
43767
43767
|
}));
|
|
43768
43768
|
};
|
|
@@ -43869,12 +43869,12 @@ var RA = 1e3, xA = class {
|
|
|
43869
43869
|
() => c ? e.getInitialRowTop(t) : void 0
|
|
43870
43870
|
), [M, k] = A(
|
|
43871
43871
|
() => c ? e.getInitialTransform(t) : void 0
|
|
43872
|
-
), F = O(null), P = O(), H = O(), _ = O(!1), [V,
|
|
43872
|
+
), F = O(null), P = O(), H = O(), _ = O(!1), [V, se] = A(0);
|
|
43873
43873
|
we(() => {
|
|
43874
43874
|
if (_.current || !y || V > 10)
|
|
43875
43875
|
return;
|
|
43876
43876
|
const oe = F.current?.firstChild;
|
|
43877
|
-
oe ? (e.setupDetailRowAutoHeight(oe), _.current = !0) :
|
|
43877
|
+
oe ? (e.setupDetailRowAutoHeight(oe), _.current = !0) : se((Ce) => Ce + 1);
|
|
43878
43878
|
}, [y, V]);
|
|
43879
43879
|
const re = O();
|
|
43880
43880
|
re.current || (re.current = new un(() => F.current));
|
|
@@ -43966,8 +43966,8 @@ var RA = 1e3, xA = class {
|
|
|
43966
43966
|
const { context: t, gos: s } = et(pt), i = B(() => gn(e), [e]), o = O(null), n = O(null), r = O(null), a = O([]), l = O([]), [c, d] = A(() => []), u = !!s.get("enableCellSpan") && !!i.getSpannedRowCtrls, h = O([]), g = O([]), [p, f] = A(() => []), m = O(!1), C = O(), w = B(() => It("ag-viewport", xf(e)), [e]), b = B(() => It(lr(e)), [e]), S = B(() => It("ag-spanning-container", L2(e)), [e]), y = i.type === "center" || u, R = y ? o : n;
|
|
43967
43967
|
qs(" AG Row Container " + e + " ", R);
|
|
43968
43968
|
const x = T(() => {
|
|
43969
|
-
const V = !y || o.current != null,
|
|
43970
|
-
return V &&
|
|
43969
|
+
const V = !y || o.current != null, se = n.current != null, re = !u || r.current != null;
|
|
43970
|
+
return V && se && re;
|
|
43971
43971
|
}, []), E = T(() => o.current == null && n.current == null && r.current == null, []), M = T(() => {
|
|
43972
43972
|
if (E() && (C.current = t.destroyBean(C.current)), !t.isDestroyed() && x()) {
|
|
43973
43973
|
const V = (N) => {
|
|
@@ -43977,7 +43977,7 @@ var RA = 1e3, xA = class {
|
|
|
43977
43977
|
m.current
|
|
43978
43978
|
);
|
|
43979
43979
|
ne !== l.current && (l.current = ne, nn(N, () => d(ne)));
|
|
43980
|
-
},
|
|
43980
|
+
}, se = (N) => {
|
|
43981
43981
|
const ne = Wr(
|
|
43982
43982
|
g.current,
|
|
43983
43983
|
h.current,
|
|
@@ -43997,7 +43997,7 @@ var RA = 1e3, xA = class {
|
|
|
43997
43997
|
},
|
|
43998
43998
|
setSpannedRowCtrls: (N, ne) => {
|
|
43999
43999
|
const K = !!ne && h.current.length > 0 && N.length > 0;
|
|
44000
|
-
h.current = N,
|
|
44000
|
+
h.current = N, se(K);
|
|
44001
44001
|
},
|
|
44002
44002
|
setDomOrder: (N) => {
|
|
44003
44003
|
m.current != N && (m.current = N, V(!1));
|
|
@@ -44045,7 +44045,7 @@ var RA = 1e3, xA = class {
|
|
|
44045
44045
|
const _ = () => /* @__PURE__ */ $.createElement("div", { className: S, ref: F, role: "presentation" }, p.map((V) => /* @__PURE__ */ $.createElement(zh, { rowCtrl: V, containerType: i.type, key: V.instanceId })));
|
|
44046
44046
|
return /* @__PURE__ */ $.createElement("div", { className: w, ref: P, role: "rowgroup" }, H(), u ? _() : null);
|
|
44047
44047
|
}, YA = gt(qA), ZA = () => {
|
|
44048
|
-
const e = et(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, m] = A("0px"), [C, w] = A("0px"), [b, S] = A("100%"), [y, R] = A(!0), [x, E] = A(!0), [M, k] = A(null), [F, P] = A(""), [H, _] = A(null), [V,
|
|
44048
|
+
const e = et(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, m] = A("0px"), [C, w] = A("0px"), [b, S] = A("100%"), [y, R] = A(!0), [x, E] = A(!0), [M, k] = A(null), [F, P] = A(""), [H, _] = A(null), [V, se] = A("ag-layout-normal"), re = O();
|
|
44049
44049
|
re.current || (re.current = new un(() => N.current));
|
|
44050
44050
|
const N = O(null), ne = O(null), K = O(null), q = O(null), X = O(null), J = O(null), Z = O(null), ie = O([]), G = O([]);
|
|
44051
44051
|
qs(" AG Grid Body ", N), qs(" AG Pinned Top ", ne), qs(" AG Sticky Top ", K), qs(" AG Middle ", J), qs(" AG Pinned Bottom ", Z);
|
|
@@ -44084,7 +44084,7 @@ var RA = 1e3, xA = class {
|
|
|
44084
44084
|
setTopInvisible: R,
|
|
44085
44085
|
setBottomInvisible: E,
|
|
44086
44086
|
setColumnMovingCss: (Oe, ot) => re.current.toggleCss(Oe, ot),
|
|
44087
|
-
updateLayoutClasses:
|
|
44087
|
+
updateLayoutClasses: se,
|
|
44088
44088
|
setAlwaysVerticalScrollClass: k,
|
|
44089
44089
|
setPinnedTopBottomOverflowY: P,
|
|
44090
44090
|
setCellSelectableCss: (Oe, ot) => _(ot ? Oe : null),
|
|
@@ -44268,8 +44268,8 @@ var RA = 1e3, xA = class {
|
|
|
44268
44268
|
},
|
|
44269
44269
|
updateLayoutClasses: o,
|
|
44270
44270
|
getFocusableContainers: () => {
|
|
44271
|
-
const V = [],
|
|
44272
|
-
|
|
44271
|
+
const V = [], se = p.current?.querySelector(".ag-root");
|
|
44272
|
+
se && V.push({ getGui: () => se });
|
|
44273
44273
|
for (const re of S.current)
|
|
44274
44274
|
re.isDisplayed() && V.push(re);
|
|
44275
44275
|
return V;
|
|
@@ -44285,7 +44285,7 @@ var RA = 1e3, xA = class {
|
|
|
44285
44285
|
return;
|
|
44286
44286
|
const _ = [], {
|
|
44287
44287
|
watermarkSelector: V,
|
|
44288
|
-
paginationSelector:
|
|
44288
|
+
paginationSelector: se,
|
|
44289
44289
|
sideBarSelector: re,
|
|
44290
44290
|
statusBarSelector: N,
|
|
44291
44291
|
gridHeaderDropZonesSelector: ne
|
|
@@ -44302,8 +44302,8 @@ var RA = 1e3, xA = class {
|
|
|
44302
44302
|
const J = e.createBean(new X()), Z = J.getGui();
|
|
44303
44303
|
return H.insertAdjacentElement("beforeend", Z), K.push(Z), _.push(J), J;
|
|
44304
44304
|
};
|
|
44305
|
-
if (N && q(N.component),
|
|
44306
|
-
const X = q(
|
|
44305
|
+
if (N && q(N.component), se) {
|
|
44306
|
+
const X = q(se.component);
|
|
44307
44307
|
b.current = X, S.current.push(X);
|
|
44308
44308
|
}
|
|
44309
44309
|
return V && q(V.component), () => {
|
|
@@ -44716,7 +44716,7 @@ const hk = ee(
|
|
|
44716
44716
|
]
|
|
44717
44717
|
}), V = UC(_, {
|
|
44718
44718
|
enabled: i.includes(Lt.Click) && !n
|
|
44719
|
-
}),
|
|
44719
|
+
}), se = lg(_, {
|
|
44720
44720
|
enabled: i.includes(Lt.Hover) && !n,
|
|
44721
44721
|
move: !1,
|
|
44722
44722
|
restMs: 40,
|
|
@@ -44731,7 +44731,7 @@ const hk = ee(
|
|
|
44731
44731
|
}
|
|
44732
44732
|
}), N = Ec(_, { role: "menu" }), { getReferenceProps: ne, getFloatingProps: K } = Dc([
|
|
44733
44733
|
V,
|
|
44734
|
-
|
|
44734
|
+
se,
|
|
44735
44735
|
re,
|
|
44736
44736
|
N
|
|
44737
44737
|
]), q = T(
|
|
@@ -45044,7 +45044,7 @@ const dC = ({
|
|
|
45044
45044
|
wrapperBorder: S
|
|
45045
45045
|
}),
|
|
45046
45046
|
[p, S]
|
|
45047
|
-
),
|
|
45047
|
+
), se = T((D) => {
|
|
45048
45048
|
D.api.sizeColumnsToFit(), x(Sl);
|
|
45049
45049
|
}, []), re = T(
|
|
45050
45050
|
(D) => {
|
|
@@ -45233,7 +45233,7 @@ const dC = ({
|
|
|
45233
45233
|
autoSizeStrategy: { type: "fitGridWidth" },
|
|
45234
45234
|
columnDefs: J,
|
|
45235
45235
|
defaultColDef: Z,
|
|
45236
|
-
onGridSizeChanged:
|
|
45236
|
+
onGridSizeChanged: se,
|
|
45237
45237
|
onGridReady: ie,
|
|
45238
45238
|
loading: b,
|
|
45239
45239
|
suppressCellFocus: !0,
|
|
@@ -45704,8 +45704,8 @@ const _h = () => typeof window < "u" && window.innerWidth < 640, Uh = () => {
|
|
|
45704
45704
|
we(() => {
|
|
45705
45705
|
const _ = M.current;
|
|
45706
45706
|
if (!_) return;
|
|
45707
|
-
const V = (
|
|
45708
|
-
|
|
45707
|
+
const V = (se) => {
|
|
45708
|
+
se.preventDefault();
|
|
45709
45709
|
};
|
|
45710
45710
|
return _.addEventListener("wheel", V, { passive: !1 }), () => {
|
|
45711
45711
|
_.removeEventListener("wheel", V);
|
|
@@ -45716,8 +45716,8 @@ const _h = () => typeof window < "u" && window.innerWidth < 640, Uh = () => {
|
|
|
45716
45716
|
}, H = (_) => {
|
|
45717
45717
|
const V = _.currentTarget.value;
|
|
45718
45718
|
if (F && V !== "") {
|
|
45719
|
-
const
|
|
45720
|
-
if (isNaN(
|
|
45719
|
+
const se = parseFloat(V);
|
|
45720
|
+
if (isNaN(se) && V !== "-" && V !== "." || !isNaN(se) && (p !== void 0 && se < p || f !== void 0 && se > f))
|
|
45721
45721
|
return;
|
|
45722
45722
|
}
|
|
45723
45723
|
g?.(V || void 0);
|
|
@@ -46674,7 +46674,7 @@ const r8 = ({
|
|
|
46674
46674
|
}) => {
|
|
46675
46675
|
const F = Ac(), [P, H] = A(!1), [_, V] = A(
|
|
46676
46676
|
E && l || ""
|
|
46677
|
-
),
|
|
46677
|
+
), se = O(null), re = i !== void 0, [N, ne] = A(o), K = re ? i : N, q = B(() => t ? Array.isArray(K) ? K : [] : typeof K == "string" ? [K] : [], [K, t]), X = B(() => {
|
|
46678
46678
|
const U = _.trim().toLowerCase();
|
|
46679
46679
|
return U ? e.filter((ye) => ye.label.toLowerCase().includes(U)) : e;
|
|
46680
46680
|
}, [e, _]);
|
|
@@ -46724,7 +46724,7 @@ const r8 = ({
|
|
|
46724
46724
|
}, Fe = q.length > 0;
|
|
46725
46725
|
we(() => {
|
|
46726
46726
|
P && E && !t && !C && requestAnimationFrame(() => {
|
|
46727
|
-
const U =
|
|
46727
|
+
const U = se.current;
|
|
46728
46728
|
if (!U) return;
|
|
46729
46729
|
U.focus();
|
|
46730
46730
|
const ye = U.value?.length ?? 0;
|
|
@@ -46925,7 +46925,7 @@ const r8 = ({
|
|
|
46925
46925
|
C || E && !t && (De(), U.preventDefault());
|
|
46926
46926
|
},
|
|
46927
46927
|
onClick: () => {
|
|
46928
|
-
C || (H((U) => !U), E && !t && (De(),
|
|
46928
|
+
C || (H((U) => !U), E && !t && (De(), se.current?.focus()));
|
|
46929
46929
|
},
|
|
46930
46930
|
children: [
|
|
46931
46931
|
E && !t ? /* @__PURE__ */ v("div", { className: "flex min-w-0 items-center gap-2 text-primary flex-1", children: /* @__PURE__ */ v(
|
|
@@ -46944,7 +46944,7 @@ const r8 = ({
|
|
|
46944
46944
|
U.stopPropagation();
|
|
46945
46945
|
},
|
|
46946
46946
|
className: "bg-transparent outline-none w-full dial-small",
|
|
46947
|
-
ref:
|
|
46947
|
+
ref: se,
|
|
46948
46948
|
disabled: C,
|
|
46949
46949
|
"aria-disabled": C
|
|
46950
46950
|
}
|
|
@@ -48143,7 +48143,7 @@ const $r = ({
|
|
|
48143
48143
|
const { path: k, nodeType: F, name: P, items: H } = M, _ = F === Ve.FOLDER;
|
|
48144
48144
|
if (!c && FC(M)) return null;
|
|
48145
48145
|
if (!_ && !t) return;
|
|
48146
|
-
const V = Array.isArray(H) && H.length > 0 && H.some((ie) => ie.nodeType === Ve.FOLDER || t),
|
|
48146
|
+
const V = Array.isArray(H) && H.length > 0 && H.some((ie) => ie.nodeType === Ve.FOLDER || t), se = b.has(k), re = n === k, N = i.has(k), ne = d === k, K = o.has(k), q = h && u && k === h && _, X = C && ((ie) => C(ie, M)), J = re ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Z = q ? [] : p?.(M) ?? [];
|
|
48147
48147
|
return /* @__PURE__ */ v("div", { className: "cursor-pointer text-secondary", children: /* @__PURE__ */ W("div", { className: "flex flex-col w-full", children: [
|
|
48148
48148
|
/* @__PURE__ */ v(
|
|
48149
48149
|
Et,
|
|
@@ -48180,7 +48180,7 @@ const $r = ({
|
|
|
48180
48180
|
...W8,
|
|
48181
48181
|
className: ee(
|
|
48182
48182
|
"flex-shrink-0",
|
|
48183
|
-
|
|
48183
|
+
se && "rotate-90 transition-all",
|
|
48184
48184
|
K && !V && "text-transparent"
|
|
48185
48185
|
)
|
|
48186
48186
|
}
|
|
@@ -48225,7 +48225,7 @@ const $r = ({
|
|
|
48225
48225
|
)
|
|
48226
48226
|
}
|
|
48227
48227
|
),
|
|
48228
|
-
|
|
48228
|
+
se && H && R(H, E + 1)
|
|
48229
48229
|
] }) }, `${k}-children`);
|
|
48230
48230
|
});
|
|
48231
48231
|
return /* @__PURE__ */ v("div", { className: "flex-1 w-full h-full overflow-y-auto", children: e.length > 0 ? R(e, 0) : /* @__PURE__ */ v(
|
|
@@ -48841,7 +48841,7 @@ const sL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48841
48841
|
]
|
|
48842
48842
|
), V = T(() => {
|
|
48843
48843
|
M(), P();
|
|
48844
|
-
}, [M, P]),
|
|
48844
|
+
}, [M, P]), se = T(() => {
|
|
48845
48845
|
k(), P();
|
|
48846
48846
|
}, [k, P]), re = T(
|
|
48847
48847
|
(ie) => {
|
|
@@ -48893,7 +48893,7 @@ const sL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48893
48893
|
openConflictResolution: E,
|
|
48894
48894
|
closeConflictResolution: x,
|
|
48895
48895
|
handleConflictReplace: V,
|
|
48896
|
-
handleConflictDuplicate:
|
|
48896
|
+
handleConflictDuplicate: se,
|
|
48897
48897
|
handleConflictDecideForEach: re
|
|
48898
48898
|
};
|
|
48899
48899
|
}, rL = ({
|
|
@@ -49068,7 +49068,7 @@ const sL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49068
49068
|
]
|
|
49069
49069
|
), V = T(() => {
|
|
49070
49070
|
E(), F();
|
|
49071
|
-
}, [E, F]),
|
|
49071
|
+
}, [E, F]), se = T(() => {
|
|
49072
49072
|
M(), F();
|
|
49073
49073
|
}, [M, F]), re = T(
|
|
49074
49074
|
(G) => {
|
|
@@ -49175,7 +49175,7 @@ const sL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49175
49175
|
openUploadConflictResolution: x,
|
|
49176
49176
|
closeUploadConflictResolution: N,
|
|
49177
49177
|
handleUploadConflictReplace: V,
|
|
49178
|
-
handleUploadConflictDuplicate:
|
|
49178
|
+
handleUploadConflictDuplicate: se,
|
|
49179
49179
|
handleUploadConflictDecideForEach: re
|
|
49180
49180
|
};
|
|
49181
49181
|
}, TC = jr(void 0), uL = {
|
|
@@ -49443,12 +49443,12 @@ const pL = ({
|
|
|
49443
49443
|
onCreateFolderValidate: H,
|
|
49444
49444
|
folderCreationValidationMessages: _
|
|
49445
49445
|
}) => {
|
|
49446
|
-
const [V,
|
|
49446
|
+
const [V, se] = A(
|
|
49447
49447
|
/* @__PURE__ */ new Map()
|
|
49448
49448
|
), re = B(
|
|
49449
49449
|
() => new Set(V.keys()),
|
|
49450
49450
|
[V]
|
|
49451
|
-
), N = T(() =>
|
|
49451
|
+
), N = T(() => se(/* @__PURE__ */ new Map()), []), { currentPath: ne, setCurrentPath: K, handlePathChange: q } = rL({
|
|
49452
49452
|
path: o,
|
|
49453
49453
|
onPathChange: m,
|
|
49454
49454
|
onSelectionClear: N
|
|
@@ -49633,7 +49633,7 @@ const pL = ({
|
|
|
49633
49633
|
q(ke.path);
|
|
49634
49634
|
},
|
|
49635
49635
|
[q]
|
|
49636
|
-
),
|
|
49636
|
+
), te = T(
|
|
49637
49637
|
(ke) => {
|
|
49638
49638
|
q(ke);
|
|
49639
49639
|
},
|
|
@@ -49690,7 +49690,7 @@ const pL = ({
|
|
|
49690
49690
|
setIsTreeCollapsed: oe,
|
|
49691
49691
|
selectedIds: re,
|
|
49692
49692
|
selectedFiles: V,
|
|
49693
|
-
setSelectedFiles:
|
|
49693
|
+
setSelectedFiles: se,
|
|
49694
49694
|
clearSelection: N,
|
|
49695
49695
|
currentFolder: Se,
|
|
49696
49696
|
gridRows: Mn,
|
|
@@ -49718,7 +49718,7 @@ const pL = ({
|
|
|
49718
49718
|
itemsToDelete: Sa,
|
|
49719
49719
|
handlePathChange: q,
|
|
49720
49720
|
handleTreeItemClick: Ta,
|
|
49721
|
-
handleBreadcrumbItemClick:
|
|
49721
|
+
handleBreadcrumbItemClick: te,
|
|
49722
49722
|
handleSearchChange: Te,
|
|
49723
49723
|
handleTableRowClick: Ri,
|
|
49724
49724
|
onTableFileClick: C,
|
|
@@ -50118,7 +50118,7 @@ const IC = ({
|
|
|
50118
50118
|
)
|
|
50119
50119
|
), [H, _] = A(
|
|
50120
50120
|
void 0
|
|
50121
|
-
), V = f ? r : a,
|
|
50121
|
+
), V = f ? r : a, se = /* @__PURE__ */ W(Ke, { children: [
|
|
50122
50122
|
"Item with the name ",
|
|
50123
50123
|
/* @__PURE__ */ W("span", { className: "text-primary", children: [
|
|
50124
50124
|
'"',
|
|
@@ -50127,7 +50127,7 @@ const IC = ({
|
|
|
50127
50127
|
] }),
|
|
50128
50128
|
" ",
|
|
50129
50129
|
"already exists in this destination."
|
|
50130
|
-
] }), re = `${n.length} items with the same names already exist in this destination.`, N = l ?? (f ?
|
|
50130
|
+
] }), re = `${n.length} items with the same names already exist in this destination.`, N = l ?? (f ? se : re), ne = B(
|
|
50131
50131
|
() => [
|
|
50132
50132
|
{
|
|
50133
50133
|
id: ut.Replace,
|
|
@@ -50491,7 +50491,7 @@ const IL = ({
|
|
|
50491
50491
|
handleCloseDestinationFolderPopup: H,
|
|
50492
50492
|
openDestinationFolderPopup: _,
|
|
50493
50493
|
destinationFolderMode: V,
|
|
50494
|
-
handleSetCopiedFiles:
|
|
50494
|
+
handleSetCopiedFiles: se,
|
|
50495
50495
|
handleSetMovedFiles: re,
|
|
50496
50496
|
handleDuplicate: N,
|
|
50497
50497
|
handleCopyTo: ne,
|
|
@@ -50542,9 +50542,9 @@ const IL = ({
|
|
|
50542
50542
|
containerClassName: wn = T8,
|
|
50543
50543
|
additionalButtons: bn,
|
|
50544
50544
|
...Sn
|
|
50545
|
-
} = o ?? {}, [Si, yn] = A(Ra), { renameTriggerView: yi, onGridRename: xa, onTreeRename: fo } = AL({ onRename: de }), mo = O(null), Rn = (
|
|
50545
|
+
} = o ?? {}, [Si, yn] = A(Ra), { renameTriggerView: yi, onGridRename: xa, onTreeRename: fo } = AL({ onRename: de }), mo = O(null), Rn = (te) => {
|
|
50546
50546
|
mo.current === null && (mo.current = requestAnimationFrame(() => {
|
|
50547
|
-
yn(
|
|
50547
|
+
yn(te), mo.current = null;
|
|
50548
50548
|
}));
|
|
50549
50549
|
}, {
|
|
50550
50550
|
columnDefs: Co,
|
|
@@ -50568,15 +50568,15 @@ const IL = ({
|
|
|
50568
50568
|
headerName: "Name",
|
|
50569
50569
|
flex: 1,
|
|
50570
50570
|
minWidth: 200,
|
|
50571
|
-
cellRenderer: (
|
|
50572
|
-
const Te =
|
|
50573
|
-
if (
|
|
50571
|
+
cellRenderer: (te) => {
|
|
50572
|
+
const Te = te.data.nodeType;
|
|
50573
|
+
if (te.data?.isTemporary && te.data.id === Bt)
|
|
50574
50574
|
return /* @__PURE__ */ v(
|
|
50575
50575
|
$r,
|
|
50576
50576
|
{
|
|
50577
50577
|
name: "",
|
|
50578
50578
|
type: $t.Folder,
|
|
50579
|
-
elementId: `new-folder-${
|
|
50579
|
+
elementId: `new-folder-${te.data.id}`,
|
|
50580
50580
|
editing: !0,
|
|
50581
50581
|
iconSize: Ls,
|
|
50582
50582
|
validate: Oe,
|
|
@@ -50588,14 +50588,14 @@ const IL = ({
|
|
|
50588
50588
|
])
|
|
50589
50589
|
}
|
|
50590
50590
|
);
|
|
50591
|
-
if (yi === Yi.Grid && D ===
|
|
50591
|
+
if (yi === Yi.Grid && D === te.data?.path && j && te.data) {
|
|
50592
50592
|
const Yt = Ee(j);
|
|
50593
50593
|
return /* @__PURE__ */ v(
|
|
50594
50594
|
$r,
|
|
50595
50595
|
{
|
|
50596
50596
|
name: Yt,
|
|
50597
50597
|
type: Te === Ve.FOLDER ? $t.Folder : $t.File,
|
|
50598
|
-
elementId: `rename-${
|
|
50598
|
+
elementId: `rename-${te.data.id}`,
|
|
50599
50599
|
editing: !0,
|
|
50600
50600
|
iconSize: Ls,
|
|
50601
50601
|
validate: (Es) => Fe(Es, j),
|
|
@@ -50611,24 +50611,24 @@ const IL = ({
|
|
|
50611
50611
|
return nt ? /* @__PURE__ */ v(
|
|
50612
50612
|
TL,
|
|
50613
50613
|
{
|
|
50614
|
-
id:
|
|
50615
|
-
name:
|
|
50614
|
+
id: te.data.id,
|
|
50615
|
+
name: te.data.name,
|
|
50616
50616
|
nodeType: Te,
|
|
50617
|
-
size:
|
|
50618
|
-
updatedAt:
|
|
50617
|
+
size: te.data.size,
|
|
50618
|
+
updatedAt: te.data.updatedAt,
|
|
50619
50619
|
dateLocale: wo,
|
|
50620
50620
|
dateOptions: bo
|
|
50621
50621
|
}
|
|
50622
50622
|
) : Te === Ve.FOLDER ? /* @__PURE__ */ v(
|
|
50623
50623
|
Zc,
|
|
50624
50624
|
{
|
|
50625
|
-
name:
|
|
50625
|
+
name: te.data.name,
|
|
50626
50626
|
iconSize: Ls
|
|
50627
50627
|
}
|
|
50628
50628
|
) : /* @__PURE__ */ v(
|
|
50629
50629
|
Yc,
|
|
50630
50630
|
{
|
|
50631
|
-
name:
|
|
50631
|
+
name: te.data.name,
|
|
50632
50632
|
iconSize: Ls
|
|
50633
50633
|
}
|
|
50634
50634
|
);
|
|
@@ -50659,7 +50659,7 @@ const IL = ({
|
|
|
50659
50659
|
headerName: "Author",
|
|
50660
50660
|
width: 200,
|
|
50661
50661
|
suppressSizeToFit: !0,
|
|
50662
|
-
cellRenderer: (
|
|
50662
|
+
cellRenderer: (te) => te.data.author
|
|
50663
50663
|
}
|
|
50664
50664
|
], [
|
|
50665
50665
|
wo,
|
|
@@ -50677,13 +50677,13 @@ const IL = ({
|
|
|
50677
50677
|
Ce,
|
|
50678
50678
|
Ee
|
|
50679
50679
|
]), So = T(
|
|
50680
|
-
(
|
|
50680
|
+
(te) => {
|
|
50681
50681
|
const Te = [];
|
|
50682
50682
|
return o?.actionLabels && (o.actionLabels[pe.Duplicate] && Te.push({
|
|
50683
50683
|
key: "duplicate",
|
|
50684
50684
|
label: o.actionLabels[pe.Duplicate],
|
|
50685
50685
|
icon: /* @__PURE__ */ v(Oc, { ...he, className: "text-secondary" }),
|
|
50686
|
-
onClick: () => N([
|
|
50686
|
+
onClick: () => N([te])
|
|
50687
50687
|
}), o.actionLabels[pe.Copy] && Te.push({
|
|
50688
50688
|
key: Je.Copy,
|
|
50689
50689
|
label: o.actionLabels[pe.Copy],
|
|
@@ -50696,7 +50696,7 @@ const IL = ({
|
|
|
50696
50696
|
}
|
|
50697
50697
|
),
|
|
50698
50698
|
onClick: () => {
|
|
50699
|
-
|
|
50699
|
+
se([te]), P(Je.Copy);
|
|
50700
50700
|
}
|
|
50701
50701
|
}), o.actionLabels[pe.Move] && Te.push({
|
|
50702
50702
|
key: Je.Move,
|
|
@@ -50710,13 +50710,13 @@ const IL = ({
|
|
|
50710
50710
|
}
|
|
50711
50711
|
),
|
|
50712
50712
|
onClick: () => {
|
|
50713
|
-
re([
|
|
50713
|
+
re([te]), P(Je.Move);
|
|
50714
50714
|
}
|
|
50715
50715
|
}), o.actionLabels[pe.Download] && Te.push({
|
|
50716
50716
|
key: "download",
|
|
50717
50717
|
label: o.actionLabels[pe.Download],
|
|
50718
50718
|
icon: /* @__PURE__ */ v(Nc, { ...he, className: "text-secondary" }),
|
|
50719
|
-
onClick: () => q([
|
|
50719
|
+
onClick: () => q([te])
|
|
50720
50720
|
}), o.actionLabels[pe.Rename] && Te.push({
|
|
50721
50721
|
key: "rename",
|
|
50722
50722
|
label: o.actionLabels[pe.Rename],
|
|
@@ -50727,34 +50727,34 @@ const IL = ({
|
|
|
50727
50727
|
className: "text-secondary"
|
|
50728
50728
|
}
|
|
50729
50729
|
),
|
|
50730
|
-
onClick: () => fo(
|
|
50730
|
+
onClick: () => fo(te.path)
|
|
50731
50731
|
}), o.actionLabels[pe.Delete] && Te.push({
|
|
50732
50732
|
key: "delete",
|
|
50733
50733
|
label: o.actionLabels[pe.Delete],
|
|
50734
50734
|
icon: /* @__PURE__ */ v(ln, { ...he, className: "text-secondary" }),
|
|
50735
|
-
onClick: () => X([
|
|
50735
|
+
onClick: () => X([te], te.parentPath ?? "")
|
|
50736
50736
|
})), Te;
|
|
50737
50737
|
},
|
|
50738
50738
|
[
|
|
50739
50739
|
q,
|
|
50740
50740
|
N,
|
|
50741
50741
|
P,
|
|
50742
|
-
|
|
50742
|
+
se,
|
|
50743
50743
|
re,
|
|
50744
50744
|
fo,
|
|
50745
50745
|
X,
|
|
50746
50746
|
o
|
|
50747
50747
|
]
|
|
50748
50748
|
), Da = B(() => {
|
|
50749
|
-
const
|
|
50749
|
+
const te = /* @__PURE__ */ new Map();
|
|
50750
50750
|
return S.forEach((Te, Ri) => {
|
|
50751
50751
|
const Yt = w.find((Es) => Es.path === Ri);
|
|
50752
|
-
Yt &&
|
|
50753
|
-
}),
|
|
50752
|
+
Yt && te.set(Ri, Yt);
|
|
50753
|
+
}), te;
|
|
50754
50754
|
}, [S, w]), yo = T(
|
|
50755
|
-
(
|
|
50755
|
+
(te) => {
|
|
50756
50756
|
const Te = /* @__PURE__ */ new Map();
|
|
50757
|
-
|
|
50757
|
+
te.forEach((Ri, Yt) => {
|
|
50758
50758
|
const Es = pi(t, Yt);
|
|
50759
50759
|
Es && Te.set(Yt, Es);
|
|
50760
50760
|
}), y(Te);
|
|
@@ -50764,11 +50764,11 @@ const IL = ({
|
|
|
50764
50764
|
selectedFiles: S,
|
|
50765
50765
|
actionLabels: l?.actionLabels,
|
|
50766
50766
|
onDuplicate: N,
|
|
50767
|
-
onCopy: (
|
|
50768
|
-
te
|
|
50767
|
+
onCopy: (te) => {
|
|
50768
|
+
se(te), P(Je.Copy);
|
|
50769
50769
|
},
|
|
50770
|
-
onMove: (
|
|
50771
|
-
re(
|
|
50770
|
+
onMove: (te) => {
|
|
50771
|
+
re(te), P(Je.Move);
|
|
50772
50772
|
},
|
|
50773
50773
|
onDownload: q,
|
|
50774
50774
|
onDelete: X,
|
|
@@ -50885,29 +50885,29 @@ const IL = ({
|
|
|
50885
50885
|
m
|
|
50886
50886
|
]), Dn = PL({
|
|
50887
50887
|
actionLabels: r?.actionLabels,
|
|
50888
|
-
onDuplicate: (
|
|
50889
|
-
onCopy: (
|
|
50890
|
-
|
|
50888
|
+
onDuplicate: (te) => N([te]),
|
|
50889
|
+
onCopy: (te) => {
|
|
50890
|
+
se([te]), P(Je.Copy);
|
|
50891
50891
|
},
|
|
50892
|
-
onMove: (
|
|
50893
|
-
re([
|
|
50892
|
+
onMove: (te) => {
|
|
50893
|
+
re([te]), P(Je.Move);
|
|
50894
50894
|
},
|
|
50895
|
-
onDownload: (
|
|
50895
|
+
onDownload: (te) => q([te]),
|
|
50896
50896
|
onRename: xa,
|
|
50897
|
-
onDelete: (
|
|
50897
|
+
onDelete: (te, Te) => X([te], Te)
|
|
50898
50898
|
}), Pn = T(
|
|
50899
|
-
(
|
|
50900
|
-
const Te = pi(t,
|
|
50899
|
+
(te) => {
|
|
50900
|
+
const Te = pi(t, te.path);
|
|
50901
50901
|
return Te ? Dn(Te) : [];
|
|
50902
50902
|
},
|
|
50903
50903
|
[t, Dn]
|
|
50904
50904
|
), { actionsColumnDef: Ro } = IL({
|
|
50905
50905
|
getContextMenuItems: Pn
|
|
50906
50906
|
}), Tn = Co ?? Ea, Mn = B(() => {
|
|
50907
|
-
let
|
|
50908
|
-
return Co || (
|
|
50907
|
+
let te = Tn;
|
|
50908
|
+
return Co || (te = te.filter(
|
|
50909
50909
|
(Te) => Te.colId && xn.includes(Te.colId)
|
|
50910
|
-
)), nt && (
|
|
50910
|
+
)), nt && (te = te.slice(0, 1)), te.push(Ro), vo ? te : te.map((Te) => ({
|
|
50911
50911
|
...Te,
|
|
50912
50912
|
filter: !1,
|
|
50913
50913
|
floatingFilter: !1
|
|
@@ -50920,8 +50920,8 @@ const IL = ({
|
|
|
50920
50920
|
Co,
|
|
50921
50921
|
xn
|
|
50922
50922
|
]), Ta = T(
|
|
50923
|
-
(
|
|
50924
|
-
|
|
50923
|
+
(te) => {
|
|
50924
|
+
te.colDef.colId === "__select" || te.colDef.colId === Wt.Actions || D && te.data?.path === D || te.data?.isTemporary || te.data && F(te.data);
|
|
50925
50925
|
},
|
|
50926
50926
|
[D, F]
|
|
50927
50927
|
);
|
|
@@ -50953,7 +50953,7 @@ const IL = ({
|
|
|
50953
50953
|
Q8,
|
|
50954
50954
|
{
|
|
50955
50955
|
...n ?? {},
|
|
50956
|
-
makeHref: (
|
|
50956
|
+
makeHref: (te) => te.join("/"),
|
|
50957
50957
|
path: C,
|
|
50958
50958
|
onItemClick: E,
|
|
50959
50959
|
rootItemPath: s?.path,
|
|
@@ -50978,7 +50978,7 @@ const IL = ({
|
|
|
50978
50978
|
{
|
|
50979
50979
|
columnDefs: Mn,
|
|
50980
50980
|
rowData: w,
|
|
50981
|
-
getRowId: (
|
|
50981
|
+
getRowId: (te) => te.path,
|
|
50982
50982
|
loading: i,
|
|
50983
50983
|
getContextMenuItems: Pn,
|
|
50984
50984
|
withoutHeaderBorders: nt,
|
|
@@ -50994,7 +50994,7 @@ const IL = ({
|
|
|
50994
50994
|
headerHeight: El,
|
|
50995
50995
|
rowHeight: El,
|
|
50996
50996
|
...nt ? {
|
|
50997
|
-
getRowHeight: (
|
|
50997
|
+
getRowHeight: (te) => te.data?.nodeType === Ve.FOLDER ? El : N8
|
|
50998
50998
|
} : {}
|
|
50999
50999
|
},
|
|
51000
51000
|
selectedRows: Da,
|
|
@@ -51028,8 +51028,8 @@ const IL = ({
|
|
|
51028
51028
|
open: _,
|
|
51029
51029
|
onClose: H,
|
|
51030
51030
|
onConfirm: () => {
|
|
51031
|
-
const
|
|
51032
|
-
V === Je.Copy ? ne(
|
|
51031
|
+
const te = d?.destinationFolderPath ?? "/";
|
|
51032
|
+
V === Je.Copy ? ne(te) : K(te, C ?? "/"), H();
|
|
51033
51033
|
},
|
|
51034
51034
|
mode: V,
|
|
51035
51035
|
items: t,
|
|
@@ -51037,7 +51037,11 @@ const IL = ({
|
|
|
51037
51037
|
gridOptions: { columnDefs: Mn, loading: i },
|
|
51038
51038
|
onUploadFiles: ge,
|
|
51039
51039
|
onValidateUpload: Se,
|
|
51040
|
-
maxFileSize: Qe
|
|
51040
|
+
maxFileSize: Qe,
|
|
51041
|
+
path: d?.destinationFolderPath || C,
|
|
51042
|
+
onPathChange: (te) => {
|
|
51043
|
+
d?.setDestinationFolderPath?.(te);
|
|
51044
|
+
}
|
|
51041
51045
|
}
|
|
51042
51046
|
),
|
|
51043
51047
|
/* @__PURE__ */ v(
|