@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.
- package/dist/components/Dropdown/Dropdown.js +14 -19
- package/dist/components/Dropdown/DropdownContext.d.ts +0 -3
- package/dist/components/Dropdown/DropdownMenuGroup.js +6 -23
- package/dist/components/Dropdown/DropdownSearchInput.js +8 -16
- package/dist/components/Dropdown/DropdownTrigger.js +8 -24
- package/dist/components/Dropdown/useDropdownItemFilter.js +2 -2
- package/dist/components/Select/Select.d.ts +1 -14
- package/dist/components/Select/Select.js +5 -11
- package/dist/homepage.js +28 -24
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useDropdown/useDropdown.d.ts +0 -1
- package/dist/hooks/useDropdown/useDropdown.js +7 -18
- package/dist/hooks/useGoogleDriveSearch/index.d.ts +1 -0
- package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.d.ts +19 -0
- package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.js +60 -0
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.d.ts +1 -1
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.js +2 -2
- package/dist/icons-apps.js +258 -254
- package/dist/index.js +198 -194
- package/dist/modules/homepage/components/AlloRegion/AlloRegion.d.ts +11 -0
- package/dist/modules/homepage/components/AlloRegion/AlloRegion.js +32 -0
- package/dist/modules/homepage/components/AlloRegion/AlloRegionContainer.d.ts +4 -0
- package/dist/modules/homepage/components/AlloRegion/AlloRegionContainer.js +10 -0
- package/dist/modules/homepage/components/AlloRegion/index.d.ts +3 -0
- package/dist/modules/homepage/components/Favorites/Favorites.js +4 -1
- package/dist/modules/homepage/components/Notifications/components/CommonNotificationItem.js +9 -9
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +2 -1
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +2 -2
- package/dist/modules/homepage/components/index.d.ts +1 -0
- package/dist/modules/icons/components/apps/IconAlloregion.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAlloregion.js +17 -0
- package/dist/modules/icons/components/apps/IconElea.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconElea.js +23 -0
- package/dist/modules/icons/components/apps/index.d.ts +2 -0
- package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.d.ts +25 -0
- package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.js +102 -0
- package/dist/modules/multimedia/FileCard/index.d.ts +2 -0
- package/dist/modules/multimedia/GoogleDrive/GoogleDrive.d.ts +24 -0
- package/dist/modules/multimedia/GoogleDrive/GoogleDrive.js +103 -0
- package/dist/modules/multimedia/GoogleDrive/index.d.ts +2 -0
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +7 -1
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +2 -0
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +16 -5
- package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.js +61 -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.js +19 -7
- package/dist/modules/multimedia/index.d.ts +1 -1
- package/dist/multimedia.js +26 -24
- package/package.json +6 -6
- package/dist/components/Dropdown/useMatchRegistry.d.ts +0 -5
- package/dist/components/Dropdown/useMatchRegistry.js +0 -20
- package/dist/modules/multimedia/Nextcloud/NextcloudLogin.d.ts +0 -12
- package/dist/modules/multimedia/Nextcloud/NextcloudLogin.js +0 -33
- package/dist/modules/multimedia/NextcloudFolders/NextcloudFolders.d.ts +0 -12
- package/dist/modules/multimedia/NextcloudFolders/NextcloudFolders.js +0 -51
- package/dist/modules/multimedia/NextcloudFolders/components/NewFolderForm.d.ts +0 -16
- package/dist/modules/multimedia/NextcloudFolders/components/NewFolderForm.js +0 -51
- 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 "./
|
|
34
|
-
import { default as default33 } from "./
|
|
35
|
-
import { default as default34 } from "./components/
|
|
36
|
-
import { default as default35 } from "./
|
|
37
|
-
import { default as default36 } from "./
|
|
38
|
-
import { default as default37 } from "./components/
|
|
39
|
-
import { default as default38 } from "./
|
|
40
|
-
import { default as default39 } from "./components/
|
|
41
|
-
import { default as default40 } from "./components/
|
|
42
|
-
import { default as default41 } from "./components/
|
|
43
|
-
import { default as default42 } from "./components/
|
|
44
|
-
import { default as default43 } from "./components/
|
|
45
|
-
import { default as default44 } from "./
|
|
46
|
-
import { default as default45 } from "./components/
|
|
47
|
-
import { default as default46 } from "./
|
|
48
|
-
import { default as default47 } from "./components/
|
|
49
|
-
import { default as default48 } from "./
|
|
50
|
-
import { default as default49 } from "./
|
|
51
|
-
import { default as default50 } from "./modules/multimedia/
|
|
52
|
-
import { default as default51 } from "./modules/
|
|
53
|
-
import { default as default52 } from "./
|
|
54
|
-
import { default as default53 } from "./components/
|
|
55
|
-
import { default as default54
|
|
56
|
-
import { default as default55 } from "./
|
|
57
|
-
import { default as default56 } from "./
|
|
58
|
-
import { default as default57 } from "./components/
|
|
59
|
-
import { default as default58 } from "./components/
|
|
60
|
-
import { default as default59 } from "./components/
|
|
61
|
-
import { default as default60 } from "./components/
|
|
62
|
-
import { default as default61 } from "./components/
|
|
63
|
-
import { default as default62 } from "./components/
|
|
64
|
-
import { default as default63 } from "./
|
|
65
|
-
import { default as default64 } from "./modules/modals/ShareModal/
|
|
66
|
-
import { default as default65 } from "./modules/modals/ShareModal/
|
|
67
|
-
import { default as default66 } from "./
|
|
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 "./components/
|
|
72
|
-
import { default as default71 } from "./components/
|
|
73
|
-
import { default as default72 } from "./components/
|
|
74
|
-
import { default as default73 } from "./components/
|
|
75
|
-
import { default as default74 } from "./components/
|
|
76
|
-
import { default as default75 } from "./components/
|
|
77
|
-
import { default as default76 } from "./
|
|
78
|
-
import { default as default77 } from "./modules/multimedia/
|
|
79
|
-
import { default as default78 } from "./modules/multimedia/
|
|
80
|
-
import { default as default79 } from "./modules/multimedia/
|
|
81
|
-
import { default as default80 } from "./
|
|
82
|
-
import { default as default81 } from "./
|
|
83
|
-
import { default as default82 } from "./modules/multimedia/
|
|
84
|
-
import { default as default83 } from "./
|
|
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 "./hooks/
|
|
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 "./hooks/
|
|
111
|
-
import { default as default110 } from "./
|
|
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 { default as default115 } from "./hooks/
|
|
117
|
-
import { default as default116 } from "./hooks/
|
|
118
|
-
import { default as default117 } from "./
|
|
119
|
-
import { default as default118 } from "./hooks/
|
|
120
|
-
import { default as default119 } from "./hooks/
|
|
121
|
-
import { default as default120 } from "./hooks/
|
|
122
|
-
import { default as default121 } from "./hooks/
|
|
123
|
-
import { default as default122 } from "./hooks/
|
|
124
|
-
import {
|
|
125
|
-
import { default as default124 } from "./hooks/
|
|
126
|
-
import { default as default125 } from "./hooks/
|
|
127
|
-
import { default as default126 } from "./hooks/
|
|
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
|
|
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
|
|
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
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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
|
-
|
|
230
|
+
default40 as Label,
|
|
227
231
|
Layout,
|
|
228
|
-
|
|
232
|
+
default41 as LinkPill,
|
|
229
233
|
List,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
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
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
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
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
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
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
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
|
-
|
|
273
|
-
|
|
275
|
+
default72 as TextArea,
|
|
276
|
+
default73 as TextSkeleton,
|
|
274
277
|
Toolbar,
|
|
275
|
-
|
|
276
|
-
|
|
278
|
+
default74 as Tooltip,
|
|
279
|
+
default75 as Tree,
|
|
277
280
|
TreeNode,
|
|
278
281
|
TreeNodeFolderWrapper,
|
|
279
|
-
|
|
282
|
+
default76 as TreeView,
|
|
280
283
|
Upload,
|
|
281
|
-
|
|
282
|
-
|
|
284
|
+
default77 as UploadCard,
|
|
285
|
+
default78 as UploadFiles,
|
|
283
286
|
UserRightsList,
|
|
284
287
|
UserSearch,
|
|
285
|
-
|
|
286
|
-
|
|
288
|
+
default79 as VideoEmbed,
|
|
289
|
+
default80 as VideoRecorder,
|
|
287
290
|
VisibleType,
|
|
288
|
-
|
|
291
|
+
default81 as VisuallyHidden,
|
|
289
292
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
290
293
|
WORKSPACE_USER_FOLDER_ID,
|
|
291
|
-
|
|
292
|
-
|
|
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
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
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
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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
|
-
|
|
342
|
+
default96 as useEdificeIcons,
|
|
340
343
|
useEdificeTheme,
|
|
341
344
|
useFileToAttachment,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
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
|
-
|
|
360
|
+
default110 as usePublicConf,
|
|
357
361
|
useScreeb,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
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
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
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,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
|
+
};
|
|
@@ -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 {
|
|
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__ */
|
|
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,
|