mario-teacher-student-client 2.1.68-beta → 2.1.70-admin

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.
@@ -12,6 +12,11 @@ interface Props {
12
12
  isConference?: boolean;
13
13
  sessionType?: string;
14
14
  classFontSize?: string;
15
+ isConversation?: boolean;
16
+ onChangeConversationSession?: any;
17
+ isTeacher?: boolean;
18
+ isUserChangeSession?: boolean;
19
+ isConversationOneToOne?: boolean;
15
20
  }
16
21
  declare const ConductTop: FC<Props>;
17
22
  export default ConductTop;
@@ -36,5 +36,9 @@ declare const useConductOne: () => {
36
36
  numberOfEdit: number;
37
37
  learningSupportCategoryId: number;
38
38
  setLearningSupportCategoryId: import("react").Dispatch<import("react").SetStateAction<number>>;
39
+ isConversation: boolean;
40
+ setConversation: import("react").Dispatch<import("react").SetStateAction<boolean>>;
41
+ onChangeConversationSession: (isOneToOneConversation: boolean) => Promise<void>;
42
+ isConversationOneToOne: any;
39
43
  };
40
44
  export default useConductOne;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const DialogEditLearningStrategy: ({ id, handleClose, open, getOneData, handleChangeNote, updateItem, handleBestFit, handleOpenConfirmDeleteDialog }: any) => JSX.Element;
2
+ declare const DialogEditLearningStrategy: ({ id, handleClose, open, getOneData, handleChangeNote, updateItem, handleBestFit, handleOpenConfirmDeleteDialog, }: any) => JSX.Element;
3
3
  export default DialogEditLearningStrategy;
@@ -5,7 +5,7 @@ declare const useCreateStudent: () => {
5
5
  handleCloseConfirmModal: () => void;
6
6
  handleSendMailToCheckUser: (email: string, values: any) => Promise<void>;
7
7
  openConfirmModal: boolean;
8
- handleAcceptEmail: () => void;
8
+ handleAcceptEmail: (values: any) => void;
9
9
  handleDeclineEmail: () => void;
10
10
  handleOpenParentModal1: () => void;
11
11
  handleOpenParentModal2: () => void;
@@ -0,0 +1,5 @@
1
+ import { IDesignation } from "../utils/type.interface";
2
+ declare const useDesignation: () => {
3
+ designations: IDesignation[];
4
+ };
5
+ export default useDesignation;
@@ -24,7 +24,7 @@ declare const useUpdateProfile: (studentId: number) => {
24
24
  getEduTeacherByStudent: (studentId: number) => Promise<void>;
25
25
  removeAssignEduTeacherById: (studentId: number, eduTeacherId: number) => Promise<void>;
26
26
  handleSendMailToCheckUser: (email: string, values: any) => Promise<void>;
27
- handleAcceptEmail: () => void;
27
+ handleAcceptEmail: (values: any) => void;
28
28
  handleDeclineEmail: () => void;
29
29
  openConfirmModal: boolean;
30
30
  handleCloseConfirmModal: () => void;
@@ -0,0 +1,4 @@
1
+ export interface IDesignation {
2
+ name: string;
3
+ id: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TeachingStrategiesAdd: () => JSX.Element;
3
+ export default TeachingStrategiesAdd;
@@ -0,0 +1,13 @@
1
+ export declare const data: ({
2
+ id: number;
3
+ title: string;
4
+ detail: string;
5
+ bestFits: string;
6
+ betsFits?: undefined;
7
+ } | {
8
+ id: number;
9
+ title: string;
10
+ detail: string;
11
+ betsFits: string;
12
+ bestFits?: undefined;
13
+ })[];
@@ -1,7 +1,10 @@
1
1
  export interface THING_TEACHER_CAN_HELP {
2
2
  id: number;
3
+ teachingStrateId: number;
3
4
  name: string;
4
5
  content: string;
6
+ note: string;
7
+ bestFits: string;
5
8
  }
6
9
  export interface THING_TEACHER_TYPE {
7
10
  studentId: number;
@@ -0,0 +1,18 @@
1
+ declare type TeachingStrategy = {
2
+ id: number;
3
+ title: string;
4
+ detail: string;
5
+ note: string;
6
+ bestFits: string;
7
+ };
8
+ declare const useTeachingStrategiesAdd: () => {
9
+ bestFits: string[];
10
+ handleSelectStrategy: (checked: boolean, data: TeachingStrategy) => void;
11
+ checkSelectedItem: (id: number) => boolean;
12
+ handleCreateTeachingStrategy: () => Promise<void>;
13
+ handleGetBack: () => void;
14
+ selectedStrategies: any;
15
+ renderNote: (id: number) => any;
16
+ handleChangeNote: (e: string, currentItem: any) => void;
17
+ };
18
+ export default useTeachingStrategiesAdd;
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  declare const useThingTeachersCanHelp: () => {
3
- create: (data: any) => Promise<void>;
4
3
  update: (id: number, data: any) => Promise<void>;
5
4
  getById: (id: number) => Promise<void>;
6
5
  deleteById: (id: number) => Promise<void>;
@@ -15,5 +14,15 @@ declare const useThingTeachersCanHelp: () => {
15
14
  nameStudent: string;
16
15
  getAllow: () => Promise<void>;
17
16
  isParent: any;
17
+ selectedItemId: number;
18
+ openEditModal: boolean;
19
+ openConfirmDelete: boolean;
20
+ handleOpenConfirmDeleteDialog: (id: number) => void;
21
+ handleCloseConfirmDeleteDialog: () => void;
22
+ handleDelete: (id: number) => Promise<void>;
23
+ handleOpenEditDialog: (id: number) => Promise<void>;
24
+ handleCloseEditDialog: () => void;
25
+ handleChangeCurrentNote: (e: any) => void;
26
+ handleUpdateStrategy: () => Promise<void>;
18
27
  };
19
28
  export default useThingTeachersCanHelp;