mario-education 2.4.171-level → 2.4.172-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.
@@ -2,6 +2,7 @@ import React from "react";
2
2
  import { IReadinessToLearning } from "../configs/types";
3
3
  interface IProps {
4
4
  data: IReadinessToLearning[];
5
+ isPrint?: boolean;
5
6
  }
6
7
  declare const _default: React.NamedExoticComponent<IProps>;
7
8
  export default _default;
@@ -3,6 +3,8 @@ interface IProps {
3
3
  series: number[];
4
4
  colors: string[];
5
5
  label: string[];
6
+ width?: number | string;
7
+ height?: number | string;
6
8
  }
7
9
  declare const OverallDonutChart: FC<IProps>;
8
10
  export default OverallDonutChart;
@@ -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;
@@ -2,6 +2,8 @@ import React from "react";
2
2
  import { IlearningStrategies } from "../configs/types";
3
3
  interface ITopLearningStrategy {
4
4
  data: IlearningStrategies;
5
+ learningStrategyId?: string;
6
+ topLearningStrategyId?: string;
5
7
  }
6
8
  declare const _default: React.NamedExoticComponent<ITopLearningStrategy>;
7
9
  export default _default;
@@ -35,6 +35,7 @@ export declare const INITIAl_STUDENT_DASHBOARD: {
35
35
  totalTimeConference: number;
36
36
  totalTimeOneToOne: number;
37
37
  totalCheckIn: number;
38
+ schoolName: string;
38
39
  };
39
40
  export declare const INITIAL_AVG: number[];
40
41
  export declare const COLOR_CHART_AND_PERCENTS: string[];
@@ -216,6 +216,7 @@ export interface IDashboardToTalStudent {
216
216
  totalTimeConference: number;
217
217
  totalTimeOneToOne: number;
218
218
  totalCheckIn: number;
219
+ schoolName: string;
219
220
  }
220
221
  export declare enum FILTER_YEAR {
221
222
  THIS_YEAR = 0,
@@ -282,6 +283,9 @@ export interface IGenerateChart {
282
283
  avgQuestionLastMonth: IQuestionResponseLastMonth[];
283
284
  isShowExpandIcon?: boolean;
284
285
  onExpand?: Function;
286
+ isPrint?: boolean;
287
+ width?: number | string;
288
+ height?: number | string;
285
289
  }
286
290
  export interface IDashboardToPDF {
287
291
  startTime: number | undefined;
@@ -305,6 +309,8 @@ export interface IDashboardToPDF {
305
309
  avgConferenceLastMonth: IQuestionResponseLastMonth[];
306
310
  readinessToLearning: IReadinessToLearning[];
307
311
  studentPressure: IStudentPressure;
312
+ dataOverallReadyToLearn: IOverallReadinessToLearn;
313
+ schoolName: string;
308
314
  }
309
315
  export interface IOverallReadinessToLearn {
310
316
  resultQuestion: ISeries[];
@@ -45,5 +45,6 @@ declare const useChartDatas: () => {
45
45
  studentPressure: import("../configs/types").IStudentPressure;
46
46
  dataOverallReadyToLearn: import("../configs/types").IOverallReadinessToLearn;
47
47
  readinessToLearning: import("../configs/types").IReadinessToLearning[];
48
+ listTotalTime: import("../configs/types").IDashboardToTalStudent;
48
49
  };
49
50
  export default useChartDatas;
@@ -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;