@burdenoff/microfe-files 2026.1119.2 → 2026.1123.1
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/files/FilesRoutes.js +27 -21
- package/dist/files/FilesRoutes.js.map +1 -1
- package/dist/files/components/CopyDialog.js +12 -12
- package/dist/files/components/EmptyState.js +6 -6
- package/dist/files/components/EmptyState.js.map +1 -1
- package/dist/files/components/FileBrowser.js +4 -4
- package/dist/files/components/FileBrowser.js.map +1 -1
- package/dist/files/components/FileCard.js +4 -4
- package/dist/files/components/FileCard.js.map +1 -1
- package/dist/files/components/FileInfoPanel.js +18 -18
- package/dist/files/components/FileVersionPanel.js +7 -5
- package/dist/files/components/FileVersionPanel.js.map +1 -1
- package/dist/files/components/FolderCard.js +4 -4
- package/dist/files/components/FolderCard.js.map +1 -1
- package/dist/files/components/MoveDialog.js +10 -10
- package/dist/files/components/SearchBar.js +7 -7
- package/dist/files/components/ShareAccessParts.js +15 -15
- package/dist/files/components/ShareDialog.js +27 -27
- package/dist/files/components/SharedFolderView.js +9 -9
- package/dist/files/components/ToolbarMoreMenu.js +9 -9
- package/dist/files/components/UploadQueue.js +30 -30
- package/dist/files/components/UploadVisibilitySelect.js +4 -4
- package/dist/files/hooks/useCreateFolderShare.d.ts +2 -0
- package/dist/files/hooks/useCreateFolderShare.js +1 -1
- package/dist/files/hooks/useCreateFolderShare.js.map +1 -1
- package/dist/files/hooks/useCreateShare.d.ts +2 -0
- package/dist/files/hooks/useCreateShare.js +1 -1
- package/dist/files/hooks/useCreateShare.js.map +1 -1
- package/dist/files/pages/BrowserPage.js +24 -23
- package/dist/files/pages/BrowserPage.js.map +1 -1
- package/dist/files/pages/ShareAccessPage.js +4 -4
- package/dist/files/pages/ShareAccessPage.js.map +1 -1
- package/dist/files/types.d.ts +22 -0
- package/dist/files/utils/fileKind.d.ts +6 -0
- package/dist/files/utils/fileKind.js +49 -10
- package/dist/files/utils/fileKind.js.map +1 -1
- package/dist/files/v2/DialogShell.d.ts +28 -0
- package/dist/files/v2/DialogShell.js +47 -0
- package/dist/files/v2/DialogShell.js.map +1 -0
- package/dist/files/v2/FilesDialogs.d.ts +35 -0
- package/dist/files/v2/FilesDialogs.js +104 -0
- package/dist/files/v2/FilesDialogs.js.map +1 -0
- package/dist/files/v2/FilesListParts.d.ts +45 -0
- package/dist/files/v2/FilesListParts.js +344 -0
- package/dist/files/v2/FilesListParts.js.map +1 -0
- package/dist/files/v2/FilesPage.d.ts +15 -0
- package/dist/files/v2/FilesPage.js +340 -0
- package/dist/files/v2/FilesPage.js.map +1 -0
- package/dist/files/v2/FilesPageParts.d.ts +41 -0
- package/dist/files/v2/FilesPageParts.js +147 -0
- package/dist/files/v2/FilesPageParts.js.map +1 -0
- package/dist/files/v2/FilesV2Routes.d.ts +8 -0
- package/dist/files/v2/FilesV2Routes.js +41 -0
- package/dist/files/v2/FilesV2Routes.js.map +1 -0
- package/dist/files/v2/ShareDialogV2.d.ts +10 -0
- package/dist/files/v2/ShareDialogV2.js +401 -0
- package/dist/files/v2/ShareDialogV2.js.map +1 -0
- package/dist/files/v2/UploadDialog.d.ts +14 -0
- package/dist/files/v2/UploadDialog.js +171 -0
- package/dist/files/v2/UploadDialog.js.map +1 -0
- package/dist/files/v2/filesModel.d.ts +164 -0
- package/dist/files/v2/filesModel.js +247 -0
- package/dist/files/v2/filesModel.js.map +1 -0
- package/dist/files/v2/uploadLine.d.ts +36 -0
- package/dist/files/v2/uploadLine.js +33 -0
- package/dist/files/v2/uploadLine.js.map +1 -0
- package/dist/files/v2/useFilesPage.d.ts +28 -0
- package/dist/files/v2/useFilesPage.js +118 -0
- package/dist/files/v2/useFilesPage.js.map +1 -0
- package/dist/files/v2/useFilesV2Actions.d.ts +24 -0
- package/dist/files/v2/useFilesV2Actions.js +243 -0
- package/dist/files/v2/useFilesV2Actions.js.map +1 -0
- package/dist/files/v2/useFilesV2List.d.ts +24 -0
- package/dist/files/v2/useFilesV2List.js +159 -0
- package/dist/files/v2/useFilesV2List.js.map +1 -0
- package/dist/files/v2/useFilesV2Uploads.d.ts +87 -0
- package/dist/files/v2/useFilesV2Uploads.js +279 -0
- package/dist/files/v2/useFilesV2Uploads.js.map +1 -0
- package/dist/files/v2/useNow.d.ts +6 -0
- package/dist/files/v2/useNow.js +13 -0
- package/dist/files/v2/useNow.js.map +1 -0
- package/dist/files/v2/useShareV2.d.ts +39 -0
- package/dist/files/v2/useShareV2.js +89 -0
- package/dist/files/v2/useShareV2.js.map +1 -0
- package/dist/files/v2/whoCanSee.d.ts +9 -0
- package/dist/files/v2/whoCanSee.js +48 -0
- package/dist/files/v2/whoCanSee.js.map +1 -0
- package/dist/generated/global-types.d.ts +450 -6
- package/dist/generated/wspace-operations.d.ts +249 -0
- package/dist/generated/wspace-operations.js +4631 -1
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +6866 -105
- package/dist/generated/wspace-types.js +9 -3
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/translations/en.d.ts +277 -0
- package/dist/translations/en.js +265 -0
- package/dist/translations/en.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,8 +3,8 @@ import { tWithFallback as r } from "../utils/i18n.js";
|
|
|
3
3
|
import { useCallback as i, useEffect as a, useEffectEvent as o, useState as s } from "react";
|
|
4
4
|
import { Filter as c, Search as l, X as u } from "lucide-react";
|
|
5
5
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { OptionalFields as m, ThemedSelect as h } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
import { useI18n as g } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
8
8
|
// src/files/components/SearchBar.tsx
|
|
9
9
|
var _ = {
|
|
10
10
|
image: [
|
|
@@ -40,7 +40,7 @@ var _ = {
|
|
|
40
40
|
]
|
|
41
41
|
};
|
|
42
42
|
function v({ onSearch: v, placeholder: y = "Search files and folders...", initialQuery: b = "", showFilters: x = !0, navigationV2: S = !1 }) {
|
|
43
|
-
let { t: C } =
|
|
43
|
+
let { t: C } = g(), [w, T] = s(b), [E, D] = s(!1), [O, k] = s({}), A = O.status, j = Object.values(n).find((e) => String(e) === O.status), M = O.visibility, N = O.fileType ? _[O.fileType] : void 0;
|
|
44
44
|
a(() => {
|
|
45
45
|
T(b);
|
|
46
46
|
}, [b]);
|
|
@@ -79,7 +79,7 @@ function v({ onSearch: v, placeholder: y = "Search files and folders...", initia
|
|
|
79
79
|
}, [v]), I = Object.values(O).filter((e) => e !== void 0).length, L = /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
80
80
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
81
81
|
children: r(C, "files.search.filters.status.label", "Status")
|
|
82
|
-
}), /* @__PURE__ */ p(
|
|
82
|
+
}), /* @__PURE__ */ p(h, {
|
|
83
83
|
value: O.status || "",
|
|
84
84
|
onChange: (t) => k({
|
|
85
85
|
...O,
|
|
@@ -108,7 +108,7 @@ function v({ onSearch: v, placeholder: y = "Search files and folders...", initia
|
|
|
108
108
|
})] }), R = /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
109
109
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
110
110
|
children: r(C, "files.search.filters.visibility.label", "Visibility")
|
|
111
|
-
}), /* @__PURE__ */ p(
|
|
111
|
+
}), /* @__PURE__ */ p(h, {
|
|
112
112
|
value: O.visibility || "",
|
|
113
113
|
onChange: (e) => k({
|
|
114
114
|
...O,
|
|
@@ -192,7 +192,7 @@ function v({ onSearch: v, placeholder: y = "Search files and folders...", initia
|
|
|
192
192
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
193
193
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
194
194
|
children: r(C, "files.search.filters.fileType.label", "File Type")
|
|
195
|
-
}), /* @__PURE__ */ p(
|
|
195
|
+
}), /* @__PURE__ */ p(h, {
|
|
196
196
|
value: O.fileType || "",
|
|
197
197
|
onChange: (e) => k({
|
|
198
198
|
...O,
|
|
@@ -227,7 +227,7 @@ function v({ onSearch: v, placeholder: y = "Search files and folders...", initia
|
|
|
227
227
|
})
|
|
228
228
|
]
|
|
229
229
|
})] }),
|
|
230
|
-
S ? /* @__PURE__ */ p(
|
|
230
|
+
S ? /* @__PURE__ */ p(m, {
|
|
231
231
|
storageKey: "files.searchFilters",
|
|
232
232
|
label: z > 0 ? r(C, "files.search.filters.moreWithCount", "More filters ({{count}})", { count: z }) : r(C, "files.search.filters.more", "More filters"),
|
|
233
233
|
children: [L, R]
|
|
@@ -3,32 +3,32 @@ import { formatFileSize as t } from "../utils/index.js";
|
|
|
3
3
|
import { SharedFolderView as n } from "./SharedFolderView.js";
|
|
4
4
|
import { Download as r, Eye as i, FileText as a, Loader2 as o, Lock as s } from "lucide-react";
|
|
5
5
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { Button as u, PagePurpose as d, ShowTechnicalDetails as f } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
import { useI18n as p } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
8
8
|
// src/files/components/ShareAccessParts.tsx
|
|
9
9
|
function m({ isFolder: t }) {
|
|
10
|
-
let { t: n } =
|
|
10
|
+
let { t: n } = p();
|
|
11
11
|
return /* @__PURE__ */ l("div", {
|
|
12
12
|
className: "mb-6",
|
|
13
13
|
children: [/* @__PURE__ */ c("h1", {
|
|
14
14
|
className: "text-xl font-semibold text-text-primary",
|
|
15
15
|
children: t ? e(n, "files.share.folder.title", "Shared folder") : e(n, "files.share.title", "Shared file access")
|
|
16
|
-
}), /* @__PURE__ */ c(
|
|
16
|
+
}), /* @__PURE__ */ c(d, {
|
|
17
17
|
className: "mt-2",
|
|
18
18
|
children: t ? e(n, "files.share.folder.subtitle", "Someone shared a folder with you via a link. Preview and download its files here — if the link is password-protected, enter the password the sender gave you to unlock it.") : e(n, "files.share.subtitle", "Someone shared a file with you via a link. Preview and download it here — if the link is password-protected, enter the password the sender gave you to unlock it.")
|
|
19
19
|
})]
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
function h() {
|
|
23
|
-
let { t } =
|
|
23
|
+
let { t } = p();
|
|
24
24
|
return /* @__PURE__ */ l("div", {
|
|
25
25
|
role: "status",
|
|
26
26
|
className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-sunken px-4 py-3 text-sm text-text-secondary",
|
|
27
27
|
children: [/* @__PURE__ */ c(o, { className: "size-4 animate-spin text-action-primary-bg" }), e(t, "files.share.verifying", "Verifying share access…")]
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
function g({ file: n, canDownload: o, onPreview: s, onDownload:
|
|
31
|
-
let { t:
|
|
30
|
+
function g({ file: n, canDownload: o, onPreview: s, onDownload: d }) {
|
|
31
|
+
let { t: f } = p();
|
|
32
32
|
return /* @__PURE__ */ l("div", {
|
|
33
33
|
className: "space-y-4",
|
|
34
34
|
children: [/* @__PURE__ */ l("div", {
|
|
@@ -45,23 +45,23 @@ function g({ file: n, canDownload: o, onPreview: s, onDownload: f }) {
|
|
|
45
45
|
})]
|
|
46
46
|
}), /* @__PURE__ */ l("div", {
|
|
47
47
|
className: "flex flex-col gap-2 sm:flex-row",
|
|
48
|
-
children: [/* @__PURE__ */ l(
|
|
48
|
+
children: [/* @__PURE__ */ l(u, {
|
|
49
49
|
type: "button",
|
|
50
50
|
variant: "outline",
|
|
51
51
|
className: "flex-1",
|
|
52
52
|
onClick: s,
|
|
53
|
-
children: [/* @__PURE__ */ c(i, { className: "size-4" }), e(
|
|
54
|
-
}), o && /* @__PURE__ */ l(
|
|
53
|
+
children: [/* @__PURE__ */ c(i, { className: "size-4" }), e(f, "files.share.openPreview", "Open preview")]
|
|
54
|
+
}), o && /* @__PURE__ */ l(u, {
|
|
55
55
|
type: "button",
|
|
56
56
|
className: "flex-1",
|
|
57
|
-
onClick:
|
|
58
|
-
children: [/* @__PURE__ */ c(r, { className: "size-4" }), e(
|
|
57
|
+
onClick: d,
|
|
58
|
+
children: [/* @__PURE__ */ c(r, { className: "size-4" }), e(f, "files.share.download", "Download")]
|
|
59
59
|
})]
|
|
60
60
|
})]
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
function _({ isFolder: t, invalid: n, password: r, onPasswordChange: i, onSubmit: a }) {
|
|
64
|
-
let { t: o } =
|
|
64
|
+
let { t: o } = p();
|
|
65
65
|
return /* @__PURE__ */ l("form", {
|
|
66
66
|
className: "space-y-4",
|
|
67
67
|
onSubmit: a,
|
|
@@ -95,7 +95,7 @@ function _({ isFolder: t, invalid: n, password: r, onPasswordChange: i, onSubmit
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
function v({ unavailable: t, technicalDetails: n = null, onRetry: r }) {
|
|
98
|
-
let { t: i } =
|
|
98
|
+
let { t: i } = p();
|
|
99
99
|
return /* @__PURE__ */ l("div", {
|
|
100
100
|
className: "space-y-4",
|
|
101
101
|
children: [
|
|
@@ -104,7 +104,7 @@ function v({ unavailable: t, technicalDetails: n = null, onRetry: r }) {
|
|
|
104
104
|
className: "rounded-lg border border-status-error-border bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
105
105
|
children: e(i, "files.share.errors.unavailable", "This link has expired or is no longer available.")
|
|
106
106
|
}),
|
|
107
|
-
t && n && /* @__PURE__ */ c(
|
|
107
|
+
t && n && /* @__PURE__ */ c(f, {
|
|
108
108
|
copyable: !0,
|
|
109
109
|
children: n
|
|
110
110
|
}),
|
|
@@ -5,24 +5,24 @@ import { classifyShareRefusal as i, shareDenialCopy as a, sharePermissionMessage
|
|
|
5
5
|
import { useEffect as s, useState as c } from "react";
|
|
6
6
|
import { Calendar as l, Check as u, Copy as d, Download as f, Link as p, Loader2 as m, Lock as h, Mail as g, ShieldAlert as _ } from "lucide-react";
|
|
7
7
|
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { Button as x, OptionalFields as S, ResponsiveDialog as C, ResponsiveDialogContent as w, ResponsiveDialogDescription as T, ResponsiveDialogFooter as E, ResponsiveDialogHeader as D, ResponsiveDialogTitle as O, ThemedSelect as k } from "@burdenoff/fe-libs/ui";
|
|
9
|
+
import { useI18n as A } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
10
10
|
// src/files/components/ShareDialog.tsx
|
|
11
11
|
function j({ item: t, itemType: n, onClose: i, onCreateShare: a, isLoading: o, knownPermission: s, navigationV2: l = !1 }) {
|
|
12
|
-
let { t: u } =
|
|
12
|
+
let { t: u } = A(), [d, f] = c(null), { permission: p, denialCause: m, recordRefusal: h } = r({
|
|
13
13
|
item: t,
|
|
14
14
|
itemType: n,
|
|
15
15
|
knownPermission: s
|
|
16
16
|
}), g = e(u, n === "folder" ? "files.shareDialog.itemType.folder" : "files.shareDialog.itemType.file", n === "folder" ? "folder" : "file");
|
|
17
|
-
return /* @__PURE__ */ y(
|
|
17
|
+
return /* @__PURE__ */ y(C, {
|
|
18
18
|
open: !0,
|
|
19
19
|
onOpenChange: (e) => {
|
|
20
20
|
e || i();
|
|
21
21
|
},
|
|
22
|
-
children: /* @__PURE__ */ b(
|
|
22
|
+
children: /* @__PURE__ */ b(w, { children: [/* @__PURE__ */ b(D, { children: [/* @__PURE__ */ y(O, { children: e(u, "files.shareDialog.title", "Share {{itemType}} \"{{name}}\"", {
|
|
23
23
|
itemType: g,
|
|
24
24
|
name: t.name
|
|
25
|
-
}) }), l && d === null && /* @__PURE__ */ y(
|
|
25
|
+
}) }), l && d === null && /* @__PURE__ */ y(T, { children: e(u, "files.shareDialog.reach", "Anyone with the link can view and download until it expires.") })] }), /* @__PURE__ */ y(M, {
|
|
26
26
|
item: t,
|
|
27
27
|
itemType: n,
|
|
28
28
|
itemTypeLabel: g,
|
|
@@ -58,7 +58,7 @@ function M({ item: e, itemType: t, itemTypeLabel: n, permission: r, denialCause:
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
function N({ cause: t, itemTypeLabel: n, onClose: r }) {
|
|
61
|
-
let { t: i } =
|
|
61
|
+
let { t: i } = A(), o = a(i, t, n);
|
|
62
62
|
return /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ b("div", {
|
|
63
63
|
role: "alert",
|
|
64
64
|
className: "flex items-start gap-3 rounded-lg border border-status-warning-border bg-status-warning-bg-subtle px-4 py-3",
|
|
@@ -72,20 +72,20 @@ function N({ cause: t, itemTypeLabel: n, onClose: r }) {
|
|
|
72
72
|
children: o.description
|
|
73
73
|
})]
|
|
74
74
|
})]
|
|
75
|
-
}), /* @__PURE__ */ y(
|
|
75
|
+
}), /* @__PURE__ */ y(E, { children: /* @__PURE__ */ y(x, {
|
|
76
76
|
type: "button",
|
|
77
77
|
onClick: r,
|
|
78
78
|
children: e(i, "files.common.actions.close", "Close")
|
|
79
79
|
}) })] });
|
|
80
80
|
}
|
|
81
81
|
function P({ onClose: t }) {
|
|
82
|
-
let { t: n } =
|
|
82
|
+
let { t: n } = A();
|
|
83
83
|
return /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ b("div", {
|
|
84
84
|
role: "status",
|
|
85
85
|
"aria-live": "polite",
|
|
86
86
|
className: "flex items-center gap-3 py-6 text-sm text-text-secondary",
|
|
87
87
|
children: [/* @__PURE__ */ y(m, { className: "size-4 animate-spin" }), o(n).checking]
|
|
88
|
-
}), /* @__PURE__ */ y(
|
|
88
|
+
}), /* @__PURE__ */ y(E, { children: /* @__PURE__ */ y(x, {
|
|
89
89
|
type: "button",
|
|
90
90
|
variant: "outline",
|
|
91
91
|
onClick: t,
|
|
@@ -96,7 +96,7 @@ function F(t, n) {
|
|
|
96
96
|
return n instanceof Error ? n.message : e(t, "files.shareDialog.errors.createFailed", "Failed to create share");
|
|
97
97
|
}
|
|
98
98
|
function I({ item: r, itemType: a, isLoading: o, onClose: s, onCreateShare: l, onCreated: u, onRefused: d, navigationV2: f }) {
|
|
99
|
-
let { t: p } =
|
|
99
|
+
let { t: p } = A(), [m, h] = c(t), [g, _] = c(null), S = (e) => h((t) => ({
|
|
100
100
|
...t,
|
|
101
101
|
...e
|
|
102
102
|
}));
|
|
@@ -110,25 +110,25 @@ function I({ item: r, itemType: a, isLoading: o, onClose: s, onCreateShare: l, o
|
|
|
110
110
|
children: [
|
|
111
111
|
/* @__PURE__ */ y(z, {
|
|
112
112
|
value: m.expiryDays,
|
|
113
|
-
onChange: (e) =>
|
|
113
|
+
onChange: (e) => S({ expiryDays: e })
|
|
114
114
|
}),
|
|
115
115
|
/* @__PURE__ */ y(B, {
|
|
116
116
|
value: m.invitedEmail,
|
|
117
|
-
onChange: (e) =>
|
|
117
|
+
onChange: (e) => S({ invitedEmail: e })
|
|
118
118
|
}),
|
|
119
119
|
/* @__PURE__ */ y(V, {
|
|
120
120
|
values: m,
|
|
121
|
-
onChange:
|
|
121
|
+
onChange: S,
|
|
122
122
|
navigationV2: f
|
|
123
123
|
})
|
|
124
124
|
]
|
|
125
125
|
}),
|
|
126
|
-
/* @__PURE__ */ b(
|
|
126
|
+
/* @__PURE__ */ b(E, { children: [/* @__PURE__ */ y(x, {
|
|
127
127
|
type: "button",
|
|
128
128
|
variant: "outline",
|
|
129
129
|
onClick: s,
|
|
130
130
|
children: e(p, "files.common.actions.cancel", "Cancel")
|
|
131
|
-
}), /* @__PURE__ */ y(
|
|
131
|
+
}), /* @__PURE__ */ y(x, {
|
|
132
132
|
type: "button",
|
|
133
133
|
onClick: async () => {
|
|
134
134
|
_(null);
|
|
@@ -155,7 +155,7 @@ function I({ item: r, itemType: a, isLoading: o, onClose: s, onCreateShare: l, o
|
|
|
155
155
|
] });
|
|
156
156
|
}
|
|
157
157
|
function L({ isLoading: t }) {
|
|
158
|
-
let { t: n } =
|
|
158
|
+
let { t: n } = A();
|
|
159
159
|
return t ? /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(m, { className: "size-4 animate-spin" }), e(n, "files.shareDialog.actions.creating", "Creating...")] }) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(p, { className: "size-4" }), e(n, "files.shareDialog.actions.createLink", "Create share link")] });
|
|
160
160
|
}
|
|
161
161
|
var R = [
|
|
@@ -186,12 +186,12 @@ var R = [
|
|
|
186
186
|
}
|
|
187
187
|
];
|
|
188
188
|
function z({ value: t, onChange: n }) {
|
|
189
|
-
let { t: r } =
|
|
189
|
+
let { t: r } = A(), i = e(r, "files.shareDialog.expiry.label", "Link expires in");
|
|
190
190
|
return /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
191
191
|
htmlFor: "share-dialog-expiry-select",
|
|
192
192
|
className: "flex items-center gap-2 text-sm font-medium text-text-primary mb-2",
|
|
193
193
|
children: [/* @__PURE__ */ y(l, { className: "size-4" }), i]
|
|
194
|
-
}), /* @__PURE__ */ y(
|
|
194
|
+
}), /* @__PURE__ */ y(k, {
|
|
195
195
|
id: "share-dialog-expiry-select",
|
|
196
196
|
"aria-label": i,
|
|
197
197
|
value: t,
|
|
@@ -204,7 +204,7 @@ function z({ value: t, onChange: n }) {
|
|
|
204
204
|
})] });
|
|
205
205
|
}
|
|
206
206
|
function B({ value: t, onChange: n }) {
|
|
207
|
-
let { t: r } =
|
|
207
|
+
let { t: r } = A(), i = e(r, "files.shareDialog.invite.label", "Invite specific person (optional)");
|
|
208
208
|
return /* @__PURE__ */ b("div", { children: [
|
|
209
209
|
/* @__PURE__ */ b("label", {
|
|
210
210
|
htmlFor: "share-dialog-invite-email",
|
|
@@ -227,8 +227,8 @@ function B({ value: t, onChange: n }) {
|
|
|
227
227
|
] });
|
|
228
228
|
}
|
|
229
229
|
function V({ values: t, onChange: n, navigationV2: r }) {
|
|
230
|
-
let { t: i } =
|
|
231
|
-
return /* @__PURE__ */ y(
|
|
230
|
+
let { t: i } = A(), a = e(i, "files.shareDialog.downloads.label", "Maximum downloads");
|
|
231
|
+
return /* @__PURE__ */ y(S, {
|
|
232
232
|
storageKey: r ? "files.shareDialog" : void 0,
|
|
233
233
|
title: r ? void 0 : e(i, "files.shareDialog.advanced.title", "Advanced"),
|
|
234
234
|
description: e(i, "files.shareDialog.advanced.description", "Download limits and password protection"),
|
|
@@ -258,7 +258,7 @@ function V({ values: t, onChange: n, navigationV2: r }) {
|
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
260
|
function H({ values: t, onChange: n }) {
|
|
261
|
-
let { t: r } =
|
|
261
|
+
let { t: r } = A(), i = e(r, "files.shareDialog.password.label", "Password protection"), a = e(r, "files.shareDialog.password.require", "Require password");
|
|
262
262
|
return /* @__PURE__ */ b("div", { children: [
|
|
263
263
|
/* @__PURE__ */ b("label", {
|
|
264
264
|
htmlFor: "share-dialog-password-required",
|
|
@@ -293,7 +293,7 @@ function H({ values: t, onChange: n }) {
|
|
|
293
293
|
] });
|
|
294
294
|
}
|
|
295
295
|
function U({ created: t, onClose: n }) {
|
|
296
|
-
let { t: r } =
|
|
296
|
+
let { t: r } = A();
|
|
297
297
|
return /* @__PURE__ */ b("div", {
|
|
298
298
|
className: "space-y-4",
|
|
299
299
|
children: [/* @__PURE__ */ y("div", {
|
|
@@ -305,7 +305,7 @@ function U({ created: t, onClose: n }) {
|
|
|
305
305
|
className: "text-sm text-text-secondary",
|
|
306
306
|
children: e(r, "files.shareDialog.success.invitationSentTo", "An invitation has been sent to {{email}}", { email: t.invitedEmail })
|
|
307
307
|
})] }) : /* @__PURE__ */ y(W, { shareUrl: t.shareUrl })
|
|
308
|
-
}), /* @__PURE__ */ y(
|
|
308
|
+
}), /* @__PURE__ */ y(E, { children: /* @__PURE__ */ y(x, {
|
|
309
309
|
type: "button",
|
|
310
310
|
onClick: n,
|
|
311
311
|
className: "w-full",
|
|
@@ -314,7 +314,7 @@ function U({ created: t, onClose: n }) {
|
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
function W({ shareUrl: t }) {
|
|
317
|
-
let { t: n } =
|
|
317
|
+
let { t: n } = A(), [r, i] = c(!1);
|
|
318
318
|
return s(() => {
|
|
319
319
|
if (r) {
|
|
320
320
|
let e = setTimeout(() => i(!1), 2e3);
|
|
@@ -331,7 +331,7 @@ function W({ shareUrl: t }) {
|
|
|
331
331
|
readOnly: !0,
|
|
332
332
|
"aria-label": e(n, "files.shareDialog.success.linkCreated", "Share link"),
|
|
333
333
|
className: "flex-1 min-h-11 px-3 py-2 bg-bg-surface border border-status-success-border rounded-lg text-sm"
|
|
334
|
-
}), /* @__PURE__ */ y(
|
|
334
|
+
}), /* @__PURE__ */ y(x, {
|
|
335
335
|
type: "button",
|
|
336
336
|
onClick: async () => {
|
|
337
337
|
t && (await navigator.clipboard.writeText(t), i(!0));
|
|
@@ -2,11 +2,11 @@ import { tWithFallback as e } from "../utils/i18n.js";
|
|
|
2
2
|
import { formatFileSize as t } from "../utils/index.js";
|
|
3
3
|
import { Download as n, Eye as r, FileText as i, Folder as a, Loader2 as o } from "lucide-react";
|
|
4
4
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { Button as l } from "@burdenoff/fe-libs/ui";
|
|
6
|
+
import { useI18n as u } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
7
7
|
// src/files/components/SharedFolderView.tsx
|
|
8
8
|
function d({ folderName: d, files: f, truncated: p, busyFileId: m, failedFileId: h, onPreview: g, onDownload: _ }) {
|
|
9
|
-
let { t: v } =
|
|
9
|
+
let { t: v } = u();
|
|
10
10
|
return /* @__PURE__ */ c("div", {
|
|
11
11
|
className: "space-y-4",
|
|
12
12
|
children: [
|
|
@@ -24,7 +24,7 @@ function d({ folderName: d, files: f, truncated: p, busyFileId: m, failedFileId:
|
|
|
24
24
|
className: "divide-y divide-border-seam rounded-lg border border-border-seam",
|
|
25
25
|
"aria-label": e(v, "files.share.folder.listLabel", "Files in this folder"),
|
|
26
26
|
children: f.map((a) => {
|
|
27
|
-
let
|
|
27
|
+
let u = m === a.id;
|
|
28
28
|
return /* @__PURE__ */ c("li", {
|
|
29
29
|
className: "px-3 py-2",
|
|
30
30
|
children: [/* @__PURE__ */ c("div", {
|
|
@@ -41,23 +41,23 @@ function d({ folderName: d, files: f, truncated: p, busyFileId: m, failedFileId:
|
|
|
41
41
|
children: t(Number(a.size))
|
|
42
42
|
})]
|
|
43
43
|
}),
|
|
44
|
-
/* @__PURE__ */ s(
|
|
44
|
+
/* @__PURE__ */ s(l, {
|
|
45
45
|
type: "button",
|
|
46
46
|
variant: "ghost",
|
|
47
47
|
size: "icon-sm",
|
|
48
|
-
disabled:
|
|
48
|
+
disabled: u,
|
|
49
49
|
"aria-label": e(v, "files.share.folder.previewFile", "Preview {{name}}", { name: a.name }),
|
|
50
50
|
onClick: () => g(a),
|
|
51
51
|
children: /* @__PURE__ */ s(r, { className: "size-4" })
|
|
52
52
|
}),
|
|
53
|
-
/* @__PURE__ */ s(
|
|
53
|
+
/* @__PURE__ */ s(l, {
|
|
54
54
|
type: "button",
|
|
55
55
|
variant: "ghost",
|
|
56
56
|
size: "icon-sm",
|
|
57
|
-
disabled:
|
|
57
|
+
disabled: u,
|
|
58
58
|
"aria-label": e(v, "files.share.folder.downloadFile", "Download {{name}}", { name: a.name }),
|
|
59
59
|
onClick: () => _(a),
|
|
60
|
-
children:
|
|
60
|
+
children: u ? /* @__PURE__ */ s(o, { className: "size-4 animate-spin" }) : /* @__PURE__ */ s(n, { className: "size-4" })
|
|
61
61
|
})
|
|
62
62
|
]
|
|
63
63
|
}), h === a.id && /* @__PURE__ */ s("p", {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { tWithFallback as e } from "../utils/i18n.js";
|
|
2
2
|
import { CheckSquare as t, FolderPlus as n, FolderUp as r, MoreHorizontal as i } from "lucide-react";
|
|
3
3
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Button as s, DropdownMenu as c, DropdownMenuContent as l, DropdownMenuItem as u, DropdownMenuSub as d, DropdownMenuSubContent as f, DropdownMenuSubTrigger as p, DropdownMenuTrigger as m } from "@burdenoff/fe-libs/ui";
|
|
5
|
+
import { useI18n as h } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
6
6
|
// src/files/components/ToolbarMoreMenu.tsx
|
|
7
7
|
function g({ onNewFolder: g, onUploadFolder: _, onSelectAll: v, uploading: y = !1 }) {
|
|
8
|
-
let { t: b } =
|
|
9
|
-
return /* @__PURE__ */ o(
|
|
8
|
+
let { t: b } = h();
|
|
9
|
+
return /* @__PURE__ */ o(c, { children: [/* @__PURE__ */ a(m, {
|
|
10
10
|
asChild: !0,
|
|
11
|
-
children: /* @__PURE__ */ a(
|
|
11
|
+
children: /* @__PURE__ */ a(s, {
|
|
12
12
|
type: "button",
|
|
13
13
|
variant: "outline",
|
|
14
14
|
size: "icon",
|
|
15
15
|
"aria-label": e(b, "files.browser.actions.moreActions", "More actions"),
|
|
16
16
|
children: /* @__PURE__ */ a(i, { className: "size-4" })
|
|
17
17
|
})
|
|
18
|
-
}), /* @__PURE__ */ o(
|
|
18
|
+
}), /* @__PURE__ */ o(l, {
|
|
19
19
|
align: "end",
|
|
20
|
-
children: [/* @__PURE__ */ o(
|
|
20
|
+
children: [/* @__PURE__ */ o(u, {
|
|
21
21
|
onSelect: g,
|
|
22
22
|
"data-tour": "files-new-folder-button",
|
|
23
23
|
children: [/* @__PURE__ */ a(n, { className: "size-4" }), e(b, "files.browser.actions.newFolder", "New Folder")]
|
|
24
|
-
}), /* @__PURE__ */ o(
|
|
24
|
+
}), /* @__PURE__ */ o(d, { children: [/* @__PURE__ */ a(p, { children: e(b, "files.browser.actions.more", "More") }), /* @__PURE__ */ o(f, { children: [/* @__PURE__ */ o(u, {
|
|
25
25
|
onSelect: _,
|
|
26
26
|
disabled: y,
|
|
27
27
|
children: [/* @__PURE__ */ a(r, { className: "size-4" }), e(b, "files.browser.actions.uploadFolder", "Upload Folder")]
|
|
28
|
-
}), v && /* @__PURE__ */ o(
|
|
28
|
+
}), v && /* @__PURE__ */ o(u, {
|
|
29
29
|
onSelect: v,
|
|
30
30
|
children: [/* @__PURE__ */ a(t, { className: "size-4" }), e(b, "files.browser.actions.selectAll", "Select All")]
|
|
31
31
|
})] })] })]
|
|
@@ -4,12 +4,12 @@ import { tWithFallback as t } from "../utils/i18n.js";
|
|
|
4
4
|
import { useEffect as n, useRef as r } from "react";
|
|
5
5
|
import { Image as i, MoreHorizontal as a, Pause as o, Play as s, RotateCcw as c, X as l } from "lucide-react";
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { DropdownMenu as f, DropdownMenuContent as p, DropdownMenuItem as m, DropdownMenuTrigger as h, GlassCard as g } from "@burdenoff/fe-libs/ui";
|
|
8
|
+
import { useI18n as _ } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
9
9
|
// src/files/components/UploadQueue.tsx
|
|
10
10
|
function v({ item: e, onPause: n, onResume: r }) {
|
|
11
|
-
let { t: i } =
|
|
12
|
-
return e.status !== "uploading" && e.status !== "paused" ? null : /* @__PURE__ */ d(
|
|
11
|
+
let { t: i } = _();
|
|
12
|
+
return e.status !== "uploading" && e.status !== "paused" ? null : /* @__PURE__ */ d(f, { children: [/* @__PURE__ */ u(h, {
|
|
13
13
|
asChild: !0,
|
|
14
14
|
children: /* @__PURE__ */ u("button", {
|
|
15
15
|
type: "button",
|
|
@@ -17,19 +17,19 @@ function v({ item: e, onPause: n, onResume: r }) {
|
|
|
17
17
|
"aria-label": t(i, "files.upload.moreActions", "More actions for {{name}}", { name: e.file.name }),
|
|
18
18
|
children: /* @__PURE__ */ u(a, { className: "size-4" })
|
|
19
19
|
})
|
|
20
|
-
}), /* @__PURE__ */ u(
|
|
20
|
+
}), /* @__PURE__ */ u(p, {
|
|
21
21
|
align: "end",
|
|
22
|
-
children: e.status === "uploading" ? /* @__PURE__ */ d(
|
|
22
|
+
children: e.status === "uploading" ? /* @__PURE__ */ d(m, {
|
|
23
23
|
onSelect: () => n(e.id),
|
|
24
24
|
children: [/* @__PURE__ */ u(o, { className: "size-4" }), t(i, "files.upload.pause", "Pause")]
|
|
25
|
-
}) : /* @__PURE__ */ d(
|
|
25
|
+
}) : /* @__PURE__ */ d(m, {
|
|
26
26
|
onSelect: () => r(e.id),
|
|
27
27
|
children: [/* @__PURE__ */ u(s, { className: "size-4" }), t(i, "files.upload.resume", "Resume")]
|
|
28
28
|
})
|
|
29
29
|
})] });
|
|
30
30
|
}
|
|
31
|
-
function y({ item: a, onPause:
|
|
32
|
-
let { t: y } =
|
|
31
|
+
function y({ item: a, onPause: f, onResume: p, onRetry: m, onCancel: h, navigationV2: g = !1 }) {
|
|
32
|
+
let { t: y } = _(), b = r(null), x = e(a.file.type);
|
|
33
33
|
return n(() => {
|
|
34
34
|
b.current && (b.current.style.width = `${a.progress}%`);
|
|
35
35
|
}, [a.progress]), /* @__PURE__ */ u("div", {
|
|
@@ -101,35 +101,35 @@ function y({ item: a, onPause: p, onResume: m, onRetry: h, onCancel: g, navigati
|
|
|
101
101
|
/* @__PURE__ */ d("div", {
|
|
102
102
|
className: "flex items-center gap-1 flex-shrink-0",
|
|
103
103
|
children: [
|
|
104
|
-
|
|
104
|
+
g && /* @__PURE__ */ u(v, {
|
|
105
105
|
item: a,
|
|
106
|
-
onPause:
|
|
107
|
-
onResume:
|
|
106
|
+
onPause: f,
|
|
107
|
+
onResume: p
|
|
108
108
|
}),
|
|
109
|
-
!
|
|
109
|
+
!g && a.status === "uploading" && /* @__PURE__ */ u("button", {
|
|
110
110
|
type: "button",
|
|
111
|
-
onClick: () =>
|
|
111
|
+
onClick: () => f(a.id),
|
|
112
112
|
className: "p-1.5 text-text-secondary hover:text-text-primary hover:bg-action-ghost-bg-hover rounded transition-colors",
|
|
113
113
|
title: t(y, "files.upload.pause", "Pause"),
|
|
114
114
|
children: /* @__PURE__ */ u(o, { className: "size-4" })
|
|
115
115
|
}),
|
|
116
|
-
!
|
|
116
|
+
!g && a.status === "paused" && /* @__PURE__ */ u("button", {
|
|
117
117
|
type: "button",
|
|
118
|
-
onClick: () =>
|
|
118
|
+
onClick: () => p(a.id),
|
|
119
119
|
className: "p-1.5 text-text-secondary hover:text-text-primary hover:bg-action-ghost-bg-hover rounded transition-colors",
|
|
120
120
|
title: t(y, "files.upload.resume", "Resume"),
|
|
121
121
|
children: /* @__PURE__ */ u(s, { className: "size-4" })
|
|
122
122
|
}),
|
|
123
123
|
a.status === "failed" && /* @__PURE__ */ u("button", {
|
|
124
124
|
type: "button",
|
|
125
|
-
onClick: () =>
|
|
125
|
+
onClick: () => m(a.id),
|
|
126
126
|
className: "p-1.5 text-text-secondary hover:text-text-primary hover:bg-action-ghost-bg-hover rounded transition-colors",
|
|
127
127
|
title: t(y, "files.upload.retry", "Retry"),
|
|
128
128
|
children: /* @__PURE__ */ u(c, { className: "size-4" })
|
|
129
129
|
}),
|
|
130
130
|
(a.status === "pending" || a.status === "paused" || a.status === "failed") && /* @__PURE__ */ u("button", {
|
|
131
131
|
type: "button",
|
|
132
|
-
onClick: () =>
|
|
132
|
+
onClick: () => h(a.id),
|
|
133
133
|
className: "p-1.5 text-text-secondary hover:text-status-error-text hover:bg-status-error-bg-subtle rounded transition-colors",
|
|
134
134
|
title: t(y, "files.upload.cancel", "Cancel"),
|
|
135
135
|
children: /* @__PURE__ */ u(l, { className: "size-4" })
|
|
@@ -141,10 +141,10 @@ function y({ item: a, onPause: p, onResume: m, onRetry: h, onCancel: g, navigati
|
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
function b({ items: e, isOpen: n, onClose: r, onPause: i, onResume: a, onRetry: o, onCancel: s, navigationV2: c = !1 }) {
|
|
144
|
-
let { t:
|
|
144
|
+
let { t: f } = _();
|
|
145
145
|
if (!n) return null;
|
|
146
|
-
let
|
|
147
|
-
return /* @__PURE__ */ d(
|
|
146
|
+
let p = e.filter((e) => e.status === "completed").length, m = e.filter((e) => e.status === "failed").length, h = e.filter((e) => e.status === "uploading" || e.status === "pending").length;
|
|
147
|
+
return /* @__PURE__ */ d(g, {
|
|
148
148
|
treatment: "glass",
|
|
149
149
|
glow: !0,
|
|
150
150
|
className: "fixed bottom-4 right-4 z-50 w-80 max-w-[90vw] md:w-96",
|
|
@@ -154,28 +154,28 @@ function b({ items: e, isOpen: n, onClose: r, onPause: i, onResume: a, onRetry:
|
|
|
154
154
|
/* @__PURE__ */ d("h3", {
|
|
155
155
|
className: "flex items-center gap-2 text-sm font-semibold text-text-primary",
|
|
156
156
|
children: [
|
|
157
|
-
|
|
157
|
+
h > 0 && /* @__PURE__ */ u("span", {
|
|
158
158
|
className: "size-2 shrink-0 rounded-full bg-action-primary-bg motion-safe:animate-vc-glow-pulse",
|
|
159
159
|
"aria-hidden": "true"
|
|
160
160
|
}),
|
|
161
|
-
t(
|
|
161
|
+
t(f, "files.upload.uploads", "Uploads"),
|
|
162
162
|
" (",
|
|
163
|
-
t(
|
|
163
|
+
t(f, "files.upload.active", "{{count}} uploading", { count: h }),
|
|
164
164
|
")"
|
|
165
165
|
]
|
|
166
166
|
}),
|
|
167
|
-
|
|
167
|
+
p > 0 && /* @__PURE__ */ u("p", {
|
|
168
168
|
className: "text-xs text-status-success-text",
|
|
169
|
-
children: t(
|
|
169
|
+
children: t(f, "files.upload.completed", "{{count}} completed", { count: p })
|
|
170
170
|
}),
|
|
171
|
-
|
|
171
|
+
m > 0 && /* @__PURE__ */ u("p", {
|
|
172
172
|
className: "text-xs text-status-error-text",
|
|
173
|
-
children: t(
|
|
173
|
+
children: t(f, "files.upload.failedCount", "{{count}} failed", { count: m })
|
|
174
174
|
})
|
|
175
175
|
] }), /* @__PURE__ */ u("button", {
|
|
176
176
|
type: "button",
|
|
177
177
|
onClick: r,
|
|
178
|
-
"aria-label": t(
|
|
178
|
+
"aria-label": t(f, "files.upload.close", "Close uploads"),
|
|
179
179
|
className: "p-1 text-text-secondary hover:text-text-primary hover:bg-action-ghost-bg-hover rounded transition-colors",
|
|
180
180
|
children: /* @__PURE__ */ u(l, { className: "size-4" })
|
|
181
181
|
})]
|
|
@@ -183,7 +183,7 @@ function b({ items: e, isOpen: n, onClose: r, onPause: i, onResume: a, onRetry:
|
|
|
183
183
|
className: "max-h-64 overflow-y-auto p-2 space-y-2",
|
|
184
184
|
children: e.length === 0 ? /* @__PURE__ */ u("p", {
|
|
185
185
|
className: "text-sm text-text-secondary text-center py-4",
|
|
186
|
-
children: t(
|
|
186
|
+
children: t(f, "files.upload.noUploads", "No uploads")
|
|
187
187
|
}) : e.map((e) => /* @__PURE__ */ u(y, {
|
|
188
188
|
item: e,
|
|
189
189
|
onPause: i,
|
|
@@ -3,11 +3,11 @@ import { tWithFallback as t } from "../utils/i18n.js";
|
|
|
3
3
|
import { isUploadVisibility as n } from "../utils/uploadVisibility.js";
|
|
4
4
|
import { useId as r } from "react";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { ThemedSelect as o } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
import { useI18n as s } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
8
8
|
// src/files/components/UploadVisibilitySelect.tsx
|
|
9
9
|
function c({ value: c, onChange: l, disabled: u = !1, label: d }) {
|
|
10
|
-
let { t: f } =
|
|
10
|
+
let { t: f } = s(), p = r();
|
|
11
11
|
return /* @__PURE__ */ a("div", {
|
|
12
12
|
className: "min-w-0 space-y-1",
|
|
13
13
|
children: [
|
|
@@ -16,7 +16,7 @@ function c({ value: c, onChange: l, disabled: u = !1, label: d }) {
|
|
|
16
16
|
className: "block text-sm font-medium text-text-primary",
|
|
17
17
|
children: d ?? t(f, "files.visibility.uploadLabel", "Upload visibility")
|
|
18
18
|
}),
|
|
19
|
-
/* @__PURE__ */ a(
|
|
19
|
+
/* @__PURE__ */ a(o, {
|
|
20
20
|
id: p,
|
|
21
21
|
value: c,
|
|
22
22
|
disabled: u,
|
|
@@ -8,6 +8,8 @@ export interface CreateFolderShareInput {
|
|
|
8
8
|
maxDownloads?: number;
|
|
9
9
|
invitedEmail?: string;
|
|
10
10
|
invitedUserIds?: string[];
|
|
11
|
+
/** A note for an email invite, shown in the invitation (Workspace pages v2). */
|
|
12
|
+
message?: string;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* Create a folder share through the consolidated ShareGrant stack (BOFF-5302).
|