mario-education 2.4.29-admin → 2.4.33-admin

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.
@@ -6,6 +6,7 @@ export interface IProps {
6
6
  id: string;
7
7
  typeChart?: TYPECHART;
8
8
  isHasLineChart?: boolean;
9
+ isPDF?: boolean;
9
10
  onActiveColumn: Function;
10
11
  activeColumn: boolean[];
11
12
  series: ISeries[];
@@ -101,8 +101,9 @@ export interface IChartComponent {
101
101
  children: JSX.Element | undefined;
102
102
  }
103
103
  export declare enum LegalGenderType {
104
- Male = 0,
105
- Female = 1
104
+ None = 0,
105
+ Male = 1,
106
+ Female = 2
106
107
  }
107
108
  export interface IDesignationsQuantity {
108
109
  name: string;
@@ -1,23 +1,17 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { PROPS_FILTERS_COMPONENT } from "../../../utils/type";
3
3
  import { TYPECHART } from "../configs/types";
4
4
  declare const useChartDatas: () => {
5
- chartDashBoards: ({
5
+ chartDashBoards: {
6
6
  id: string;
7
7
  label: string;
8
- children: (typeChart: TYPECHART) => JSX.Element;
8
+ children: (typeChart: TYPECHART, isPDF?: boolean | undefined) => JSX.Element;
9
9
  isShowChangeChart: boolean;
10
10
  options: {
11
11
  label: string;
12
12
  value: TYPECHART;
13
13
  }[];
14
- } | {
15
- id: string;
16
- label: string;
17
- children: (_: TYPECHART, columnFlex?: boolean | undefined) => JSX.Element;
18
- isShowChangeChart: boolean;
19
- options: never[];
20
- })[];
14
+ }[];
21
15
  user: any;
22
16
  filter: import("../configs/types").DashboardFilter;
23
17
  LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
@@ -38,6 +32,27 @@ declare const useChartDatas: () => {
38
32
  filter: string;
39
33
  })[];
40
34
  onChangeFilters: (filterSelect: import("../../../utils/type").IFilter) => void;
41
- initialTypeChart: (TYPECHART.AREA | TYPECHART)[];
35
+ initialTypeChart: TYPECHART[];
36
+ handleSelectToPrint: (checked: boolean, data: any, chartType: any) => void;
37
+ checkSelectedItem: (id: string) => boolean;
38
+ selectedToPrint: any;
39
+ setSelectedToPrint: React.Dispatch<any>;
40
+ chartOneToOneData: import("../configs/types").IColumnChartAndPercent;
41
+ topLearningStrategies: import("../configs/types").IlearningStrategies;
42
+ chartClassReflection: import("../configs/types").IColumnChartAndPercent;
43
+ chartConference: import("../configs/types").IColumnChartAndPercent;
44
+ safety: import("../configs/types").IColumnChartAndPercent;
45
+ dataConvertedOneToOne: string[];
46
+ activeColumnOneToOne: boolean[];
47
+ avgOneToOne: number[];
48
+ dataConvertedClassReflection: string[];
49
+ activeColumnClassReflection: boolean[];
50
+ avgClassReflection: number[];
51
+ dataConvertedConference: string[];
52
+ activeColumnConference: boolean[];
53
+ avgConference: number[];
54
+ dataConvertedSafety: string[];
55
+ activeColumnSafety: boolean[];
56
+ avgSafety: number[];
42
57
  };
43
58
  export default useChartDatas;
@@ -19,7 +19,6 @@ declare const useDashboard: () => {
19
19
  studentByGender: IStudentByGender;
20
20
  safety: IColumnChartAndPercent;
21
21
  topSkill: never[];
22
- onFilter: () => void;
23
22
  handleChangeFilters: (event: any) => void;
24
23
  bandScore: BAND_SCORE[];
25
24
  user: any;
@@ -29,10 +28,6 @@ declare const useDashboard: () => {
29
28
  setGenderOfStudent: import("react").Dispatch<import("react").SetStateAction<string>>;
30
29
  handleFilterStudent: (option: any) => void;
31
30
  handleFilterTeacher: (option: any) => void;
32
- handleSelectToPrint: (checked: boolean, data: any, chartType: any) => void;
33
- checkSelectedItem: (id: string) => boolean;
34
- selectedToPrint: any;
35
- setSelectedToPrint: import("react").Dispatch<any>;
36
31
  onChangeFilters: (filterSelect: IFilter) => void;
37
32
  handleActiveColumnOneToOne: (index: any) => void;
38
33
  seriesOneToOne: ISeries[];