mario-teacher-student-client 2.1.1 → 2.1.4

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 (24) 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/components/CurrentFullCalendar.d.ts +1 -1
  7. package/dist/containers/Home/components/StyleWrapper.d.ts +5 -0
  8. package/dist/containers/LearningStrategies/view/LearningStrategiesMobileItem.d.ts +11 -0
  9. package/dist/containers/MyClassReflection/hooks/useClassReflectionList.d.ts +5 -0
  10. package/dist/containers/MyConferences/constants/constantsFn.d.ts +3 -0
  11. package/dist/containers/MyConferences/hooks/useUpComing.d.ts +3 -0
  12. package/dist/containers/MyOneToOne/components/dialog/DialogRecurrence.d.ts +2 -1
  13. package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +1 -0
  14. package/dist/containers/MyStudent/hooks/useStudentInfo.d.ts +4 -0
  15. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
  16. package/dist/containers/Note/hook/useNote.d.ts +5 -0
  17. package/dist/containers/PersonalLearningPlan/PersonalInterests/components/CardItemMobile/CardItemMobile.d.ts +10 -0
  18. package/dist/index.css +1142 -71
  19. package/dist/index.js +2328 -1004
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.modern.js +2312 -988
  22. package/dist/index.modern.js.map +1 -1
  23. package/dist/services/MyClassReflection.d.ts +1 -0
  24. 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;
@@ -2,7 +2,7 @@
2
2
  interface myProp {
3
3
  eventList: any[];
4
4
  isTeacher: boolean;
5
- newDate?: any;
5
+ handleChangeDate?: any;
6
6
  }
7
7
  declare const CurrentFullCalendar: (props: myProp) => JSX.Element;
8
8
  export default CurrentFullCalendar;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const StyleWrapper: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -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;
@@ -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,4 @@
1
+ declare function useStudentInfo(studentId: number): {
2
+ studentInfo: any;
3
+ };
4
+ export default useStudentInfo;
@@ -8,5 +8,6 @@ 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", string>;
11
12
  };
12
13
  export default useStudentList;
@@ -17,5 +17,10 @@ declare const useNote: () => {
17
17
  handleChangeCategory: (event: React.ChangeEvent<HTMLSelectElement>) => void;
18
18
  dataNoteAllSelect: () => Promise<void>;
19
19
  inputSearch: import("react").MutableRefObject<any>;
20
+ goBackHome: () => void;
21
+ handleToggleShowCalender: () => void;
22
+ handleToggleShowFilter: () => void;
23
+ isShowCalender: boolean;
24
+ isShowFilter: boolean;
20
25
  };
21
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;