mario-education 2.4.31-admin → 2.4.35-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[];
@@ -28,7 +28,7 @@ export declare const mtssOptions: {
28
28
  value: MtssType;
29
29
  label: string;
30
30
  }[];
31
- export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[]) => ApexOptions;
31
+ export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[], screenWidth: number) => ApexOptions;
32
32
  export declare const ReadinessToLearnOptions: (questionTexts: string[]) => ApexOptions;
33
33
  export declare const optionsChartGrade: (maxDatas: number) => ApexOptions;
34
34
  export declare const studentBySpecialNeedOptions: (seriesValue: IseriesChart, colors: string[]) => ApexOptions;
@@ -1,8 +1,8 @@
1
- import { TYPECHART } from "../configs/types";
1
+ import { TYPECHART, IChartOptions } from "../configs/types";
2
2
  declare const useBehavior: (initialTypeChart: TYPECHART[]) => {
3
3
  chartIsOpened: boolean[];
4
4
  onToggle: (idx: number) => void;
5
- onChangeChart: (idx: number, type: TYPECHART) => void;
5
+ onChangeChart: (idx: number, type: TYPECHART, options?: IChartOptions[] | undefined) => void;
6
6
  typeChartList: TYPECHART[];
7
7
  teacherUserId: string;
8
8
  changeCurrentTeacherUserId: (userId: string) => void;
@@ -2,22 +2,16 @@ 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[];
@@ -48,5 +42,17 @@ declare const useChartDatas: () => {
48
42
  chartClassReflection: import("../configs/types").IColumnChartAndPercent;
49
43
  chartConference: import("../configs/types").IColumnChartAndPercent;
50
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[];
51
57
  };
52
58
  export default useChartDatas;