mario-core 2.9.245-release → 2.9.301-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,6 +69,7 @@ export declare type UserColumn = {
69
69
  };
70
70
  export declare type StudentAssign = {
71
71
  studentId: number;
72
+ teacherUserId: string;
72
73
  id: string;
73
74
  email: string;
74
75
  fullName: string;
@@ -84,14 +85,10 @@ export declare type StudentAssign = {
84
85
  counselorEmail: string;
85
86
  secondaryTeacherName: string;
86
87
  secondaryTeacherEmail: string;
87
- teachers: Array<ITeachers>;
88
- };
89
- export interface ITeachers {
90
- teacherUserId: string;
91
88
  mainTeacherName: string;
92
89
  mainTeacherEmail: string;
93
90
  mainTeacherId?: number;
94
- }
91
+ };
95
92
  export interface IStaffAssign {
96
93
  teacherId: string;
97
94
  teacherEmail: string;
@@ -136,8 +133,8 @@ export interface IOptions {
136
133
  }
137
134
  export declare type AssignStudentDto = {
138
135
  id: string;
139
- mainTeacherUserId?: Array<string>;
140
- mainTeacherEmail?: Array<string>;
136
+ mainTeacherUserId?: string;
137
+ mainTeacherEmail?: string;
141
138
  assistantUserId?: string;
142
139
  assistantEmail?: string;
143
140
  counselorUserId?: string;
@@ -1,5 +1,5 @@
1
1
  import { IStaffAssign } from "../constants/types";
2
- declare const useAssignStudent: (teacherSelected?: any, assistantSelected?: object | undefined, counselorSelected?: object | undefined, secondaryTeacherSelected?: object | undefined, callback?: Function | undefined) => {
2
+ declare const useAssignStudent: (teacherSelected?: object | undefined, 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: (teacherIds: Array<string>, studentUserId: string) => void;
6
+ handleSelectTeacher: (teacherId: 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
@@ -161,7 +161,8 @@
161
161
  padding: 10px 27px; } }
162
162
 
163
163
  ._2OUwW {
164
- height: 56px; }
164
+ height: 100%;
165
+ max-height: 56px; }
165
166
 
166
167
  ._2Owso {
167
168
  font-size: 16px;
@@ -844,8 +845,7 @@
844
845
  justify-content: center;
845
846
  padding: 10px 0; }
846
847
  ._DrSlA img {
847
- width: 26px;
848
- height: auto;
848
+ height: 26px;
849
849
  margin-right: 10px; }
850
850
  ._DrSlA p {
851
851
  margin-bottom: 0;