@edifice.io/react 2.6.12 → 2.6.13-develop-integration-demo.20261108143606
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/Checkbox/Checkbox.js +1 -1
- 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/Layout/Layout.js +12 -4
- package/dist/components/Masonry/Masonry.d.ts +40 -0
- package/dist/components/Masonry/Masonry.js +50 -0
- package/dist/components/Masonry/index.d.ts +2 -0
- package/dist/components/SearchBar/SearchBar.js +17 -26
- 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/components/index.d.ts +1 -0
- package/dist/homepage.js +114 -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/hooks/useUpload/useUpload.js +1 -1
- package/dist/hooks/useZendeskGuide/useZendeskGuide.d.ts +2 -6
- package/dist/hooks/useZendeskGuide/useZendeskGuide.js +11 -8
- package/dist/icons-apps.js +256 -254
- package/dist/icons.js +406 -404
- package/dist/index.js +160 -156
- package/dist/modules/HelpZone/HelpZone.js +6 -8
- package/dist/modules/HelpZone/HelpZoneContainer.js +2 -5
- 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/Agenda/Agenda.d.ts +10 -0
- package/dist/modules/homepage/components/Agenda/Agenda.js +54 -0
- package/dist/modules/homepage/components/Agenda/AgendaContainer.d.ts +1 -0
- package/dist/modules/homepage/components/Agenda/AgendaContainer.js +14 -0
- package/dist/modules/homepage/components/Agenda/AgendaEventCard.d.ts +10 -0
- package/dist/modules/homepage/components/Agenda/AgendaEventCard.js +30 -0
- package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.d.ts +14 -0
- package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.js +27 -0
- package/dist/modules/homepage/components/Agenda/index.d.ts +3 -0
- package/dist/modules/homepage/components/Agenda/services/api/agendaService.d.ts +24 -0
- package/dist/modules/homepage/components/Agenda/services/api/agendaService.js +45 -0
- package/dist/modules/homepage/components/Agenda/services/api/index.d.ts +4 -0
- package/dist/modules/homepage/components/Agenda/services/api/index.js +5 -0
- package/dist/modules/homepage/components/Agenda/services/queries/agenda.d.ts +19 -0
- package/dist/modules/homepage/components/Agenda/services/queries/agenda.js +26 -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/BriefMe/BriefMe.d.ts +9 -0
- package/dist/modules/homepage/components/BriefMe/BriefMe.js +59 -0
- package/dist/modules/homepage/components/BriefMe/BriefMeContainer.d.ts +4 -0
- package/dist/modules/homepage/components/BriefMe/BriefMeContainer.js +17 -0
- package/dist/modules/homepage/components/BriefMe/index.d.ts +4 -0
- package/dist/modules/homepage/components/BriefMe/types.d.ts +17 -0
- package/dist/modules/homepage/components/BriefMe/types.js +8 -0
- package/dist/modules/homepage/components/BriefMe/useBriefMe.d.ts +31 -0
- package/dist/modules/homepage/components/BriefMe/useBriefMe.js +51 -0
- package/dist/modules/homepage/components/Cantine/Cantine.d.ts +7 -0
- package/dist/modules/homepage/components/Cantine/Cantine.js +44 -0
- package/dist/modules/homepage/components/Cantine/CantineContainer.d.ts +4 -0
- package/dist/modules/homepage/components/Cantine/CantineContainer.js +18 -0
- package/dist/modules/homepage/components/Cantine/CantineModal.d.ts +24 -0
- package/dist/modules/homepage/components/Cantine/CantineModal.js +88 -0
- package/dist/modules/homepage/components/Cantine/CantineModalContainer.d.ts +7 -0
- package/dist/modules/homepage/components/Cantine/CantineModalContainer.js +12 -0
- package/dist/modules/homepage/components/Cantine/components/CantineLegend.d.ts +5 -0
- package/dist/modules/homepage/components/Cantine/components/CantineLegend.js +22 -0
- package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.d.ts +6 -0
- package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.js +28 -0
- package/dist/modules/homepage/components/Cantine/components/cantineLabels.d.ts +12 -0
- package/dist/modules/homepage/components/Cantine/components/cantineLabels.js +60 -0
- package/dist/modules/homepage/components/Cantine/hooks/useCantine.d.ts +11 -0
- package/dist/modules/homepage/components/Cantine/hooks/useCantine.js +20 -0
- package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.d.ts +24 -0
- package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.js +65 -0
- package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.d.ts +23 -0
- package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.js +43 -0
- package/dist/modules/homepage/components/Cantine/index.d.ts +7 -0
- package/dist/modules/homepage/components/Cantine/types.d.ts +42 -0
- package/dist/modules/homepage/components/Captation/CaptationAudio/CaptationAudio.d.ts +7 -0
- package/dist/modules/homepage/components/Captation/CaptationAudio/CaptationAudio.js +44 -0
- package/dist/modules/homepage/components/Captation/CaptationVideo/CaptationVideo.d.ts +9 -0
- package/dist/modules/homepage/components/Captation/CaptationVideo/CaptationVideo.js +44 -0
- package/dist/modules/homepage/components/Captation/index.d.ts +2 -0
- package/dist/modules/homepage/components/Edumalin/Edumalin.d.ts +9 -0
- package/dist/modules/homepage/components/Edumalin/Edumalin.js +65 -0
- package/dist/modules/homepage/components/Edumalin/EdumalinContainer.d.ts +4 -0
- package/dist/modules/homepage/components/Edumalin/EdumalinContainer.js +21 -0
- package/dist/modules/homepage/components/Edumalin/EdumalinModal.d.ts +8 -0
- package/dist/modules/homepage/components/Edumalin/EdumalinModal.js +62 -0
- package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.d.ts +5 -0
- package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.js +38 -0
- package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.d.ts +5 -0
- package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.js +12 -0
- package/dist/modules/homepage/components/Edumalin/index.d.ts +7 -0
- package/dist/modules/homepage/components/Edumalin/types.d.ts +24 -0
- package/dist/modules/homepage/components/Edumalin/types.js +4 -0
- package/dist/modules/homepage/components/Edumalin/useEdumalin.d.ts +16 -0
- package/dist/modules/homepage/components/Edumalin/useEdumalin.js +35 -0
- package/dist/modules/homepage/components/Edumalin/utils.d.ts +28 -0
- package/dist/modules/homepage/components/Edumalin/utils.js +56 -0
- package/dist/modules/homepage/components/Favorites/Favorites.js +1 -4
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.d.ts +16 -0
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.js +65 -0
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.d.ts +4 -0
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.js +12 -0
- package/dist/modules/homepage/components/GenerationHdf/formatSolde.d.ts +1 -0
- package/dist/modules/homepage/components/GenerationHdf/formatSolde.js +6 -0
- package/dist/modules/homepage/components/GenerationHdf/index.d.ts +3 -0
- package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.d.ts +10 -0
- package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.js +69 -0
- package/dist/modules/homepage/components/Header/Header.js +8 -20
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +5 -1
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +1 -1
- package/dist/modules/homepage/components/Mediacentre/Mediacentre.d.ts +13 -0
- package/dist/modules/homepage/components/Mediacentre/Mediacentre.js +57 -0
- package/dist/modules/homepage/components/Mediacentre/MediacentreContainer.d.ts +4 -0
- package/dist/modules/homepage/components/Mediacentre/MediacentreContainer.js +12 -0
- package/dist/modules/homepage/components/Mediacentre/components/MediacentreUniversalisSearch.d.ts +6 -0
- package/dist/modules/homepage/components/Mediacentre/components/MediacentreUniversalisSearch.js +30 -0
- package/dist/modules/homepage/components/Mediacentre/hooks/useMediacentre.d.ts +17 -0
- package/dist/modules/homepage/components/Mediacentre/hooks/useMediacentre.js +32 -0
- package/dist/modules/homepage/components/Mediacentre/index.d.ts +5 -0
- package/dist/modules/homepage/components/Mediacentre/services/mediacentreService.d.ts +24 -0
- package/dist/modules/homepage/components/Mediacentre/services/mediacentreService.js +25 -0
- package/dist/modules/homepage/components/Mediacentre/types.d.ts +8 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlash.js +0 -2
- package/dist/modules/homepage/components/Notifications/NotificationList.js +7 -8
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +7 -12
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.js +7 -4
- package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.js +11 -13
- package/dist/modules/homepage/components/Notifications/components/ReportNotificationModal.js +6 -12
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +12 -10
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +9 -10
- package/dist/modules/homepage/components/Qwant/Qwant.d.ts +4 -0
- package/dist/modules/homepage/components/Qwant/Qwant.js +41 -0
- package/dist/modules/homepage/components/Qwant/QwantContainer.d.ts +1 -0
- package/dist/modules/homepage/components/Qwant/QwantContainer.js +10 -0
- package/dist/modules/homepage/components/Qwant/index.d.ts +3 -0
- package/dist/modules/homepage/components/Rss/Rss.d.ts +11 -0
- package/dist/modules/homepage/components/Rss/Rss.js +64 -0
- package/dist/modules/homepage/components/Rss/RssContainer.d.ts +1 -0
- package/dist/modules/homepage/components/Rss/RssContainer.js +45 -0
- package/dist/modules/homepage/components/Rss/RssFeedForm.d.ts +13 -0
- package/dist/modules/homepage/components/Rss/RssFeedForm.js +69 -0
- package/dist/modules/homepage/components/Rss/RssFeedsModal.d.ts +11 -0
- package/dist/modules/homepage/components/Rss/RssFeedsModal.js +58 -0
- package/dist/modules/homepage/components/Rss/hooks/useRssContainer.d.ts +25 -0
- package/dist/modules/homepage/components/Rss/hooks/useRssContainer.js +43 -0
- package/dist/modules/homepage/components/Rss/index.d.ts +6 -0
- package/dist/modules/homepage/components/Rss/services/api/index.d.ts +5 -0
- package/dist/modules/homepage/components/Rss/services/api/index.js +5 -0
- package/dist/modules/homepage/components/Rss/services/api/rssService.d.ts +38 -0
- package/dist/modules/homepage/components/Rss/services/api/rssService.js +51 -0
- package/dist/modules/homepage/components/Rss/services/queries/rss.d.ts +28 -0
- package/dist/modules/homepage/components/Rss/services/queries/rss.js +71 -0
- package/dist/modules/homepage/components/Rss/types.d.ts +25 -0
- package/dist/modules/homepage/components/Rss/utils.d.ts +7 -0
- package/dist/modules/homepage/components/Rss/utils.js +19 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +1 -1
- package/dist/modules/homepage/components/ScreenTime/ScreenTime.d.ts +11 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTime.js +49 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeChart.d.ts +10 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeChart.js +115 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeContainer.d.ts +1 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeContainer.js +25 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeError.d.ts +5 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeError.js +22 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeModal.d.ts +22 -0
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeModal.js +81 -0
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeContainer.d.ts +14 -0
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeContainer.js +22 -0
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeKids.d.ts +6 -0
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeKids.js +25 -0
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeModal.d.ts +31 -0
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeModal.js +34 -0
- package/dist/modules/homepage/components/ScreenTime/index.d.ts +6 -0
- package/dist/modules/homepage/components/ScreenTime/services/api/index.d.ts +4 -0
- package/dist/modules/homepage/components/ScreenTime/services/api/index.js +5 -0
- package/dist/modules/homepage/components/ScreenTime/services/api/screenTimeService.d.ts +28 -0
- package/dist/modules/homepage/components/ScreenTime/services/api/screenTimeService.js +39 -0
- package/dist/modules/homepage/components/ScreenTime/services/queries/screenTime.d.ts +23 -0
- package/dist/modules/homepage/components/ScreenTime/services/queries/screenTime.js +41 -0
- package/dist/modules/homepage/components/ScreenTime/types.d.ts +30 -0
- package/dist/modules/homepage/components/ScreenTime/utils.d.ts +50 -0
- package/dist/modules/homepage/components/ScreenTime/utils.js +115 -0
- package/dist/modules/homepage/components/TabsKids/components/TabsKids.d.ts +43 -0
- package/dist/modules/homepage/components/TabsKids/components/TabsKids.js +23 -0
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsItem.d.ts +34 -0
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsItem.js +26 -0
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsList.d.ts +14 -0
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsList.js +64 -0
- package/dist/modules/homepage/components/TabsKids/hooks/useTabsKidsOverflow.d.ts +20 -0
- package/dist/modules/homepage/components/TabsKids/hooks/useTabsKidsOverflow.js +43 -0
- package/dist/modules/homepage/components/TabsKids/index.d.ts +3 -0
- package/dist/modules/homepage/components/TabsKids/utils/visibleTabs.d.ts +15 -0
- package/dist/modules/homepage/components/TabsKids/utils/visibleTabs.js +21 -0
- package/dist/modules/homepage/components/Universalis/Universalis.d.ts +8 -0
- package/dist/modules/homepage/components/Universalis/Universalis.js +62 -0
- package/dist/modules/homepage/components/Universalis/UniversalisContainer.d.ts +1 -0
- package/dist/modules/homepage/components/Universalis/UniversalisContainer.js +16 -0
- package/dist/modules/homepage/components/Universalis/index.d.ts +3 -0
- package/dist/modules/homepage/components/UsefulLinks/UsefulLinks.js +2 -2
- package/dist/modules/homepage/components/UsefulLinks/UsefulLinksModal.js +2 -2
- package/dist/modules/homepage/components/UserSpace/UserSpace.d.ts +3 -1
- package/dist/modules/homepage/components/UserSpace/UserSpace.js +13 -7
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +4 -2
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +3 -2
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.d.ts +16 -0
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.js +15 -0
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.d.ts +21 -0
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.js +47 -0
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/index.d.ts +2 -0
- package/dist/modules/homepage/components/index.d.ts +15 -0
- package/dist/modules/homepage/{components/SchoolSpace → hooks}/useUserSchools.d.ts +2 -2
- package/dist/modules/homepage/{components/SchoolSpace → hooks}/useUserSchools.js +4 -4
- package/dist/modules/icons/components/IconAddWidget.d.ts +7 -0
- package/dist/modules/icons/components/IconAddWidget.js +12 -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/icons/components/index.d.ts +1 -0
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.d.ts +2 -0
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +24 -10
- package/dist/modules/multimedia/AudioRecorder/AudioRecorderTimer.js +1 -1
- package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.d.ts +1 -0
- package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.js +89 -50
- 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/VideoRecorder/VideoRecorder.d.ts +6 -0
- package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +53 -19
- package/dist/modules/multimedia/VideoRecorder/VideoRecorderToolbar.js +27 -27
- package/dist/modules/multimedia/VideoRecorder/useCameras.d.ts +2 -0
- package/dist/modules/multimedia/VideoRecorder/useCameras.js +10 -4
- package/dist/modules/multimedia/Workspace/Workspace.js +1 -1
- package/dist/modules/multimedia/index.d.ts +1 -0
- package/dist/multimedia.js +14 -12
- package/package.json +7 -6
package/dist/index.js
CHANGED
|
@@ -42,88 +42,90 @@ import { default as default40 } from "./components/Loading/Loading.js";
|
|
|
42
42
|
import { default as default41 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
43
43
|
import { default as default42 } from "./components/Logo/Logo.js";
|
|
44
44
|
import { default as default43 } from "./components/LogoBeta/LogoBeta.js";
|
|
45
|
+
import { Masonry } from "./components/Masonry/Masonry.js";
|
|
45
46
|
import { default as default44 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
46
47
|
import { default as default45 } from "./components/MediaViewer/MediaViewer.js";
|
|
47
48
|
import { default as default46 } from "./components/Modal/Modal.js";
|
|
48
49
|
import { default as default47 } from "./components/ModalBeta/ModalBeta.js";
|
|
49
50
|
import { default as default48 } from "./modules/multimedia/Nextcloud/Nextcloud.js";
|
|
50
51
|
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/
|
|
52
|
+
import { default as default50 } from "./modules/multimedia/NextcloudFolders/NextcloudFolders.js";
|
|
53
|
+
import { default as default51 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
54
|
+
import { default as default52 } from "./components/PageLayout/PageLayout.js";
|
|
55
|
+
import { default as default53 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
56
|
+
import { default as default54, Root } from "./components/PromotionCard/PromotionCard.js";
|
|
57
|
+
import { default as default55 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
58
|
+
import { default as default56 } from "./components/Radio/Radio.js";
|
|
59
|
+
import { default as default57 } from "./components/RadioCard/RadioCard.js";
|
|
60
|
+
import { default as default58 } from "./components/RadioTile/RadioTile.js";
|
|
61
|
+
import { default as default59 } from "./components/SearchBar/SearchBar.js";
|
|
62
|
+
import { default as default60 } from "./components/Button/SearchButton.js";
|
|
63
|
+
import { default as default61 } from "./components/SegmentedControl/SegmentedControl.js";
|
|
64
|
+
import { default as default62 } from "./components/Select/Select.js";
|
|
65
|
+
import { default as default63 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
66
|
+
import { default as default64 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
67
|
+
import { default as default65 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
68
|
+
import { default as default66 } from "./components/Tree/components/SortableTree.js";
|
|
69
|
+
import { default as default67 } from "./components/StackedGroup/StackedGroup.js";
|
|
70
|
+
import { default as default68 } from "./components/Stepper/Stepper.js";
|
|
71
|
+
import { default as default69 } from "./components/Switch/Switch.js";
|
|
72
|
+
import { default as default70 } from "./components/Table/components/Table.js";
|
|
73
|
+
import { default as default71 } from "./components/TextArea/TextArea.js";
|
|
74
|
+
import { default as default72 } from "./components/Skeleton/TextSkeleton.js";
|
|
75
|
+
import { default as default73 } from "./components/Tooltip/Tooltip.js";
|
|
76
|
+
import { default as default74 } from "./components/Tree/components/Tree.js";
|
|
77
|
+
import { default as default75 } from "./components/TreeView/TreeView.js";
|
|
78
|
+
import { default as default76 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
79
|
+
import { default as default77 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
80
|
+
import { default as default78 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
81
|
+
import { default as default79 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
82
|
+
import { default as default80 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
83
|
+
import { default as default81 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
84
|
+
import { default as default82 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
85
|
+
import { default as default83 } from "./hooks/useBookmark/useBookmark.js";
|
|
86
|
+
import { default as default84 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
87
|
+
import { default as default85 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
88
|
+
import { default as default86 } from "./hooks/useCantoo/useCantoo.js";
|
|
89
|
+
import { default as default87 } from "./hooks/useCarbonioUnread/useCarbonioUnread.js";
|
|
90
|
+
import { default as default88 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
91
|
+
import { default as default89 } from "./hooks/useConversation/useConversation.js";
|
|
92
|
+
import { default as default90 } from "./hooks/useDate/useDate.js";
|
|
93
|
+
import { default as default91 } from "./hooks/useDebounce/useDebounce.js";
|
|
94
|
+
import { default as default92 } from "./hooks/useDirectory/useDirectory.js";
|
|
95
|
+
import { default as default93 } from "./hooks/useDropdown/useDropdown.js";
|
|
96
|
+
import { default as default94 } from "./hooks/useDropzone/useDropzone.js";
|
|
97
|
+
import { default as default95 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
98
|
+
import { default as default96 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
99
|
+
import { default as default97 } from "./hooks/useHover/useHover.js";
|
|
100
|
+
import { default as default98 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
101
|
+
import { default as default99 } from "./hooks/useImage/useImage.js";
|
|
102
|
+
import { default as default100 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
|
|
103
|
+
import { default as default101 } from "./hooks/useIsAdmc/useIsAdmc.js";
|
|
104
|
+
import { default as default102 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
105
|
+
import { default as default103 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
|
|
106
|
+
import { default as default104 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
107
|
+
import { default as default105 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
108
|
+
import { default as default106 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
109
|
+
import { default as default107 } from "./hooks/useNextcloudSearch/useNextcloudSearch.js";
|
|
110
|
+
import { default as default108 } from "./hooks/usePublicConf/usePublicConf.js";
|
|
111
|
+
import { default as default109 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
112
|
+
import { default as default110 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
113
|
+
import { default as default111 } from "./hooks/useTitle/useTitle.js";
|
|
114
|
+
import { default as default112 } from "./hooks/useToast/useToast.js";
|
|
115
|
+
import { default as default113 } from "./hooks/useToggle/useToggle.js";
|
|
116
|
+
import { default as default114 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
117
|
+
import { default as default115 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
118
|
+
import { default as default116 } from "./hooks/useUiOverride/useUiOverride.js";
|
|
119
|
+
import { default as default117 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
120
|
+
import { default as default118 } from "./hooks/useUpload/useUpload.js";
|
|
121
|
+
import { default as default119 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
122
|
+
import { default as default120 } from "./hooks/useUser/useUser.js";
|
|
123
|
+
import { default as default121 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
124
|
+
import { default as default122 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
125
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default123 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
126
|
+
import { default as default124 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
127
|
+
import { default as default125 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
128
|
+
import { default as default126 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
127
129
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
128
130
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
129
131
|
import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
|
|
@@ -159,7 +161,7 @@ import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-
|
|
|
159
161
|
import { getRotateTransitionStyle } from "./utilities/rotate-transition-style/get-rotate-transition-style.js";
|
|
160
162
|
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
161
163
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
162
|
-
import { default as
|
|
164
|
+
import { default as default127 } from "./hooks/useBackground/useBackground.js";
|
|
163
165
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
164
166
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
165
167
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
@@ -168,7 +170,7 @@ import { useOverlay } from "./components/PageLayout/hook/useOverlay.js";
|
|
|
168
170
|
import { useScreeb } from "./hooks/useScreeb/useScreeb.js";
|
|
169
171
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
170
172
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
171
|
-
import { default as
|
|
173
|
+
import { default as default128 } from "./hooks/useUserPreferences/useUserPreferences.js";
|
|
172
174
|
export {
|
|
173
175
|
AccessiblePalette,
|
|
174
176
|
default2 as ActionBar,
|
|
@@ -230,6 +232,7 @@ export {
|
|
|
230
232
|
default41 as LoadingScreen,
|
|
231
233
|
default42 as Logo,
|
|
232
234
|
default43 as LogoBeta,
|
|
235
|
+
Masonry,
|
|
233
236
|
default44 as MediaLibrary,
|
|
234
237
|
default45 as MediaViewer,
|
|
235
238
|
Menu,
|
|
@@ -238,56 +241,57 @@ export {
|
|
|
238
241
|
default47 as ModalBeta,
|
|
239
242
|
default48 as Nextcloud,
|
|
240
243
|
default49 as NextcloudFileCard,
|
|
241
|
-
default50 as
|
|
242
|
-
default51 as
|
|
244
|
+
default50 as NextcloudFolders,
|
|
245
|
+
default51 as OnboardingModal,
|
|
246
|
+
default52 as PageLayout,
|
|
243
247
|
PageLayoutContext,
|
|
244
248
|
Pagination,
|
|
245
249
|
Popover,
|
|
246
250
|
PopoverBody,
|
|
247
251
|
PopoverFooter,
|
|
248
252
|
PopoverHeader,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
default53 as PreventPropagation,
|
|
254
|
+
default54 as PromotionCard,
|
|
255
|
+
default55 as PublishModal,
|
|
256
|
+
default56 as Radio,
|
|
257
|
+
default57 as RadioCard,
|
|
258
|
+
default58 as RadioTile,
|
|
255
259
|
ResourceModal,
|
|
256
260
|
Root,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
261
|
+
default59 as SearchBar,
|
|
262
|
+
default60 as SearchButton,
|
|
263
|
+
default61 as SegmentedControl,
|
|
264
|
+
default62 as Select,
|
|
265
|
+
default63 as ShareBlog,
|
|
266
|
+
default64 as ShareModal,
|
|
267
|
+
default65 as ShareResources,
|
|
268
|
+
default66 as SortableTree,
|
|
269
|
+
default67 as StackedGroup,
|
|
270
|
+
default68 as Stepper,
|
|
271
|
+
default69 as Switch,
|
|
272
|
+
default70 as Table,
|
|
269
273
|
Tabs,
|
|
270
|
-
|
|
271
|
-
|
|
274
|
+
default71 as TextArea,
|
|
275
|
+
default72 as TextSkeleton,
|
|
272
276
|
Toolbar,
|
|
273
|
-
|
|
274
|
-
|
|
277
|
+
default73 as Tooltip,
|
|
278
|
+
default74 as Tree,
|
|
275
279
|
TreeNode,
|
|
276
280
|
TreeNodeFolderWrapper,
|
|
277
|
-
|
|
281
|
+
default75 as TreeView,
|
|
278
282
|
Upload,
|
|
279
|
-
|
|
280
|
-
|
|
283
|
+
default76 as UploadCard,
|
|
284
|
+
default77 as UploadFiles,
|
|
281
285
|
UserRightsList,
|
|
282
286
|
UserSearch,
|
|
283
|
-
|
|
284
|
-
|
|
287
|
+
default78 as VideoEmbed,
|
|
288
|
+
default79 as VideoRecorder,
|
|
285
289
|
VisibleType,
|
|
286
|
-
|
|
290
|
+
default80 as VisuallyHidden,
|
|
287
291
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
288
292
|
WORKSPACE_USER_FOLDER_ID,
|
|
289
|
-
|
|
290
|
-
|
|
293
|
+
default81 as Workspace,
|
|
294
|
+
default82 as WorkspaceFolders,
|
|
291
295
|
addNode,
|
|
292
296
|
arrayUnique,
|
|
293
297
|
buildTree,
|
|
@@ -318,61 +322,61 @@ export {
|
|
|
318
322
|
setRef,
|
|
319
323
|
updateNode,
|
|
320
324
|
updateParentIds,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
default127 as useBackground,
|
|
326
|
+
default83 as useBookmark,
|
|
327
|
+
default84 as useBreakpoint,
|
|
328
|
+
default85 as useBrowserInfo,
|
|
329
|
+
default86 as useCantoo,
|
|
330
|
+
default87 as useCarbonioUnread,
|
|
327
331
|
useCheckable,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
332
|
+
default88 as useClickOutside,
|
|
333
|
+
default89 as useConversation,
|
|
334
|
+
default90 as useDate,
|
|
335
|
+
default91 as useDebounce,
|
|
336
|
+
default92 as useDirectory,
|
|
337
|
+
default93 as useDropdown,
|
|
338
|
+
default94 as useDropzone,
|
|
335
339
|
useDropzoneContext,
|
|
336
340
|
useEdificeClient,
|
|
337
|
-
|
|
341
|
+
default95 as useEdificeIcons,
|
|
338
342
|
useEdificeTheme,
|
|
339
343
|
useFileToAttachment,
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
344
|
+
default96 as useHasWorkflow,
|
|
345
|
+
default97 as useHover,
|
|
346
|
+
default98 as useHttpErrorToast,
|
|
347
|
+
default99 as useImage,
|
|
348
|
+
default100 as useInfiniteScroll,
|
|
349
|
+
default101 as useIsAdmc,
|
|
350
|
+
default102 as useIsAdml,
|
|
351
|
+
default103 as useIsAdmlcOrAdmc,
|
|
352
|
+
default104 as useKeyPress,
|
|
353
|
+
default105 as useLibraryUrl,
|
|
354
|
+
default106 as useMediaLibrary,
|
|
355
|
+
default107 as useNextcloudSearch,
|
|
352
356
|
useOverlay,
|
|
353
357
|
usePageLayout,
|
|
354
|
-
|
|
358
|
+
default108 as usePublicConf,
|
|
355
359
|
useScreeb,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
default109 as useScrollToTop,
|
|
361
|
+
default110 as useShareMutation,
|
|
362
|
+
default111 as useTitle,
|
|
363
|
+
default112 as useToast,
|
|
364
|
+
default113 as useToggle,
|
|
365
|
+
default114 as useTrapFocus,
|
|
366
|
+
default115 as useTrashedResource,
|
|
363
367
|
useTreeSortable,
|
|
364
368
|
useTreeView,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
369
|
+
default116 as useUiOverride,
|
|
370
|
+
default117 as useUpdateMutation,
|
|
371
|
+
default118 as useUpload,
|
|
372
|
+
default119 as useUploadFiles,
|
|
373
|
+
default120 as useUser,
|
|
374
|
+
default128 as useUserPreferences,
|
|
375
|
+
default121 as useWorkspaceFile,
|
|
376
|
+
default122 as useWorkspaceFolders,
|
|
377
|
+
default123 as useWorkspaceFoldersTree,
|
|
378
|
+
default124 as useWorkspaceSearch,
|
|
379
|
+
default125 as useXitiTrackPageLoad,
|
|
380
|
+
default126 as useZendeskGuide,
|
|
377
381
|
wrapTreeNode
|
|
378
382
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState,
|
|
2
|
+
import { useState, useEffect } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
@@ -16,22 +16,20 @@ const HelpZone = ({
|
|
|
16
16
|
}) => {
|
|
17
17
|
const {
|
|
18
18
|
t
|
|
19
|
-
} = useTranslation(), [portalRoot, setPortalRoot] = useState(null), [isCompact, setIsCompact] = useState(!1)
|
|
19
|
+
} = useTranslation(), [portalRoot, setPortalRoot] = useState(null), [isCompact, setIsCompact] = useState(!1);
|
|
20
20
|
if (useEffect(() => (document.body.classList.add("help-zone-active"), setPortalRoot(document.getElementById("portal")), () => {
|
|
21
21
|
document.body.classList.remove("help-zone-active");
|
|
22
22
|
}), []), useEffect(() => {
|
|
23
23
|
if (isCompact)
|
|
24
24
|
return;
|
|
25
|
-
const goCompact = () => setIsCompact(!0)
|
|
26
|
-
questionButtonRef.current && event.target instanceof Node && questionButtonRef.current.contains(event.target) || goCompact();
|
|
27
|
-
};
|
|
25
|
+
const goCompact = () => setIsCompact(!0);
|
|
28
26
|
return document.addEventListener("scroll", goCompact, {
|
|
29
27
|
capture: !0,
|
|
30
28
|
passive: !0
|
|
31
|
-
}),
|
|
29
|
+
}), () => {
|
|
32
30
|
document.removeEventListener("scroll", goCompact, {
|
|
33
31
|
capture: !0
|
|
34
|
-
})
|
|
32
|
+
});
|
|
35
33
|
};
|
|
36
34
|
}, [isCompact]), !isReady || !portalRoot)
|
|
37
35
|
return null;
|
|
@@ -44,7 +42,7 @@ const HelpZone = ({
|
|
|
44
42
|
"help-zone-logo--full": !isCompact
|
|
45
43
|
}), children: isCompact ? /* @__PURE__ */ jsx(SvgIconLogoEdificeSmall, { width: 18, height: 18 }) : /* @__PURE__ */ jsx(SvgIconLogoEdificeFull, { width: 81, height: 18 }) }) }) }),
|
|
46
44
|
/* @__PURE__ */ jsx("span", { className: "help-zone-divider" }),
|
|
47
|
-
/* @__PURE__ */ jsx(ButtonBeta, {
|
|
45
|
+
/* @__PURE__ */ jsx(ButtonBeta, { className: "help-zone-question", "aria-label": t("help-zone.support.open"), color: "tertiary", variant: "ghost", onClick: handleOpenHelpZone, children: /* @__PURE__ */ jsx(Tooltip, { message: t("help-zone.support.open"), placement: "top", children: /* @__PURE__ */ jsx(SvgIconQuestion, { width: 24, height: 24, color: "white" }) }) })
|
|
48
46
|
] }), portalRoot);
|
|
49
47
|
};
|
|
50
48
|
export {
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import HelpZone from "./HelpZone.js";
|
|
3
3
|
import useZendeskGuide from "../../hooks/useZendeskGuide/useZendeskGuide.js";
|
|
4
|
-
function getHeaderColor() {
|
|
5
|
-
return getComputedStyle(document.documentElement).getPropertyValue("--primitive-blue-400").trim();
|
|
6
|
-
}
|
|
7
4
|
function HelpZoneContainer() {
|
|
8
|
-
const
|
|
5
|
+
const {
|
|
9
6
|
isReady,
|
|
10
7
|
isOpen,
|
|
11
8
|
open,
|
|
12
9
|
close
|
|
13
|
-
} = useZendeskGuide(
|
|
10
|
+
} = useZendeskGuide();
|
|
14
11
|
return /* @__PURE__ */ jsx(HelpZone, { isReady, isOpen, onOpen: open, onClose: close });
|
|
15
12
|
}
|
|
16
13
|
export {
|
|
@@ -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,10 @@
|
|
|
1
|
+
import { CalendarEvent } from '@edifice.io/client';
|
|
2
|
+
export interface AgendaProps {
|
|
3
|
+
events: CalendarEvent[];
|
|
4
|
+
onEventClick?: (event: CalendarEvent) => void;
|
|
5
|
+
onOpenAgendaClick?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const Agenda: {
|
|
8
|
+
({ events, onEventClick, onOpenAgendaClick, }: AgendaProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { useTranslation } from "react-i18next";
|
|
4
|
+
import illuEmptyAgenda from "@edifice.io/bootstrap/dist/images/homepage/illu-empty-agenda.svg";
|
|
5
|
+
import SvgIconExternalLink from "../../../icons/components/IconExternalLink.js";
|
|
6
|
+
import HomeCard from "../HomeCard/HomeCard.js";
|
|
7
|
+
import { AgendaEventCard } from "./AgendaEventCard.js";
|
|
8
|
+
import useDate from "../../../../hooks/useDate/useDate.js";
|
|
9
|
+
import Flex from "../../../../components/Flex/Flex.js";
|
|
10
|
+
const capitalize = (value) => value.charAt(0).toUpperCase() + value.slice(1), Agenda = ({
|
|
11
|
+
events,
|
|
12
|
+
onEventClick,
|
|
13
|
+
onOpenAgendaClick = () => window.open("/calendar", "_self")
|
|
14
|
+
}) => {
|
|
15
|
+
const {
|
|
16
|
+
t
|
|
17
|
+
} = useTranslation(), {
|
|
18
|
+
formatDate,
|
|
19
|
+
dateIsSame
|
|
20
|
+
} = useDate(), dayGroups = useMemo(() => {
|
|
21
|
+
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
22
|
+
return events.reduce((groups, event) => {
|
|
23
|
+
const lastGroup = groups[groups.length - 1];
|
|
24
|
+
return lastGroup && dateIsSame(lastGroup.date, event.startMoment, "day") ? (lastGroup.events.push(event), groups) : (groups.push({
|
|
25
|
+
key: event.id,
|
|
26
|
+
date: event.startMoment,
|
|
27
|
+
weekday: capitalize(formatDate(event.startMoment, "ddd")),
|
|
28
|
+
day: formatDate(event.startMoment, "D"),
|
|
29
|
+
month: dateIsSame(event.startMoment, now, "month") ? void 0 : formatDate(event.startMoment, "MMM"),
|
|
30
|
+
events: [event]
|
|
31
|
+
}), groups);
|
|
32
|
+
}, []);
|
|
33
|
+
}, [events, dateIsSame, formatDate]);
|
|
34
|
+
return /* @__PURE__ */ jsxs(HomeCard, { variant: "primary", children: [
|
|
35
|
+
/* @__PURE__ */ jsx(HomeCard.Header, { title: t("homepage.agenda.title"), actionLeftIcon: /* @__PURE__ */ jsx(SvgIconExternalLink, { width: "20", height: "20" }), onActionClick: onOpenAgendaClick, actionProps: {
|
|
36
|
+
"aria-label": t("homepage.agenda.openAgenda"),
|
|
37
|
+
"data-testid": "agenda-button-open"
|
|
38
|
+
} }),
|
|
39
|
+
/* @__PURE__ */ jsx(HomeCard.Content, { children: dayGroups.length === 0 ? /* @__PURE__ */ jsxs(Flex, { direction: "column", align: "center", gap: "8", className: "agenda-empty", children: [
|
|
40
|
+
/* @__PURE__ */ jsx("img", { src: illuEmptyAgenda, alt: "", width: 64, height: 64 }),
|
|
41
|
+
/* @__PURE__ */ jsx("span", { className: "agenda-empty-text", children: t("homepage.agenda.empty") })
|
|
42
|
+
] }) : /* @__PURE__ */ jsx(Flex, { direction: "column", gap: "8", className: "agenda-content", children: dayGroups.map((group) => /* @__PURE__ */ jsxs(Flex, { gap: "4", className: "agenda-day-group", "data-testid": "agenda-day-group", children: [
|
|
43
|
+
/* @__PURE__ */ jsxs(Flex, { direction: "column", align: "center", className: "agenda-day-group-date", children: [
|
|
44
|
+
/* @__PURE__ */ jsx("span", { children: group.weekday }),
|
|
45
|
+
/* @__PURE__ */ jsx("span", { className: "agenda-day-group-date-number", children: group.day }),
|
|
46
|
+
group.month && /* @__PURE__ */ jsx("span", { children: group.month })
|
|
47
|
+
] }),
|
|
48
|
+
/* @__PURE__ */ jsx(Flex, { direction: "column", gap: "8", className: "agenda-day-group-events", children: group.events.map((event) => /* @__PURE__ */ jsx(AgendaEventCard, { event, onClick: () => onEventClick == null ? void 0 : onEventClick(event) }, event.id)) })
|
|
49
|
+
] }, group.key)) }) })
|
|
50
|
+
] });
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
Agenda
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function AgendaContainer(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Agenda } from "./Agenda.js";
|
|
3
|
+
import { useAgendaContainer } from "./hooks/useAgendaContainer.js";
|
|
4
|
+
function AgendaContainer() {
|
|
5
|
+
const {
|
|
6
|
+
events
|
|
7
|
+
} = useAgendaContainer();
|
|
8
|
+
return /* @__PURE__ */ jsx(Agenda, { events, onEventClick: () => {
|
|
9
|
+
window.open("/calendar", "_self");
|
|
10
|
+
} });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
AgendaContainer
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CalendarEvent } from '@edifice.io/client';
|
|
2
|
+
import { MouseEventHandler } from 'react';
|
|
3
|
+
export interface AgendaEventCardProps {
|
|
4
|
+
event: CalendarEvent;
|
|
5
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const AgendaEventCard: {
|
|
8
|
+
({ event, onClick }: AgendaEventCardProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
import SvgIconClock from "../../../icons/components/IconClock.js";
|
|
4
|
+
import useDate from "../../../../hooks/useDate/useDate.js";
|
|
5
|
+
import Flex from "../../../../components/Flex/Flex.js";
|
|
6
|
+
const capitalize = (value) => value.charAt(0).toUpperCase() + value.slice(1), AgendaEventCard = ({
|
|
7
|
+
event,
|
|
8
|
+
onClick
|
|
9
|
+
}) => {
|
|
10
|
+
const {
|
|
11
|
+
t
|
|
12
|
+
} = useTranslation(), {
|
|
13
|
+
formatDate,
|
|
14
|
+
dateIsSame
|
|
15
|
+
} = useDate(), formatTime = (date) => formatDate(date, "HH[h]mm"), timeLabel = event.allDay ? t("homepage.agenda.allDay") : dateIsSame(event.startMoment, event.endMoment, "day") ? `${formatTime(event.startMoment)} - ${formatTime(event.endMoment)}` : t("homepage.agenda.multiDayTime", {
|
|
16
|
+
startTime: formatTime(event.startMoment),
|
|
17
|
+
endDay: capitalize(formatDate(event.endMoment, "ddd D")),
|
|
18
|
+
endTime: formatTime(event.endMoment)
|
|
19
|
+
});
|
|
20
|
+
return /* @__PURE__ */ jsxs("button", { type: "button", className: "agenda-event-card", onClick, "data-testid": "agenda-event-card", children: [
|
|
21
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: "8", className: "agenda-event-card-time", children: [
|
|
22
|
+
/* @__PURE__ */ jsx(SvgIconClock, { width: "20", height: "20" }),
|
|
23
|
+
/* @__PURE__ */ jsx("span", { children: timeLabel })
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ jsx("p", { className: "agenda-event-card-title", children: event.title })
|
|
26
|
+
] });
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
AgendaEventCard
|
|
30
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CalendarEvent } from '@edifice.io/client';
|
|
2
|
+
/** Number of upcoming events shown by the widget. */
|
|
3
|
+
export declare const MAX_VISIBLE_EVENTS = 3;
|
|
4
|
+
export interface UseAgendaContainerReturn {
|
|
5
|
+
events: CalendarEvent[];
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
error: Error | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Loads the current user's calendars, then their events, and keeps only the
|
|
11
|
+
* next `MAX_VISIBLE_EVENTS` events that haven't fully elapsed yet — an event
|
|
12
|
+
* still in progress (end date in the future) counts as "upcoming" too.
|
|
13
|
+
*/
|
|
14
|
+
export declare const useAgendaContainer: () => UseAgendaContainerReturn;
|