mario-core 2.9.241-release → 2.9.243-release

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.
@@ -69,7 +69,6 @@ export declare type UserColumn = {
69
69
  };
70
70
  export declare type StudentAssign = {
71
71
  studentId: number;
72
- teacherUserId: string;
73
72
  id: string;
74
73
  email: string;
75
74
  fullName: string;
@@ -85,10 +84,14 @@ export declare type StudentAssign = {
85
84
  counselorEmail: string;
86
85
  secondaryTeacherName: string;
87
86
  secondaryTeacherEmail: string;
87
+ teachers: Array<ITeachers>;
88
+ };
89
+ export interface ITeachers {
90
+ teacherUserId: string;
88
91
  mainTeacherName: string;
89
92
  mainTeacherEmail: string;
90
93
  mainTeacherId?: number;
91
- };
94
+ }
92
95
  export interface IStaffAssign {
93
96
  teacherId: string;
94
97
  teacherEmail: string;
@@ -133,8 +136,8 @@ export interface IOptions {
133
136
  }
134
137
  export declare type AssignStudentDto = {
135
138
  id: string;
136
- mainTeacherUserId?: string;
137
- mainTeacherEmail?: string;
139
+ mainTeacherUserId?: Array<string>;
140
+ mainTeacherEmail?: Array<string>;
138
141
  assistantUserId?: string;
139
142
  assistantEmail?: string;
140
143
  counselorUserId?: string;
@@ -1,5 +1,5 @@
1
1
  import { IStaffAssign } from "../constants/types";
2
- declare const useAssignStudent: (teacherSelected?: object | undefined, assistantSelected?: object | undefined, counselorSelected?: object | undefined, secondaryTeacherSelected?: object | undefined, callback?: Function | undefined) => {
2
+ declare const useAssignStudent: (teacherSelected?: any, assistantSelected?: object | undefined, counselorSelected?: object | undefined, secondaryTeacherSelected?: object | undefined, callback?: Function | undefined) => {
3
3
  handleAssignSingleStudent: (id: string) => void;
4
4
  handleAssignMultiStudent: (listUserIds: string[]) => void;
5
5
  openModelBulk: boolean;
@@ -3,7 +3,7 @@ import { IOptions } from "../constants/types";
3
3
  declare const useTeacherList: () => {
4
4
  selectedTeachers: object | undefined;
5
5
  teacherOptions: IOptions[];
6
- handleSelectTeacher: (teacherId: string, studentUserId: string) => void;
6
+ handleSelectTeacher: (teacherIds: Array<string>, studentUserId: string) => void;
7
7
  handleCreateTeacherOption: (newTeacher: IOptions, studentUserId: string, isSelectTeacher?: boolean | undefined) => void;
8
8
  setSelectedTeachers: import("react").Dispatch<import("react").SetStateAction<object | undefined>>;
9
9
  };
package/dist/index.css CHANGED
@@ -115,6 +115,9 @@
115
115
  width: 100%;
116
116
  height: 100%; }
117
117
 
118
+ ._3EZva {
119
+ height: 46px; }
120
+
118
121
  ._3nuns {
119
122
  font-size: 48px;
120
123
  font-weight: bold;