mui-toolpad-extended-tuni 2.0.0 → 3.0.0
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/README.md +173 -18
- package/dist/index.cjs +193 -149
- package/dist/index.d.ts +2 -47
- package/dist/index.es.js +66551 -18872
- package/dist/mockServiceWorker.js +1 -1
- package/dist/mui-toolpad-extended-tuni.css +1 -0
- package/dist/src/App.d.ts +31 -0
- package/dist/src/LMSToolpad/Forms/Components/Editables/EditableAutoComplete.d.ts +12 -0
- package/dist/src/LMSToolpad/Forms/Components/Editables/EditableColor.d.ts +8 -0
- package/dist/src/LMSToolpad/Forms/Components/Editables/EditableImage.d.ts +9 -0
- package/dist/src/LMSToolpad/Forms/Components/Editables/EditableNumber.d.ts +12 -0
- package/dist/src/LMSToolpad/Forms/Components/Editables/EditableSelect.d.ts +14 -0
- package/dist/src/LMSToolpad/Forms/Components/Editables/EditableSwitch.d.ts +8 -0
- package/dist/src/LMSToolpad/Forms/Components/Editables/EditableText.d.ts +32 -0
- package/dist/src/LMSToolpad/Forms/Components/SqueezableTable/SqueezableTable.d.ts +2 -0
- package/dist/src/LMSToolpad/Forms/Components/SqueezableTable/types.d.ts +24 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/PlatformSettings.d.ts +21 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/PlatformSettingsTabs.d.ts +16 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/AITab.d.ts +7 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/AuthTab.d.ts +7 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/CoursesTab.d.ts +7 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/FeaturesTab.d.ts +24 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/GeneralTab.d.ts +7 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/PrivacyTab.d.ts +7 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/ThemeTab.d.ts +7 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/components/ColorSettings.d.ts +7 -0
- package/dist/src/LMSToolpad/Forms/PlatformSettings/tabs/components/TypographySettings.d.ts +7 -0
- package/dist/src/LMSToolpad/LMSProvider.d.ts +34 -0
- package/dist/src/LMSToolpad/components/AuthenticationManager.d.ts +2 -0
- package/dist/src/LMSToolpad/components/Calendar/Calendar.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Calendar/CalendarBody.d.ts +16 -0
- package/dist/src/LMSToolpad/components/Calendar/CalendarEventAggregator.d.ts +9 -0
- package/dist/src/LMSToolpad/components/Calendar/CalendarEventItem.d.ts +10 -0
- package/dist/src/LMSToolpad/components/Calendar/CalendarHeader.d.ts +12 -0
- package/dist/src/LMSToolpad/components/Calendar/CalendarManager.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Calendar/CalendarMicroservice.d.ts +32 -0
- package/dist/src/LMSToolpad/components/Calendar/DatePickerPopover.d.ts +8 -0
- package/dist/src/LMSToolpad/components/Calendar/components/EventDetails.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Calendar/components/EventMenu.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Calendar/components/EventViews.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Calendar/components/index.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Calendar/index.d.ts +5 -0
- package/dist/src/LMSToolpad/components/Calendar/store/useCalendarStore.d.ts +44 -0
- package/dist/src/LMSToolpad/components/Calendar/types.d.ts +49 -0
- package/dist/src/LMSToolpad/components/Courses/CourseCodeLoader.d.ts +15 -0
- package/dist/src/LMSToolpad/components/Courses/CourseEventPublisher.d.ts +8 -0
- package/dist/src/LMSToolpad/components/Courses/CourseInstanceLoader.d.ts +16 -0
- package/dist/src/LMSToolpad/components/Courses/CourseInstanceSelector.d.ts +15 -0
- package/dist/src/LMSToolpad/components/Courses/CourseItem/CourseActions.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Courses/CourseItem/CourseHeader.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Courses/CourseItem/CourseHeaderActions.d.ts +12 -0
- package/dist/src/LMSToolpad/components/Courses/CourseItem/CourseIcon.d.ts +8 -0
- package/dist/src/LMSToolpad/components/Courses/CourseItem/CourseInfo.d.ts +8 -0
- package/dist/src/LMSToolpad/components/Courses/CourseItem/CourseItem.d.ts +9 -0
- package/dist/src/LMSToolpad/components/Courses/CourseList.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Courses/CourseManager.d.ts +2 -0
- package/dist/src/LMSToolpad/components/Courses/CourseMicroservice.d.ts +42 -0
- package/dist/src/LMSToolpad/components/Courses/CourseRoutesProvider.d.ts +12 -0
- package/dist/src/LMSToolpad/components/Courses/CourseTools.d.ts +21 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/CourseSettings.d.ts +23 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/CourseSettingsTabs.d.ts +9 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/tabs/BasicInfoTab.d.ts +7 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/tabs/DataProcessingTab.d.ts +24 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/tabs/EnrollmentTab.d.ts +28 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/tabs/RelationshipsTab.d.ts +25 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/tabs/StaffTab.d.ts +26 -0
- package/dist/src/LMSToolpad/components/Courses/Forms/CourseSettings/tabs/VisibilityTab.d.ts +24 -0
- package/dist/src/LMSToolpad/components/Courses/Navigation/CourseNavigationbuilder.d.ts +2 -0
- package/dist/src/LMSToolpad/components/Courses/components/ToolDisplayer/ToolCard.d.ts +8 -0
- package/dist/src/LMSToolpad/components/Courses/components/ToolDisplayer/ToolDisplayer.d.ts +11 -0
- package/dist/src/LMSToolpad/components/Courses/config/subjectConfig.d.ts +10 -0
- package/dist/src/LMSToolpad/components/Courses/context/CourseMicroserviceContext.d.ts +26 -0
- package/dist/src/LMSToolpad/components/Courses/hooks/useCourseRoutes.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Courses/mocks/commented.d.ts +0 -0
- package/dist/src/LMSToolpad/components/Courses/mocks/constants.d.ts +9 -0
- package/dist/src/LMSToolpad/components/Courses/mocks/endpoints.d.ts +8 -0
- package/dist/src/LMSToolpad/components/Courses/mocks/generators.d.ts +13 -0
- package/dist/src/LMSToolpad/components/Courses/mocks/types.d.ts +109 -0
- package/dist/{LMSToolpad → src/LMSToolpad/components/Courses}/network/courses.d.ts +1 -8
- package/dist/src/LMSToolpad/components/Courses/store/useCourseStore.d.ts +146 -0
- package/dist/src/LMSToolpad/components/Courses/utils/courseFilters.d.ts +21 -0
- package/dist/{LMSToolpad → src/LMSToolpad}/components/Dialogs/DialogOpener.d.ts +0 -1
- package/dist/src/LMSToolpad/components/Dialogs/Dialogs.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Dialogs/ExtendedDialog.d.ts +8 -0
- package/dist/{LMSToolpad → src/LMSToolpad}/components/Dialogs/FormDialog.d.ts +5 -1
- package/dist/src/LMSToolpad/components/Dialogs/dialogRegistry.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Events/EventBus.d.ts +34 -0
- package/dist/src/LMSToolpad/components/Events/UserBus.d.ts +111 -0
- package/dist/src/LMSToolpad/components/Events/hooks/useCurrentUser.d.ts +11 -0
- package/dist/src/LMSToolpad/components/Events/hooks/useUserActions.d.ts +15 -0
- package/dist/src/LMSToolpad/components/Events/hooks/useUserPreferences.d.ts +22 -0
- package/dist/src/LMSToolpad/components/Events/index.d.ts +10 -0
- package/dist/src/LMSToolpad/components/Events/types.d.ts +16 -0
- package/dist/src/LMSToolpad/components/Events/userTypes.d.ts +78 -0
- package/dist/{LMSToolpad → src/LMSToolpad}/components/IconWithBadge.d.ts +0 -1
- package/dist/src/LMSToolpad/components/Microservices/MicroserviceNavigationBuilder.d.ts +45 -0
- package/dist/src/LMSToolpad/components/Microservices/MicroserviceSubsections.d.ts +9 -0
- package/dist/src/LMSToolpad/components/Microservices/Microservices.d.ts +25 -0
- package/dist/src/LMSToolpad/components/Microservices/types.d.ts +12 -0
- package/dist/src/LMSToolpad/components/Navigation/NavigationBuilder.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Navigation/NavigationFilter.d.ts +1 -0
- package/dist/src/LMSToolpad/components/Navigation/NavigationRegistry.d.ts +116 -0
- package/dist/src/LMSToolpad/components/Navigation/hooks/useMicroserviceNavigation.d.ts +4 -0
- package/dist/src/LMSToolpad/components/Navigation/hooks/useMicroserviceRoutes.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Navigation/hooks/useNavigationSectionManager.d.ts +23 -0
- package/dist/src/LMSToolpad/components/Navigation/hooks/useSyncNavigationFilters.d.ts +1 -0
- package/dist/src/LMSToolpad/components/Navigation/store/microserviceUtils.d.ts +9 -0
- package/dist/src/LMSToolpad/components/Navigation/store/navigationCalculator.d.ts +11 -0
- package/dist/src/LMSToolpad/components/Navigation/store/sectionManager.d.ts +9 -0
- package/dist/src/LMSToolpad/components/Navigation/store/types.d.ts +90 -0
- package/dist/src/LMSToolpad/components/Navigation/store/useNavigationFilterStore.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Navigation/store/useNavigationStore.d.ts +50 -0
- package/dist/src/LMSToolpad/components/Notifications/store/useNotificationsStore.d.ts +22 -0
- package/dist/{LMSToolpad/components → src/LMSToolpad/components/Routes/Home}/Home.d.ts +0 -1
- package/dist/src/LMSToolpad/components/Users/Forms/UserSettings/UserSettings.d.ts +22 -0
- package/dist/src/LMSToolpad/components/Users/UserEventPublisher.d.ts +8 -0
- package/dist/src/LMSToolpad/components/Users/UserManager.d.ts +2 -0
- package/dist/src/LMSToolpad/components/Users/UserMicroservice.d.ts +34 -0
- package/dist/src/LMSToolpad/components/Users/index.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Users/mocks/constants.d.ts +59 -0
- package/dist/src/LMSToolpad/components/Users/mocks/endpoints.d.ts +3 -0
- package/dist/src/LMSToolpad/components/Users/mocks/generators.d.ts +6 -0
- package/dist/src/LMSToolpad/components/Users/mocks/types.d.ts +52 -0
- package/dist/src/LMSToolpad/components/Users/network/users.d.ts +7 -0
- package/dist/src/LMSToolpad/components/Users/store/useUserStore.d.ts +63 -0
- package/dist/{LMSToolpad → src/LMSToolpad}/components/tools/addActions.d.ts +2 -2
- package/dist/{LMSToolpad → src/LMSToolpad}/components/tools/addIcons.d.ts +1 -1
- package/dist/{LMSToolpad → src/LMSToolpad}/components/tools/utils/ActionFCWrapper.d.ts +2 -2
- package/dist/{LMSToolpad → src/LMSToolpad}/components/tools/utils/IconFCWrapper.d.ts +0 -1
- package/dist/src/LMSToolpad/constants.d.ts +67 -0
- package/dist/{LMSToolpad → src/LMSToolpad}/hooks/useCustomRouter.d.ts +3 -2
- package/dist/src/LMSToolpad/hooks/useVisitedCourses.d.ts +18 -0
- package/dist/src/LMSToolpad/index.d.ts +1 -0
- package/dist/src/LMSToolpad/layout/Content/PageContent.d.ts +5 -0
- package/dist/{LMSToolpad/components/toolbar → src/LMSToolpad/layout/Toolbars/AppToolbar}/Account.d.ts +1 -0
- package/dist/src/LMSToolpad/layout/Toolbars/AppToolbar/CollapsibleMenu.d.ts +1 -0
- package/dist/src/LMSToolpad/layout/Toolbars/AppToolbar/RegisteredAppTools.d.ts +11 -0
- package/dist/src/LMSToolpad/layout/Toolbars/AppToolbar/SearchBar.d.ts +6 -0
- package/dist/src/LMSToolpad/layout/Toolbars/PageToolbar/RegisteredPageTools.d.ts +37 -0
- package/dist/src/LMSToolpad/layout/Toolbars/toolbarRegistry.d.ts +117 -0
- package/dist/{LMSToolpad/components → src/LMSToolpad/layout}/sidebar/Footer.d.ts +1 -1
- package/dist/src/LMSToolpad/mocks/browser.d.ts +2 -0
- package/dist/src/LMSToolpad/mocks/handlers.d.ts +2 -0
- package/dist/src/LMSToolpad/mocks/store.d.ts +24 -0
- package/dist/{LMSToolpad → src/LMSToolpad}/network/axiosConfig.d.ts +2 -1
- package/dist/src/LMSToolpad/store/useDialogStore.d.ts +9 -0
- package/dist/src/LMSToolpad/store/usePlatformStore.d.ts +165 -0
- package/dist/src/LMSToolpad/store/useThemeStore.d.ts +184 -0
- package/dist/src/LMSToolpad/store/useToolbarStore.d.ts +8 -0
- package/dist/src/LMSToolpad/theme/EduMLTheme.d.ts +2 -0
- package/dist/{LMSToolpad → src/LMSToolpad}/tools/ErrorBoundary.d.ts +1 -2
- package/dist/src/LMSToolpad/utils/__tests__/courseFilters.test.d.ts +2 -0
- package/dist/src/LMSToolpad/utils/apiPrefix.d.ts +2 -0
- package/dist/src/LMSToolpad/utils/cookieUtils.d.ts +27 -0
- package/dist/src/LMSToolpad/utils/parseDate.d.ts +2 -0
- package/dist/src/common/components/index.d.ts +2 -0
- package/dist/src/common/components/layout/GridLayout/GridItem.d.ts +17 -0
- package/dist/src/common/components/layout/GridLayout/GridItemContext.d.ts +26 -0
- package/dist/src/common/components/layout/GridLayout/ResponsiveGridLayout.d.ts +16 -0
- package/dist/src/common/components/layout/GridLayout/Tools/BreakpointIndicator.d.ts +8 -0
- package/dist/src/common/components/layout/GridLayout/Tools/EditModeToggler.d.ts +7 -0
- package/dist/src/common/components/layout/GridLayout/hooks/useGridLayoutManagement.d.ts +27 -0
- package/dist/src/common/components/layout/GridLayout/index.d.ts +12 -0
- package/dist/src/common/components/layout/GridLayout/layoutStorageUtils.d.ts +52 -0
- package/dist/src/common/components/layout/GridLayout/layoutUtils.d.ts +78 -0
- package/dist/src/common/components/layout/GridLayout/store/usePanelStore.d.ts +27 -0
- package/dist/src/common/components/layout/GridLayout/useGridLayout.d.ts +11 -0
- package/dist/src/common/components/layout/index.d.ts +1 -0
- package/dist/src/common/components/ui/CenteredHeading/CenteredHeading.d.ts +7 -0
- package/dist/src/common/components/ui/CollapsingButtons/CollapsingButtons.d.ts +11 -0
- package/dist/src/common/components/ui/CompoundPanel/CompoundPanel.d.ts +86 -0
- package/dist/src/common/components/ui/Panel/Expandable/Expandable.d.ts +4 -0
- package/dist/src/common/components/ui/Panel/Expandable/context/ExpandableContextProvider.d.ts +10 -0
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useCollapseHandler.d.ts +2 -0
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useExpandable.d.ts +17 -0
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useExpansionAnimation.d.ts +5 -0
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useInitialSetup.d.ts +6 -0
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useResizeHandler.d.ts +1 -0
- package/dist/src/common/components/ui/Panel/Expandable/store/useExpandablePanelStore.d.ts +7 -0
- package/dist/src/common/components/ui/Panel/Main/Context/PanelContextProvider.d.ts +50 -0
- package/dist/src/common/components/ui/Panel/Main/Panel.d.ts +3 -0
- package/dist/src/common/components/ui/Panel/Main/hooks/useDimensionManagement.d.ts +13 -0
- package/dist/src/common/components/ui/Panel/Main/hooks/usePersistentDimensions.d.ts +19 -0
- package/dist/src/common/components/ui/Panel/Main/tools/BlurOverlay.d.ts +6 -0
- package/dist/src/common/components/ui/Panel/Main/tools/ToolsContainer.d.ts +11 -0
- package/dist/src/common/components/ui/Panel/Movable/DraggableItem.d.ts +6 -0
- package/dist/src/common/components/ui/Panel/Movable/MovablePanel.d.ts +9 -0
- package/dist/src/common/components/ui/Panel/Movable/MoveToggler.d.ts +3 -0
- package/dist/src/common/components/ui/Panel/Movable/context/MovableContextProvider.d.ts +10 -0
- package/dist/src/common/components/ui/Panel/Movable/hooks/usePersistentOrder.d.ts +3 -0
- package/dist/src/common/components/ui/Panel/Resizable/Context/ResizableContextProvider.d.ts +27 -0
- package/dist/src/common/components/ui/Panel/Resizable/Hooks/useResizeHandlers.d.ts +26 -0
- package/dist/src/common/components/ui/Panel/Resizable/Hooks/useResponsiveResize.d.ts +14 -0
- package/dist/src/common/components/ui/Panel/Resizable/Resizable.d.ts +3 -0
- package/dist/src/common/components/ui/Panel/Resizable/ResizeHandlers.d.ts +7 -0
- package/dist/src/common/components/ui/Panel/Resizable/ResizeIndicator.d.ts +9 -0
- package/dist/src/common/components/ui/Panel/Scrollable/InternalScrolling.d.ts +11 -0
- package/dist/src/common/components/ui/Panel/Scrollable/PaginationDots.d.ts +13 -0
- package/dist/src/common/components/ui/Panel/Scrollable/Scrollable.d.ts +5 -0
- package/dist/src/common/components/ui/Panel/Scrollable/context/ScrollerContextProvider.d.ts +15 -0
- package/dist/src/common/components/ui/Panel/Scrollable/hooks/useScrollControls.d.ts +28 -0
- package/dist/src/common/components/ui/Panel/TBR/PanelContent.d.ts +24 -0
- package/dist/src/common/components/ui/Panel/TBR/ResizablePanel.d.ts +3 -0
- package/dist/src/common/components/ui/Panel/TBR/ResizeHandlers.d.ts +10 -0
- package/dist/src/common/components/ui/Panel/TBR/ResizeIndicator.d.ts +10 -0
- package/dist/src/common/components/ui/Panel/TBR/useResizablePanel.d.ts +32 -0
- package/dist/src/common/components/ui/Panel/types.d.ts +9 -0
- package/dist/src/common/components/ui/Scroller/PaginationDots.d.ts +13 -0
- package/dist/src/common/components/ui/Scroller/Scroller.d.ts +14 -0
- package/dist/src/common/components/ui/Scroller/context/ScrollerContextProvider.d.ts +15 -0
- package/dist/src/common/components/ui/Scroller/hooks/useScrollControls.d.ts +28 -0
- package/dist/src/common/components/ui/Scroller/types.d.ts +1 -0
- package/dist/src/common/components/ui/SpeedDialButton/SpeedDialButton.d.ts +20 -0
- package/dist/src/common/components/ui/ThemeToggle/ThemeToggle.d.ts +3 -0
- package/dist/src/common/components/ui/index.d.ts +15 -0
- package/dist/src/common/hooks/index.d.ts +1 -0
- package/dist/src/common/hooks/useRetry.d.ts +12 -0
- package/dist/src/common/index.d.ts +2 -0
- package/dist/src/index.d.ts +74 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/setupTests.d.ts +0 -0
- package/dist/src/test/Contact.d.ts +8 -0
- package/dist/src/test/EduTest.d.ts +10 -0
- package/dist/src/test/EduTest2.d.ts +10 -0
- package/dist/src/test/Help.d.ts +8 -0
- package/dist/static/images/admin.png +0 -0
- package/dist/static/images/default-course.webp +0 -0
- package/dist/static/images/guest.png +0 -0
- package/dist/static/images/icons/atom.svg +15 -0
- package/dist/static/images/icons/brain.svg +49 -0
- package/dist/static/images/icons/code.svg +6 -0
- package/dist/static/images/icons/dna.svg +38 -0
- package/dist/static/images/icons/lang.svg +4 -0
- package/dist/static/images/icons/line.svg +2 -0
- package/dist/static/images/icons/weight.svg +53 -0
- package/dist/static/images/student.png +0 -0
- package/dist/static/images/teacher.png +0 -0
- package/package.json +51 -36
- package/dist/LMSToolpad/EduMLProvider.d.ts +0 -21
- package/dist/LMSToolpad/LMSProvider.d.ts +0 -20
- package/dist/LMSToolpad/components/Courses/CourseItem.d.ts +0 -9
- package/dist/LMSToolpad/components/Courses/CourseList.d.ts +0 -9
- package/dist/LMSToolpad/components/Courses/CourseLoader.d.ts +0 -7
- package/dist/LMSToolpad/components/Courses/CourseSelector.d.ts +0 -3
- package/dist/LMSToolpad/components/Courses/CourseTools.d.ts +0 -3
- package/dist/LMSToolpad/components/Courses/NoCoursesMessage.d.ts +0 -3
- package/dist/LMSToolpad/components/EduMLDialog.d.ts +0 -9
- package/dist/LMSToolpad/components/MicroserviceRoutes.d.ts +0 -19
- package/dist/LMSToolpad/components/PageToolBar.d.ts +0 -3
- package/dist/LMSToolpad/components/ToolSelector.d.ts +0 -17
- package/dist/LMSToolpad/components/toolbar/Actions.d.ts +0 -1
- package/dist/LMSToolpad/constants.d.ts +0 -2
- package/dist/LMSToolpad/layout/breadcrumbs/SizableContentHeader.d.ts +0 -7
- package/dist/LMSToolpad/network/users.d.ts +0 -5
- package/dist/LMSToolpad/store/useCourseStore.d.ts +0 -15
- package/dist/LMSToolpad/store/useDialogStore.d.ts +0 -3
- package/dist/LMSToolpad/store/useNavigationStore.d.ts +0 -28
- package/dist/LMSToolpad/store/useNotificationsStore.d.ts +0 -15
- package/dist/LMSToolpad/store/useUserStore.d.ts +0 -26
- package/dist/LMSToolpad/theme/EduMLTheme.d.ts +0 -2
- package/dist/LMSToolpad/types/toolpad.d.ts +0 -26
- package/dist/LMSToolpad/types/vite-env.d.ts +0 -3
- package/dist/vite-env.d.ts +0 -1
- /package/dist/{LMSToolpad → src/LMSToolpad}/components/Courses/LtiLoginUrlForm.d.ts +0 -0
- /package/dist/{LMSToolpad/components → src/LMSToolpad/components/DevTools}/DevelopmentTools.d.ts +0 -0
- /package/dist/{LMSToolpad/components → src/LMSToolpad/components/DevTools}/UserSwitcher.d.ts +0 -0
- /package/dist/{LMSToolpad/components → src/LMSToolpad/components/Notifications}/Notifications.d.ts +0 -0
- /package/dist/{LMSToolpad → src/LMSToolpad}/components/tools/iconsByType.d.ts +0 -0
- /package/dist/{LMSToolpad → src/LMSToolpad}/interfaces.d.ts +0 -0
- /package/dist/{LMSToolpad/components → src/LMSToolpad/layout/Toolbars/AppToolbar}/Logo.d.ts +0 -0
- /package/dist/{LMSToolpad → src/LMSToolpad}/tools/NullStateWarning.d.ts +0 -0
- /package/dist/{LMSToolpad → src/LMSToolpad}/utils/caseConverter.d.ts +0 -0
- /package/dist/{LMSToolpad → src/LMSToolpad}/utils/slugify.d.ts +0 -0
- /package/dist/{LMSToolpad/components → src/common/components/ui/LoadingScreen}/LoadingScreen.d.ts +0 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
export declare const baseUrl = "/";
|
|
3
|
+
export declare const MTETVERSION = "2.1.0";
|
|
4
|
+
export declare const GRID_BREAKPOINTS: {
|
|
5
|
+
lg: number;
|
|
6
|
+
md: number;
|
|
7
|
+
sm: number;
|
|
8
|
+
xs: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const GRID_COLS: {
|
|
11
|
+
lg: number;
|
|
12
|
+
md: number;
|
|
13
|
+
sm: number;
|
|
14
|
+
xs: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const GRID_ROW_HEIGHT = 200;
|
|
17
|
+
export declare const GRID_MARGIN: number[];
|
|
18
|
+
export declare const GRID_CONTAINER_PADDING: number[];
|
|
19
|
+
export type ResizeHandle = "s" | "w" | "e" | "n" | "sw" | "nw" | "se" | "ne";
|
|
20
|
+
export declare const GRID_RESIZE_HANDLES: ResizeHandle[];
|
|
21
|
+
export declare const BREAKPOINT_INFO: {
|
|
22
|
+
lg: {
|
|
23
|
+
description: string;
|
|
24
|
+
color: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
};
|
|
27
|
+
md: {
|
|
28
|
+
description: string;
|
|
29
|
+
color: string;
|
|
30
|
+
icon: string;
|
|
31
|
+
};
|
|
32
|
+
sm: {
|
|
33
|
+
description: string;
|
|
34
|
+
color: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
};
|
|
37
|
+
xs: {
|
|
38
|
+
description: string;
|
|
39
|
+
color: string;
|
|
40
|
+
icon: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export type BreakpointColor = "primary" | "secondary" | "error" | "info" | "success" | "warning" | "default";
|
|
44
|
+
export declare const CONTROL_TYPES: {
|
|
45
|
+
readonly ZOOM: "zoom";
|
|
46
|
+
readonly FIT_VIEW: "fit-view";
|
|
47
|
+
readonly CONTROLS: "controls";
|
|
48
|
+
readonly MINIMAP: "minimap";
|
|
49
|
+
readonly BACKGROUND: "background";
|
|
50
|
+
readonly PANEL: "panel";
|
|
51
|
+
readonly SELECTION: "selection";
|
|
52
|
+
readonly KEYBOARD: "keyboard";
|
|
53
|
+
};
|
|
54
|
+
export declare const CONTROL_IDS: {
|
|
55
|
+
readonly ZOOM_IN: "zoom-in";
|
|
56
|
+
readonly ZOOM_OUT: "zoom-out";
|
|
57
|
+
readonly FIT_VIEW: "fit-view";
|
|
58
|
+
readonly SHOW_MINIMAP: "show-minimap";
|
|
59
|
+
readonly SHOW_BACKGROUND: "show-background";
|
|
60
|
+
readonly SHOW_CONTROLS: "show-controls";
|
|
61
|
+
readonly CENTER_SELECTED: "center-selected";
|
|
62
|
+
};
|
|
63
|
+
export declare const CONTROL_PRIORITIES: {
|
|
64
|
+
readonly HIGH: 1;
|
|
65
|
+
readonly MEDIUM: 2;
|
|
66
|
+
readonly LOW: 3;
|
|
67
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Course } from '../components/Courses/store/useCourseStore';
|
|
2
|
+
/**
|
|
3
|
+
* Adds a course to the visited courses list and updates user preferences
|
|
4
|
+
* @param {Course} course - The course to add to visited courses
|
|
5
|
+
* @returns {Promise<void>}
|
|
6
|
+
*/
|
|
7
|
+
export declare const addVisitedCourse: (course: Course) => Promise<void>;
|
|
8
|
+
/**
|
|
9
|
+
* Gets the current list of visited course IDs from user preferences
|
|
10
|
+
* @returns {string[]} Array of course IDs in "code:instance" format
|
|
11
|
+
*/
|
|
12
|
+
export declare const getVisitedCourses: () => string[];
|
|
13
|
+
/**
|
|
14
|
+
* Subscribes to visited courses updates
|
|
15
|
+
* @param {Function} callback - Function to call when visited courses list changes
|
|
16
|
+
* @returns {Function} Unsubscribe function
|
|
17
|
+
*/
|
|
18
|
+
export declare const onVisitedCoursesUpdate: (callback: (courseIds: string[]) => void) => () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/** @format */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CollapsibleMenu: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
/**
|
|
3
|
+
* A component that renders app toolbar actions registered under a fixed "global" key
|
|
4
|
+
* or using location.pathname for route-specific app actions.
|
|
5
|
+
*
|
|
6
|
+
* @version 1.1.0
|
|
7
|
+
* @updates
|
|
8
|
+
* - Added support for passing props to toolbar components
|
|
9
|
+
*/
|
|
10
|
+
declare const RegisteredAppTools: () => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export default RegisteredAppTools;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
/**
|
|
3
|
+
* PageToolbar Component
|
|
4
|
+
*
|
|
5
|
+
* @version 3.1.0
|
|
6
|
+
*
|
|
7
|
+
* A dynamic toolbar component that renders actions based on the current route.
|
|
8
|
+
* Automatically updates when actions are registered or unregistered.
|
|
9
|
+
*
|
|
10
|
+
* Features:
|
|
11
|
+
* - Route-based action rendering
|
|
12
|
+
* - Dynamic action registration/unregistration
|
|
13
|
+
* - Automatic re-rendering on changes
|
|
14
|
+
* - Support for custom toolbar overrides
|
|
15
|
+
* - Support for passing props to toolbar components
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* // In your app layout
|
|
20
|
+
* <AppLayout>
|
|
21
|
+
* <PageToolbar />
|
|
22
|
+
* {children}
|
|
23
|
+
* </AppLayout>
|
|
24
|
+
*
|
|
25
|
+
* // Register actions in your components
|
|
26
|
+
* useEffect(() => {
|
|
27
|
+
* registerToolbarAction('/my-route', MyAction);
|
|
28
|
+
* return () => unregisterToolbarAction('/my-route', MyAction);
|
|
29
|
+
* }, []);
|
|
30
|
+
*
|
|
31
|
+
* // Register with props
|
|
32
|
+
* registerPageToolbarAction('/my-route', MyAction, { data: 'some-data' });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare const RegisteredPageTools: () => import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
+
export declare const HeaderWithPageRegistryToolbar: () => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export default RegisteredPageTools;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Toolbar Registry System
|
|
4
|
+
*
|
|
5
|
+
* @version 3.1.0
|
|
6
|
+
*
|
|
7
|
+
* A flexible system for registering and managing toolbar actions based on routes.
|
|
8
|
+
* Supports dynamic registration, unregistration, and automatic re-rendering.
|
|
9
|
+
* Now with support for passing props to registered components.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* // Register a toolbar action
|
|
14
|
+
* registerToolbarAction('/my-route', MyActionComponent);
|
|
15
|
+
*
|
|
16
|
+
* // Register with props
|
|
17
|
+
* registerToolbarAction('/my-route', MyActionComponent, { some: 'props' });
|
|
18
|
+
*
|
|
19
|
+
* // Clean up when component unmounts
|
|
20
|
+
* useEffect(() => {
|
|
21
|
+
* registerToolbarAction('/my-route', MyActionComponent);
|
|
22
|
+
* return () => unregisterToolbarAction('/my-route', MyActionComponent);
|
|
23
|
+
* }, []);
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Toolbar entry containing both the component and optional props
|
|
28
|
+
*/
|
|
29
|
+
export interface ToolbarEntry {
|
|
30
|
+
Component: ComponentType<any>;
|
|
31
|
+
props?: Record<string, any>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Register a new page toolbar action for a specific route.
|
|
35
|
+
*
|
|
36
|
+
* @param path - The route path where this action should appear.
|
|
37
|
+
* @param Component - The React component to render in the page toolbar.
|
|
38
|
+
* @param props - Optional props to pass to the component.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* registerPageToolbarAction('/my-route', MyPageAction);
|
|
42
|
+
* registerPageToolbarAction('/my-route', MyPageAction, { color: 'primary' });
|
|
43
|
+
*/
|
|
44
|
+
export declare function registerPageToolbarAction(path: string, Component: ComponentType<any>, props?: Record<string, any>): void;
|
|
45
|
+
/**
|
|
46
|
+
* Unregister a page toolbar action from a specific route.
|
|
47
|
+
*
|
|
48
|
+
* @param path - The route path to remove the action from.
|
|
49
|
+
* @param Component - The React component to remove.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* unregisterPageToolbarAction('/my-route', MyPageAction);
|
|
53
|
+
*/
|
|
54
|
+
export declare function unregisterPageToolbarAction(path: string, Component: ComponentType<any>): void;
|
|
55
|
+
/**
|
|
56
|
+
* Get all registered page toolbar actions for a specific route.
|
|
57
|
+
*
|
|
58
|
+
* @param path - The route path to get the actions for.
|
|
59
|
+
* @returns An array of registered page toolbar action entries.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* const actions = getPageToolbarActions('/my-route');
|
|
63
|
+
*/
|
|
64
|
+
export declare function getPageToolbarActions(path: string): ToolbarEntry[];
|
|
65
|
+
/**
|
|
66
|
+
* Clear all registered page toolbar actions for a specific route.
|
|
67
|
+
*
|
|
68
|
+
* @param path - The route path to clear the actions for.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* clearPageToolbarActions('/my-route');
|
|
72
|
+
*/
|
|
73
|
+
export declare function clearPageToolbarActions(path: string): void;
|
|
74
|
+
/**
|
|
75
|
+
* Register a new app toolbar action for a specific route or global key.
|
|
76
|
+
*
|
|
77
|
+
* @param path - The key or route where this action should appear.
|
|
78
|
+
* @param Component - The React component to render in the app toolbar.
|
|
79
|
+
* @param props - Optional props to pass to the component.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* registerAppToolbarAction('global', MyAppAction);
|
|
83
|
+
* registerAppToolbarAction('global', MyAppAction, { variant: 'outlined' });
|
|
84
|
+
*/
|
|
85
|
+
export declare function registerAppToolbarAction(path: string, Component: ComponentType<any>, props?: Record<string, any>): void;
|
|
86
|
+
/**
|
|
87
|
+
* Unregister an app toolbar action from a specific route or global key.
|
|
88
|
+
*
|
|
89
|
+
* @param path - The key or route to remove the action from.
|
|
90
|
+
* @param Component - The React component to remove.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* unregisterAppToolbarAction('global', MyAppAction);
|
|
94
|
+
*/
|
|
95
|
+
export declare function unregisterAppToolbarAction(path: string, Component: ComponentType<any>): void;
|
|
96
|
+
/**
|
|
97
|
+
* Get all registered app toolbar actions for a specific route or global key.
|
|
98
|
+
*
|
|
99
|
+
* @param path - The key or route to get the actions for.
|
|
100
|
+
* @returns An array of registered app toolbar action entries.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* const actions = getAppToolbarActions('global');
|
|
104
|
+
*/
|
|
105
|
+
export declare function getAppToolbarActions(path: string): ToolbarEntry[];
|
|
106
|
+
/**
|
|
107
|
+
* Clear all registered app toolbar actions for a specific route or global key.
|
|
108
|
+
*
|
|
109
|
+
* @param path - The key or route to clear the actions for.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* clearAppToolbarActions('global');
|
|
113
|
+
*/
|
|
114
|
+
export declare function clearAppToolbarActions(path: string): void;
|
|
115
|
+
export declare const useToolbarRegistryStore: () => {
|
|
116
|
+
version: number;
|
|
117
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CourseBackendData, CourseEnrollmentBackendData } from '../components/Courses/mocks/types';
|
|
2
|
+
import { UserBackendData } from '../components/Users/mocks/types';
|
|
3
|
+
interface DataStore {
|
|
4
|
+
users: UserBackendData[];
|
|
5
|
+
courses: CourseBackendData[];
|
|
6
|
+
enrollmentsByCourse: {
|
|
7
|
+
[key: string]: CourseEnrollmentBackendData[];
|
|
8
|
+
};
|
|
9
|
+
lastCourseId: number;
|
|
10
|
+
lastUserId: number;
|
|
11
|
+
}
|
|
12
|
+
interface MockDataConfig {
|
|
13
|
+
teacherCount: number;
|
|
14
|
+
studentCount: number;
|
|
15
|
+
adminCount: number;
|
|
16
|
+
coursesPerYear: number;
|
|
17
|
+
startYear: number;
|
|
18
|
+
numberOfYears: number;
|
|
19
|
+
}
|
|
20
|
+
export declare let dataStore: DataStore;
|
|
21
|
+
export declare const savedDataStore: string | null;
|
|
22
|
+
export declare function saveDataStore(dataStore: DataStore): void;
|
|
23
|
+
export declare function resetDataStore(config?: MockDataConfig): Promise<void>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
export type dialogType = string | null;
|
|
3
|
+
type DialogState = {
|
|
4
|
+
openDialog: dialogType;
|
|
5
|
+
setOpenDialog: (dialog: dialogType | null) => void;
|
|
6
|
+
closeDialog: () => void;
|
|
7
|
+
};
|
|
8
|
+
declare const useDialogStore: import('zustand/traditional').UseBoundStoreWithEqualityFn<import('zustand').StoreApi<DialogState>>;
|
|
9
|
+
export default useDialogStore;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { Layouts } from 'react-grid-layout';
|
|
2
|
+
export interface AuthSettings {
|
|
3
|
+
allowedAuthMethods: ("local" | "google" | "microsoft" | "shibboleth")[];
|
|
4
|
+
minimumPasswordLength: number;
|
|
5
|
+
requireEmailVerification: boolean;
|
|
6
|
+
allowSelfRegistration: boolean;
|
|
7
|
+
defaultUserRole: PlatformRole;
|
|
8
|
+
}
|
|
9
|
+
export type PlatformRole = "admin" | "developer" | "moderator" | "creator" | "user" | "guest";
|
|
10
|
+
export type visibilityMode = "public" | "enrolled" | "private";
|
|
11
|
+
export interface CourseSettings {
|
|
12
|
+
courseCreation: {
|
|
13
|
+
requiredRoles: PlatformRole[];
|
|
14
|
+
requireApproval: boolean;
|
|
15
|
+
};
|
|
16
|
+
defaultCourseVisibility: visibilityMode;
|
|
17
|
+
defaultEnrollmentDuration: number;
|
|
18
|
+
courseCategories: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface AISettings {
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
providers: {
|
|
23
|
+
openai: {
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
apiKey?: string;
|
|
26
|
+
modelName: string;
|
|
27
|
+
maxTokens: number;
|
|
28
|
+
temperature: number;
|
|
29
|
+
};
|
|
30
|
+
anthropic: {
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
apiKey?: string;
|
|
33
|
+
modelName: string;
|
|
34
|
+
};
|
|
35
|
+
local: {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
endpoint: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
features: {
|
|
41
|
+
autoGrading: boolean;
|
|
42
|
+
plagiarismDetection: boolean;
|
|
43
|
+
contentGeneration: boolean;
|
|
44
|
+
studentAssistant: boolean;
|
|
45
|
+
teacherAssistant: boolean;
|
|
46
|
+
};
|
|
47
|
+
moderationSettings: {
|
|
48
|
+
enabled: boolean;
|
|
49
|
+
filterProfanity: boolean;
|
|
50
|
+
filterSensitiveContent: boolean;
|
|
51
|
+
maxQueriesPerHour: number;
|
|
52
|
+
};
|
|
53
|
+
agentConfigurations: {
|
|
54
|
+
agent: "openai" | "anthropic" | "local" | string;
|
|
55
|
+
assigned: string[];
|
|
56
|
+
apiKey?: string;
|
|
57
|
+
modelName?: string;
|
|
58
|
+
apiUrl?: string;
|
|
59
|
+
}[];
|
|
60
|
+
}
|
|
61
|
+
export interface NotificationSettings {
|
|
62
|
+
emailNotifications: boolean;
|
|
63
|
+
pushNotifications: boolean;
|
|
64
|
+
smtpSettings?: {
|
|
65
|
+
host: string;
|
|
66
|
+
port: number;
|
|
67
|
+
secure: boolean;
|
|
68
|
+
auth: {
|
|
69
|
+
user: string;
|
|
70
|
+
pass: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export interface Platform {
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
contactEmail: string;
|
|
78
|
+
supportUrl: string;
|
|
79
|
+
darkMode: {
|
|
80
|
+
enabled: boolean;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
auth: AuthSettings;
|
|
84
|
+
courses: CourseSettings;
|
|
85
|
+
ai: AISettings;
|
|
86
|
+
notifications: NotificationSettings;
|
|
87
|
+
analytics: {
|
|
88
|
+
enabled: boolean;
|
|
89
|
+
provider?: string;
|
|
90
|
+
trackingId?: string;
|
|
91
|
+
};
|
|
92
|
+
maintenance: {
|
|
93
|
+
enabled: boolean;
|
|
94
|
+
message: string;
|
|
95
|
+
};
|
|
96
|
+
storage: {
|
|
97
|
+
maxFileSize: number;
|
|
98
|
+
allowedFileTypes: string[];
|
|
99
|
+
totalStorageLimit: number;
|
|
100
|
+
};
|
|
101
|
+
features: {
|
|
102
|
+
forums: boolean;
|
|
103
|
+
wiki: boolean;
|
|
104
|
+
chat: boolean;
|
|
105
|
+
videoConference: boolean;
|
|
106
|
+
peerReview: boolean;
|
|
107
|
+
gamification: boolean;
|
|
108
|
+
};
|
|
109
|
+
admins: {
|
|
110
|
+
emails: string[];
|
|
111
|
+
invitePending: string[];
|
|
112
|
+
};
|
|
113
|
+
privacy: {
|
|
114
|
+
gdprEnabled: boolean;
|
|
115
|
+
dataRetentionPeriod: number;
|
|
116
|
+
defaultPrivacySettings: {
|
|
117
|
+
allowAnalytics: boolean;
|
|
118
|
+
allowPersonalization: boolean;
|
|
119
|
+
allowCommunications: boolean;
|
|
120
|
+
allowThirdPartySharing: boolean;
|
|
121
|
+
};
|
|
122
|
+
privacyPolicy: {
|
|
123
|
+
url: string;
|
|
124
|
+
lastUpdated: string;
|
|
125
|
+
version: string;
|
|
126
|
+
};
|
|
127
|
+
cookieSettings: {
|
|
128
|
+
necessary: boolean;
|
|
129
|
+
functional: boolean;
|
|
130
|
+
analytics: boolean;
|
|
131
|
+
advertising: boolean;
|
|
132
|
+
expiryDays: number;
|
|
133
|
+
};
|
|
134
|
+
dataProcessingAgreements: {
|
|
135
|
+
thirdParties: {
|
|
136
|
+
name: string;
|
|
137
|
+
purpose: string;
|
|
138
|
+
dataShared: string[];
|
|
139
|
+
location: string;
|
|
140
|
+
}[];
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
interface: {
|
|
144
|
+
layout: Layouts;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
interface PlatformSettingsStore {
|
|
148
|
+
platform: Platform;
|
|
149
|
+
platformToUpdate: Platform | null;
|
|
150
|
+
updatePlatform: (newPlatform: Platform) => void;
|
|
151
|
+
updateAISettings: (newAISettings: Partial<AISettings>) => void;
|
|
152
|
+
resetToDefaults: () => void;
|
|
153
|
+
}
|
|
154
|
+
export declare const usePlatformStore: import('zustand/traditional').UseBoundStoreWithEqualityFn<Omit<import('zustand').StoreApi<PlatformSettingsStore>, "persist"> & {
|
|
155
|
+
persist: {
|
|
156
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<PlatformSettingsStore, PlatformSettingsStore>>) => void;
|
|
157
|
+
clearStorage: () => void;
|
|
158
|
+
rehydrate: () => Promise<void> | void;
|
|
159
|
+
hasHydrated: () => boolean;
|
|
160
|
+
onHydrate: (fn: (state: PlatformSettingsStore) => void) => () => void;
|
|
161
|
+
onFinishHydration: (fn: (state: PlatformSettingsStore) => void) => () => void;
|
|
162
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<PlatformSettingsStore, PlatformSettingsStore>>;
|
|
163
|
+
};
|
|
164
|
+
}>;
|
|
165
|
+
export {};
|