mario-education 2.4.320-release → 2.4.321-release

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.
@@ -27,6 +27,6 @@ declare const useHeaderSideBar: (_navigations: any) => {
27
27
  handleClose: () => void;
28
28
  renderNavigationItem: (navigation: any, isSubItem?: boolean | undefined) => JSX.Element;
29
29
  goToSettings: () => void;
30
- t: import("i18next").TFunction;
30
+ t: any;
31
31
  };
32
32
  export default useHeaderSideBar;
@@ -15,7 +15,7 @@ interface Props {
15
15
  onSubmit?: Function;
16
16
  }
17
17
  declare const useInterventionDialog: (props: Props) => {
18
- t: import("i18next").TFunction;
18
+ t: any;
19
19
  intervention: INTERVENTION | undefined;
20
20
  interventionLog: INTERVENTION_LOG;
21
21
  answerType: string | null;
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import { TYPECHART } from "../configs/types";
3
- import { ISeries } from "../../../utils/type";
2
+ import { ISeries, TYPECHART } from "../configs/types";
4
3
  export interface IProps {
5
4
  data: any;
6
5
  id: string;
@@ -144,7 +144,7 @@ export interface IStudentByGrade {
144
144
  export interface ISeries {
145
145
  name: string;
146
146
  data: number[];
147
- questionTranslation: string;
147
+ questionTranslation?: string;
148
148
  }
149
149
  export interface ILearningItem {
150
150
  learningStrategyName: string;
@@ -122,7 +122,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
122
122
  type: string;
123
123
  name: string;
124
124
  data: number[];
125
- questionTranslation: string;
125
+ questionTranslation?: string | undefined;
126
126
  }[];
127
127
  export declare const getLastQuarterRange: () => {
128
128
  start: number;
@@ -27,14 +27,14 @@ declare const useChartDatas: () => {
27
27
  topLearningStrategies: import("../configs/types").IlearningStrategies;
28
28
  handleActiveColumnOneToOne: (index: number, name: string) => void;
29
29
  activeColumnSuccessIndicators: boolean[];
30
- successIndicatorsData: import("../../../utils/type").ISeries[];
30
+ successIndicatorsData: import("../configs/types").ISeries[];
31
31
  monthsOneToOne: string[];
32
32
  dayOfWeekOneToOne: string[];
33
33
  activeColumnPreparedness: boolean[];
34
- preparednessData: import("../../../utils/type").ISeries[];
35
- safetyData: import("../../../utils/type").ISeries[];
36
- stressData: import("../../../utils/type").ISeries[];
37
- seriesConference: import("../../../utils/type").ISeries[];
34
+ preparednessData: import("../configs/types").ISeries[];
35
+ safetyData: import("../configs/types").ISeries[];
36
+ stressData: import("../configs/types").ISeries[];
37
+ seriesConference: import("../configs/types").ISeries[];
38
38
  avgConferenceLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
39
39
  monthsConference: string[];
40
40
  dayOfWeekConference: string[];
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox } from "../configs/types";
3
- import { IFilter, Student, ISeries } from "../../../utils/type";
2
+ import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox, ISeries } from "../configs/types";
3
+ import { IFilter, Student } from "../../../utils/type";
4
4
  declare const useDashboard: () => {
5
5
  setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
6
6
  filter: DashboardFilter;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ApexOptions } from "apexcharts";
3
- import { IOverviewQuestionChoice, IReadinessToLearning, ISeries } from "../types/types";
3
+ import { IOverviewQuestionChoice, IReadinessToLearning } from "../types/types";
4
+ import { ISeries } from "../../../../../Dashboard/configs/types";
4
5
  export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
5
6
  export declare const average: (arr: number[]) => number;
6
7
  export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
@@ -16,6 +17,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
16
17
  type: string;
17
18
  name: string;
18
19
  data: number[];
20
+ questionTranslation?: string | undefined;
19
21
  }[];
20
22
  export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any, dayOfWeek?: string[] | undefined) => ApexOptions;
21
23
  export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek?: string[] | undefined, isCountSeries?: boolean | undefined) => ApexOptions;
@@ -1,6 +1,6 @@
1
1
  import { ApexOptions } from "apexcharts";
2
2
  import { ISeries } from "./types";
3
3
  export declare const maxSeries: (series: ISeries[]) => number;
4
- export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, isShowChartLabel?: boolean | undefined, percentData?: boolean | undefined, series?: ISeries[] | undefined) => ApexOptions;
4
+ export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, isShowChartLabel?: boolean | undefined, percentData?: boolean | undefined, series?: any[] | undefined) => ApexOptions;
5
5
  export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any) => ApexOptions;
6
6
  export declare const pieChartOptions: ApexOptions;
@@ -1,4 +1,5 @@
1
- import { DASHBOARD_TEMPLATE, ISeries, TOTAL_DASHBOAD_SURVEY } from "./types";
1
+ import { ISeries } from "../../Dashboard/configs/types";
2
+ import { DASHBOARD_TEMPLATE, TOTAL_DASHBOAD_SURVEY } from "./types";
2
3
  export declare const handleViewSeriesActive: (active: boolean[]) => number[];
3
4
  export declare const convertDataToDataChart: (data: DASHBOARD_TEMPLATE[]) => string[];
4
5
  export declare const convertToSeriesTemplate: (data: DASHBOARD_TEMPLATE[], exact?: boolean | undefined) => {
@@ -13,5 +14,6 @@ export declare const mergeBarChartAndArea: (series: ISeries[]) => {
13
14
  type: string;
14
15
  name: string;
15
16
  data: number[];
17
+ questionTranslation?: string | undefined;
16
18
  }[];
17
19
  export declare const convertToAvg: (dataCharts: string[], data: DASHBOARD_TEMPLATE[], months: string[]) => number[];
@@ -1,3 +1,4 @@
1
+ import { ISeries } from "../../Dashboard/configs/types";
1
2
  import { QuestionType } from "./constants";
2
3
  import { QUESTION_ADDITIONAL } from "./questionModelType";
3
4
  export declare type LoginCountingReport = {
@@ -129,10 +130,6 @@ export interface IStudentByGrade {
129
130
  quantity: number;
130
131
  designationsQuantity: IDesignationsQuantity[];
131
132
  }
132
- export interface ISeries {
133
- name: string;
134
- data: number[];
135
- }
136
133
  export interface ITopMostSurveyUsed {
137
134
  nameSurvey: string;
138
135
  sendDateSurvey: Date;
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ApexOptions } from "apexcharts";
3
3
  import { IOptionSelector } from "../../../components/Select/InputSelector";
4
- import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IReadinessToLearning, ISeries, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
4
+ import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IReadinessToLearning, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
5
+ import { ISeries } from "../../Dashboard/configs/types";
5
6
  export declare const getColors: (length: number) => string[];
6
7
  export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends, supportive }: IsyntheticFriendCircle) => {
7
8
  id: number;
@@ -116,6 +117,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
116
117
  type: string;
117
118
  name: string;
118
119
  data: number[];
120
+ questionTranslation?: string | undefined;
119
121
  }[];
120
122
  export declare const getLastQuarterRange: () => {
121
123
  start: number;
@@ -25,7 +25,7 @@ declare const useChartDatas: () => {
25
25
  checkSelectedItem: (id: string) => boolean;
26
26
  selectedToPrint: any;
27
27
  setSelectedToPrint: import("react").Dispatch<any>;
28
- surveyFlagData: import("../configs/types").ISeries[];
28
+ surveyFlagData: import("../../Dashboard/configs/types").ISeries[];
29
29
  avgResult: number[];
30
30
  activeColumnResult: boolean[];
31
31
  handleActiveColumnOneToOne: (index: any) => void;
@@ -35,8 +35,8 @@ declare const useChartDatas: () => {
35
35
  avgTotal: number[];
36
36
  dayOfWeekResult: string[];
37
37
  genderOfStudent: string;
38
- seriesTotal: import("../configs/types").ISeries[];
39
- seriesResult: import("../configs/types").ISeries[];
38
+ seriesTotal: import("../../Dashboard/configs/types").ISeries[];
39
+ seriesResult: import("../../Dashboard/configs/types").ISeries[];
40
40
  monthsSeriesResult: string[];
41
41
  monthsSeriesTotal: string[];
42
42
  };
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { DashboardFilter, IStudentByGrade, IDashboardToTalSurvey, ISeries } from "../configs/types";
2
+ import { DashboardFilter, IStudentByGrade, IDashboardToTalSurvey } from "../configs/types";
3
3
  import { IFilter, Student } from "../../../utils/type";
4
+ import { ISeries } from "../../Dashboard/configs/types";
4
5
  declare const useDashboard: () => {
5
6
  setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
6
7
  filter: DashboardFilter;