mario-education 2.4.149-level → 2.4.151-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.
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ import React from "react";
2
2
  import { IGenerateChart } from "../configs/types";
3
- declare const GenerateChartData: FC<IGenerateChart>;
4
- export default GenerateChartData;
3
+ declare const _default: React.NamedExoticComponent<IGenerateChart>;
4
+ export default _default;
@@ -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;
@@ -77,5 +77,6 @@ export declare const learningProcessName = "learning_process";
77
77
  export declare const topLearningStrategyName = "learning_strategies";
78
78
  export declare const topMostUsedStrategiesName = "top_5_most_used_strategies";
79
79
  export declare const overallReadinessToLearn = "overall_readiness_to_learn";
80
- export declare const studentPressureName = "student_pressure";
80
+ export declare const studentStressByZone = "student_stress_by_zone";
81
+ export declare const studentDistribution = "student_distribution";
81
82
  export declare const chartNames: string[];
@@ -292,14 +292,16 @@ export interface IDashboardToPDF {
292
292
  stressData: ISeries[];
293
293
  preparednessData: ISeries[];
294
294
  successIndicatorsData: ISeries[];
295
- seriesLearningProgress: ISeries[];
296
295
  monthsOneToOne: string[];
297
296
  dayOfWeekOneToOne: string[];
298
297
  avgQuestionLastMonth: IQuestionResponseLastMonth[];
299
- dayOfWeekLearningProgress: string[];
300
- monthsLearningProgress: string[];
301
298
  topLearningStrategiesData: IlearningStrategies;
302
299
  selectedToPDF: string[];
300
+ seriesConference: ISeries[];
301
+ monthsConference: string[];
302
+ activeColumnConference: boolean[];
303
+ dayOfWeekConference: string[];
304
+ avgConferenceLastMonth: IQuestionResponseLastMonth[];
303
305
  }
304
306
  export interface IOverallReadinessToLearn {
305
307
  resultQuestion: ISeries[];
@@ -34,11 +34,16 @@ declare const useChartDatas: () => {
34
34
  preparednessData: import("../../../utils/type").ISeries[];
35
35
  safetyData: import("../../../utils/type").ISeries[];
36
36
  stressData: import("../../../utils/type").ISeries[];
37
- seriesLearningProgress: import("../../../utils/type").ISeries[];
38
- monthsLearningProgress: string[];
39
- dayOfWeekLearningProgress: string[];
37
+ seriesConference: import("../../../utils/type").ISeries[];
38
+ avgConferenceLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
39
+ dataConvertedConference: string[];
40
+ monthsConference: string[];
41
+ dayOfWeekConference: string[];
42
+ handleActiveColumnConference: (index: number) => void;
43
+ activeColumnConference: boolean[];
40
44
  avgQuestionLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
41
45
  studentPressure: import("../configs/types").IStudentPressure;
42
46
  dataOverallReadyToLearn: import("../configs/types").IOverallReadinessToLearn;
47
+ readinessToLearning: import("../configs/types").IReadinessToLearning[];
43
48
  };
44
49
  export default useChartDatas;
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
- import { DashboardFilter, IActivityCircle, IlearningStrategies, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IColumnChartAndPercent, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn } from "../configs/types";
2
+ import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn } from "../configs/types";
3
3
  import { IFilter, Student, ISeries } from "../../../utils/type";
4
4
  declare const useDashboard: () => {
5
5
  setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
6
6
  filter: DashboardFilter;
7
7
  listTotalTime: IDashboardToTalStudent;
8
+ readinessToLearning: IReadinessToLearning[];
8
9
  topLearningStrategies: IlearningStrategies;
9
10
  studentByGrade: IStudentByGrade[];
10
- learningProgress: IColumnChartAndPercent;
11
11
  friendCircles: IsyntheticFriendCircle | undefined;
12
12
  activityCircles: IActivityCircle | undefined;
13
13
  studentBySpecialNeed: IStudentBySpecialNeed[];
@@ -35,12 +35,16 @@ declare const useDashboard: () => {
35
35
  successIndicatorsData: ISeries[];
36
36
  activeColumnSuccessIndicators: boolean[];
37
37
  activeColumnPreparedness: boolean[];
38
- seriesLearningProgress: ISeries[];
39
- monthsLearningProgress: string[];
40
- dayOfWeekLearningProgress: string[];
41
38
  avgQuestionLastMonth: IQuestionResponseLastMonth[];
42
39
  gradeList: string[];
43
40
  studentPressure: IStudentPressure;
44
41
  dataOverallReadyToLearn: IOverallReadinessToLearn;
42
+ seriesConference: ISeries[];
43
+ avgConferenceLastMonth: IQuestionResponseLastMonth[];
44
+ dataConvertedConference: string[];
45
+ monthsConference: string[];
46
+ dayOfWeekConference: string[];
47
+ handleActiveColumnConference: (index: number) => void;
48
+ activeColumnConference: boolean[];
45
49
  };
46
50
  export default useDashboard;
@@ -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;