mui-toolpad-extended-tuni 2.1.0 → 3.0.1
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 +167 -27
- package/dist/index.cjs +193 -149
- package/dist/index.d.ts +2 -49
- package/dist/index.es.js +66408 -19299
- 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/ToolpadProvider.d.ts +35 -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/CourseEventPublisher.d.ts +8 -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/{LMSToolpad → src/LMSToolpad}/components/Courses/CourseTools.d.ts +2 -3
- 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/{LMSToolpad/components → src/LMSToolpad/components/Courses/components/ToolDisplayer}/ToolCard.d.ts +1 -1
- package/dist/{LMSToolpad/components → src/LMSToolpad/components/Courses/components/ToolDisplayer}/ToolDisplayer.d.ts +1 -11
- 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/{LMSToolpad → src/LMSToolpad/components/Courses}/utils/courseFilters.d.ts +8 -1
- 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/{LMSToolpad/components → src/LMSToolpad/components/Microservices}/MicroserviceNavigationBuilder.d.ts +3 -3
- 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/src/LMSToolpad/components/Routes/Home/Home.d.ts +2 -0
- 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 +2 -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 +0 -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 +1 -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/LMSToolpad/utils/slugify.d.ts +1 -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/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 +75 -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 +54 -38
- package/dist/LMSToolpad/EduMLProvider.d.ts +0 -21
- package/dist/LMSToolpad/LMSProvider.d.ts +0 -26
- package/dist/LMSToolpad/components/Courses/CourseItem.d.ts +0 -25
- package/dist/LMSToolpad/components/Courses/CourseList.d.ts +0 -24
- package/dist/LMSToolpad/components/Courses/CourseSelector.d.ts +0 -23
- package/dist/LMSToolpad/components/Courses/LayoutToggle.d.ts +0 -7
- package/dist/LMSToolpad/components/Courses/NoCoursesMessage.d.ts +0 -3
- package/dist/LMSToolpad/components/EduMLDialog.d.ts +0 -9
- package/dist/LMSToolpad/components/Home.d.ts +0 -13
- package/dist/LMSToolpad/components/MicroserviceRoutes.d.ts +0 -44
- 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 -3
- 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 -31
- package/dist/LMSToolpad/store/useDialogStore.d.ts +0 -3
- package/dist/LMSToolpad/store/useNavigationStore.d.ts +0 -42
- 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/CourseCodeLoader.d.ts +0 -0
- /package/dist/{LMSToolpad → src/LMSToolpad}/components/Courses/CourseInstanceLoader.d.ts +0 -0
- /package/dist/{LMSToolpad → src/LMSToolpad}/components/Courses/CourseInstanceSelector.d.ts +0 -0
- /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/components → src/common/components/ui/CenteredHeading}/CenteredHeading.d.ts +0 -0
- /package/dist/{LMSToolpad/components → src/common/components/ui/LoadingScreen}/LoadingScreen.d.ts +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
export { default as ToolpadProvider } from './LMSToolpad/ToolpadProvider';
|
|
3
|
+
export { BrowserRouter, HashRouter, MemoryRouter, Routes, Route, useNavigate, useLocation, useParams, Navigate, Link, Outlet, } from 'react-router-dom';
|
|
4
|
+
export * from './LMSToolpad/interfaces';
|
|
5
|
+
/**
|
|
6
|
+
* **STORES**
|
|
7
|
+
*/
|
|
8
|
+
export { default as useDialogStore } from './LMSToolpad/store/useDialogStore';
|
|
9
|
+
export { userBus, UserBus, useCurrentUser, useUserPreferences, useUserActions, } from './LMSToolpad/components/Events';
|
|
10
|
+
export type { UserData, UserEvent, UserEventType, UserPreferences, PlatformRole, UserBusStoreConfig, navigationTypes, gender, userId, } from './LMSToolpad/components/Events';
|
|
11
|
+
export { registerMicroservice, unregisterMicroservice, registerRouteProvider, unregisterRouteProvider, getMicroservice, getAllMicroservices, getMicroserviceIds, isMicroserviceRegistered, useMicroserviceRegistryStore, } from './LMSToolpad/components/Navigation/NavigationRegistry';
|
|
12
|
+
export type { MicroserviceEntry, RouteProvider, } from './LMSToolpad/components/Navigation/NavigationRegistry';
|
|
13
|
+
export { useMicroserviceRoutes } from './LMSToolpad/components/Navigation/hooks/useMicroserviceRoutes';
|
|
14
|
+
export { useMicroserviceNavigation } from './LMSToolpad/components/Navigation/hooks/useMicroserviceNavigation';
|
|
15
|
+
export { useNavigationSectionManager } from './LMSToolpad/components/Navigation/hooks/useNavigationSectionManager';
|
|
16
|
+
export { useSyncNavigationFilters } from './LMSToolpad/components/Navigation/hooks/useSyncNavigationFilters';
|
|
17
|
+
export { useNavigationStore, filterNavigationByRole, } from './LMSToolpad/components/Navigation/store/useNavigationStore';
|
|
18
|
+
export type { NavigationStoreItem, NavigationPageStoreItem, NavigationHeaderItem, NavigationDividerItem, NavigationSection, ViewStore, ToolMetadata, addSectionProps, } from './LMSToolpad/components/Navigation/store/types';
|
|
19
|
+
export { useNavigationFilterStore } from './LMSToolpad/components/Navigation/store/useNavigationFilterStore';
|
|
20
|
+
export type { NavigationFilterState } from './LMSToolpad/components/Navigation/store/useNavigationFilterStore';
|
|
21
|
+
export { NavigationSectionBuilder } from './LMSToolpad/components/Navigation/NavigationBuilder';
|
|
22
|
+
export { NavigationFilter } from './LMSToolpad/components/Navigation/NavigationFilter';
|
|
23
|
+
export { default as Notifications } from './LMSToolpad/components/Notifications/Notifications';
|
|
24
|
+
export { useNotificationStore } from './LMSToolpad/components/Notifications/store/useNotificationsStore';
|
|
25
|
+
/**
|
|
26
|
+
* **COMPONENTS**
|
|
27
|
+
*/
|
|
28
|
+
export { default as Home } from './LMSToolpad/components/Routes/Home/Home';
|
|
29
|
+
export { default as Microservices } from './LMSToolpad/components/Microservices/Microservices';
|
|
30
|
+
export * from './common/components';
|
|
31
|
+
export { default as Scroller } from './common/components/ui/Scroller/Scroller';
|
|
32
|
+
export { SpeedDialButton } from './common/components/ui/SpeedDialButton/SpeedDialButton';
|
|
33
|
+
export { useGridItemContext } from './common/components/layout/GridLayout/GridItemContext';
|
|
34
|
+
export { createGridItem } from './common/components/layout/GridLayout/layoutUtils';
|
|
35
|
+
export { default as DialogOpener } from './LMSToolpad/components/Dialogs/DialogOpener';
|
|
36
|
+
export { default as FormDialog } from './LMSToolpad/components/Dialogs/FormDialog';
|
|
37
|
+
export { default as ExtendedDialog } from './LMSToolpad/components/Dialogs/ExtendedDialog';
|
|
38
|
+
export { default as Dialogs } from './LMSToolpad/components/Dialogs/Dialogs';
|
|
39
|
+
export { registerDialog, getDialog } from './LMSToolpad/components/Dialogs/dialogRegistry';
|
|
40
|
+
export { default as IconWithBadge } from './LMSToolpad/components/IconWithBadge';
|
|
41
|
+
export { default as EditableText } from './LMSToolpad/Forms/Components/Editables/EditableText';
|
|
42
|
+
export { default as EditableSwitch } from './LMSToolpad/Forms/Components/Editables/EditableSwitch';
|
|
43
|
+
export { default as EditableNumber } from './LMSToolpad/Forms/Components/Editables/EditableNumber';
|
|
44
|
+
export { default as EditableImage } from './LMSToolpad/Forms/Components/Editables/EditableImage';
|
|
45
|
+
export { default as EditableSelect } from './LMSToolpad/Forms/Components/Editables/EditableSelect';
|
|
46
|
+
export { default as EditableAutocomplete } from './LMSToolpad/Forms/Components/Editables/EditableAutoComplete';
|
|
47
|
+
export { default as EditableColor } from './LMSToolpad/Forms/Components/Editables/EditableColor';
|
|
48
|
+
/**
|
|
49
|
+
* **TOOLS**
|
|
50
|
+
*/
|
|
51
|
+
export { default as ErrorBoundary } from './LMSToolpad/tools/ErrorBoundary';
|
|
52
|
+
export { default as NullStateWarning } from './LMSToolpad/tools/NullStateWarning';
|
|
53
|
+
export { convertObjectKeysToCamelCase, convertObjectKeysToUnderscore, } from './LMSToolpad/utils/caseConverter';
|
|
54
|
+
export { parseDate } from './LMSToolpad/utils/parseDate';
|
|
55
|
+
export { slugify } from './LMSToolpad/utils/slugify';
|
|
56
|
+
export { getApiPrefix } from './LMSToolpad/utils/apiPrefix';
|
|
57
|
+
export { getCookie, setCookie, deleteCookie } from './LMSToolpad/utils/cookieUtils';
|
|
58
|
+
export type { MicroserviceConfig } from './LMSToolpad/components/Microservices/types';
|
|
59
|
+
export { buildMicroServiceNavigation } from './LMSToolpad/components/Microservices/MicroserviceNavigationBuilder';
|
|
60
|
+
export type { BuildMicroServiceNavigationProps } from './LMSToolpad/components/Microservices/MicroserviceNavigationBuilder';
|
|
61
|
+
export { default as MicroserviceSubsections } from './LMSToolpad/components/Microservices/MicroserviceSubsections';
|
|
62
|
+
/**
|
|
63
|
+
* **NETWORK**
|
|
64
|
+
*/
|
|
65
|
+
export { default as axios } from './LMSToolpad/network/axiosConfig';
|
|
66
|
+
/**
|
|
67
|
+
* **CONSTANTS**
|
|
68
|
+
*/
|
|
69
|
+
export { baseUrl } from './LMSToolpad/constants';
|
|
70
|
+
export { dataStore, saveDataStore } from './LMSToolpad/mocks/store';
|
|
71
|
+
export * from './LMSToolpad/interfaces';
|
|
72
|
+
export { EventBus, eventBus } from './LMSToolpad/components/Events/EventBus';
|
|
73
|
+
export type { Event, EventSource } from './LMSToolpad/components/Events/types';
|
|
74
|
+
export type { Event as EventType } from './LMSToolpad/components/Events/types';
|
|
75
|
+
export { useRetry } from './common/hooks/useRetry';
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contact App-Level Microservice
|
|
3
|
+
*
|
|
4
|
+
* This is an app-level microservice that provides contact information.
|
|
5
|
+
* Registers itself with the NavigationRegistry for routing and navigation.
|
|
6
|
+
*/
|
|
7
|
+
declare const Contact: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Contact;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EduTest Course Microservice
|
|
3
|
+
*
|
|
4
|
+
* This is an example course microservice that demonstrates how to create
|
|
5
|
+
* a self-contained tool that integrates with the Course system.
|
|
6
|
+
*
|
|
7
|
+
* Registers through CourseMicroservice context (must be a child of CourseMicroservice).
|
|
8
|
+
*/
|
|
9
|
+
declare const EduTest: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default EduTest;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
/**
|
|
3
|
+
* EduTest2 Course Microservice
|
|
4
|
+
*
|
|
5
|
+
* This is another example course microservice demonstrating the registration pattern.
|
|
6
|
+
*
|
|
7
|
+
* Registers through CourseMicroservice context (must be a child of CourseMicroservice).
|
|
8
|
+
*/
|
|
9
|
+
declare const EduTest2: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default EduTest2;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Help App-Level Microservice
|
|
3
|
+
*
|
|
4
|
+
* This is an app-level microservice that provides help and documentation.
|
|
5
|
+
* Registers itself with the NavigationRegistry for routing and navigation.
|
|
6
|
+
*/
|
|
7
|
+
declare const Help: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Help;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
<svg fill="#000000" width="800px" height="800px" viewBox="0 -0.19 3.35 3.35" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" version="1.1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<![CDATA[
|
|
8
|
+
.fil0 {fill:black;fill-rule:nonzero}
|
|
9
|
+
]]>
|
|
10
|
+
</style>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
|
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
5
|
+
<svg height="800px" width="800px" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
6
|
+
viewBox="0 0 512 512" xml:space="preserve">
|
|
7
|
+
<style type="text/css">
|
|
8
|
+
.st0{fill:#000000;}
|
|
9
|
+
</style>
|
|
10
|
+
<g>
|
|
11
|
+
<path class="st0" d="M502.198,263.697C492.386,148.068,375.395,65.876,259.027,65.876c-153.162,0-143.009,50.139-160.082,51.56
|
|
12
|
+
C57.128,120.813,0,169.687,0,226.746c0,57.148,23.702,112.864,92.638,112.864c-4.196,23.673,4.165,62.024,78.62,62.024
|
|
13
|
+
c35.664,0,85.852,0,103.149,0c0,56.369,85.034,43.14,114.898,43.14c29.941,0,34.818-32.062,29.358-40.385
|
|
14
|
+
C511.99,403.679,525.092,306.224,502.198,263.697z M367.112,114.661h26.447c5.684,0,10.308,4.634,10.308,10.366
|
|
15
|
+
c0,5.86-4.624,10.523-10.308,10.523h-26.447c-5.86,0-10.502-4.663-10.502-10.523C356.61,119.295,361.252,114.661,367.112,114.661z
|
|
16
|
+
M290.477,150.881c1.859,0,3.562,0,5.149,0c5.509,0,6.94-0.915,6.94-0.915c0.516-1.003,0.516-4.867,0.516-7.31v-30.505
|
|
17
|
+
c0-5.704,4.555-10.416,10.366-10.416c5.694,0,10.386,4.712,10.386,10.416v30.34c0.107,2.608,0.107,5.509-0.302,8.39h34.478
|
|
18
|
+
c1.06,0,2.21-0.049,3.591-0.049c8.372-0.35,21.045-0.72,30.37,8.225c6.054,5.85,9.228,14.61,9.228,25.94v36.697
|
|
19
|
+
c0,3.446-0.126,10.629,1.781,12.605c0.886,0.827,2.998,0.886,3.758,0.886h53.741c5.646,0,10.278,4.75,10.278,10.464
|
|
20
|
+
c0,5.85-4.633,10.503-10.278,10.503h-53.741c-9.559,0-15.418-3.854-18.572-7.106c-8.089-8.225-8.06-20.334-7.836-27.527v-1.557
|
|
21
|
+
v-34.965c0-5.275-1.052-9.208-2.863-10.979c-2.852-2.755-9.655-2.521-15.164-2.278c-1.568,0-2.969,0.116-4.293,0.116h-68.4
|
|
22
|
+
c0,0-0.108-0.116-0.331-0.116c-8.673,0-21.044,0-24.355,3.26c-0.204,0.243-0.983,0.857-0.983,3.494v56.962
|
|
23
|
+
c0,5.812-4.74,10.513-10.415,10.513c-5.763,0-10.445-4.701-10.445-10.513v-56.962c0-9.276,3.972-15.088,7.144-18.299
|
|
24
|
+
C259.942,150.657,276.276,150.706,290.477,150.881z M199.174,92.303c0-5.752,4.682-10.473,10.347-10.473
|
|
25
|
+
c5.841,0,10.502,4.72,10.502,10.473v11.505h17.512c5.665,0,10.347,4.76,10.347,10.435c0,5.811-4.682,10.503-10.347,10.503h-17.512
|
|
26
|
+
v14.942c0,5.693-4.662,10.473-10.502,10.473c-5.665,0-10.347-4.78-10.347-10.473V92.303z M96.482,144.584h43.336
|
|
27
|
+
c9.976-0.088,22.484-0.176,31.741,9.11c7.136,7.018,10.581,17.658,10.581,32.686v11.058h16.363c5.772,0,10.376,4.779,10.376,10.551
|
|
28
|
+
c0,5.752-4.604,10.454-10.376,10.454H182.14v8.664c0,5.762-4.73,10.493-10.396,10.493c-5.879,0-10.532-4.73-10.532-10.493V186.38
|
|
29
|
+
c0-8.858-1.548-15.029-4.36-17.774c-3.164-3.338-9.9-3.338-16.986-3.086H96.482c-5.918,0-10.454-4.72-10.454-10.522
|
|
30
|
+
C86.028,149.323,90.564,144.584,96.482,144.584z M87.77,236.909v19.059c0,5.811-4.604,10.464-10.542,10.464
|
|
31
|
+
c-5.714,0-10.318-4.653-10.318-10.464v-19.059H40.366c-5.781,0-10.502-4.722-10.502-10.474c0-5.772,4.722-10.503,10.502-10.503
|
|
32
|
+
h73.228c5.627,0,10.425,4.73,10.425,10.503c0,5.752-4.798,10.474-10.425,10.474H87.77z M141.16,305.679
|
|
33
|
+
c-5.996,5.869-8.848,14.455-8.848,26.291c0,5.664-4.75,10.464-10.454,10.464c-5.84,0-10.425-4.799-10.425-10.464
|
|
34
|
+
c0-17.424,5.071-31.275,15.039-41.107c17.774-17.54,45.748-17.092,62.384-16.839c1.81,0,3.309,0,4.78,0h84.315
|
|
35
|
+
c13.199,0,22.806-2.89,28.238-8.672c8.897-9.384,8.176-25.96,7.533-39.432c-0.135-3.232-0.272-6.268-0.272-8.916
|
|
36
|
+
c0-5.821,4.604-10.454,10.298-10.454c5.899,0,10.562,4.633,10.562,10.454c0,2.326,0.136,5.1,0.272,8.05
|
|
37
|
+
c0.77,15.448,1.81,38.828-13.101,54.616c-9.705,10.162-24.296,15.262-43.53,15.262h-84.315c-1.548,0-3.28,0-5.11,0
|
|
38
|
+
C174.275,294.737,152.646,294.406,141.16,305.679z M249.303,350.687v20.869c0,5.851-4.662,10.445-10.434,10.445
|
|
39
|
+
c-5.753,0-10.396-4.594-10.396-10.445v-20.869h-40.464c-5.694,0-10.483-4.673-10.483-10.464c0-5.674,4.788-10.445,10.483-10.445
|
|
40
|
+
h132.322c5.831,0,10.415,4.77,10.415,10.445c0,5.791-4.584,10.464-10.415,10.464H249.303z M390.025,402.247h-61.984
|
|
41
|
+
c-5.763,0-10.445-4.643-10.445-10.385c0-5.812,4.682-10.474,10.445-10.474h36.21V361.94c0-5.918,4.662-10.474,10.444-10.474
|
|
42
|
+
c5.821,0,10.415,4.556,10.415,10.474v19.448h4.916c5.723,0,10.425,4.662,10.425,10.474
|
|
43
|
+
C400.45,397.604,395.748,402.247,390.025,402.247z M417.105,329.779v-17.064h-48.348c-5.744,0-10.454-4.584-10.454-10.366
|
|
44
|
+
c0-5.772,4.71-10.503,10.454-10.503h73.052c5.889,0,10.551,4.731,10.551,10.503c0,5.782-4.662,10.366-10.551,10.366h-3.757v17.064
|
|
45
|
+
c0,5.89-4.692,10.445-10.445,10.445C421.845,340.224,417.105,335.669,417.105,329.779z M470.758,377.806h-26.427
|
|
46
|
+
c-5.831,0-10.494-4.555-10.494-10.366s4.663-10.406,10.494-10.406h26.427c5.86,0,10.571,4.595,10.571,10.406
|
|
47
|
+
S476.618,377.806,470.758,377.806z"/>
|
|
48
|
+
</g>
|
|
49
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000"/>
|
|
4
|
+
<path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000"/>
|
|
5
|
+
<path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
|
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
5
|
+
<svg height="800px" width="800px" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
6
|
+
viewBox="0 0 512 512" xml:space="preserve">
|
|
7
|
+
<style type="text/css">
|
|
8
|
+
.st0{fill:#000000;}
|
|
9
|
+
</style>
|
|
10
|
+
<g>
|
|
11
|
+
<path class="st0" d="M431.614,477.49c-0.558-5.762-1.359-11.36-2.24-16.639c-2.799-17.201-7.199-34.078-13.039-50.158
|
|
12
|
+
c-2.16-5.759-4.48-11.439-6.881-16.799c-7.76-17.358-17.279-33.838-29.119-50.316c-4-5.6-8.24-11.199-12.641-16.558
|
|
13
|
+
c-21.279-26.238-45.92-49.197-70.718-71.036c-6.561-5.678-13.041-11.358-19.522-16.958l-0.133-0.1l-0.186-0.154
|
|
14
|
+
c-1.281-1.108-2.512-2.196-3.787-3.301c-5.838-5.08-11.688-10.11-17.334-15.164c-18.102-15.951-35.232-31.906-50.779-49.104H306.81
|
|
15
|
+
c-10.694,11.855-22.158,23.128-34.203,34.209c6.248,5.508,12.607,11.016,19.039,16.578l0.332,0.296
|
|
16
|
+
c7.172,6.21,14.418,12.476,21.627,18.853c19.056-17.411,37.576-35.764,54.047-56.059c4.416-5.415,8.686-10.998,12.754-16.652
|
|
17
|
+
c11.791-16.469,21.293-32.917,29.018-50.236c2.422-5.397,4.752-11.07,6.877-16.873c5.896-16.062,10.314-32.938,13.106-50.108
|
|
18
|
+
c0.887-5.304,1.627-10.904,2.236-16.598c1.184-11.127,1.793-22.752,1.793-34.58h-59.148c0,10.352-0.518,20.516-1.57,30.219
|
|
19
|
+
c-0.08,0.746-0.205,1.426-0.289,2.164h-232.85c-0.082-0.747-0.209-1.419-0.283-2.178c-1.119-9.68-1.6-19.838-1.6-30.238H78.575
|
|
20
|
+
c0,11.839,0.56,23.52,1.76,34.558c0.641,5.76,1.359,11.358,2.24,16.559c2.799,17.279,7.199,34.158,13.119,50.236
|
|
21
|
+
c2.16,5.76,4.481,11.439,6.881,16.799c7.68,17.359,17.199,33.838,29.039,50.317c4,5.599,8.32,11.198,12.641,16.56
|
|
22
|
+
c21.279,26.238,46,49.196,70.801,70.954c-1.662,1.448-3.287,2.966-4.936,4.437c-3.924,3.474-7.852,6.939-11.744,10.494
|
|
23
|
+
c-19.057,17.392-37.578,35.744-54.047,56.039c-4.416,5.415-8.687,10.996-12.754,16.652c-11.791,16.468-21.293,32.917-29.02,50.236
|
|
24
|
+
c-2.42,5.397-4.73,11.07-6.875,16.873c-5.896,16.062-10.314,32.936-13.105,50.108c-0.887,5.322-1.627,10.922-2.236,16.598
|
|
25
|
+
c-1.184,11.125-1.793,22.751-1.793,34.58h59.148c0-10.352,0.518-20.516,1.57-30.219c0.08-0.746,0.205-1.426,0.289-2.165h232.91
|
|
26
|
+
c0.088,0.737,0.188,1.448,0.272,2.192c1.039,9.68,1.52,19.838,1.52,30.158h59.199C433.454,500.208,432.815,488.529,431.614,477.49z
|
|
27
|
+
M152.255,86.875c-4.578-12.478-8.08-25.586-10.486-39.038h228.42c-2.389,13.408-5.856,26.548-10.449,39.026
|
|
28
|
+
c-0.914,2.477-1.959,4.822-2.942,7.236H155.187C154.204,91.688,153.163,89.352,152.255,86.875z M182.335,143.111
|
|
29
|
+
c-7.934-11.069-14.545-22.155-20.248-33.592h187.82c-5.69,11.432-12.33,22.507-20.26,33.586c-3.07,4.27-6.365,8.502-9.72,12.676
|
|
30
|
+
h-127.91C188.689,151.623,185.395,147.381,182.335,143.111z M239.374,306.621L239.374,306.621c0.322-0.299,0.664-0.588,0.986-0.887
|
|
31
|
+
c5.123-4.705,10.328-9.371,15.629-14.047c0.01-0.008,0.02-0.016,0.029-0.024c18.098,16.008,35.221,31.973,50.725,49.166h-101.58
|
|
32
|
+
C215.859,328.969,227.327,317.704,239.374,306.621z M182.333,368.945c3.07-4.287,6.365-8.518,9.723-12.695h127.865
|
|
33
|
+
c3.334,4.164,6.629,8.41,9.693,12.688c7.932,11.063,14.588,22.144,20.268,33.576H162.075
|
|
34
|
+
C167.765,391.09,174.403,380.009,182.333,368.945z M141.79,464.196c2.39-13.409,5.857-26.548,10.432-39.028
|
|
35
|
+
c0.914-2.476,1.965-4.821,2.951-7.235h201.623c0.984,2.417,2.028,4.758,2.979,7.239c4.576,12.473,8.012,25.577,10.41,39.024H141.79
|
|
36
|
+
z"/>
|
|
37
|
+
</g>
|
|
38
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0H6V2H10V4H8.86807C8.57073 5.66996 7.78574 7.17117 6.6656 8.35112C7.46567 8.73941 8.35737 8.96842 9.29948 8.99697L10.2735 6H12.7265L15.9765 16H13.8735L13.2235 14H9.77647L9.12647 16H7.0235L8.66176 10.9592C7.32639 10.8285 6.08165 10.3888 4.99999 9.71246C3.69496 10.5284 2.15255 11 0.5 11H0V9H0.5C1.5161 9 2.47775 8.76685 3.33437 8.35112C2.68381 7.66582 2.14629 6.87215 1.75171 6H4.02179C4.30023 6.43491 4.62904 6.83446 4.99999 7.19044C5.88743 6.33881 6.53369 5.23777 6.82607 4H0V2H4V0ZM12.5735 12L11.5 8.69688L10.4265 12H12.5735Z" fill="#000000"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><defs><style>.a{fill:none;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;}.b{fill:#000000;}</style></defs><path class="a" d="M28.6794,24h-2.15"/><path class="a" d="M32.3471,24h-2.15"/><path class="a" d="M36.0147,24h-2.15"/><path class="a" d="M39.6824,24h-2.15"/><path class="a" d="M21.4706,24h-2.15"/><path class="a" d="M17.8029,24h-2.15"/><path class="a" d="M14.1353,24h-2.15"/><path class="a" d="M10.4676,24h-2.15"/><path class="a" d="M24,15.6529v2.15"/><path class="a" d="M24,19.3206v2.15"/><path class="a" d="M24,26.5294v2.15"/><path class="a" d="M24,30.1971v2.15"/><path class="a" d="M24,33.8647v2.15"/><path class="a" d="M24,37.5324v2.15"/><path class="a" d="M24,11.9853v2.15"/><path class="a" d="M24,8.3176v2.15"/><path class="a" d="M10.3412,20.7118c21.7529-22.1324,15.1764,12.9,27.5706,15.6823"/><circle class="a" cx="24" cy="24" r="21.5"/><circle class="b" cx="24" cy="24" r="0.75"/></svg>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
3
|
+
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
viewBox="0 0 512 512" xml:space="preserve">
|
|
5
|
+
<g>
|
|
6
|
+
<g>
|
|
7
|
+
<path d="M194.85,91.056c-4.948,0-8.959,4.011-8.959,8.959c0,4.948,4.011,8.959,8.959,8.959c18.133,0,32.886,14.753,32.886,32.884
|
|
8
|
+
c0,18.133-14.753,32.886-32.886,32.886c-18.133,0-32.886-14.753-32.886-32.886c0-8.785,3.421-17.042,9.632-23.253
|
|
9
|
+
c3.499-3.499,3.499-9.172,0-12.671c-3.499-3.498-9.172-3.499-12.67,0c-9.596,9.596-14.88,22.353-14.88,35.923
|
|
10
|
+
c0,28.013,22.791,50.804,50.804,50.804s50.804-22.791,50.804-50.804C245.653,113.847,222.863,91.056,194.85,91.056z"/>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
<g>
|
|
14
|
+
<g>
|
|
15
|
+
<path d="M400.309,296.516c-28.013,0-50.803,22.791-50.803,50.803c0,28.013,22.789,50.804,50.803,50.804
|
|
16
|
+
s50.803-22.791,50.803-50.804C451.113,319.306,428.322,296.516,400.309,296.516z M400.309,380.204
|
|
17
|
+
c-18.133,0-32.884-14.753-32.884-32.886c0-18.133,14.753-32.884,32.884-32.884s32.884,14.753,32.884,32.884
|
|
18
|
+
C433.195,365.453,418.442,380.204,400.309,380.204z"/>
|
|
19
|
+
</g>
|
|
20
|
+
</g>
|
|
21
|
+
<g>
|
|
22
|
+
<g>
|
|
23
|
+
<path d="M503.04,50.234c-4.949,0-8.959,4.011-8.959,8.959v227.481c-3.37-5.202-7.166-10.164-11.416-14.802
|
|
24
|
+
c-3.345-3.649-9.012-3.895-12.659-0.551c-3.648,3.342-3.895,9.009-0.552,12.657c15.88,17.326,24.625,39.821,24.625,63.34
|
|
25
|
+
c0,51.706-42.066,93.771-93.771,93.771c-51.704,0-93.77-42.066-93.77-93.771c0-51.706,42.066-93.77,93.77-93.77
|
|
26
|
+
c15.341,0,29.959,3.584,43.448,10.649c4.382,2.295,9.798,0.606,12.094-3.778c2.296-4.383,0.604-9.798-3.778-12.094
|
|
27
|
+
c-15.854-8.306-33.754-12.696-51.763-12.696c-39.26,0-73.849,20.365-93.77,51.081V141.859
|
|
28
|
+
c0-61.586-50.104-111.689-111.689-111.689S83.159,80.273,83.159,141.859v153.253c-13.216,3.299-23.639,13.722-26.938,26.938
|
|
29
|
+
h-26.68c-4.451,0-8.227,3.267-8.866,7.672L0.093,471.586c-0.374,2.573,0.391,5.182,2.092,7.148
|
|
30
|
+
c1.702,1.966,4.174,3.096,6.774,3.096h166.324c2.601,0,5.073-1.13,6.774-3.096c1.701-1.966,2.464-4.575,2.092-7.149l-6.132-42.263
|
|
31
|
+
c-0.711-4.896-5.255-8.284-10.154-7.579c-4.896,0.711-8.29,5.256-7.579,10.154l4.646,32.017H19.311l17.983-123.945h109.653
|
|
32
|
+
l8.209,56.577c0.711,4.896,5.263,8.286,10.152,7.581c4.898-0.711,8.29-5.256,7.581-10.152l-9.322-64.25
|
|
33
|
+
c-0.639-4.405-4.415-7.673-8.866-7.673h-26.682c-3.299-13.216-13.722-23.639-26.938-26.938v-92.646
|
|
34
|
+
c19.923,30.716,54.512,51.081,93.771,51.081c39.26,0,73.849-20.365,93.771-51.081V347.32c0,61.586,50.103,111.689,111.688,111.689
|
|
35
|
+
S512,408.905,512,347.32V59.193C511.999,54.245,507.989,50.234,503.04,50.234z M108.957,322.05H75.282
|
|
36
|
+
c3.215-6.017,9.553-10.123,16.838-10.123C99.405,311.928,105.743,316.033,108.957,322.05z M194.85,235.63
|
|
37
|
+
c-51.706,0-93.771-42.066-93.771-93.771c0-51.706,42.066-93.771,93.771-93.771c51.706,0,93.771,42.066,93.771,93.771
|
|
38
|
+
C288.621,193.564,246.555,235.63,194.85,235.63z"/>
|
|
39
|
+
</g>
|
|
40
|
+
</g>
|
|
41
|
+
<g>
|
|
42
|
+
<g>
|
|
43
|
+
<path d="M113.94,374.451H70.3c-4.948,0-8.959,4.011-8.959,8.959c0,4.948,4.011,8.959,8.959,8.959h43.641
|
|
44
|
+
c4.948,0,8.959-4.011,8.959-8.959C122.9,378.462,118.888,374.451,113.94,374.451z"/>
|
|
45
|
+
</g>
|
|
46
|
+
</g>
|
|
47
|
+
<g>
|
|
48
|
+
<g>
|
|
49
|
+
<path d="M113.94,411.513H70.3c-4.948,0-8.959,4.011-8.959,8.959c0,4.948,4.011,8.959,8.959,8.959h43.641
|
|
50
|
+
c4.948,0,8.959-4.011,8.959-8.959C122.9,415.524,118.888,411.513,113.94,411.513z"/>
|
|
51
|
+
</g>
|
|
52
|
+
</g>
|
|
53
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "Extended Toolpad",
|
|
5
5
|
"author": "Jaakko Rajala",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "3.0.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/index.cjs",
|
|
9
9
|
"module": "./dist/index.es.js",
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
],
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/Jalez/mui-toolpad-extended-tuni"
|
|
16
|
+
"url": "git+https://github.com/Jalez/mui-toolpad-extended-tuni.git"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
20
21
|
"import": "./dist/index.es.js",
|
|
21
22
|
"require": "./dist/index.cjs",
|
|
22
|
-
"
|
|
23
|
+
"default": "./dist/index.es.js"
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
"publishConfig": {
|
|
@@ -29,45 +30,58 @@
|
|
|
29
30
|
"react",
|
|
30
31
|
"mui",
|
|
31
32
|
"toolpad",
|
|
32
|
-
"education"
|
|
33
|
+
"education",
|
|
34
|
+
"tuni"
|
|
33
35
|
],
|
|
34
36
|
"license": "MIT",
|
|
35
37
|
"sideEffects": false,
|
|
36
38
|
"scripts": {
|
|
37
39
|
"clean": "rm -rf dist && rm -rf build && rm -rf coverage && rm -rf node_modules/.cache",
|
|
38
|
-
"dev": "vite --open --port
|
|
39
|
-
"build": "tsc && vite build",
|
|
40
|
-
"prepare": "rm -rf ./dist && npm run build",
|
|
40
|
+
"dev": "vite --open --port 3100",
|
|
41
|
+
"build": "tsc --project tsconfig.json && vite build",
|
|
41
42
|
"lint": "eslint .",
|
|
42
43
|
"preview": "vite preview",
|
|
43
44
|
"test": "vitest --coverage"
|
|
44
45
|
},
|
|
45
46
|
"overrides": {
|
|
46
|
-
"cross-spawn": "7.0.5"
|
|
47
|
+
"cross-spawn": "7.0.5",
|
|
48
|
+
"react": "^19.0.0",
|
|
49
|
+
"react-dom": "^19.0.0"
|
|
47
50
|
},
|
|
48
51
|
"dependencies": {
|
|
52
|
+
"@dnd-kit/core": "^6.3.1",
|
|
53
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
54
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
49
55
|
"@emotion/react": "^11.0.0",
|
|
50
56
|
"@emotion/styled": "^11.0.0",
|
|
51
57
|
"@fontsource/roboto": "^5.0.14",
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
58
|
+
"@fullcalendar/core": "^6.1.15",
|
|
59
|
+
"@fullcalendar/daygrid": "^6.1.15",
|
|
60
|
+
"@fullcalendar/interaction": "^6.1.15",
|
|
61
|
+
"@fullcalendar/react": "^6.1.15",
|
|
62
|
+
"@fullcalendar/scrollgrid": "^6.1.15",
|
|
63
|
+
"@fullcalendar/timegrid": "^6.1.15",
|
|
64
|
+
"@mui/icons-material": "^7.3.4",
|
|
65
|
+
"@mui/material": "^7.3.4",
|
|
66
|
+
"@mui/x-date-pickers": "^7.25.0",
|
|
67
|
+
"@toolpad/core": "^0.16.0",
|
|
68
|
+
"@types/axios": "^0.9.36",
|
|
69
|
+
"@types/luxon": "^3.7.1",
|
|
70
|
+
"@types/react-router-dom": "^5.3.3",
|
|
59
71
|
"@types/react-slider": "^1.3.6",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
72
|
+
"@xyflow/react": "^12.4.4",
|
|
73
|
+
"axios": "^1.7.9",
|
|
74
|
+
"chart.js": "^4.5.1",
|
|
75
|
+
"d3-force": "^3.0.0",
|
|
62
76
|
"lodash": "^4.17.21",
|
|
77
|
+
"luxon": "^3.7.2",
|
|
63
78
|
"notistack": "^3.0.1",
|
|
64
|
-
"
|
|
65
|
-
"react": "^18.0.0",
|
|
79
|
+
"react": "^19.0.0",
|
|
66
80
|
"react-chartjs-2": "^5.2.0",
|
|
67
|
-
"react-
|
|
68
|
-
"react-
|
|
69
|
-
"react-
|
|
70
|
-
"react-
|
|
81
|
+
"react-colorful": "^5.6.1",
|
|
82
|
+
"react-dom": "^19.0.0",
|
|
83
|
+
"react-grid-layout": "^1.5.0",
|
|
84
|
+
"react-router-dom": "^7.11.0",
|
|
71
85
|
"styled-components": "^6.1.0",
|
|
72
86
|
"uuid": "^10.0.0",
|
|
73
87
|
"zustand": "^4.5.4"
|
|
@@ -75,34 +89,36 @@
|
|
|
75
89
|
"devDependencies": {
|
|
76
90
|
"@eslint/js": "^9.8.0",
|
|
77
91
|
"@originjs/vite-plugin-federation": "^1.3.6",
|
|
78
|
-
"@testing-library/jest-dom": "^6.
|
|
79
|
-
"@testing-library/react": "^16.0
|
|
80
|
-
"@types/
|
|
81
|
-
"@types/
|
|
82
|
-
"@types/
|
|
92
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
93
|
+
"@testing-library/react": "^16.3.0",
|
|
94
|
+
"@types/d3-force": "^3.0.10",
|
|
95
|
+
"@types/lodash": "^4.17.20",
|
|
96
|
+
"@types/node": "^24.8.1",
|
|
97
|
+
"@types/react": "^19.2.2",
|
|
98
|
+
"@types/react-dom": "^19.2.2",
|
|
99
|
+
"@types/react-grid-layout": "^1.3.5",
|
|
83
100
|
"@types/uuid": "^10.0.0",
|
|
84
101
|
"@vitejs/plugin-react": "^4.3.1",
|
|
85
|
-
"@vitest/coverage-v8": "^2.
|
|
102
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
86
103
|
"cross-env": "^7.0.3",
|
|
87
104
|
"eslint": "^9.8.0",
|
|
88
105
|
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
89
106
|
"eslint-plugin-react-refresh": "^0.4.9",
|
|
90
107
|
"globals": "^15.9.0",
|
|
91
108
|
"jsdom": "^25.0.1",
|
|
92
|
-
"msw": "^2.
|
|
93
|
-
"
|
|
109
|
+
"msw": "^2.7.0",
|
|
110
|
+
"mui-toolpad-extended-tuni": "^3.0.0",
|
|
111
|
+
"typescript": "^5.7.3",
|
|
94
112
|
"typescript-eslint": "^8.0.0",
|
|
95
|
-
"vite": "^
|
|
96
|
-
"
|
|
97
|
-
"
|
|
113
|
+
"vite": "^6.4.0",
|
|
114
|
+
"vite-plugin-dts": "^4.5.0",
|
|
115
|
+
"vitest": "^3.2.4"
|
|
98
116
|
},
|
|
99
117
|
"peerDependencies": {
|
|
100
118
|
"@emotion/react": "^11.0.0",
|
|
101
119
|
"@emotion/styled": "^11.0.0",
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"react": "^18.0.0",
|
|
105
|
-
"react-dom": "^18.0.0"
|
|
120
|
+
"react": "^19.0.0",
|
|
121
|
+
"react-dom": "^19.0.0"
|
|
106
122
|
},
|
|
107
123
|
"msw": {
|
|
108
124
|
"workerDirectory": [
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export interface EduMLProviderProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use LMSProvider instead of EduMLProvider. Will be removed in version 2.0.0
|
|
8
|
-
* EduMLProvider must be wrapped in a Router component from react-router-dom
|
|
9
|
-
* Example:
|
|
10
|
-
* ```tsx
|
|
11
|
-
* import { BrowserRouter } from 'react-router-dom';
|
|
12
|
-
*
|
|
13
|
-
* <BrowserRouter>
|
|
14
|
-
* <EduMLProvider>
|
|
15
|
-
* {children}
|
|
16
|
-
* </EduMLProvider>
|
|
17
|
-
* </BrowserRouter>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
declare const EduMLProvider: ({ children }: EduMLProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default EduMLProvider;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export interface EduMLProviderProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Main provider component for the LMS system.
|
|
8
|
-
*
|
|
9
|
-
* @version 2.1.0
|
|
10
|
-
* @breaking-changes
|
|
11
|
-
* - Renamed from EduMLProvider to LMSProvider
|
|
12
|
-
* - Updated authentication handling for course instances
|
|
13
|
-
* - Added support for course code level navigation
|
|
14
|
-
* - Improved context sharing between microservices
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* <BrowserRouter>
|
|
19
|
-
* <LMSProvider>
|
|
20
|
-
* {children}
|
|
21
|
-
* </LMSProvider>
|
|
22
|
-
* </BrowserRouter>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
declare const LMSProvider: ({ children }: EduMLProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export default LMSProvider;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
import { Course } from '../../store/useCourseStore';
|
|
3
|
-
type CourseItemProps = {
|
|
4
|
-
course: Course;
|
|
5
|
-
isSelected?: boolean;
|
|
6
|
-
isInactive?: boolean;
|
|
7
|
-
onSelect: (course: Course) => void;
|
|
8
|
-
displayMode?: 'course' | 'instance' | 'instanceList';
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Course item component for displaying individual course cards.
|
|
12
|
-
*
|
|
13
|
-
* @version 2.1.0
|
|
14
|
-
* @updates
|
|
15
|
-
* - Completely redesigned with new card-based layout
|
|
16
|
-
* - Added support for inactive course states
|
|
17
|
-
* - Enhanced display modes (course/instance/instanceList)
|
|
18
|
-
* - Added transition animations and hover effects
|
|
19
|
-
* - Improved accessibility with better contrast and focus states
|
|
20
|
-
*
|
|
21
|
-
* @component
|
|
22
|
-
* @param {CourseItemProps} props
|
|
23
|
-
*/
|
|
24
|
-
declare const CourseItem: ({ course, isSelected, isInactive, onSelect, displayMode, }: CourseItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export default CourseItem;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
import { Course } from '../../store/useCourseStore';
|
|
3
|
-
type CourseListProps = {
|
|
4
|
-
courses: Course[];
|
|
5
|
-
selectedCourse?: Course | null;
|
|
6
|
-
onSelectCourse: (course: Course) => void;
|
|
7
|
-
displayMode?: 'course' | 'instance' | 'instanceList';
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Course list component for displaying course collections.
|
|
11
|
-
*
|
|
12
|
-
* @version 2.1.0
|
|
13
|
-
* @updates
|
|
14
|
-
* - Added support for active/inactive course grouping
|
|
15
|
-
* - Enhanced layout with responsive grid system
|
|
16
|
-
* - Added new display mode support
|
|
17
|
-
* - Improved course filtering and sorting
|
|
18
|
-
* - Added support for course instance display
|
|
19
|
-
*
|
|
20
|
-
* @component
|
|
21
|
-
* @param {CourseListProps} props
|
|
22
|
-
*/
|
|
23
|
-
declare const CourseList: ({ courses, selectedCourse, onSelectCourse, displayMode, }: CourseListProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export default CourseList;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
import { Course } from '../../store/useCourseStore';
|
|
3
|
-
type CourseSelectorProps = {
|
|
4
|
-
courses: Course[];
|
|
5
|
-
navigationType?: 'direct' | 'instances';
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Component for displaying and selecting courses with enhanced navigation features.
|
|
9
|
-
*
|
|
10
|
-
* @version 2.1.0
|
|
11
|
-
* @updates
|
|
12
|
-
* - Added support for direct and instance-based navigation modes
|
|
13
|
-
* - Enhanced course filtering with code and instance grouping
|
|
14
|
-
* - Added support for inactive course states
|
|
15
|
-
* - Improved course selection UI with new card-based design
|
|
16
|
-
*
|
|
17
|
-
* @component
|
|
18
|
-
* @param {CourseSelectorProps} props
|
|
19
|
-
* @param {Course[]} props.courses - Array of available courses
|
|
20
|
-
* @param {'direct' | 'instances'} [props.navigationType='direct'] - Navigation mode
|
|
21
|
-
*/
|
|
22
|
-
declare const CourseSelector: ({ courses, navigationType, }: CourseSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default CourseSelector;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
type LayoutToggleProps = {
|
|
3
|
-
value: 'direct' | 'instances';
|
|
4
|
-
onChange: (value: 'direct' | 'instances') => void;
|
|
5
|
-
};
|
|
6
|
-
declare const LayoutToggle: ({ value, onChange }: LayoutToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default LayoutToggle;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
type EduMLDialogProps = {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
open: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
};
|
|
8
|
-
declare const EduMLDialog: ({ children, open, onClose, ...dialogProps }: EduMLDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default EduMLDialog;
|