mario-education 2.4.103-beta → 2.4.106-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 (32) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/LearningStrategy/hooks/useLearningStrategyList.d.ts +1 -1
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +1 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/UserForQuestion.d.ts +7 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +4 -0
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/Subject/views/SubjectList.d.ts +2 -2
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
  11. package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +1 -4
  12. package/dist/MarioFramework.Education/ClientApp/src/services/learningStrategyService.d.ts +1 -0
  13. package/dist/index.css +893 -939
  14. package/dist/index.js +186 -1116
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.modern.js +188 -1115
  17. package/dist/index.modern.js.map +1 -1
  18. package/package.json +94 -96
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +0 -8
  20. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +0 -3
  21. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/TemplateDialogModal.d.ts +0 -3
  22. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/configs/types.d.ts +0 -12
  23. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +0 -10
  24. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateDetail.d.ts +0 -20
  25. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateList.d.ts +0 -9
  26. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateStart.d.ts +0 -9
  27. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateBuilderPage.d.ts +0 -3
  28. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +0 -3
  29. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateIEPList.d.ts +0 -3
  30. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateStartBuild.d.ts +0 -3
  31. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateSystemList.d.ts +0 -3
  32. /package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
@@ -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;
@@ -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;
@@ -8,4 +8,5 @@ export declare const renderQuestionText: (params: any) => JSX.Element;
8
8
  export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
9
9
  export declare const renderCategory: (params: any) => JSX.Element;
10
10
  export declare const renderType: (params: any) => JSX.Element;
11
+ export declare const renderUserQuestion: (params: any) => JSX.Element;
11
12
  export {};
@@ -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;
@@ -5,3 +5,7 @@ export declare enum TYPE_QUESTION {
5
5
  Conference = 3,
6
6
  Survey = 4
7
7
  }
8
+ export declare const userForQuestion: {
9
+ value: string;
10
+ label: string;
11
+ }[];
@@ -24,6 +24,7 @@ declare type QuestionDetail = {
24
24
  subQuestions: string[];
25
25
  isBeforeSession: boolean;
26
26
  isDefaultQuestionSurvey: boolean;
27
+ userForQuestion?: string;
27
28
  };
28
29
  declare const useQuestionDetail: (id?: number | undefined, type?: number | undefined) => {
29
30
  questionDetail: QuestionDetail;
@@ -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,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;
@@ -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>>;