@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
package/dist/index.js
CHANGED
|
@@ -44,79 +44,82 @@ import { default as default42 } from "./components/LogoBeta/LogoBeta.js";
|
|
|
44
44
|
import { default as default43 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
45
45
|
import { default as default44 } from "./components/MediaViewer/MediaViewer.js";
|
|
46
46
|
import { default as default45 } from "./components/Modal/Modal.js";
|
|
47
|
-
import { default as default46 } from "./modules/
|
|
48
|
-
import { default as default47 } from "./
|
|
49
|
-
import { default as default48 } from "./
|
|
50
|
-
import { default as default49
|
|
51
|
-
import { default as default50 } from "./
|
|
52
|
-
import { default as default51 } from "./components/
|
|
53
|
-
import { default as default52 } from "./
|
|
54
|
-
import { default as default53 } from "./components/
|
|
55
|
-
import { default as default54 } from "./components/
|
|
56
|
-
import { default as default55 } from "./components/
|
|
57
|
-
import { default as default56 } from "./components/
|
|
58
|
-
import { default as default57 } from "./
|
|
59
|
-
import { default as default58 } from "./
|
|
60
|
-
import { default as default59 } from "./modules/modals/ShareModal/
|
|
61
|
-
import { default as default60 } from "./
|
|
62
|
-
import { default as default61 } from "./
|
|
63
|
-
import { default as default62 } from "./components/
|
|
64
|
-
import { default as default63 } from "./components/
|
|
65
|
-
import { default as default64 } from "./components/
|
|
66
|
-
import { default as default65 } from "./components/
|
|
67
|
-
import { default as default66 } from "./components/
|
|
68
|
-
import { default as default67 } from "./components/
|
|
69
|
-
import { default as default68 } from "./components/
|
|
70
|
-
import { default as default69 } from "./components/
|
|
71
|
-
import { default as default70 } from "./
|
|
72
|
-
import { default as default71 } from "./
|
|
73
|
-
import { default as default72 } from "./modules/multimedia/
|
|
74
|
-
import { default as default73 } from "./modules/multimedia/
|
|
75
|
-
import { default as default74 } from "./
|
|
76
|
-
import { default as default75 } from "./modules/multimedia/
|
|
77
|
-
import { default as default76 } from "./
|
|
78
|
-
import { default as default77 } from "./
|
|
79
|
-
import { default as default78 } from "./
|
|
80
|
-
import { default as default79 } from "./hooks/
|
|
81
|
-
import { default as default80 } from "./hooks/
|
|
82
|
-
import { default as default81 } from "./hooks/
|
|
83
|
-
import { default as default82 } from "./hooks/
|
|
84
|
-
import { default as default83 } from "./hooks/
|
|
85
|
-
import { default as default84 } from "./hooks/
|
|
86
|
-
import { default as default85 } from "./hooks/
|
|
87
|
-
import { default as default86 } from "./hooks/
|
|
88
|
-
import { default as default87 } from "./hooks/
|
|
89
|
-
import { default as default88 } from "./hooks/
|
|
90
|
-
import { default as default89 } from "./hooks/
|
|
91
|
-
import { default as default90 } from "./hooks/
|
|
92
|
-
import { default as default91 } from "./hooks/
|
|
93
|
-
import { default as default92 } from "./hooks/
|
|
94
|
-
import { default as default93 } from "./hooks/
|
|
95
|
-
import { default as default94 } from "./hooks/
|
|
96
|
-
import { default as default95 } from "./hooks/
|
|
97
|
-
import { default as default96 } from "./hooks/
|
|
98
|
-
import { default as default97 } from "./hooks/
|
|
99
|
-
import { default as default98 } from "./hooks/
|
|
100
|
-
import { default as default99 } from "./hooks/
|
|
101
|
-
import { default as default100 } from "./hooks/
|
|
102
|
-
import { default as default101 } from "./hooks/
|
|
103
|
-
import { default as default102 } from "./
|
|
104
|
-
import { default as default103 } from "./hooks/
|
|
105
|
-
import { default as default104 } from "./hooks/
|
|
106
|
-
import { default as default105 } from "./hooks/
|
|
107
|
-
import { default as default106 } from "./hooks/
|
|
108
|
-
import { default as default107 } from "./hooks/
|
|
109
|
-
import { default as default108 } from "./hooks/
|
|
110
|
-
import { default as default109 } from "./
|
|
111
|
-
import { default as default110 } from "./hooks/
|
|
112
|
-
import { default as default111 } from "./hooks/
|
|
113
|
-
import { default as default112 } from "./hooks/
|
|
114
|
-
import { default as default113 } from "./hooks/
|
|
115
|
-
import { default as default114 } from "./hooks/
|
|
116
|
-
import {
|
|
117
|
-
import { default as default116 } from "./hooks/
|
|
118
|
-
import { default as default117 } from "./hooks/
|
|
119
|
-
import { default as default118 } from "./hooks/
|
|
47
|
+
import { default as default46 } from "./modules/multimedia/Nextcloud/Nextcloud.js";
|
|
48
|
+
import { default as default47 } from "./modules/multimedia/FileCard/NextcloudFileCard.js";
|
|
49
|
+
import { default as default48 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
50
|
+
import { default as default49 } from "./components/PageLayout/PageLayout.js";
|
|
51
|
+
import { default as default50 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
52
|
+
import { default as default51, Root } from "./components/PromotionCard/PromotionCard.js";
|
|
53
|
+
import { default as default52 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
54
|
+
import { default as default53 } from "./components/Radio/Radio.js";
|
|
55
|
+
import { default as default54 } from "./components/RadioCard/RadioCard.js";
|
|
56
|
+
import { default as default55 } from "./components/SearchBar/SearchBar.js";
|
|
57
|
+
import { default as default56 } from "./components/Button/SearchButton.js";
|
|
58
|
+
import { default as default57 } from "./components/SegmentedControl/SegmentedControl.js";
|
|
59
|
+
import { default as default58 } from "./components/Select/Select.js";
|
|
60
|
+
import { default as default59 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
61
|
+
import { default as default60 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
62
|
+
import { default as default61 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
63
|
+
import { default as default62 } from "./components/Tree/components/SortableTree.js";
|
|
64
|
+
import { default as default63 } from "./components/StackedGroup/StackedGroup.js";
|
|
65
|
+
import { default as default64 } from "./components/Stepper/Stepper.js";
|
|
66
|
+
import { default as default65 } from "./components/Switch/Switch.js";
|
|
67
|
+
import { default as default66 } from "./components/Table/components/Table.js";
|
|
68
|
+
import { default as default67 } from "./components/TextArea/TextArea.js";
|
|
69
|
+
import { default as default68 } from "./components/Skeleton/TextSkeleton.js";
|
|
70
|
+
import { default as default69 } from "./components/Tooltip/Tooltip.js";
|
|
71
|
+
import { default as default70 } from "./components/Tree/components/Tree.js";
|
|
72
|
+
import { default as default71 } from "./components/TreeView/TreeView.js";
|
|
73
|
+
import { default as default72 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
74
|
+
import { default as default73 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
75
|
+
import { default as default74 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
76
|
+
import { default as default75 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
77
|
+
import { default as default76 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
78
|
+
import { default as default77 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
79
|
+
import { default as default78 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
80
|
+
import { default as default79 } from "./hooks/useBookmark/useBookmark.js";
|
|
81
|
+
import { default as default80 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
82
|
+
import { default as default81 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
83
|
+
import { default as default82 } from "./hooks/useCantoo/useCantoo.js";
|
|
84
|
+
import { default as default83 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
85
|
+
import { default as default84 } from "./hooks/useConversation/useConversation.js";
|
|
86
|
+
import { default as default85 } from "./hooks/useDate/useDate.js";
|
|
87
|
+
import { default as default86 } from "./hooks/useDebounce/useDebounce.js";
|
|
88
|
+
import { default as default87 } from "./hooks/useDirectory/useDirectory.js";
|
|
89
|
+
import { default as default88 } from "./hooks/useDropdown/useDropdown.js";
|
|
90
|
+
import { default as default89 } from "./hooks/useDropzone/useDropzone.js";
|
|
91
|
+
import { default as default90 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
92
|
+
import { default as default91 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
93
|
+
import { default as default92 } from "./hooks/useHover/useHover.js";
|
|
94
|
+
import { default as default93 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
95
|
+
import { default as default94 } from "./hooks/useImage/useImage.js";
|
|
96
|
+
import { default as default95 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
|
|
97
|
+
import { default as default96 } from "./hooks/useIsAdmc/useIsAdmc.js";
|
|
98
|
+
import { default as default97 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
99
|
+
import { default as default98 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
|
|
100
|
+
import { default as default99 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
101
|
+
import { default as default100 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
102
|
+
import { default as default101 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
103
|
+
import { default as default102 } from "./hooks/useNextcloudSearch/useNextcloudSearch.js";
|
|
104
|
+
import { default as default103 } from "./hooks/usePublicConf/usePublicConf.js";
|
|
105
|
+
import { default as default104 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
106
|
+
import { default as default105 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
107
|
+
import { default as default106 } from "./hooks/useTitle/useTitle.js";
|
|
108
|
+
import { default as default107 } from "./hooks/useToast/useToast.js";
|
|
109
|
+
import { default as default108 } from "./hooks/useToggle/useToggle.js";
|
|
110
|
+
import { default as default109 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
111
|
+
import { default as default110 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
112
|
+
import { default as default111 } from "./hooks/useUiOverride/useUiOverride.js";
|
|
113
|
+
import { default as default112 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
114
|
+
import { default as default113 } from "./hooks/useUpload/useUpload.js";
|
|
115
|
+
import { default as default114 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
116
|
+
import { default as default115 } from "./hooks/useUser/useUser.js";
|
|
117
|
+
import { default as default116 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
118
|
+
import { default as default117 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
119
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default118 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
120
|
+
import { default as default119 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
121
|
+
import { default as default120 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
122
|
+
import { default as default121 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
120
123
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
121
124
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
122
125
|
import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
|
|
@@ -225,55 +228,57 @@ export {
|
|
|
225
228
|
Menu,
|
|
226
229
|
MockedProvider,
|
|
227
230
|
default45 as Modal,
|
|
228
|
-
default46 as
|
|
229
|
-
default47 as
|
|
231
|
+
default46 as Nextcloud,
|
|
232
|
+
default47 as NextcloudFileCard,
|
|
233
|
+
default48 as OnboardingModal,
|
|
234
|
+
default49 as PageLayout,
|
|
230
235
|
PageLayoutContext,
|
|
231
236
|
Pagination,
|
|
232
237
|
Popover,
|
|
233
238
|
PopoverBody,
|
|
234
239
|
PopoverFooter,
|
|
235
240
|
PopoverHeader,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
+
default50 as PreventPropagation,
|
|
242
|
+
default51 as PromotionCard,
|
|
243
|
+
default52 as PublishModal,
|
|
244
|
+
default53 as Radio,
|
|
245
|
+
default54 as RadioCard,
|
|
241
246
|
ResourceModal,
|
|
242
247
|
Root,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
248
|
+
default55 as SearchBar,
|
|
249
|
+
default56 as SearchButton,
|
|
250
|
+
default57 as SegmentedControl,
|
|
251
|
+
default58 as Select,
|
|
252
|
+
default59 as ShareBlog,
|
|
253
|
+
default60 as ShareModal,
|
|
254
|
+
default61 as ShareResources,
|
|
255
|
+
default62 as SortableTree,
|
|
256
|
+
default63 as StackedGroup,
|
|
257
|
+
default64 as Stepper,
|
|
258
|
+
default65 as Switch,
|
|
259
|
+
default66 as Table,
|
|
255
260
|
Tabs,
|
|
256
|
-
|
|
257
|
-
|
|
261
|
+
default67 as TextArea,
|
|
262
|
+
default68 as TextSkeleton,
|
|
258
263
|
Toolbar,
|
|
259
|
-
|
|
260
|
-
|
|
264
|
+
default69 as Tooltip,
|
|
265
|
+
default70 as Tree,
|
|
261
266
|
TreeNode,
|
|
262
267
|
TreeNodeFolderWrapper,
|
|
263
|
-
|
|
268
|
+
default71 as TreeView,
|
|
264
269
|
Upload,
|
|
265
|
-
|
|
266
|
-
|
|
270
|
+
default72 as UploadCard,
|
|
271
|
+
default73 as UploadFiles,
|
|
267
272
|
UserRightsList,
|
|
268
273
|
UserSearch,
|
|
269
|
-
|
|
270
|
-
|
|
274
|
+
default74 as VideoEmbed,
|
|
275
|
+
default75 as VideoRecorder,
|
|
271
276
|
VisibleType,
|
|
272
|
-
|
|
277
|
+
default76 as VisuallyHidden,
|
|
273
278
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
274
279
|
WORKSPACE_USER_FOLDER_ID,
|
|
275
|
-
|
|
276
|
-
|
|
280
|
+
default77 as Workspace,
|
|
281
|
+
default78 as WorkspaceFolders,
|
|
277
282
|
addNode,
|
|
278
283
|
arrayUnique,
|
|
279
284
|
buildTree,
|
|
@@ -304,57 +309,58 @@ export {
|
|
|
304
309
|
setRef,
|
|
305
310
|
updateNode,
|
|
306
311
|
updateParentIds,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
312
|
+
default79 as useBookmark,
|
|
313
|
+
default80 as useBreakpoint,
|
|
314
|
+
default81 as useBrowserInfo,
|
|
315
|
+
default82 as useCantoo,
|
|
311
316
|
useCheckable,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
default83 as useClickOutside,
|
|
318
|
+
default84 as useConversation,
|
|
319
|
+
default85 as useDate,
|
|
320
|
+
default86 as useDebounce,
|
|
321
|
+
default87 as useDirectory,
|
|
322
|
+
default88 as useDropdown,
|
|
323
|
+
default89 as useDropzone,
|
|
319
324
|
useDropzoneContext,
|
|
320
325
|
useEdificeClient,
|
|
321
|
-
|
|
326
|
+
default90 as useEdificeIcons,
|
|
322
327
|
useEdificeTheme,
|
|
323
328
|
useFileToAttachment,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
329
|
+
default91 as useHasWorkflow,
|
|
330
|
+
default92 as useHover,
|
|
331
|
+
default93 as useHttpErrorToast,
|
|
332
|
+
default94 as useImage,
|
|
333
|
+
default95 as useInfiniteScroll,
|
|
334
|
+
default96 as useIsAdmc,
|
|
335
|
+
default97 as useIsAdml,
|
|
336
|
+
default98 as useIsAdmlcOrAdmc,
|
|
337
|
+
default99 as useKeyPress,
|
|
338
|
+
default100 as useLibraryUrl,
|
|
339
|
+
default101 as useMediaLibrary,
|
|
340
|
+
default102 as useNextcloudSearch,
|
|
335
341
|
useOverlay,
|
|
336
342
|
usePageLayout,
|
|
337
|
-
|
|
343
|
+
default103 as usePublicConf,
|
|
338
344
|
useScreeb,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
345
|
+
default104 as useScrollToTop,
|
|
346
|
+
default105 as useShareMutation,
|
|
347
|
+
default106 as useTitle,
|
|
348
|
+
default107 as useToast,
|
|
349
|
+
default108 as useToggle,
|
|
350
|
+
default109 as useTrapFocus,
|
|
351
|
+
default110 as useTrashedResource,
|
|
346
352
|
useTreeSortable,
|
|
347
353
|
useTreeView,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
354
|
+
default111 as useUiOverride,
|
|
355
|
+
default112 as useUpdateMutation,
|
|
356
|
+
default113 as useUpload,
|
|
357
|
+
default114 as useUploadFiles,
|
|
358
|
+
default115 as useUser,
|
|
359
|
+
default116 as useWorkspaceFile,
|
|
360
|
+
default117 as useWorkspaceFolders,
|
|
361
|
+
default118 as useWorkspaceFoldersTree,
|
|
362
|
+
default119 as useWorkspaceSearch,
|
|
363
|
+
default120 as useXitiTrackPageLoad,
|
|
364
|
+
default121 as useZendeskGuide,
|
|
359
365
|
wrapTreeNode
|
|
360
366
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
2
|
import { useTranslation } from "react-i18next";
|
|
4
3
|
import illuEmptyFavorite from "@edifice.io/bootstrap/dist/images/homepage/illu-empty-favorite.svg";
|
|
5
4
|
import SvgIconArrowRight from "../../../icons/components/IconArrowRight.js";
|
|
@@ -12,15 +11,13 @@ function Favorites({
|
|
|
12
11
|
}) {
|
|
13
12
|
const {
|
|
14
13
|
t
|
|
15
|
-
} = useTranslation(), getAppName = (app) => app.prefix && app.prefix.length > 1 ? t(app.prefix.substring(1)) : t(app.displayName) || ""
|
|
16
|
-
sensitivity: "base"
|
|
17
|
-
})), [apps, t]);
|
|
14
|
+
} = useTranslation(), getAppName = (app) => app.prefix && app.prefix.length > 1 ? t(app.prefix.substring(1)) : t(app.displayName) || "";
|
|
18
15
|
return /* @__PURE__ */ jsxs(HomeCard, { variant: "secondary", children: [
|
|
19
16
|
/* @__PURE__ */ jsx(HomeCard.Header, { title: t("homepage.favorites.title", "Favoris"), actionLabel: t("homepage.favorites.all", "Mes applis"), onActionClick: onSeeAllClick, actionRightIcon: /* @__PURE__ */ jsx(SvgIconArrowRight, {}) }),
|
|
20
|
-
/* @__PURE__ */ jsx(HomeCard.Content, { children: /* @__PURE__ */ jsx("div", { className: "favorites-content", children:
|
|
21
|
-
/* @__PURE__ */ jsx("img", { src: illuEmptyFavorite, alt: "", width:
|
|
17
|
+
/* @__PURE__ */ jsx(HomeCard.Content, { children: /* @__PURE__ */ jsx("div", { className: "favorites-content", children: apps.length === 0 ? /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "12", children: [
|
|
18
|
+
/* @__PURE__ */ jsx("img", { src: illuEmptyFavorite, alt: "", width: 80, height: 80 }),
|
|
22
19
|
/* @__PURE__ */ jsx("span", { className: "favorites-empty-text", children: t("homepage.favorites.empty", "Ajouter des applications à vos favoris pour les retrouver ici et y accéder rapidement !") })
|
|
23
|
-
] }) : /* @__PURE__ */ jsx(Flex, { wrap: "wrap", gap: "8 16", children:
|
|
20
|
+
] }) : /* @__PURE__ */ jsx(Flex, { wrap: "wrap", gap: "8 16", children: apps.map((app) => {
|
|
24
21
|
const appName = getAppName(app), opensInNewTab = app.isExternal || app.target === "_blank";
|
|
25
22
|
return /* @__PURE__ */ jsx("a", { href: app.address, "aria-label": appName, title: appName, target: opensInNewTab ? "_blank" : void 0, rel: opensInNewTab ? "noopener noreferrer" : void 0, children: /* @__PURE__ */ jsx(AppIcon, { app, size: "40", variant: "square" }) }, app.name);
|
|
26
23
|
}) }) }) })
|
|
@@ -20,13 +20,9 @@ export interface HomeCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
20
20
|
* `HomeCard.Header` is rendered with these props.
|
|
21
21
|
*/
|
|
22
22
|
headerProps?: HomeCardHeaderProps;
|
|
23
|
-
/**
|
|
24
|
-
* Optional footer
|
|
25
|
-
*/
|
|
26
|
-
footer?: ReactNode;
|
|
27
23
|
}
|
|
28
24
|
declare const HomeCard: {
|
|
29
|
-
({ variant, children, headerProps,
|
|
25
|
+
({ variant, children, headerProps, className, ...rest }: HomeCardProps): import("react/jsx-runtime").JSX.Element;
|
|
30
26
|
displayName: string;
|
|
31
27
|
} & {
|
|
32
28
|
Header: {
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import HomeCardContent from "./HomeCardContent.js";
|
|
4
4
|
import HomeCardHeader from "./HomeCardHeader.js";
|
|
5
|
-
import Flex from "../../../../components/Flex/Flex.js";
|
|
6
5
|
const Root = ({
|
|
7
6
|
variant = "user",
|
|
8
7
|
children,
|
|
9
8
|
headerProps,
|
|
10
|
-
footer,
|
|
11
9
|
className,
|
|
12
10
|
...rest
|
|
13
|
-
}) => {
|
|
14
|
-
const classNames = clsx("home-card", `home-card--${variant}`, className), content = /* @__PURE__ */ jsx("div", { "data-testid": "home-card", "data-variant": variant, className: classNames, ...rest, children: headerProps && !children ? /* @__PURE__ */ jsx(HomeCardHeader, { ...headerProps }) : children });
|
|
15
|
-
return footer ? /* @__PURE__ */ jsxs("div", { className: "home-card--with-footer", children: [
|
|
16
|
-
content,
|
|
17
|
-
/* @__PURE__ */ jsx(Flex, { direction: "row", gap: "8", className: "px-16 py-4 home-card-footer", children: footer })
|
|
18
|
-
] }) : content;
|
|
19
|
-
}, HomeCard = Object.assign(Root, {
|
|
11
|
+
}) => /* @__PURE__ */ jsx("div", { "data-testid": "home-card", "data-variant": variant, className: clsx("home-card", `home-card--${variant}`, className), ...rest, children: headerProps && !children ? /* @__PURE__ */ jsx(HomeCardHeader, { ...headerProps }) : children }), HomeCard = Object.assign(Root, {
|
|
20
12
|
Header: HomeCardHeader,
|
|
21
13
|
Content: HomeCardContent
|
|
22
14
|
});
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import SvgIconArrowRight from "../../../icons/components/IconArrowRight.js";
|
|
4
4
|
import LastInfos from "./LastInfos.js";
|
|
5
|
-
import illuLastInfosEmptyScreen from "@edifice.io/bootstrap/dist/images/homepage/illu-
|
|
5
|
+
import illuLastInfosEmptyScreen from "@edifice.io/bootstrap/dist/images/homepage/illu-last-infos-beta.svg";
|
|
6
6
|
import Flex from "../../../../components/Flex/Flex.js";
|
|
7
7
|
import ButtonBeta from "../../../../components/ButtonBeta/ButtonBeta.js";
|
|
8
8
|
import EmptyScreen from "../../../../components/EmptyScreen/EmptyScreen.js";
|
|
@@ -23,7 +23,7 @@ function LastInfosList({
|
|
|
23
23
|
/* @__PURE__ */ jsx("h2", { className: "last-infos-list-title", children: t("homepage.last-infos-list.title") }),
|
|
24
24
|
/* @__PURE__ */ jsx(ButtonBeta, { color: "tertiary", variant: "ghost", className: "last-infos-list-seemore", rightIcon: /* @__PURE__ */ jsx(SvgIconArrowRight, {}), onClick: handleSeeMoreClick, children: t("homepage.last-infos-list.see.more") })
|
|
25
25
|
] }),
|
|
26
|
-
/* @__PURE__ */ jsx("
|
|
26
|
+
/* @__PURE__ */ jsx(Flex, { gap: "16", direction: "column", className: "last-infos-list-body", children: infos.length === 0 ? /* @__PURE__ */ jsx(EmptyScreen, { imageSrc: illuLastInfosEmptyScreen, size: 64, text: t("homepage.last-infos-list.empty") }) : infos.map((infosProps) => /* @__PURE__ */ jsx(LastInfos, { onClick: handleInfoClick, ...infosProps }, infosProps.id)) })
|
|
27
27
|
] });
|
|
28
28
|
}
|
|
29
29
|
export {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import NotificationOptionsMenu from "./components/NotificationOptionsMenu.js";
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
3
2
|
import SystemNotificationItem from "./components/SystemNotificationItem.js";
|
|
4
3
|
import UserNotificationItem from "./components/UserNotificationItem.js";
|
|
5
4
|
import { notificationAdapter } from "./components/notificationAdapter.js";
|
|
6
5
|
const NotificationItem = ({
|
|
7
6
|
notification
|
|
8
7
|
}) => {
|
|
9
|
-
const notif = notificationAdapter(notification)
|
|
8
|
+
const notif = notificationAdapter(notification);
|
|
10
9
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
11
|
-
notif.type === "user" && /* @__PURE__ */ jsx(UserNotificationItem, { notification: notif
|
|
12
|
-
notif.type === "system" && /* @__PURE__ */ jsx(SystemNotificationItem, { notification: notif
|
|
10
|
+
notif.type === "user" && /* @__PURE__ */ jsx(UserNotificationItem, { notification: notif }),
|
|
11
|
+
notif.type === "system" && /* @__PURE__ */ jsx(SystemNotificationItem, { notification: notif })
|
|
13
12
|
] });
|
|
14
13
|
};
|
|
15
14
|
export {
|
|
@@ -2,12 +2,6 @@ import { NotificationModel } from '@edifice.io/client';
|
|
|
2
2
|
export type NotificationListProps = {
|
|
3
3
|
/** List of notifications to display */
|
|
4
4
|
notifications?: NotificationModel[];
|
|
5
|
-
/** All notification types available to filter on */
|
|
6
|
-
notificationTypes?: string[];
|
|
7
|
-
/** Notification types currently applied as filter */
|
|
8
|
-
selectedTypes?: string[];
|
|
9
|
-
/** Callback when the user validates a new filter selection */
|
|
10
|
-
onFilterChange?: (types: string[]) => void;
|
|
11
5
|
/** Callback when the notifications list is closed */
|
|
12
6
|
onCloseNotifications?: () => void;
|
|
13
7
|
/** Callback to load the next page of notifications, used for infinite scrolling */
|
|
@@ -18,7 +12,7 @@ export type NotificationListProps = {
|
|
|
18
12
|
isLoading?: boolean;
|
|
19
13
|
};
|
|
20
14
|
declare const NotificationList: {
|
|
21
|
-
({ notifications,
|
|
15
|
+
({ notifications, onCloseNotifications, onLoadNextPage, hasNextPage, isLoading, }: NotificationListProps): import("react/jsx-runtime").JSX.Element;
|
|
22
16
|
displayName: string;
|
|
23
17
|
};
|
|
24
18
|
export default NotificationList;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import illuEmptyNotification from "@edifice.io/bootstrap/dist/images/
|
|
2
|
+
import illuEmptyNotification from "@edifice.io/bootstrap/dist/images/emptyscreen/illu-notifications.png";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import SvgIconClose from "../../../icons/components/IconClose.js";
|
|
5
|
-
import NotificationFilterMenu from "./components/NotificationFilterMenu.js";
|
|
6
5
|
import NotificationItem from "./NotificationItem.js";
|
|
7
6
|
import NotificationListSkeleton from "./NotificationListSkeleton.js";
|
|
8
7
|
import NotificationSkeleton from "./NotificationSkeleton.js";
|
|
@@ -13,9 +12,6 @@ import EmptyScreen from "../../../../components/EmptyScreen/EmptyScreen.js";
|
|
|
13
12
|
import Divider from "../../../../components/Divider/Divider.js";
|
|
14
13
|
const NotificationList = ({
|
|
15
14
|
notifications,
|
|
16
|
-
notificationTypes,
|
|
17
|
-
selectedTypes,
|
|
18
|
-
onFilterChange,
|
|
19
15
|
onCloseNotifications,
|
|
20
16
|
onLoadNextPage,
|
|
21
17
|
hasNextPage,
|
|
@@ -30,13 +26,10 @@ const NotificationList = ({
|
|
|
30
26
|
};
|
|
31
27
|
return /* @__PURE__ */ jsx("section", { role: "region", className: "notification-list", children: /* @__PURE__ */ jsxs(Flex, { direction: "column", children: [
|
|
32
28
|
/* @__PURE__ */ jsxs(Flex, { justify: "between", align: "center", wrap: "nowrap", className: "py-16 ps-24 pe-8", children: [
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */ jsx("h4", { className: "text-truncate", children: t("homepage.notifications-list.title") }),
|
|
35
|
-
notificationTypes && notificationTypes.length > 0 && /* @__PURE__ */ jsx(NotificationFilterMenu, { notificationTypes, selectedTypes: selectedTypes ?? notificationTypes, onFilterChange: (types) => onFilterChange == null ? void 0 : onFilterChange(types) })
|
|
36
|
-
] }),
|
|
29
|
+
/* @__PURE__ */ jsx("h4", { className: "text-truncate", children: t("homepage.notifications-list.title") }),
|
|
37
30
|
onCloseNotifications && /* @__PURE__ */ jsx(ButtonBeta, { color: "tertiary", variant: "ghost", rightIcon: /* @__PURE__ */ jsx(SvgIconClose, {}), onClick: handleCloseClick, "aria-label": t("homepage.notifications-list.close"), title: t("homepage.notifications-list.close"), "data-testid": "notification-list-close-button" })
|
|
38
31
|
] }),
|
|
39
|
-
(notifications == null ? void 0 : notifications.length) === 0 ? /* @__PURE__ */ jsx("div", { className: "mx-24", children: /* @__PURE__ */ jsx(EmptyScreen, { size:
|
|
32
|
+
(notifications == null ? void 0 : notifications.length) === 0 ? /* @__PURE__ */ jsx("div", { className: "mx-24", children: /* @__PURE__ */ jsx(EmptyScreen, { size: 120, imageSrc: illuEmptyNotification, imageAlt: t("homepage.notifications-list.empty.description"), text: t("homepage.notifications-list.empty.description") }) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
40
33
|
/* @__PURE__ */ jsx("ul", { children: notifications == null ? void 0 : notifications.map((notification, index) => /* @__PURE__ */ jsxs("li", { children: [
|
|
41
34
|
/* @__PURE__ */ jsx(NotificationItem, { notification }),
|
|
42
35
|
/* @__PURE__ */ jsx(Divider, { className: "border-grey-300 my-0" })
|
|
@@ -6,14 +6,11 @@ const NotificationListContainer = ({
|
|
|
6
6
|
}) => {
|
|
7
7
|
const {
|
|
8
8
|
notifications,
|
|
9
|
-
notificationTypes,
|
|
10
|
-
selectedTypes,
|
|
11
|
-
setSelectedTypes,
|
|
12
9
|
hasNextPage,
|
|
13
10
|
loadNextPage,
|
|
14
11
|
isLoading
|
|
15
12
|
} = useNotificationListContainer();
|
|
16
|
-
return /* @__PURE__ */ jsx(NotificationList, { notifications,
|
|
13
|
+
return /* @__PURE__ */ jsx(NotificationList, { notifications, onCloseNotifications, onLoadNextPage: () => {
|
|
17
14
|
hasNextPage && !isLoading && loadNextPage();
|
|
18
15
|
}, hasNextPage, isLoading });
|
|
19
16
|
};
|
package/dist/modules/homepage/components/Notifications/components/CommonNotificationItem.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export type NotificationItemProps = {
|
|
|
5
5
|
date: Date;
|
|
6
6
|
uri?: string;
|
|
7
7
|
children?: ReactNode;
|
|
8
|
-
menu?: ReactNode;
|
|
9
8
|
};
|
|
10
9
|
/**
|
|
11
10
|
* Base layout for a single notification row.
|
|
@@ -19,7 +18,7 @@ export type NotificationItemProps = {
|
|
|
19
18
|
* `SystemNotification` instead of consuming this directly.
|
|
20
19
|
*/
|
|
21
20
|
declare const CommonNotificationItem: {
|
|
22
|
-
({ picture, message, date, uri, children,
|
|
21
|
+
({ picture, message, date, uri, children, }: NotificationItemProps): import("react/jsx-runtime").JSX.Element;
|
|
23
22
|
displayName: string;
|
|
24
23
|
};
|
|
25
24
|
export default CommonNotificationItem;
|
|
@@ -6,25 +6,21 @@ const CommonNotificationItem = ({
|
|
|
6
6
|
message,
|
|
7
7
|
date,
|
|
8
8
|
uri,
|
|
9
|
-
children
|
|
10
|
-
menu
|
|
9
|
+
children
|
|
11
10
|
}) => {
|
|
12
11
|
const {
|
|
13
12
|
formatTimeAgo,
|
|
14
13
|
formatDate
|
|
15
14
|
} = useDate();
|
|
16
|
-
return /* @__PURE__ */ jsx(Flex, { direction: "column", className: "notification-item", gap: "8", children: /* @__PURE__ */ jsxs(Flex, { direction: "row",
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
|
|
19
|
-
/* @__PURE__ */ jsx("
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
] }) })
|
|
26
|
-
] }),
|
|
27
|
-
menu && /* @__PURE__ */ jsx("div", { className: "notification-item-menu", children: menu })
|
|
15
|
+
return /* @__PURE__ */ jsx(Flex, { direction: "column", className: "notification-item", gap: "8", children: /* @__PURE__ */ jsxs(Flex, { direction: "row", gap: "8", children: [
|
|
16
|
+
/* @__PURE__ */ jsx("div", { className: "notification-item-picture", children: picture }),
|
|
17
|
+
/* @__PURE__ */ jsx("a", { href: uri, "data-testid": "notification-item-content", children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "8", children: [
|
|
18
|
+
/* @__PURE__ */ jsx("div", { className: "notification-item-message", dangerouslySetInnerHTML: {
|
|
19
|
+
__html: message
|
|
20
|
+
} }),
|
|
21
|
+
children,
|
|
22
|
+
/* @__PURE__ */ jsx("p", { className: "notification-item-date", title: formatDate(date, "LLL"), children: formatTimeAgo(date) })
|
|
23
|
+
] }) })
|
|
28
24
|
] }) });
|
|
29
25
|
};
|
|
30
26
|
export {
|
package/dist/modules/homepage/components/Notifications/components/NotificationItemResource.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export type NotificationItemResourceProps = {
|
|
2
2
|
appCode: string;
|
|
3
|
-
appI18nKey: string;
|
|
4
3
|
};
|
|
5
4
|
/**
|
|
6
5
|
* Displays the originating application of a notification as a small icon + label.
|
|
@@ -10,7 +9,7 @@ export type NotificationItemResourceProps = {
|
|
|
10
9
|
*
|
|
11
10
|
*/
|
|
12
11
|
declare const NotificationItemResource: {
|
|
13
|
-
({ appCode,
|
|
12
|
+
({ appCode, }: NotificationItemResourceProps): import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
displayName: string;
|
|
15
14
|
};
|
|
16
15
|
export default NotificationItemResource;
|