@edifice.io/react 2.6.10-develop-pedago.20261021184048 → 2.6.10-develop-integration.20261021201242

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.
Files changed (32) hide show
  1. package/dist/hooks/index.d.ts +1 -0
  2. package/dist/hooks/useGoogleDriveSearch/index.d.ts +1 -0
  3. package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.d.ts +19 -0
  4. package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.js +60 -0
  5. package/dist/icons-apps.js +184 -182
  6. package/dist/index.js +198 -192
  7. package/dist/modules/homepage/components/Notifications/components/CommonNotificationItem.js +9 -9
  8. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +2 -1
  9. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +2 -2
  10. package/dist/modules/icons/components/apps/IconElea.d.ts +7 -0
  11. package/dist/modules/icons/components/apps/IconElea.js +23 -0
  12. package/dist/modules/icons/components/apps/index.d.ts +1 -0
  13. package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.d.ts +25 -0
  14. package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.js +102 -0
  15. package/dist/modules/multimedia/FileCard/index.d.ts +2 -0
  16. package/dist/modules/multimedia/GoogleDrive/GoogleDrive.d.ts +24 -0
  17. package/dist/modules/multimedia/GoogleDrive/GoogleDrive.js +103 -0
  18. package/dist/modules/multimedia/GoogleDrive/index.d.ts +2 -0
  19. package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +7 -1
  20. package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +2 -0
  21. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.d.ts +0 -2
  22. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +16 -7
  23. package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.d.ts +0 -4
  24. package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.d.ts +1 -0
  25. package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.js +61 -0
  26. package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +1 -2
  27. package/dist/modules/multimedia/MediaLibrary/innertabs/Workspace.js +0 -3
  28. package/dist/modules/multimedia/MediaLibrary/innertabs/index.d.ts +1 -0
  29. package/dist/modules/multimedia/MediaLibrary/innertabs/index.js +2 -0
  30. package/dist/modules/multimedia/index.d.ts +1 -0
  31. package/dist/multimedia.js +26 -22
  32. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -30,100 +30,103 @@ import { default as default28 } from "./modules/multimedia/FileCard/FileCard.js"
30
30
  import { default as default29 } from "./components/Flex/Flex.js";
31
31
  import { default as default30 } from "./components/Form/FormControl.js";
32
32
  import { default as default31 } from "./components/Form/FormText.js";
33
- import { default as default32 } from "./components/Heading/Heading.js";
34
- import { default as default33 } from "./components/Button/IconButton.js";
35
- import { default as default34 } from "./components/Image/Image.js";
36
- import { default as default35 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
37
- import { default as default36 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
38
- import { default as default37 } from "./components/Input/Input.js";
39
- import { default as default38 } from "./components/Label/Label.js";
40
- import { default as default39 } from "./components/LinkPill/LinkPill.js";
41
- import { default as default40 } from "./components/Loading/Loading.js";
42
- import { default as default41 } from "./components/LoadingScreen/LoadingScreen.js";
43
- import { default as default42 } from "./components/Logo/Logo.js";
44
- import { default as default43 } from "./components/LogoBeta/LogoBeta.js";
45
- import { default as default44 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
46
- import { default as default45 } from "./components/MediaViewer/MediaViewer.js";
47
- import { default as default46 } from "./components/Modal/Modal.js";
48
- import { default as default47 } from "./components/ModalBeta/ModalBeta.js";
49
- import { default as default48 } from "./modules/multimedia/Nextcloud/Nextcloud.js";
50
- import { default as default49 } from "./modules/multimedia/FileCard/NextcloudFileCard.js";
51
- import { default as default50 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
52
- import { default as default51 } from "./components/PageLayout/PageLayout.js";
53
- import { default as default52 } from "./components/PreventPropagation/PreventPropagation.js";
54
- import { default as default53, Root } from "./components/PromotionCard/PromotionCard.js";
55
- import { default as default54 } from "./modules/modals/PublishModal/PublishModal.js";
56
- import { default as default55 } from "./components/Radio/Radio.js";
57
- import { default as default56 } from "./components/RadioCard/RadioCard.js";
58
- import { default as default57 } from "./components/RadioTile/RadioTile.js";
59
- import { default as default58 } from "./components/SearchBar/SearchBar.js";
60
- import { default as default59 } from "./components/Button/SearchButton.js";
61
- import { default as default60 } from "./components/SegmentedControl/SegmentedControl.js";
62
- import { default as default61 } from "./components/Select/Select.js";
63
- import { default as default62 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
64
- import { default as default63 } from "./modules/modals/ShareModal/ShareModal.js";
65
- import { default as default64 } from "./modules/modals/ShareModal/ShareResources.js";
66
- import { default as default65 } from "./components/Tree/components/SortableTree.js";
67
- import { default as default66 } from "./components/StackedGroup/StackedGroup.js";
68
- import { default as default67 } from "./components/Stepper/Stepper.js";
69
- import { default as default68 } from "./components/Switch/Switch.js";
70
- import { default as default69 } from "./components/Table/components/Table.js";
71
- import { default as default70 } from "./components/TextArea/TextArea.js";
72
- import { default as default71 } from "./components/Skeleton/TextSkeleton.js";
73
- import { default as default72 } from "./components/Tooltip/Tooltip.js";
74
- import { default as default73 } from "./components/Tree/components/Tree.js";
75
- import { default as default74 } from "./components/TreeView/TreeView.js";
76
- import { default as default75 } from "./modules/multimedia/UploadCard/UploadCard.js";
77
- import { default as default76 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
78
- import { default as default77 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
79
- import { default as default78 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
80
- import { default as default79 } from "./components/VisuallyHidden/VisuallyHidden.js";
81
- import { default as default80 } from "./modules/multimedia/Workspace/Workspace.js";
82
- import { default as default81 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
83
- import { default as default82 } from "./hooks/useBookmark/useBookmark.js";
84
- import { default as default83 } from "./hooks/useBreakpoint/useBreakpoint.js";
85
- import { default as default84 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
86
- import { default as default85 } from "./hooks/useCantoo/useCantoo.js";
87
- import { default as default86 } from "./hooks/useCarbonioUnread/useCarbonioUnread.js";
88
- import { default as default87 } from "./hooks/useClickOutside/useClickOutside.js";
89
- import { default as default88 } from "./hooks/useConversation/useConversation.js";
90
- import { default as default89 } from "./hooks/useDate/useDate.js";
91
- import { default as default90 } from "./hooks/useDebounce/useDebounce.js";
92
- import { default as default91 } from "./hooks/useDirectory/useDirectory.js";
93
- import { default as default92 } from "./hooks/useDropdown/useDropdown.js";
94
- import { default as default93 } from "./hooks/useDropzone/useDropzone.js";
95
- import { default as default94 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
96
- import { default as default95 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
97
- import { default as default96 } from "./hooks/useHover/useHover.js";
98
- import { default as default97 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
99
- import { default as default98 } from "./hooks/useImage/useImage.js";
100
- import { default as default99 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
101
- import { default as default100 } from "./hooks/useIsAdmc/useIsAdmc.js";
102
- import { default as default101 } from "./hooks/useIsAdml/useIsAdml.js";
103
- import { default as default102 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
104
- import { default as default103 } from "./hooks/useKeyPress/useKeyPress.js";
105
- import { default as default104 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
106
- import { default as default105 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
107
- import { default as default106 } from "./hooks/useNextcloudSearch/useNextcloudSearch.js";
108
- import { default as default107 } from "./hooks/usePublicConf/usePublicConf.js";
109
- import { default as default108 } from "./hooks/useScrollToTop/useScrollToTop.js";
110
- import { default as default109 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
111
- import { default as default110 } from "./hooks/useTitle/useTitle.js";
112
- import { default as default111 } from "./hooks/useToast/useToast.js";
113
- import { default as default112 } from "./hooks/useToggle/useToggle.js";
114
- import { default as default113 } from "./hooks/useTrapFocus/useTrapFocus.js";
115
- import { default as default114 } from "./hooks/useTrashedResource/useTrashedResource.js";
116
- import { default as default115 } from "./hooks/useUiOverride/useUiOverride.js";
117
- import { default as default116 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
118
- import { default as default117 } from "./hooks/useUpload/useUpload.js";
119
- import { default as default118 } from "./hooks/useUploadFiles/useUploadFiles.js";
120
- import { default as default119 } from "./hooks/useUser/useUser.js";
121
- import { default as default120 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
122
- import { default as default121 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
123
- import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default122 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
124
- import { default as default123 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
125
- import { default as default124 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
126
- import { default as default125 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
33
+ import { default as default32 } from "./modules/multimedia/GoogleDrive/GoogleDrive.js";
34
+ import { default as default33 } from "./modules/multimedia/FileCard/GoogleDriveFileCard.js";
35
+ import { default as default34 } from "./components/Heading/Heading.js";
36
+ import { default as default35 } from "./components/Button/IconButton.js";
37
+ import { default as default36 } from "./components/Image/Image.js";
38
+ import { default as default37 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
39
+ import { default as default38 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
40
+ import { default as default39 } from "./components/Input/Input.js";
41
+ import { default as default40 } from "./components/Label/Label.js";
42
+ import { default as default41 } from "./components/LinkPill/LinkPill.js";
43
+ import { default as default42 } from "./components/Loading/Loading.js";
44
+ import { default as default43 } from "./components/LoadingScreen/LoadingScreen.js";
45
+ import { default as default44 } from "./components/Logo/Logo.js";
46
+ import { default as default45 } from "./components/LogoBeta/LogoBeta.js";
47
+ import { default as default46 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
48
+ import { default as default47 } from "./components/MediaViewer/MediaViewer.js";
49
+ import { default as default48 } from "./components/Modal/Modal.js";
50
+ import { default as default49 } from "./components/ModalBeta/ModalBeta.js";
51
+ import { default as default50 } from "./modules/multimedia/Nextcloud/Nextcloud.js";
52
+ import { default as default51 } from "./modules/multimedia/FileCard/NextcloudFileCard.js";
53
+ import { default as default52 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
54
+ import { default as default53 } from "./components/PageLayout/PageLayout.js";
55
+ import { default as default54 } from "./components/PreventPropagation/PreventPropagation.js";
56
+ import { default as default55, Root } from "./components/PromotionCard/PromotionCard.js";
57
+ import { default as default56 } from "./modules/modals/PublishModal/PublishModal.js";
58
+ import { default as default57 } from "./components/Radio/Radio.js";
59
+ import { default as default58 } from "./components/RadioCard/RadioCard.js";
60
+ import { default as default59 } from "./components/RadioTile/RadioTile.js";
61
+ import { default as default60 } from "./components/SearchBar/SearchBar.js";
62
+ import { default as default61 } from "./components/Button/SearchButton.js";
63
+ import { default as default62 } from "./components/SegmentedControl/SegmentedControl.js";
64
+ import { default as default63 } from "./components/Select/Select.js";
65
+ import { default as default64 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
66
+ import { default as default65 } from "./modules/modals/ShareModal/ShareModal.js";
67
+ import { default as default66 } from "./modules/modals/ShareModal/ShareResources.js";
68
+ import { default as default67 } from "./components/Tree/components/SortableTree.js";
69
+ import { default as default68 } from "./components/StackedGroup/StackedGroup.js";
70
+ import { default as default69 } from "./components/Stepper/Stepper.js";
71
+ import { default as default70 } from "./components/Switch/Switch.js";
72
+ import { default as default71 } from "./components/Table/components/Table.js";
73
+ import { default as default72 } from "./components/TextArea/TextArea.js";
74
+ import { default as default73 } from "./components/Skeleton/TextSkeleton.js";
75
+ import { default as default74 } from "./components/Tooltip/Tooltip.js";
76
+ import { default as default75 } from "./components/Tree/components/Tree.js";
77
+ import { default as default76 } from "./components/TreeView/TreeView.js";
78
+ import { default as default77 } from "./modules/multimedia/UploadCard/UploadCard.js";
79
+ import { default as default78 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
80
+ import { default as default79 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
81
+ import { default as default80 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
82
+ import { default as default81 } from "./components/VisuallyHidden/VisuallyHidden.js";
83
+ import { default as default82 } from "./modules/multimedia/Workspace/Workspace.js";
84
+ import { default as default83 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
85
+ import { default as default84 } from "./hooks/useBookmark/useBookmark.js";
86
+ import { default as default85 } from "./hooks/useBreakpoint/useBreakpoint.js";
87
+ import { default as default86 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
88
+ import { default as default87 } from "./hooks/useCantoo/useCantoo.js";
89
+ import { default as default88 } from "./hooks/useCarbonioUnread/useCarbonioUnread.js";
90
+ import { default as default89 } from "./hooks/useClickOutside/useClickOutside.js";
91
+ import { default as default90 } from "./hooks/useConversation/useConversation.js";
92
+ import { default as default91 } from "./hooks/useDate/useDate.js";
93
+ import { default as default92 } from "./hooks/useDebounce/useDebounce.js";
94
+ import { default as default93 } from "./hooks/useDirectory/useDirectory.js";
95
+ import { default as default94 } from "./hooks/useDropdown/useDropdown.js";
96
+ import { default as default95 } from "./hooks/useDropzone/useDropzone.js";
97
+ import { default as default96 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
98
+ import { default as default97 } from "./hooks/useGoogleDriveSearch/useGoogleDriveSearch.js";
99
+ import { default as default98 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
100
+ import { default as default99 } from "./hooks/useHover/useHover.js";
101
+ import { default as default100 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
102
+ import { default as default101 } from "./hooks/useImage/useImage.js";
103
+ import { default as default102 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
104
+ import { default as default103 } from "./hooks/useIsAdmc/useIsAdmc.js";
105
+ import { default as default104 } from "./hooks/useIsAdml/useIsAdml.js";
106
+ import { default as default105 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
107
+ import { default as default106 } from "./hooks/useKeyPress/useKeyPress.js";
108
+ import { default as default107 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
109
+ import { default as default108 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
110
+ import { default as default109 } from "./hooks/useNextcloudSearch/useNextcloudSearch.js";
111
+ import { default as default110 } from "./hooks/usePublicConf/usePublicConf.js";
112
+ import { default as default111 } from "./hooks/useScrollToTop/useScrollToTop.js";
113
+ import { default as default112 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
114
+ import { default as default113 } from "./hooks/useTitle/useTitle.js";
115
+ import { default as default114 } from "./hooks/useToast/useToast.js";
116
+ import { default as default115 } from "./hooks/useToggle/useToggle.js";
117
+ import { default as default116 } from "./hooks/useTrapFocus/useTrapFocus.js";
118
+ import { default as default117 } from "./hooks/useTrashedResource/useTrashedResource.js";
119
+ import { default as default118 } from "./hooks/useUiOverride/useUiOverride.js";
120
+ import { default as default119 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
121
+ import { default as default120 } from "./hooks/useUpload/useUpload.js";
122
+ import { default as default121 } from "./hooks/useUploadFiles/useUploadFiles.js";
123
+ import { default as default122 } from "./hooks/useUser/useUser.js";
124
+ import { default as default123 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
125
+ import { default as default124 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
126
+ import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default125 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
127
+ import { default as default126 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
128
+ import { default as default127 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
129
+ import { default as default128 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
127
130
  import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
128
131
  import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
129
132
  import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
@@ -159,7 +162,7 @@ import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-
159
162
  import { getRotateTransitionStyle } from "./utilities/rotate-transition-style/get-rotate-transition-style.js";
160
163
  import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
161
164
  import { mergeRefs, setRef } from "./utilities/refs/ref.js";
162
- import { default as default126 } from "./hooks/useBackground/useBackground.js";
165
+ import { default as default129 } from "./hooks/useBackground/useBackground.js";
163
166
  import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
164
167
  import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
165
168
  import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
@@ -168,7 +171,7 @@ import { useOverlay } from "./components/PageLayout/hook/useOverlay.js";
168
171
  import { useScreeb } from "./hooks/useScreeb/useScreeb.js";
169
172
  import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
170
173
  import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
171
- import { default as default127 } from "./hooks/useUserPreferences/useUserPreferences.js";
174
+ import { default as default130 } from "./hooks/useUserPreferences/useUserPreferences.js";
172
175
  export {
173
176
  AccessiblePalette,
174
177
  default2 as ActionBar,
@@ -214,80 +217,82 @@ export {
214
217
  default29 as Flex,
215
218
  default30 as FormControl,
216
219
  default31 as FormText,
220
+ default32 as GoogleDrive,
221
+ default33 as GoogleDriveFileCard,
217
222
  Grid,
218
- default32 as Heading,
219
- default33 as IconButton,
220
- default34 as Image,
221
- default35 as ImageEditor,
222
- default36 as ImagePicker,
223
- default37 as Input,
223
+ default34 as Heading,
224
+ default35 as IconButton,
225
+ default36 as Image,
226
+ default37 as ImageEditor,
227
+ default38 as ImagePicker,
228
+ default39 as Input,
224
229
  InternalLinker,
225
- default38 as Label,
230
+ default40 as Label,
226
231
  Layout,
227
- default39 as LinkPill,
232
+ default41 as LinkPill,
228
233
  List,
229
- default40 as Loading,
230
- default41 as LoadingScreen,
231
- default42 as Logo,
232
- default43 as LogoBeta,
233
- default44 as MediaLibrary,
234
- default45 as MediaViewer,
234
+ default42 as Loading,
235
+ default43 as LoadingScreen,
236
+ default44 as Logo,
237
+ default45 as LogoBeta,
238
+ default46 as MediaLibrary,
239
+ default47 as MediaViewer,
235
240
  Menu,
236
241
  MockedProvider,
237
- default46 as Modal,
238
- default47 as ModalBeta,
239
- default48 as Nextcloud,
240
- default49 as NextcloudFileCard,
241
- default50 as OnboardingModal,
242
- default51 as PageLayout,
242
+ default48 as Modal,
243
+ default49 as ModalBeta,
244
+ default50 as Nextcloud,
245
+ default51 as NextcloudFileCard,
246
+ default52 as OnboardingModal,
247
+ default53 as PageLayout,
243
248
  PageLayoutContext,
244
249
  Pagination,
245
250
  Popover,
246
251
  PopoverBody,
247
252
  PopoverFooter,
248
253
  PopoverHeader,
249
- default52 as PreventPropagation,
250
- default53 as PromotionCard,
251
- default54 as PublishModal,
252
- default55 as Radio,
253
- default56 as RadioCard,
254
- default57 as RadioTile,
254
+ default54 as PreventPropagation,
255
+ default55 as PromotionCard,
256
+ default56 as PublishModal,
257
+ default57 as Radio,
258
+ default58 as RadioCard,
259
+ default59 as RadioTile,
255
260
  ResourceModal,
256
261
  Root,
257
- default58 as SearchBar,
258
- default59 as SearchButton,
259
- default60 as SegmentedControl,
260
- default61 as Select,
261
- default62 as ShareBlog,
262
- default63 as ShareModal,
263
- default64 as ShareResources,
264
- default65 as SortableTree,
265
- default66 as StackedGroup,
266
- default67 as Stepper,
267
- default68 as Switch,
268
- default69 as Table,
262
+ default60 as SearchBar,
263
+ default61 as SearchButton,
264
+ default62 as SegmentedControl,
265
+ default63 as Select,
266
+ default64 as ShareBlog,
267
+ default65 as ShareModal,
268
+ default66 as ShareResources,
269
+ default67 as SortableTree,
270
+ default68 as StackedGroup,
271
+ default69 as Stepper,
272
+ default70 as Switch,
273
+ default71 as Table,
269
274
  Tabs,
270
- default70 as TextArea,
271
- default71 as TextSkeleton,
275
+ default72 as TextArea,
276
+ default73 as TextSkeleton,
272
277
  Toolbar,
273
- default72 as Tooltip,
274
- default73 as Tree,
278
+ default74 as Tooltip,
279
+ default75 as Tree,
275
280
  TreeNode,
276
281
  TreeNodeFolderWrapper,
277
- default74 as TreeView,
282
+ default76 as TreeView,
278
283
  Upload,
279
- default75 as UploadCard,
280
- default76 as UploadFiles,
284
+ default77 as UploadCard,
285
+ default78 as UploadFiles,
281
286
  UserRightsList,
282
287
  UserSearch,
283
- default77 as VideoEmbed,
284
- default78 as VideoRecorder,
288
+ default79 as VideoEmbed,
289
+ default80 as VideoRecorder,
285
290
  VisibleType,
286
- default79 as VisuallyHidden,
291
+ default81 as VisuallyHidden,
287
292
  WORKSPACE_SHARED_FOLDER_ID,
288
293
  WORKSPACE_USER_FOLDER_ID,
289
- default80 as Workspace,
290
- default81 as WorkspaceFolders,
294
+ default82 as Workspace,
295
+ default83 as WorkspaceFolders,
291
296
  addNode,
292
297
  arrayUnique,
293
298
  buildTree,
@@ -318,61 +323,62 @@ export {
318
323
  setRef,
319
324
  updateNode,
320
325
  updateParentIds,
321
- default126 as useBackground,
322
- default82 as useBookmark,
323
- default83 as useBreakpoint,
324
- default84 as useBrowserInfo,
325
- default85 as useCantoo,
326
- default86 as useCarbonioUnread,
326
+ default129 as useBackground,
327
+ default84 as useBookmark,
328
+ default85 as useBreakpoint,
329
+ default86 as useBrowserInfo,
330
+ default87 as useCantoo,
331
+ default88 as useCarbonioUnread,
327
332
  useCheckable,
328
- default87 as useClickOutside,
329
- default88 as useConversation,
330
- default89 as useDate,
331
- default90 as useDebounce,
332
- default91 as useDirectory,
333
- default92 as useDropdown,
334
- default93 as useDropzone,
333
+ default89 as useClickOutside,
334
+ default90 as useConversation,
335
+ default91 as useDate,
336
+ default92 as useDebounce,
337
+ default93 as useDirectory,
338
+ default94 as useDropdown,
339
+ default95 as useDropzone,
335
340
  useDropzoneContext,
336
341
  useEdificeClient,
337
- default94 as useEdificeIcons,
342
+ default96 as useEdificeIcons,
338
343
  useEdificeTheme,
339
344
  useFileToAttachment,
340
- default95 as useHasWorkflow,
341
- default96 as useHover,
342
- default97 as useHttpErrorToast,
343
- default98 as useImage,
344
- default99 as useInfiniteScroll,
345
- default100 as useIsAdmc,
346
- default101 as useIsAdml,
347
- default102 as useIsAdmlcOrAdmc,
348
- default103 as useKeyPress,
349
- default104 as useLibraryUrl,
350
- default105 as useMediaLibrary,
351
- default106 as useNextcloudSearch,
345
+ default97 as useGoogleDriveSearch,
346
+ default98 as useHasWorkflow,
347
+ default99 as useHover,
348
+ default100 as useHttpErrorToast,
349
+ default101 as useImage,
350
+ default102 as useInfiniteScroll,
351
+ default103 as useIsAdmc,
352
+ default104 as useIsAdml,
353
+ default105 as useIsAdmlcOrAdmc,
354
+ default106 as useKeyPress,
355
+ default107 as useLibraryUrl,
356
+ default108 as useMediaLibrary,
357
+ default109 as useNextcloudSearch,
352
358
  useOverlay,
353
359
  usePageLayout,
354
- default107 as usePublicConf,
360
+ default110 as usePublicConf,
355
361
  useScreeb,
356
- default108 as useScrollToTop,
357
- default109 as useShareMutation,
358
- default110 as useTitle,
359
- default111 as useToast,
360
- default112 as useToggle,
361
- default113 as useTrapFocus,
362
- default114 as useTrashedResource,
362
+ default111 as useScrollToTop,
363
+ default112 as useShareMutation,
364
+ default113 as useTitle,
365
+ default114 as useToast,
366
+ default115 as useToggle,
367
+ default116 as useTrapFocus,
368
+ default117 as useTrashedResource,
363
369
  useTreeSortable,
364
370
  useTreeView,
365
- default115 as useUiOverride,
366
- default116 as useUpdateMutation,
367
- default117 as useUpload,
368
- default118 as useUploadFiles,
369
- default119 as useUser,
370
- default127 as useUserPreferences,
371
- default120 as useWorkspaceFile,
372
- default121 as useWorkspaceFolders,
373
- default122 as useWorkspaceFoldersTree,
374
- default123 as useWorkspaceSearch,
375
- default124 as useXitiTrackPageLoad,
376
- default125 as useZendeskGuide,
371
+ default118 as useUiOverride,
372
+ default119 as useUpdateMutation,
373
+ default120 as useUpload,
374
+ default121 as useUploadFiles,
375
+ default122 as useUser,
376
+ default130 as useUserPreferences,
377
+ default123 as useWorkspaceFile,
378
+ default124 as useWorkspaceFolders,
379
+ default125 as useWorkspaceFoldersTree,
380
+ default126 as useWorkspaceSearch,
381
+ default127 as useXitiTrackPageLoad,
382
+ default128 as useZendeskGuide,
377
383
  wrapTreeNode
378
384
  };
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import useDate from "../../../../../hooks/useDate/useDate.js";
3
3
  import Flex from "../../../../../components/Flex/Flex.js";
4
4
  const CommonNotificationItem = ({
@@ -12,17 +12,17 @@ const CommonNotificationItem = ({
12
12
  const {
13
13
  formatTimeAgo,
14
14
  formatDate
15
- } = useDate();
15
+ } = useDate(), content = /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "8", children: [
16
+ /* @__PURE__ */ jsx("div", { className: "notification-item-message", dangerouslySetInnerHTML: {
17
+ __html: message
18
+ } }),
19
+ children,
20
+ /* @__PURE__ */ jsx("p", { className: "notification-item-date", title: formatDate(date, "LLL"), children: formatTimeAgo(date) })
21
+ ] });
16
22
  return /* @__PURE__ */ jsx(Flex, { direction: "column", className: "notification-item", gap: "8", children: /* @__PURE__ */ jsxs(Flex, { direction: "row", justify: "between", wrap: "nowrap", gap: "8", children: [
17
23
  /* @__PURE__ */ jsxs(Flex, { direction: "row", align: "start", gap: "8", className: "notification-item-content-wrapper", children: [
18
24
  /* @__PURE__ */ jsx("div", { className: "notification-item-picture", children: picture }),
19
- /* @__PURE__ */ jsx("a", { href: uri, className: "notification-item-link", "data-testid": "notification-item-content", children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "8", children: [
20
- /* @__PURE__ */ jsx("div", { className: "notification-item-message", dangerouslySetInnerHTML: {
21
- __html: message
22
- } }),
23
- children,
24
- /* @__PURE__ */ jsx("p", { className: "notification-item-date", title: formatDate(date, "LLL"), children: formatTimeAgo(date) })
25
- ] }) })
25
+ uri ? /* @__PURE__ */ jsx("a", { href: uri, className: "notification-item-link", "data-testid": "notification-item-content", children: content }) : /* @__PURE__ */ jsx("div", { className: "notification-item-link", "data-testid": "notification-item-content", children: content })
26
26
  ] }),
27
27
  menu && /* @__PURE__ */ jsx("div", { className: "notification-item-menu", children: menu })
28
28
  ] }) });
@@ -36,7 +36,8 @@ export declare const getAppCodeAndI18nKey: (appCode: string) => [string, string]
36
36
  * - Resolves the target URI from the model's `params` (handles both user and system naming conventions).
37
37
  * - Converts the MongoDB `$date` timestamp to a JS `Date`.
38
38
  * - Normalises the `type` field into a kebab-case `appCode` (e.g. `"BLOG_POST"` → `"blog-post"`).
39
- * - Strips anchor tags from the message, keeping only the inner text as `<strong>`.
39
+ * - Strips anchor tags from the message, keeping only the inner text as `<strong>`,
40
+ * except for external notifications without `resourceUri` whose links are kept.
40
41
  */
41
42
  export declare const notificationAdapter: (notification: NotificationModel) => WebNotification;
42
43
  export {};
@@ -6,7 +6,7 @@ const resolveNotificationResourceUri = (params, type, appCode, eventType) => {
6
6
  for (const [key, value] of Object.entries(params))
7
7
  if (typeof value == "string" && value.length > 0 && key.endsWith("Uri") && key !== "profilUri" && key !== "resourceFolderUri")
8
8
  return value;
9
- }, parseNotificationMessage = (message) => message.replace(/<\/a>/gi, "</strong>").replace(/<a\b[^>]*>/gi, "<strong>"), getAppCodeAndI18nKey = (appCode) => {
9
+ }, parseNotificationMessage = (message) => message.replace(/<\/a>/gi, "</strong>").replace(/<a\b[^>]*>/gi, "<strong>"), keepsMessageLinks = (params) => !!params.projectId && !params.resourceUri, getAppCodeAndI18nKey = (appCode) => {
10
10
  appCode = appCode.toLowerCase();
11
11
  let appI18nKey = appCode;
12
12
  switch (appCode) {
@@ -39,7 +39,7 @@ const resolveNotificationResourceUri = (params, type, appCode, eventType) => {
39
39
  }
40
40
  return [appCode, appI18nKey];
41
41
  }, notificationAdapter = (notification) => {
42
- const type = notification.sender ? "user" : "system", [appCode, appI18nKey] = getAppCodeAndI18nKey(notification.type), uri = resolveNotificationResourceUri(notification.params, type, appCode, notification["event-type"] || notification.eventType), date = new Date(notification.date.$date), message = parseNotificationMessage(notification.message), base = {
42
+ const type = notification.sender ? "user" : "system", [appCode, appI18nKey] = getAppCodeAndI18nKey(notification.type), keepLinks = keepsMessageLinks(notification.params), uri = keepLinks ? void 0 : resolveNotificationResourceUri(notification.params, type, appCode, notification["event-type"] || notification.eventType), date = new Date(notification.date.$date), message = keepLinks ? notification.message : parseNotificationMessage(notification.message), base = {
43
43
  id: notification._id,
44
44
  uri,
45
45
  message,
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconElea: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconElea;
@@ -0,0 +1,23 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconElea = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 593 512", width: "24", height: "24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("path", { fill: "#c05382", d: "M484.091 53.268c8.412 6.559 16.526 13.34 24.562 20.353l6.236 5.268c48.117 43.915 74.575 113.077 77.843 176.915 1.737 74.603-24.159 143.023-75.034 197.535-18.204 18.599-39.779 36.844-65.933 41.929l4.274-10.157q2.78-6.738 5.555-13.477l2.817-6.66c16.47-40.282 12.872-79.412-2.83-119.327-9.178-19.688-22.28-45.218-43.32-53.961-11.269-.93-18.064 6.336-26.732 12.837l6.615 5.176c23.402 19.468 43.27 40.331 47.894 71.637 2.295 26.74.603 52.617-11.005 77.121-10.039 3.346-10.039 3.346-18.392-.157-54.682-31.662-93.019-75.478-120.963-132.257l-3.416-6.566-2.871-5.81c-15.451-18.111-42.847-25.361-64.41-33.575l-10.495-4.051a14418 14418 0 0 0-33.151-12.721q-10.926-4.203-21.85-8.412l-10.806-4.16q-10.66-4.105-21.318-8.212c-16.117-6.204-32.244-12.371-48.423-18.411l-8.369-3.16a1530 1530 0 0 0-15.16-5.634c-25.035-9.507-37.074-21.382-48.715-44.666C-4.515 134.531 5.537 90.65 20.08 56.887c11.997 2.117 19.761 7.095 29.647 14.091l9.569 6.722 10.143 7.213q10.424 7.335 20.849 14.666l10.358 7.311c13.306 9.362 26.695 18.6 40.113 27.8l6.317 4.345a2806 2806 0 0 0 36.977 24.936l.876-6.876c7.231-47.895 32.509-82.3 69.882-112.575 70.286-49.422 161.93-39.815 229.281 8.745z" }),
9
+ /* @__PURE__ */ jsx("path", { fill: "#6e1ce0", d: "M20.078 56.889c11.997 2.117 19.762 7.095 29.647 14.092l9.569 6.722 10.143 7.213q10.424 7.335 20.85 14.666l10.358 7.311c13.306 9.362 26.695 18.6 40.112 27.8l6.317 4.345a2796 2796 0 0 0 36.977 24.936l1.255-13.177c.706-7.412.706-7.412 2.091-13.595 10.437-5.219 18.557-4.294 30.118-3.346 17.552 6.399 28.767 16.411 36.81 33.464 2.294 16.696 1.129 28.598-6.693 43.504l10.706 7.137 7.146 4.764q7.974 5.315 15.95 10.627a15760 15760 0 0 1 45.257 30.255l9.403 6.299a9967 9967 0 0 1 18.05 12.121c12.151 8.132 24.244 16.104 37.017 23.227 27.212 15.589 44.403 39.745 53.909 69.543 4.356 28.334 2.286 57.639-10.039 83.66-10.039 3.346-10.039 3.346-18.392-.157-54.682-31.662-93.019-75.478-120.963-132.257l-3.416-6.566-2.871-5.81c-15.451-18.111-42.847-25.361-64.41-33.575l-10.495-4.051a14418 14418 0 0 0-33.151-12.721q-10.926-4.203-21.85-8.412l-10.806-4.16q-10.66-4.105-21.318-8.212c-16.117-6.204-32.244-12.371-48.423-18.411l-8.369-3.16a1530 1530 0 0 0-15.16-5.634c-25.035-9.507-37.074-21.382-48.715-44.666C-4.517 134.531 5.535 90.65 20.078 56.887z" }),
10
+ /* @__PURE__ */ jsx("path", { fill: "#fcfbfc", d: "M390.418 75.098c31.719 20.682 52.493 49.127 63.294 85.373 6.565 32.149.214 67.381-16.993 95.281a317 317 0 0 1-10.471 13.151c-5.171 5.835-5.171 5.835-9.83 14.915-6.202 9.437-11.079 13.079-21.543 17.36-22.272-.501-35.343-9.995-52.706-22.588q-8.372-5.904-16.745-11.804l-8.682-6.182c-14.753-10.434-29.704-20.577-44.639-30.746q-8.074-5.52-16.144-11.046l-6.845-4.684-4.827-3.303 3.276-6.244c5.81-12.147 5.244-24.099 3.417-37.26-6.035-12.533-11.134-18.543-22.588-26.353-13.483-4.667-23.451-4.499-37.647-3.764l3.346-20.078c24.876-1.12 44.168-.465 66.928 10.039l.837-9.83c2.805-18.162 7.099-36.873 22.183-48.602 33.34-16.819 74.365-10.93 106.379 6.366z" }),
11
+ /* @__PURE__ */ jsx("path", { fill: "#6119dc", d: "m0 237.595 21.415 6.374 19.227 5.72a27471 27471 0 0 1 53.37 15.932c31.727 9.5 63.448 18.959 95.361 27.816q6.948 1.962 13.894 3.929a1567 1567 0 0 0 24.918 6.803c22.725 6.48 37.431 13.017 49.567 33.818 4.577 8.868 9.017 17.799 13.385 26.771-24.584.341-49.168.575-73.754.736q-12.526.1-25.053.274c-12.054.163-24.106.238-36.161.298l-11.18.209c-40.31.012-75.058-13.387-104.624-41.046C18.676 302.044-.001 269.893-.001 237.595z" }),
12
+ /* @__PURE__ */ jsx("path", { fill: "#761de2", d: "M73.621 394.876c30.021-.7 60.039-1.234 90.066-1.56 13.946-.156 27.886-.369 41.828-.712 13.475-.329 26.945-.507 40.423-.586a722 722 0 0 0 15.364-.327c40.142-1.229 40.142-1.229 56.617 10.089 7.435 7.385 13.938 14.726 20.067 23.212-14.862 11.424-30.487 18.016-47.687 25.307l-9.294 4.046c-44.125 18.852-84.121 24.262-130.431 8.307-28.063-11.745-53.128-32.043-73.608-54.392-2.085-7.142-2.085-7.142-3.347-13.385z" }),
13
+ /* @__PURE__ */ jsx("path", { fill: "#251742", d: "M358.065 80.314c14.965 8.032 27.32 17.26 33.464 33.464 2.344 16.513 1.721 29.822-5.438 44.968-12.831 13.844-24.406 19.105-43.085 20.078-15.076-.583-23.67-4.715-35.137-14.85-11.353-13.145-15.624-23.254-14.68-40.314 3.628-18.324 16.832-29.641 31.412-40 10.973-5.487 21.652-5.556 33.464-3.347z" }),
14
+ /* @__PURE__ */ jsx("path", { fill: "#ea9924", d: "M331.294 16.732v6.693a2500 2500 0 0 1-20.079 13.386c-18.004 16.718-30.594 32.238-39.111 55.425l-4.222 11.307c-2.704 7.871-5.058 15.51-6.863 23.621-3.658-1.035-7.316-2.07-11.085-3.138-17.302-4.38-34.736-5.662-52.496-6.902 14.762-39.941 49.191-72.072 87.007-90.353 15.966-6.079 29.702-10.039 46.849-10.039" }),
15
+ /* @__PURE__ */ jsx("path", { fill: "#9122ea", d: "M368.104 455.111c8.222 4.719 8.222 4.719 16.104 10.248l8.013 5.555 6 4.274c-1.252 8.404-2.235 12.404-8.706 18.118-32.296 19.328-64.678 23.728-101.921 16.784-21.82-6.017-21.82-6.017-29.921-18.17a5012 5012 0 0 1 39.113-17.341q6.657-2.931 13.291-5.912c6.37-2.858 12.764-5.658 19.164-8.447l11.63-5.151c11.142-3.508 16.295-3.603 27.233.04z" }),
16
+ /* @__PURE__ */ jsx("path", { fill: "#faf9fa", d: "M358.065 100.392c10.248 6.902 10.248 6.902 16.732 16.732 2.314 14.399 1.726 20.78-6.274 33.046-9.077 9.077-12.005 10.254-24.889 11.713-12.34-1.255-12.34-1.255-22.17-7.738-9.244-13.726-10.026-24.268-6.902-40.366 9.49-16.918 25.949-16.947 43.504-13.385z" }),
17
+ /* @__PURE__ */ jsx("path", { fill: "#1f103c", d: "M281.098 170.667c16.177 1.387 23.075 7.958 33.464 20.078 3.154 9.461 3.797 15.5 3.764 25.307l.026 7.961c-.445 6.889-.445 6.889-3.791 13.582-14.794-3.441-24.179-8.311-33.543-20.575-5.966-11.312-7.557-23.63-6.615-36.314l6.693-10.039z" }),
18
+ /* @__PURE__ */ jsx("path", { fill: "#2b1d47", d: "M217.517 133.856c17.552 6.399 28.767 16.411 36.81 33.464 2.155 15.929 2.354 26.587-6.693 40.157-6.483-1.255-6.483-1.255-13.386-3.346-1.105-2.208-2.208-4.417-3.346-6.693 1.105-2.208 2.208-4.417 3.346-6.693 1.28-11.776 1.489-17.875-5.229-27.817-10.584-7.327-18.829-8.298-31.582-8.994l-10.039 3.346v-20.078c10.437-5.219 18.557-4.294 30.118-3.346z" }),
19
+ /* @__PURE__ */ jsx("path", { fill: "#f4f2f7", d: "M220.863 153.935c11.454 8.53 16.131 12.974 18.405 27.19-1.849 10.631-3.992 12.72-11.713 19.66a1520 1520 0 0 1-19.869-14.013l-5.719-3.928c-9.131-6.616-14.083-10.631-17.51-21.549l-.405-7.359c12.934-4.656 23.607-3.243 36.81 0z" })
20
+ ] });
21
+ export {
22
+ SvgIconElea as default
23
+ };
@@ -40,6 +40,7 @@ export { default as IconEducagri } from './IconEducagri';
40
40
  export { default as IconEdumedia } from './IconEdumedia';
41
41
  export { default as IconEdumoov } from './IconEdumoov';
42
42
  export { default as IconEdutheque } from './IconEdutheque';
43
+ export { default as IconElea } from './IconElea';
43
44
  export { default as IconElectron } from './IconElectron';
44
45
  export { default as IconElyceepicardie } from './IconElyceepicardie';
45
46
  export { default as IconEsidoc } from './IconEsidoc';
@@ -0,0 +1,25 @@
1
+ import { ReactNode } from 'react';
2
+ import { GoogleDriveDocument } from '@edifice.io/client';
3
+ import { CardProps } from '../../../components/Card';
4
+ export interface GoogleDriveFileCardProps extends CardProps {
5
+ doc: GoogleDriveDocument;
6
+ /**
7
+ * Id of the user who owns the Google Drive document, used to build the preview URL.
8
+ */
9
+ userId: string;
10
+ /**
11
+ * Custom icon to override the default based on file type
12
+ * Can be a string or a React node
13
+ */
14
+ customIcon?: ReactNode;
15
+ /**
16
+ * Custom color class to override the default based on file type
17
+ * Example: "bg-purple-300" or any valid CSS class
18
+ */
19
+ customColor?: string;
20
+ }
21
+ declare const GoogleDriveFileCard: {
22
+ ({ doc, userId, isClickable, isSelectable, isSelected, onClick, className, onSelect, isFocused, app, customIcon, customColor, }: GoogleDriveFileCardProps): import("react/jsx-runtime").JSX.Element;
23
+ displayName: string;
24
+ };
25
+ export default GoogleDriveFileCard;