mario-teacher-student-client 2.1.3 → 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.
Files changed (37) hide show
  1. package/dist/components/Button/AddButton.d.ts +1 -0
  2. package/dist/components/Header/HeaderSurvey.d.ts +11 -0
  3. package/dist/components/Input/TextAreaComponent.d.ts +8 -0
  4. package/dist/containers/FriendCircle/views/FriendCircle.d.ts +3 -0
  5. package/dist/containers/Home/hooks/getEventCalendar.d.ts +1 -0
  6. package/dist/containers/LearningStrategies/view/LearningStrategiesMobileItem.d.ts +11 -0
  7. package/dist/containers/MyClassReflection/hooks/useClassReflectionList.d.ts +5 -0
  8. package/dist/containers/MyConferences/constants/constantsFn.d.ts +3 -0
  9. package/dist/containers/MyConferences/hooks/useUpComing.d.ts +3 -0
  10. package/dist/containers/MyOneToOne/components/dialog/DialogRecurrence.d.ts +2 -1
  11. package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +3 -0
  12. package/dist/containers/MyOneToOne/hooks/useSessionCompleted.d.ts +1 -0
  13. package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +1 -0
  14. package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +3 -0
  15. package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +3 -0
  16. package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
  17. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +2 -0
  18. package/dist/containers/MySurvey/constants/types.d.ts +41 -0
  19. package/dist/containers/MySurvey/hooks/useStudentList.d.ts +9 -0
  20. package/dist/containers/MySurvey/views/CreateSurvey.d.ts +3 -0
  21. package/dist/containers/MySurvey/views/Mysurvey.d.ts +3 -0
  22. package/dist/containers/MySurvey/views/StudentSurvey.d.ts +3 -0
  23. package/dist/containers/Note/hook/useNote.d.ts +4 -0
  24. package/dist/containers/PersonalLearningPlan/PersonalInterests/components/CardItemMobile/CardItemMobile.d.ts +10 -0
  25. package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +2 -33
  26. package/dist/hooks/useFontStyles.d.ts +7 -0
  27. package/dist/index.css +2510 -83
  28. package/dist/index.js +1960 -806
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.modern.js +1941 -787
  31. package/dist/index.modern.js.map +1 -1
  32. package/dist/services/MyClassReflection.d.ts +1 -0
  33. package/dist/utils/constants.d.ts +2 -0
  34. package/dist/utils/constantsFn.d.ts +4 -0
  35. package/package.json +1 -1
  36. package/dist/containers/PersonalLearningPlan/hook/personalInterestApi.d.ts +0 -6
  37. package/dist/containers/PersonalLearningPlan/hook/personalInterestsService.d.ts +0 -6
@@ -5,6 +5,7 @@ interface Props {
5
5
  backgroundColor?: string;
6
6
  handleClickOpen?: any;
7
7
  width?: string;
8
+ fontSize?: string;
8
9
  }
9
10
  declare const AddButton: FC<Props>;
10
11
  export default AddButton;
@@ -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;
@@ -1,5 +1,6 @@
1
1
  declare const getEventFullCalendar: (userId: string, year: number, month: number) => {
2
2
  dataEvent: any;
3
3
  classFontSize: string;
4
+ fontSizeHeader: number;
4
5
  };
5
6
  export default getEventFullCalendar;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface PropsType {
3
+ title: string;
4
+ detail: string;
5
+ bestFits: string;
6
+ note: string;
7
+ onDelete: Function;
8
+ onEdit: Function;
9
+ }
10
+ declare const LearningStrategiesMobileItem: ({ title, detail, bestFits, note, onDelete, onEdit }: PropsType) => JSX.Element;
11
+ export default LearningStrategiesMobileItem;
@@ -1,4 +1,6 @@
1
1
  import { FILTER_SESSION } from "../constants/types";
2
+ export declare const defaultFontSmall = 12;
3
+ export declare const defaultFontLarge = 20;
2
4
  declare const useClassReflectionList: () => {
3
5
  changeFilters: (updatedFilters: any) => void;
4
6
  filters: FILTER_SESSION;
@@ -6,5 +8,8 @@ declare const useClassReflectionList: () => {
6
8
  getDataClassReflections: () => Promise<void>;
7
9
  classReflectionData: any;
8
10
  classFontSize: string;
11
+ onDeleteClassReflection: (id: number, cb: any) => Promise<void>;
12
+ defaultFont: any;
13
+ useFontCustomStyles: (props?: any) => Record<"fontCustom" | "select", string>;
9
14
  };
10
15
  export default useClassReflectionList;
@@ -0,0 +1,3 @@
1
+ export declare const SMALL_FONT_DEFAULT = 12;
2
+ export declare const LARGE_FONT_DEFAULT = 20;
3
+ export declare const caculateHeaderFont: (defaultFont: number) => number;
@@ -18,5 +18,8 @@ declare const useUpComing: () => {
18
18
  nextTimeMeeting: () => Promise<void>;
19
19
  getStudentSelector: () => Promise<void>;
20
20
  studentNameReq: string | null;
21
+ defaultFont: any;
22
+ useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
23
+ classFontSize: string;
21
24
  };
22
25
  export default useUpComing;
@@ -4,11 +4,12 @@ interface Props {
4
4
  open: boolean;
5
5
  applyValue: Function;
6
6
  selectedDate?: any;
7
+ dataSession?: any;
7
8
  }
8
9
  export declare enum EndType {
9
10
  Never = "Never",
10
11
  On = "On",
11
12
  After = "After"
12
13
  }
13
- declare const Recurrence: ({ open, handleClose, applyValue }: Props) => JSX.Element;
14
+ declare const Recurrence: ({ open, handleClose, applyValue, dataSession }: Props) => JSX.Element;
14
15
  export default Recurrence;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
+ export default _default;
@@ -6,5 +6,6 @@ declare const useSessionCompleted: () => {
6
6
  changRouteQuestion: (studentId: number) => Promise<void>;
7
7
  convertTimeSecond: (timeSecond: any) => string;
8
8
  classFontSize: string;
9
+ useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
9
10
  };
10
11
  export default useSessionCompleted;
@@ -22,5 +22,6 @@ declare const useUpComing: () => {
22
22
  deleteNoteConference: (noteId: any, sessionId: any) => Promise<void>;
23
23
  studentNameReq: string | null;
24
24
  classFontSize: string;
25
+ useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
25
26
  };
26
27
  export default useUpComing;
@@ -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;
@@ -8,5 +8,7 @@ declare const useStudentList: () => {
8
8
  selectAssistStudent: (studentId: number) => Promise<void>;
9
9
  convertTimeSecond: (timeSecond: any) => string;
10
10
  classFontSize: string;
11
+ useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
12
+ defaultFont: any;
11
13
  };
12
14
  export default useStudentList;
@@ -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;
@@ -18,5 +18,9 @@ declare const useNote: () => {
18
18
  dataNoteAllSelect: () => Promise<void>;
19
19
  inputSearch: import("react").MutableRefObject<any>;
20
20
  goBackHome: () => void;
21
+ handleToggleShowCalender: () => void;
22
+ handleToggleShowFilter: () => void;
23
+ isShowCalender: boolean;
24
+ isShowFilter: boolean;
21
25
  };
22
26
  export default useNote;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface PropsType {
3
+ imageUrl?: string;
4
+ interestName?: string;
5
+ interestDescription?: string;
6
+ onDeleteItem?: Function;
7
+ onEditItem?: Function;
8
+ }
9
+ declare const CardItemMobile: ({ imageUrl, interestName, interestDescription, onDeleteItem, onEditItem }: PropsType) => JSX.Element;
10
+ export default CardItemMobile;
@@ -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;
@@ -0,0 +1,7 @@
1
+ declare const useFontStyles: () => {
2
+ defaultFont: any;
3
+ classFontSize: string;
4
+ useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
5
+ useSmallStyles: (props?: any) => Record<"fontCustom", string>;
6
+ };
7
+ export default useFontStyles;