mario-education 2.4.542-feedback → 2.4.544-feedback

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.
@@ -8,8 +8,8 @@ declare const useAssignCounselor: () => {
8
8
  modal: import("react").MutableRefObject<any>;
9
9
  chosenUser: IStudentCounselorItem;
10
10
  options: IOptions[];
11
- changeCounselorId: (id: number) => void;
12
- counselorChangeId: number;
11
+ changeCounselorId: (id: IOptions[]) => void;
12
+ counselorChangeId: IOptions[];
13
13
  handleAssign: () => Promise<void>;
14
14
  resetData: () => void;
15
15
  choiceUser: (chosenUser: IStudentCounselorItem) => void;
@@ -1,6 +1,6 @@
1
1
  export interface IOptions {
2
2
  label: string;
3
- value: number;
3
+ value: string;
4
4
  }
5
5
  export declare type USER_CHOICE = {
6
6
  id: string;
@@ -24,18 +24,16 @@ export interface IAssignCounselorModal {
24
24
  resetData: () => void;
25
25
  chosenUser: IStudentCounselorItem;
26
26
  options: IOptions[];
27
- counselorChangeId: number;
27
+ counselorChangeId: IOptions[];
28
28
  setCounselorChangeId: (value: any) => void;
29
29
  isChecked: boolean;
30
30
  }
31
31
  export interface IStudentCounselorItem {
32
32
  id: number;
33
+ userId: string;
33
34
  emailStudent: string;
34
35
  studentName: string;
35
- teacherId?: number;
36
- counselorId?: string;
37
- emailCounselor?: string;
38
- counselorName?: string;
36
+ counselorUserIds?: string[];
39
37
  }
40
38
  export declare type TypeStudentCounselorData = {
41
39
  currentPage: number;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { IGenerateDashboardChart } from "../configs/types";
3
- declare const _default: React.MemoExoticComponent<({ typeChart, activeColumn, series, months, name, dayOfWeek, colors, textColors, avgQuestionLastMonth, studentCount, studentPercentage, responseStudent, classFontSize, avgContent, print, width, height, titleClassFontSize, min, hiddenKpi, timeOfDay, weeklySeries, weeks, description, skillClass, kpiClassName, lowMetricStudents, studentMetricPercent, noGradient, setOptionDate, stressValue }: IGenerateDashboardChart) => JSX.Element>;
3
+ declare const _default: React.MemoExoticComponent<({ typeChart, activeColumn, series, months, name, dayOfWeek, colors, textColors, avgQuestionLastMonth, studentCount, studentPercentage, responseStudent, classFontSize, avgContent, print, width, height, titleClassFontSize, min, hiddenKpi, timeOfDay, weeklySeries, weeks, description, skillClass, kpiClassName, lowMetricStudents, studentMetricPercent, noGradient, setOptionDate, stressValue, noAvgTotal }: IGenerateDashboardChart) => JSX.Element>;
4
4
  export default _default;
@@ -535,6 +535,7 @@ export interface IGenerateDashboardChart {
535
535
  noGradient?: boolean;
536
536
  setOptionDate?: Function;
537
537
  stressValue?: number[];
538
+ noAvgTotal?: boolean;
538
539
  }
539
540
  export interface IResponseStudentQuestion {
540
541
  sessionId: number;
@@ -96,7 +96,7 @@ export declare const studentByGradeConvert: (newData: IStudentByGrade[]) => {
96
96
  data: number[];
97
97
  }[];
98
98
  export declare const findTotalStudentByGrade: (data: IStudentByGrade[]) => number;
99
- export declare const getConvertMinuteToHour: (timeSecond: any) => string;
99
+ export declare const getConvertMinuteToHour: (minutes: number | string) => string;
100
100
  export declare const readinesToLearnoptions: (seriesName: string[], data: any, handleHoverTooltip?: Function | undefined, chartName?: string | undefined) => ApexOptions;
101
101
  export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[]) => {
102
102
  name: string;
@@ -5,7 +5,7 @@ export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[]
5
5
  data: number[];
6
6
  }[];
7
7
  export declare const handleAveraged: (points: number[], isStress?: boolean | undefined) => number;
8
- export declare const getConvertMinuteToHour: (timeSecond: any, usingText?: boolean | undefined) => string;
8
+ export declare const getConvertMinuteToHour: (time: any, usingText?: boolean | undefined) => string;
9
9
  export declare const getTimeOfFirstDayCurrentMonth: () => number;
10
10
  export declare const getTimeCurrentDay: () => number;
11
11
  export declare const getTimeOfFirstDayLastMonth: () => number;