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
|
@@ -10,6 +10,7 @@ export declare const getGradeReport: () => Promise<import("axios").AxiosResponse
|
|
|
10
10
|
export declare const getAllTotalTime: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
11
|
export declare const getReadinessToLearning: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
12
12
|
export declare const getTopLearningStrategies: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
13
|
+
export declare const getTopLearningStrategiesConference: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
13
14
|
export declare const getStudentByGrade: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
14
15
|
export declare const getOverviewQuestionChart: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
15
16
|
export declare const getStudentPressure: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -31,3 +32,5 @@ export declare const getAllAcademicYearApi: (filters: any) => Promise<import("ax
|
|
|
31
32
|
export declare const getSessionExportCsvApi: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
32
33
|
export declare const getStudentQuestionSkillApi: (idStudent?: any, startDate?: number | undefined, endDate?: number | undefined, gradeFilter?: string[] | undefined, roles?: string[] | undefined, academicYearId?: number | undefined, optionDate?: string | undefined, teacherId?: number | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
33
34
|
export declare const checkHasSummarizeQuestionApi: () => Promise<import("axios").AxiosResponse<any>>;
|
|
35
|
+
export declare const getVeryLowMetric: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
36
|
+
export declare const getConversationGoal: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -3,6 +3,9 @@ export declare const getRosterConfig: () => Promise<import("axios").AxiosRespons
|
|
|
3
3
|
export declare const getVeraCrossConfig: () => Promise<import("axios").AxiosResponse<any>>;
|
|
4
4
|
export declare const updateVeraCrossConfig: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const updateRosterConfig: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const getOpenApplyConfig: () => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const updateOpenApplyConfig: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const importOpenApplyFromRestfulApi: (fileName: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
9
|
export declare const importVeraCrossFromRestfulApi: (fileName: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
10
|
export declare const importRosterFromFile: (body: FormData, cb?: ((progressEvent: ProgressEvent) => void) | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
11
|
export declare const importRosterFromRestfulApi: (fileName: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -2,7 +2,7 @@ import { TypeStudentWithoutAssistantData } from "../containers/AssignAssistant/u
|
|
|
2
2
|
import { TypeStudentCounselorData } from "../containers/AssignCounselor/utils/type.interface";
|
|
3
3
|
import { TypeStudentSecondaryTeacherData } from "../containers/AssignSecondaryTeacher/utils/type.interface";
|
|
4
4
|
import { TypeStudentAssistantData } from "../containers/SwitchAssistant/utils/type.interface";
|
|
5
|
-
import { IStudentCounselorFilter, IStudentSecondaryTeacherFilter, IStudentWidthAssistant, IStudentWidthTeacher } from "../utils/serviceType.interface";
|
|
5
|
+
import { AssignStudentDto, IStudentCounselorFilter, IStudentSecondaryTeacherFilter, IStudentWidthAssistant, IStudentWidthTeacher } from "../utils/serviceType.interface";
|
|
6
6
|
import { TypeStudentWithoutTeacherData } from "../containers/AssignTeacher/utils/type.interface";
|
|
7
7
|
export declare const getStudentAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentAssistantData>>;
|
|
8
8
|
export declare const getStudentWithoutAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentWithoutAssistantData>>;
|
|
@@ -28,3 +28,4 @@ export declare const getSecondaryTeachers: () => Promise<import("axios").AxiosRe
|
|
|
28
28
|
export declare const getStudentSecondaryTeacher: (data: IStudentSecondaryTeacherFilter) => Promise<import("axios").AxiosResponse<TypeStudentSecondaryTeacherData>>;
|
|
29
29
|
export declare const switchAccountUser: (id: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
30
30
|
export declare const logIn: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
31
|
+
export declare const assignStudentsApi: (data?: AssignStudentDto[] | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/styles/styles.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useTabStyles: (props?: any) => Record<"
|
|
1
|
+
export declare const useTabStyles: (props?: any) => Record<"title" | "body" | "header" | "tabs" | "tabLabel" | "tabLabelActive" | "indicator", string>;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Student } from "../utils/type";
|
|
2
3
|
export interface ITab {
|
|
3
4
|
path: string;
|
|
4
5
|
title: string;
|
|
@@ -41,3 +42,11 @@ export interface ICustomTooltip {
|
|
|
41
42
|
title: string;
|
|
42
43
|
children?: any;
|
|
43
44
|
}
|
|
45
|
+
export interface IStudentMultiSelector {
|
|
46
|
+
studentData: Student[];
|
|
47
|
+
student?: Student | null;
|
|
48
|
+
setStudent: Function;
|
|
49
|
+
grades?: string[];
|
|
50
|
+
fontSizeInputSelect?: string;
|
|
51
|
+
inputStyleProps?: React.CSSProperties;
|
|
52
|
+
}
|
|
@@ -2,3 +2,6 @@ import { ANSWER_TYPES } from "./type";
|
|
|
2
2
|
export declare const removeHTMLTags: (input: string) => string;
|
|
3
3
|
export declare const getAnswerType: (text: string, isAlert?: boolean | undefined) => string | null;
|
|
4
4
|
export declare const getAnswerTypeV2: (answer: any) => ANSWER_TYPES.NEVER | ANSWER_TYPES.SOMETIMES | null | undefined;
|
|
5
|
+
export declare const handleAveraged: (points: number[], isStress?: boolean | undefined) => number;
|
|
6
|
+
export declare const handleGenerateAvgQuestion: (data: number[], isStress: boolean, avgContent?: string | undefined) => string;
|
|
7
|
+
export declare const average: (arr: number[]) => number;
|
|
@@ -41,3 +41,14 @@ export interface IDesignationReponse {
|
|
|
41
41
|
totalItems: number;
|
|
42
42
|
totalPages: number;
|
|
43
43
|
}
|
|
44
|
+
export declare type AssignStudentDto = {
|
|
45
|
+
id: string;
|
|
46
|
+
mainTeacherUserId?: Array<string>;
|
|
47
|
+
mainTeacherEmail?: Array<string>;
|
|
48
|
+
assistantUserId?: string;
|
|
49
|
+
assistantEmail?: string;
|
|
50
|
+
counselorUserIds?: Array<string>;
|
|
51
|
+
counselorEmails?: Array<string>;
|
|
52
|
+
secondaryTeacherUserId?: string;
|
|
53
|
+
secondaryTeacherEmail?: string;
|
|
54
|
+
};
|
package/dist/utils/type.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mario-education",
|
|
3
|
-
"version": "2.05.
|
|
3
|
+
"version": "2.05.04-release",
|
|
4
4
|
"description": "Contains education components && functions for BRSS Mario project",
|
|
5
5
|
"author": "brss",
|
|
6
6
|
"license": "MIT",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"grapesjs-preset-webpage": "^0.1.11",
|
|
97
97
|
"html2canvas": "^1.4.1",
|
|
98
98
|
"jspdf": "^2.5.1",
|
|
99
|
-
"mario-core": "2.10.
|
|
99
|
+
"mario-core": "2.10.03-release",
|
|
100
100
|
"papaparse": "^5.5.2",
|
|
101
101
|
"react-apexcharts": "^1.3.9",
|
|
102
102
|
"react-datepicker": "^3.8.0",
|
|
@@ -106,4 +106,4 @@
|
|
|
106
106
|
"reactstrap": "^8.10.1",
|
|
107
107
|
"yup": "^0.32.9"
|
|
108
108
|
}
|
|
109
|
-
}
|
|
109
|
+
}
|