mario-education 2.4.102-beta → 2.4.105-beta

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.
Files changed (24) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/LearningStrategy/hooks/useLearningStrategyList.d.ts +1 -1
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/UserForQuestion.d.ts +7 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/Subject/views/SubjectList.d.ts +2 -2
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/components/SwitchCounselorModal.d.ts +4 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchCounselor.d.ts +18 -0
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/utils/constants.d.ts +8 -0
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/utils/type.interface.d.ts +53 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/views/SwitchCounselorList.d.ts +3 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchSecondaryTeacherModal.d.ts +4 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchSecondaryTeacher.d.ts +19 -0
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/utils/constants.d.ts +8 -0
  12. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/utils/type.interface.d.ts +63 -0
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/views/SwitchSecondaryTeacherList.d.ts +3 -0
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +0 -1
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +0 -1
  16. package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +1 -4
  17. package/dist/MarioFramework.Education/ClientApp/src/services/learningStrategyService.d.ts +1 -0
  18. package/dist/MarioFramework.Education/ClientApp/src/services/userService.d.ts +6 -0
  19. package/dist/index.css +893 -939
  20. package/dist/index.js +14419 -14632
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.modern.js +14420 -14630
  23. package/dist/index.modern.js.map +1 -1
  24. package/package.json +94 -96
@@ -4,6 +4,6 @@ declare const useStrategyList: () => {
4
4
  filters: import("mario-core").Filter;
5
5
  changeFilters: (updatedFilters: any) => void;
6
6
  getData: () => Promise<void>;
7
- removeData: (id: number) => void;
7
+ removeData: (id: number) => Promise<void>;
8
8
  };
9
9
  export default useStrategyList;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface IUserForQuestionSelect {
3
+ value: string;
4
+ onChange: Function;
5
+ }
6
+ declare const UserForQuestionSelect: ({ value, onChange }: IUserForQuestionSelect) => JSX.Element;
7
+ export default UserForQuestionSelect;
@@ -1,3 +1,3 @@
1
1
  import { FC } from "react";
2
- declare const TemplateSystemList: FC;
3
- export default TemplateSystemList;
2
+ declare const SubjectList: FC;
3
+ export default SubjectList;
@@ -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,8 @@
1
+ export declare const INITIAL_USER_CHOICE: {
2
+ id: number;
3
+ emailStudent: string;
4
+ studentName: string;
5
+ assistantId: string;
6
+ emailAssistant: string;
7
+ assistantName: string;
8
+ };
@@ -0,0 +1,53 @@
1
+ export interface IOptions {
2
+ label: string;
3
+ value: string;
4
+ }
5
+ export declare type USER_CHOICE = {
6
+ id: string;
7
+ studentName: string;
8
+ emailStudent: string;
9
+ assistantId: string;
10
+ emailAssistant: string;
11
+ assistantName: string;
12
+ };
13
+ export interface ISwitchAssistantModal {
14
+ header: string;
15
+ removeData: (teacherUserId: string, studentId: number | string) => Promise<void>;
16
+ resetData: () => void;
17
+ userChoiced: IStudentAssistantItem;
18
+ options: IOptions[];
19
+ assistantChangeId: string;
20
+ setAssistantChangeId: (value: any) => void;
21
+ }
22
+ export interface ISwitchCounselorModal {
23
+ header: string;
24
+ removeData: (teacherUserId: string, studentId: number | string) => Promise<void>;
25
+ resetData: () => void;
26
+ userChoiced: IStudentCounselorItem;
27
+ options: IOptions[];
28
+ counselorChangeId: string;
29
+ setCounselorChangeId: (value: any) => void;
30
+ }
31
+ export interface IStudentAssistantItem {
32
+ id: number;
33
+ emailStudent: string;
34
+ studentName: string;
35
+ assistantId?: string;
36
+ emailAssistant?: string;
37
+ assistantName?: string;
38
+ }
39
+ export interface IStudentCounselorItem {
40
+ id: number;
41
+ emailStudent: string;
42
+ studentName: string;
43
+ counselorId?: string;
44
+ emailCounselor?: string;
45
+ counselorName?: string;
46
+ }
47
+ export declare type TypeStudentAssistantData = {
48
+ currentPage: number;
49
+ pageSize: number;
50
+ totalItems: number;
51
+ totalPages: number;
52
+ items: IStudentAssistantItem[];
53
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SwitchCounselorList: () => JSX.Element;
3
+ export default SwitchCounselorList;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ISwitchSecondaryTeacherModal } from "../utils/type.interface";
3
+ declare const _default: React.ForwardRefExoticComponent<ISwitchSecondaryTeacherModal & React.RefAttributes<HTMLInputElement>>;
4
+ export default _default;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { IOptions } from "../utils/type.interface";
3
+ import { IStudentSecondaryTeacherItem } from "../../AssignSecondaryTeacher/utils/type.interface";
4
+ declare const useSwitchSecondaryTeacher: () => {
5
+ userList: IStudentSecondaryTeacherItem[];
6
+ totalItems: number;
7
+ filters: import("mario-core").Filter;
8
+ changeFilters: (updatedFilters: any) => void;
9
+ modal: import("react").MutableRefObject<any>;
10
+ userChoiced: IStudentSecondaryTeacherItem;
11
+ options: IOptions[];
12
+ setSecondaryTeacherChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
13
+ secondaryTeacherChangeId: string;
14
+ removeData: (secondaryTeacherId: string, studentId: number) => Promise<void>;
15
+ resetData: () => void;
16
+ choiceUser: (userChoiced: IStudentSecondaryTeacherItem) => void;
17
+ onDeleteSecondaryTeacher: (studentId: number) => Promise<void>;
18
+ };
19
+ export default useSwitchSecondaryTeacher;
@@ -0,0 +1,8 @@
1
+ export declare const INITIAL_USER_CHOICE: {
2
+ id: number;
3
+ emailStudent: string;
4
+ studentName: string;
5
+ assistantId: string;
6
+ emailAssistant: string;
7
+ assistantName: string;
8
+ };
@@ -0,0 +1,63 @@
1
+ import { IStudentSecondaryTeacherItem } from "../../AssignSecondaryTeacher/utils/type.interface";
2
+ export interface IOptions {
3
+ label: string;
4
+ value: string;
5
+ }
6
+ export declare type USER_CHOICE = {
7
+ id: string;
8
+ studentName: string;
9
+ emailStudent: string;
10
+ assistantId: string;
11
+ emailAssistant: string;
12
+ assistantName: string;
13
+ };
14
+ export interface ISwitchAssistantModal {
15
+ header: string;
16
+ removeData: (teacherUserId: string, studentId: number | string) => Promise<void>;
17
+ resetData: () => void;
18
+ userChoiced: IStudentAssistantItem;
19
+ options: IOptions[];
20
+ assistantChangeId: string;
21
+ setAssistantChangeId: (value: any) => void;
22
+ }
23
+ export interface ISwitchCounselorModal {
24
+ header: string;
25
+ removeData: (teacherUserId: string, studentId: number | string) => Promise<void>;
26
+ resetData: () => void;
27
+ userChoiced: IStudentCounselorItem;
28
+ options: IOptions[];
29
+ counselorChangeId: string;
30
+ setCounselorChangeId: (value: any) => void;
31
+ }
32
+ export interface ISwitchSecondaryTeacherModal {
33
+ header: string;
34
+ removeData: (teacherUserId: string, studentId: number | string) => Promise<void>;
35
+ resetData: () => void;
36
+ userChoiced: IStudentSecondaryTeacherItem;
37
+ options: IOptions[];
38
+ secondaryTeacherChangeId: string;
39
+ setSecondaryTeacherChangeId: (value: any) => void;
40
+ }
41
+ export interface IStudentAssistantItem {
42
+ id: number;
43
+ emailStudent: string;
44
+ studentName: string;
45
+ assistantId?: string;
46
+ emailAssistant?: string;
47
+ assistantName?: string;
48
+ }
49
+ export interface IStudentCounselorItem {
50
+ id: number;
51
+ emailStudent: string;
52
+ studentName: string;
53
+ counselorId?: string;
54
+ emailCounselor?: string;
55
+ counselorName?: string;
56
+ }
57
+ export declare type TypeStudentAssistantData = {
58
+ currentPage: number;
59
+ pageSize: number;
60
+ totalItems: number;
61
+ totalPages: number;
62
+ items: IStudentAssistantItem[];
63
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SwitchSecondaryTeacherList: () => JSX.Element;
3
+ export default SwitchSecondaryTeacherList;
@@ -5,4 +5,3 @@ export declare const update: (data: any) => Promise<import("axios").AxiosRespons
5
5
  export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
6
6
  export declare const getAllTemplatePage: (isTemplateIEP: boolean) => Promise<import("axios").AxiosResponse<any>>;
7
7
  export declare const updateTemplatePage: (templateId: number, subTemplateId: number) => Promise<import("axios").AxiosResponse<any>>;
8
- export declare const updateHTMLIEP: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -5,6 +5,5 @@ declare type TemplateDetail = {
5
5
  };
6
6
  declare const useTemplateBuilder: (templateId: number) => {
7
7
  templateDetail: TemplateDetail;
8
- saveHTMLTemplate: (isPublish?: boolean | undefined) => Promise<void>;
9
8
  };
10
9
  export default useTemplateBuilder;
@@ -30,9 +30,6 @@ import CompareTeacher from "./containers/CompareTeacher/views/CompareTeacher";
30
30
  import Dashboard from "./containers/Dashboard/views/Dashboard";
31
31
  import SessionTemplateList from "./containers/SessionTemplate/views/SessionTemplateList";
32
32
  import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList";
33
- import TemplateContainer from "./containers/TemplateSystem/views/TemplateContainer";
34
- import TemplateBuilderPage from "./containers/TemplateSystem/views/TemplateBuilderPage";
35
- import TemplateStartBuild from "./containers/TemplateSystem/views/TemplateStartBuild";
36
33
  import LoadLanguage from "./components/Loading/LoadLanguage";
37
34
  import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
38
- 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 };
35
+ 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 };
@@ -1,5 +1,6 @@
1
1
  import { Filter } from "mario-core";
2
2
  export declare const get: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
3
+ export declare const checkUseQuestion: (questionId: number) => Promise<import("axios").AxiosResponse<any>>;
3
4
  export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
4
5
  export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
5
6
  export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -7,10 +7,16 @@ export declare const getStudentAssistant: (data: IStudentWidthAssistant) => Prom
7
7
  export declare const getStudentWithoutAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentWithoutAssistantData>>;
8
8
  export declare const getAssistant: () => Promise<import("axios").AxiosResponse<any>>;
9
9
  export declare const getAssistantByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
10
+ export declare const getCounselorByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
11
+ export declare const getSecondaryTeacherByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
10
12
  export declare const getAssistants: () => Promise<import("axios").AxiosResponse<any>>;
11
13
  export declare const changeAssistantOfStudent: (id: number, assistantUserId: string) => Promise<import("axios").AxiosResponse<any>>;
14
+ export declare const changeCounselorOfStudent: (id: number, counselorId: string) => Promise<import("axios").AxiosResponse<any>>;
15
+ export declare const changeSecondaryTeacherOfStudent: (id: number, secondaryTeacherId: string) => Promise<import("axios").AxiosResponse<any>>;
12
16
  export declare const assignAssistantOfStudent: (studentId: number, teacherId: number, assistantId: number) => Promise<import("axios").AxiosResponse<any>>;
13
17
  export declare const removeAssistantForStudent: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
18
+ export declare const removeCounselorForStudent: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
19
+ export declare const removeSecondaryTeacherForStudent: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
14
20
  export declare const assignCounselorOfStudent: (studentId: number, teacherId: number, counselorId: number) => Promise<import("axios").AxiosResponse<any>>;
15
21
  export declare const getCounselors: () => Promise<import("axios").AxiosResponse<any>>;
16
22
  export declare const getStudentCounselor: (data: IStudentCounselorFilter) => Promise<import("axios").AxiosResponse<TypeStudentCounselorData>>;