@edifice.io/react 2.6.12-develop-integration-crna.20261104164618 → 2.6.12-develop-integration.20261104185123

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 (60) hide show
  1. package/dist/components/Dropdown/Dropdown.js +14 -19
  2. package/dist/components/Dropdown/DropdownContext.d.ts +0 -3
  3. package/dist/components/Dropdown/DropdownMenuGroup.js +6 -23
  4. package/dist/components/Dropdown/DropdownSearchInput.js +8 -16
  5. package/dist/components/Dropdown/DropdownTrigger.js +8 -24
  6. package/dist/components/Dropdown/useDropdownItemFilter.js +2 -2
  7. package/dist/components/Select/Select.d.ts +1 -14
  8. package/dist/components/Select/Select.js +5 -11
  9. package/dist/homepage.js +28 -24
  10. package/dist/hooks/index.d.ts +1 -0
  11. package/dist/hooks/useDropdown/useDropdown.d.ts +0 -1
  12. package/dist/hooks/useDropdown/useDropdown.js +7 -18
  13. package/dist/hooks/useGoogleDriveSearch/index.d.ts +1 -0
  14. package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.d.ts +19 -0
  15. package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.js +60 -0
  16. package/dist/hooks/useNextcloudSearch/useNextcloudSearch.d.ts +1 -1
  17. package/dist/hooks/useNextcloudSearch/useNextcloudSearch.js +2 -2
  18. package/dist/icons-apps.js +258 -254
  19. package/dist/index.js +198 -194
  20. package/dist/modules/homepage/components/AlloRegion/AlloRegion.d.ts +11 -0
  21. package/dist/modules/homepage/components/AlloRegion/AlloRegion.js +32 -0
  22. package/dist/modules/homepage/components/AlloRegion/AlloRegionContainer.d.ts +4 -0
  23. package/dist/modules/homepage/components/AlloRegion/AlloRegionContainer.js +10 -0
  24. package/dist/modules/homepage/components/AlloRegion/index.d.ts +3 -0
  25. package/dist/modules/homepage/components/Favorites/Favorites.js +4 -1
  26. package/dist/modules/homepage/components/Notifications/components/CommonNotificationItem.js +9 -9
  27. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +2 -1
  28. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +2 -2
  29. package/dist/modules/homepage/components/index.d.ts +1 -0
  30. package/dist/modules/icons/components/apps/IconAlloregion.d.ts +7 -0
  31. package/dist/modules/icons/components/apps/IconAlloregion.js +17 -0
  32. package/dist/modules/icons/components/apps/IconElea.d.ts +7 -0
  33. package/dist/modules/icons/components/apps/IconElea.js +23 -0
  34. package/dist/modules/icons/components/apps/index.d.ts +2 -0
  35. package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.d.ts +25 -0
  36. package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.js +102 -0
  37. package/dist/modules/multimedia/FileCard/index.d.ts +2 -0
  38. package/dist/modules/multimedia/GoogleDrive/GoogleDrive.d.ts +24 -0
  39. package/dist/modules/multimedia/GoogleDrive/GoogleDrive.js +103 -0
  40. package/dist/modules/multimedia/GoogleDrive/index.d.ts +2 -0
  41. package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +7 -1
  42. package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +2 -0
  43. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +16 -5
  44. package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.d.ts +1 -0
  45. package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.js +61 -0
  46. package/dist/modules/multimedia/MediaLibrary/innertabs/index.d.ts +1 -0
  47. package/dist/modules/multimedia/MediaLibrary/innertabs/index.js +2 -0
  48. package/dist/modules/multimedia/Nextcloud/Nextcloud.js +19 -7
  49. package/dist/modules/multimedia/index.d.ts +1 -1
  50. package/dist/multimedia.js +26 -24
  51. package/package.json +6 -6
  52. package/dist/components/Dropdown/useMatchRegistry.d.ts +0 -5
  53. package/dist/components/Dropdown/useMatchRegistry.js +0 -20
  54. package/dist/modules/multimedia/Nextcloud/NextcloudLogin.d.ts +0 -12
  55. package/dist/modules/multimedia/Nextcloud/NextcloudLogin.js +0 -33
  56. package/dist/modules/multimedia/NextcloudFolders/NextcloudFolders.d.ts +0 -12
  57. package/dist/modules/multimedia/NextcloudFolders/NextcloudFolders.js +0 -51
  58. package/dist/modules/multimedia/NextcloudFolders/components/NewFolderForm.d.ts +0 -16
  59. package/dist/modules/multimedia/NextcloudFolders/components/NewFolderForm.js +0 -51
  60. package/dist/modules/multimedia/NextcloudFolders/index.d.ts +0 -1
package/dist/index.js CHANGED
@@ -30,101 +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/multimedia/NextcloudFolders/NextcloudFolders.js";
52
- import { default as default51 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
53
- import { default as default52 } from "./components/PageLayout/PageLayout.js";
54
- import { default as default53 } from "./components/PreventPropagation/PreventPropagation.js";
55
- import { default as default54, Root } from "./components/PromotionCard/PromotionCard.js";
56
- import { default as default55 } from "./modules/modals/PublishModal/PublishModal.js";
57
- import { default as default56 } from "./components/Radio/Radio.js";
58
- import { default as default57 } from "./components/RadioCard/RadioCard.js";
59
- import { default as default58 } from "./components/RadioTile/RadioTile.js";
60
- import { default as default59 } from "./components/SearchBar/SearchBar.js";
61
- import { default as default60 } from "./components/Button/SearchButton.js";
62
- import { default as default61 } from "./components/SegmentedControl/SegmentedControl.js";
63
- import { default as default62 } from "./components/Select/Select.js";
64
- import { default as default63 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
65
- import { default as default64 } from "./modules/modals/ShareModal/ShareModal.js";
66
- import { default as default65 } from "./modules/modals/ShareModal/ShareResources.js";
67
- import { default as default66 } from "./components/Tree/components/SortableTree.js";
68
- import { default as default67 } from "./components/StackedGroup/StackedGroup.js";
69
- import { default as default68 } from "./components/Stepper/Stepper.js";
70
- import { default as default69 } from "./components/Switch/Switch.js";
71
- import { default as default70 } from "./components/Table/components/Table.js";
72
- import { default as default71 } from "./components/TextArea/TextArea.js";
73
- import { default as default72 } from "./components/Skeleton/TextSkeleton.js";
74
- import { default as default73 } from "./components/Tooltip/Tooltip.js";
75
- import { default as default74 } from "./components/Tree/components/Tree.js";
76
- import { default as default75 } from "./components/TreeView/TreeView.js";
77
- import { default as default76 } from "./modules/multimedia/UploadCard/UploadCard.js";
78
- import { default as default77 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
79
- import { default as default78 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
80
- import { default as default79 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
81
- import { default as default80 } from "./components/VisuallyHidden/VisuallyHidden.js";
82
- import { default as default81 } from "./modules/multimedia/Workspace/Workspace.js";
83
- import { default as default82 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
84
- import { default as default83 } from "./hooks/useBookmark/useBookmark.js";
85
- import { default as default84 } from "./hooks/useBreakpoint/useBreakpoint.js";
86
- import { default as default85 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
87
- import { default as default86 } from "./hooks/useCantoo/useCantoo.js";
88
- import { default as default87 } from "./hooks/useCarbonioUnread/useCarbonioUnread.js";
89
- import { default as default88 } from "./hooks/useClickOutside/useClickOutside.js";
90
- import { default as default89 } from "./hooks/useConversation/useConversation.js";
91
- import { default as default90 } from "./hooks/useDate/useDate.js";
92
- import { default as default91 } from "./hooks/useDebounce/useDebounce.js";
93
- import { default as default92 } from "./hooks/useDirectory/useDirectory.js";
94
- import { default as default93 } from "./hooks/useDropdown/useDropdown.js";
95
- import { default as default94 } from "./hooks/useDropzone/useDropzone.js";
96
- import { default as default95 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
97
- import { default as default96 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
98
- import { default as default97 } from "./hooks/useHover/useHover.js";
99
- import { default as default98 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
100
- import { default as default99 } from "./hooks/useImage/useImage.js";
101
- import { default as default100 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
102
- import { default as default101 } from "./hooks/useIsAdmc/useIsAdmc.js";
103
- import { default as default102 } from "./hooks/useIsAdml/useIsAdml.js";
104
- import { default as default103 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
105
- import { default as default104 } from "./hooks/useKeyPress/useKeyPress.js";
106
- import { default as default105 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
107
- import { default as default106 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
108
- import { default as default107 } from "./hooks/useNextcloudSearch/useNextcloudSearch.js";
109
- import { default as default108 } from "./hooks/usePublicConf/usePublicConf.js";
110
- import { default as default109 } from "./hooks/useScrollToTop/useScrollToTop.js";
111
- import { default as default110 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
112
- import { default as default111 } from "./hooks/useTitle/useTitle.js";
113
- import { default as default112 } from "./hooks/useToast/useToast.js";
114
- import { default as default113 } from "./hooks/useToggle/useToggle.js";
115
- import { default as default114 } from "./hooks/useTrapFocus/useTrapFocus.js";
116
- import { default as default115 } from "./hooks/useTrashedResource/useTrashedResource.js";
117
- import { default as default116 } from "./hooks/useUiOverride/useUiOverride.js";
118
- import { default as default117 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
119
- import { default as default118 } from "./hooks/useUpload/useUpload.js";
120
- import { default as default119 } from "./hooks/useUploadFiles/useUploadFiles.js";
121
- import { default as default120 } from "./hooks/useUser/useUser.js";
122
- import { default as default121 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
123
- import { default as default122 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
124
- import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default123 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
125
- import { default as default124 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
126
- import { default as default125 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
127
- import { default as default126 } 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";
128
130
  import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
129
131
  import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
130
132
  import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
@@ -160,7 +162,7 @@ import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-
160
162
  import { getRotateTransitionStyle } from "./utilities/rotate-transition-style/get-rotate-transition-style.js";
161
163
  import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
162
164
  import { mergeRefs, setRef } from "./utilities/refs/ref.js";
163
- import { default as default127 } from "./hooks/useBackground/useBackground.js";
165
+ import { default as default129 } from "./hooks/useBackground/useBackground.js";
164
166
  import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
165
167
  import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
166
168
  import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
@@ -169,7 +171,7 @@ import { useOverlay } from "./components/PageLayout/hook/useOverlay.js";
169
171
  import { useScreeb } from "./hooks/useScreeb/useScreeb.js";
170
172
  import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
171
173
  import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
172
- import { default as default128 } from "./hooks/useUserPreferences/useUserPreferences.js";
174
+ import { default as default130 } from "./hooks/useUserPreferences/useUserPreferences.js";
173
175
  export {
174
176
  AccessiblePalette,
175
177
  default2 as ActionBar,
@@ -215,81 +217,82 @@ export {
215
217
  default29 as Flex,
216
218
  default30 as FormControl,
217
219
  default31 as FormText,
220
+ default32 as GoogleDrive,
221
+ default33 as GoogleDriveFileCard,
218
222
  Grid,
219
- default32 as Heading,
220
- default33 as IconButton,
221
- default34 as Image,
222
- default35 as ImageEditor,
223
- default36 as ImagePicker,
224
- 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,
225
229
  InternalLinker,
226
- default38 as Label,
230
+ default40 as Label,
227
231
  Layout,
228
- default39 as LinkPill,
232
+ default41 as LinkPill,
229
233
  List,
230
- default40 as Loading,
231
- default41 as LoadingScreen,
232
- default42 as Logo,
233
- default43 as LogoBeta,
234
- default44 as MediaLibrary,
235
- 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,
236
240
  Menu,
237
241
  MockedProvider,
238
- default46 as Modal,
239
- default47 as ModalBeta,
240
- default48 as Nextcloud,
241
- default49 as NextcloudFileCard,
242
- default50 as NextcloudFolders,
243
- default51 as OnboardingModal,
244
- default52 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,
245
248
  PageLayoutContext,
246
249
  Pagination,
247
250
  Popover,
248
251
  PopoverBody,
249
252
  PopoverFooter,
250
253
  PopoverHeader,
251
- default53 as PreventPropagation,
252
- default54 as PromotionCard,
253
- default55 as PublishModal,
254
- default56 as Radio,
255
- default57 as RadioCard,
256
- default58 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,
257
260
  ResourceModal,
258
261
  Root,
259
- default59 as SearchBar,
260
- default60 as SearchButton,
261
- default61 as SegmentedControl,
262
- default62 as Select,
263
- default63 as ShareBlog,
264
- default64 as ShareModal,
265
- default65 as ShareResources,
266
- default66 as SortableTree,
267
- default67 as StackedGroup,
268
- default68 as Stepper,
269
- default69 as Switch,
270
- default70 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,
271
274
  Tabs,
272
- default71 as TextArea,
273
- default72 as TextSkeleton,
275
+ default72 as TextArea,
276
+ default73 as TextSkeleton,
274
277
  Toolbar,
275
- default73 as Tooltip,
276
- default74 as Tree,
278
+ default74 as Tooltip,
279
+ default75 as Tree,
277
280
  TreeNode,
278
281
  TreeNodeFolderWrapper,
279
- default75 as TreeView,
282
+ default76 as TreeView,
280
283
  Upload,
281
- default76 as UploadCard,
282
- default77 as UploadFiles,
284
+ default77 as UploadCard,
285
+ default78 as UploadFiles,
283
286
  UserRightsList,
284
287
  UserSearch,
285
- default78 as VideoEmbed,
286
- default79 as VideoRecorder,
288
+ default79 as VideoEmbed,
289
+ default80 as VideoRecorder,
287
290
  VisibleType,
288
- default80 as VisuallyHidden,
291
+ default81 as VisuallyHidden,
289
292
  WORKSPACE_SHARED_FOLDER_ID,
290
293
  WORKSPACE_USER_FOLDER_ID,
291
- default81 as Workspace,
292
- default82 as WorkspaceFolders,
294
+ default82 as Workspace,
295
+ default83 as WorkspaceFolders,
293
296
  addNode,
294
297
  arrayUnique,
295
298
  buildTree,
@@ -320,61 +323,62 @@ export {
320
323
  setRef,
321
324
  updateNode,
322
325
  updateParentIds,
323
- default127 as useBackground,
324
- default83 as useBookmark,
325
- default84 as useBreakpoint,
326
- default85 as useBrowserInfo,
327
- default86 as useCantoo,
328
- default87 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,
329
332
  useCheckable,
330
- default88 as useClickOutside,
331
- default89 as useConversation,
332
- default90 as useDate,
333
- default91 as useDebounce,
334
- default92 as useDirectory,
335
- default93 as useDropdown,
336
- default94 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,
337
340
  useDropzoneContext,
338
341
  useEdificeClient,
339
- default95 as useEdificeIcons,
342
+ default96 as useEdificeIcons,
340
343
  useEdificeTheme,
341
344
  useFileToAttachment,
342
- default96 as useHasWorkflow,
343
- default97 as useHover,
344
- default98 as useHttpErrorToast,
345
- default99 as useImage,
346
- default100 as useInfiniteScroll,
347
- default101 as useIsAdmc,
348
- default102 as useIsAdml,
349
- default103 as useIsAdmlcOrAdmc,
350
- default104 as useKeyPress,
351
- default105 as useLibraryUrl,
352
- default106 as useMediaLibrary,
353
- default107 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,
354
358
  useOverlay,
355
359
  usePageLayout,
356
- default108 as usePublicConf,
360
+ default110 as usePublicConf,
357
361
  useScreeb,
358
- default109 as useScrollToTop,
359
- default110 as useShareMutation,
360
- default111 as useTitle,
361
- default112 as useToast,
362
- default113 as useToggle,
363
- default114 as useTrapFocus,
364
- default115 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,
365
369
  useTreeSortable,
366
370
  useTreeView,
367
- default116 as useUiOverride,
368
- default117 as useUpdateMutation,
369
- default118 as useUpload,
370
- default119 as useUploadFiles,
371
- default120 as useUser,
372
- default128 as useUserPreferences,
373
- default121 as useWorkspaceFile,
374
- default122 as useWorkspaceFolders,
375
- default123 as useWorkspaceFoldersTree,
376
- default124 as useWorkspaceSearch,
377
- default125 as useXitiTrackPageLoad,
378
- default126 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,
379
383
  wrapTreeNode
380
384
  };
@@ -0,0 +1,11 @@
1
+ export interface AlloRegionProps {
2
+ /** Opens the requests the user already made. */
3
+ onRequestsClick: () => void;
4
+ /** Opens the form to make a new request. */
5
+ onNewRequestClick: () => void;
6
+ }
7
+ declare const AlloRegion: {
8
+ ({ onRequestsClick, onNewRequestClick, }: AlloRegionProps): import("react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
11
+ export default AlloRegion;
@@ -0,0 +1,32 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import illuAlloRegion from "@edifice.io/bootstrap/dist/images/homepage/illu-allo-region.svg";
3
+ import { useTranslation } from "react-i18next";
4
+ import SvgIconArrowRight from "../../../icons/components/IconArrowRight.js";
5
+ import HomeCard from "../HomeCard/HomeCard.js";
6
+ import Image from "../../../../components/Image/Image.js";
7
+ import ButtonBeta from "../../../../components/ButtonBeta/ButtonBeta.js";
8
+ const AlloRegion = ({
9
+ onRequestsClick,
10
+ onNewRequestClick
11
+ }) => {
12
+ const {
13
+ t
14
+ } = useTranslation();
15
+ return /* @__PURE__ */ jsxs(HomeCard, { variant: "primary", children: [
16
+ /* @__PURE__ */ jsx(HomeCard.Header, { title: t("homepage.alloregion.title", "Allô Région"), actionLabel: t("homepage.alloregion.actionLabel", "Mes signalements"), actionRightIcon: /* @__PURE__ */ jsx(SvgIconArrowRight, {}), onActionClick: onRequestsClick, actionProps: {
17
+ "data-testid": "allo-region-requests"
18
+ } }),
19
+ /* @__PURE__ */ jsxs(HomeCard.Content, { className: "align-items-center gap-8", children: [
20
+ /* @__PURE__ */ jsx(Image, { src: illuAlloRegion, alt: "", "aria-hidden": "true", width: 120, height: 86 }),
21
+ /* @__PURE__ */ jsxs("p", { className: "mb-0 w-100", children: [
22
+ t("homepage.alloregion.description", "Bâtiments, équipements : un souci dans ton lycée ?"),
23
+ " ",
24
+ /* @__PURE__ */ jsx("strong", { children: t("homepage.alloregion.callToAction", "Fais-le remonter à la Région !") })
25
+ ] }),
26
+ /* @__PURE__ */ jsx(ButtonBeta, { variant: "outline", rightIcon: /* @__PURE__ */ jsx(SvgIconArrowRight, {}), onClick: onNewRequestClick, children: t("homepage.alloregion.newRequest", "Faire un signalement") })
27
+ ] })
28
+ ] });
29
+ };
30
+ export {
31
+ AlloRegion as default
32
+ };
@@ -0,0 +1,4 @@
1
+ export declare function AlloRegionContainer(): import("react/jsx-runtime").JSX.Element | null;
2
+ export declare namespace AlloRegionContainer {
3
+ var displayName: string;
4
+ }
@@ -0,0 +1,10 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import AlloRegion from "./AlloRegion.js";
3
+ import useHasWorkflow from "../../../../hooks/useHasWorkflow/useHasWorkflow.js";
4
+ const ALLO_REGION_ACCESS_WORKFLOW = "alloregion.access", ALLO_REGION_ADDRESS = "/alloregion";
5
+ function AlloRegionContainer() {
6
+ return useHasWorkflow(ALLO_REGION_ACCESS_WORKFLOW) ? /* @__PURE__ */ jsx(AlloRegion, { onRequestsClick: () => window.open(ALLO_REGION_ADDRESS, "_self"), onNewRequestClick: () => window.open(`${ALLO_REGION_ADDRESS}/new`, "_self") }) : null;
7
+ }
8
+ export {
9
+ AlloRegionContainer
10
+ };
@@ -0,0 +1,3 @@
1
+ export * from './AlloRegion';
2
+ export { default as AlloRegion } from './AlloRegion';
3
+ export * from './AlloRegionContainer';
@@ -1,4 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useMemo } from "react";
2
3
  import { useTranslation } from "react-i18next";
3
4
  import illuEmptyFavorite from "@edifice.io/bootstrap/dist/images/homepage/illu-empty-favorite.svg";
4
5
  import SvgIconArrowRight from "../../../icons/components/IconArrowRight.js";
@@ -11,7 +12,9 @@ function Favorites({
11
12
  }) {
12
13
  const {
13
14
  t
14
- } = useTranslation(), getAppName = (app) => app.prefix && app.prefix.length > 1 ? t(app.prefix.substring(1)) : t(app.displayName) || "", visibleApps = apps.filter((app) => app.display !== !1);
15
+ } = useTranslation(), getAppName = (app) => app.prefix && app.prefix.length > 1 ? t(app.prefix.substring(1)) : t(app.displayName) || "", visibleApps = useMemo(() => apps.filter((app) => app.display !== !1).sort((a, b) => getAppName(a).localeCompare(getAppName(b), void 0, {
16
+ sensitivity: "base"
17
+ })), [apps, t]);
15
18
  return /* @__PURE__ */ jsxs(HomeCard, { variant: "secondary", children: [
16
19
  /* @__PURE__ */ jsx(HomeCard.Header, { title: t("homepage.favorites.title"), actionLabel: t("homepage.favorites.all"), onActionClick: onSeeAllClick, actionRightIcon: /* @__PURE__ */ jsx(SvgIconArrowRight, {}) }),
17
20
  /* @__PURE__ */ jsx(HomeCard.Content, { children: /* @__PURE__ */ jsx("div", { className: "favorites-content", children: visibleApps.length === 0 ? /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "12", children: [
@@ -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,