mario-teacher-student-client 2.1.18 → 2.1.19
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/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +5 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +19 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +6 -0
- package/package.json +2 -2
- package/dist/components/Header/HeaderSurvey.d.ts +0 -11
- package/dist/components/Input/TextAreaComponent.d.ts +0 -8
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +0 -3
- package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +0 -3
- package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +0 -3
- package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +0 -8
- package/dist/containers/MySurvey/constants/types.d.ts +0 -41
- package/dist/containers/MySurvey/hooks/useStudentList.d.ts +0 -9
- package/dist/containers/MySurvey/views/CreateSurvey.d.ts +0 -3
- package/dist/containers/MySurvey/views/Mysurvey.d.ts +0 -3
- package/dist/containers/MySurvey/views/StudentSurvey.d.ts +0 -3
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/ListPersonalinterrest.d.ts +0 -3
- package/dist/containers/PersonalLearningPlan/contants/types.d.ts +0 -5
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +0 -5
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
|
+
declare const useChartConference: () => {
|
|
4
|
+
topLearningStrategiesData: any;
|
|
5
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<{
|
|
6
|
+
studentId: number;
|
|
7
|
+
startDate: number;
|
|
8
|
+
endDate: number;
|
|
9
|
+
type: string;
|
|
10
|
+
}>>;
|
|
11
|
+
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
+
handleClose: () => void;
|
|
13
|
+
anchorEl: any;
|
|
14
|
+
handleChangeStartDate: (datepicker: MaterialUiPickersDate | null) => void;
|
|
15
|
+
handleChangeEndDate: (datepicker: MaterialUiPickersDate | null) => void;
|
|
16
|
+
timeEnd: Date;
|
|
17
|
+
timeStart: Date;
|
|
18
|
+
};
|
|
19
|
+
export default useChartConference;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getConferenceChart: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mario-teacher-student-client",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.19",
|
|
4
4
|
"description": "Made with create-react-library",
|
|
5
5
|
"author": "brss",
|
|
6
6
|
"license": "MIT",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"jspdf": "^2.5.0",
|
|
92
92
|
"lodash": "^4.17.21",
|
|
93
93
|
"mario-chat": "^1.7.9",
|
|
94
|
-
"mario-core": "^2.9.
|
|
94
|
+
"mario-core": "^2.9.6",
|
|
95
95
|
"material-ui": "^0.20.2",
|
|
96
96
|
"moment": "^2.29.1",
|
|
97
97
|
"node-sass": "^5.0.0",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
text: string;
|
|
4
|
-
isShowButtonBackGround?: boolean;
|
|
5
|
-
onFinishSession?: Function;
|
|
6
|
-
goBack?: Function;
|
|
7
|
-
isShowButtonPageHeader?: boolean;
|
|
8
|
-
textButton?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const HeaderSurvey: FC<Props>;
|
|
11
|
-
export default HeaderSurvey;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const useAccommodation: () => {
|
|
2
|
-
create: (data: any) => Promise<void>;
|
|
3
|
-
update: (id: number, data: any) => Promise<void>;
|
|
4
|
-
getById: (id: number, data: any) => Promise<void>;
|
|
5
|
-
deleteById: (id: number) => Promise<void>;
|
|
6
|
-
accommodationData: any;
|
|
7
|
-
};
|
|
8
|
-
export default useAccommodation;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export interface FILTER_STUDENT_SESSION {
|
|
2
|
-
currentPage: number;
|
|
3
|
-
pageSize: number;
|
|
4
|
-
searchString: string;
|
|
5
|
-
sortBy: string;
|
|
6
|
-
sortOrder?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
startDate?: number;
|
|
9
|
-
endDate?: number;
|
|
10
|
-
isDone?: boolean;
|
|
11
|
-
isDescending?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface SESSION_TYPE {
|
|
14
|
-
id: string;
|
|
15
|
-
studentId: string;
|
|
16
|
-
teacherId: number;
|
|
17
|
-
startTime: string;
|
|
18
|
-
minutes?: number;
|
|
19
|
-
isDoing?: boolean;
|
|
20
|
-
isDone?: boolean;
|
|
21
|
-
isCreatedByTeacher?: boolean;
|
|
22
|
-
isFavourite: boolean;
|
|
23
|
-
isTeacherFavourite: boolean;
|
|
24
|
-
isTeacherDone?: boolean;
|
|
25
|
-
teacherName?: string;
|
|
26
|
-
studentAvatar?: string;
|
|
27
|
-
studentName?: string;
|
|
28
|
-
gradeLevel?: any;
|
|
29
|
-
finalScore?: any;
|
|
30
|
-
studentProfile?: any;
|
|
31
|
-
sortOrder?: string;
|
|
32
|
-
teacherResultId?: number;
|
|
33
|
-
}
|
|
34
|
-
export declare enum OrderByStudent {
|
|
35
|
-
id = 0,
|
|
36
|
-
name = 1,
|
|
37
|
-
grade = 2,
|
|
38
|
-
lastOneToOne = 3,
|
|
39
|
-
lastConference = 4,
|
|
40
|
-
totalTime = 5
|
|
41
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FILTER_STUDENT_SESSION } from "../constants/types";
|
|
2
|
-
declare const useStudentList: () => {
|
|
3
|
-
students: any;
|
|
4
|
-
changeFilters: (updatedFilters: any) => void;
|
|
5
|
-
filters: FILTER_STUDENT_SESSION;
|
|
6
|
-
importStudentCsv: (file: any, teacherID: string, cb: any) => Promise<void>;
|
|
7
|
-
getData: () => Promise<void>;
|
|
8
|
-
};
|
|
9
|
-
export default useStudentList;
|