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.
- package/dist/components/layouts/hooks/useHeaderSideBar.d.ts +1 -1
- package/dist/components/layouts/icons/SafetyIcon.d.ts +2 -0
- package/dist/components/layouts/icons/StressIcon.d.ts +2 -0
- package/dist/containers/AssignCounselor/hooks/useAssignCounselor.d.ts +2 -2
- package/dist/containers/AssignCounselor/utils/type.interface.d.ts +4 -6
- package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +1 -1
- package/dist/containers/ConversationGoal/components/DetailTokenModel.d.ts +2 -0
- package/dist/containers/ConversationGoal/components/PermissionSelected.d.ts +3 -0
- package/dist/containers/ConversationGoal/configs/contants.d.ts +2 -0
- package/dist/containers/ConversationGoal/configs/types.d.ts +6 -0
- package/dist/containers/ConversationGoal/hooks/useConversationGoal.d.ts +9 -0
- package/dist/containers/ConversationGoal/hooks/useExternalApi.d.ts +12 -0
- package/dist/containers/ConversationGoal/views/ConversationGoal.d.ts +2 -0
- package/dist/containers/Dashboard/components/BarChart.d.ts +5 -1
- package/dist/containers/Dashboard/components/BubbleChartCustom.d.ts +6 -2
- package/dist/containers/Dashboard/components/ConcernMetricTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/ConversationTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/GeneratePlpChart.d.ts +1 -1
- package/dist/containers/Dashboard/components/GenerateTrendQuestion.d.ts +1 -1
- package/dist/containers/Dashboard/components/GraphTrend.d.ts +1 -1
- package/dist/containers/Dashboard/components/ModelSkillStudent.d.ts +1 -1
- package/dist/containers/Dashboard/components/ReadinessToLearnTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/TotalCard.d.ts +2 -2
- package/dist/containers/Dashboard/configs/constants.d.ts +40 -1
- package/dist/containers/Dashboard/configs/types.d.ts +244 -9
- package/dist/containers/Dashboard/configs/utils.d.ts +5 -2
- package/dist/containers/Dashboard/hooks/useChartDatas.d.ts +3 -10
- package/dist/containers/Dashboard/hooks/useDashboard.d.ts +40 -12
- package/dist/containers/Dashboard/views/Dashboard.d.ts +1 -2
- package/dist/containers/Homepage/common/utils.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +2 -2
- package/dist/containers/MyStudent/components/NewOverview/Chat/types/types.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/AreaChart.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/OverallDonutChart.d.ts +1 -0
- package/dist/containers/OneRosterSystem/components/RestApiProgress.d.ts +1 -0
- package/dist/containers/OneRosterSystem/components/VeraCrossConfigForm.d.ts +1 -0
- package/dist/containers/OneRosterSystem/configs/constants.d.ts +1 -0
- package/dist/containers/OneRosterSystem/configs/types.d.ts +2 -1
- package/dist/containers/OneRosterSystem/hooks/userOpenApply.d.ts +9 -0
- package/dist/containers/OneRosterSystem/views/OpenApplyImport.d.ts +2 -0
- package/dist/containers/SurveyDashboard/styles/makeStyles.d.ts +2 -2
- package/dist/index.css +10973 -9607
- package/dist/index.d.ts +2 -1
- package/dist/index.js +16448 -18794
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +16452 -18799
- package/dist/index.modern.js.map +1 -1
- package/dist/services/conversationGoalApi.d.ts +2 -0
- package/dist/services/dashboardService.d.ts +3 -0
- package/dist/services/oneRosterService.d.ts +3 -0
- package/dist/services/userService.d.ts +2 -1
- package/dist/styles/styles.d.ts +1 -1
- package/dist/types/types.d.ts +9 -0
- package/dist/utils/constantsFn.d.ts +3 -0
- package/dist/utils/serviceType.interface.d.ts +11 -0
- package/dist/utils/type.d.ts +1 -0
- 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,
|
|
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;
|
|
@@ -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: (
|
|
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[];
|
|
@@ -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;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => Record<"
|
|
2
|
-
export declare const useStyleModelCreate: (props: any) => Record<"
|
|
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>;
|