@epam/ai-dial-react-file-manager 0.1.0-dev.19 → 0.1.0-dev.21
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/ai-dial-react-file-manager.es.js +177 -176
- package/dist/index.css +1 -1
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o, jsxs as X, Fragment as Ie } from "react/jsx-runtime";
|
|
2
|
-
import { IconCircleFilled as Un, IconChevronDown as Ja, IconDotsVertical as ln, IconFolder as pa, IconPlus as er, IconFile as tr, IconFileZip as nr, IconCopyMinus as or, IconFolderPlus as Qo, IconEye as
|
|
2
|
+
import { IconCircleFilled as Un, IconChevronDown as Ja, IconDotsVertical as ln, IconFolder as pa, IconPlus as er, IconFile as tr, IconFileZip as nr, IconCopyMinus as or, IconFolderPlus as Qo, IconEye as So, IconX as ar, IconArrowLeft as rr, IconEyeOff as sr, IconAlertCircleFilled as ir, IconAlertTriangleFilled as lr, IconCaretRightFilled as cr, IconUserX as Ao, IconCopy as Po, IconTrashX as Mo, IconDownload as ko, IconExternalLink as Fo, IconPencilMinus as fa, IconInfoCircle as dr, IconFileDescription as ur } from "@tabler/icons-react";
|
|
3
3
|
import an from "classnames";
|
|
4
4
|
import * as Ge from "react";
|
|
5
5
|
import { useState as z, useMemo as $, useCallback as d, useRef as ce, useEffect as pe, createContext as hr, useLayoutEffect as pr, useContext as fr, useImperativeHandle as mr } from "react";
|
|
6
|
-
import { DialFolderName as
|
|
6
|
+
import { DialFolderName as Oo, DialFileName as Lo, Dropdown as ht, DropdownTrigger as ma, DIAL_ICON_SIZE as zo, DialGrid as Ca, Popup as _o, PopupSize as Gn, DialRadioGroup as Jo, RadioGroupOrientation as ea, NeutralButton as rn, PrimaryButton as on, GhostIconButton as Et, BASE_ICON_PROPS as M, mergeClasses as Ee, NotificationVariant as Eo, ElementSize as jn, NOT_ALLOWED_SYMBOLS_REGEXP as Cr, DialTooltipContainer as gr, DialTooltipTrigger as vr, DialTooltipContent as yr, Notification as wr, ButtonAppearance as ga, DialSwitch as va, DialTooltip as Vn, FlexibleActionsDirection as tn, BASE_ICON_SIZE as ya, ConfirmationPopup as Nr, ConfirmationPopupVariant as Dr, DialBreadcrumb as xr, DialSearch as br, ButtonVariant as Tr, DialTabs as Rr, ScreenResolution as Ir, ButtonDropdown as ta, Skeleton as qt, SkeletonVariant as Yt, DialEllipsisTooltip as Tt, DialItemType as We, DialFileIcon as Fr, DialSharedEntityIndicator as na, DialIcon as Er, Spinner as Sr, editableContainerProps as Ar, Input as Pr, useEditableItem as Mr, DialNoDataContent as wa, DialDateCellRenderer as Na, convertGridDateToDate as kr, DEFAULT_GRID_DATE_LOCALE as Or, DEFAULT_GRID_DATE_FORMAT_OPTIONS as Lr, DropdownItemType as Da, DialConditionalResizableContainer as zr, DialCollapsibleSidebar as _r } from "@epam/ai-dial-ui-kit";
|
|
7
7
|
import { extensions as oa } from "mime-types";
|
|
8
8
|
import { createPortal as Br } from "react-dom";
|
|
9
9
|
const xa = (e) => /* @__PURE__ */ Ge.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Ge.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.1812 1.2002H2.80615C2.43319 1.2002 2.07551 1.34835 1.81178 1.61208C1.54806 1.8758 1.3999 2.23348 1.3999 2.60645V5.48145C1.3999 5.85441 1.54806 6.21209 1.81178 6.47581C2.07551 6.73954 2.43319 6.8877 2.80615 6.8877H15.1812C15.5541 6.8877 15.9118 6.73954 16.1755 6.47581C16.4392 6.21209 16.5874 5.85441 16.5874 5.48145V2.60645C16.5874 2.23348 16.4392 1.8758 16.1755 1.61208C15.9118 1.34835 15.5541 1.2002 15.1812 1.2002ZM14.8999 5.2002H3.0874V2.8877H14.8999V5.2002ZM12 7.80017C12.3107 7.80017 12.5625 8.05201 12.5625 8.36267V11.7377H15.9375C16.2482 11.7377 16.5 11.9895 16.5 12.3002C16.5 12.6108 16.2482 12.8627 15.9375 12.8627H12.5625V16.2377C12.5625 16.5483 12.3107 16.8002 12 16.8002C11.6893 16.8002 11.4375 16.5483 11.4375 16.2377V12.8627H8.0625C7.75184 12.8627 7.5 12.6108 7.5 12.3002C7.5 11.9895 7.75184 11.7377 8.0625 11.7377H11.4375V8.36267C11.4375 8.05201 11.6893 7.80017 12 7.80017ZM2.41188 12.5883C2.14816 12.3246 2 11.9669 2 11.5939V9.00018H3.6875V11.3127H6.1001V13.0002H3.40625C3.03329 13.0002 2.6756 12.852 2.41188 12.5883Z", fill: "currentColor" })), ba = (e) => /* @__PURE__ */ Ge.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Ge.createElement("path", { d: "M9.00049 7.7998C9.3108 7.80007 9.56279 8.05198 9.56299 8.3623V11.7373H12.938C13.2483 11.7376 13.5003 11.9895 13.5005 12.2998C13.5005 12.6103 13.2484 12.862 12.938 12.8623H9.56299V16.2373C9.56299 16.5478 9.31092 16.7995 9.00049 16.7998C8.68983 16.7998 8.43799 16.548 8.43799 16.2373V12.8623H5.06299C4.75233 12.8623 4.50049 12.6105 4.50049 12.2998C4.50069 11.9893 4.75245 11.7373 5.06299 11.7373H8.43799V8.3623C8.43819 8.05181 8.68995 7.7998 9.00049 7.7998ZM15.1812 1.2002C15.5541 1.2002 15.9116 1.34858 16.1753 1.6123C16.439 1.87603 16.5874 2.23348 16.5874 2.60645V5.48145C16.5874 5.85441 16.439 6.21186 16.1753 6.47559C15.9116 6.73931 15.5541 6.8877 15.1812 6.8877H2.80615C2.43319 6.8877 2.07573 6.73931 1.81201 6.47559C1.54829 6.21186 1.3999 5.85441 1.3999 5.48145V2.60645C1.3999 2.23348 1.54829 1.87603 1.81201 1.6123C2.07573 1.34858 2.43319 1.2002 2.80615 1.2002H15.1812ZM3.0874 2.8877V5.2002H14.8999V2.8877H3.0874Z", fill: "currentColor" })), Bo = (e) => /* @__PURE__ */ Ge.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Ge.createElement("path", { d: "M3.009 12.5527C2.77901 12.4216 2.5877 12.2321 2.45443 12.0034C2.32116 11.7746 2.25064 11.5147 2.25 11.25V3.75C2.25 2.925 2.925 2.25 3.75 2.25H11.25C11.8125 2.25 12.1185 2.53875 12.375 3M10.5 15.75H7.25025C6.98757 15.75 6.72747 15.6983 6.48479 15.5977C6.24211 15.4972 6.0216 15.3499 5.83586 15.1641C5.65012 14.9784 5.50278 14.7579 5.40226 14.5152C5.30174 14.2725 5.25 14.0124 5.25 13.7498V7.25025C5.25 6.71975 5.46074 6.21098 5.83586 5.83586C6.21098 5.46074 6.71975 5.25 7.25025 5.25H13.7498C14.0124 5.25 14.2725 5.30174 14.5152 5.40226C14.7579 5.50278 14.9784 5.65012 15.1641 5.83586C15.3499 6.0216 15.4972 6.24211 15.5977 6.48479C15.6983 6.72747 15.75 6.98757 15.75 7.25025V10.5M12.75 16.5L16.5 12.75M16.5 12.75V16.125M16.5 12.75H13.125", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Wo = (e) => /* @__PURE__ */ Ge.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Ge.createElement("path", { d: "M9.75 14.25H3.75C3.35218 14.25 2.97064 14.092 2.68934 13.8107C2.40804 13.5294 2.25 13.1478 2.25 12.75V4.5C2.25 4.10218 2.40804 3.72064 2.68934 3.43934C2.97064 3.15804 3.35218 3 3.75 3H6.75L9 5.25H14.25C14.6478 5.25 15.0294 5.40804 15.3107 5.68934C15.592 5.97064 15.75 6.35218 15.75 6.75V9.75M12 16.5L15.75 12.75M15.75 12.75V16.125M15.75 12.75H12.375", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Ho = (e) => /* @__PURE__ */ Ge.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Ge.createElement("path", { d: "M4.5 15.75V14.25C4.5 13.4544 4.81607 12.6913 5.37868 12.1287C5.94129 11.5661 6.70435 11.25 7.5 11.25H9.75M15.75 12.75L12 16.5M12 16.5V13.125M12 16.5H15.375M6 5.25C6 6.04565 6.31607 6.80871 6.87868 7.37132C7.44129 7.93393 8.20435 8.25 9 8.25C9.79565 8.25 10.5587 7.93393 11.1213 7.37132C11.6839 6.80871 12 6.04565 12 5.25C12 4.45435 11.6839 3.69129 11.1213 3.12868C10.5587 2.56607 9.79565 2.25 9 2.25C8.20435 2.25 7.44129 2.56607 6.87868 3.12868C6.31607 3.69129 6 4.45435 6 5.25Z", stroke: "#7F8792", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
10
10
|
var nn = /* @__PURE__ */ ((e) => (e.MyFiles = "my_files", e.Shared = "shared", e.Organization = "organization", e.Review = "review", e))(nn || {}), w = /* @__PURE__ */ ((e) => (e.AddSibling = "addSibling", e.AddChild = "addChild", e.Duplicate = "duplicate", e.Copy = "copy", e.Move = "move", e.Download = "download", e.Delete = "delete", e.Rename = "rename", e.Info = "info", e.Unshare = "unshare", e.RemoveAccess = "removeAccess", e.ManagePermissions = "managePermissions", e.Preview = "preview", e.OpenInNewTab = "openInNewTab", e))(w || {}), Ce = /* @__PURE__ */ ((e) => (e.Replace = "replace", e.Duplicate = "duplicate", e.Cancel = "cancel", e))(Ce || {}), ke = /* @__PURE__ */ ((e) => (e.ReplaceAll = "replaceAll", e.DuplicateAll = "duplicateAll", e.DecideForEach = "decideForEach", e))(ke || {}), ge = /* @__PURE__ */ ((e) => (e.Copy = "copy", e.Move = "move", e))(ge || {}), Rt = /* @__PURE__ */ ((e) => (e.Tree = "tree", e.Grid = "grid", e))(Rt || {}), ut = /* @__PURE__ */ ((e) => (e.Tree = "tree", e.Grid = "grid", e))(ut || {}), Be = /* @__PURE__ */ ((e) => (e.Folder = "folder", e.Child = "child", e.Sibling = "sibling", e))(Be || {}), ye = /* @__PURE__ */ ((e) => (e.Name = "name", e.UpdatedAt = "updatedAt", e.Size = "size", e.Author = "author", e.Owner = "owner", e.Path = "path", e.Actions = "__actions", e.Version = "version", e))(ye || {});
|
|
11
|
-
const Wr = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-1", aa = "w-full text-secondary flex items-center gap-2", Hr = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", Ur = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", Gr = "h-full rounded bg-layer-raised text-secondary min-w-0", Vr = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", $r = "opacity-0 pointer-events-none group-hover/grid-row:opacity-100 group-hover/grid-row:pointer-events-auto", jr = 280, Zr = "Files", rt = 20, Xr = "Files",
|
|
11
|
+
const Wr = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-1", aa = "w-full text-secondary flex items-center gap-2", Hr = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", Ur = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", Gr = "h-full rounded bg-layer-raised text-secondary min-w-0", Vr = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", $r = "opacity-0 pointer-events-none group-hover/grid-row:opacity-100 group-hover/grid-row:pointer-events-auto", jr = 280, Zr = "Files", rt = 20, Xr = "Files", Ro = ".dial_folder", ra = "New folder", qr = 280, Yr = 460, sa = 44, Kr = 800, Qr = [
|
|
12
12
|
ye.Name,
|
|
13
13
|
ye.UpdatedAt,
|
|
14
14
|
ye.Size,
|
|
@@ -83,13 +83,13 @@ const ia = ({
|
|
|
83
83
|
filter: !1,
|
|
84
84
|
resizable: !1,
|
|
85
85
|
cellRenderer: (W) => W.data?.nodeType === O.FOLDER ? /* @__PURE__ */ o(
|
|
86
|
-
|
|
86
|
+
Oo,
|
|
87
87
|
{
|
|
88
88
|
name: W.data.name,
|
|
89
89
|
iconSize: rt
|
|
90
90
|
}
|
|
91
91
|
) : /* @__PURE__ */ o(
|
|
92
|
-
|
|
92
|
+
Lo,
|
|
93
93
|
{
|
|
94
94
|
name: W.data.name,
|
|
95
95
|
iconSize: rt
|
|
@@ -155,7 +155,7 @@ const ia = ({
|
|
|
155
155
|
/* @__PURE__ */ o(
|
|
156
156
|
Ja,
|
|
157
157
|
{
|
|
158
|
-
size:
|
|
158
|
+
size: zo.SM,
|
|
159
159
|
className: an(
|
|
160
160
|
"text-secondary transition-transform",
|
|
161
161
|
G && "rotate-180"
|
|
@@ -249,7 +249,7 @@ const ia = ({
|
|
|
249
249
|
U
|
|
250
250
|
]);
|
|
251
251
|
return /* @__PURE__ */ o(
|
|
252
|
-
|
|
252
|
+
_o,
|
|
253
253
|
{
|
|
254
254
|
open: e,
|
|
255
255
|
onClose: Te,
|
|
@@ -427,13 +427,13 @@ const is = (e) => e?.map((t) => t.endsWith("/*") ? t.replace("/*", "s") : ls(t).
|
|
|
427
427
|
const [l] = n.split("/");
|
|
428
428
|
return l === t && a.push(...r), a;
|
|
429
429
|
}, []) : oa[e] || [];
|
|
430
|
-
},
|
|
430
|
+
}, Zn = (e) => {
|
|
431
431
|
if (!e) return;
|
|
432
432
|
const t = e.flags.replace(/[gy]/g, "");
|
|
433
433
|
return new RegExp(e.source, t);
|
|
434
434
|
};
|
|
435
435
|
function Go(e, t, s) {
|
|
436
|
-
if (t &&
|
|
436
|
+
if (t && Zn(t)?.test(e.name))
|
|
437
437
|
return s ?? `This ${e.isFolder ? "folder" : "file"} contains forbidden characters in its name. Please rename it.`;
|
|
438
438
|
}
|
|
439
439
|
const cs = (e) => {
|
|
@@ -506,7 +506,7 @@ const cs = (e) => {
|
|
|
506
506
|
const r = a(e, n);
|
|
507
507
|
if (!t.has(r)) return r;
|
|
508
508
|
}
|
|
509
|
-
},
|
|
509
|
+
}, Io = (e) => e.name, Ra = ({
|
|
510
510
|
getDestinationFiles: e,
|
|
511
511
|
onResolve: t
|
|
512
512
|
}) => {
|
|
@@ -516,7 +516,7 @@ const cs = (e) => {
|
|
|
516
516
|
p.current = !1, r(!1), a([]), i(null);
|
|
517
517
|
}, []), v = d(
|
|
518
518
|
(f, T) => {
|
|
519
|
-
const x = e(f), F = new Set(x.map(
|
|
519
|
+
const x = e(f), F = new Set(x.map(Io)), I = T.filter((S) => F.has(S.name));
|
|
520
520
|
return {
|
|
521
521
|
hasConflicts: I.length > 0,
|
|
522
522
|
conflicts: I
|
|
@@ -525,7 +525,7 @@ const cs = (e) => {
|
|
|
525
525
|
[e]
|
|
526
526
|
), u = d(
|
|
527
527
|
(f, T, x, F) => {
|
|
528
|
-
const I = e(f), S = new Set(I.map(
|
|
528
|
+
const I = e(f), S = new Set(I.map(Io));
|
|
529
529
|
return T.map((A) => {
|
|
530
530
|
const _ = A.name, U = S.has(_), P = x && U ? _ : la(_, S, A.nodeType);
|
|
531
531
|
return (!x || !U) && S.add(P), {
|
|
@@ -540,7 +540,7 @@ const cs = (e) => {
|
|
|
540
540
|
[e]
|
|
541
541
|
), y = d(
|
|
542
542
|
(f, T, x, F) => {
|
|
543
|
-
const I = e(f), S = new Set(I.map(
|
|
543
|
+
const I = e(f), S = new Set(I.map(Io));
|
|
544
544
|
return T.filter((_) => x.get(_.path) !== Ce.Cancel).map((_) => {
|
|
545
545
|
const U = x.get(_.path), P = S.has(_.name), k = U === Ce.Replace && P, B = k ? _.name : la(_.name, S, _.nodeType);
|
|
546
546
|
return k || S.add(B), {
|
|
@@ -1201,7 +1201,7 @@ const cs = (e) => {
|
|
|
1201
1201
|
handleUploadConflictDecideForEach: Ne
|
|
1202
1202
|
};
|
|
1203
1203
|
}, Ia = hr(void 0), Fa = {
|
|
1204
|
-
hiddenItemWarning: `${
|
|
1204
|
+
hiddenItemWarning: `${Eo.Warning}__A dot at the start of the name will make the item hidden`
|
|
1205
1205
|
}, Ea = {
|
|
1206
1206
|
consecutiveDotsError: "Name cannot contain consecutive dots"
|
|
1207
1207
|
}, Ns = {
|
|
@@ -1541,11 +1541,11 @@ const Ts = ({
|
|
|
1541
1541
|
if (!k)
|
|
1542
1542
|
return;
|
|
1543
1543
|
A();
|
|
1544
|
-
const L = `${f?.path ?? "/"}/${k}`, q = `${L}/${
|
|
1545
|
-
fileContent: new File([],
|
|
1544
|
+
const L = `${f?.path ?? "/"}/${k}`, q = `${L}/${Ro}`, j = {
|
|
1545
|
+
fileContent: new File([], Ro, {
|
|
1546
1546
|
type: "text/plain"
|
|
1547
1547
|
}),
|
|
1548
|
-
name:
|
|
1548
|
+
name: Ro
|
|
1549
1549
|
};
|
|
1550
1550
|
t && await t(j, L, q);
|
|
1551
1551
|
},
|
|
@@ -1578,9 +1578,9 @@ const Ts = ({
|
|
|
1578
1578
|
Et,
|
|
1579
1579
|
{
|
|
1580
1580
|
disabled: a,
|
|
1581
|
-
size:
|
|
1581
|
+
size: jn.Small,
|
|
1582
1582
|
onClick: s,
|
|
1583
|
-
icon: /* @__PURE__ */ o(or, { size:
|
|
1583
|
+
icon: /* @__PURE__ */ o(or, { size: zo.LG, stroke: 1.5 }),
|
|
1584
1584
|
"aria-label": "collapse-all"
|
|
1585
1585
|
}
|
|
1586
1586
|
)
|
|
@@ -1779,13 +1779,13 @@ const ks = ({
|
|
|
1779
1779
|
onManagePermissions: cn,
|
|
1780
1780
|
onPreview: st,
|
|
1781
1781
|
onOpenInNewTab: ft,
|
|
1782
|
-
previewExtensions:
|
|
1783
|
-
isRenameFileAvailable:
|
|
1784
|
-
isDuplicateFolderAvailable:
|
|
1782
|
+
previewExtensions: Xn,
|
|
1783
|
+
isRenameFileAvailable: qn,
|
|
1784
|
+
isDuplicateFolderAvailable: Yn,
|
|
1785
1785
|
customUploadFileAction: mt,
|
|
1786
1786
|
customCreateNewItemAction: dn,
|
|
1787
1787
|
customDuplicateAction: At,
|
|
1788
|
-
customDeleteItemsAction:
|
|
1788
|
+
customDeleteItemsAction: Kn,
|
|
1789
1789
|
customDownloadItemsAction: un,
|
|
1790
1790
|
customBreakpointRef: hn,
|
|
1791
1791
|
gridClassName: pn,
|
|
@@ -1806,19 +1806,19 @@ const ks = ({
|
|
|
1806
1806
|
selectedPaths: p,
|
|
1807
1807
|
defaultSelectedPaths: C,
|
|
1808
1808
|
onSelectedPathsChange: c
|
|
1809
|
-
}), gn = ce(!1), Je = ce(null),
|
|
1809
|
+
}), gn = ce(!1), Je = ce(null), Qn = d(
|
|
1810
1810
|
(E, K, oe) => {
|
|
1811
1811
|
if (je) {
|
|
1812
|
-
const { parent: Ye, name:
|
|
1812
|
+
const { parent: Ye, name: To } = cs(K);
|
|
1813
1813
|
Je.current = {
|
|
1814
|
-
fileNames: /* @__PURE__ */ new Set([
|
|
1814
|
+
fileNames: /* @__PURE__ */ new Set([To]),
|
|
1815
1815
|
destinationFolder: Ye
|
|
1816
1816
|
};
|
|
1817
1817
|
}
|
|
1818
1818
|
Ne?.(E, K, oe);
|
|
1819
1819
|
},
|
|
1820
1820
|
[Ne, je]
|
|
1821
|
-
),
|
|
1821
|
+
), Jn = d(
|
|
1822
1822
|
(E, K) => {
|
|
1823
1823
|
je && (Je.current = {
|
|
1824
1824
|
fileNames: new Set(E.map((oe) => oe.name)),
|
|
@@ -1826,7 +1826,7 @@ const ks = ({
|
|
|
1826
1826
|
}), j?.(E, K);
|
|
1827
1827
|
},
|
|
1828
1828
|
[j, je]
|
|
1829
|
-
),
|
|
1829
|
+
), eo = d(
|
|
1830
1830
|
(E, K, oe) => {
|
|
1831
1831
|
je && (Je.current = {
|
|
1832
1832
|
fileNames: /* @__PURE__ */ new Set([K]),
|
|
@@ -1834,7 +1834,7 @@ const ks = ({
|
|
|
1834
1834
|
}), ue?.(E, K, oe);
|
|
1835
1835
|
},
|
|
1836
1836
|
[ue, je]
|
|
1837
|
-
),
|
|
1837
|
+
), to = $(() => {
|
|
1838
1838
|
const E = /* @__PURE__ */ new Map();
|
|
1839
1839
|
return Ze.forEach((K) => {
|
|
1840
1840
|
const oe = Ke(a, K);
|
|
@@ -1868,24 +1868,24 @@ const ks = ({
|
|
|
1868
1868
|
...oe
|
|
1869
1869
|
} = D || {};
|
|
1870
1870
|
return { showFiles: E, showFolders: K, ...oe };
|
|
1871
|
-
}, [D]), kt = Mt.showFiles, et = Mt.showFolders, [gt,
|
|
1871
|
+
}, [D]), kt = Mt.showFiles, et = Mt.showFolders, [gt, no] = z(), vn = T?.destinationFolderPath ?? gt, tt = d(
|
|
1872
1872
|
(E) => {
|
|
1873
|
-
T?.setDestinationFolderPath ? T.setDestinationFolderPath(E) :
|
|
1873
|
+
T?.setDestinationFolderPath ? T.setDestinationFolderPath(E) : no(E);
|
|
1874
1874
|
},
|
|
1875
1875
|
[T]
|
|
1876
1876
|
), { areHiddenFilesVisible: lt, toggleHiddenFilesVisibility: yn } = ps({
|
|
1877
1877
|
showHiddenFiles: v,
|
|
1878
1878
|
onShowHiddenFilesChange: u
|
|
1879
|
-
}), { isTreeCollapsed: wn, toggleTreeCollapse: vt, setIsTreeCollapsed:
|
|
1879
|
+
}), { isTreeCollapsed: wn, toggleTreeCollapse: vt, setIsTreeCollapsed: oo } = fs({
|
|
1880
1880
|
collapsed: y?.collapsed,
|
|
1881
1881
|
onCollapseChange: y?.onCollapseChange
|
|
1882
1882
|
}), {
|
|
1883
1883
|
renamedPath: yt,
|
|
1884
|
-
renamedItem:
|
|
1885
|
-
renameHandler:
|
|
1886
|
-
renameSaveHandler:
|
|
1887
|
-
renameCancelHandler:
|
|
1888
|
-
renameValidateHandler:
|
|
1884
|
+
renamedItem: ao,
|
|
1885
|
+
renameHandler: ro,
|
|
1886
|
+
renameSaveHandler: so,
|
|
1887
|
+
renameCancelHandler: io,
|
|
1888
|
+
renameValidateHandler: lo,
|
|
1889
1889
|
getDisplayName: Ot
|
|
1890
1890
|
} = Ts({
|
|
1891
1891
|
items: a,
|
|
@@ -1925,18 +1925,18 @@ const ks = ({
|
|
|
1925
1925
|
handleOpenDestinationFolderPopup: Nt,
|
|
1926
1926
|
handleCloseDestinationFolderPopup: Rn,
|
|
1927
1927
|
openDestinationFolderPopup: nt,
|
|
1928
|
-
handleSetCopiedFiles:
|
|
1928
|
+
handleSetCopiedFiles: co,
|
|
1929
1929
|
handleSetMovedFiles: In,
|
|
1930
1930
|
destinationFolderMode: Fn,
|
|
1931
|
-
destinationFolderTitle:
|
|
1931
|
+
destinationFolderTitle: uo,
|
|
1932
1932
|
conflictingFiles: En,
|
|
1933
|
-
conflictResolutionOpen:
|
|
1933
|
+
conflictResolutionOpen: ho,
|
|
1934
1934
|
closeConflictResolution: Sn,
|
|
1935
1935
|
handleConflictReplace: Bt,
|
|
1936
|
-
handleConflictDuplicate:
|
|
1937
|
-
handleConflictCancel:
|
|
1938
|
-
handleConflictDecideForEach:
|
|
1939
|
-
sourceFolder:
|
|
1936
|
+
handleConflictDuplicate: po,
|
|
1937
|
+
handleConflictCancel: fo,
|
|
1938
|
+
handleConflictDecideForEach: mo,
|
|
1939
|
+
sourceFolder: Co
|
|
1940
1940
|
} = ms({
|
|
1941
1941
|
getDestinationFiles: (E) => It(a, E)?.items ?? [],
|
|
1942
1942
|
onCopyFiles: _,
|
|
@@ -1951,7 +1951,7 @@ const ks = ({
|
|
|
1951
1951
|
nt || tt(void 0);
|
|
1952
1952
|
}, [nt, tt]);
|
|
1953
1953
|
const {
|
|
1954
|
-
deleteConfirmationOpen:
|
|
1954
|
+
deleteConfirmationOpen: go,
|
|
1955
1955
|
itemsToDelete: An,
|
|
1956
1956
|
openDeleteConfirmation: Pn,
|
|
1957
1957
|
closeDeleteConfirmation: Mn,
|
|
@@ -1964,9 +1964,9 @@ const ks = ({
|
|
|
1964
1964
|
customDownloadItemsAction: un,
|
|
1965
1965
|
onDownloadSuccess: Xe
|
|
1966
1966
|
}), {
|
|
1967
|
-
isDragging:
|
|
1967
|
+
isDragging: vo,
|
|
1968
1968
|
isDraggingOverWindow: ze,
|
|
1969
|
-
uploadError:
|
|
1969
|
+
uploadError: yo,
|
|
1970
1970
|
handleDragEnter: Wt,
|
|
1971
1971
|
handleDragLeave: xt,
|
|
1972
1972
|
handleDragOver: ct,
|
|
@@ -1975,18 +1975,18 @@ const ks = ({
|
|
|
1975
1975
|
openFileDialog: Ut,
|
|
1976
1976
|
fileInputRef: On,
|
|
1977
1977
|
openArchiveDialog: Gt,
|
|
1978
|
-
uploadConflictingFiles:
|
|
1979
|
-
uploadConflictResolutionOpen:
|
|
1978
|
+
uploadConflictingFiles: wo,
|
|
1979
|
+
uploadConflictResolutionOpen: No,
|
|
1980
1980
|
closeUploadConflictResolution: Ln,
|
|
1981
1981
|
handleUploadConflictReplace: Vt,
|
|
1982
|
-
handleUploadConflictDuplicate:
|
|
1983
|
-
handleUploadConflictCancel:
|
|
1982
|
+
handleUploadConflictDuplicate: Do,
|
|
1983
|
+
handleUploadConflictCancel: xo,
|
|
1984
1984
|
handleUploadConflictDecideForEach: $t
|
|
1985
1985
|
} = ws({
|
|
1986
|
-
onUploadFiles:
|
|
1986
|
+
onUploadFiles: Jn,
|
|
1987
1987
|
onValidateUpload: te,
|
|
1988
1988
|
maxFileSize: xe,
|
|
1989
|
-
onUploadArchive:
|
|
1989
|
+
onUploadArchive: eo,
|
|
1990
1990
|
prepareUploadFileName: Te,
|
|
1991
1991
|
allowedFileTypes: Q,
|
|
1992
1992
|
validationMessages: we,
|
|
@@ -2016,7 +2016,7 @@ const ks = ({
|
|
|
2016
2016
|
de,
|
|
2017
2017
|
re,
|
|
2018
2018
|
le
|
|
2019
|
-
]),
|
|
2019
|
+
]), bo = d(
|
|
2020
2020
|
(E) => {
|
|
2021
2021
|
At?.(E);
|
|
2022
2022
|
},
|
|
@@ -2036,7 +2036,7 @@ const ks = ({
|
|
|
2036
2036
|
validateFolderName: Ma
|
|
2037
2037
|
} = Fs({
|
|
2038
2038
|
currentFolder: re,
|
|
2039
|
-
onCreateFolder:
|
|
2039
|
+
onCreateFolder: Qn,
|
|
2040
2040
|
onValidateFolderName: W,
|
|
2041
2041
|
validationMessages: be,
|
|
2042
2042
|
items: a
|
|
@@ -2130,11 +2130,11 @@ const ks = ({
|
|
|
2130
2130
|
isTemporary: !0,
|
|
2131
2131
|
owner: void 0
|
|
2132
2132
|
}), !E) return Ye;
|
|
2133
|
-
const
|
|
2133
|
+
const To = E.split(/\s+/).filter(Boolean);
|
|
2134
2134
|
return Ye.filter((Y) => {
|
|
2135
2135
|
if (Y.isTemporary) return !0;
|
|
2136
2136
|
const Zt = Ft(Y.name), se = Ft(Y.author), Ko = as(Y.extension);
|
|
2137
|
-
return
|
|
2137
|
+
return To.every(
|
|
2138
2138
|
(Xt) => Zt.includes(Xt) || se.includes(Xt) || Ko.includes(Xt)
|
|
2139
2139
|
);
|
|
2140
2140
|
});
|
|
@@ -2278,7 +2278,7 @@ const ks = ({
|
|
|
2278
2278
|
Yo(), De?.clearMetadata?.();
|
|
2279
2279
|
}, [Yo, De]), Ka = $(() => {
|
|
2280
2280
|
if (q)
|
|
2281
|
-
return
|
|
2281
|
+
return Zn(q);
|
|
2282
2282
|
}, [q]), Qa = {
|
|
2283
2283
|
managerLabel: e,
|
|
2284
2284
|
className: s,
|
|
@@ -2303,11 +2303,11 @@ const ks = ({
|
|
|
2303
2303
|
...T,
|
|
2304
2304
|
destinationFolderPath: vn,
|
|
2305
2305
|
setDestinationFolderPath: tt,
|
|
2306
|
-
header:
|
|
2306
|
+
header: uo,
|
|
2307
2307
|
onCreateFolder: Ne,
|
|
2308
2308
|
onCreateFolderValidate: W,
|
|
2309
2309
|
folderCreationValidationMessages: be,
|
|
2310
|
-
sourceFolder:
|
|
2310
|
+
sourceFolder: Co
|
|
2311
2311
|
},
|
|
2312
2312
|
currentPath: de,
|
|
2313
2313
|
setCurrentPath: Fe,
|
|
@@ -2318,17 +2318,17 @@ const ks = ({
|
|
|
2318
2318
|
toggleHiddenFilesVisibility: yn,
|
|
2319
2319
|
isTreeCollapsed: wn,
|
|
2320
2320
|
toggleTreeCollapse: vt,
|
|
2321
|
-
setIsTreeCollapsed:
|
|
2321
|
+
setIsTreeCollapsed: oo,
|
|
2322
2322
|
selectedPaths: Ze,
|
|
2323
|
-
selectedFiles:
|
|
2323
|
+
selectedFiles: to,
|
|
2324
2324
|
setSelectedPaths: it,
|
|
2325
2325
|
clearSelection: Xe,
|
|
2326
2326
|
currentFolder: re,
|
|
2327
2327
|
gridRows: za,
|
|
2328
2328
|
handleCopyTo: xn,
|
|
2329
2329
|
handleMoveTo: bn,
|
|
2330
|
-
handleDuplicate: At ?
|
|
2331
|
-
handleSetCopiedFiles:
|
|
2330
|
+
handleDuplicate: At ? bo : Tn,
|
|
2331
|
+
handleSetCopiedFiles: co,
|
|
2332
2332
|
handleSetMovedFiles: In,
|
|
2333
2333
|
openDestinationFolderPopup: nt,
|
|
2334
2334
|
handleCloseDestinationFolderPopup: Rn,
|
|
@@ -2340,18 +2340,18 @@ const ks = ({
|
|
|
2340
2340
|
handleTreeAddChild: ja,
|
|
2341
2341
|
handleDownloadFiles: ot,
|
|
2342
2342
|
renamedPath: yt,
|
|
2343
|
-
renamedItem:
|
|
2343
|
+
renamedItem: ao,
|
|
2344
2344
|
forbiddenSymbolsRegExp: Ka,
|
|
2345
2345
|
forbiddenSymbolsTooltip: J,
|
|
2346
|
-
onRename:
|
|
2347
|
-
onRenameSave:
|
|
2348
|
-
onRenameCancel:
|
|
2349
|
-
onRenameValidate:
|
|
2346
|
+
onRename: ro,
|
|
2347
|
+
onRenameSave: so,
|
|
2348
|
+
onRenameCancel: io,
|
|
2349
|
+
onRenameValidate: lo,
|
|
2350
2350
|
getDisplayName: Ot,
|
|
2351
|
-
openDeleteConfirmation:
|
|
2351
|
+
openDeleteConfirmation: Kn || Pn,
|
|
2352
2352
|
closeDeleteConfirmation: Mn,
|
|
2353
2353
|
confirmDelete: Dt,
|
|
2354
|
-
deleteConfirmationOpen:
|
|
2354
|
+
deleteConfirmationOpen: go,
|
|
2355
2355
|
itemsToDelete: An,
|
|
2356
2356
|
handlePathChange: qe,
|
|
2357
2357
|
handleTreeItemClick: _a,
|
|
@@ -2361,8 +2361,8 @@ const ks = ({
|
|
|
2361
2361
|
onTableFileClick: I,
|
|
2362
2362
|
handleSelectionClick: S,
|
|
2363
2363
|
onGridApiChange: A,
|
|
2364
|
-
isDragging:
|
|
2365
|
-
uploadError:
|
|
2364
|
+
isDragging: vo,
|
|
2365
|
+
uploadError: yo,
|
|
2366
2366
|
handleDragEnter: Wt,
|
|
2367
2367
|
handleDragLeave: xt,
|
|
2368
2368
|
handleDragOver: ct,
|
|
@@ -2387,18 +2387,18 @@ const ks = ({
|
|
|
2387
2387
|
validateFolderName: Ma,
|
|
2388
2388
|
conflictResolutionPopupOptions: x,
|
|
2389
2389
|
conflictingFiles: En,
|
|
2390
|
-
conflictResolutionOpen:
|
|
2390
|
+
conflictResolutionOpen: ho,
|
|
2391
2391
|
closeConflictResolution: Sn,
|
|
2392
2392
|
handleConflictReplace: Bt,
|
|
2393
|
-
handleConflictDuplicate:
|
|
2394
|
-
handleConflictCancel:
|
|
2395
|
-
handleConflictDecideForEach:
|
|
2396
|
-
uploadConflictingFiles:
|
|
2397
|
-
uploadConflictResolutionOpen:
|
|
2393
|
+
handleConflictDuplicate: po,
|
|
2394
|
+
handleConflictCancel: fo,
|
|
2395
|
+
handleConflictDecideForEach: mo,
|
|
2396
|
+
uploadConflictingFiles: wo,
|
|
2397
|
+
uploadConflictResolutionOpen: No,
|
|
2398
2398
|
closeUploadConflictResolution: Ln,
|
|
2399
2399
|
handleUploadConflictReplace: Vt,
|
|
2400
|
-
handleUploadConflictDuplicate:
|
|
2401
|
-
handleUploadConflictCancel:
|
|
2400
|
+
handleUploadConflictDuplicate: Do,
|
|
2401
|
+
handleUploadConflictCancel: xo,
|
|
2402
2402
|
handleUploadConflictDecideForEach: $t,
|
|
2403
2403
|
fileMetadataPopupOptions: De,
|
|
2404
2404
|
isMetadataPopupOpen: Za,
|
|
@@ -2424,9 +2424,9 @@ const ks = ({
|
|
|
2424
2424
|
onManagePermissions: cn,
|
|
2425
2425
|
onPreview: st,
|
|
2426
2426
|
onOpenInNewTab: ft,
|
|
2427
|
-
previewExtensions:
|
|
2428
|
-
isRenameFileAvailable:
|
|
2429
|
-
isDuplicateFolderAvailable:
|
|
2427
|
+
previewExtensions: Xn,
|
|
2428
|
+
isRenameFileAvailable: qn,
|
|
2429
|
+
isDuplicateFolderAvailable: Yn,
|
|
2430
2430
|
customUploadFileAction: mt,
|
|
2431
2431
|
customBreakpointRef: hn,
|
|
2432
2432
|
nonClickableTableColumns: fn,
|
|
@@ -2566,7 +2566,7 @@ const ks = ({
|
|
|
2566
2566
|
}), c && j.push({
|
|
2567
2567
|
key: "show-hidden-files",
|
|
2568
2568
|
label: C,
|
|
2569
|
-
icon: /* @__PURE__ */ o(
|
|
2569
|
+
icon: /* @__PURE__ */ o(So, { ...M, className: "text-secondary" }),
|
|
2570
2570
|
onClick: () => {
|
|
2571
2571
|
S((te) => !te), _(!1);
|
|
2572
2572
|
}
|
|
@@ -2590,7 +2590,7 @@ const ks = ({
|
|
|
2590
2590
|
]
|
|
2591
2591
|
), q = p === ge.Copy ? "Copy to" : "Move to", J = $(() => !h || !b ? !1 : b === h, [h, b]);
|
|
2592
2592
|
return /* @__PURE__ */ o(
|
|
2593
|
-
|
|
2593
|
+
_o,
|
|
2594
2594
|
{
|
|
2595
2595
|
open: n,
|
|
2596
2596
|
onClose: () => {
|
|
@@ -2608,7 +2608,7 @@ const ks = ({
|
|
|
2608
2608
|
children: /* @__PURE__ */ o(
|
|
2609
2609
|
Et,
|
|
2610
2610
|
{
|
|
2611
|
-
size:
|
|
2611
|
+
size: jn.Large,
|
|
2612
2612
|
"aria-label": "More options",
|
|
2613
2613
|
icon: /* @__PURE__ */ o(ln, { ...M })
|
|
2614
2614
|
}
|
|
@@ -3054,7 +3054,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3054
3054
|
{
|
|
3055
3055
|
key: "hidden-files-switch",
|
|
3056
3056
|
label: a ? u : v,
|
|
3057
|
-
icon: a ? /* @__PURE__ */ o(sr, { ...M, className: "text-secondary" }) : /* @__PURE__ */ o(
|
|
3057
|
+
icon: a ? /* @__PURE__ */ o(sr, { ...M, className: "text-secondary" }) : /* @__PURE__ */ o(So, { ...M, className: "text-secondary" }),
|
|
3058
3058
|
onClick: () => n?.(!a)
|
|
3059
3059
|
}
|
|
3060
3060
|
], [
|
|
@@ -3106,8 +3106,8 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3106
3106
|
children: /* @__PURE__ */ o(
|
|
3107
3107
|
Et,
|
|
3108
3108
|
{
|
|
3109
|
-
size:
|
|
3110
|
-
icon: /* @__PURE__ */ o(ln, { stroke: 2, size:
|
|
3109
|
+
size: jn.Small,
|
|
3110
|
+
icon: /* @__PURE__ */ o(ln, { stroke: 2, size: zo.SM })
|
|
3111
3111
|
}
|
|
3112
3112
|
)
|
|
3113
3113
|
}
|
|
@@ -3146,7 +3146,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3146
3146
|
dateLocale: c = "en-US",
|
|
3147
3147
|
dateOptions: v
|
|
3148
3148
|
}) => /* @__PURE__ */ o(
|
|
3149
|
-
|
|
3149
|
+
_o,
|
|
3150
3150
|
{
|
|
3151
3151
|
open: e,
|
|
3152
3152
|
onClose: t,
|
|
@@ -3321,11 +3321,11 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3321
3321
|
}) => {
|
|
3322
3322
|
const f = () => {
|
|
3323
3323
|
const T = v?.startsWith(
|
|
3324
|
-
`${
|
|
3324
|
+
`${Eo.Warning}__`
|
|
3325
3325
|
);
|
|
3326
3326
|
if (!c && !T) return null;
|
|
3327
3327
|
const x = v?.replace(
|
|
3328
|
-
`${
|
|
3328
|
+
`${Eo.Warning}__`,
|
|
3329
3329
|
""
|
|
3330
3330
|
);
|
|
3331
3331
|
return /* @__PURE__ */ o(Vn, { tooltip: x, children: y || (T ? /* @__PURE__ */ o(
|
|
@@ -3366,7 +3366,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3366
3366
|
Pr,
|
|
3367
3367
|
{
|
|
3368
3368
|
containerClassName: Ee(
|
|
3369
|
-
"!h-
|
|
3369
|
+
"!h-5 !py-[1px] !pl-[7px] pr-[7px]",
|
|
3370
3370
|
u
|
|
3371
3371
|
),
|
|
3372
3372
|
id: s,
|
|
@@ -3422,7 +3422,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3422
3422
|
f
|
|
3423
3423
|
), U = !!_;
|
|
3424
3424
|
return t === We.Folder ? /* @__PURE__ */ o(
|
|
3425
|
-
|
|
3425
|
+
Oo,
|
|
3426
3426
|
{
|
|
3427
3427
|
name: e,
|
|
3428
3428
|
loading: n,
|
|
@@ -3435,7 +3435,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3435
3435
|
tooltipContent: _
|
|
3436
3436
|
}
|
|
3437
3437
|
) : /* @__PURE__ */ o(
|
|
3438
|
-
|
|
3438
|
+
Lo,
|
|
3439
3439
|
{
|
|
3440
3440
|
className: "max-w-[428px]",
|
|
3441
3441
|
...T,
|
|
@@ -3602,6 +3602,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3602
3602
|
children: /* @__PURE__ */ o(
|
|
3603
3603
|
Et,
|
|
3604
3604
|
{
|
|
3605
|
+
size: jn.Small,
|
|
3605
3606
|
className: "invisible group-hover/item:visible",
|
|
3606
3607
|
icon: /* @__PURE__ */ o(ln, { ...M })
|
|
3607
3608
|
}
|
|
@@ -3644,7 +3645,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3644
3645
|
const g = [], m = Array.from(e.values());
|
|
3645
3646
|
if (!m.length || !t)
|
|
3646
3647
|
return g;
|
|
3647
|
-
const b =
|
|
3648
|
+
const b = Zn(y), D = b ? m.some((h) => b.test(h.name)) : !1;
|
|
3648
3649
|
if (t[w.RemoveAccess] && i) {
|
|
3649
3650
|
const h = m.some(
|
|
3650
3651
|
(f) => !v?.has(f.path)
|
|
@@ -3654,7 +3655,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3654
3655
|
label: t[w.RemoveAccess],
|
|
3655
3656
|
title: t[w.RemoveAccess],
|
|
3656
3657
|
disabled: h,
|
|
3657
|
-
icon: /* @__PURE__ */ o(
|
|
3658
|
+
icon: /* @__PURE__ */ o(Ao, { size: M.size, className: "text-secondary" }),
|
|
3658
3659
|
onClick: () => {
|
|
3659
3660
|
i(m), u();
|
|
3660
3661
|
}
|
|
@@ -3690,7 +3691,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3690
3691
|
key: w.Duplicate,
|
|
3691
3692
|
label: t[w.Duplicate],
|
|
3692
3693
|
title: t[w.Duplicate],
|
|
3693
|
-
icon: /* @__PURE__ */ o(
|
|
3694
|
+
icon: /* @__PURE__ */ o(Po, { ...M, className: "text-secondary" }),
|
|
3694
3695
|
onClick: () => s(m)
|
|
3695
3696
|
}), t[w.Delete]) {
|
|
3696
3697
|
const h = m.some(
|
|
@@ -3700,7 +3701,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3700
3701
|
key: w.Delete,
|
|
3701
3702
|
label: t[w.Delete],
|
|
3702
3703
|
title: t[w.Delete],
|
|
3703
|
-
icon: /* @__PURE__ */ o(
|
|
3704
|
+
icon: /* @__PURE__ */ o(Mo, { ...M, className: "text-secondary" }),
|
|
3704
3705
|
disabled: h,
|
|
3705
3706
|
tooltip: h ? "Selected items contain item which can not be deleted" : void 0,
|
|
3706
3707
|
onClick: () => {
|
|
@@ -3713,7 +3714,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3713
3714
|
key: w.Download,
|
|
3714
3715
|
label: t[w.Download],
|
|
3715
3716
|
title: t[w.Download],
|
|
3716
|
-
icon: /* @__PURE__ */ o(
|
|
3717
|
+
icon: /* @__PURE__ */ o(ko, { ...M, className: "text-secondary" }),
|
|
3717
3718
|
onClick: () => r(m)
|
|
3718
3719
|
}), t[w.Unshare] && l) {
|
|
3719
3720
|
const h = m.some(
|
|
@@ -3898,7 +3899,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3898
3899
|
n.context.forbiddenSymbolsTooltip
|
|
3899
3900
|
);
|
|
3900
3901
|
return r === O.FOLDER ? /* @__PURE__ */ o(
|
|
3901
|
-
|
|
3902
|
+
Oo,
|
|
3902
3903
|
{
|
|
3903
3904
|
name: n.data.name,
|
|
3904
3905
|
shared: g,
|
|
@@ -3909,7 +3910,7 @@ const _s = 12, Bs = 8, Ws = ({ getSelectionLabel: e, onClearSelection: t, action
|
|
|
3909
3910
|
tooltipContent: _
|
|
3910
3911
|
}
|
|
3911
3912
|
) : /* @__PURE__ */ o(
|
|
3912
|
-
|
|
3913
|
+
Lo,
|
|
3913
3914
|
{
|
|
3914
3915
|
name: n.data.name,
|
|
3915
3916
|
shared: g,
|
|
@@ -4081,7 +4082,7 @@ const li = () => {
|
|
|
4081
4082
|
const F = [];
|
|
4082
4083
|
if (!e)
|
|
4083
4084
|
return F;
|
|
4084
|
-
const I =
|
|
4085
|
+
const I = Zn(
|
|
4085
4086
|
h
|
|
4086
4087
|
)?.test(x.name);
|
|
4087
4088
|
e[w.AddSibling] && x.nodeType === O.FOLDER && F.push({
|
|
@@ -4117,14 +4118,14 @@ const li = () => {
|
|
|
4117
4118
|
), e[w.OpenInNewTab] && typeof g == "function" && x.nodeType === O.ITEM && !I && F.push({
|
|
4118
4119
|
key: w.OpenInNewTab,
|
|
4119
4120
|
label: e[w.OpenInNewTab],
|
|
4120
|
-
icon: /* @__PURE__ */ o(
|
|
4121
|
+
icon: /* @__PURE__ */ o(Fo, { ...M, className: "text-secondary" }),
|
|
4121
4122
|
onClick: () => g?.(x)
|
|
4122
4123
|
});
|
|
4123
4124
|
const S = x.nodeType === O.ITEM || x.nodeType === O.FOLDER && D;
|
|
4124
4125
|
e[w.Duplicate] && S && !I && F.push({
|
|
4125
4126
|
key: w.Duplicate,
|
|
4126
4127
|
label: e[w.Duplicate],
|
|
4127
|
-
icon: /* @__PURE__ */ o(
|
|
4128
|
+
icon: /* @__PURE__ */ o(Po, { ...M, className: "text-secondary" }),
|
|
4128
4129
|
onClick: () => t(x)
|
|
4129
4130
|
}), e[w.Copy] && !I && F.push({
|
|
4130
4131
|
key: w.Copy,
|
|
@@ -4153,26 +4154,26 @@ const li = () => {
|
|
|
4153
4154
|
}), e[w.Download] && !I && F.push({
|
|
4154
4155
|
key: w.Download,
|
|
4155
4156
|
label: e[w.Download],
|
|
4156
|
-
icon: /* @__PURE__ */ o(
|
|
4157
|
+
icon: /* @__PURE__ */ o(ko, { ...M, className: "text-secondary" }),
|
|
4157
4158
|
onClick: () => n(x)
|
|
4158
4159
|
}), e[w.ManagePermissions] && typeof u == "function" && x.nodeType === O.FOLDER && !I && F.push({
|
|
4159
4160
|
key: w.ManagePermissions,
|
|
4160
4161
|
label: e[w.ManagePermissions],
|
|
4161
|
-
icon: /* @__PURE__ */ o(
|
|
4162
|
+
icon: /* @__PURE__ */ o(Fo, { ...M, className: "text-secondary" }),
|
|
4162
4163
|
onClick: () => u?.(x.path)
|
|
4163
4164
|
});
|
|
4164
4165
|
const A = x.name.split("."), _ = A.length > 1 ? A[A.length - 1] : "", U = _ && m?.includes(`.${_}`);
|
|
4165
4166
|
e[w.Preview] && typeof y == "function" && x.nodeType === O.ITEM && U && !I && F.push({
|
|
4166
4167
|
key: w.Preview,
|
|
4167
4168
|
label: e[w.Preview],
|
|
4168
|
-
icon: /* @__PURE__ */ o(
|
|
4169
|
+
icon: /* @__PURE__ */ o(So, { ...M, className: "text-secondary" }),
|
|
4169
4170
|
onClick: () => y?.(x.path)
|
|
4170
4171
|
});
|
|
4171
4172
|
const P = !x.permissions || x.permissions.includes(St.WRITE);
|
|
4172
4173
|
e[w.Delete] && P && F.push({
|
|
4173
4174
|
key: w.Delete,
|
|
4174
4175
|
label: e[w.Delete],
|
|
4175
|
-
icon: /* @__PURE__ */ o(
|
|
4176
|
+
icon: /* @__PURE__ */ o(Mo, { ...M, className: "text-secondary" }),
|
|
4176
4177
|
onClick: () => l(x, x.parentPath ?? "")
|
|
4177
4178
|
});
|
|
4178
4179
|
const k = x.nodeType === O.FOLDER || x.nodeType === O.ITEM && b;
|
|
@@ -4201,7 +4202,7 @@ const li = () => {
|
|
|
4201
4202
|
}), e[w.RemoveAccess] && v?.has(x.path) && C && F.push({
|
|
4202
4203
|
key: w.RemoveAccess,
|
|
4203
4204
|
label: e[w.RemoveAccess],
|
|
4204
|
-
icon: /* @__PURE__ */ o(
|
|
4205
|
+
icon: /* @__PURE__ */ o(Ao, { size: M.size, className: "text-secondary" }),
|
|
4205
4206
|
onClick: () => C(x)
|
|
4206
4207
|
}), F;
|
|
4207
4208
|
}, [
|
|
@@ -4331,13 +4332,13 @@ const li = () => {
|
|
|
4331
4332
|
getDisplayName: cn,
|
|
4332
4333
|
isDragging: st,
|
|
4333
4334
|
isDraggingOverWindow: ft,
|
|
4334
|
-
handleDragEnter:
|
|
4335
|
-
handleDragLeave:
|
|
4336
|
-
handleDragOver:
|
|
4335
|
+
handleDragEnter: Xn,
|
|
4336
|
+
handleDragLeave: qn,
|
|
4337
|
+
handleDragOver: Yn,
|
|
4337
4338
|
handleDrop: mt,
|
|
4338
4339
|
onUploadFiles: dn,
|
|
4339
4340
|
onValidateUpload: At,
|
|
4340
|
-
maxFileSize:
|
|
4341
|
+
maxFileSize: Kn,
|
|
4341
4342
|
newActions: un,
|
|
4342
4343
|
isNewButtonVisible: hn,
|
|
4343
4344
|
isNewButtonDisabled: pn,
|
|
@@ -4354,10 +4355,10 @@ const li = () => {
|
|
|
4354
4355
|
handleConflictDecideForEach: it,
|
|
4355
4356
|
uploadConflictingFiles: gn,
|
|
4356
4357
|
uploadConflictResolutionOpen: Je,
|
|
4357
|
-
handleUploadConflictReplace:
|
|
4358
|
-
handleUploadConflictDuplicate:
|
|
4359
|
-
handleUploadConflictCancel:
|
|
4360
|
-
handleUploadConflictDecideForEach:
|
|
4358
|
+
handleUploadConflictReplace: Qn,
|
|
4359
|
+
handleUploadConflictDuplicate: Jn,
|
|
4360
|
+
handleUploadConflictCancel: eo,
|
|
4361
|
+
handleUploadConflictDecideForEach: to,
|
|
4361
4362
|
openMetadataPopup: de,
|
|
4362
4363
|
fileMetadataPopupOptions: Fe,
|
|
4363
4364
|
isMetadataPopupOpen: qe,
|
|
@@ -4365,20 +4366,20 @@ const li = () => {
|
|
|
4365
4366
|
closeMetadataPopup: kt,
|
|
4366
4367
|
onUnshareFiles: et,
|
|
4367
4368
|
onRemoveFilesAccess: gt,
|
|
4368
|
-
actionsRef:
|
|
4369
|
+
actionsRef: no,
|
|
4369
4370
|
searchInProgress: vn,
|
|
4370
4371
|
isSearchMode: tt,
|
|
4371
4372
|
emptyStateIcon: lt,
|
|
4372
4373
|
emptyStateTitle: yn = "You don't have any files",
|
|
4373
4374
|
emptyStateDescription: wn = "Upload or drag and drop files",
|
|
4374
4375
|
sharedWithMeIds: vt,
|
|
4375
|
-
onFolderPopupPathChange:
|
|
4376
|
+
onFolderPopupPathChange: oo,
|
|
4376
4377
|
onManagePermissions: yt,
|
|
4377
|
-
onPreview:
|
|
4378
|
-
onOpenInNewTab:
|
|
4379
|
-
previewExtensions:
|
|
4380
|
-
isRenameFileAvailable:
|
|
4381
|
-
isDuplicateFolderAvailable:
|
|
4378
|
+
onPreview: ao,
|
|
4379
|
+
onOpenInNewTab: ro,
|
|
4380
|
+
previewExtensions: so,
|
|
4381
|
+
isRenameFileAvailable: io,
|
|
4382
|
+
isDuplicateFolderAvailable: lo,
|
|
4382
4383
|
getDisabledTooltip: Ot,
|
|
4383
4384
|
fileTooLargeTooltip: wt,
|
|
4384
4385
|
unsupportedFileTypeTooltip: Nn,
|
|
@@ -4394,35 +4395,35 @@ const li = () => {
|
|
|
4394
4395
|
containerClassName: xn = Gr,
|
|
4395
4396
|
additionalButtons: bn,
|
|
4396
4397
|
...Tn
|
|
4397
|
-
} = r ?? {}, [Nt, Rn] = z(Le), { renameTriggerView: nt, onGridRename:
|
|
4398
|
+
} = r ?? {}, [Nt, Rn] = z(Le), { renameTriggerView: nt, onGridRename: co, onTreeRename: In } = ts({ onRename: Ae }), {
|
|
4398
4399
|
createFolderTriggerView: Fn,
|
|
4399
|
-
onGridCreateSiblingFolder:
|
|
4400
|
+
onGridCreateSiblingFolder: uo,
|
|
4400
4401
|
onTreeCreateSiblingFolder: En,
|
|
4401
|
-
onGridCreateChildFolder:
|
|
4402
|
+
onGridCreateChildFolder: ho,
|
|
4402
4403
|
onTreeCreateChildFolder: Sn
|
|
4403
4404
|
} = di({
|
|
4404
4405
|
onGridAddSibling: G,
|
|
4405
4406
|
onGridAddChild: ne,
|
|
4406
4407
|
onTreeAddSibling: he,
|
|
4407
4408
|
onTreeAddChild: _e
|
|
4408
|
-
}), Bt = ce(null),
|
|
4409
|
+
}), Bt = ce(null), po = (N) => {
|
|
4409
4410
|
Bt.current === null && (Bt.current = requestAnimationFrame(() => {
|
|
4410
4411
|
Rn(N), Bt.current = null;
|
|
4411
4412
|
}));
|
|
4412
4413
|
}, {
|
|
4413
|
-
columnDefs:
|
|
4414
|
-
filterable:
|
|
4415
|
-
dateLocale:
|
|
4416
|
-
dateOptions:
|
|
4414
|
+
columnDefs: fo,
|
|
4415
|
+
filterable: mo = !0,
|
|
4416
|
+
dateLocale: Co,
|
|
4417
|
+
dateOptions: go,
|
|
4417
4418
|
selectionMode: An,
|
|
4418
4419
|
wrapCustomCellRenderers: Pn,
|
|
4419
4420
|
visibleColumns: Mn = Qr,
|
|
4420
4421
|
allowDisabledContextMenu: Dt = !1,
|
|
4421
4422
|
...ot
|
|
4422
|
-
} = p ?? {}, { containerRef:
|
|
4423
|
+
} = p ?? {}, { containerRef: vo, isBelowBreakpoint: ze } = ns(
|
|
4423
4424
|
g,
|
|
4424
4425
|
m
|
|
4425
|
-
),
|
|
4426
|
+
), yo = $(() => tt ? [
|
|
4426
4427
|
ye.Name,
|
|
4427
4428
|
ye.Path,
|
|
4428
4429
|
ye.Actions
|
|
@@ -4475,7 +4476,7 @@ const li = () => {
|
|
|
4475
4476
|
}), r.actionLabels[w.Duplicate] && !Re && !at && ie.push({
|
|
4476
4477
|
key: "duplicate",
|
|
4477
4478
|
label: r.actionLabels[w.Duplicate],
|
|
4478
|
-
icon: /* @__PURE__ */ o(
|
|
4479
|
+
icon: /* @__PURE__ */ o(Po, { ...M, className: "text-secondary" }),
|
|
4479
4480
|
onClick: () => W([N])
|
|
4480
4481
|
}), r.actionLabels[w.Copy] && !Re && !at && ie.push({
|
|
4481
4482
|
key: ge.Copy,
|
|
@@ -4508,13 +4509,13 @@ const li = () => {
|
|
|
4508
4509
|
}), r.actionLabels[w.Download] && !Re && !at && ie.push({
|
|
4509
4510
|
key: "download",
|
|
4510
4511
|
label: r.actionLabels[w.Download],
|
|
4511
|
-
icon: /* @__PURE__ */ o(
|
|
4512
|
+
icon: /* @__PURE__ */ o(ko, { ...M, className: "text-secondary" }),
|
|
4512
4513
|
onClick: () => Oe([N])
|
|
4513
4514
|
}), r.actionLabels[w.ManagePermissions] && typeof yt == "function" && N.nodeType === O.FOLDER && !Re && ie.push({
|
|
4514
4515
|
key: w.ManagePermissions,
|
|
4515
4516
|
label: r.actionLabels[w.ManagePermissions],
|
|
4516
4517
|
icon: /* @__PURE__ */ o(
|
|
4517
|
-
|
|
4518
|
+
Fo,
|
|
4518
4519
|
{
|
|
4519
4520
|
...M,
|
|
4520
4521
|
className: "text-secondary"
|
|
@@ -4524,7 +4525,7 @@ const li = () => {
|
|
|
4524
4525
|
}), r.actionLabels[w.Delete] && N.permissions?.includes(St.WRITE) && !Re && ie.push({
|
|
4525
4526
|
key: "delete",
|
|
4526
4527
|
label: r.actionLabels[w.Delete],
|
|
4527
|
-
icon: /* @__PURE__ */ o(
|
|
4528
|
+
icon: /* @__PURE__ */ o(Mo, { ...M, className: "text-secondary" }),
|
|
4528
4529
|
onClick: () => Se([N], N.parentPath ?? "")
|
|
4529
4530
|
}), r.actionLabels[w.Rename] && !Re && ie.push({
|
|
4530
4531
|
key: "rename",
|
|
@@ -4553,7 +4554,7 @@ const li = () => {
|
|
|
4553
4554
|
key: w.RemoveAccess,
|
|
4554
4555
|
label: r.actionLabels[w.RemoveAccess],
|
|
4555
4556
|
icon: /* @__PURE__ */ o(
|
|
4556
|
-
|
|
4557
|
+
Ao,
|
|
4557
4558
|
{
|
|
4558
4559
|
size: M.size,
|
|
4559
4560
|
className: "text-secondary"
|
|
@@ -4616,7 +4617,7 @@ const li = () => {
|
|
|
4616
4617
|
C?.onTabChange?.(N), Qe();
|
|
4617
4618
|
},
|
|
4618
4619
|
[C, Qe]
|
|
4619
|
-
),
|
|
4620
|
+
), wo = d(() => C && A.size === 0 ? /* @__PURE__ */ X(
|
|
4620
4621
|
"div",
|
|
4621
4622
|
{
|
|
4622
4623
|
className: aa,
|
|
@@ -4669,13 +4670,13 @@ const li = () => {
|
|
|
4669
4670
|
e
|
|
4670
4671
|
]);
|
|
4671
4672
|
mr(
|
|
4672
|
-
|
|
4673
|
+
no,
|
|
4673
4674
|
() => ({
|
|
4674
4675
|
createFolder: je
|
|
4675
4676
|
}),
|
|
4676
4677
|
[je]
|
|
4677
4678
|
);
|
|
4678
|
-
const
|
|
4679
|
+
const No = d(() => ze ? null : /* @__PURE__ */ o(
|
|
4679
4680
|
"aside",
|
|
4680
4681
|
{
|
|
4681
4682
|
role: "region",
|
|
@@ -4687,7 +4688,7 @@ const li = () => {
|
|
|
4687
4688
|
defaultWidth: Nt,
|
|
4688
4689
|
width: Nt,
|
|
4689
4690
|
onResizeStop: Rn,
|
|
4690
|
-
onResize:
|
|
4691
|
+
onResize: po,
|
|
4691
4692
|
minWidth: qr,
|
|
4692
4693
|
maxWidth: Yr,
|
|
4693
4694
|
enabled: !x,
|
|
@@ -4769,7 +4770,7 @@ const li = () => {
|
|
|
4769
4770
|
Ne([N]), fe(ge.Move);
|
|
4770
4771
|
},
|
|
4771
4772
|
onDownload: (N) => Oe([N]),
|
|
4772
|
-
onRename:
|
|
4773
|
+
onRename: co,
|
|
4773
4774
|
onDelete: (N, ee) => Se([N], ee),
|
|
4774
4775
|
onInfo: (N) => de(N),
|
|
4775
4776
|
onUnshare: (N) => et?.([N]),
|
|
@@ -4777,37 +4778,37 @@ const li = () => {
|
|
|
4777
4778
|
sharedWithMeIds: vt,
|
|
4778
4779
|
sharedByMePaths: b,
|
|
4779
4780
|
onManagePermissions: (N) => yt?.(N),
|
|
4780
|
-
onPreview: (N) =>
|
|
4781
|
-
onOpenInNewTab: (N) =>
|
|
4782
|
-
previewExtensions:
|
|
4783
|
-
isRenameFileAvailable:
|
|
4784
|
-
isDuplicateFolderAvailable:
|
|
4781
|
+
onPreview: (N) => ao?.(N),
|
|
4782
|
+
onOpenInNewTab: (N) => ro?.(N),
|
|
4783
|
+
previewExtensions: so,
|
|
4784
|
+
isRenameFileAvailable: io,
|
|
4785
|
+
isDuplicateFolderAvailable: lo,
|
|
4785
4786
|
forbiddenSymbolsRegExp: He,
|
|
4786
|
-
onGridCreateSiblingFolder:
|
|
4787
|
-
onGridCreateChildFolder:
|
|
4787
|
+
onGridCreateSiblingFolder: uo,
|
|
4788
|
+
onGridCreateChildFolder: ho
|
|
4788
4789
|
}), Vt = d(
|
|
4789
4790
|
(N) => {
|
|
4790
4791
|
const ee = Ke(s, N.path);
|
|
4791
4792
|
return ee ? Ln(ee) : [];
|
|
4792
4793
|
},
|
|
4793
4794
|
[s, Ln]
|
|
4794
|
-
),
|
|
4795
|
+
), Do = d(
|
|
4795
4796
|
(N, ee, ie) => Dt ? !1 : xt(N, ee, ie),
|
|
4796
4797
|
[Dt, xt]
|
|
4797
|
-
), { actionsColumnDef:
|
|
4798
|
+
), { actionsColumnDef: xo } = es({
|
|
4798
4799
|
getContextMenuItems: Vt,
|
|
4799
|
-
isRowDisabled:
|
|
4800
|
+
isRowDisabled: Do,
|
|
4800
4801
|
allowedFileTypes: D,
|
|
4801
4802
|
buttonClassName: ze ? "" : $r
|
|
4802
4803
|
}), { columnDefs: $t } = ii({
|
|
4803
|
-
userColumnDefs:
|
|
4804
|
-
filterable:
|
|
4805
|
-
dateLocale:
|
|
4806
|
-
dateOptions:
|
|
4807
|
-
effectiveVisibleColumns:
|
|
4804
|
+
userColumnDefs: fo,
|
|
4805
|
+
filterable: mo,
|
|
4806
|
+
dateLocale: Co,
|
|
4807
|
+
dateOptions: go,
|
|
4808
|
+
effectiveVisibleColumns: yo,
|
|
4808
4809
|
isCompactView: ze,
|
|
4809
4810
|
hasActions: !!p?.actionLabels,
|
|
4810
|
-
actionsColumnDef:
|
|
4811
|
+
actionsColumnDef: xo,
|
|
4811
4812
|
rootItemLabel: a?.label,
|
|
4812
4813
|
rootItemPath: a?.path
|
|
4813
4814
|
}), zn = d(
|
|
@@ -4903,7 +4904,7 @@ const li = () => {
|
|
|
4903
4904
|
re,
|
|
4904
4905
|
n
|
|
4905
4906
|
]
|
|
4906
|
-
),
|
|
4907
|
+
), bo = $(
|
|
4907
4908
|
() => S.length === 0 && !tt && !n ? dt() : /* @__PURE__ */ o(
|
|
4908
4909
|
Ca,
|
|
4909
4910
|
{
|
|
@@ -4950,7 +4951,7 @@ const li = () => {
|
|
|
4950
4951
|
Dt
|
|
4951
4952
|
]
|
|
4952
4953
|
);
|
|
4953
|
-
return /* @__PURE__ */ o("section", { ref:
|
|
4954
|
+
return /* @__PURE__ */ o("section", { ref: vo, className: "size-full", children: /* @__PURE__ */ X(
|
|
4954
4955
|
"div",
|
|
4955
4956
|
{
|
|
4956
4957
|
className: Ee(
|
|
@@ -4963,9 +4964,9 @@ const li = () => {
|
|
|
4963
4964
|
t
|
|
4964
4965
|
),
|
|
4965
4966
|
children: [
|
|
4966
|
-
|
|
4967
|
+
wo(),
|
|
4967
4968
|
/* @__PURE__ */ X("div", { className: Ee(Hr, Lt), children: [
|
|
4968
|
-
|
|
4969
|
+
No(),
|
|
4969
4970
|
/* @__PURE__ */ X(
|
|
4970
4971
|
"div",
|
|
4971
4972
|
{
|
|
@@ -4994,12 +4995,12 @@ const li = () => {
|
|
|
4994
4995
|
role: "region",
|
|
4995
4996
|
"aria-label": "File Manager Grid View",
|
|
4996
4997
|
className: Ee(Vr, "relative"),
|
|
4997
|
-
onDragEnter:
|
|
4998
|
-
onDragLeave:
|
|
4999
|
-
onDragOver:
|
|
4998
|
+
onDragEnter: Xn,
|
|
4999
|
+
onDragLeave: qn,
|
|
5000
|
+
onDragOver: Yn,
|
|
5000
5001
|
onDrop: mt,
|
|
5001
5002
|
children: [
|
|
5002
|
-
|
|
5003
|
+
bo,
|
|
5003
5004
|
/* @__PURE__ */ o(
|
|
5004
5005
|
Os,
|
|
5005
5006
|
{
|
|
@@ -5049,14 +5050,14 @@ const li = () => {
|
|
|
5049
5050
|
},
|
|
5050
5051
|
onUploadFiles: dn,
|
|
5051
5052
|
onValidateUpload: At,
|
|
5052
|
-
maxFileSize:
|
|
5053
|
+
maxFileSize: Kn,
|
|
5053
5054
|
path: u?.destinationFolderPath ?? u?.sourceFolder ?? I,
|
|
5054
5055
|
onPathChange: (N) => {
|
|
5055
5056
|
u?.setDestinationFolderPath?.(N);
|
|
5056
5057
|
},
|
|
5057
5058
|
sourceFolder: u?.sourceFolder ?? I,
|
|
5058
5059
|
treeOptions: { header: r?.header },
|
|
5059
|
-
onFolderPopupPathChange:
|
|
5060
|
+
onFolderPopupPathChange: oo,
|
|
5060
5061
|
showHiddenFileSwitcher: le,
|
|
5061
5062
|
showCreateFolderButton: Dn,
|
|
5062
5063
|
hideSearchPathItemName: _t
|
|
@@ -5079,10 +5080,10 @@ const li = () => {
|
|
|
5079
5080
|
{
|
|
5080
5081
|
...y,
|
|
5081
5082
|
open: Je,
|
|
5082
|
-
onClose:
|
|
5083
|
-
onReplace:
|
|
5084
|
-
onDuplicate:
|
|
5085
|
-
onDecideForEach:
|
|
5083
|
+
onClose: eo,
|
|
5084
|
+
onReplace: Qn,
|
|
5085
|
+
onDuplicate: Jn,
|
|
5086
|
+
onDecideForEach: to,
|
|
5086
5087
|
conflictingFiles: gn
|
|
5087
5088
|
}
|
|
5088
5089
|
),
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-bottom-0\.5{bottom:-.125rem}.-left-0\.5{left:-.125rem}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-0{z-index:0}.z-\[-1\]{z-index:-1}.my-2{margin-top:.5rem}.mb-2,.my-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-\[2px\]{margin-bottom:2px}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.size-\[400px\]{width:400px;height:400px}.size-full{width:100%;height:100%}.\!h-10{height:2.5rem!important}.\!h-6{height:1.5rem!important}.\!h-9{height:2.25rem!important}.\!h-\[600px\]{height:600px!important}.h-6{height:1.5rem}.h-\[100px\]{height:100px}.h-\[26px\]{height:26px}.h-\[38px\]{height:38px}.h-\[640px\]{height:640px}.h-\[740px\]{height:740px}.h-full{height:100%}.min-h-0{min-height:0}.min-h-\[248px\]{min-height:248px}.w-\[1000px\]{width:1000px}.w-\[260px\]{width:260px}.w-\[40px\]{width:40px}.w-\[600px\]{width:600px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.max-w-\[300px\]{max-width:300px}.max-w-\[428px\]{max-width:428px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-\[2px\]{gap:2px}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*var(--tw-space-x-reverse));margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded,.rounded-\[4px\]{border-radius:4px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-info{border-color:var(--stroke-info,#124ace)}.border-primary{border-color:var(--stroke-primary,#6b7280)}.border-tertiary{border-color:var(--stroke-tertiary,#e0e6f0)}.border-l-transparent{border-left-color:transparent}.\!bg-layer-sunken{background-color:var(--bg-layer-sunken,#eef1f7)!important}.bg-accent-primary-alpha{background-color:var(--bg-accent-primary-alpha,#7da4ff26)}.bg-controls-disable-accent{background-color:var(--controls-bg-disable-accent,#7c8293)}.bg-layer-1{background-color:var(--bg-layer-1,#e0e6f0)}.bg-layer-4{background-color:var(--bg-layer-4,#d1dbea)}.bg-layer-raised{background-color:var(--bg-layer-raised,#fcfcfc)}.bg-layer-sunken{background-color:var(--bg-layer-sunken,#eef1f7)}.bg-transparent{background-color:transparent}.\!p-\[9px\]{padding:9px!important}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.pl-1{padding-left:.25rem}.pl-2\.5{padding-left:.625rem}.pl-6{padding-left:1.5rem}.pl-\[7px\]{padding-left:7px}.pr-\[7px\]{padding-right:7px}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.\!text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem;line-height:1.25rem}.italic{font-style:italic}.text-accent{color:var(--text-accent,#1d4ed8)}.text-accent-secondary{color:var(--text-accent-secondary,#37babc)}.text-accent-tertiary{color:var(--text-accent-tertiary,#a972ff)}.text-error{color:var(--text-error,#ae2f2f)}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#6b7280)}.text-transparent{color:transparent}.text-warning-icon{color:var(--text-warning-icon,#eec840)}.opacity-0{opacity:0}.shadow-md{--tw-shadow:0 6px 24px 0 var(--shadow-grey-1000,#161b2d08),0 6px 16px 0 var(--shadow-blue-500,#2764d924);--tw-shadow-colored:0 6px 24px 0 var(--tw-shadow-color),0 6px 16px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:bg-accent-primary-alpha:hover{background-color:var(--bg-accent-primary-alpha,#7da4ff26)}.group\/grid-row:hover .group-hover\/grid-row\:pointer-events-auto{pointer-events:auto}.group\/item:hover .group-hover\/item\:visible{visibility:visible}.group\/grid-row:hover .group-hover\/grid-row\:bg-accent-primary-alpha,.group\/item:hover .group-hover\/item\:bg-accent-primary-alpha{background-color:var(--bg-accent-primary-alpha,#7da4ff26)}.group\/grid-row:hover .group-hover\/grid-row\:opacity-100{opacity:1}@media (min-width:640px){.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:768px){.md\:\!h-\[800px\]{height:800px!important}.md\:min-h-\[266px\]{min-height:266px}.md\:max-w-\[400px\]{max-width:400px}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}}
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-bottom-0\.5{bottom:-.125rem}.-left-0\.5{left:-.125rem}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-0{z-index:0}.z-\[-1\]{z-index:-1}.my-2{margin-top:.5rem}.mb-2,.my-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-\[2px\]{margin-bottom:2px}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.size-\[400px\]{width:400px;height:400px}.size-full{width:100%;height:100%}.\!h-10{height:2.5rem!important}.\!h-5{height:1.25rem!important}.\!h-9{height:2.25rem!important}.\!h-\[600px\]{height:600px!important}.h-6{height:1.5rem}.h-\[100px\]{height:100px}.h-\[26px\]{height:26px}.h-\[38px\]{height:38px}.h-\[600px\]{height:600px}.h-\[640px\]{height:640px}.h-\[740px\]{height:740px}.h-full{height:100%}.min-h-0{min-height:0}.min-h-\[248px\]{min-height:248px}.w-\[1000px\]{width:1000px}.w-\[260px\]{width:260px}.w-\[40px\]{width:40px}.w-\[600px\]{width:600px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.max-w-\[300px\]{max-width:300px}.max-w-\[428px\]{max-width:428px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-\[2px\]{gap:2px}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*var(--tw-space-x-reverse));margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded,.rounded-\[4px\]{border-radius:4px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-info{border-color:var(--stroke-info,#124ace)}.border-primary{border-color:var(--stroke-primary,#6b7280)}.border-tertiary{border-color:var(--stroke-tertiary,#e0e6f0)}.border-l-transparent{border-left-color:transparent}.\!bg-layer-sunken{background-color:var(--bg-layer-sunken,#eef1f7)!important}.bg-accent-primary-alpha{background-color:var(--bg-accent-primary-alpha,#7da4ff26)}.bg-controls-disable-accent{background-color:var(--controls-bg-disable-accent,#7c8293)}.bg-layer-1{background-color:var(--bg-layer-1,#e0e6f0)}.bg-layer-4{background-color:var(--bg-layer-4,#d1dbea)}.bg-layer-raised{background-color:var(--bg-layer-raised,#fcfcfc)}.bg-layer-sunken{background-color:var(--bg-layer-sunken,#eef1f7)}.bg-transparent{background-color:transparent}.\!p-\[9px\]{padding:9px!important}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.\!py-\[1px\]{padding-top:1px!important;padding-bottom:1px!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.\!pl-\[7px\]{padding-left:7px!important}.pl-1{padding-left:.25rem}.pl-2\.5{padding-left:.625rem}.pl-6{padding-left:1.5rem}.pr-\[7px\]{padding-right:7px}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.\!text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem;line-height:1.25rem}.italic{font-style:italic}.text-accent{color:var(--text-accent,#1d4ed8)}.text-accent-secondary{color:var(--text-accent-secondary,#37babc)}.text-accent-tertiary{color:var(--text-accent-tertiary,#a972ff)}.text-error{color:var(--text-error,#ae2f2f)}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#6b7280)}.text-transparent{color:transparent}.text-warning-icon{color:var(--text-warning-icon,#eec840)}.opacity-0{opacity:0}.shadow-md{--tw-shadow:0 6px 24px 0 var(--shadow-grey-1000,#161b2d08),0 6px 16px 0 var(--shadow-blue-500,#2764d924);--tw-shadow-colored:0 6px 24px 0 var(--tw-shadow-color),0 6px 16px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:bg-accent-primary-alpha:hover{background-color:var(--bg-accent-primary-alpha,#7da4ff26)}.group\/grid-row:hover .group-hover\/grid-row\:pointer-events-auto{pointer-events:auto}.group\/item:hover .group-hover\/item\:visible{visibility:visible}.group\/grid-row:hover .group-hover\/grid-row\:bg-accent-primary-alpha,.group\/item:hover .group-hover\/item\:bg-accent-primary-alpha{background-color:var(--bg-accent-primary-alpha,#7da4ff26)}.group\/grid-row:hover .group-hover\/grid-row\:opacity-100{opacity:1}@media (min-width:640px){.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:768px){.md\:\!h-\[800px\]{height:800px!important}.md\:min-h-\[266px\]{min-height:266px}.md\:max-w-\[400px\]{max-width:400px}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-react-file-manager",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "React file manager package for AI DIAL interfaces",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"mime-types": "^3.0.2"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@epam/ai-dial-ui-kit": "^0.13.0-dev.
|
|
84
|
+
"@epam/ai-dial-ui-kit": "^0.13.0-dev.51",
|
|
85
85
|
"@tabler/icons-react": "^3.41.1",
|
|
86
86
|
"ag-grid-community": "^35.2.1",
|
|
87
87
|
"ag-grid-react": "^35.2.1",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"react-dom": "^19.2.5"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@epam/ai-dial-ui-kit": "^0.13.0-dev.
|
|
92
|
+
"@epam/ai-dial-ui-kit": "^0.13.0-dev.51",
|
|
93
93
|
"@floating-ui/react": "^0.27.19",
|
|
94
94
|
"@chromatic-com/storybook": "^5.1.2",
|
|
95
95
|
"@eslint/js": "^9.39.2",
|