@edifice.io/react 2.6.12 → 2.6.13-develop-integration-demo.20261108115137
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 +19 -14
- package/dist/components/Dropdown/DropdownContext.d.ts +8 -0
- package/dist/components/Dropdown/DropdownItem.js +17 -1
- package/dist/components/Dropdown/DropdownMenuGroup.js +24 -6
- package/dist/components/Dropdown/DropdownSearchInput.js +16 -8
- package/dist/components/Dropdown/DropdownTrigger.js +24 -8
- package/dist/components/Dropdown/useDropdownItemFilter.js +5 -7
- package/dist/components/Dropdown/useMatchRegistry.d.ts +5 -0
- package/dist/components/Dropdown/useMatchRegistry.js +20 -0
- package/dist/components/Select/Select.d.ts +14 -1
- package/dist/components/Select/Select.js +11 -5
- package/dist/components/Tree/components/Tree.d.ts +2 -5
- package/dist/components/Tree/components/Tree.js +10 -7
- package/dist/components/Tree/hooks/useTree.d.ts +1 -0
- package/dist/components/Tree/hooks/useTree.js +6 -2
- package/dist/components/Tree/types/index.d.ts +7 -0
- package/dist/homepage.js +28 -24
- package/dist/hooks/useDropdown/useDropdown.d.ts +1 -0
- package/dist/hooks/useDropdown/useDropdown.js +27 -9
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.d.ts +1 -1
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.js +2 -2
- package/dist/icons-apps.js +256 -254
- package/dist/index.js +158 -156
- package/dist/modules/editor/components/Editor/Editor.d.ts +5 -0
- package/dist/modules/editor/components/Editor/Editor.js +3 -0
- 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 +1 -4
- 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/index.d.ts +1 -0
- package/dist/modules/multimedia/Nextcloud/Nextcloud.js +7 -19
- package/dist/modules/multimedia/Nextcloud/NextcloudLogin.d.ts +12 -0
- package/dist/modules/multimedia/Nextcloud/NextcloudLogin.js +33 -0
- package/dist/modules/multimedia/NextcloudFolders/NextcloudFolders.d.ts +12 -0
- package/dist/modules/multimedia/NextcloudFolders/NextcloudFolders.js +51 -0
- package/dist/modules/multimedia/NextcloudFolders/components/NewFolderForm.d.ts +16 -0
- package/dist/modules/multimedia/NextcloudFolders/components/NewFolderForm.js +52 -0
- package/dist/modules/multimedia/NextcloudFolders/index.d.ts +1 -0
- package/dist/modules/multimedia/index.d.ts +1 -0
- package/dist/multimedia.js +14 -12
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -48,82 +48,83 @@ import { default as default46 } from "./components/Modal/Modal.js";
|
|
|
48
48
|
import { default as default47 } from "./components/ModalBeta/ModalBeta.js";
|
|
49
49
|
import { default as default48 } from "./modules/multimedia/Nextcloud/Nextcloud.js";
|
|
50
50
|
import { default as default49 } from "./modules/multimedia/FileCard/NextcloudFileCard.js";
|
|
51
|
-
import { default as default50 } from "./modules/
|
|
52
|
-
import { default as default51 } from "./
|
|
53
|
-
import { default as default52 } from "./components/
|
|
54
|
-
import { default as default53
|
|
55
|
-
import { default as default54 } from "./
|
|
56
|
-
import { default as default55 } from "./
|
|
57
|
-
import { default as default56 } from "./components/
|
|
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 "./
|
|
64
|
-
import { default as default63 } from "./modules/modals/ShareModal/
|
|
65
|
-
import { default as default64 } from "./modules/modals/ShareModal/
|
|
66
|
-
import { default as default65 } from "./
|
|
67
|
-
import { default as default66 } from "./components/
|
|
68
|
-
import { default as default67 } from "./components/
|
|
69
|
-
import { default as default68 } from "./components/
|
|
70
|
-
import { default as default69 } from "./components/
|
|
71
|
-
import { default as default70 } from "./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 "./
|
|
77
|
-
import { default as default76 } from "./modules/multimedia/
|
|
78
|
-
import { default as default77 } from "./modules/multimedia/
|
|
79
|
-
import { default as default78 } from "./modules/multimedia/
|
|
80
|
-
import { default as default79 } from "./
|
|
81
|
-
import { default as default80 } from "./
|
|
82
|
-
import { default as default81 } from "./modules/multimedia/
|
|
83
|
-
import { default as default82 } from "./
|
|
84
|
-
import { default as default83 } from "./hooks/
|
|
85
|
-
import { default as default84 } from "./hooks/
|
|
86
|
-
import { default as default85 } from "./hooks/
|
|
87
|
-
import { default as default86 } from "./hooks/
|
|
88
|
-
import { default as default87 } from "./hooks/
|
|
89
|
-
import { default as default88 } from "./hooks/
|
|
90
|
-
import { default as default89 } from "./hooks/
|
|
91
|
-
import { default as default90 } from "./hooks/
|
|
92
|
-
import { default as default91 } from "./hooks/
|
|
93
|
-
import { default as default92 } from "./hooks/
|
|
94
|
-
import { default as default93 } from "./hooks/
|
|
95
|
-
import { default as default94 } from "./hooks/
|
|
96
|
-
import { default as default95 } from "./hooks/
|
|
97
|
-
import { default as default96 } from "./hooks/
|
|
98
|
-
import { default as default97 } from "./hooks/
|
|
99
|
-
import { default as default98 } from "./hooks/
|
|
100
|
-
import { default as default99 } from "./hooks/
|
|
101
|
-
import { default as default100 } from "./hooks/
|
|
102
|
-
import { default as default101 } from "./hooks/
|
|
103
|
-
import { default as default102 } from "./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 "./
|
|
111
|
-
import { default as default110 } from "./hooks/
|
|
112
|
-
import { default as default111 } from "./hooks/
|
|
113
|
-
import { default as default112 } from "./hooks/
|
|
114
|
-
import { default as default113 } from "./hooks/
|
|
115
|
-
import { default as default114 } from "./hooks/
|
|
116
|
-
import { default as default115 } from "./hooks/
|
|
117
|
-
import { default as default116 } from "./
|
|
118
|
-
import { default as default117 } from "./hooks/
|
|
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 {
|
|
124
|
-
import { default as default123 } from "./hooks/
|
|
125
|
-
import { default as default124 } from "./hooks/
|
|
126
|
-
import { default as default125 } from "./hooks/
|
|
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";
|
|
127
128
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
128
129
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
129
130
|
import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
|
|
@@ -159,7 +160,7 @@ import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-
|
|
|
159
160
|
import { getRotateTransitionStyle } from "./utilities/rotate-transition-style/get-rotate-transition-style.js";
|
|
160
161
|
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
161
162
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
162
|
-
import { default as
|
|
163
|
+
import { default as default127 } from "./hooks/useBackground/useBackground.js";
|
|
163
164
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
164
165
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
165
166
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
@@ -168,7 +169,7 @@ import { useOverlay } from "./components/PageLayout/hook/useOverlay.js";
|
|
|
168
169
|
import { useScreeb } from "./hooks/useScreeb/useScreeb.js";
|
|
169
170
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
170
171
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
171
|
-
import { default as
|
|
172
|
+
import { default as default128 } from "./hooks/useUserPreferences/useUserPreferences.js";
|
|
172
173
|
export {
|
|
173
174
|
AccessiblePalette,
|
|
174
175
|
default2 as ActionBar,
|
|
@@ -238,56 +239,57 @@ export {
|
|
|
238
239
|
default47 as ModalBeta,
|
|
239
240
|
default48 as Nextcloud,
|
|
240
241
|
default49 as NextcloudFileCard,
|
|
241
|
-
default50 as
|
|
242
|
-
default51 as
|
|
242
|
+
default50 as NextcloudFolders,
|
|
243
|
+
default51 as OnboardingModal,
|
|
244
|
+
default52 as PageLayout,
|
|
243
245
|
PageLayoutContext,
|
|
244
246
|
Pagination,
|
|
245
247
|
Popover,
|
|
246
248
|
PopoverBody,
|
|
247
249
|
PopoverFooter,
|
|
248
250
|
PopoverHeader,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
default53 as PreventPropagation,
|
|
252
|
+
default54 as PromotionCard,
|
|
253
|
+
default55 as PublishModal,
|
|
254
|
+
default56 as Radio,
|
|
255
|
+
default57 as RadioCard,
|
|
256
|
+
default58 as RadioTile,
|
|
255
257
|
ResourceModal,
|
|
256
258
|
Root,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
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,
|
|
269
271
|
Tabs,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
+
default71 as TextArea,
|
|
273
|
+
default72 as TextSkeleton,
|
|
272
274
|
Toolbar,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
+
default73 as Tooltip,
|
|
276
|
+
default74 as Tree,
|
|
275
277
|
TreeNode,
|
|
276
278
|
TreeNodeFolderWrapper,
|
|
277
|
-
|
|
279
|
+
default75 as TreeView,
|
|
278
280
|
Upload,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
+
default76 as UploadCard,
|
|
282
|
+
default77 as UploadFiles,
|
|
281
283
|
UserRightsList,
|
|
282
284
|
UserSearch,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
+
default78 as VideoEmbed,
|
|
286
|
+
default79 as VideoRecorder,
|
|
285
287
|
VisibleType,
|
|
286
|
-
|
|
288
|
+
default80 as VisuallyHidden,
|
|
287
289
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
288
290
|
WORKSPACE_USER_FOLDER_ID,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
+
default81 as Workspace,
|
|
292
|
+
default82 as WorkspaceFolders,
|
|
291
293
|
addNode,
|
|
292
294
|
arrayUnique,
|
|
293
295
|
buildTree,
|
|
@@ -318,61 +320,61 @@ export {
|
|
|
318
320
|
setRef,
|
|
319
321
|
updateNode,
|
|
320
322
|
updateParentIds,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
323
|
+
default127 as useBackground,
|
|
324
|
+
default83 as useBookmark,
|
|
325
|
+
default84 as useBreakpoint,
|
|
326
|
+
default85 as useBrowserInfo,
|
|
327
|
+
default86 as useCantoo,
|
|
328
|
+
default87 as useCarbonioUnread,
|
|
327
329
|
useCheckable,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
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,
|
|
335
337
|
useDropzoneContext,
|
|
336
338
|
useEdificeClient,
|
|
337
|
-
|
|
339
|
+
default95 as useEdificeIcons,
|
|
338
340
|
useEdificeTheme,
|
|
339
341
|
useFileToAttachment,
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
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,
|
|
352
354
|
useOverlay,
|
|
353
355
|
usePageLayout,
|
|
354
|
-
|
|
356
|
+
default108 as usePublicConf,
|
|
355
357
|
useScreeb,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
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,
|
|
363
365
|
useTreeSortable,
|
|
364
366
|
useTreeView,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
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,
|
|
377
379
|
wrapTreeNode
|
|
378
380
|
};
|
|
@@ -3,6 +3,11 @@ import { Content, Extensions, FocusPosition, JSONContent } from '@tiptap/react';
|
|
|
3
3
|
export interface EditorRef {
|
|
4
4
|
/** Get the current content. */
|
|
5
5
|
getContent: (as: 'html' | 'json' | 'plain') => undefined | string | JSONContent;
|
|
6
|
+
/**
|
|
7
|
+
* Whether the editor has no content (TipTap's `editor.isEmpty`).
|
|
8
|
+
* Evaluated on each access, so it always reflects the current document.
|
|
9
|
+
*/
|
|
10
|
+
readonly isEmpty: boolean;
|
|
6
11
|
/** Get speech synthetisis current state */
|
|
7
12
|
isSpeeching: () => boolean;
|
|
8
13
|
/** [De]activate speech synthetisis */
|
|
@@ -60,6 +60,9 @@ const MathsModal = /* @__PURE__ */ lazy(async () => await import("../MathsModal/
|
|
|
60
60
|
throw `[Editor] Unknown content format ${as}`;
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
+
get isEmpty() {
|
|
64
|
+
return (editor == null ? void 0 : editor.isEmpty) ?? !0;
|
|
65
|
+
},
|
|
63
66
|
toogleSpeechSynthetisis: speechSynthetisis.toggle,
|
|
64
67
|
isSpeeching: () => speechSynthetisis.isActivated,
|
|
65
68
|
setFocus: (position) => {
|
|
@@ -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,5 +1,4 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
2
|
import { useTranslation } from "react-i18next";
|
|
4
3
|
import illuEmptyFavorite from "@edifice.io/bootstrap/dist/images/homepage/illu-empty-favorite.svg";
|
|
5
4
|
import SvgIconArrowRight from "../../../icons/components/IconArrowRight.js";
|
|
@@ -12,9 +11,7 @@ function Favorites({
|
|
|
12
11
|
}) {
|
|
13
12
|
const {
|
|
14
13
|
t
|
|
15
|
-
} = useTranslation(), getAppName = (app) => app.prefix && app.prefix.length > 1 ? t(app.prefix.substring(1)) : t(app.displayName) || "", visibleApps =
|
|
16
|
-
sensitivity: "base"
|
|
17
|
-
})), [apps, 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);
|
|
18
15
|
return /* @__PURE__ */ jsxs(HomeCard, { variant: "secondary", children: [
|
|
19
16
|
/* @__PURE__ */ jsx(HomeCard.Header, { title: t("homepage.favorites.title"), actionLabel: t("homepage.favorites.all"), onActionClick: onSeeAllClick, actionRightIcon: /* @__PURE__ */ jsx(SvgIconArrowRight, {}) }),
|
|
20
17
|
/* @__PURE__ */ jsx(HomeCard.Content, { children: /* @__PURE__ */ jsx("div", { className: "favorites-content", children: visibleApps.length === 0 ? /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "12", children: [
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconAlloregion: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconAlloregion;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconAlloregion = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 120 120", 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: "#2d5498", d: "M0 0h120v120H0z" }),
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "#202d56", d: "M32.67 10.74h76.59v76.5c0 12.15-9.87 22.02-22.02 22.02h-76.5V32.67c0-12.1 9.83-21.93 21.93-21.93" }),
|
|
10
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M32.48 33.59c1.44 4.93 3.91 12.05 5.58 16.21h-4.91c-.33-.77-.74-1.88-1.16-3.12h-6.28c-.35 1.23-.63 2.33-.84 3.12h-4.81c1.21-4.26 3.93-11.95 5.65-16.21zm-3.93 3.91c-.46 1.3-1.09 3.28-1.72 5.35h3.88c-.65-2.05-1.23-4.02-1.58-5.35zM42.72 33.01v13.16c0 1.14.23 2.16.7 3.02l-3.91 1.21c-.67-.93-1.05-2.4-1.05-4.12V33h4.26ZM50.05 33.01v13.16c0 1.14.23 2.16.7 3.02l-3.91 1.21c-.67-.93-1.05-2.4-1.05-4.12V33h4.26ZM64.49 43.75c0 4.91-2.02 6.37-5.98 6.37s-5.93-1.47-5.93-6.37 2.07-6.26 5.93-6.26 5.98 1.37 5.98 6.26m-4.07-10.16 2.93 3h-3.53l-1.42-1.53-1.37 1.53h-3.44l2.84-3h4Zm-3.58 10.23c0 2.72.35 3.05 1.67 3.05s1.7-.33 1.7-3.05-.35-3.07-1.7-3.07-1.67.26-1.67 3.07" }),
|
|
11
|
+
/* @__PURE__ */ jsx("path", { fill: "#94c020", d: "M32.23 57.59c3.23 0 4.39 2.02 4.39 4.74 0 2.35-.93 4.37-3.84 4.6 1.07.4 1.98 1.44 5.19 6.86h-5.51c-2.49-4.37-3.35-5.37-4.26-5.37h-1.19v5.37h-4.44V57.58h9.65Zm-5.21 7.23h3.72c.46 0 .93-.39.93-1.7s-.37-1.74-.91-1.74h-3.74zM50.3 69.17h-7.05c.05 1.26.79 1.47 2.19 1.47.86 0 2.44-.14 3.28-.33l.6 3.16c-1.19.39-2.98.65-4.44.65-3.28 0-5.98-1.46-5.98-6.37s2.33-6.26 5.72-6.26c4.16 0 6.12 1.19 5.67 7.67Zm-.74-11.58-3.63 3h-3.49l2.88-3h4.23Zm-6.28 8.54h3.07c-.02-1.23-.35-1.49-1.49-1.49s-1.37.37-1.58 1.49M63.56 72.82c0 4.91-3.02 5.72-6.84 5.72-1.7 0-3.37-.3-4.54-.7l.7-3.23c1.37.3 2.4.49 3.77.49 1.65 0 2.65-.4 2.65-1.65-.74.33-1.77.58-2.77.58-2.88 0-4.63-1.26-4.63-6.07s1.86-6.46 6.05-6.46c2 0 4.3.35 5.6.81v10.51Zm-4.26-7.74c-.44-.19-1.02-.28-1.35-.28-1.35 0-1.79.33-1.79 3.05 0 2.09.35 2.65 1.67 2.65.81 0 1.46-.23 1.46-.56v-4.86ZM68.61 56.45c1.79 0 2.37.26 2.37 1.95 0 1.86-.58 2.19-2.37 2.19s-2.37-.33-2.37-2.19c0-1.7.58-1.95 2.37-1.95m2.14 5.4V73.8h-4.26V61.85zM85 67.75c0 4.91-2.02 6.37-5.98 6.37s-5.93-1.46-5.93-6.37 2.07-6.26 5.93-6.26S85 62.86 85 67.75m-7.65.07c0 2.72.35 3.05 1.67 3.05s1.7-.33 1.7-3.05-.35-3.07-1.7-3.07-1.67.26-1.67 3.07M91.66 73.8H87.4V62.61c1.6-.54 4.09-1.12 6.46-1.12 3.26 0 5 1.46 5 5.72v6.58H94.6v-6.3c0-1.67-.23-2.23-1.67-2.23-.37 0-.79.07-1.28.16v8.37Z" }),
|
|
12
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M85.07 95.55h5.06l-5.37-5.37 5.37-5.37h-5.06l-5.37 5.37z" }),
|
|
13
|
+
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M76.17 95.55h5.06l-5.37-5.37 5.37-5.37h-5.06l-5.37 5.37zM24.89 114.25h-11.9l12.35-12.15-12.15-12.15h11.69l12.15 12.15-12.15 12.15Zm-10.77-.46H24.7l11.69-11.69L24.7 90.41H14.31L26 102.1l-.17.16-11.71 11.52Zm-9.03.46H0v-.46h4.9l11.69-11.69L4.9 90.41H0v-.46h5.09l12.15 12.15zm-4.93-6.21-.32-.33 5.71-5.61-5.71-5.71.33-.33 6.04 6.04zM28.85 19.94l-8.48-8.48V3.02l8.48 8.48 8.48-8.48v8.43l-8.48 8.48Zm-8.02-8.67 8.02 8.02 8.02-8.02V4.14l-8.02 8.02-8.02-8.02zm8.02-5L22.61.03l.33-.33 5.91 5.91L34.66-.2l.33.33z" })
|
|
14
|
+
] });
|
|
15
|
+
export {
|
|
16
|
+
SvgIconAlloregion as default
|
|
17
|
+
};
|
|
@@ -4,6 +4,7 @@ export { default as IconAdminPortal } from './IconAdminPortal';
|
|
|
4
4
|
export { default as IconAdmin } from './IconAdmin';
|
|
5
5
|
export { default as IconAdmissionPostBac } from './IconAdmissionPostBac';
|
|
6
6
|
export { default as IconAgenda } from './IconAgenda';
|
|
7
|
+
export { default as IconAlloregion } from './IconAlloregion';
|
|
7
8
|
export { default as IconAppointments } from './IconAppointments';
|
|
8
9
|
export { default as IconArchive } from './IconArchive';
|
|
9
10
|
export { default as IconAssistance } from './IconAssistance';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { useState, useCallback, useEffect, useMemo } from "react";
|
|
3
3
|
import { DocumentHelper } from "@edifice.io/client";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
@@ -7,11 +7,10 @@ import { findNodeById } from "../../../components/Tree/utilities/tree.js";
|
|
|
7
7
|
import SvgIconSortAscendingLetters from "../../icons/components/IconSortAscendingLetters.js";
|
|
8
8
|
import SvgIconSortDescendingLetters from "../../icons/components/IconSortDescendingLetters.js";
|
|
9
9
|
import SvgIconSortTime from "../../icons/components/IconSortTime.js";
|
|
10
|
+
import NextcloudLogin from "./NextcloudLogin.js";
|
|
10
11
|
import illuError from "@edifice.io/bootstrap/dist/images/emptyscreen/illu-error.svg";
|
|
11
|
-
import illuConnectionLost from "@edifice.io/bootstrap/dist/images/emptyscreen/illu-connection-lost.svg";
|
|
12
12
|
import illuTrash from "@edifice.io/bootstrap/dist/images/emptyscreen/illu-trash.svg";
|
|
13
13
|
import useUser from "../../../hooks/useUser/useUser.js";
|
|
14
|
-
import useToast from "../../../hooks/useToast/useToast.js";
|
|
15
14
|
import useNextcloudSearch from "../../../hooks/useNextcloudSearch/useNextcloudSearch.js";
|
|
16
15
|
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
17
16
|
import Flex from "../../../components/Flex/Flex.js";
|
|
@@ -36,7 +35,7 @@ const Nextcloud = ({
|
|
|
36
35
|
t
|
|
37
36
|
} = useTranslation(), {
|
|
38
37
|
user
|
|
39
|
-
} = useUser(),
|
|
38
|
+
} = useUser(), {
|
|
40
39
|
root,
|
|
41
40
|
needsAuth,
|
|
42
41
|
isCheckingAuth,
|
|
@@ -44,7 +43,7 @@ const Nextcloud = ({
|
|
|
44
43
|
refetchAuthStatus,
|
|
45
44
|
loadContent,
|
|
46
45
|
loadError
|
|
47
|
-
} = useNextcloudSearch(ROOT_ID, t("nextcloud"), user == null ? void 0 : user.userId),
|
|
46
|
+
} = useNextcloudSearch(ROOT_ID, t("nextcloud"), user == null ? void 0 : user.userId), [currentNodeId, setCurrentNodeId] = useState(ROOT_ID), currentNode = findNodeById(root, currentNodeId) ?? root, [searchTerm, setSearchTerm] = useState(void 0), [sortOrder, setSortOrder] = useState(["modified", "desc"]), [selectedDocuments, setSelectedDocuments] = useState([]), handleTreeItemChange = useCallback((nodeId) => {
|
|
48
47
|
setCurrentNodeId(nodeId), loadContent(nodeId);
|
|
49
48
|
}, [loadContent]);
|
|
50
49
|
useEffect(() => {
|
|
@@ -69,22 +68,11 @@ const Nextcloud = ({
|
|
|
69
68
|
let currentDocuments = [...selectedDocuments];
|
|
70
69
|
multiple ? currentDocuments.some((selectedDocument) => selectedDocument.path === doc.path) ? currentDocuments = currentDocuments.filter((selectedDocument) => selectedDocument.path !== doc.path) : currentDocuments = [...currentDocuments, doc] : currentDocuments = [doc], setSelectedDocuments(currentDocuments), onSelect(currentDocuments);
|
|
71
70
|
}
|
|
72
|
-
const nextcloud = clsx("workspace flex-grow-1 gap-0", className)
|
|
73
|
-
|
|
74
|
-
};
|
|
75
|
-
return useEffect(() => {
|
|
76
|
-
function handleMessage(event) {
|
|
77
|
-
var _a;
|
|
78
|
-
event.origin !== window.location.origin || ((_a = event.data) == null ? void 0 : _a.type) !== "nextcloud-connected" || (popupRef.current && !popupRef.current.closed && popupRef.current.close(), refetchAuthStatus());
|
|
79
|
-
}
|
|
80
|
-
return window.addEventListener("message", handleMessage), () => window.removeEventListener("message", handleMessage);
|
|
81
|
-
}, [refetchAuthStatus]), isCheckingAuth ? /* @__PURE__ */ jsx(LoadingScreen, {}) : isAuthError ? /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "12", className: "h-full w-100", justify: "center", align: "center", children: [
|
|
71
|
+
const nextcloud = clsx("workspace flex-grow-1 gap-0", className);
|
|
72
|
+
return isCheckingAuth ? /* @__PURE__ */ jsx(LoadingScreen, {}) : isAuthError ? /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "12", className: "h-full w-100", justify: "center", align: "center", children: [
|
|
82
73
|
/* @__PURE__ */ jsx(EmptyScreen, { imageSrc: illuError, title: t("nextcloud.error.title"), text: t("nextcloud.error.description") }),
|
|
83
74
|
/* @__PURE__ */ jsx(Button, { onClick: () => refetchAuthStatus(), children: t("retry") })
|
|
84
|
-
] }) : needsAuth ? /* @__PURE__ */
|
|
85
|
-
/* @__PURE__ */ jsx(EmptyScreen, { imageSrc: illuConnectionLost, title: t("nextcloud.auth.title"), text: t("nextcloud.auth.description") }),
|
|
86
|
-
/* @__PURE__ */ jsx(Button, { onClick: openLoginPopup, children: t("nextcloud.auth.connect") })
|
|
87
|
-
] }) : /* @__PURE__ */ jsxs(Grid, { className: nextcloud, children: [
|
|
75
|
+
] }) : needsAuth ? /* @__PURE__ */ jsx(NextcloudLogin, { onConnected: refetchAuthStatus }) : /* @__PURE__ */ jsxs(Grid, { className: nextcloud, children: [
|
|
88
76
|
/* @__PURE__ */ jsx(Grid.Col, { sm: "12", md: "3", xl: "4", className: "workspace-folders p-12 pt-0 gap-12", children: /* @__PURE__ */ jsx("div", { style: {
|
|
89
77
|
position: "sticky",
|
|
90
78
|
top: 0,
|