mario-teacher-student-client 2.1.2 → 2.1.5

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 (26) hide show
  1. package/dist/components/Button/AddButton.d.ts +1 -0
  2. package/dist/components/Dialog/ConfirmCancel.d.ts +9 -0
  3. package/dist/components/selector/StudentSelector.d.ts +1 -1
  4. package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +1 -1
  5. package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +2 -0
  6. package/dist/containers/Home/hooks/getEventCalendar.d.ts +1 -0
  7. package/dist/containers/LearningStrategies/view/LearningStrategiesMobileItem.d.ts +11 -0
  8. package/dist/containers/MyClassReflection/hooks/useClassReflectionList.d.ts +5 -0
  9. package/dist/containers/MyConferences/constants/constantsFn.d.ts +3 -0
  10. package/dist/containers/MyConferences/hooks/useUpComing.d.ts +3 -0
  11. package/dist/containers/MyOneToOne/components/dialog/DialogRecurrence.d.ts +2 -1
  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/hooks/useStudentList.d.ts +2 -0
  15. package/dist/containers/Note/hook/useNote.d.ts +4 -0
  16. package/dist/containers/PersonalLearningPlan/PersonalInterests/components/CardItemMobile/CardItemMobile.d.ts +10 -0
  17. package/dist/hooks/useFontStyles.d.ts +6 -0
  18. package/dist/index.css +1123 -60
  19. package/dist/index.js +2024 -767
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.modern.js +2008 -751
  22. package/dist/index.modern.js.map +1 -1
  23. package/dist/services/MyClassReflection.d.ts +1 -0
  24. package/dist/utils/constants.d.ts +2 -0
  25. package/dist/utils/constantsFn.d.ts +2 -0
  26. package/package.json +1 -1
@@ -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,9 @@
1
+ import { FC } from "react";
2
+ interface IConfirmCancel {
3
+ title: string;
4
+ isOpen: boolean;
5
+ confirmAndClose: () => void;
6
+ exit: () => void;
7
+ }
8
+ declare const ConfirmCancel: FC<IConfirmCancel>;
9
+ export default ConfirmCancel;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const StudentSelector: ({ setStudentId, setStudentUserId, setStudentName, setStudentProfileImage, studentUserId, setIsCheckStudent, isShowDropDownIcon }: any) => JSX.Element | null;
2
+ declare const StudentSelector: ({ setStudentId, setStudentUserId, setStudentName, setStudentProfileImage, studentUserId, setIsCheckStudent, isShowDropDownIcon, classes }: any) => JSX.Element | null;
3
3
  export default StudentSelector;
@@ -4,7 +4,7 @@ declare type PropsType = {
4
4
  reloadRef: React.MutableRefObject<any>;
5
5
  };
6
6
  declare const useDialogRequest: (_props: PropsType, ref: any) => {
7
- open: any;
7
+ open: boolean;
8
8
  isTeacher: any;
9
9
  classList: never[];
10
10
  formData: any;
@@ -14,5 +14,7 @@ declare const useTodoList: () => {
14
14
  getActionPointList: () => Promise<void>;
15
15
  isTeacher: any;
16
16
  classFontSize: string;
17
+ handleClickShowFilter: () => void;
18
+ checkShowFilter: () => boolean;
17
19
  };
18
20
  export default useTodoList;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -0,0 +1,6 @@
1
+ declare const useFontStyles: () => {
2
+ defaultFont: any;
3
+ classFontSize: string;
4
+ useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
5
+ };
6
+ export default useFontStyles;