mario-education 2.4.405-release → 2.4.410-release

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.
@@ -27,6 +27,6 @@ declare const useHeaderSideBar: (_navigations: any) => {
27
27
  handleClose: () => void;
28
28
  renderNavigationItem: (navigation: any, isSubItem?: boolean | undefined) => JSX.Element;
29
29
  goToSettings: () => void;
30
- t: any;
30
+ t: import("i18next").TFunction;
31
31
  };
32
32
  export default useHeaderSideBar;
@@ -15,7 +15,7 @@ interface Props {
15
15
  onSubmit?: Function;
16
16
  }
17
17
  declare const useInterventionDialog: (props: Props) => {
18
- t: any;
18
+ t: import("i18next").TFunction;
19
19
  intervention: INTERVENTION | undefined;
20
20
  interventionLog: INTERVENTION_LOG;
21
21
  answerType: string | null;
@@ -0,0 +1,3 @@
1
+ import { IModelSkillStudent } from "../configs/types";
2
+ declare const ModelSkillStudent: ({ studentCount, studentPercentage, responseStudent, name }: IModelSkillStudent) => JSX.Element;
3
+ export default ModelSkillStudent;
@@ -0,0 +1,3 @@
1
+ import { IModelStudentSession } from "../../MyStudent/components/NewOverview/Chat/types/types";
2
+ declare const ModelStudentSession: ({ open, onClose, responseStudent, title, tagName, isStressMode }: IModelStudentSession) => JSX.Element;
3
+ export default ModelStudentSession;
@@ -1,3 +1,4 @@
1
+ import { IResponseStudentQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
1
2
  import { QuestionType } from "../../ReflectionForm/configs/types";
2
3
  export declare type LoginCountingReport = {
3
4
  date: string;
@@ -305,6 +306,10 @@ export interface IGenerateChart {
305
306
  avgContent?: string;
306
307
  textColors?: string[];
307
308
  min?: number;
309
+ studentCount?: number;
310
+ studentPercentage?: number;
311
+ responseStudent?: IResponseStudentQuestion[];
312
+ classFontSize?: string;
308
313
  }
309
314
  export interface IDashboardToPDF {
310
315
  startTime: number | undefined;
@@ -372,4 +377,10 @@ export interface SessionStrategyQuestionCsv {
372
377
  text: string;
373
378
  questionText: string;
374
379
  }
380
+ export interface IModelSkillStudent {
381
+ studentCount?: number;
382
+ studentPercentage?: number;
383
+ name?: string;
384
+ responseStudent?: IResponseStudentQuestion[];
385
+ }
375
386
  export {};
@@ -45,5 +45,7 @@ declare const useChartDatas: () => {
45
45
  dataOverallReadyToLearn: import("../configs/types").IOverallReadinessToLearn;
46
46
  readinessToLearning: import("../configs/types").IReadinessToLearning[];
47
47
  schoolName: any;
48
+ studentSkillQuestion: import("../../MyStudent/components/NewOverview/Chat/types/types").IStudentSkillQuestion;
49
+ classFontSize: string;
48
50
  };
49
51
  export default useChartDatas;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox, ISeries } from "../configs/types";
3
3
  import { IFilter, Student } from "../../../utils/type";
4
+ import { IStudentSkillQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
4
5
  declare const useDashboard: () => {
5
6
  setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
6
7
  filter: DashboardFilter;
@@ -46,5 +47,6 @@ declare const useDashboard: () => {
46
47
  activeColumnConference: boolean[];
47
48
  labelBox: ILabelBox;
48
49
  setLabelBox: import("react").Dispatch<import("react").SetStateAction<ILabelBox>>;
50
+ studentSkillQuestion: IStudentSkillQuestion;
49
51
  };
50
52
  export default useDashboard;
@@ -33,5 +33,6 @@ declare const useHome: () => {
33
33
  studentSkillQuestion: import("../common/interface").IStudentSkillQuestion;
34
34
  generalTips: import("../common/interface").IGeneralTip[];
35
35
  dataGradeUsage: import("../common/interface").IGradeUsage[];
36
+ classFontSize: string;
36
37
  };
37
38
  export default useHome;
@@ -218,6 +218,7 @@ export interface IModelStudentSession {
218
218
  title: string;
219
219
  tagName: string;
220
220
  responseStudent: IResponseStudentQuestion[];
221
+ isStressMode?: boolean;
221
222
  }
222
223
  export interface IModelSkillStudent {
223
224
  studentCount?: number;
@@ -40,7 +40,8 @@ export declare enum CHALLENGE {
40
40
  Challenge2 = 1,
41
41
  Challenge3 = 2,
42
42
  Challenge4 = 3,
43
- Challenge5 = 4
43
+ Challenge5 = 4,
44
+ Challenge6 = 5
44
45
  }
45
46
  export declare enum WEEKLY_QUEST_SOURCE {
46
47
  CheckIn = 0,
@@ -52,7 +53,13 @@ export declare enum WEEKLY_QUEST_SOURCE {
52
53
  LearningStrategies = 6,
53
54
  SupportNetwork = 7,
54
55
  TeacherHelp = 8,
55
- MoreSection = 9
56
+ MoreSection = 9,
57
+ ICanHelpMyselfBy = 10,
58
+ HopesAndDreams = 11,
59
+ MyStrengths = 12,
60
+ Tools = 13,
61
+ WaysILearnBest = 14,
62
+ OtherPeopleWhoCanHelpMeAre = 15
56
63
  }
57
64
  export declare enum WEEKLY_QUEST_REQUEST {
58
65
  View = 0,
@@ -74,3 +81,7 @@ export declare const weeklyQuestRequest: {
74
81
  label: string;
75
82
  data: string;
76
83
  }[];
84
+ export declare enum SwitchChallengeType {
85
+ Next = 0,
86
+ Previous = 1
87
+ }
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { SwitchChallengeType } from "../configs/constants";
2
3
  interface IWeeklyQuest {
3
4
  id: number;
4
5
  title: string;
@@ -19,5 +20,6 @@ declare const useWeeklyQuest: () => {
19
20
  changeFilters: (updatedFilters: any) => void;
20
21
  handleSortFilter: (colId: string) => void;
21
22
  weeklyQuestList: IWeeklyQuest[];
23
+ handleSwitchChallenge: (type: SwitchChallengeType) => Promise<void>;
22
24
  };
23
25
  export default useWeeklyQuest;
@@ -6,6 +6,11 @@ export declare type USER_CHOICE = {
6
6
  teacherUserId: string;
7
7
  emailTeacher: string;
8
8
  teacherName: string;
9
+ teachers: any[];
10
+ };
11
+ export declare type TeacherGroup = {
12
+ teacher: any;
13
+ teacherChange: any;
9
14
  };
10
15
  export declare const initialUserChoice: {
11
16
  id: string;
@@ -14,6 +19,7 @@ export declare const initialUserChoice: {
14
19
  teacherUserId: string;
15
20
  emailTeacher: string;
16
21
  teacherName: string;
22
+ teachers: never[];
17
23
  };
18
24
  declare const useSwitchTeacher: () => {
19
25
  userList: USER_CHOICE[];
@@ -34,5 +40,8 @@ declare const useSwitchTeacher: () => {
34
40
  teacherChangeId: string;
35
41
  removeData: (teacherUserId: number, studentId: number) => Promise<void>;
36
42
  resetData: () => void;
43
+ setTeacherGroupId: import("react").Dispatch<import("react").SetStateAction<TeacherGroup>>;
44
+ teacherGroupId: TeacherGroup;
45
+ updateSwitchTeacher: (teachers: TeacherGroup, studentId: number) => Promise<void>;
37
46
  };
38
47
  export default useSwitchTeacher;