mario-education 2.5.2-release → 2.5.4-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.
Files changed (57) hide show
  1. package/dist/components/layouts/hooks/useHeaderSideBar.d.ts +1 -1
  2. package/dist/components/layouts/icons/SafetyIcon.d.ts +2 -0
  3. package/dist/components/layouts/icons/StressIcon.d.ts +2 -0
  4. package/dist/containers/AssignCounselor/hooks/useAssignCounselor.d.ts +2 -2
  5. package/dist/containers/AssignCounselor/utils/type.interface.d.ts +4 -6
  6. package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +1 -1
  7. package/dist/containers/ConversationGoal/components/DetailTokenModel.d.ts +2 -0
  8. package/dist/containers/ConversationGoal/components/PermissionSelected.d.ts +3 -0
  9. package/dist/containers/ConversationGoal/configs/contants.d.ts +2 -0
  10. package/dist/containers/ConversationGoal/configs/types.d.ts +6 -0
  11. package/dist/containers/ConversationGoal/hooks/useConversationGoal.d.ts +9 -0
  12. package/dist/containers/ConversationGoal/hooks/useExternalApi.d.ts +12 -0
  13. package/dist/containers/ConversationGoal/views/ConversationGoal.d.ts +2 -0
  14. package/dist/containers/Dashboard/components/BarChart.d.ts +5 -1
  15. package/dist/containers/Dashboard/components/BubbleChartCustom.d.ts +6 -2
  16. package/dist/containers/Dashboard/components/ConcernMetricTab.d.ts +1 -1
  17. package/dist/containers/Dashboard/components/ConversationTab.d.ts +1 -1
  18. package/dist/containers/Dashboard/components/GeneratePlpChart.d.ts +1 -1
  19. package/dist/containers/Dashboard/components/GenerateTrendQuestion.d.ts +1 -1
  20. package/dist/containers/Dashboard/components/GraphTrend.d.ts +1 -1
  21. package/dist/containers/Dashboard/components/ModelSkillStudent.d.ts +1 -1
  22. package/dist/containers/Dashboard/components/ReadinessToLearnTab.d.ts +1 -1
  23. package/dist/containers/Dashboard/components/TotalCard.d.ts +2 -2
  24. package/dist/containers/Dashboard/configs/constants.d.ts +40 -1
  25. package/dist/containers/Dashboard/configs/types.d.ts +244 -9
  26. package/dist/containers/Dashboard/configs/utils.d.ts +5 -2
  27. package/dist/containers/Dashboard/hooks/useChartDatas.d.ts +3 -10
  28. package/dist/containers/Dashboard/hooks/useDashboard.d.ts +40 -12
  29. package/dist/containers/Dashboard/views/Dashboard.d.ts +1 -2
  30. package/dist/containers/Homepage/common/utils.d.ts +1 -1
  31. package/dist/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +2 -2
  32. package/dist/containers/MyStudent/components/NewOverview/Chat/types/types.d.ts +1 -1
  33. package/dist/containers/MyStudent/components/NewOverview/Chat/view/AreaChart.d.ts +1 -0
  34. package/dist/containers/MyStudent/components/NewOverview/Chat/view/OverallDonutChart.d.ts +1 -0
  35. package/dist/containers/OneRosterSystem/components/RestApiProgress.d.ts +1 -0
  36. package/dist/containers/OneRosterSystem/components/VeraCrossConfigForm.d.ts +1 -0
  37. package/dist/containers/OneRosterSystem/configs/constants.d.ts +1 -0
  38. package/dist/containers/OneRosterSystem/configs/types.d.ts +2 -1
  39. package/dist/containers/OneRosterSystem/hooks/userOpenApply.d.ts +9 -0
  40. package/dist/containers/OneRosterSystem/views/OpenApplyImport.d.ts +2 -0
  41. package/dist/containers/SurveyDashboard/styles/makeStyles.d.ts +2 -2
  42. package/dist/index.css +10973 -9607
  43. package/dist/index.d.ts +2 -1
  44. package/dist/index.js +16448 -18794
  45. package/dist/index.js.map +1 -1
  46. package/dist/index.modern.js +16452 -18799
  47. package/dist/index.modern.js.map +1 -1
  48. package/dist/services/conversationGoalApi.d.ts +2 -0
  49. package/dist/services/dashboardService.d.ts +3 -0
  50. package/dist/services/oneRosterService.d.ts +3 -0
  51. package/dist/services/userService.d.ts +2 -1
  52. package/dist/styles/styles.d.ts +1 -1
  53. package/dist/types/types.d.ts +9 -0
  54. package/dist/utils/constantsFn.d.ts +3 -0
  55. package/dist/utils/serviceType.interface.d.ts +11 -0
  56. package/dist/utils/type.d.ts +1 -0
  57. package/package.json +3 -3
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox, ISeries, ISummarizeQuestion } from "../configs/types";
2
+ import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ISeries, ISummarizeQuestion, IFilterCalendar, ILowMetricStudent, IConversationKpi } from "../configs/types";
3
3
  import { IFilter, Student } from "../../../utils/type";
4
4
  import { IStudentSkillQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
5
+ import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
6
+ import { IStudent } from "../../../types/types";
5
7
  declare const useDashboard: () => {
6
8
  setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
7
9
  filter: DashboardFilter;
@@ -21,10 +23,7 @@ declare const useDashboard: () => {
21
23
  user: any;
22
24
  studentDefault: Student | undefined;
23
25
  setStudentDefault: import("react").Dispatch<import("react").SetStateAction<Student | undefined>>;
24
- genderOfStudent: string;
25
- setGenderOfStudent: import("react").Dispatch<import("react").SetStateAction<string>>;
26
26
  handleFilterStudent: (option: any) => void;
27
- handleFilterTeacher: (option: any) => void;
28
27
  onChangeFilters: (filterSelect: IFilter) => void;
29
28
  handleActiveColumnOneToOne: (index: number, name: string) => void;
30
29
  monthsOneToOne: string[];
@@ -39,14 +38,6 @@ declare const useDashboard: () => {
39
38
  gradeList: string[];
40
39
  studentPressure: IStudentPressure;
41
40
  dataOverallReadyToLearn: IOverallReadinessToLearn;
42
- seriesConference: ISeries[];
43
- avgConferenceLastMonth: IQuestionResponseLastMonth[];
44
- monthsConference: string[];
45
- dayOfWeekConference: string[];
46
- handleActiveColumnConference: (index: number) => void;
47
- activeColumnConference: boolean[];
48
- labelBox: ILabelBox;
49
- setLabelBox: import("react").Dispatch<import("react").SetStateAction<ILabelBox>>;
50
41
  studentSkillQuestion: IStudentSkillQuestion;
51
42
  summarizeQuestions: ISummarizeQuestion | undefined;
52
43
  handleRedirectAllAnswer: () => void;
@@ -60,5 +51,42 @@ declare const useDashboard: () => {
60
51
  goToSession: (sessionId: number, sessionResultId: number) => void;
61
52
  isExistQuestion: boolean;
62
53
  setIsExistQuestion: import("react").Dispatch<import("react").SetStateAction<boolean>>;
54
+ handleChangeFilterCalendar: (value: IFilterCalendar) => void;
55
+ handleChangeFilterGrade: (grade: string) => void;
56
+ activeTab: string;
57
+ setActiveTab: import("react").Dispatch<import("react").SetStateAction<string>>;
58
+ handleHoverTooltip: (name: string) => void;
59
+ academicYearItem: any;
60
+ handleChangeEndDateChart: (date: MaterialUiPickersDate) => void;
61
+ handleChangeStartDateChart: (date: MaterialUiPickersDate) => void;
62
+ expandedFilter: boolean;
63
+ onToggleChart: () => void;
64
+ classFontSize: string;
65
+ fontSizeInputSelect: string;
66
+ successIndicatorWeeklyData: ISeries[];
67
+ weeksOneToOne: string[];
68
+ preparednessWeeklyData: ISeries[];
69
+ metricWeeks: string[];
70
+ metricDataWeeks: number[];
71
+ metricMonths: string[];
72
+ metricDataMonths: number[];
73
+ lowMetricStudents: ILowMetricStudent[];
74
+ handleClick: (event: React.MouseEvent<HTMLElement>) => void;
75
+ handleClose: () => void;
76
+ anchorEl: HTMLElement | null;
77
+ id_export: string | undefined;
78
+ openPopoverExport: boolean;
79
+ toggle: () => void;
80
+ handleSelectToPrint: (chartName: string) => void;
81
+ selectedToPrint: string[];
82
+ modal: boolean;
83
+ schoolName: any;
84
+ onClearFilter: () => void;
85
+ onSaveFilter: () => void;
86
+ studentData: IStudent[];
87
+ studentMetricPercent: number;
88
+ setOptionDate: import("react").Dispatch<import("react").SetStateAction<string>>;
89
+ stressValue: number[];
90
+ conversationKpi: IConversationKpi;
63
91
  };
64
92
  export default useDashboard;
@@ -1,3 +1,2 @@
1
- import { FC } from "react";
2
- declare const Dashboard: FC;
1
+ declare const Dashboard: () => JSX.Element;
3
2
  export default Dashboard;
@@ -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;
@@ -5,7 +5,7 @@ import { ISeries } from "../../../../../Dashboard/configs/types";
5
5
  export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
6
6
  export declare const average: (arr: number[]) => number;
7
7
  export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
8
- export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
8
+ export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined, hasTooltip?: boolean | undefined) => ApexOptions;
9
9
  export declare const learningStrategyChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean) => ApexOptions;
10
10
  export declare const readinesToLearnoptions: (seriesName: string[], data: any, redirectStudentOverview?: Function | undefined, isStudent?: boolean | undefined, colors?: string[] | undefined, isStudentResponses?: boolean | undefined) => ApexOptions;
11
11
  export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[], chartWidth: number, isStudentResponses?: boolean | undefined) => {
@@ -20,7 +20,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
20
20
  questionTranslation?: string | undefined;
21
21
  }[];
22
22
  export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any, dayOfWeek?: string[] | undefined) => ApexOptions;
23
- export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek?: string[] | undefined, isCountSeries?: boolean | undefined) => ApexOptions;
23
+ export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek?: string[] | undefined, isCountSeries?: boolean | undefined, noGradient?: boolean | undefined) => ApexOptions;
24
24
  export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[], isHardQuestion?: boolean | undefined) => {
25
25
  name: string;
26
26
  data: number[];
@@ -226,6 +226,6 @@ export interface IModelStudentSession {
226
226
  export interface IModelSkillStudent {
227
227
  studentCount?: number;
228
228
  studentPercentage?: number;
229
- name: string;
229
+ name?: string;
230
230
  responseStudent?: IResponseStudentQuestion[];
231
231
  }
@@ -8,6 +8,7 @@ interface IProps {
8
8
  colors: string[];
9
9
  isCountSeries?: boolean;
10
10
  min?: number;
11
+ noGradient?: boolean;
11
12
  }
12
13
  declare const AreaChart: FC<IProps>;
13
14
  export default AreaChart;
@@ -7,6 +7,7 @@ interface IProps {
7
7
  isCountSeries?: boolean;
8
8
  width?: number | string;
9
9
  height?: number | string;
10
+ hasTooltip?: boolean;
10
11
  }
11
12
  declare const OverallDonutChart: FC<IProps>;
12
13
  export default OverallDonutChart;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  interface RestApiProgressProps {
3
3
  restApiInfo?: object;
4
+ importInfo: string[];
4
5
  }
5
6
  declare const RestApiProgress: React.FC<RestApiProgressProps>;
6
7
  export default RestApiProgress;
@@ -3,6 +3,7 @@ import { VERA_CROSS_CONFIG } from "../configs/types";
3
3
  interface Props {
4
4
  veraCrossConfig: VERA_CROSS_CONFIG;
5
5
  updateData: Function;
6
+ labelTime?: string;
6
7
  }
7
8
  declare const VeraCrossConfigForm: FC<Props>;
8
9
  export default VeraCrossConfigForm;
@@ -11,3 +11,4 @@ export declare const DEFAULT_PAGE_SIZE: {
11
11
  };
12
12
  export declare const DEFAULT_FILTER: UserRosterFilter;
13
13
  export declare const IMPORT_VERA_CROSS_NAME: string[];
14
+ export declare const IMPORT_OPEN_APPLY_NAME: string[];
@@ -21,7 +21,8 @@ export declare type CreateRosterUserDto = {
21
21
  export declare enum UserRosterSortBy {
22
22
  USERNAME = "Username",
23
23
  EMAIL = "Email",
24
- ROLE = "Role"
24
+ ROLE = "Role",
25
+ GRADE = "Grade"
25
26
  }
26
27
  export declare type VERA_CROSS_CONFIG = {
27
28
  cronjobTime: string;
@@ -0,0 +1,9 @@
1
+ import { VERA_CROSS_CONFIG } from "../configs/types";
2
+ declare const userOpenApply: () => {
3
+ openApplyConfig: VERA_CROSS_CONFIG;
4
+ errorImportRest: string | null;
5
+ updateData: (values: any) => Promise<void>;
6
+ restApiInfo: object | undefined;
7
+ handleImportFromRestfulApi: () => Promise<void>;
8
+ };
9
+ export default userOpenApply;
@@ -0,0 +1,2 @@
1
+ declare const OpenApplyImport: () => JSX.Element;
2
+ export default OpenApplyImport;
@@ -1,3 +1,3 @@
1
- export declare const useStyles: (props?: any) => Record<"body" | "title" | "tabs" | "tabLabel" | "tabLabelActive", string>;
2
- export declare const useStyleModelCreate: (props: any) => Record<"label" | "root" | "completed" | "instructions", string>;
1
+ export declare const useStyles: (props?: any) => Record<"title" | "body" | "tabs" | "tabLabel" | "tabLabelActive", string>;
2
+ export declare const useStyleModelCreate: (props: any) => Record<"root" | "label" | "completed" | "instructions", string>;
3
3
  export declare const useStylesDataGrid: (props?: any) => Record<"root", string>;