mario-education 2.4.160-level → 2.4.162-level

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.
@@ -6,6 +6,7 @@ interface Props {
6
6
  studentDefault?: Student;
7
7
  teacherUserId?: string;
8
8
  placeholder?: string;
9
+ isDeleted?: boolean;
9
10
  }
10
11
  export interface Student {
11
12
  studentId: number;
@@ -16,6 +17,7 @@ export interface Student {
16
17
  value?: string;
17
18
  gender?: string;
18
19
  mtss?: string;
20
+ deletedAt?: string;
19
21
  }
20
22
  declare const StudentItemSelector: FC<Props>;
21
23
  export default StudentItemSelector;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import { IReadinessToLearning } from "../configs/types";
3
+ interface Props {
4
+ data: IReadinessToLearning[];
5
+ }
6
+ declare const ReadinessToLearn: FC<Props>;
7
+ export default ReadinessToLearn;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { IOptions, IStudentAssistantItem } from "../utils/type.interface";
3
+ declare const useSwitchAssistant: () => {
4
+ userList: IStudentAssistantItem[];
5
+ totalItems: number;
6
+ filters: import("mario-core").Filter;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ modal: import("react").MutableRefObject<any>;
9
+ userChoiced: IStudentAssistantItem;
10
+ options: IOptions[];
11
+ setAssistantChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ assistantChangeId: string;
13
+ removeData: (teacherUserId: string, studentId: number) => Promise<void>;
14
+ resetData: () => void;
15
+ choiceUser: (userChoiced: IStudentAssistantItem) => void;
16
+ onDeleteAssistant: (studentId: number) => Promise<void>;
17
+ };
18
+ export default useSwitchAssistant;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ISwitchCounselorModal } from "../utils/type.interface";
3
+ declare const _default: React.ForwardRefExoticComponent<ISwitchCounselorModal & React.RefAttributes<HTMLInputElement>>;
4
+ export default _default;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { IOptions, IStudentCounselorItem } from "../utils/type.interface";
3
+ declare const useSwitchCounselor: () => {
4
+ userList: IStudentCounselorItem[];
5
+ totalItems: number;
6
+ filters: import("mario-core").Filter;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ modal: import("react").MutableRefObject<any>;
9
+ userChoiced: IStudentCounselorItem;
10
+ options: IOptions[];
11
+ setCounselorChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ counselorChangeId: string;
13
+ removeData: (counselorId: string, studentId: number) => Promise<void>;
14
+ resetData: () => void;
15
+ choiceUser: (userChoiced: IStudentCounselorItem) => void;
16
+ onDeleteCounselor: (studentId: number) => Promise<void>;
17
+ };
18
+ export default useSwitchCounselor;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { Student } from "../../Classes/components/StudentItemSelector";
3
+ declare const useRevertUser: () => {
4
+ user: Student | null;
5
+ setUser: import("react").Dispatch<import("react").SetStateAction<Student | null>>;
6
+ handelRevertUser: (id: string) => Promise<void>;
7
+ userFrom: Student | null;
8
+ setUserFrom: import("react").Dispatch<import("react").SetStateAction<Student | null>>;
9
+ userTo: Student | null;
10
+ setUserTo: import("react").Dispatch<import("react").SetStateAction<Student | null>>;
11
+ handelMergeDataUser: () => Promise<void>;
12
+ };
13
+ export default useRevertUser;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const RevertUser: () => JSX.Element;
3
+ export default RevertUser;
@@ -36,4 +36,5 @@ import TemplateStartBuild from "./containers/TemplateSystem/views/TemplateStartB
36
36
  import LoadLanguage from "./components/Loading/LoadLanguage";
37
37
  import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
38
38
  import SurveyDashboard from "./containers/SurveyDashboard/views/SurveyDashboard";
39
- export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining, TemplateContainer, TemplateBuilderPage, TemplateStartBuild, SurveyDashboard };
39
+ import RevertUser from "./containers/UserRevert/views/RevertUser";
40
+ export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining, TemplateContainer, TemplateBuilderPage, TemplateStartBuild, SurveyDashboard, RevertUser };
@@ -0,0 +1,2 @@
1
+ export declare const revertUser: (id: string) => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const mergeData: (fromId: string, toId: string) => Promise<import("axios").AxiosResponse<any>>;