mario-teacher-student-client 2.1.16 → 2.1.17-beta

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,10 @@
1
+ import { FC } from "react";
2
+ interface IConfirmCancel {
3
+ title: string;
4
+ isOpen: boolean;
5
+ confirmAndClose: () => void;
6
+ onChangeAssistant: Function;
7
+ handleConfirm: Function;
8
+ }
9
+ declare const ModalAssistant: FC<IConfirmCancel>;
10
+ export default ModalAssistant;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AssistantSelector: ({ onChangeAssistant }: any) => JSX.Element;
3
+ export default AssistantSelector;
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { FORM_REQUEST } from "../../../constants/types";
2
3
  declare type PropsType = {
3
4
  actionId: number;
4
5
  reloadRef: React.MutableRefObject<any>;
@@ -6,8 +7,9 @@ declare type PropsType = {
6
7
  declare const useDialogRequest: (_props: PropsType, ref: any) => {
7
8
  open: boolean;
8
9
  isTeacher: any;
10
+ isAssistant: any;
9
11
  classList: never[];
10
- formData: any;
12
+ formData: FORM_REQUEST;
11
13
  changeFormData: (updatedForm: any) => void;
12
14
  changeTitle: (e: any) => void;
13
15
  handleDateChange: (date: any) => void;
@@ -14,8 +14,6 @@ export interface FILTER_SESSION {
14
14
  className?: string;
15
15
  }
16
16
  export interface FORM_REQUEST {
17
- studentId?: number;
18
- teacherId?: number;
19
17
  title?: string;
20
18
  class?: string;
21
19
  deadline?: number | null;
@@ -3,6 +3,7 @@ import { LearningStrategyType, LearningStrategyCategory, TypeTime } from "../con
3
3
  declare const useConductOne: () => {
4
4
  currentUser: any;
5
5
  isTeacher: any;
6
+ isAssistant: boolean;
6
7
  isStudent: any;
7
8
  listQuestionTeachers: any;
8
9
  listQuestionStudents: any;
@@ -29,5 +30,8 @@ declare const useConductOne: () => {
29
30
  setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
30
31
  classFontSize: string;
31
32
  isStudentChangeAfter: boolean;
33
+ startTimerSession: any;
34
+ isCheckResultTimer: boolean;
35
+ setIsCheckResultTimer: import("react").Dispatch<import("react").SetStateAction<boolean>>;
32
36
  };
33
37
  export default useConductOne;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FILTER_STUDENT_SESSION } from "../constants/types";
2
3
  declare const useStudentList: () => {
3
4
  students: any;
@@ -10,5 +11,10 @@ declare const useStudentList: () => {
10
11
  classFontSize: string;
11
12
  useStyles: (props?: any) => Record<"select" | "fontCustom", string>;
12
13
  defaultFont: any;
14
+ onSubmitAssistant: (cb: Function) => Promise<void>;
15
+ setAssistantId: import("react").Dispatch<import("react").SetStateAction<number>>;
16
+ setStudentAssistant: import("react").Dispatch<import("react").SetStateAction<number>>;
17
+ isRoleTeacherAndAssistant: boolean;
18
+ nameTeacherAssistant: any;
13
19
  };
14
20
  export default useStudentList;