mario-teacher-student-client 2.1.5 → 2.1.6

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.
@@ -0,0 +1,11 @@
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;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ label?: string;
4
+ valueText: string;
5
+ onChange: Function;
6
+ }
7
+ declare const TextAreaComponent: ({ valueText, onChange, label }: Props) => JSX.Element;
8
+ export default TextAreaComponent;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const FriendCircle: () => JSX.Element;
3
+ export default FriendCircle;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Accomondation: () => JSX.Element;
3
+ export default Accomondation;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AccomondationList: () => JSX.Element;
3
+ export default AccomondationList;
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,41 @@
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
+ }
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CreateSurvey: () => JSX.Element;
3
+ export default CreateSurvey;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const MySurvey: FC;
3
+ export default MySurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const StudentSurvey: () => JSX.Element;
3
+ export default StudentSurvey;
@@ -1,36 +1,5 @@
1
1
  declare const usePersonalInterest: () => {
2
- upDateData: () => Promise<void>;
3
- editData: (id: number) => Promise<void>;
4
- sendDataCreate: () => Promise<void>;
5
- deleteDataItem: () => Promise<void>;
6
- handleClose: () => void;
7
- handleCloseEdit: () => void;
8
- handUpload: (e: any) => void;
9
- handleCloseDelete: () => void;
10
- dataList: any;
11
- handUploadEdit: (e: any) => void;
12
- openModal: boolean;
13
- openModalDelete: boolean;
14
- openModalEdit: boolean;
15
- targetImage: any;
16
- fileUploadEdit: string;
17
- fileAvatarEdit: string;
18
- deleteData: (id: number) => void;
19
- handOpenModal: () => void;
20
- handCloseModalEdit: () => void;
21
- handCloseModalDelete: () => void;
22
- value: string;
23
- fileAvatar: string;
24
- valueAddActivity: string;
25
- onChangeSetData: (e: any) => void;
26
- onChangeSetDataNote: (e: any) => void;
27
- dataEdit: {
28
- id: string;
29
- Title: string;
30
- Note: string;
31
- studentId: string;
32
- };
33
- onChangeSetDataEdit: (e: any) => void;
34
- onChangeSetDataEditNote: (e: any) => void;
2
+ getDataPersonalInterest: () => Promise<void>;
3
+ listPersonalInterest: any;
35
4
  };
36
5
  export default usePersonalInterest;
@@ -2,5 +2,6 @@ declare const useFontStyles: () => {
2
2
  defaultFont: any;
3
3
  classFontSize: string;
4
4
  useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
5
+ useSmallStyles: (props?: any) => Record<"fontCustom", string>;
5
6
  };
6
7
  export default useFontStyles;