@edifice.io/react 2.6.2-develop-integration-crna.20260823185851 → 2.6.2-develop-integration.20260824122250
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/components/Alert/Alert.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -5
- package/dist/components/DatePicker/DatePicker.js +0 -2
- package/dist/components/Layout/Layout.js +3 -5
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useNextcloudSearch/index.d.ts +1 -0
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.d.ts +12 -0
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.js +56 -0
- package/dist/icons.js +338 -340
- package/dist/index.js +152 -146
- package/dist/modules/homepage/components/Favorites/Favorites.js +4 -7
- package/dist/modules/homepage/components/HomeCard/HomeCard.d.ts +1 -5
- package/dist/modules/homepage/components/HomeCard/HomeCard.js +2 -10
- package/dist/modules/homepage/components/LastInfos/LastInfosList.js +2 -2
- package/dist/modules/homepage/components/Notifications/NotificationItem.js +4 -5
- package/dist/modules/homepage/components/Notifications/NotificationList.d.ts +1 -7
- package/dist/modules/homepage/components/Notifications/NotificationList.js +3 -10
- package/dist/modules/homepage/components/Notifications/NotificationListContainer.js +1 -4
- package/dist/modules/homepage/components/Notifications/components/CommonNotificationItem.d.ts +1 -2
- package/dist/modules/homepage/components/Notifications/components/CommonNotificationItem.js +10 -14
- package/dist/modules/homepage/components/Notifications/components/NotificationItemResource.d.ts +1 -2
- package/dist/modules/homepage/components/Notifications/components/NotificationItemResource.js +2 -3
- package/dist/modules/homepage/components/Notifications/components/SystemNotificationItem.d.ts +1 -3
- package/dist/modules/homepage/components/Notifications/components/SystemNotificationItem.js +2 -3
- package/dist/modules/homepage/components/Notifications/components/UserNotificationItem.d.ts +1 -3
- package/dist/modules/homepage/components/Notifications/components/UserNotificationItem.js +2 -3
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +7 -22
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +13 -27
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.d.ts +1 -5
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +2 -22
- package/dist/modules/homepage/components/Notifications/services/api/index.d.ts +0 -2
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.d.ts +0 -8
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.js +0 -12
- package/dist/modules/homepage/components/Notifications/services/queries/notification.d.ts +1 -13
- package/dist/modules/homepage/components/Notifications/services/queries/notification.js +4 -41
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.js +11 -20
- package/dist/modules/homepage/components/UserSpace/UserSpace.js +2 -5
- package/dist/modules/icons/components/index.d.ts +0 -1
- package/dist/modules/multimedia/FileCard/NextcloudFileCard.d.ts +25 -0
- package/dist/modules/multimedia/FileCard/NextcloudFileCard.js +105 -0
- package/dist/modules/multimedia/FileCard/index.d.ts +2 -0
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.d.ts +2 -2
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +20 -7
- package/dist/modules/multimedia/MediaLibrary/innertabs/Nextcloud.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Nextcloud.js +35 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/index.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/index.js +2 -0
- package/dist/modules/multimedia/Nextcloud/Nextcloud.d.ts +24 -0
- package/dist/modules/multimedia/Nextcloud/Nextcloud.js +109 -0
- package/dist/modules/multimedia/Nextcloud/index.d.ts +2 -0
- package/dist/modules/multimedia/index.d.ts +1 -0
- package/dist/multimedia.js +16 -12
- package/package.json +6 -6
- package/dist/modules/homepage/components/Communities/Communities.d.ts +0 -10
- package/dist/modules/homepage/components/Communities/CommunitiesContainer.d.ts +0 -9
- package/dist/modules/homepage/components/Communities/CommunitiesSkeleton.d.ts +0 -5
- package/dist/modules/homepage/components/Communities/CommunityItem.d.ts +0 -11
- package/dist/modules/homepage/components/Communities/index.d.ts +0 -8
- package/dist/modules/homepage/components/Communities/useCommunities.d.ts +0 -13
- package/dist/modules/homepage/components/Notifications/components/NotificationFilterMenu.d.ts +0 -16
- package/dist/modules/homepage/components/Notifications/components/NotificationFilterMenu.js +0 -29
- package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.d.ts +0 -18
- package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.js +0 -67
- package/dist/modules/homepage/components/Notifications/components/NotificationOptionsMenu.d.ts +0 -12
- package/dist/modules/homepage/components/Notifications/components/NotificationOptionsMenu.js +0 -42
- package/dist/modules/homepage/components/Notifications/components/ReportNotificationModal.d.ts +0 -13
- package/dist/modules/homepage/components/Notifications/components/ReportNotificationModal.js +0 -31
- package/dist/modules/homepage/components/UserSpace/hooks/useChildren.d.ts +0 -14
- package/dist/modules/homepage/components/UserSpace/hooks/useChildren.js +0 -23
- package/dist/modules/homepage/components/UserSpace/hooks/useProfileLinks.d.ts +0 -8
- package/dist/modules/homepage/components/UserSpace/hooks/useProfileLinks.js +0 -65
- package/dist/modules/icons/components/IconClass.d.ts +0 -7
- package/dist/modules/icons/components/IconClass.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WorkspaceElement, WorkspaceVisibility } from '@edifice.io/client';
|
|
1
|
+
import { NextcloudDocument, WorkspaceElement, WorkspaceVisibility } from '@edifice.io/client';
|
|
2
2
|
import { TabsItemProps } from '../../../components';
|
|
3
3
|
import { ExternalLinkTabProps } from './innertabs/ExternalLink';
|
|
4
4
|
import { InternalLinkTabProps, InternalLinkTabResult } from './innertabs/InternalLink';
|
|
@@ -54,7 +54,7 @@ export interface MediaLibraryRef {
|
|
|
54
54
|
/**
|
|
55
55
|
* The resulting type depends on the actual selected Tab when modal is closed.
|
|
56
56
|
*/
|
|
57
|
-
export type MediaLibraryResult = WorkspaceElement[] | WorkspaceElement | InternalLinkTabResult | string | /*TODO type des autres résultats ?*/ any;
|
|
57
|
+
export type MediaLibraryResult = WorkspaceElement[] | WorkspaceElement | NextcloudDocument[] | InternalLinkTabResult | string | /*TODO type des autres résultats ?*/ any;
|
|
58
58
|
/**
|
|
59
59
|
* MediaLibrary component properties
|
|
60
60
|
*/
|
|
@@ -12,6 +12,7 @@ import SvgIconSmartphone from "../../icons/components/IconSmartphone.js";
|
|
|
12
12
|
import { InnerTabs } from "./innertabs/index.js";
|
|
13
13
|
import { MediaLibraryContext } from "./MediaLibraryContext.js";
|
|
14
14
|
import useHasWorkflow from "../../../hooks/useHasWorkflow/useHasWorkflow.js";
|
|
15
|
+
import usePublicConf from "../../../hooks/usePublicConf/usePublicConf.js";
|
|
15
16
|
import useHttpErrorToast from "../../../hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
16
17
|
import Modal from "../../../components/Modal/Modal.js";
|
|
17
18
|
import { Tabs } from "../../../components/Tabs/components/Tabs.js";
|
|
@@ -29,6 +30,8 @@ const orderedTabs = [
|
|
|
29
30
|
// Filesystem browser + drag'n'drop of files
|
|
30
31
|
"workspace",
|
|
31
32
|
// Media browser
|
|
33
|
+
"nextcloud",
|
|
34
|
+
// Nextcloud media browser
|
|
32
35
|
"video-embedder"
|
|
33
36
|
// Link to a hosted video
|
|
34
37
|
], mediaLibraryTypes = {
|
|
@@ -70,7 +73,7 @@ const orderedTabs = [
|
|
|
70
73
|
onCancel,
|
|
71
74
|
onTabChange
|
|
72
75
|
}, ref) => {
|
|
73
|
-
var _a;
|
|
76
|
+
var _a, _b;
|
|
74
77
|
const linkTabProps = useRef(), refModal = useRef(null);
|
|
75
78
|
useImperativeHandle(ref, () => ({
|
|
76
79
|
show,
|
|
@@ -81,7 +84,9 @@ const orderedTabs = [
|
|
|
81
84
|
}));
|
|
82
85
|
const {
|
|
83
86
|
t
|
|
84
|
-
} = useTranslation(), workspaceCreateWorkflow = useHasWorkflow("org.entcore.workspace.controllers.WorkspaceController|addDocument"), videoCaptureWorkflow = useHasWorkflow("com.opendigitaleducation.video.controllers.VideoController|capture"),
|
|
87
|
+
} = useTranslation(), workspaceCreateWorkflow = useHasWorkflow("org.entcore.workspace.controllers.WorkspaceController|addDocument"), videoCaptureWorkflow = useHasWorkflow("com.opendigitaleducation.video.controllers.VideoController|capture"), nextcloudViewWorkflow = useHasWorkflow("fr.openent.nextcloud.controller.NextcloudController|view"), {
|
|
88
|
+
data: workspacePublicConf
|
|
89
|
+
} = usePublicConf("workspace"), enableNextcloudTab = ((_a = workspacePublicConf == null ? void 0 : workspacePublicConf["folder-service"]) == null ? void 0 : _a.includes("nextcloud")) && nextcloudViewWorkflow, [type, setType] = useState(null);
|
|
85
90
|
useHttpErrorToast({
|
|
86
91
|
active: !!type,
|
|
87
92
|
isDismissible: !0,
|
|
@@ -96,6 +101,14 @@ const orderedTabs = [
|
|
|
96
101
|
availableFor: ["audio", "video", "image", "attachment"],
|
|
97
102
|
isEnable: null
|
|
98
103
|
},
|
|
104
|
+
nextcloud: {
|
|
105
|
+
id: "nextcloud",
|
|
106
|
+
icon: /* @__PURE__ */ jsx(SvgIconGlobe, {}),
|
|
107
|
+
label: t("bbm.nextcloud"),
|
|
108
|
+
content: /* @__PURE__ */ jsx(InnerTabs.Nextcloud, {}),
|
|
109
|
+
availableFor: ["audio", "video", "image", "attachment"],
|
|
110
|
+
isEnable: () => !!enableNextcloudTab
|
|
111
|
+
},
|
|
99
112
|
upload: {
|
|
100
113
|
id: "upload",
|
|
101
114
|
icon: /* @__PURE__ */ jsx(SvgIconSmartphone, {}),
|
|
@@ -177,17 +190,17 @@ const orderedTabs = [
|
|
|
177
190
|
linkTabProps.current = props, "resourceId" in props || "appPrefix" in props || setDefaultTabId("external-link"), setType("hyperlink");
|
|
178
191
|
};
|
|
179
192
|
useEffect(() => {
|
|
180
|
-
var _a2,
|
|
193
|
+
var _a2, _b2;
|
|
181
194
|
const typeKey = type || "none";
|
|
182
|
-
!defaultTabId && typeof ((_a2 = mediaLibraryTypes[typeKey]) == null ? void 0 : _a2.defaultTab) == "string" && setDefaultTabId((
|
|
195
|
+
!defaultTabId && typeof ((_a2 = mediaLibraryTypes[typeKey]) == null ? void 0 : _a2.defaultTab) == "string" && setDefaultTabId((_b2 = mediaLibraryTypes[typeKey]) == null ? void 0 : _b2.defaultTab);
|
|
183
196
|
}, [defaultTabId, type]);
|
|
184
|
-
const modalHeader = t(((
|
|
197
|
+
const modalHeader = t(((_b = mediaLibraryTypes[type ?? "none"]) == null ? void 0 : _b.title) ?? "bbm"), resetState = () => {
|
|
185
198
|
linkTabProps.current = void 0, setResult(void 0), setResultCounter(void 0), setDefaultTabId(void 0), setPreSuccess(void 0), setDeletionsOnCancel([]);
|
|
186
199
|
}, handleTabChange = (tab) => {
|
|
187
200
|
onTabChange == null || onTabChange(tab, deletionsOnCancel), resetState();
|
|
188
|
-
}, handleOnSuccess = useCallback(() => {
|
|
201
|
+
}, isWorkspaceElementArray = (result2) => Array.isArray(result2) && (result2.length === 0 || "eType" in result2[0]), handleOnSuccess = useCallback(() => {
|
|
189
202
|
const triggerSuccess = async (result2) => {
|
|
190
|
-
result2
|
|
203
|
+
isWorkspaceElementArray(result2) && ["protected", "public"].findIndex((v) => v === visibility) >= 0 && (result2 = await odeServices.workspace().transferDocuments(result2, appCode ?? "media-library", visibility)), onSuccess(result2);
|
|
191
204
|
};
|
|
192
205
|
onSuccessAction ? onSuccessAction().then((result2) => {
|
|
193
206
|
triggerSuccess(result2);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Nextcloud: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { odeServices } from "@edifice.io/client";
|
|
3
|
+
import { useMediaLibraryContext } from "../MediaLibraryContext.js";
|
|
4
|
+
import useUser from "../../../../hooks/useUser/useUser.js";
|
|
5
|
+
import Nextcloud$1 from "../../Nextcloud/Nextcloud.js";
|
|
6
|
+
const Nextcloud = () => {
|
|
7
|
+
const {
|
|
8
|
+
type,
|
|
9
|
+
setResultCounter,
|
|
10
|
+
setResult,
|
|
11
|
+
setPreSuccess,
|
|
12
|
+
multiple
|
|
13
|
+
} = useMediaLibraryContext(), {
|
|
14
|
+
user
|
|
15
|
+
} = useUser();
|
|
16
|
+
function getDocumentRoleFilter() {
|
|
17
|
+
switch (type) {
|
|
18
|
+
case "image":
|
|
19
|
+
return "img";
|
|
20
|
+
case "audio":
|
|
21
|
+
return "audio";
|
|
22
|
+
case "video":
|
|
23
|
+
return "video";
|
|
24
|
+
default:
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function handleSelect(result) {
|
|
29
|
+
setResultCounter(result.length), result.length ? (setResult(result), setPreSuccess(() => () => user != null && user.userId ? odeServices.nextcloud().copyDocumentToWorkspace(user.userId, result.map((doc) => doc.path)) : Promise.resolve([]))) : (setResult(), setPreSuccess(void 0));
|
|
30
|
+
}
|
|
31
|
+
return /* @__PURE__ */ jsx(Nextcloud$1, { roles: getDocumentRoleFilter(), onSelect: handleSelect, multiple, className: "border rounded overflow-y-auto" });
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
Nextcloud
|
|
35
|
+
};
|
|
@@ -4,6 +4,7 @@ export declare const InnerTabs: {
|
|
|
4
4
|
Upload: () => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
ExternalLink: ({ link, multiNodeSelected, }: import('./ExternalLink').ExternalLinkTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
Workspace: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
Nextcloud: () => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
InternalLink: ({ target, resourceId, appPrefix, }: import('./InternalLink').InternalLinkTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
Iframe: () => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
VideoEmbedder: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,6 +2,7 @@ import { Audio } from "./Audio.js";
|
|
|
2
2
|
import { ExternalLink } from "./ExternalLink.js";
|
|
3
3
|
import { Iframe } from "./Iframe.js";
|
|
4
4
|
import { InternalLink } from "./InternalLink.js";
|
|
5
|
+
import { Nextcloud } from "./Nextcloud.js";
|
|
5
6
|
import { Upload } from "./Upload.js";
|
|
6
7
|
import { Video } from "./Video.js";
|
|
7
8
|
import { VideoEmbedder } from "./VideoEmbedder.js";
|
|
@@ -12,6 +13,7 @@ const InnerTabs = {
|
|
|
12
13
|
Upload,
|
|
13
14
|
ExternalLink,
|
|
14
15
|
Workspace,
|
|
16
|
+
Nextcloud,
|
|
15
17
|
InternalLink,
|
|
16
18
|
Iframe,
|
|
17
19
|
VideoEmbedder
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { NextcloudDocument, Role } from '@edifice.io/client';
|
|
2
|
+
/**
|
|
3
|
+
* Nextcloud component properties
|
|
4
|
+
*/
|
|
5
|
+
export interface NextcloudProps {
|
|
6
|
+
/**
|
|
7
|
+
* Notify parent when media elements are successfully selected.
|
|
8
|
+
*/
|
|
9
|
+
onSelect: (result: NextcloudDocument[]) => void;
|
|
10
|
+
/**
|
|
11
|
+
* Boolean to know if we can select 1 or many files.
|
|
12
|
+
*/
|
|
13
|
+
multiple?: boolean | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Document roles to filter files by; null (default) shows all roles.
|
|
16
|
+
*/
|
|
17
|
+
roles?: Role | Role[] | null;
|
|
18
|
+
/**
|
|
19
|
+
* Optional class for styling purpose
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const Nextcloud: ({ onSelect, multiple, roles, className, }: NextcloudProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default Nextcloud;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useRef, useState, useCallback, useEffect, useMemo } from "react";
|
|
3
|
+
import { DocumentHelper } from "@edifice.io/client";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import { useTranslation } from "react-i18next";
|
|
6
|
+
import { findNodeById } from "../../../components/Tree/utilities/tree.js";
|
|
7
|
+
import SvgIconSortAscendingLetters from "../../icons/components/IconSortAscendingLetters.js";
|
|
8
|
+
import SvgIconSortDescendingLetters from "../../icons/components/IconSortDescendingLetters.js";
|
|
9
|
+
import SvgIconSortTime from "../../icons/components/IconSortTime.js";
|
|
10
|
+
import illuNoContentInFolder from "@edifice.io/bootstrap/dist/images/emptyscreen/illu-no-content-in-folder.svg";
|
|
11
|
+
import useUser from "../../../hooks/useUser/useUser.js";
|
|
12
|
+
import useNextcloudSearch from "../../../hooks/useNextcloudSearch/useNextcloudSearch.js";
|
|
13
|
+
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
14
|
+
import Flex from "../../../components/Flex/Flex.js";
|
|
15
|
+
import EmptyScreen from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
16
|
+
import Button from "../../../components/Button/Button.js";
|
|
17
|
+
import { Grid } from "../../../components/Grid/Grid.js";
|
|
18
|
+
import Tree from "../../../components/Tree/components/Tree.js";
|
|
19
|
+
import SearchBar from "../../../components/SearchBar/SearchBar.js";
|
|
20
|
+
import Dropdown from "../../../components/Dropdown/Dropdown.js";
|
|
21
|
+
import NextcloudFileCard from "../FileCard/NextcloudFileCard.js";
|
|
22
|
+
const ROOT_ID = "root";
|
|
23
|
+
function compare(a, b) {
|
|
24
|
+
return a ? b ? a.localeCompare(b) : 1 : -1;
|
|
25
|
+
}
|
|
26
|
+
const Nextcloud = ({
|
|
27
|
+
onSelect,
|
|
28
|
+
multiple = !0,
|
|
29
|
+
roles,
|
|
30
|
+
className
|
|
31
|
+
}) => {
|
|
32
|
+
const {
|
|
33
|
+
t
|
|
34
|
+
} = useTranslation(), {
|
|
35
|
+
user
|
|
36
|
+
} = useUser(), {
|
|
37
|
+
root,
|
|
38
|
+
needsAuth,
|
|
39
|
+
isCheckingAuth,
|
|
40
|
+
refetchAuthStatus,
|
|
41
|
+
loadContent
|
|
42
|
+
} = useNextcloudSearch(ROOT_ID, t("nextcloud"), user == null ? void 0 : user.userId), popupRef = useRef(null), [currentNodeId, setCurrentNodeId] = useState(ROOT_ID), treeRoot = root, currentNode = findNodeById(treeRoot, currentNodeId) ?? root, [searchTerm, setSearchTerm] = useState(null), [sortOrder, setSortOrder] = useState(["modified", "desc"]), [selectedDocuments, setSelectedDocuments] = useState([]), handleTreeItemChange = useCallback((nodeId) => {
|
|
43
|
+
setCurrentNodeId(nodeId), loadContent(nodeId);
|
|
44
|
+
}, [loadContent]);
|
|
45
|
+
useEffect(() => {
|
|
46
|
+
loadContent(ROOT_ID);
|
|
47
|
+
}, [loadContent]);
|
|
48
|
+
const documents = useMemo(() => {
|
|
49
|
+
if (!currentNode.files) return;
|
|
50
|
+
let list = [].concat(currentNode.files);
|
|
51
|
+
searchTerm && (list = list.filter((f) => f.name.indexOf(searchTerm) >= 0)), roles && (list = list.filter((f) => {
|
|
52
|
+
const role = DocumentHelper.role(f.contentType, !1);
|
|
53
|
+
return typeof roles == "string" ? roles === role : Array.isArray(roles) ? roles.includes(role) : !1;
|
|
54
|
+
}));
|
|
55
|
+
const sortFunction = sortOrder[0] === "name" ? sortOrder[1] === "asc" ? (a, b) => compare(a.name, b.name) : (a, b) => compare(b.name, a.name) : (a, b) => compare(b.lastModified, a.lastModified);
|
|
56
|
+
return list.sort(sortFunction);
|
|
57
|
+
}, [root, currentNode, searchTerm, sortOrder, roles]), selectedPaths = useMemo(() => new Set(selectedDocuments.map((d) => d.path)), [selectedDocuments]), handleSearchChange = useCallback((e) => {
|
|
58
|
+
setSearchTerm(e.target.value);
|
|
59
|
+
}, [setSearchTerm]);
|
|
60
|
+
function getSortOrderLabel() {
|
|
61
|
+
return sortOrder[0] === "name" ? sortOrder[1] === "asc" ? t("sort.order.alpha.asc") : t("sort.order.alpha.desc") : t("sort.order.modify.desc");
|
|
62
|
+
}
|
|
63
|
+
function handleSelectDoc(doc) {
|
|
64
|
+
let currentDocuments = [...selectedDocuments];
|
|
65
|
+
multiple ? currentDocuments.includes(doc) ? currentDocuments = currentDocuments.filter((selectedDocument) => selectedDocument.path !== doc.path) : currentDocuments = [...currentDocuments, doc] : currentDocuments = [doc], setSelectedDocuments(currentDocuments), onSelect(currentDocuments);
|
|
66
|
+
}
|
|
67
|
+
const nextcloud = clsx("workspace flex-grow-1 gap-0", className), openLoginPopup = () => {
|
|
68
|
+
popupRef.current = window.open(`${window.location.origin}/nextcloud/user/oauth2/init`, "", "popup, height=600, width=400");
|
|
69
|
+
};
|
|
70
|
+
return useEffect(() => {
|
|
71
|
+
function handleMessage(event) {
|
|
72
|
+
var _a;
|
|
73
|
+
event.origin !== window.location.origin || ((_a = event.data) == null ? void 0 : _a.type) !== "nextcloud-connected" || (popupRef.current && !popupRef.current.closed && popupRef.current.close(), refetchAuthStatus());
|
|
74
|
+
}
|
|
75
|
+
return window.addEventListener("message", handleMessage), () => window.removeEventListener("message", handleMessage);
|
|
76
|
+
}, [refetchAuthStatus]), isCheckingAuth ? /* @__PURE__ */ jsx(LoadingScreen, {}) : needsAuth ? /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "8", className: "h-full w-100", justify: "center", align: "center", children: [
|
|
77
|
+
/* @__PURE__ */ jsx(EmptyScreen, { imageSrc: illuNoContentInFolder }),
|
|
78
|
+
/* @__PURE__ */ jsx(Button, { onClick: openLoginPopup, children: "Login to nextcloud" })
|
|
79
|
+
] }) : /* @__PURE__ */ jsxs(Grid, { className: nextcloud, children: [
|
|
80
|
+
/* @__PURE__ */ jsx(Grid.Col, { sm: "12", md: "3", xl: "4", className: "workspace-folders p-12 pt-0 gap-12", children: /* @__PURE__ */ jsx("div", { style: {
|
|
81
|
+
position: "sticky",
|
|
82
|
+
top: 0,
|
|
83
|
+
paddingTop: "1.2rem"
|
|
84
|
+
}, children: /* @__PURE__ */ jsx(Tree, { nodes: treeRoot, selectedNodeId: currentNodeId, showIcon: !0, onTreeItemClick: handleTreeItemChange, onTreeItemUnfold: handleTreeItemChange }) }) }),
|
|
85
|
+
/* @__PURE__ */ jsx(Grid.Col, { sm: "12", md: "5", xl: "8", children: /* @__PURE__ */ jsxs(Grid, { className: "flex-grow-1 gap-0", children: [
|
|
86
|
+
/* @__PURE__ */ jsxs(Grid.Col, { sm: "4", md: "8", xl: "12", children: [
|
|
87
|
+
/* @__PURE__ */ jsx("div", { className: "workspace-search px-16 py-8 ", children: /* @__PURE__ */ jsx(SearchBar, { isVariant: !0, className: "gap-16", onChange: handleSearchChange }) }),
|
|
88
|
+
/* @__PURE__ */ jsxs("div", { className: "d-flex align-items-center justify-content-end px-8 py-4", children: [
|
|
89
|
+
/* @__PURE__ */ jsx("small", { className: "text-muted", children: t("workspace.search.order") }),
|
|
90
|
+
/* @__PURE__ */ jsxs(Dropdown, { children: [
|
|
91
|
+
/* @__PURE__ */ jsx(Dropdown.Trigger, { size: "sm", label: getSortOrderLabel(), variant: "ghost" }),
|
|
92
|
+
/* @__PURE__ */ jsxs(Dropdown.Menu, { children: [
|
|
93
|
+
/* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SvgIconSortTime, {}), onClick: () => setSortOrder(["modified", "desc"]), children: t("sort.order.modify.desc") }),
|
|
94
|
+
/* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SvgIconSortAscendingLetters, {}), onClick: () => setSortOrder(["name", "asc"]), children: t("sort.order.alpha.asc") }),
|
|
95
|
+
/* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SvgIconSortDescendingLetters, {}), onClick: () => setSortOrder(["name", "desc"]), children: t("sort.order.alpha.desc") })
|
|
96
|
+
] })
|
|
97
|
+
] })
|
|
98
|
+
] })
|
|
99
|
+
] }),
|
|
100
|
+
/* @__PURE__ */ jsx(Grid.Col, { sm: "4", md: "8", xl: "12", className: "p-8 gap-8", children: documents ? documents.length !== 0 ? /* @__PURE__ */ jsx("div", { className: "grid grid-workspace", children: documents.map((doc) => {
|
|
101
|
+
const isSelected = selectedPaths.has(doc.path);
|
|
102
|
+
return /* @__PURE__ */ jsx(NextcloudFileCard, { doc, userId: user.userId, isSelected, onClick: () => handleSelectDoc(doc) }, doc.path);
|
|
103
|
+
}) }) : /* @__PURE__ */ jsx(EmptyScreen, { imageSrc: illuNoContentInFolder, size: 64, text: t("nextcloud.empty.docSpace") }) : /* @__PURE__ */ jsx(LoadingScreen, {}) })
|
|
104
|
+
] }) })
|
|
105
|
+
] });
|
|
106
|
+
};
|
|
107
|
+
export {
|
|
108
|
+
Nextcloud as default
|
|
109
|
+
};
|
package/dist/multimedia.js
CHANGED
|
@@ -4,12 +4,14 @@ import { default as default4 } from "./modules/multimedia/FileCard/FileCard.js";
|
|
|
4
4
|
import { default as default5 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
5
5
|
import { default as default6 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
6
6
|
import { default as default7 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
7
|
-
import { default as default8 } from "./modules/multimedia/
|
|
8
|
-
import { default as default9 } from "./modules/multimedia/
|
|
9
|
-
import { default as default10 } from "./modules/multimedia/
|
|
10
|
-
import { default as default11 } from "./modules/multimedia/
|
|
11
|
-
import { default as default12 } from "./modules/multimedia/
|
|
12
|
-
import { default as default13 } from "./modules/multimedia/
|
|
7
|
+
import { default as default8 } from "./modules/multimedia/Nextcloud/Nextcloud.js";
|
|
8
|
+
import { default as default9 } from "./modules/multimedia/FileCard/NextcloudFileCard.js";
|
|
9
|
+
import { default as default10 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
10
|
+
import { default as default11 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
11
|
+
import { default as default12 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
12
|
+
import { default as default13 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
13
|
+
import { default as default14 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
14
|
+
import { default as default15 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
13
15
|
import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
|
|
14
16
|
import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
|
|
15
17
|
import { Upload } from "./modules/multimedia/MediaLibrary/innertabs/Upload.js";
|
|
@@ -22,11 +24,13 @@ export {
|
|
|
22
24
|
default6 as ImagePicker,
|
|
23
25
|
InternalLinker,
|
|
24
26
|
default7 as MediaLibrary,
|
|
27
|
+
default8 as Nextcloud,
|
|
28
|
+
default9 as NextcloudFileCard,
|
|
25
29
|
Upload,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
default10 as UploadCard,
|
|
31
|
+
default11 as UploadFiles,
|
|
32
|
+
default12 as VideoEmbed,
|
|
33
|
+
default13 as VideoRecorder,
|
|
34
|
+
default14 as Workspace,
|
|
35
|
+
default15 as WorkspaceFolders
|
|
32
36
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.6.2-develop-integration
|
|
3
|
+
"version": "2.6.2-develop-integration.20260824122250",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -140,9 +140,9 @@
|
|
|
140
140
|
"swiper": "10.1.0",
|
|
141
141
|
"ua-parser-js": "1.0.36",
|
|
142
142
|
"zustand": "4.5.7",
|
|
143
|
-
"@edifice.io/
|
|
144
|
-
"@edifice.io/
|
|
145
|
-
"@edifice.io/
|
|
143
|
+
"@edifice.io/tiptap-extensions": "2.6.2-develop-integration.20260824122250",
|
|
144
|
+
"@edifice.io/utilities": "2.6.2-develop-integration.20260824122250",
|
|
145
|
+
"@edifice.io/bootstrap": "2.6.2-develop-integration.20260824122250"
|
|
146
146
|
},
|
|
147
147
|
"devDependencies": {
|
|
148
148
|
"@babel/plugin-transform-react-pure-annotations": "7.27.1",
|
|
@@ -173,8 +173,8 @@
|
|
|
173
173
|
"vite": "5.4.14",
|
|
174
174
|
"vite-plugin-dts": "4.5.4",
|
|
175
175
|
"vite-tsconfig-paths": "5.1.4",
|
|
176
|
-
"@edifice.io/
|
|
177
|
-
"@edifice.io/
|
|
176
|
+
"@edifice.io/config": "2.6.2-develop-integration.20260824122250",
|
|
177
|
+
"@edifice.io/client": "2.6.2-develop-integration.20260824122250"
|
|
178
178
|
},
|
|
179
179
|
"peerDependencies": {
|
|
180
180
|
"@react-spring/web": "9.7.5",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CommunityItemProps } from './CommunityItem';
|
|
2
|
-
export interface CommunitiesProps {
|
|
3
|
-
communitiesList?: CommunityItemProps[];
|
|
4
|
-
handleActionClick: () => void;
|
|
5
|
-
}
|
|
6
|
-
declare const Communities: {
|
|
7
|
-
({ communitiesList, handleActionClick, }: CommunitiesProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
export default Communities;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CommunitiesModel } from './useCommunities';
|
|
2
|
-
export type CommunitiesContainerProps = {
|
|
3
|
-
onCommunityClick?: (community: CommunitiesModel) => void;
|
|
4
|
-
onHeaderActionClick: () => void;
|
|
5
|
-
};
|
|
6
|
-
export declare function CommunitiesContainer({ onCommunityClick, onHeaderActionClick, }: CommunitiesContainerProps): import("react/jsx-runtime").JSX.Element | "An error occurred while loading communities.";
|
|
7
|
-
export declare namespace CommunitiesContainer {
|
|
8
|
-
var displayName: string;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface CommunityItemProps {
|
|
2
|
-
title: string;
|
|
3
|
-
communityImage: string;
|
|
4
|
-
onActionClick: () => void;
|
|
5
|
-
nbNotifications?: number;
|
|
6
|
-
}
|
|
7
|
-
declare const CommunityItem: {
|
|
8
|
-
({ title, communityImage, nbNotifications, onActionClick, }: CommunityItemProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export default CommunityItem;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './Communities';
|
|
2
|
-
export { default as Communities } from './Communities';
|
|
3
|
-
export * from './CommunitiesContainer';
|
|
4
|
-
export * from './CommunitiesSkeleton';
|
|
5
|
-
export { default as CommunitiesSkeleton } from './CommunitiesSkeleton';
|
|
6
|
-
export * from './CommunityItem';
|
|
7
|
-
export { default as CommunitiesItem } from './CommunityItem';
|
|
8
|
-
export * from './useCommunities';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface CommunitiesModel {
|
|
2
|
-
id: number | string;
|
|
3
|
-
title: string;
|
|
4
|
-
communityImage?: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
nbNotifications?: number;
|
|
7
|
-
notifications?: number;
|
|
8
|
-
}
|
|
9
|
-
export declare function useCommunities(): {
|
|
10
|
-
communities: CommunitiesModel[];
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
error: Error | null;
|
|
13
|
-
};
|
package/dist/modules/homepage/components/Notifications/components/NotificationFilterMenu.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type NotificationFilterMenuProps = {
|
|
2
|
-
/** All notification types available */
|
|
3
|
-
notificationTypes: string[];
|
|
4
|
-
/** Notification types currently applied as filter */
|
|
5
|
-
selectedTypes: string[];
|
|
6
|
-
/** Callback when the user validates a new filter selection */
|
|
7
|
-
onFilterChange: (types: string[]) => void;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Trigger button opening the notification types filter modal.
|
|
11
|
-
*/
|
|
12
|
-
declare const NotificationFilterMenu: {
|
|
13
|
-
({ notificationTypes, selectedTypes, onFilterChange, }: NotificationFilterMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
16
|
-
export default NotificationFilterMenu;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import { useTranslation } from "react-i18next";
|
|
4
|
-
import SvgIconFilter from "../../../../icons/components/IconFilter.js";
|
|
5
|
-
import SvgIconRafterDown from "../../../../icons/components/IconRafterDown.js";
|
|
6
|
-
import NotificationFilterModal from "./NotificationFilterModal.js";
|
|
7
|
-
import ButtonBeta from "../../../../../components/ButtonBeta/ButtonBeta.js";
|
|
8
|
-
const NotificationFilterMenu = ({
|
|
9
|
-
notificationTypes,
|
|
10
|
-
selectedTypes,
|
|
11
|
-
onFilterChange
|
|
12
|
-
}) => {
|
|
13
|
-
const {
|
|
14
|
-
t
|
|
15
|
-
} = useTranslation(), [isOpen, setIsOpen] = useState(!1), handleApply = (types) => {
|
|
16
|
-
onFilterChange(types), setIsOpen(!1);
|
|
17
|
-
};
|
|
18
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
19
|
-
/* @__PURE__ */ jsx(ButtonBeta, { type: "button", color: "secondary", variant: "outline", size: "md", leftIcon: /* @__PURE__ */ jsx(SvgIconFilter, {}), rightIcon: /* @__PURE__ */ jsx(SvgIconRafterDown, {}), "aria-label": t("homepage.notifications.filter-modal.trigger", {
|
|
20
|
-
defaultValue: "Filtrer les notifications"
|
|
21
|
-
}), title: t("homepage.notifications.filter-modal.trigger", {
|
|
22
|
-
defaultValue: "Filtrer les notifications"
|
|
23
|
-
}), onClick: () => setIsOpen(!0), "data-testid": "notification-filter-button" }),
|
|
24
|
-
isOpen && /* @__PURE__ */ jsx(NotificationFilterModal, { isOpen, allTypes: notificationTypes, appliedTypes: selectedTypes, onCancel: () => setIsOpen(!1), onApply: handleApply })
|
|
25
|
-
] });
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
NotificationFilterMenu as default
|
|
29
|
-
};
|
package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type NotificationFilterModalProps = {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
/** All notification types available */
|
|
4
|
-
allTypes: string[];
|
|
5
|
-
/** Notification types currently applied as filter */
|
|
6
|
-
appliedTypes: string[];
|
|
7
|
-
onCancel: () => void;
|
|
8
|
-
onApply: (types: string[]) => void;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Modal letting the user choose which notification types to display in the
|
|
12
|
-
* homepage notifications list.
|
|
13
|
-
*/
|
|
14
|
-
declare const NotificationFilterModal: {
|
|
15
|
-
({ isOpen, allTypes, appliedTypes, onCancel, onApply, }: NotificationFilterModalProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
export default NotificationFilterModal;
|
package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import { useTranslation } from "react-i18next";
|
|
5
|
-
import SvgIconCheck from "../../../../icons/components/IconCheck.js";
|
|
6
|
-
import { getAppCodeAndI18nKey } from "./notificationAdapter.js";
|
|
7
|
-
import Modal from "../../../../../components/Modal/Modal.js";
|
|
8
|
-
import Flex from "../../../../../components/Flex/Flex.js";
|
|
9
|
-
import Checkbox from "../../../../../components/Checkbox/Checkbox.js";
|
|
10
|
-
import AppIcon from "../../../../../components/AppIcon/AppIcon.js";
|
|
11
|
-
import ButtonBeta from "../../../../../components/ButtonBeta/ButtonBeta.js";
|
|
12
|
-
const NotificationFilterModal = ({
|
|
13
|
-
isOpen,
|
|
14
|
-
allTypes,
|
|
15
|
-
appliedTypes,
|
|
16
|
-
onCancel,
|
|
17
|
-
onApply
|
|
18
|
-
}) => {
|
|
19
|
-
const {
|
|
20
|
-
t
|
|
21
|
-
} = useTranslation(), [selected, setSelected] = useState(appliedTypes), toggleType = (type) => {
|
|
22
|
-
setSelected((current) => current.includes(type) ? current.filter((value) => value !== type) : [...current, type]);
|
|
23
|
-
}, toggleAll = () => {
|
|
24
|
-
setSelected(selected.length === allTypes.length ? [] : allTypes);
|
|
25
|
-
};
|
|
26
|
-
return /* @__PURE__ */ jsxs(Modal, { id: "notification-filter-modal", size: "lg", scrollable: !0, isOpen, onModalClose: onCancel, children: [
|
|
27
|
-
/* @__PURE__ */ jsx(Modal.Header, { onModalClose: onCancel, children: t("homepage.notifications.filter-modal.title", {
|
|
28
|
-
defaultValue: "Filtrer les notifications"
|
|
29
|
-
}) }),
|
|
30
|
-
/* @__PURE__ */ jsx(Modal.Subtitle, { children: t("homepage.notifications.filter-modal.subtitle", {
|
|
31
|
-
defaultValue: "Sélectionnez seulement les notifications importantes pour vous"
|
|
32
|
-
}) }),
|
|
33
|
-
/* @__PURE__ */ jsxs(Modal.Body, { children: [
|
|
34
|
-
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: "8", className: "mb-16", children: [
|
|
35
|
-
/* @__PURE__ */ jsx("div", { className: "notification-filter-select-all", children: /* @__PURE__ */ jsx(Checkbox, { label: t("homepage.notifications.filter-modal.select-all", {
|
|
36
|
-
defaultValue: "Tout sélectionner"
|
|
37
|
-
}), checked: selected.length === allTypes.length, indeterminate: selected.length > 0 && selected.length < allTypes.length, onChange: toggleAll }) }),
|
|
38
|
-
/* @__PURE__ */ jsx("span", { className: "notification-filter-count", children: t("homepage.notifications.filter-modal.count", {
|
|
39
|
-
selected: selected.length,
|
|
40
|
-
total: allTypes.length,
|
|
41
|
-
defaultValue: "[[selected]] / [[total]] sélectionnées"
|
|
42
|
-
}) })
|
|
43
|
-
] }),
|
|
44
|
-
/* @__PURE__ */ jsx(Flex, { wrap: "wrap", gap: "8", className: "notification-filter-options", children: allTypes.map((type) => {
|
|
45
|
-
const [appCode, appI18nKey] = getAppCodeAndI18nKey(type), checked = selected.includes(type);
|
|
46
|
-
return /* @__PURE__ */ jsxs("label", { className: clsx("notification-filter-chip", {
|
|
47
|
-
"is-checked": checked
|
|
48
|
-
}), children: [
|
|
49
|
-
/* @__PURE__ */ jsx(AppIcon, { app: appCode, size: "24", iconFit: "contain" }),
|
|
50
|
-
/* @__PURE__ */ jsx("span", { children: t(appI18nKey, {
|
|
51
|
-
defaultValue: appCode
|
|
52
|
-
}) }),
|
|
53
|
-
/* @__PURE__ */ jsx("input", { type: "checkbox", className: "form-check-input", checked, onChange: () => toggleType(type) })
|
|
54
|
-
] }, type);
|
|
55
|
-
}) })
|
|
56
|
-
] }),
|
|
57
|
-
/* @__PURE__ */ jsxs(Modal.Footer, { children: [
|
|
58
|
-
/* @__PURE__ */ jsx(ButtonBeta, { color: "tertiary", onClick: onCancel, type: "button", variant: "ghost", children: t("cancel") }),
|
|
59
|
-
/* @__PURE__ */ jsx(ButtonBeta, { color: "default", onClick: () => onApply(selected), type: "button", variant: "filled", rightIcon: /* @__PURE__ */ jsx(SvgIconCheck, {}), children: t("homepage.notifications.filter-modal.confirm", {
|
|
60
|
-
defaultValue: "Enregistrer"
|
|
61
|
-
}) })
|
|
62
|
-
] })
|
|
63
|
-
] });
|
|
64
|
-
};
|
|
65
|
-
export {
|
|
66
|
-
NotificationFilterModal as default
|
|
67
|
-
};
|
package/dist/modules/homepage/components/Notifications/components/NotificationOptionsMenu.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type NotificationOptionsMenuProps = {
|
|
2
|
-
notificationId: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* Options menu for a single notification row, allowing the user to report
|
|
6
|
-
* or delete it.
|
|
7
|
-
*/
|
|
8
|
-
declare const NotificationOptionsMenu: {
|
|
9
|
-
({ notificationId, }: NotificationOptionsMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
export default NotificationOptionsMenu;
|