mario-teacher-student-client 2.2.6-beta → 2.2.10-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 (60) hide show
  1. package/dist/components/Button/CustomButton.d.ts +11 -0
  2. package/dist/components/layouts/HeaderSideBar.d.ts +4 -0
  3. package/dist/components/selector/CustomFilterComponent.d.ts +3 -1
  4. package/dist/components/selector/CustomFilterMobile.d.ts +23 -0
  5. package/dist/containers/ConductSurvey/components/HeaderSurvey.d.ts +1 -0
  6. package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +1 -0
  7. package/dist/containers/ExternalSurvey/api/externalService.d.ts +2 -1
  8. package/dist/containers/ExternalSurvey/constant/types.d.ts +4 -0
  9. package/dist/containers/ExternalSurvey/hooks/useExternalSurvey.d.ts +2 -0
  10. package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +2 -0
  11. package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +5 -1
  12. package/dist/containers/MyStudent/components/ChartOverview.d.ts +1 -1
  13. package/dist/containers/MyStudent/components/NewOverview/Chat/Components/ChoiceChartType.d.ts +9 -0
  14. package/dist/containers/MyStudent/components/NewOverview/Chat/configs/constants.d.ts +11 -0
  15. package/dist/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +33 -0
  16. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts +9 -5
  17. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartOneToOne.d.ts +11 -6
  18. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useConference.d.ts +9 -5
  19. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts +6 -5
  20. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useRedinessToLearn.d.ts +7 -6
  21. package/dist/containers/MyStudent/components/NewOverview/Chat/types/types.d.ts +51 -0
  22. package/dist/containers/MyStudent/components/NewOverview/Chat/view/AreaChart.d.ts +9 -0
  23. package/dist/containers/MyStudent/components/NewOverview/Chat/view/BarAndAreaChart.d.ts +10 -0
  24. package/dist/containers/MyStudent/components/NewOverview/Chat/view/BarChart.d.ts +9 -0
  25. package/dist/containers/MyStudent/components/NewOverview/Chat/view/BubbleChartCustom.d.ts +7 -0
  26. package/dist/containers/MyStudent/components/NewOverview/Chat/view/CheckboxCustom.d.ts +12 -0
  27. package/dist/containers/MyStudent/components/NewOverview/Chat/view/ColumnChartAndPercent.d.ts +23 -0
  28. package/dist/containers/MyStudent/components/NewOverview/Chat/view/LineChart.d.ts +9 -0
  29. package/dist/containers/MyStudent/components/NewOverview/Chat/view/TopLearningStrategy.d.ts +4 -0
  30. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useLearningStrategies.d.ts +2 -2
  31. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +7 -2
  32. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +1 -6
  33. package/dist/containers/MyStudent/components/OverviewToPDF.d.ts +3 -0
  34. package/dist/containers/MyStudent/hooks/useClassReflectionList.d.ts +6 -0
  35. package/dist/containers/MyStudent/hooks/useDesignation.d.ts +5 -0
  36. package/dist/containers/MyStudent/hooks/useOverview.d.ts +70 -0
  37. package/dist/containers/MyStudent/hooks/useOverviewToPDF.d.ts +66 -0
  38. package/dist/containers/MyStudent/utils/type.interface.d.ts +4 -0
  39. package/dist/containers/PLP/hooks/usePlpPage.d.ts +76 -0
  40. package/dist/containers/Surveys/components/CardItemMobile/CardSurveyMobile.d.ts +4 -0
  41. package/dist/containers/Surveys/components/StepComponents/CreateSurveyComponent.d.ts +1 -1
  42. package/dist/containers/Surveys/components/StepComponents/ModelSelectQuestion.d.ts +1 -1
  43. package/dist/containers/Surveys/components/StepComponents/ModelSelectSurveyTemplate.d.ts +1 -1
  44. package/dist/containers/Surveys/constants/constant.d.ts +1 -0
  45. package/dist/containers/Surveys/constants/tableColumn.d.ts +11 -0
  46. package/dist/containers/Surveys/constants/typeCardItem.d.ts +15 -0
  47. package/dist/containers/Surveys/constants/types.d.ts +3 -2
  48. package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +7 -7
  49. package/dist/containers/Surveys/hook/useExternalSurveyList.d.ts +1 -1
  50. package/dist/containers/Surveys/hook/useFormCreateSurvey.d.ts +19 -0
  51. package/dist/containers/Surveys/hook/useListSurvey.d.ts +16 -0
  52. package/dist/containers/Surveys/hook/useSelectQuestion.d.ts +26 -0
  53. package/dist/containers/Surveys/hook/useSelectStudent.d.ts +15 -0
  54. package/dist/index.css +334 -334
  55. package/dist/index.js +6182 -5135
  56. package/dist/index.js.map +1 -1
  57. package/dist/index.modern.js +6124 -5077
  58. package/dist/index.modern.js.map +1 -1
  59. package/dist/services/MyStudent.d.ts +2 -0
  60. package/package.json +2 -2
@@ -0,0 +1,11 @@
1
+ import { FC, HTMLProps } from "react";
2
+ interface Props {
3
+ color?: string;
4
+ label: string;
5
+ backgroundColor?: string;
6
+ handleClickOpen?: Function;
7
+ fontSize?: string;
8
+ icon?: HTMLProps<HTMLButtonElement>;
9
+ }
10
+ declare const CustomButton: FC<Props>;
11
+ export default CustomButton;
@@ -1,3 +1,7 @@
1
1
  /// <reference types="react" />
2
+ export declare const ICON_NAV: {
3
+ name: string;
4
+ icon: JSX.Element;
5
+ }[];
2
6
  declare const HeaderSideBar: ({ children, navigations }: any) => JSX.Element;
3
7
  export default HeaderSideBar;
@@ -2,6 +2,7 @@
2
2
  interface FILTER {
3
3
  startDate?: number | null;
4
4
  endDate?: number | null;
5
+ isFavorite?: boolean;
5
6
  }
6
7
  interface PROPS_FILTER {
7
8
  filters?: FILTER;
@@ -12,6 +13,7 @@ interface PROPS_FILTER {
12
13
  isShowSelectRight?: boolean;
13
14
  handleChangeStatus?: Function;
14
15
  placeholderSearch?: string;
16
+ handleSelectFavorite?: Function;
15
17
  }
16
- declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch }: PROPS_FILTER) => JSX.Element;
18
+ declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch, handleSelectFavorite }: PROPS_FILTER) => JSX.Element;
17
19
  export default CustomFilterComponent;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ interface FILTER {
3
+ startDate?: number | null;
4
+ endDate?: number | null;
5
+ isFavorite?: boolean;
6
+ }
7
+ interface PROPS_FILTER {
8
+ filters?: FILTER;
9
+ handleChangeStartDate?: Function;
10
+ handleChangeEndDate?: Function;
11
+ handleChangeInputSearch: Function;
12
+ inputSearch: any;
13
+ isShowSelectRight?: boolean;
14
+ handleChangeStatus?: Function;
15
+ placeholderSearch?: string;
16
+ handleSelectFavorite?: Function;
17
+ onShowFilter?: Function;
18
+ isShowFilter?: boolean;
19
+ isShowCalendar?: boolean;
20
+ onShowFilterCalendar?: Function;
21
+ }
22
+ declare const CustomFilterMobile: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, handleChangeStatus, placeholderSearch, handleSelectFavorite, onShowFilter, isShowFilter, isShowCalendar, onShowFilterCalendar }: PROPS_FILTER) => JSX.Element;
23
+ export default CustomFilterMobile;
@@ -15,6 +15,7 @@ interface Props {
15
15
  isGoback?: boolean;
16
16
  isShowButtonScheduleBackGround?: boolean;
17
17
  onScheduleButton?: Function;
18
+ isDone?: boolean;
18
19
  }
19
20
  declare const HeaderSurvey: FC<Props>;
20
21
  export default HeaderSurvey;
@@ -24,5 +24,6 @@ declare const useConductSurvey: () => {
24
24
  questionIBLearner: string;
25
25
  setQuestionIBLearner: import("react").Dispatch<import("react").SetStateAction<string>>;
26
26
  isSchedule: boolean;
27
+ isDone: boolean;
27
28
  };
28
29
  export default useConductSurvey;
@@ -1,5 +1,6 @@
1
+ import { BODY_TYPE_EXTERNAL } from "../constant/types";
1
2
  export declare const shareSurvey: (data: any) => void;
2
3
  export declare const getAllEduTeacher: () => Promise<import("axios").AxiosResponse<any>>;
3
- export declare const startExternalSurvey: (token: string, email: string) => Promise<import("axios").AxiosResponse<any>>;
4
+ export declare const startExternalSurvey: (body: BODY_TYPE_EXTERNAL) => Promise<import("axios").AxiosResponse<any>>;
4
5
  export declare const updateItemQuestionAnswer: (isAdditional: boolean, body: any) => Promise<import("axios").AxiosResponse<any>>;
5
6
  export declare const finishExternalSurvey: (externalSurveyId: number, email: string) => Promise<import("axios").AxiosResponse<any>>;
@@ -63,3 +63,7 @@ export interface DATA_FORM_EMAIL {
63
63
  emailContent: string;
64
64
  surveyId: number;
65
65
  }
66
+ export interface BODY_TYPE_EXTERNAL {
67
+ token: string;
68
+ externalSurveyId: number;
69
+ }
@@ -12,5 +12,7 @@ declare const useExternalSurvey: () => {
12
12
  questionSummarize: any;
13
13
  setQuestionSummarize: import("react").Dispatch<any>;
14
14
  isDone: boolean;
15
+ externalSurveyId: string;
16
+ surveyId: string;
15
17
  };
16
18
  export default useExternalSurvey;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Props {
2
3
  bestfit: string;
3
4
  content: string;
@@ -16,5 +17,6 @@ declare const useAddLearningStrategies: () => {
16
17
  handleShowSelectItemCount: () => number;
17
18
  classFontSize: string;
18
19
  bestFits: string[];
20
+ setLearningStrategyData: import("react").Dispatch<any>;
19
21
  };
20
22
  export default useAddLearningStrategies;
@@ -1,4 +1,7 @@
1
- declare const useEditLearningStrategies: () => {
1
+ interface Props {
2
+ isShowChoose?: boolean;
3
+ }
4
+ declare const useEditLearningStrategies: ({ isShowChoose }: Props) => {
2
5
  open: boolean;
3
6
  handleClickOpen: (id: any) => void;
4
7
  handleClose: () => void;
@@ -21,5 +24,6 @@ declare const useEditLearningStrategies: () => {
21
24
  nameStudent: string;
22
25
  isParent: any;
23
26
  changeFilters: (e: string) => void;
27
+ data: any;
24
28
  };
25
29
  export default useEditLearningStrategies;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const ChartOverview: (props: any) => JSX.Element;
2
+ declare const ChartOverview: ({ isPlp, dataReadinessOfChart, seriesOneToOne, handleChangeStartDate, handleChangeEndDate, timeEnd, timeStart, handleChangeStartDateClassReflection, handleChangeEndDateClassReflection, timeEndClassReflection, timeStartClassReflection, seriesConference, handleChangeStartDateConference, handleChangeEndDateConference, timeEndConference, timeStartConference, handleChangeStartLearningProgress, handleChangeEndLearningProgress, timeEndLearningProgress, timeStartLearningProgress, topLearningStrategiesData, handleActiveColumnOneToOne, activeColumnOneToOne, avgOneToOne, monthsOneToOne, dataConvertedOneToOne, onChangeChart, typeChartList, dataConvertedClassReflection, monthsClassReflection, avgClassReflection, seriesClassRefection, activeColumnClassReflection, handleActiveColumnClassReflection, onChangeTypeChartReflection, typeChartReflection, dataConvertedConference, avgConference, monthsConference, activeColumnConference, handleActiveColumnConference, onChangeTypeConference, typeChartConference, seriesLearningProgress, onChangeTypeLearningProgress, dataConvertedLearningProgress, typeChartLearningProgress, monthsLearningProgress }: any) => JSX.Element;
3
3
  export default ChartOverview;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { IChartOptions, TYPECHART } from "../types/types";
3
+ interface IChoiceChartType {
4
+ onChangeChart: Function;
5
+ typeChart?: TYPECHART[];
6
+ options: IChartOptions[];
7
+ }
8
+ declare const ChoiceChartType: ({ onChangeChart, typeChart, options }: IChoiceChartType) => JSX.Element;
9
+ export default ChoiceChartType;
@@ -1 +1,12 @@
1
1
  export declare const COLOR_CHART: string[];
2
+ export declare const PERCENT: number[];
3
+ export declare const COLOR_CHART_BUBBLE: string[];
4
+ export declare const LEARNING_STRATEGY_INIT: {
5
+ learningStrategies: never[];
6
+ };
7
+ export declare const COLOR_CHART_AND_PERCENTS: string[];
8
+ export declare const INITIAl_COLUNM_CHART_AND_PERCENT: {
9
+ overviewQuestionChoice: never[];
10
+ type: string;
11
+ };
12
+ export declare const INITIAL_AVG: number[];
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ import { ApexOptions } from "apexcharts";
3
+ import { IOverviewQuestionChoice, IReadinessToLearning, ISeries } from "../types/types";
4
+ export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
5
+ export declare const average: (arr: number[]) => number;
6
+ export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
7
+ export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[], screenWidth: number) => ApexOptions;
8
+ export declare const readinesToLearnoptions: (seriesName: string[]) => ApexOptions;
9
+ export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[]) => {
10
+ name: string;
11
+ data: import("react").ReactText[][];
12
+ }[];
13
+ export declare const optionLineChart: (months: string[], activeData: boolean[]) => ApexOptions;
14
+ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: boolean) => {
15
+ type: string;
16
+ name: string;
17
+ data: number[];
18
+ }[];
19
+ export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any) => ApexOptions;
20
+ export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean) => ApexOptions;
21
+ export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
22
+ name: string;
23
+ data: number[];
24
+ }[];
25
+ export declare const convertToSeriesColumnChartAndPercentProgress: (data: IOverviewQuestionChoice[]) => {
26
+ name: string;
27
+ data: number[];
28
+ }[];
29
+ export declare const convertToSeriesColumnChartAndPercentConference: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
30
+ name: string;
31
+ data: number[];
32
+ }[];
33
+ export declare const convertToAvg: (dataCharts: string[], data: IOverviewQuestionChoice[], months: string[]) => number[];
@@ -1,10 +1,6 @@
1
1
  import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
2
- import { ApexOptions } from "apexcharts";
2
+ import { ISeries, TYPECHART } from "../types/types";
3
3
  declare const useChartClassReflection: (studentId: any) => {
4
- seriesChartClassReflection: any;
5
- optionClassReflection: ApexOptions;
6
- widthChartClassReflection: number;
7
- heightChartClassReflection: number;
8
4
  handleChangeStartDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
9
5
  handleChangeEndDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
10
6
  timeEndClassReflection: any;
@@ -12,5 +8,13 @@ declare const useChartClassReflection: (studentId: any) => {
12
8
  anchorEl: any;
13
9
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
14
10
  handleClose: () => void;
11
+ dataConvertedClassReflection: string[];
12
+ monthsClassReflection: string[];
13
+ avgClassReflection: number[];
14
+ seriesClassRefection: ISeries[];
15
+ activeColumnClassReflection: boolean[];
16
+ handleActiveColumnClassReflection: (index: any) => void;
17
+ onChangeTypeChartReflection: (type: TYPECHART) => void;
18
+ typeChartReflection: TYPECHART[];
15
19
  };
16
20
  export default useChartClassReflection;
@@ -1,9 +1,7 @@
1
1
  import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
2
- import { ApexOptions } from "apexcharts";
3
- declare const useChartOneToOne: (studentId: any) => {
4
- series: any;
5
- widthChartOne: number;
6
- heightChartOne: number;
2
+ import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
3
+ declare const useChartOneToOne: (studentId: number) => {
4
+ chartOneToOneData: IColumnChartAndPercent;
7
5
  handleChangeStartDate: (datepicker: MaterialUiPickersDate) => void;
8
6
  handleChangeEndDate: (datepicker: MaterialUiPickersDate) => void;
9
7
  timeEnd: any;
@@ -11,6 +9,13 @@ declare const useChartOneToOne: (studentId: any) => {
11
9
  anchorEl: any;
12
10
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
13
11
  handleClose: () => void;
14
- optionOneToOne: ApexOptions;
12
+ handleActiveColumnOneToOne: (index: any) => void;
13
+ activeColumnOneToOne: boolean[];
14
+ avgOneToOne: number[];
15
+ monthsOneToOne: string[];
16
+ dataConvertedOneToOne: string[];
17
+ seriesOneToOne: ISeries[];
18
+ onChangeChart: (type: TYPECHART) => void;
19
+ typeChartList: TYPECHART[];
15
20
  };
16
21
  export default useChartOneToOne;
@@ -1,9 +1,6 @@
1
1
  import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
2
- import { ApexOptions } from "apexcharts";
2
+ import { ISeries, TYPECHART } from "../types/types";
3
3
  declare const useChartConference: (studentId: any) => {
4
- seriesConference: any;
5
- widthChartConference: number;
6
- heightChartConference: number;
7
4
  handleChangeStartDateConference: (datepicker: MaterialUiPickersDate) => void;
8
5
  handleChangeEndDateConference: (datepicker: MaterialUiPickersDate) => void;
9
6
  timeEndConference: any;
@@ -11,6 +8,13 @@ declare const useChartConference: (studentId: any) => {
11
8
  anchorEl: any;
12
9
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
13
10
  handleClose: () => void;
14
- optionConference: ApexOptions;
11
+ seriesConference: ISeries[];
12
+ dataConvertedConference: string[];
13
+ avgConference: number[];
14
+ monthsConference: string[];
15
+ activeColumnConference: boolean[];
16
+ handleActiveColumnConference: (index: number) => void;
17
+ onChangeTypeConference: (type: TYPECHART) => void;
18
+ typeChartConference: TYPECHART[];
15
19
  };
16
20
  export default useChartConference;
@@ -1,9 +1,6 @@
1
1
  import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
2
- import { ApexOptions } from "apexcharts";
2
+ import { ISeries, TYPECHART } from "../types/types";
3
3
  declare const useLearningProgress: (studentId: any) => {
4
- seriesLearningProgress: any;
5
- widthChartLearningProgress: number;
6
- heightChartLearningProgress: number;
7
4
  handleChangeStartLearningProgress: (datepicker: MaterialUiPickersDate) => void;
8
5
  handleChangeEndLearningProgress: (datepicker: MaterialUiPickersDate) => void;
9
6
  timeEndLearningProgress: any;
@@ -11,6 +8,10 @@ declare const useLearningProgress: (studentId: any) => {
11
8
  anchorEl: any;
12
9
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
13
10
  handleClose: () => void;
14
- optionLearningProgress: ApexOptions;
11
+ seriesLearningProgress: ISeries[];
12
+ onChangeTypeLearningProgress: (type: TYPECHART) => void;
13
+ dataConvertedLearningProgress: string[];
14
+ typeChartLearningProgress: TYPECHART[];
15
+ monthsLearningProgress: string[];
15
16
  };
16
17
  export default useLearningProgress;
@@ -1,12 +1,13 @@
1
1
  import { ApexOptions } from "apexcharts";
2
- declare const useRedinessToLearn: (studentId: any) => {
3
- widthChart: number;
4
- heightChart: number;
5
- options: ApexOptions;
6
- anchorEl: any;
2
+ import { IReadinessToLearning } from "../types/types";
3
+ declare const useRedinessToLearn: (studentId: number) => {
4
+ widthChartReadinessToLearn: number;
5
+ heightChartReadinessToLearn: number;
6
+ optionsReadinessToLearn: ApexOptions;
7
+ anchorElReadinessToLearn: any;
7
8
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
8
9
  handleClose: () => void;
9
10
  setChartData: () => Promise<void>;
10
- dataReadinessOfChart: any;
11
+ dataReadinessOfChart: IReadinessToLearning[];
11
12
  };
12
13
  export default useRedinessToLearn;
@@ -0,0 +1,51 @@
1
+ export interface IStudentPercentQuestion {
2
+ percentQuestion: number;
3
+ studentId: number;
4
+ studentName: string;
5
+ }
6
+ export interface IReadinessToLearning {
7
+ questionText: string;
8
+ percentQuestion: IStudentPercentQuestion[];
9
+ }
10
+ export interface ILearningItem {
11
+ learningStrategyName: string;
12
+ usageCount: number;
13
+ usagePoint: number[];
14
+ }
15
+ export interface ILearningStrategies {
16
+ learningStrategies: ILearningItem[];
17
+ }
18
+ export interface ITopLearningStrategy {
19
+ data: ILearningStrategies;
20
+ }
21
+ export interface IReadinessToLearning {
22
+ questionText: string;
23
+ studentPercentQuestion: IStudentPercentQuestion[];
24
+ }
25
+ export interface ISeries {
26
+ name: string;
27
+ data: number[];
28
+ }
29
+ export declare enum TYPECHART {
30
+ AREA = 0,
31
+ BAR = 1,
32
+ LINE = 2,
33
+ BOTH = 3
34
+ }
35
+ export interface IResultQuestion {
36
+ avgOfStudentChoice: number;
37
+ questionId: number;
38
+ questionText: string;
39
+ }
40
+ export interface IOverviewQuestionChoice {
41
+ month: string;
42
+ resultQuestion: IResultQuestion[];
43
+ }
44
+ export interface IColumnChartAndPercent {
45
+ overviewQuestionChoice: IOverviewQuestionChoice[];
46
+ type: string;
47
+ }
48
+ export interface IChartOptions {
49
+ value: TYPECHART;
50
+ label: string;
51
+ }
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import { ISeries } from "../types/types";
3
+ interface IProps {
4
+ months: string[];
5
+ activeColumn: boolean[];
6
+ series: ISeries[];
7
+ }
8
+ declare const AreaChart: FC<IProps>;
9
+ export default AreaChart;
@@ -0,0 +1,10 @@
1
+ import { FC } from "react";
2
+ import { ISeries } from "../types/types";
3
+ interface IProps {
4
+ months: string[];
5
+ activeColumn: boolean[];
6
+ series: ISeries[];
7
+ isHasLineChart: boolean;
8
+ }
9
+ declare const BarAndAreaChart: FC<IProps>;
10
+ export default BarAndAreaChart;
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import { ISeries } from "../types/types";
3
+ interface IProps {
4
+ months: string[];
5
+ activeColumn: boolean[];
6
+ series: ISeries[];
7
+ }
8
+ declare const BarChart: FC<IProps>;
9
+ export default BarChart;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { IReadinessToLearning } from "../types/types";
3
+ interface IProps {
4
+ data: IReadinessToLearning[];
5
+ }
6
+ declare const _default: React.NamedExoticComponent<IProps>;
7
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ interface IProps {
3
+ background?: string;
4
+ width?: number;
5
+ height?: number;
6
+ isActive?: boolean;
7
+ className?: string;
8
+ props?: any;
9
+ onClick?: () => void;
10
+ }
11
+ declare const CheckboxCustom: FC<IProps>;
12
+ export default CheckboxCustom;
@@ -0,0 +1,23 @@
1
+ import { FC } from "react";
2
+ import { IChartOptions, TYPECHART } from "../types/types";
3
+ import { ISeries } from "../types/types";
4
+ export interface IProps {
5
+ data: any;
6
+ typeChart: TYPECHART[];
7
+ isHasLineChart?: boolean;
8
+ onActiveColumn?: Function;
9
+ activeColumn: boolean[];
10
+ series: ISeries[];
11
+ avg?: number[];
12
+ months: any;
13
+ onChangeChart: Function;
14
+ optionType: IChartOptions[];
15
+ name: string;
16
+ isHiddenLabel?: boolean;
17
+ timeStart?: string;
18
+ timeEnd?: string;
19
+ handleChangeStartDate?: Function;
20
+ handleChangeEndDate?: Function;
21
+ }
22
+ declare const ColumnChartAndPercent: FC<IProps>;
23
+ export default ColumnChartAndPercent;
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import { ISeries } from "../types/types";
3
+ interface IProps {
4
+ months: string[];
5
+ activeColumn: boolean[];
6
+ series: ISeries[];
7
+ }
8
+ declare const LineChart: FC<IProps>;
9
+ export default LineChart;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ITopLearningStrategy } from "../types/types";
3
+ declare const _default: React.NamedExoticComponent<ITopLearningStrategy>;
4
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  declare const useLearningStrategies: (studentId: any) => {
2
- filters: {
2
+ filtersLearningStrategiesData: {
3
3
  searchString: string;
4
4
  currentPage: number;
5
5
  pageSize: number;
@@ -8,7 +8,7 @@ declare const useLearningStrategies: (studentId: any) => {
8
8
  startDate: null;
9
9
  endDate: null;
10
10
  };
11
- changeFilters: (updatedFilters: any) => void;
11
+ changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
12
12
  learningStrategiesData: any;
13
13
  getLearningStrategiesData: () => Promise<void>;
14
14
  };
@@ -1,4 +1,9 @@
1
- declare const useTopLearningStrategies: (studentId: any) => {
2
- topLearningStrategiesData: any;
1
+ /// <reference types="react" />
2
+ import { ILearningStrategies } from "../../Chat/types/types";
3
+ declare const useTopLearningStrategies: (studentId: number) => {
4
+ topLearningStrategiesData: ILearningStrategies;
5
+ topLearningStrategy: any;
6
+ labelName: any;
7
+ usageCountList: import("react").MutableRefObject<number[]>;
3
8
  };
4
9
  export default useTopLearningStrategies;
@@ -1,8 +1,3 @@
1
1
  /// <reference types="react" />
2
- interface TopLearningStrategiesChartProps {
3
- studentId: any;
4
- classFontSize: string;
5
- isPlp?: boolean;
6
- }
7
- declare const TopLearningStrategiesChart: (props: TopLearningStrategiesChartProps) => JSX.Element;
2
+ declare const TopLearningStrategiesChart: (props: any) => JSX.Element;
8
3
  export default TopLearningStrategiesChart;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OverviewToPDF: (props: any) => JSX.Element;
3
+ export default OverviewToPDF;
@@ -1,9 +1,15 @@
1
1
  import { FILTER_SESSION } from "../constants/types";
2
+ interface STUDENT_INFO {
3
+ fullName: string;
4
+ email: string;
5
+ }
2
6
  declare const useClassReflectionList: () => {
3
7
  changeFilters: (updatedFilters: any) => void;
4
8
  filters: FILTER_SESSION;
5
9
  getDataClassReflections: (filters: any, studentId: any) => Promise<void>;
6
10
  classReflectionData: any;
7
11
  classFontSize: string;
12
+ getStudentInfo: (studentId: number) => Promise<void>;
13
+ studentInfo: STUDENT_INFO | undefined;
8
14
  };
9
15
  export default useClassReflectionList;
@@ -0,0 +1,5 @@
1
+ import { IDesignation } from "../utils/type.interface";
2
+ declare const useDesignation: () => {
3
+ designations: IDesignation[];
4
+ };
5
+ export default useDesignation;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FILTER_STUDENT_WELLBEING } from "../constants/types";
2
3
  declare const useOverview: (studentId: number) => {
3
4
  partnerData: any;
@@ -7,5 +8,74 @@ declare const useOverview: (studentId: number) => {
7
8
  informationWellbeing: any;
8
9
  getInformationWellbeing: (type: number, startDate?: any, endDate?: any) => Promise<void>;
9
10
  classFontSize: string;
11
+ widthChartReadinessToLearn: number;
12
+ heightChartReadinessToLearn: number;
13
+ optionsReadinessToLearn: ApexCharts.ApexOptions;
14
+ anchorElReadinessToLearn: any;
15
+ handleClick: (event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void;
16
+ handleClose: () => void;
17
+ dataReadinessOfChart: import("../components/NewOverview/Chat/types/types").IReadinessToLearning[];
18
+ chartOneToOneData: import("../components/NewOverview/Chat/types/types").IColumnChartAndPercent;
19
+ handleChangeStartDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
20
+ handleChangeEndDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
21
+ timeEnd: any;
22
+ timeStart: any;
23
+ handleChangeStartDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
24
+ handleChangeEndDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
25
+ timeEndClassReflection: any;
26
+ timeStartClassReflection: any;
27
+ seriesConference: import("../components/NewOverview/Chat/types/types").ISeries[];
28
+ handleChangeStartDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
29
+ handleChangeEndDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
30
+ timeEndConference: any;
31
+ timeStartConference: any;
32
+ seriesLearningProgress: import("../components/NewOverview/Chat/types/types").ISeries[];
33
+ handleChangeStartLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
34
+ handleChangeEndLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
35
+ timeEndLearningProgress: any;
36
+ timeStartLearningProgress: any;
37
+ topLearningStrategiesData: import("../components/NewOverview/Chat/types/types").ILearningStrategies;
38
+ topLearningStrategy: any;
39
+ labelName: any;
40
+ usageCountList: import("react").MutableRefObject<number[]>;
41
+ learningStrategiesData: any;
42
+ filtersLearningStrategiesData: {
43
+ searchString: string;
44
+ currentPage: number;
45
+ pageSize: number;
46
+ sortBy: string;
47
+ sortOrder: string;
48
+ startDate: null;
49
+ endDate: null;
50
+ };
51
+ changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
52
+ handleActiveColumnOneToOne: (index: any) => void;
53
+ getLearningStrategiesData: () => Promise<void>;
54
+ activeColumnOneToOne: boolean[];
55
+ avgOneToOne: number[];
56
+ monthsOneToOne: string[];
57
+ dataConvertedOneToOne: string[];
58
+ seriesOneToOne: import("../components/NewOverview/Chat/types/types").ISeries[];
59
+ onChangeChart: (type: import("../components/NewOverview/Chat/types/types").TYPECHART) => void;
60
+ typeChartList: import("../components/NewOverview/Chat/types/types").TYPECHART[];
61
+ dataConvertedClassReflection: string[];
62
+ monthsClassReflection: string[];
63
+ avgClassReflection: number[];
64
+ seriesClassRefection: import("../components/NewOverview/Chat/types/types").ISeries[];
65
+ activeColumnClassReflection: boolean[];
66
+ handleActiveColumnClassReflection: (index: any) => void;
67
+ onChangeTypeChartReflection: (type: import("../components/NewOverview/Chat/types/types").TYPECHART) => void;
68
+ typeChartReflection: import("../components/NewOverview/Chat/types/types").TYPECHART[];
69
+ dataConvertedConference: string[];
70
+ avgConference: number[];
71
+ monthsConference: string[];
72
+ activeColumnConference: boolean[];
73
+ handleActiveColumnConference: (index: number) => void;
74
+ onChangeTypeConference: (type: import("../components/NewOverview/Chat/types/types").TYPECHART) => void;
75
+ typeChartConference: import("../components/NewOverview/Chat/types/types").TYPECHART[];
76
+ onChangeTypeLearningProgress: (type: import("../components/NewOverview/Chat/types/types").TYPECHART) => void;
77
+ dataConvertedLearningProgress: string[];
78
+ typeChartLearningProgress: import("../components/NewOverview/Chat/types/types").TYPECHART[];
79
+ monthsLearningProgress: string[];
10
80
  };
11
81
  export default useOverview;