@edifice.io/react 2.5.23-develop.20260623163340 → 2.5.23-fix-query-params.20260623180310
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 +1 -4
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +1 -2
- package/dist/components/Flex/Flex.js +1 -5
- package/dist/components/Logo/index.d.ts +1 -1
- package/dist/components/index.d.ts +0 -4
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useEdificeIcons/useEdificeIcons.js +9 -10
- package/dist/icons-nav.js +28 -38
- package/dist/index.js +202 -215
- package/dist/modules/icons/components/nav/index.d.ts +0 -5
- package/dist/modules/modals/OnboardingModal/index.d.ts +1 -1
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.d.ts +7 -0
- package/package.json +8 -13
- package/dist/components/BetaSwitch/BetaSwitch.d.ts +0 -13
- package/dist/components/BetaSwitch/BetaSwitch.js +0 -27
- package/dist/components/BetaSwitch/index.d.ts +0 -1
- package/dist/components/ButtonBeta/ButtonBeta.d.ts +0 -47
- package/dist/components/ButtonBeta/ButtonBeta.js +0 -34
- package/dist/components/ButtonBeta/index.d.ts +0 -2
- package/dist/components/LogoBeta/LogoBeta.d.ts +0 -7
- package/dist/components/LogoBeta/LogoBeta.js +0 -14
- package/dist/components/LogoBeta/index.d.ts +0 -2
- package/dist/components/PageLayout/PageLayout.d.ts +0 -45
- package/dist/components/PageLayout/PageLayout.js +0 -94
- package/dist/components/PageLayout/PageLayoutContext.d.ts +0 -14
- package/dist/components/PageLayout/PageLayoutContext.js +0 -8
- package/dist/components/PageLayout/components/PageLayoutBreadcrumb.d.ts +0 -9
- package/dist/components/PageLayout/components/PageLayoutBreadcrumb.js +0 -10
- package/dist/components/PageLayout/components/PageLayoutContent.d.ts +0 -9
- package/dist/components/PageLayout/components/PageLayoutContent.js +0 -18
- package/dist/components/PageLayout/components/PageLayoutHeader.d.ts +0 -10
- package/dist/components/PageLayout/components/PageLayoutHeader.js +0 -18
- package/dist/components/PageLayout/components/PageLayoutOverlay.d.ts +0 -15
- package/dist/components/PageLayout/components/PageLayoutOverlay.js +0 -51
- package/dist/components/PageLayout/components/PageLayoutSidebarLeft.d.ts +0 -9
- package/dist/components/PageLayout/components/PageLayoutSidebarLeft.js +0 -18
- package/dist/components/PageLayout/components/PageLayoutSidebarRight.d.ts +0 -9
- package/dist/components/PageLayout/components/PageLayoutSidebarRight.js +0 -18
- package/dist/components/PageLayout/hook/useOverlay.d.ts +0 -5
- package/dist/components/PageLayout/hook/useOverlay.js +0 -15
- package/dist/components/PageLayout/index.d.ts +0 -4
- package/dist/components/PageLayout/store/overlayStore.d.ts +0 -15
- package/dist/components/PageLayout/store/overlayStore.js +0 -12
- package/dist/homepage.js +0 -34
- package/dist/modules/homepage/components/Favorites/Favorites.d.ts +0 -6
- package/dist/modules/homepage/components/Favorites/Favorites.js +0 -28
- package/dist/modules/homepage/components/Favorites/FavoritesContainer.d.ts +0 -4
- package/dist/modules/homepage/components/Favorites/FavoritesContainer.js +0 -10
- package/dist/modules/homepage/components/Favorites/index.d.ts +0 -2
- package/dist/modules/homepage/components/Header/Header.d.ts +0 -9
- package/dist/modules/homepage/components/Header/Header.js +0 -80
- package/dist/modules/homepage/components/Header/index.d.ts +0 -2
- package/dist/modules/homepage/components/HomeCard/HomeCard.d.ts +0 -37
- package/dist/modules/homepage/components/HomeCard/HomeCard.js +0 -17
- package/dist/modules/homepage/components/HomeCard/HomeCardContent.d.ts +0 -7
- package/dist/modules/homepage/components/HomeCard/HomeCardContent.js +0 -10
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +0 -18
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +0 -22
- package/dist/modules/homepage/components/HomeCard/index.d.ts +0 -4
- package/dist/modules/homepage/components/LastInfos/LastInfos.d.ts +0 -49
- package/dist/modules/homepage/components/LastInfos/LastInfos.js +0 -58
- package/dist/modules/homepage/components/LastInfos/LastInfosContainer.d.ts +0 -4
- package/dist/modules/homepage/components/LastInfos/LastInfosContainer.js +0 -37
- package/dist/modules/homepage/components/LastInfos/LastInfosList.d.ts +0 -13
- package/dist/modules/homepage/components/LastInfos/LastInfosList.js +0 -31
- package/dist/modules/homepage/components/LastInfos/index.d.ts +0 -4
- package/dist/modules/homepage/components/LastInfos/useLastInfos.d.ts +0 -18
- package/dist/modules/homepage/components/LastInfos/useLastInfos.js +0 -25
- package/dist/modules/homepage/components/MessageFlashList/MessageFlash.d.ts +0 -12
- package/dist/modules/homepage/components/MessageFlashList/MessageFlash.js +0 -65
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.d.ts +0 -12
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.js +0 -10
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.d.ts +0 -5
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.js +0 -14
- package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.d.ts +0 -16
- package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.js +0 -19
- package/dist/modules/homepage/components/MessageFlashList/index.d.ts +0 -4
- package/dist/modules/homepage/components/MessageFlashList/services/api/index.d.ts +0 -4
- package/dist/modules/homepage/components/MessageFlashList/services/api/index.js +0 -5
- package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.d.ts +0 -20
- package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.js +0 -21
- package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.d.ts +0 -13
- package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.js +0 -31
- package/dist/modules/homepage/components/Notifications/Notification.d.ts +0 -20
- package/dist/modules/homepage/components/Notifications/Notification.js +0 -16
- package/dist/modules/homepage/components/Notifications/NotificationList.d.ts +0 -18
- package/dist/modules/homepage/components/Notifications/NotificationList.js +0 -44
- package/dist/modules/homepage/components/Notifications/NotificationListContainer.d.ts +0 -9
- package/dist/modules/homepage/components/Notifications/NotificationListContainer.js +0 -20
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.d.ts +0 -5
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +0 -17
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.d.ts +0 -3
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.js +0 -19
- package/dist/modules/homepage/components/Notifications/components/NotificationItem.d.ts +0 -24
- package/dist/modules/homepage/components/Notifications/components/NotificationItem.js +0 -28
- package/dist/modules/homepage/components/Notifications/components/NotificationResource.d.ts +0 -15
- package/dist/modules/homepage/components/Notifications/components/NotificationResource.js +0 -19
- package/dist/modules/homepage/components/Notifications/components/SystemNotification.d.ts +0 -15
- package/dist/modules/homepage/components/Notifications/components/SystemNotification.js +0 -20
- package/dist/modules/homepage/components/Notifications/components/UserNotification.d.ts +0 -15
- package/dist/modules/homepage/components/Notifications/components/UserNotification.js +0 -25
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +0 -27
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +0 -53
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.d.ts +0 -20
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +0 -26
- package/dist/modules/homepage/components/Notifications/index.d.ts +0 -6
- package/dist/modules/homepage/components/Notifications/services/api/index.d.ts +0 -4
- package/dist/modules/homepage/components/Notifications/services/api/index.js +0 -5
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.d.ts +0 -15
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.js +0 -22
- package/dist/modules/homepage/components/Notifications/services/queries/notification.d.ts +0 -20
- package/dist/modules/homepage/components/Notifications/services/queries/notification.js +0 -40
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.d.ts +0 -15
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.js +0 -29
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.d.ts +0 -4
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +0 -13
- package/dist/modules/homepage/components/SchoolSpace/index.d.ts +0 -3
- package/dist/modules/homepage/components/SchoolSpace/useUserSchools.d.ts +0 -6
- package/dist/modules/homepage/components/SchoolSpace/useUserSchools.js +0 -39
- package/dist/modules/homepage/components/UserSpace/UserSpace.d.ts +0 -13
- package/dist/modules/homepage/components/UserSpace/UserSpace.js +0 -28
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +0 -7
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +0 -19
- package/dist/modules/homepage/components/UserSpace/index.d.ts +0 -3
- package/dist/modules/homepage/components/index.d.ts +0 -8
- package/dist/modules/homepage/hooks/useWidget.d.ts +0 -6
- package/dist/modules/homepage/hooks/useWidget.js +0 -83
- package/dist/modules/homepage/hooks/useWidgetPreferences.d.ts +0 -6
- package/dist/modules/homepage/hooks/useWidgetPreferences.js +0 -34
- package/dist/modules/homepage/index.d.ts +0 -1
- package/dist/modules/icons/components/nav/IconCommunitiesBeta.d.ts +0 -7
- package/dist/modules/icons/components/nav/IconCommunitiesBeta.js +0 -18
- package/dist/modules/icons/components/nav/IconHomeBeta.d.ts +0 -7
- package/dist/modules/icons/components/nav/IconHomeBeta.js +0 -13
- package/dist/modules/icons/components/nav/IconMessagesBeta.d.ts +0 -7
- package/dist/modules/icons/components/nav/IconMessagesBeta.js +0 -18
- package/dist/modules/icons/components/nav/IconMyAppsBeta.d.ts +0 -7
- package/dist/modules/icons/components/nav/IconMyAppsBeta.js +0 -13
- package/dist/modules/icons/components/nav/IconNotificationBeta.d.ts +0 -7
- package/dist/modules/icons/components/nav/IconNotificationBeta.js +0 -14
- package/dist/utilities/create-selectors/createSelectors.d.ts +0 -10
- package/dist/utilities/create-selectors/createSelectors.js +0 -11
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { StoreApi, UseBoundStore } from 'zustand';
|
|
2
|
-
type WithSelectors<S> = S extends {
|
|
3
|
-
getState: () => infer T;
|
|
4
|
-
} ? S & {
|
|
5
|
-
use: {
|
|
6
|
-
[K in keyof T]: () => T[K];
|
|
7
|
-
};
|
|
8
|
-
} : never;
|
|
9
|
-
export declare const createSelectors: <S extends UseBoundStore<StoreApi<object>>>(_store: S) => WithSelectors<S>;
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const createSelectors = (_store) => {
|
|
2
|
-
const store = _store;
|
|
3
|
-
store.use = {};
|
|
4
|
-
const selectorMap = store.use;
|
|
5
|
-
for (const k of Object.keys(store.getState()))
|
|
6
|
-
selectorMap[k] = () => store((s) => s[k]);
|
|
7
|
-
return store;
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
createSelectors
|
|
11
|
-
};
|