@edifice.io/react 2.5.23-develop.20260623093925 → 2.5.23-develop.20260623104003
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/AppIcon/AppIcon.js +4 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +2 -1
- package/dist/components/BetaSwitch/BetaSwitch.d.ts +13 -0
- package/dist/components/BetaSwitch/BetaSwitch.js +27 -0
- package/dist/components/BetaSwitch/index.d.ts +1 -0
- package/dist/components/ButtonBeta/ButtonBeta.d.ts +47 -0
- package/dist/components/ButtonBeta/ButtonBeta.js +34 -0
- package/dist/components/ButtonBeta/index.d.ts +2 -0
- package/dist/components/Flex/Flex.js +5 -1
- package/dist/components/Logo/index.d.ts +1 -1
- package/dist/components/LogoBeta/LogoBeta.d.ts +7 -0
- package/dist/components/LogoBeta/LogoBeta.js +14 -0
- package/dist/components/LogoBeta/index.d.ts +2 -0
- package/dist/components/PageLayout/PageLayout.d.ts +45 -0
- package/dist/components/PageLayout/PageLayout.js +94 -0
- package/dist/components/PageLayout/PageLayoutContext.d.ts +14 -0
- package/dist/components/PageLayout/PageLayoutContext.js +8 -0
- package/dist/components/PageLayout/components/PageLayoutBreadcrumb.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutBreadcrumb.js +10 -0
- package/dist/components/PageLayout/components/PageLayoutContent.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutContent.js +18 -0
- package/dist/components/PageLayout/components/PageLayoutHeader.d.ts +10 -0
- package/dist/components/PageLayout/components/PageLayoutHeader.js +18 -0
- package/dist/components/PageLayout/components/PageLayoutOverlay.d.ts +15 -0
- package/dist/components/PageLayout/components/PageLayoutOverlay.js +51 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarLeft.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarLeft.js +18 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarRight.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarRight.js +18 -0
- package/dist/components/PageLayout/hook/useOverlay.d.ts +5 -0
- package/dist/components/PageLayout/hook/useOverlay.js +15 -0
- package/dist/components/PageLayout/index.d.ts +4 -0
- package/dist/components/PageLayout/store/overlayStore.d.ts +15 -0
- package/dist/components/PageLayout/store/overlayStore.js +12 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/homepage.js +34 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useEdificeIcons/useEdificeIcons.js +10 -9
- package/dist/icons-nav.js +38 -28
- package/dist/index.js +215 -202
- package/dist/modules/homepage/components/Favorites/Favorites.d.ts +6 -0
- package/dist/modules/homepage/components/Favorites/Favorites.js +28 -0
- package/dist/modules/homepage/components/Favorites/FavoritesContainer.d.ts +4 -0
- package/dist/modules/homepage/components/Favorites/FavoritesContainer.js +10 -0
- package/dist/modules/homepage/components/Favorites/index.d.ts +2 -0
- package/dist/modules/homepage/components/Header/Header.d.ts +9 -0
- package/dist/modules/homepage/components/Header/Header.js +80 -0
- package/dist/modules/homepage/components/Header/index.d.ts +2 -0
- package/dist/modules/homepage/components/HomeCard/HomeCard.d.ts +37 -0
- package/dist/modules/homepage/components/HomeCard/HomeCard.js +17 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardContent.d.ts +7 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardContent.js +10 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +18 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +22 -0
- package/dist/modules/homepage/components/HomeCard/index.d.ts +4 -0
- package/dist/modules/homepage/components/LastInfos/LastInfos.d.ts +49 -0
- package/dist/modules/homepage/components/LastInfos/LastInfos.js +58 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosContainer.d.ts +4 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosContainer.js +37 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosList.d.ts +13 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosList.js +31 -0
- package/dist/modules/homepage/components/LastInfos/index.d.ts +4 -0
- package/dist/modules/homepage/components/LastInfos/useLastInfos.d.ts +18 -0
- package/dist/modules/homepage/components/LastInfos/useLastInfos.js +25 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlash.d.ts +12 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlash.js +65 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.d.ts +12 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.js +10 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.d.ts +5 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.js +14 -0
- package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.d.ts +16 -0
- package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.js +19 -0
- package/dist/modules/homepage/components/MessageFlashList/index.d.ts +4 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/index.d.ts +4 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/index.js +5 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.d.ts +20 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.js +21 -0
- package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.d.ts +13 -0
- package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.js +31 -0
- package/dist/modules/homepage/components/Notifications/Notification.d.ts +20 -0
- package/dist/modules/homepage/components/Notifications/Notification.js +16 -0
- package/dist/modules/homepage/components/Notifications/NotificationList.d.ts +18 -0
- package/dist/modules/homepage/components/Notifications/NotificationList.js +44 -0
- package/dist/modules/homepage/components/Notifications/NotificationListContainer.d.ts +9 -0
- package/dist/modules/homepage/components/Notifications/NotificationListContainer.js +20 -0
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.d.ts +5 -0
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +17 -0
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.d.ts +3 -0
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.js +19 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationItem.d.ts +24 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationItem.js +28 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationResource.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationResource.js +19 -0
- package/dist/modules/homepage/components/Notifications/components/SystemNotification.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/components/SystemNotification.js +20 -0
- package/dist/modules/homepage/components/Notifications/components/UserNotification.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/components/UserNotification.js +25 -0
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +27 -0
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +53 -0
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.d.ts +20 -0
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +26 -0
- package/dist/modules/homepage/components/Notifications/index.d.ts +6 -0
- package/dist/modules/homepage/components/Notifications/services/api/index.d.ts +4 -0
- package/dist/modules/homepage/components/Notifications/services/api/index.js +5 -0
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.js +22 -0
- package/dist/modules/homepage/components/Notifications/services/queries/notification.d.ts +20 -0
- package/dist/modules/homepage/components/Notifications/services/queries/notification.js +40 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.d.ts +15 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.js +29 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.d.ts +4 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +13 -0
- package/dist/modules/homepage/components/SchoolSpace/index.d.ts +3 -0
- package/dist/modules/homepage/components/SchoolSpace/useUserSchools.d.ts +6 -0
- package/dist/modules/homepage/components/SchoolSpace/useUserSchools.js +39 -0
- package/dist/modules/homepage/components/UserSpace/UserSpace.d.ts +13 -0
- package/dist/modules/homepage/components/UserSpace/UserSpace.js +28 -0
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +7 -0
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +19 -0
- package/dist/modules/homepage/components/UserSpace/index.d.ts +3 -0
- package/dist/modules/homepage/components/index.d.ts +8 -0
- package/dist/modules/homepage/hooks/useWidget.d.ts +6 -0
- package/dist/modules/homepage/hooks/useWidget.js +83 -0
- package/dist/modules/homepage/hooks/useWidgetPreferences.d.ts +6 -0
- package/dist/modules/homepage/hooks/useWidgetPreferences.js +34 -0
- package/dist/modules/homepage/index.d.ts +1 -0
- package/dist/modules/icons/components/nav/IconCommunitiesBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconCommunitiesBeta.js +18 -0
- package/dist/modules/icons/components/nav/IconHomeBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconHomeBeta.js +13 -0
- package/dist/modules/icons/components/nav/IconMessagesBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconMessagesBeta.js +18 -0
- package/dist/modules/icons/components/nav/IconMyAppsBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconMyAppsBeta.js +13 -0
- package/dist/modules/icons/components/nav/IconNotificationBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconNotificationBeta.js +14 -0
- package/dist/modules/icons/components/nav/index.d.ts +5 -0
- package/dist/modules/modals/OnboardingModal/index.d.ts +1 -1
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.d.ts +0 -7
- package/dist/utilities/create-selectors/createSelectors.d.ts +10 -0
- package/dist/utilities/create-selectors/createSelectors.js +11 -0
- package/package.json +13 -8
package/dist/index.js
CHANGED
|
@@ -11,110 +11,114 @@ import { default as default10 } from "./components/Badge/Badge.js";
|
|
|
11
11
|
import { default as default11 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
12
12
|
import { default as default12 } from "./components/Breadcrumb/Breadcrumb.js";
|
|
13
13
|
import { default as default13 } from "./components/Button/Button.js";
|
|
14
|
-
import { default as default14 } from "./components/
|
|
15
|
-
import { default as default15 } from "./components/
|
|
16
|
-
import { default as default16 } from "./components/
|
|
17
|
-
import { default as default17 } from "./components/
|
|
18
|
-
import { default as default18 } from "./components/ColorPicker/
|
|
19
|
-
import { default as default19 } from "./components/
|
|
20
|
-
import { default as default20 } from "./
|
|
21
|
-
import { default as default21 } from "./
|
|
22
|
-
import { default as default22 } from "./components/
|
|
14
|
+
import { default as default14 } from "./components/ButtonBeta/ButtonBeta.js";
|
|
15
|
+
import { default as default15 } from "./components/Skeleton/ButtonSkeleton.js";
|
|
16
|
+
import { default as default16 } from "./components/Card/Card.js";
|
|
17
|
+
import { default as default17 } from "./components/Checkbox/Checkbox.js";
|
|
18
|
+
import { default as default18 } from "./components/ColorPicker/ColorPicker.js";
|
|
19
|
+
import { default as default19 } from "./components/ColorPicker/ColorPickerItem.js";
|
|
20
|
+
import { default as default20 } from "./components/Combobox/Combobox.js";
|
|
21
|
+
import { default as default21 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
|
|
22
|
+
import { default as default22 } from "./components/DatePicker/DatePicker.js";
|
|
23
|
+
import { default as default23 } from "./components/Divider/Divider.js";
|
|
23
24
|
import { DndTree } from "./components/Tree/components/DndTree.js";
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
105
|
-
import { default as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
111
|
-
import { default as
|
|
112
|
-
import {
|
|
113
|
-
import { default as
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
25
|
+
import { default as default24 } from "./components/Dropdown/Dropdown.js";
|
|
26
|
+
import { default as default25 } from "./components/Dropzone/Dropzone.js";
|
|
27
|
+
import { default as default26 } from "./modules/multimedia/Embed/Embed.js";
|
|
28
|
+
import { default as default27 } from "./components/EmptyScreen/EmptyScreen.js";
|
|
29
|
+
import { default as default28 } from "./modules/multimedia/FileCard/FileCard.js";
|
|
30
|
+
import { default as default29 } from "./components/Flex/Flex.js";
|
|
31
|
+
import { default as default30 } from "./components/Form/FormControl.js";
|
|
32
|
+
import { default as default31 } from "./components/Form/FormText.js";
|
|
33
|
+
import { default as default32 } from "./components/Heading/Heading.js";
|
|
34
|
+
import { default as default33 } from "./components/Button/IconButton.js";
|
|
35
|
+
import { default as default34 } from "./components/Image/Image.js";
|
|
36
|
+
import { default as default35 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
37
|
+
import { default as default36 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
38
|
+
import { default as default37 } from "./components/Input/Input.js";
|
|
39
|
+
import { default as default38 } from "./components/Label/Label.js";
|
|
40
|
+
import { default as default39 } from "./components/Loading/Loading.js";
|
|
41
|
+
import { default as default40 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
42
|
+
import { default as default41 } from "./components/Logo/Logo.js";
|
|
43
|
+
import { default as default42 } from "./components/LogoBeta/LogoBeta.js";
|
|
44
|
+
import { default as default43 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
45
|
+
import { default as default44 } from "./components/MediaViewer/MediaViewer.js";
|
|
46
|
+
import { default as default45 } from "./components/Modal/Modal.js";
|
|
47
|
+
import { default as default46 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
48
|
+
import { default as default47 } from "./components/PageLayout/PageLayout.js";
|
|
49
|
+
import { default as default48 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
50
|
+
import { default as default49, Root } from "./components/PromotionCard/PromotionCard.js";
|
|
51
|
+
import { default as default50 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
52
|
+
import { default as default51 } from "./components/Radio/Radio.js";
|
|
53
|
+
import { default as default52 } from "./components/RadioCard/RadioCard.js";
|
|
54
|
+
import { default as default53 } from "./components/SearchBar/SearchBar.js";
|
|
55
|
+
import { default as default54 } from "./components/Button/SearchButton.js";
|
|
56
|
+
import { default as default55 } from "./components/SegmentedControl/SegmentedControl.js";
|
|
57
|
+
import { default as default56 } from "./components/Select/Select.js";
|
|
58
|
+
import { default as default57 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
59
|
+
import { default as default58 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
60
|
+
import { default as default59 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
61
|
+
import { default as default60 } from "./components/Tree/components/SortableTree.js";
|
|
62
|
+
import { default as default61 } from "./components/StackedGroup/StackedGroup.js";
|
|
63
|
+
import { default as default62 } from "./components/Stepper/Stepper.js";
|
|
64
|
+
import { default as default63 } from "./components/Switch/Switch.js";
|
|
65
|
+
import { default as default64 } from "./components/Table/components/Table.js";
|
|
66
|
+
import { default as default65 } from "./components/TextArea/TextArea.js";
|
|
67
|
+
import { default as default66 } from "./components/Skeleton/TextSkeleton.js";
|
|
68
|
+
import { default as default67 } from "./components/Tooltip/Tooltip.js";
|
|
69
|
+
import { default as default68 } from "./components/Tree/components/Tree.js";
|
|
70
|
+
import { default as default69 } from "./components/TreeView/TreeView.js";
|
|
71
|
+
import { default as default70 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
72
|
+
import { default as default71 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
73
|
+
import { default as default72 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
74
|
+
import { default as default73 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
75
|
+
import { default as default74 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
76
|
+
import { default as default75 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
77
|
+
import { default as default76 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
78
|
+
import { default as default77 } from "./hooks/useBookmark/useBookmark.js";
|
|
79
|
+
import { default as default78 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
80
|
+
import { default as default79 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
81
|
+
import { default as default80 } from "./hooks/useCantoo/useCantoo.js";
|
|
82
|
+
import { default as default81 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
83
|
+
import { default as default82 } from "./hooks/useConversation/useConversation.js";
|
|
84
|
+
import { default as default83 } from "./hooks/useDate/useDate.js";
|
|
85
|
+
import { default as default84 } from "./hooks/useDebounce/useDebounce.js";
|
|
86
|
+
import { default as default85 } from "./hooks/useDirectory/useDirectory.js";
|
|
87
|
+
import { default as default86 } from "./hooks/useDropdown/useDropdown.js";
|
|
88
|
+
import { default as default87 } from "./hooks/useDropzone/useDropzone.js";
|
|
89
|
+
import { default as default88 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
90
|
+
import { default as default89 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
91
|
+
import { default as default90 } from "./hooks/useHover/useHover.js";
|
|
92
|
+
import { default as default91 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
93
|
+
import { default as default92 } from "./hooks/useImage/useImage.js";
|
|
94
|
+
import { default as default93 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
|
|
95
|
+
import { default as default94 } from "./hooks/useIsAdmc/useIsAdmc.js";
|
|
96
|
+
import { default as default95 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
97
|
+
import { default as default96 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
|
|
98
|
+
import { default as default97 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
99
|
+
import { default as default98 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
100
|
+
import { default as default99 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
101
|
+
import { default as default100 } from "./hooks/usePublicConf/usePublicConf.js";
|
|
102
|
+
import { default as default101 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
103
|
+
import { default as default102 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
104
|
+
import { default as default103 } from "./hooks/useTitle/useTitle.js";
|
|
105
|
+
import { default as default104 } from "./hooks/useToast/useToast.js";
|
|
106
|
+
import { default as default105 } from "./hooks/useToggle/useToggle.js";
|
|
107
|
+
import { default as default106 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
108
|
+
import { default as default107 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
109
|
+
import { default as default108 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
110
|
+
import { default as default109 } from "./hooks/useUpload/useUpload.js";
|
|
111
|
+
import { default as default110 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
112
|
+
import { default as default111 } from "./hooks/useUser/useUser.js";
|
|
113
|
+
import { default as default112 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
114
|
+
import { default as default113 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
115
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default114 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
116
|
+
import { default as default115 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
117
|
+
import { default as default116 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
118
|
+
import { default as default117 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
116
119
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
117
120
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
121
|
+
import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
|
|
118
122
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
119
123
|
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
120
124
|
import { EdificeClientContext } from "./providers/EdificeClientProvider/EdificeClientProvider.context.js";
|
|
@@ -128,6 +132,7 @@ import { Layout } from "./components/Layout/Layout.js";
|
|
|
128
132
|
import { List } from "./components/List/List.js";
|
|
129
133
|
import { Menu } from "./components/Menu/components/Menu.js";
|
|
130
134
|
import { MockedProvider } from "./providers/MockedProvider/MockedProvider.js";
|
|
135
|
+
import { PageLayoutContext, usePageLayout } from "./components/PageLayout/PageLayoutContext.js";
|
|
131
136
|
import { Pagination } from "./components/Pagination/Pagination.js";
|
|
132
137
|
import { Popover, PopoverBody, PopoverFooter, PopoverHeader } from "./components/Popover/Popover.js";
|
|
133
138
|
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
@@ -149,6 +154,7 @@ import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
|
149
154
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
150
155
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
151
156
|
import { useFileToAttachment } from "./components/AddAttachments/hooks/useFileToAttachment.js";
|
|
157
|
+
import { useOverlay } from "./components/PageLayout/hook/useOverlay.js";
|
|
152
158
|
import { useScreeb } from "./hooks/useScreeb/useScreeb.js";
|
|
153
159
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
154
160
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
@@ -165,102 +171,107 @@ export {
|
|
|
165
171
|
default8 as Avatar,
|
|
166
172
|
default9 as AvatarGroup,
|
|
167
173
|
default10 as Badge,
|
|
174
|
+
BetaSwitch,
|
|
168
175
|
default11 as BlogPublic,
|
|
169
176
|
default12 as Breadcrumb,
|
|
170
177
|
default13 as Button,
|
|
171
|
-
default14 as
|
|
172
|
-
default15 as
|
|
173
|
-
default16 as
|
|
174
|
-
default17 as
|
|
175
|
-
default18 as
|
|
178
|
+
default14 as ButtonBeta,
|
|
179
|
+
default15 as ButtonSkeleton,
|
|
180
|
+
default16 as Card,
|
|
181
|
+
default17 as Checkbox,
|
|
182
|
+
default18 as ColorPicker,
|
|
183
|
+
default19 as ColorPickerItem,
|
|
176
184
|
Column,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
185
|
+
default20 as Combobox,
|
|
186
|
+
default21 as ConfirmModal,
|
|
187
|
+
default22 as DatePicker,
|
|
180
188
|
DefaultPalette,
|
|
181
|
-
|
|
189
|
+
default23 as Divider,
|
|
182
190
|
DndTree,
|
|
183
|
-
|
|
184
|
-
|
|
191
|
+
default24 as Dropdown,
|
|
192
|
+
default25 as Dropzone,
|
|
185
193
|
DropzoneContext,
|
|
186
194
|
EdificeClientContext,
|
|
187
195
|
EdificeClientProvider,
|
|
188
196
|
EdificeScreebProvider,
|
|
189
197
|
EdificeThemeContext,
|
|
190
198
|
EdificeThemeProvider,
|
|
191
|
-
|
|
192
|
-
|
|
199
|
+
default26 as Embed,
|
|
200
|
+
default27 as EmptyScreen,
|
|
193
201
|
ExternalLinker,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
202
|
+
default28 as FileCard,
|
|
203
|
+
default29 as Flex,
|
|
204
|
+
default30 as FormControl,
|
|
205
|
+
default31 as FormText,
|
|
198
206
|
Grid,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
207
|
+
default32 as Heading,
|
|
208
|
+
default33 as IconButton,
|
|
209
|
+
default34 as Image,
|
|
210
|
+
default35 as ImageEditor,
|
|
211
|
+
default36 as ImagePicker,
|
|
212
|
+
default37 as Input,
|
|
205
213
|
InternalLinker,
|
|
206
|
-
|
|
214
|
+
default38 as Label,
|
|
207
215
|
Layout,
|
|
208
216
|
List,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
217
|
+
default39 as Loading,
|
|
218
|
+
default40 as LoadingScreen,
|
|
219
|
+
default41 as Logo,
|
|
220
|
+
default42 as LogoBeta,
|
|
221
|
+
default43 as MediaLibrary,
|
|
222
|
+
default44 as MediaViewer,
|
|
214
223
|
Menu,
|
|
215
224
|
MockedProvider,
|
|
216
|
-
|
|
217
|
-
|
|
225
|
+
default45 as Modal,
|
|
226
|
+
default46 as OnboardingModal,
|
|
227
|
+
default47 as PageLayout,
|
|
228
|
+
PageLayoutContext,
|
|
218
229
|
Pagination,
|
|
219
230
|
Popover,
|
|
220
231
|
PopoverBody,
|
|
221
232
|
PopoverFooter,
|
|
222
233
|
PopoverHeader,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
234
|
+
default48 as PreventPropagation,
|
|
235
|
+
default49 as PromotionCard,
|
|
236
|
+
default50 as PublishModal,
|
|
237
|
+
default51 as Radio,
|
|
238
|
+
default52 as RadioCard,
|
|
228
239
|
ResourceModal,
|
|
229
240
|
Root,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
241
|
+
default53 as SearchBar,
|
|
242
|
+
default54 as SearchButton,
|
|
243
|
+
default55 as SegmentedControl,
|
|
244
|
+
default56 as Select,
|
|
245
|
+
default57 as ShareBlog,
|
|
246
|
+
default58 as ShareModal,
|
|
247
|
+
default59 as ShareResources,
|
|
248
|
+
default60 as SortableTree,
|
|
249
|
+
default61 as StackedGroup,
|
|
250
|
+
default62 as Stepper,
|
|
251
|
+
default63 as Switch,
|
|
252
|
+
default64 as Table,
|
|
242
253
|
Tabs,
|
|
243
|
-
|
|
244
|
-
|
|
254
|
+
default65 as TextArea,
|
|
255
|
+
default66 as TextSkeleton,
|
|
245
256
|
Toolbar,
|
|
246
|
-
|
|
247
|
-
|
|
257
|
+
default67 as Tooltip,
|
|
258
|
+
default68 as Tree,
|
|
248
259
|
TreeNode,
|
|
249
260
|
TreeNodeFolderWrapper,
|
|
250
|
-
|
|
261
|
+
default69 as TreeView,
|
|
251
262
|
Upload,
|
|
252
|
-
|
|
253
|
-
|
|
263
|
+
default70 as UploadCard,
|
|
264
|
+
default71 as UploadFiles,
|
|
254
265
|
UserRightsList,
|
|
255
266
|
UserSearch,
|
|
256
|
-
|
|
257
|
-
|
|
267
|
+
default72 as VideoEmbed,
|
|
268
|
+
default73 as VideoRecorder,
|
|
258
269
|
VisibleType,
|
|
259
|
-
|
|
270
|
+
default74 as VisuallyHidden,
|
|
260
271
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
261
272
|
WORKSPACE_USER_FOLDER_ID,
|
|
262
|
-
|
|
263
|
-
|
|
273
|
+
default75 as Workspace,
|
|
274
|
+
default76 as WorkspaceFolders,
|
|
264
275
|
addNode,
|
|
265
276
|
arrayUnique,
|
|
266
277
|
buildTree,
|
|
@@ -290,54 +301,56 @@ export {
|
|
|
290
301
|
setRef,
|
|
291
302
|
updateNode,
|
|
292
303
|
updateParentIds,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
304
|
+
default77 as useBookmark,
|
|
305
|
+
default78 as useBreakpoint,
|
|
306
|
+
default79 as useBrowserInfo,
|
|
307
|
+
default80 as useCantoo,
|
|
297
308
|
useCheckable,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
309
|
+
default81 as useClickOutside,
|
|
310
|
+
default82 as useConversation,
|
|
311
|
+
default83 as useDate,
|
|
312
|
+
default84 as useDebounce,
|
|
313
|
+
default85 as useDirectory,
|
|
314
|
+
default86 as useDropdown,
|
|
315
|
+
default87 as useDropzone,
|
|
305
316
|
useDropzoneContext,
|
|
306
317
|
useEdificeClient,
|
|
307
|
-
|
|
318
|
+
default88 as useEdificeIcons,
|
|
308
319
|
useEdificeTheme,
|
|
309
320
|
useFileToAttachment,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
321
|
+
default89 as useHasWorkflow,
|
|
322
|
+
default90 as useHover,
|
|
323
|
+
default91 as useHttpErrorToast,
|
|
324
|
+
default92 as useImage,
|
|
325
|
+
default93 as useInfiniteScroll,
|
|
326
|
+
default94 as useIsAdmc,
|
|
327
|
+
default95 as useIsAdml,
|
|
328
|
+
default96 as useIsAdmlcOrAdmc,
|
|
329
|
+
default97 as useKeyPress,
|
|
330
|
+
default98 as useLibraryUrl,
|
|
331
|
+
default99 as useMediaLibrary,
|
|
332
|
+
useOverlay,
|
|
333
|
+
usePageLayout,
|
|
334
|
+
default100 as usePublicConf,
|
|
322
335
|
useScreeb,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
336
|
+
default101 as useScrollToTop,
|
|
337
|
+
default102 as useShareMutation,
|
|
338
|
+
default103 as useTitle,
|
|
339
|
+
default104 as useToast,
|
|
340
|
+
default105 as useToggle,
|
|
341
|
+
default106 as useTrapFocus,
|
|
342
|
+
default107 as useTrashedResource,
|
|
330
343
|
useTreeSortable,
|
|
331
344
|
useTreeView,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
345
|
+
default108 as useUpdateMutation,
|
|
346
|
+
default109 as useUpload,
|
|
347
|
+
default110 as useUploadFiles,
|
|
348
|
+
default111 as useUser,
|
|
349
|
+
default112 as useWorkspaceFile,
|
|
350
|
+
default113 as useWorkspaceFolders,
|
|
351
|
+
default114 as useWorkspaceFoldersTree,
|
|
352
|
+
default115 as useWorkspaceSearch,
|
|
353
|
+
default116 as useXitiTrackPageLoad,
|
|
354
|
+
default117 as useZendeskGuide,
|
|
342
355
|
wrapTreeNode
|
|
343
356
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
import illuEmptyFavorite from "@edifice.io/bootstrap/dist/images/homepage/illu-empty-favorite.svg";
|
|
4
|
+
import SvgIconArrowRight from "../../../icons/components/IconArrowRight.js";
|
|
5
|
+
import HomeCard from "../HomeCard/HomeCard.js";
|
|
6
|
+
import Flex from "../../../../components/Flex/Flex.js";
|
|
7
|
+
import AppIcon from "../../../../components/AppIcon/AppIcon.js";
|
|
8
|
+
function Favorites({
|
|
9
|
+
apps,
|
|
10
|
+
onSeeAllClick = () => window.open("/welcome", "_self")
|
|
11
|
+
}) {
|
|
12
|
+
const {
|
|
13
|
+
t
|
|
14
|
+
} = useTranslation(), getAppName = (app) => app.prefix && app.prefix.length > 1 ? t(app.prefix.substring(1)) : t(app.displayName) || "";
|
|
15
|
+
return /* @__PURE__ */ jsxs(HomeCard, { variant: "secondary", children: [
|
|
16
|
+
/* @__PURE__ */ jsx(HomeCard.Header, { title: t("homepage.favorites.title", "Favoris"), actionLabel: t("homepage.favorites.all", "Mes applis"), onActionClick: onSeeAllClick, actionRightIcon: /* @__PURE__ */ jsx(SvgIconArrowRight, {}) }),
|
|
17
|
+
/* @__PURE__ */ jsx(HomeCard.Content, { children: /* @__PURE__ */ jsx("div", { className: "favorites-content", children: apps.length === 0 ? /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "12", children: [
|
|
18
|
+
/* @__PURE__ */ jsx("img", { src: illuEmptyFavorite, alt: "", width: 80, height: 80 }),
|
|
19
|
+
/* @__PURE__ */ jsx("span", { className: "favorites-empty-text", children: t("homepage.favorites.empty", "Ajouter des applications à vos favoris pour les retrouver ici et y accéder rapidement !") })
|
|
20
|
+
] }) : /* @__PURE__ */ jsx(Flex, { wrap: "wrap", gap: "8 16", children: apps.map((app) => {
|
|
21
|
+
const appName = getAppName(app), opensInNewTab = app.isExternal || app.target === "_blank";
|
|
22
|
+
return /* @__PURE__ */ jsx("a", { href: app.address, "aria-label": appName, title: appName, target: opensInNewTab ? "_blank" : void 0, rel: opensInNewTab ? "noopener noreferrer" : void 0, children: /* @__PURE__ */ jsx(AppIcon, { app, size: "40", variant: "square" }) }, app.name);
|
|
23
|
+
}) }) }) })
|
|
24
|
+
] });
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
Favorites
|
|
28
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Favorites } from "./Favorites.js";
|
|
3
|
+
import useBookmark from "../../../../hooks/useBookmark/useBookmark.js";
|
|
4
|
+
function FavoritesContainer(props) {
|
|
5
|
+
const apps = useBookmark() ?? [];
|
|
6
|
+
return /* @__PURE__ */ jsx(Favorites, { ...props, apps });
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
FavoritesContainer
|
|
10
|
+
};
|