@edifice.io/react 2.6.12-develop-b2school.20261103144351 → 2.6.12-develop-integration-crna.20261104164618
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 +3 -0
- package/dist/components/Dropdown/DropdownItem.js +1 -17
- package/dist/components/Dropdown/DropdownMenuGroup.js +23 -6
- package/dist/components/Dropdown/DropdownSearchInput.js +16 -8
- package/dist/components/Dropdown/DropdownTrigger.js +24 -8
- package/dist/components/Dropdown/useDropdownItemFilter.js +2 -2
- package/dist/components/Dropdown/useMatchRegistry.d.ts +5 -0
- package/dist/components/Dropdown/useMatchRegistry.js +20 -0
- package/dist/components/Layout/Layout.js +4 -12
- package/dist/components/SearchBar/SearchBar.js +26 -17
- 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 +5 -2
- package/dist/components/Tree/components/Tree.js +7 -10
- package/dist/components/Tree/hooks/useTree.d.ts +0 -1
- package/dist/components/Tree/hooks/useTree.js +2 -6
- package/dist/components/Tree/types/index.d.ts +0 -7
- package/dist/components/index.d.ts +0 -1
- package/dist/homepage.js +24 -97
- package/dist/hooks/useDropdown/useDropdown.d.ts +1 -0
- package/dist/hooks/useDropdown/useDropdown.js +19 -8
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.d.ts +1 -1
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.js +2 -2
- package/dist/hooks/useZendeskGuide/useZendeskGuide.d.ts +6 -2
- package/dist/hooks/useZendeskGuide/useZendeskGuide.js +8 -11
- package/dist/icons.js +404 -406
- package/dist/index.js +158 -158
- package/dist/modules/HelpZone/HelpZone.js +8 -6
- package/dist/modules/HelpZone/HelpZoneContainer.js +5 -2
- package/dist/modules/editor/components/Editor/Editor.d.ts +0 -5
- package/dist/modules/editor/components/Editor/Editor.js +0 -3
- package/dist/modules/homepage/components/Favorites/Favorites.js +1 -4
- package/dist/modules/homepage/components/Header/Header.js +21 -9
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +1 -5
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +1 -1
- package/dist/modules/homepage/components/Notifications/NotificationList.js +8 -7
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +12 -7
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.js +4 -7
- package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.js +13 -11
- package/dist/modules/homepage/components/Notifications/components/ReportNotificationModal.js +12 -6
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +10 -12
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +10 -9
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +1 -1
- package/dist/modules/homepage/{hooks → components/SchoolSpace}/useUserSchools.d.ts +2 -2
- package/dist/modules/homepage/{hooks → components/SchoolSpace}/useUserSchools.js +4 -4
- 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 +1 -3
- package/dist/modules/homepage/components/UserSpace/UserSpace.js +7 -13
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +2 -4
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +2 -3
- package/dist/modules/homepage/components/index.d.ts +1 -12
- package/dist/modules/icons/components/index.d.ts +0 -1
- package/dist/modules/icons/components/nav/IconCommunitiesBeta.js +7 -5
- package/dist/modules/icons/components/nav/IconHomeBeta.js +3 -6
- package/dist/modules/icons/components/nav/IconMessagesBeta.js +7 -7
- package/dist/modules/icons/components/nav/IconMyAppsBeta.js +3 -2
- package/dist/modules/icons/components/nav/IconNotificationBeta.js +4 -2
- 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 +51 -0
- package/dist/modules/multimedia/NextcloudFolders/index.d.ts +1 -0
- 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 +6 -7
- package/dist/components/Masonry/Masonry.d.ts +0 -40
- package/dist/components/Masonry/Masonry.js +0 -50
- package/dist/components/Masonry/index.d.ts +0 -2
- package/dist/modules/homepage/components/Agenda/Agenda.d.ts +0 -10
- package/dist/modules/homepage/components/Agenda/Agenda.js +0 -54
- package/dist/modules/homepage/components/Agenda/AgendaContainer.d.ts +0 -1
- package/dist/modules/homepage/components/Agenda/AgendaContainer.js +0 -14
- package/dist/modules/homepage/components/Agenda/AgendaEventCard.d.ts +0 -10
- package/dist/modules/homepage/components/Agenda/AgendaEventCard.js +0 -30
- package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.d.ts +0 -14
- package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.js +0 -27
- package/dist/modules/homepage/components/Agenda/index.d.ts +0 -3
- package/dist/modules/homepage/components/Agenda/services/api/agendaService.d.ts +0 -24
- package/dist/modules/homepage/components/Agenda/services/api/agendaService.js +0 -45
- package/dist/modules/homepage/components/Agenda/services/api/index.d.ts +0 -4
- package/dist/modules/homepage/components/Agenda/services/api/index.js +0 -5
- package/dist/modules/homepage/components/Agenda/services/queries/agenda.d.ts +0 -19
- package/dist/modules/homepage/components/Agenda/services/queries/agenda.js +0 -26
- package/dist/modules/homepage/components/BriefMe/BriefMe.d.ts +0 -9
- package/dist/modules/homepage/components/BriefMe/BriefMe.js +0 -59
- package/dist/modules/homepage/components/BriefMe/BriefMeContainer.d.ts +0 -4
- package/dist/modules/homepage/components/BriefMe/BriefMeContainer.js +0 -17
- package/dist/modules/homepage/components/BriefMe/index.d.ts +0 -4
- package/dist/modules/homepage/components/BriefMe/types.d.ts +0 -17
- package/dist/modules/homepage/components/BriefMe/types.js +0 -8
- package/dist/modules/homepage/components/BriefMe/useBriefMe.d.ts +0 -31
- package/dist/modules/homepage/components/BriefMe/useBriefMe.js +0 -51
- package/dist/modules/homepage/components/Cantine/Cantine.d.ts +0 -7
- package/dist/modules/homepage/components/Cantine/Cantine.js +0 -44
- package/dist/modules/homepage/components/Cantine/CantineContainer.d.ts +0 -4
- package/dist/modules/homepage/components/Cantine/CantineContainer.js +0 -18
- package/dist/modules/homepage/components/Cantine/CantineModal.d.ts +0 -24
- package/dist/modules/homepage/components/Cantine/CantineModal.js +0 -88
- package/dist/modules/homepage/components/Cantine/CantineModalContainer.d.ts +0 -7
- package/dist/modules/homepage/components/Cantine/CantineModalContainer.js +0 -12
- package/dist/modules/homepage/components/Cantine/components/CantineLegend.d.ts +0 -5
- package/dist/modules/homepage/components/Cantine/components/CantineLegend.js +0 -22
- package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.d.ts +0 -6
- package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.js +0 -28
- package/dist/modules/homepage/components/Cantine/components/cantineLabels.d.ts +0 -12
- package/dist/modules/homepage/components/Cantine/components/cantineLabels.js +0 -60
- package/dist/modules/homepage/components/Cantine/hooks/useCantine.d.ts +0 -11
- package/dist/modules/homepage/components/Cantine/hooks/useCantine.js +0 -20
- package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.d.ts +0 -24
- package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.js +0 -65
- package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.d.ts +0 -23
- package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.js +0 -43
- package/dist/modules/homepage/components/Cantine/index.d.ts +0 -7
- package/dist/modules/homepage/components/Cantine/types.d.ts +0 -42
- package/dist/modules/homepage/components/Edumalin/Edumalin.d.ts +0 -9
- package/dist/modules/homepage/components/Edumalin/Edumalin.js +0 -65
- package/dist/modules/homepage/components/Edumalin/EdumalinContainer.d.ts +0 -4
- package/dist/modules/homepage/components/Edumalin/EdumalinContainer.js +0 -21
- package/dist/modules/homepage/components/Edumalin/EdumalinModal.d.ts +0 -8
- package/dist/modules/homepage/components/Edumalin/EdumalinModal.js +0 -62
- package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.d.ts +0 -5
- package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.js +0 -38
- package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.d.ts +0 -5
- package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.js +0 -12
- package/dist/modules/homepage/components/Edumalin/index.d.ts +0 -7
- package/dist/modules/homepage/components/Edumalin/types.d.ts +0 -24
- package/dist/modules/homepage/components/Edumalin/types.js +0 -4
- package/dist/modules/homepage/components/Edumalin/useEdumalin.d.ts +0 -16
- package/dist/modules/homepage/components/Edumalin/useEdumalin.js +0 -35
- package/dist/modules/homepage/components/Edumalin/utils.d.ts +0 -28
- package/dist/modules/homepage/components/Edumalin/utils.js +0 -56
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.d.ts +0 -16
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.js +0 -65
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.d.ts +0 -4
- package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.js +0 -12
- package/dist/modules/homepage/components/GenerationHdf/formatSolde.d.ts +0 -1
- package/dist/modules/homepage/components/GenerationHdf/formatSolde.js +0 -6
- package/dist/modules/homepage/components/GenerationHdf/index.d.ts +0 -3
- package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.d.ts +0 -10
- package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.js +0 -69
- package/dist/modules/homepage/components/Qwant/Qwant.d.ts +0 -4
- package/dist/modules/homepage/components/Qwant/Qwant.js +0 -41
- package/dist/modules/homepage/components/Qwant/QwantContainer.d.ts +0 -1
- package/dist/modules/homepage/components/Qwant/QwantContainer.js +0 -10
- package/dist/modules/homepage/components/Qwant/index.d.ts +0 -3
- package/dist/modules/homepage/components/Rss/Rss.d.ts +0 -11
- package/dist/modules/homepage/components/Rss/Rss.js +0 -64
- package/dist/modules/homepage/components/Rss/RssContainer.d.ts +0 -1
- package/dist/modules/homepage/components/Rss/RssContainer.js +0 -45
- package/dist/modules/homepage/components/Rss/RssFeedForm.d.ts +0 -13
- package/dist/modules/homepage/components/Rss/RssFeedForm.js +0 -69
- package/dist/modules/homepage/components/Rss/RssFeedsModal.d.ts +0 -11
- package/dist/modules/homepage/components/Rss/RssFeedsModal.js +0 -58
- package/dist/modules/homepage/components/Rss/hooks/useRssContainer.d.ts +0 -25
- package/dist/modules/homepage/components/Rss/hooks/useRssContainer.js +0 -43
- package/dist/modules/homepage/components/Rss/index.d.ts +0 -6
- package/dist/modules/homepage/components/Rss/services/api/index.d.ts +0 -5
- package/dist/modules/homepage/components/Rss/services/api/index.js +0 -5
- package/dist/modules/homepage/components/Rss/services/api/rssService.d.ts +0 -38
- package/dist/modules/homepage/components/Rss/services/api/rssService.js +0 -51
- package/dist/modules/homepage/components/Rss/services/queries/rss.d.ts +0 -28
- package/dist/modules/homepage/components/Rss/services/queries/rss.js +0 -71
- package/dist/modules/homepage/components/Rss/types.d.ts +0 -25
- package/dist/modules/homepage/components/Rss/utils.d.ts +0 -7
- package/dist/modules/homepage/components/Rss/utils.js +0 -19
- package/dist/modules/homepage/components/ScreenTime/ScreenTime.d.ts +0 -11
- package/dist/modules/homepage/components/ScreenTime/ScreenTime.js +0 -49
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeChart.d.ts +0 -10
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeChart.js +0 -115
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeContainer.d.ts +0 -1
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeContainer.js +0 -25
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeError.d.ts +0 -5
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeError.js +0 -22
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeModal.d.ts +0 -22
- package/dist/modules/homepage/components/ScreenTime/ScreenTimeModal.js +0 -81
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeContainer.d.ts +0 -14
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeContainer.js +0 -22
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeKids.d.ts +0 -6
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeKids.js +0 -25
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeModal.d.ts +0 -31
- package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeModal.js +0 -34
- package/dist/modules/homepage/components/ScreenTime/index.d.ts +0 -6
- package/dist/modules/homepage/components/ScreenTime/services/api/index.d.ts +0 -4
- package/dist/modules/homepage/components/ScreenTime/services/api/index.js +0 -5
- package/dist/modules/homepage/components/ScreenTime/services/api/screenTimeService.d.ts +0 -28
- package/dist/modules/homepage/components/ScreenTime/services/api/screenTimeService.js +0 -39
- package/dist/modules/homepage/components/ScreenTime/services/queries/screenTime.d.ts +0 -23
- package/dist/modules/homepage/components/ScreenTime/services/queries/screenTime.js +0 -41
- package/dist/modules/homepage/components/ScreenTime/types.d.ts +0 -30
- package/dist/modules/homepage/components/ScreenTime/utils.d.ts +0 -50
- package/dist/modules/homepage/components/ScreenTime/utils.js +0 -115
- package/dist/modules/homepage/components/TabsKids/components/TabsKids.d.ts +0 -43
- package/dist/modules/homepage/components/TabsKids/components/TabsKids.js +0 -23
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsItem.d.ts +0 -34
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsItem.js +0 -26
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsList.d.ts +0 -14
- package/dist/modules/homepage/components/TabsKids/components/TabsKidsList.js +0 -64
- package/dist/modules/homepage/components/TabsKids/hooks/useTabsKidsOverflow.d.ts +0 -20
- package/dist/modules/homepage/components/TabsKids/hooks/useTabsKidsOverflow.js +0 -43
- package/dist/modules/homepage/components/TabsKids/index.d.ts +0 -3
- package/dist/modules/homepage/components/TabsKids/utils/visibleTabs.d.ts +0 -15
- package/dist/modules/homepage/components/TabsKids/utils/visibleTabs.js +0 -21
- package/dist/modules/homepage/components/Universalis/Universalis.d.ts +0 -8
- package/dist/modules/homepage/components/Universalis/Universalis.js +0 -62
- package/dist/modules/homepage/components/Universalis/UniversalisContainer.d.ts +0 -1
- package/dist/modules/homepage/components/Universalis/UniversalisContainer.js +0 -16
- package/dist/modules/homepage/components/Universalis/index.d.ts +0 -3
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.d.ts +0 -16
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.js +0 -15
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.d.ts +0 -21
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.js +0 -47
- package/dist/modules/homepage/components/WidgetsPersonalizationPanel/index.d.ts +0 -2
- package/dist/modules/icons/components/IconAddWidget.d.ts +0 -7
- package/dist/modules/icons/components/IconAddWidget.js +0 -12
package/dist/index.js
CHANGED
|
@@ -42,89 +42,89 @@ 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";
|
|
46
45
|
import { default as default44 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
47
46
|
import { default as default45 } from "./components/MediaViewer/MediaViewer.js";
|
|
48
47
|
import { default as default46 } from "./components/Modal/Modal.js";
|
|
49
48
|
import { default as default47 } from "./components/ModalBeta/ModalBeta.js";
|
|
50
49
|
import { default as default48 } from "./modules/multimedia/Nextcloud/Nextcloud.js";
|
|
51
50
|
import { default as default49 } from "./modules/multimedia/FileCard/NextcloudFileCard.js";
|
|
52
|
-
import { default as default50 } from "./modules/
|
|
53
|
-
import { default as default51 } from "./
|
|
54
|
-
import { default as default52 } from "./components/
|
|
55
|
-
import { default as default53
|
|
56
|
-
import { default as default54 } from "./
|
|
57
|
-
import { default as default55 } from "./
|
|
58
|
-
import { default as default56 } from "./components/
|
|
59
|
-
import { default as default57 } from "./components/
|
|
60
|
-
import { default as default58 } from "./components/
|
|
61
|
-
import { default as default59 } from "./components/
|
|
62
|
-
import { default as default60 } from "./components/
|
|
63
|
-
import { default as default61 } from "./components/
|
|
64
|
-
import { default as default62 } from "./
|
|
65
|
-
import { default as default63 } from "./modules/modals/ShareModal/
|
|
66
|
-
import { default as default64 } from "./modules/modals/ShareModal/
|
|
67
|
-
import { default as default65 } from "./
|
|
68
|
-
import { default as default66 } from "./components/
|
|
69
|
-
import { default as default67 } from "./components/
|
|
70
|
-
import { default as default68 } from "./components/
|
|
71
|
-
import { default as default69 } from "./components/
|
|
72
|
-
import { default as default70 } from "./components/
|
|
73
|
-
import { default as default71 } from "./components/
|
|
74
|
-
import { default as default72 } from "./components/
|
|
75
|
-
import { default as default73 } from "./components/
|
|
76
|
-
import { default as default74 } from "./components/
|
|
77
|
-
import { default as default75 } from "./
|
|
78
|
-
import { default as default76 } from "./modules/multimedia/
|
|
79
|
-
import { default as default77 } from "./modules/multimedia/
|
|
80
|
-
import { default as default78 } from "./modules/multimedia/
|
|
81
|
-
import { default as default79 } from "./
|
|
82
|
-
import { default as default80 } from "./
|
|
83
|
-
import { default as default81 } from "./modules/multimedia/
|
|
84
|
-
import { default as default82 } from "./
|
|
85
|
-
import { default as default83 } from "./hooks/
|
|
86
|
-
import { default as default84 } from "./hooks/
|
|
87
|
-
import { default as default85 } from "./hooks/
|
|
88
|
-
import { default as default86 } from "./hooks/
|
|
89
|
-
import { default as default87 } from "./hooks/
|
|
90
|
-
import { default as default88 } from "./hooks/
|
|
91
|
-
import { default as default89 } from "./hooks/
|
|
92
|
-
import { default as default90 } from "./hooks/
|
|
93
|
-
import { default as default91 } from "./hooks/
|
|
94
|
-
import { default as default92 } from "./hooks/
|
|
95
|
-
import { default as default93 } from "./hooks/
|
|
96
|
-
import { default as default94 } from "./hooks/
|
|
97
|
-
import { default as default95 } from "./hooks/
|
|
98
|
-
import { default as default96 } from "./hooks/
|
|
99
|
-
import { default as default97 } from "./hooks/
|
|
100
|
-
import { default as default98 } from "./hooks/
|
|
101
|
-
import { default as default99 } from "./hooks/
|
|
102
|
-
import { default as default100 } from "./hooks/
|
|
103
|
-
import { default as default101 } from "./hooks/
|
|
104
|
-
import { default as default102 } from "./hooks/
|
|
105
|
-
import { default as default103 } from "./hooks/
|
|
106
|
-
import { default as default104 } from "./hooks/
|
|
107
|
-
import { default as default105 } from "./hooks/
|
|
108
|
-
import { default as default106 } from "./hooks/
|
|
109
|
-
import { default as default107 } from "./hooks/
|
|
110
|
-
import { default as default108 } from "./hooks/
|
|
111
|
-
import { default as default109 } from "./
|
|
112
|
-
import { default as default110 } from "./hooks/
|
|
113
|
-
import { default as default111 } from "./hooks/
|
|
114
|
-
import { default as default112 } from "./hooks/
|
|
115
|
-
import { default as default113 } from "./hooks/
|
|
116
|
-
import { default as default114 } from "./hooks/
|
|
117
|
-
import { default as default115 } from "./hooks/
|
|
118
|
-
import { default as default116 } from "./
|
|
119
|
-
import { default as default117 } from "./hooks/
|
|
120
|
-
import { default as default118 } from "./hooks/
|
|
121
|
-
import { default as default119 } from "./hooks/
|
|
122
|
-
import { default as default120 } from "./hooks/
|
|
123
|
-
import { default as default121 } from "./hooks/
|
|
124
|
-
import {
|
|
125
|
-
import { default as default123 } from "./hooks/
|
|
126
|
-
import { default as default124 } from "./hooks/
|
|
127
|
-
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";
|
|
128
128
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
129
129
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
130
130
|
import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
|
|
@@ -160,7 +160,7 @@ import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-
|
|
|
160
160
|
import { getRotateTransitionStyle } from "./utilities/rotate-transition-style/get-rotate-transition-style.js";
|
|
161
161
|
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
162
162
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
163
|
-
import { default as
|
|
163
|
+
import { default as default127 } from "./hooks/useBackground/useBackground.js";
|
|
164
164
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
165
165
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
166
166
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
@@ -169,7 +169,7 @@ import { useOverlay } from "./components/PageLayout/hook/useOverlay.js";
|
|
|
169
169
|
import { useScreeb } from "./hooks/useScreeb/useScreeb.js";
|
|
170
170
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
171
171
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
172
|
-
import { default as
|
|
172
|
+
import { default as default128 } from "./hooks/useUserPreferences/useUserPreferences.js";
|
|
173
173
|
export {
|
|
174
174
|
AccessiblePalette,
|
|
175
175
|
default2 as ActionBar,
|
|
@@ -231,7 +231,6 @@ export {
|
|
|
231
231
|
default41 as LoadingScreen,
|
|
232
232
|
default42 as Logo,
|
|
233
233
|
default43 as LogoBeta,
|
|
234
|
-
Masonry,
|
|
235
234
|
default44 as MediaLibrary,
|
|
236
235
|
default45 as MediaViewer,
|
|
237
236
|
Menu,
|
|
@@ -240,56 +239,57 @@ export {
|
|
|
240
239
|
default47 as ModalBeta,
|
|
241
240
|
default48 as Nextcloud,
|
|
242
241
|
default49 as NextcloudFileCard,
|
|
243
|
-
default50 as
|
|
244
|
-
default51 as
|
|
242
|
+
default50 as NextcloudFolders,
|
|
243
|
+
default51 as OnboardingModal,
|
|
244
|
+
default52 as PageLayout,
|
|
245
245
|
PageLayoutContext,
|
|
246
246
|
Pagination,
|
|
247
247
|
Popover,
|
|
248
248
|
PopoverBody,
|
|
249
249
|
PopoverFooter,
|
|
250
250
|
PopoverHeader,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
251
|
+
default53 as PreventPropagation,
|
|
252
|
+
default54 as PromotionCard,
|
|
253
|
+
default55 as PublishModal,
|
|
254
|
+
default56 as Radio,
|
|
255
|
+
default57 as RadioCard,
|
|
256
|
+
default58 as RadioTile,
|
|
257
257
|
ResourceModal,
|
|
258
258
|
Root,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
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,
|
|
271
271
|
Tabs,
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
default71 as TextArea,
|
|
273
|
+
default72 as TextSkeleton,
|
|
274
274
|
Toolbar,
|
|
275
|
-
|
|
276
|
-
|
|
275
|
+
default73 as Tooltip,
|
|
276
|
+
default74 as Tree,
|
|
277
277
|
TreeNode,
|
|
278
278
|
TreeNodeFolderWrapper,
|
|
279
|
-
|
|
279
|
+
default75 as TreeView,
|
|
280
280
|
Upload,
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
default76 as UploadCard,
|
|
282
|
+
default77 as UploadFiles,
|
|
283
283
|
UserRightsList,
|
|
284
284
|
UserSearch,
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
default78 as VideoEmbed,
|
|
286
|
+
default79 as VideoRecorder,
|
|
287
287
|
VisibleType,
|
|
288
|
-
|
|
288
|
+
default80 as VisuallyHidden,
|
|
289
289
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
290
290
|
WORKSPACE_USER_FOLDER_ID,
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
default81 as Workspace,
|
|
292
|
+
default82 as WorkspaceFolders,
|
|
293
293
|
addNode,
|
|
294
294
|
arrayUnique,
|
|
295
295
|
buildTree,
|
|
@@ -320,61 +320,61 @@ export {
|
|
|
320
320
|
setRef,
|
|
321
321
|
updateNode,
|
|
322
322
|
updateParentIds,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
323
|
+
default127 as useBackground,
|
|
324
|
+
default83 as useBookmark,
|
|
325
|
+
default84 as useBreakpoint,
|
|
326
|
+
default85 as useBrowserInfo,
|
|
327
|
+
default86 as useCantoo,
|
|
328
|
+
default87 as useCarbonioUnread,
|
|
329
329
|
useCheckable,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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,
|
|
337
337
|
useDropzoneContext,
|
|
338
338
|
useEdificeClient,
|
|
339
|
-
|
|
339
|
+
default95 as useEdificeIcons,
|
|
340
340
|
useEdificeTheme,
|
|
341
341
|
useFileToAttachment,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
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,
|
|
354
354
|
useOverlay,
|
|
355
355
|
usePageLayout,
|
|
356
|
-
|
|
356
|
+
default108 as usePublicConf,
|
|
357
357
|
useScreeb,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
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,
|
|
365
365
|
useTreeSortable,
|
|
366
366
|
useTreeView,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
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,
|
|
379
379
|
wrapTreeNode
|
|
380
380
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect } from "react";
|
|
2
|
+
import { useState, useRef, useEffect } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
@@ -16,20 +16,22 @@ 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), questionButtonRef = useRef(null);
|
|
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)
|
|
25
|
+
const goCompact = () => setIsCompact(!0), handleClick = (event) => {
|
|
26
|
+
questionButtonRef.current && event.target instanceof Node && questionButtonRef.current.contains(event.target) || goCompact();
|
|
27
|
+
};
|
|
26
28
|
return document.addEventListener("scroll", goCompact, {
|
|
27
29
|
capture: !0,
|
|
28
30
|
passive: !0
|
|
29
|
-
}), () => {
|
|
31
|
+
}), document.addEventListener("click", handleClick), () => {
|
|
30
32
|
document.removeEventListener("scroll", goCompact, {
|
|
31
33
|
capture: !0
|
|
32
|
-
});
|
|
34
|
+
}), document.removeEventListener("click", handleClick);
|
|
33
35
|
};
|
|
34
36
|
}, [isCompact]), !isReady || !portalRoot)
|
|
35
37
|
return null;
|
|
@@ -42,7 +44,7 @@ const HelpZone = ({
|
|
|
42
44
|
"help-zone-logo--full": !isCompact
|
|
43
45
|
}), children: isCompact ? /* @__PURE__ */ jsx(SvgIconLogoEdificeSmall, { width: 18, height: 18 }) : /* @__PURE__ */ jsx(SvgIconLogoEdificeFull, { width: 81, height: 18 }) }) }) }),
|
|
44
46
|
/* @__PURE__ */ jsx("span", { className: "help-zone-divider" }),
|
|
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" }) }) })
|
|
47
|
+
/* @__PURE__ */ jsx(ButtonBeta, { ref: questionButtonRef, 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" }) }) })
|
|
46
48
|
] }), portalRoot);
|
|
47
49
|
};
|
|
48
50
|
export {
|
|
@@ -1,13 +1,16 @@
|
|
|
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
|
+
}
|
|
4
7
|
function HelpZoneContainer() {
|
|
5
|
-
const {
|
|
8
|
+
const headerColor = getHeaderColor(), {
|
|
6
9
|
isReady,
|
|
7
10
|
isOpen,
|
|
8
11
|
open,
|
|
9
12
|
close
|
|
10
|
-
} = useZendeskGuide();
|
|
13
|
+
} = useZendeskGuide(headerColor);
|
|
11
14
|
return /* @__PURE__ */ jsx(HelpZone, { isReady, isOpen, onOpen: open, onClose: close });
|
|
12
15
|
}
|
|
13
16
|
export {
|
|
@@ -3,11 +3,6 @@ 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;
|
|
11
6
|
/** Get speech synthetisis current state */
|
|
12
7
|
isSpeeching: () => boolean;
|
|
13
8
|
/** [De]activate speech synthetisis */
|
|
@@ -60,9 +60,6 @@ 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
|
-
},
|
|
66
63
|
toogleSpeechSynthetisis: speechSynthetisis.toggle,
|
|
67
64
|
isSpeeching: () => speechSynthetisis.isActivated,
|
|
68
65
|
setFocus: (position) => {
|
|
@@ -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: [
|
|
@@ -63,18 +63,18 @@ const Header = ({
|
|
|
63
63
|
onNotificationsClick == null || onNotificationsClick();
|
|
64
64
|
};
|
|
65
65
|
return /* @__PURE__ */ jsx("header", { className: classes, "data-product": dataProduct, children: /* @__PURE__ */ jsxs(Navbar, { className: "px-24", children: [
|
|
66
|
-
/* @__PURE__ */ jsx(LogoBeta, { src: `${src}/img/illustrations/logo
|
|
66
|
+
/* @__PURE__ */ jsx(LogoBeta, { src: `${src}/img/illustrations/logo.png` }),
|
|
67
67
|
/* @__PURE__ */ jsxs("ul", { className: "navbar-nav", children: [
|
|
68
|
-
/* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsx(NavLink, { link: "/timeline/timeline", translate: t("navbar.home"), "data-testid": "header-home-button",
|
|
69
|
-
communitiesWorkflow && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsx(NavLink, { link: "/communities", translate: t("navbar.community"), "data-testid": "header-community-button",
|
|
70
|
-
conversationWorflow && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsxs(NavLink, { className: "position-relative", link: "/conversation/conversation", translate: t("conversation"),
|
|
68
|
+
/* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsx(NavLink, { link: "/timeline/timeline", translate: t("navbar.home"), "data-testid": "header-home-button", children: /* @__PURE__ */ jsx(SvgIconHomeBeta, {}) }) }),
|
|
69
|
+
communitiesWorkflow && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsx(NavLink, { link: "/communities", translate: t("navbar.community"), "data-testid": "header-community-button", children: /* @__PURE__ */ jsx(SvgIconCommunitiesBeta, { className: "icon community" }) }) }),
|
|
70
|
+
conversationWorflow && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsxs(NavLink, { className: "position-relative", link: "/conversation/conversation", translate: t("conversation"), "data-testid": "header-messagerie-button", children: [
|
|
71
71
|
/* @__PURE__ */ jsx(SvgIconMessagesBeta, {}),
|
|
72
72
|
hasMessages && /* @__PURE__ */ jsx(Badge, { variant: {
|
|
73
73
|
type: "notification",
|
|
74
74
|
level: "danger"
|
|
75
75
|
}, className: "position-absolute", children: messages })
|
|
76
76
|
] }) }),
|
|
77
|
-
hasCarbonioWorkflow && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsxs("a", { className: "nav-link position-relative", href: "/auth/carbonio/preauth", target: "_blank", "data-testid": "header-messagerie-button",
|
|
77
|
+
hasCarbonioWorkflow && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsxs("a", { className: "nav-link position-relative", href: "/auth/carbonio/preauth", target: "_blank", "data-testid": "header-messagerie-button", children: [
|
|
78
78
|
/* @__PURE__ */ jsx(SvgIconMessagesBeta, {}),
|
|
79
79
|
carbonioUnreadCount > 0 && /* @__PURE__ */ jsx(Badge, { variant: {
|
|
80
80
|
type: "notification",
|
|
@@ -83,7 +83,7 @@ const Header = ({
|
|
|
83
83
|
/* @__PURE__ */ jsx(VisuallyHidden, { children: t("conversation") })
|
|
84
84
|
] }) }),
|
|
85
85
|
/* @__PURE__ */ jsxs(NavItem, { className: "position-relative", children: [
|
|
86
|
-
/* @__PURE__ */ jsx(NavLink, { ref: myApps.setReference, link: "/welcome",
|
|
86
|
+
/* @__PURE__ */ jsx(NavLink, { ref: myApps.setReference, link: "/welcome", translate: t("navbar.applications"), id: popoverAppsId, "aria-haspopup": "true", "aria-expanded": myApps.open, "data-testid": "header-my-apps-button", ...myApps.getReferenceProps({
|
|
87
87
|
onClick: handleMyAppsClick
|
|
88
88
|
}), children: /* @__PURE__ */ jsx(SvgIconMyAppsBeta, {}) }),
|
|
89
89
|
/* @__PURE__ */ jsxs(Popover, { ref: myApps.setFloating, className: "my-apps-popover", id: popoverAppsId, isVisible: myApps.open, ...myApps.getFloatingProps(), children: [
|
|
@@ -91,9 +91,21 @@ const Header = ({
|
|
|
91
91
|
/* @__PURE__ */ jsx(PopoverFooter, { className: "d-flex justify-content-center", children: /* @__PURE__ */ jsx(MyAppsPopoverFooter, {}) })
|
|
92
92
|
] })
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */ jsxs(NavItem, { className: "position-relative
|
|
95
|
-
/* @__PURE__ */ jsx(ButtonBeta, { leftIcon: /* @__PURE__ */ jsx(SvgIconNotificationBeta, {}), variant: "ghost",
|
|
96
|
-
hasNotificationToday && /* @__PURE__ */ jsx("span", {
|
|
94
|
+
/* @__PURE__ */ jsxs(NavItem, { className: "position-relative", children: [
|
|
95
|
+
/* @__PURE__ */ jsx(ButtonBeta, { leftIcon: /* @__PURE__ */ jsx(SvgIconNotificationBeta, {}), variant: "ghost", onClick: handleNotificationsClick }),
|
|
96
|
+
hasNotificationToday && /* @__PURE__ */ jsx("span", { style: {
|
|
97
|
+
position: "absolute",
|
|
98
|
+
top: 0,
|
|
99
|
+
right: 0,
|
|
100
|
+
width: 15,
|
|
101
|
+
height: 15,
|
|
102
|
+
background: "red",
|
|
103
|
+
borderRadius: "50%",
|
|
104
|
+
border: "2px solid white",
|
|
105
|
+
pointerEvents: "none",
|
|
106
|
+
zIndex: 1,
|
|
107
|
+
display: "block"
|
|
108
|
+
}, "aria-label": t("homepage.notifications.new-badge") })
|
|
97
109
|
] }),
|
|
98
110
|
/* @__PURE__ */ jsxs(NavItem, { className: "position-relative", children: [
|
|
99
111
|
/* @__PURE__ */ jsx(NavLink, { ref: userMenu.setReference, link: "/userbook/mon-compte", translate: t("navbar.myaccount"), id: popoverUserId, "aria-haspopup": "true", "aria-expanded": userMenu.open, "data-testid": "header-user-profile-button", ...userMenu.getReferenceProps(), children: /* @__PURE__ */ jsx(Avatar, { alt: userName, size: "sm", src: userAvatar, variant: "circle", className: "bg-white", width: "32", height: "32" }) }),
|
|
@@ -3,11 +3,7 @@ import { ButtonBeta } from '../../../../components';
|
|
|
3
3
|
export interface HomeCardHeaderProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
4
4
|
/** Title displayed on the left side of the header. */
|
|
5
5
|
title: ReactNode;
|
|
6
|
-
/**
|
|
7
|
-
* Label of the action button displayed on the right side of the header.
|
|
8
|
-
* Can be omitted for an icon-only button — pass `aria-label` via
|
|
9
|
-
* `actionProps` in that case.
|
|
10
|
-
*/
|
|
6
|
+
/** Label of the action button displayed on the right side of the header. */
|
|
11
7
|
actionLabel?: ReactNode;
|
|
12
8
|
/** Callback invoked when the action button is clicked. */
|
|
13
9
|
onActionClick?: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -12,7 +12,7 @@ const HomeCardHeader = ({
|
|
|
12
12
|
className,
|
|
13
13
|
...rest
|
|
14
14
|
}) => {
|
|
15
|
-
const hasAction = !!
|
|
15
|
+
const hasAction = !!actionLabel && !!onActionClick;
|
|
16
16
|
return /* @__PURE__ */ jsxs(Flex, { align: "center", justify: "between", gap: "8", wrap: "wrap", className: clsx("home-card-header", className), ...rest, children: [
|
|
17
17
|
/* @__PURE__ */ jsx("h3", { className: "home-card-header-title", children: title }),
|
|
18
18
|
hasAction && /* @__PURE__ */ jsx(ButtonBeta, { color: "tertiary", size: "sm", variant: "ghost", onClick: onActionClick, className: "home-card-header-action", leftIcon: actionLeftIcon, rightIcon: actionRightIcon, "data-testid": "home-card-header-action", ...actionProps, children: actionLabel })
|