mario-core 2.10.2-release → 2.10.3-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.
Files changed (31) hide show
  1. package/dist/components/Buttons/DeleteButtonIcon.d.ts +1 -0
  2. package/dist/components/Labels/RequiredLabel.d.ts +1 -0
  3. package/dist/components/Tabs/TabsWithComponent.d.ts +10 -0
  4. package/dist/containers/User/components/DeleteBulkModel copy.d.ts +4 -0
  5. package/dist/containers/User/components/DeleteBulkModel.d.ts +4 -0
  6. package/dist/containers/User/components/HeaderCell.d.ts +1 -0
  7. package/dist/containers/User/components/RemoveAssistant.d.ts +4 -0
  8. package/dist/containers/User/components/RemoveCounselor.d.ts +4 -0
  9. package/dist/containers/User/components/RemoveSupportTeacher.d.ts +4 -0
  10. package/dist/containers/User/components/RemoveTeacher.d.ts +4 -0
  11. package/dist/containers/User/components/SwitchDataTeacherModel.d.ts +12 -0
  12. package/dist/containers/User/components/TableHeader.d.ts +4 -0
  13. package/dist/containers/User/configs/userSchema.d.ts +0 -2
  14. package/dist/containers/User/constants/constants.d.ts +42 -1
  15. package/dist/containers/User/constants/types.d.ts +88 -8
  16. package/dist/containers/User/hooks/useAssignStudent.d.ts +34 -4
  17. package/dist/containers/User/hooks/useAssignStudentList.d.ts +22 -1
  18. package/dist/containers/User/hooks/useCSVImportTab.d.ts +44 -0
  19. package/dist/containers/User/hooks/useTableHeader.d.ts +4 -0
  20. package/dist/containers/User/hooks/useUserDetail.d.ts +1 -0
  21. package/dist/containers/User/hooks/useUserList.d.ts +3 -0
  22. package/dist/containers/User/views/CSVImport.d.ts +3 -0
  23. package/dist/index.css +61 -1
  24. package/dist/index.js +5053 -713
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.modern.js +5055 -715
  27. package/dist/index.modern.js.map +1 -1
  28. package/dist/services/accountService.d.ts +3 -0
  29. package/dist/services/csvService.d.ts +7 -0
  30. package/dist/services/userService.d.ts +9 -0
  31. package/package.json +4 -2
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
2
  interface Props {
3
3
  onClick?: () => any;
4
+ className?: string;
4
5
  }
5
6
  declare const DeleteButtonIcon: FC<Props>;
6
7
  export default DeleteButtonIcon;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  interface Props {
3
3
  text: string;
4
+ className?: string;
4
5
  }
5
6
  declare const _default: React.NamedExoticComponent<Props>;
6
7
  export default _default;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ interface ITab {
3
+ title: string;
4
+ component: React.ComponentType<any>;
5
+ }
6
+ interface Props {
7
+ tabs: ITab[];
8
+ }
9
+ declare const TabsWithComponent: ({ tabs }: Props) => JSX.Element;
10
+ export default TabsWithComponent;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IDeleteBulkModel } from "../constants/types";
3
+ declare const DeleteBulkModel: ({ open, onClose, teachers, onChangeStaffRemove, switchStaffUsers, assistants, onRemoveBulkStaff, counselors, studentUserIds, secondaryTeachers }: IDeleteBulkModel) => JSX.Element;
4
+ export default DeleteBulkModel;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IDeleteBulkModel } from "../constants/types";
3
+ declare const DeleteBulkModel: ({ open, onClose, teachers, onChangeStaffRemove, switchStaffUsers, assistants, onRemoveBulkStaff, counselors, studentUserIds, secondaryTeachers }: IDeleteBulkModel) => JSX.Element;
4
+ export default DeleteBulkModel;
@@ -13,6 +13,7 @@ interface Props {
13
13
  onClose?: () => void;
14
14
  onChangeFilters?: (filter: UserFilter) => void;
15
15
  isCenter?: boolean;
16
+ isActive?: boolean;
16
17
  }
17
18
  declare const HeaderCell: FC<Props>;
18
19
  export default HeaderCell;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IRemoveAssistant } from "../constants/types";
3
+ declare const RemoveAssistant: ({ assistants, onChangeStaffRemove, switchStaffUsers }: IRemoveAssistant) => JSX.Element;
4
+ export default RemoveAssistant;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IRemoveCounselor } from "../constants/types";
3
+ declare const RemoveCounselor: ({ counselors, onChangeStaffRemove, switchStaffUsers }: IRemoveCounselor) => JSX.Element;
4
+ export default RemoveCounselor;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IRemoveSupportTeacher } from "../constants/types";
3
+ declare const RemoveSupportTeacher: ({ secondaryTeachers, onChangeStaffRemove, switchStaffUsers }: IRemoveSupportTeacher) => JSX.Element;
4
+ export default RemoveSupportTeacher;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IRemoveTeacher } from "../constants/types";
3
+ declare const RemoveTeacher: ({ teachers, onChangeStaffRemove, switchStaffUsers }: IRemoveTeacher) => JSX.Element;
4
+ export default RemoveTeacher;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import { ITeachers } from "../constants/types";
3
+ interface IProps {
4
+ open: boolean;
5
+ onClose: Function;
6
+ teachers: ITeachers[];
7
+ onConfirm: Function;
8
+ teacherSwitchUserId: string;
9
+ setTeacherSwitchUserId: Function;
10
+ }
11
+ declare const SwitchDataTeacherModel: FC<IProps>;
12
+ export default SwitchDataTeacherModel;
@@ -6,6 +6,10 @@ interface Props {
6
6
  fullName?: string;
7
7
  onChangeFilters?: (filter: UserFilter) => void;
8
8
  isStudentFilter?: boolean;
9
+ teacherOptions?: any[];
10
+ assistantOptions?: any[];
11
+ counselorOptions?: any[];
12
+ secondaryTeacherOptions?: any[];
9
13
  }
10
14
  declare const TableHeader: FC<Props>;
11
15
  export default TableHeader;
@@ -2,13 +2,11 @@ import * as yup from "yup";
2
2
  declare const userSchema: import("yup/lib/object").OptionalObjectSchema<{
3
3
  firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
4
4
  lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
- dateOfBirth: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
6
5
  email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
7
6
  roles: yup.ArraySchema<yup.StringSchema<string | undefined, Record<string, any>, string | undefined>, Record<string, any>, (string | undefined)[] | undefined, (string | undefined)[] | undefined>;
8
7
  }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
9
8
  firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
10
9
  lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
11
- dateOfBirth: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
12
10
  email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
13
11
  roles: yup.ArraySchema<yup.StringSchema<string | undefined, Record<string, any>, string | undefined>, Record<string, any>, (string | undefined)[] | undefined, (string | undefined)[] | undefined>;
14
12
  }>>;
@@ -1,4 +1,4 @@
1
- import { IStaffAssign, StudentFilter, UserColumn, UserFilter, UserOrder } from "./types";
1
+ import { IOptions, IStaffAssign, StudentFilter, UserColumn, UserFilter, UserOrder } from "./types";
2
2
  export declare const userOrders: {
3
3
  0: string;
4
4
  1: string;
@@ -8,6 +8,11 @@ export declare const userOrders: {
8
8
  5: string;
9
9
  6: string;
10
10
  7: string;
11
+ 8: string;
12
+ 9: string;
13
+ 10: string;
14
+ 11: string;
15
+ 12: string;
11
16
  };
12
17
  export declare const UserColumns: UserColumn[];
13
18
  export declare const DEFAULT_PAGE_SIZE: {
@@ -19,3 +24,39 @@ export declare const DEFAULT_STUDENT_FILTER: StudentFilter;
19
24
  export declare const DEFAULT_FILTER_POPOVER: UserFilter;
20
25
  export declare const CSV_PREFIX = "data:text/csv;charset=utf-8,";
21
26
  export declare const initialStaffBulk: IStaffAssign;
27
+ export declare const initAssignStd: {
28
+ studentId: number;
29
+ id: string;
30
+ email: string;
31
+ fullName: string;
32
+ gradeLevel: string;
33
+ phoneNumber: string;
34
+ isActive: boolean;
35
+ dateOfBirth: string;
36
+ profileImageFileName: string;
37
+ quote: string;
38
+ assistantName: string;
39
+ assistantEmail: string;
40
+ assistantUserId: string;
41
+ counselors: never[];
42
+ secondaryTeacherName: string;
43
+ secondaryTeacherEmail: string;
44
+ secondaryTeacherUserId: string;
45
+ teachers: never[];
46
+ };
47
+ export declare const GRADE_DEFAULT: {
48
+ label: string;
49
+ value: string;
50
+ }[];
51
+ export declare const GRADE: string[];
52
+ export declare const gradeOptions: IOptions[];
53
+ export declare const initStaffDeleteBulk: {
54
+ assistantRemoveUserId: never[];
55
+ counselorRemoveUserIds: never[];
56
+ teacherRemoveUserIds: never[];
57
+ teacherSwitchDataUserId: string;
58
+ assistantSwitchDataUserId: string;
59
+ counselorSwitchDataUserId: string;
60
+ supportTeacherRemoveUserIds: never[];
61
+ supportTeacherSwitchDataUserId: string;
62
+ };
@@ -14,6 +14,11 @@ export declare type User = {
14
14
  sourcedId: string;
15
15
  rosterUser: RosterUser;
16
16
  grade: string;
17
+ teachers: string;
18
+ assistants: string;
19
+ counselors: string;
20
+ eduTeachers: string;
21
+ supportTeachers: string;
17
22
  };
18
23
  export declare type RosterUser = {
19
24
  sourcedId: string;
@@ -38,6 +43,7 @@ export declare type UserFilter = {
38
43
  sortBy?: UserOrder;
39
44
  searchBy?: SearchBy;
40
45
  searchByStrings?: string[];
46
+ isStudent?: string[];
41
47
  };
42
48
  export declare type StudentFilter = {
43
49
  currentPage?: number;
@@ -55,6 +61,7 @@ export declare type UserFilterField = {
55
61
  searchBy?: SearchBy;
56
62
  searchStringBy?: string;
57
63
  isStudentFilter?: boolean;
64
+ byStudent?: boolean;
58
65
  };
59
66
  export declare type UserColumn = {
60
67
  isCenter?: boolean;
@@ -80,10 +87,11 @@ export declare type StudentAssign = {
80
87
  quote: string;
81
88
  assistantName: string;
82
89
  assistantEmail: string;
83
- counselorName: string;
84
- counselorEmail: string;
90
+ assistantUserId: string;
91
+ counselors: Array<ICounselor>;
85
92
  secondaryTeacherName: string;
86
93
  secondaryTeacherEmail: string;
94
+ secondaryTeacherUserId: string;
87
95
  teachers: Array<ITeachers>;
88
96
  };
89
97
  export interface ITeachers {
@@ -92,6 +100,12 @@ export interface ITeachers {
92
100
  mainTeacherEmail: string;
93
101
  mainTeacherId?: number;
94
102
  }
103
+ export interface ICounselor {
104
+ counselorUserId: string;
105
+ counselorName: string;
106
+ counselorEmail: string;
107
+ studentId?: number;
108
+ }
95
109
  export interface IStaffAssign {
96
110
  teacher: {
97
111
  id: string;
@@ -99,10 +113,13 @@ export interface IStaffAssign {
99
113
  }[];
100
114
  assistantId: string;
101
115
  assistantEmail: string;
102
- counselorId: string;
103
- counselorEmail: string;
116
+ counselors: {
117
+ id: string;
118
+ email: string;
119
+ }[];
104
120
  secondaryTeacherId: string;
105
121
  secondaryTeacherEmail: string;
122
+ gradeLevel?: string;
106
123
  }
107
124
  export declare type Counselor = {
108
125
  id: string;
@@ -142,10 +159,12 @@ export declare type AssignStudentDto = {
142
159
  mainTeacherEmail?: Array<string>;
143
160
  assistantUserId?: string;
144
161
  assistantEmail?: string;
145
- counselorUserId?: string;
146
- counselorEmail?: string;
162
+ counselorUserIds?: Array<string>;
163
+ counselorEmails?: Array<string>;
147
164
  secondaryTeacherUserId?: string;
148
165
  secondaryTeacherEmail?: string;
166
+ removeTeacherUserIds?: string[];
167
+ teacherSwitchUserId?: string;
149
168
  };
150
169
  export declare type FilterOption = {
151
170
  label: string;
@@ -159,7 +178,12 @@ export declare enum UserOrder {
159
178
  Role = 4,
160
179
  Status = 5,
161
180
  CreatedAt = 6,
162
- RosterUser = 7
181
+ RosterUser = 7,
182
+ Grade = 8,
183
+ Teacher = 9,
184
+ Assistant = 10,
185
+ Counselor = 11,
186
+ SecondaryTeacher = 12
163
187
  }
164
188
  export declare enum SearchBy {
165
189
  Id = 0,
@@ -167,7 +191,12 @@ export declare enum SearchBy {
167
191
  Email = 2,
168
192
  Role = 3,
169
193
  RosterUser = 4,
170
- Status = 5
194
+ Status = 5,
195
+ Grade = 6,
196
+ Teacher = 7,
197
+ Assistant = 8,
198
+ Counselor = 9,
199
+ SecondaryTeacher = 10
171
200
  }
172
201
  export declare enum TeacherType {
173
202
  Teacher = 0,
@@ -175,3 +204,54 @@ export declare enum TeacherType {
175
204
  Counselor = 2,
176
205
  SecondaryTeacher = 3
177
206
  }
207
+ export declare type SwitchTeacherGroup = {
208
+ studentId: number;
209
+ teacher: string;
210
+ teacherChange: string;
211
+ };
212
+ export declare type SwitchAssistantGroup = {
213
+ studentId: number;
214
+ assistantUserId: string;
215
+ };
216
+ export interface IDeleteBulkModel {
217
+ open: boolean;
218
+ onClose: () => void;
219
+ teachers: Option[];
220
+ onChangeStaffRemove: Function;
221
+ switchStaffUsers: ISwitchStaffUser;
222
+ counselors: Option[];
223
+ assistants: Option[];
224
+ secondaryTeachers: Option[];
225
+ onRemoveBulkStaff: Function;
226
+ studentUserIds?: string[];
227
+ }
228
+ export interface IRemoveTeacher {
229
+ teachers: Option[];
230
+ onChangeStaffRemove: Function;
231
+ switchStaffUsers: ISwitchStaffUser;
232
+ }
233
+ export interface IRemoveAssistant {
234
+ assistants: Option[];
235
+ onChangeStaffRemove: Function;
236
+ switchStaffUsers: ISwitchStaffUser;
237
+ }
238
+ export interface IRemoveCounselor {
239
+ counselors: Option[];
240
+ onChangeStaffRemove: Function;
241
+ switchStaffUsers: ISwitchStaffUser;
242
+ }
243
+ export interface IRemoveSupportTeacher {
244
+ secondaryTeachers: Option[];
245
+ onChangeStaffRemove: Function;
246
+ switchStaffUsers: ISwitchStaffUser;
247
+ }
248
+ export interface ISwitchStaffUser {
249
+ teacherRemoveUserIds: string[];
250
+ teacherSwitchDataUserId: string;
251
+ assistantRemoveUserId: string[];
252
+ assistantSwitchDataUserId: string;
253
+ counselorRemoveUserIds: string[];
254
+ counselorSwitchDataUserId: string;
255
+ supportTeacherRemoveUserIds: string[];
256
+ supportTeacherSwitchDataUserId: string;
257
+ }
@@ -1,15 +1,45 @@
1
- import { IStaffAssign } from "../constants/types";
2
- declare const useAssignStudent: (teacherSelected?: any, assistantSelected?: object | undefined, counselorSelected?: object | undefined, secondaryTeacherSelected?: object | undefined, callback?: Function | undefined) => {
1
+ /// <reference types="react" />
2
+ import { IStaffAssign, ISwitchStaffUser, StudentAssign, TeacherType } from "../constants/types";
3
+ declare const useAssignStudent: (teacherSelected?: any, assistantSelected?: Record<string, any> | undefined, counselorSelected?: Record<string, any> | undefined, secondaryTeacherSelected?: Record<string, any> | undefined, callback?: Function | undefined, selectedUser?: StudentAssign | undefined, getDataUserList?: any, userSelected?: StudentAssign[] | undefined) => {
3
4
  handleAssignSingleStudent: (id: string) => void;
4
5
  handleAssignMultiStudent: (listUserIds: string[]) => void;
5
6
  openModelBulk: boolean;
6
7
  handleToggleModel: (listUserIds?: string[] | undefined) => void;
7
- handleChangeStaffBulk: (name: string, id: string) => void;
8
+ handleChangeStaffBulk: (name: string, value: any) => void;
8
9
  staffBulkAssign: IStaffAssign;
9
- handleAssignStaffToStudents: (listUserIds: string[], isTeacherExit: boolean) => void;
10
+ onAssignStaffToStudents: (listUserIds: string[]) => Promise<void>;
10
11
  handleToggleInactiveModal: (listUserIds?: string[] | undefined) => void;
11
12
  openInactiveModal: boolean;
12
13
  handleInactiveStudents: (listStudentIds: string[], callback: () => void) => Promise<void>;
13
14
  handleChangeTeacherBulk: (value: any[]) => void;
15
+ handleEditAssignForStudents: (teacherUserId?: string | undefined) => Promise<void>;
16
+ handleToggleSwitchModel: (listUser: StudentAssign[], modal: TeacherType, options: any[]) => void;
17
+ openSwitchModal: boolean;
18
+ optionsSwitch: any[];
19
+ modalType: TeacherType;
20
+ textModal: any;
21
+ teacherSwitchList: any[];
22
+ onCloseSwitchModal: () => void;
23
+ handleUpdateSwitch: () => void;
24
+ setTeacherChangeUserId: import("react").Dispatch<import("react").SetStateAction<string>>;
25
+ setTeacherSelectForChangeUserId: import("react").Dispatch<import("react").SetStateAction<string>>;
26
+ teacherSelectForChangeUserId: string;
27
+ openDetailModal: boolean;
28
+ setOpenDetailModal: import("react").Dispatch<import("react").SetStateAction<boolean>>;
29
+ toggleCollapse: (index: number) => void;
30
+ activeIndex: number;
31
+ handleChangeCounselorBulk: (value: any[]) => void;
32
+ onClose: () => void;
33
+ removeTeacherUserIds: string[];
34
+ onSelectRemoveTeacher: (userId: string) => void;
35
+ openModelSwitchDataTeacher: boolean;
36
+ onToggleModelSwitchDataTeacher: () => void;
37
+ teacherSwitchUserId: string;
38
+ setTeacherSwitchUserId: import("react").Dispatch<import("react").SetStateAction<string>>;
39
+ onToggleModelDeleteBulk: (listUserIds?: string[] | undefined) => void;
40
+ openModelDeleteBulk: boolean;
41
+ handelChangeStaffRemove: (updatedFilters: any) => void;
42
+ switchStaffUsers: ISwitchStaffUser;
43
+ handleRemoveBulkStaff: (studentUserIds: string[]) => Promise<void>;
14
44
  };
15
45
  export default useAssignStudent;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StudentAssign, StudentFilter, UserOrder } from "../constants/types";
2
3
  declare const useAssignStudentList: () => {
3
4
  handelSort: (sortBy: UserOrder) => void;
@@ -7,9 +8,29 @@ declare const useAssignStudentList: () => {
7
8
  filters: StudentFilter;
8
9
  changeFilters: (updatedFilters: any) => void;
9
10
  handleSelectAll: () => void;
10
- handleClickCheck: (e: any) => void;
11
+ handleClickCheck: (e: React.ChangeEvent<HTMLInputElement>) => void;
11
12
  isCheckAll: boolean;
12
13
  isCheck: any;
13
14
  fullName: string;
15
+ selectedUser: StudentAssign;
16
+ setSelectedUser: import("react").Dispatch<import("react").SetStateAction<StudentAssign>>;
17
+ userSelected: StudentAssign[];
18
+ getDataUserList: () => Promise<void>;
19
+ studentTeacherSelected: {
20
+ value: string;
21
+ label: string;
22
+ }[];
23
+ studentCounselorSelected: {
24
+ value: string;
25
+ label: string;
26
+ }[];
27
+ studentAssistantSelected: {
28
+ value: string;
29
+ label: string;
30
+ }[];
31
+ studentSecondaryTeacherSelected: {
32
+ value: string;
33
+ label: string;
34
+ }[];
14
35
  };
15
36
  export default useAssignStudentList;
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ declare enum CSVType {
3
+ Students = "students",
4
+ Subjects = "subjects",
5
+ Grades = "grades",
6
+ Attendances = "attendances",
7
+ ClassReflection = "classReflection",
8
+ Others = "others",
9
+ AllUser = "allUser"
10
+ }
11
+ interface CSVImportButton {
12
+ text: string;
13
+ backgroundColor: string;
14
+ type: CSVType;
15
+ }
16
+ export interface Option {
17
+ label: string;
18
+ value: number;
19
+ }
20
+ declare const useCSVImportTab: () => {
21
+ isLoading: any;
22
+ buttons: CSVImportButton[];
23
+ id: string;
24
+ setType: import("react").Dispatch<import("react").SetStateAction<CSVType | null>>;
25
+ upload: (file: any) => Promise<void>;
26
+ initImportReflection: any;
27
+ setInitImportReflection: import("react").Dispatch<any>;
28
+ onConfirm: (values: any) => Promise<void>;
29
+ CSVType: typeof CSVType;
30
+ dataFile: any;
31
+ setDataFile: import("react").Dispatch<any>;
32
+ setArrStudent: import("react").Dispatch<any>;
33
+ arrStudent: any;
34
+ isCheckDomainIBS: boolean;
35
+ onChangeTeacher: (teacher: Option) => void;
36
+ uploadByTeacherId: (file: any) => Promise<void>;
37
+ setDataFileImportStudent: (dataFile: any) => void;
38
+ onUpLoadStudentFile: () => void;
39
+ defaultTeacher: number;
40
+ fileName: string;
41
+ onStudentSubmit: () => void;
42
+ downloadTemplateUser: () => Promise<void>;
43
+ };
44
+ export default useCSVImportTab;
@@ -3,6 +3,10 @@ interface Props {
3
3
  filters: UserFilter;
4
4
  onChangeFilters?: (filter: UserFilter) => void;
5
5
  isStudentFilter?: boolean;
6
+ teacherOptions?: any[];
7
+ assistantOptions?: any[];
8
+ counselorOptions?: any[];
9
+ secondaryTeacherOptions?: any[];
6
10
  }
7
11
  declare const useTableHeader: (props: Props) => {
8
12
  popoverFilters: UserFilterField;
@@ -11,6 +11,7 @@ declare type UserDetail = {
11
11
  profileImageFileName: string;
12
12
  sourcedId?: string;
13
13
  teacherUserId?: string[];
14
+ gradeLevel?: string;
14
15
  };
15
16
  declare type IUerRoleDataCheck = {
16
17
  isHasTeacherData: boolean;
@@ -11,5 +11,8 @@ declare const useUserList: () => {
11
11
  switchUser: (id: string) => Promise<void>;
12
12
  handleSyncRosterUsers: () => Promise<void>;
13
13
  rosterUserInfo: (record: any) => string;
14
+ userIds: string[];
15
+ onSelectAllUser: () => Promise<void>;
16
+ onSelectUser: (userId: string) => void;
14
17
  };
15
18
  export default useUserList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const CSVImport: FC;
3
+ export default CSVImport;
package/dist/index.css CHANGED
@@ -930,7 +930,7 @@
930
930
  margin: 0; }
931
931
 
932
932
  ._3QMZ8 {
933
- width: 120px; }
933
+ width: 140px; }
934
934
 
935
935
  ._2RT7O {
936
936
  width: 40px; }
@@ -954,6 +954,66 @@
954
954
  letter-spacing: 2px;
955
955
  color: #fff; }
956
956
 
957
+ ._M600U {
958
+ cursor: pointer;
959
+ border: none;
960
+ outline: none;
961
+ background: transparent; }
962
+ ._M600U:hover {
963
+ color: #316CD9;
964
+ text-decoration: underline; }
965
+
966
+ ._FOQGD div {
967
+ font-size: 14px !important; }
968
+
969
+ ._18VBi h5 {
970
+ display: flex;
971
+ justify-content: space-between;
972
+ align-items: center;
973
+ width: 100%; }
974
+ ._18VBi h5 div {
975
+ font-size: 18px;
976
+ font-weight: 700; }
977
+
978
+ ._1ok5g {
979
+ text-transform: capitalize; }
980
+
981
+ ._27Gz6 {
982
+ width: 100%;
983
+ padding: 0 !important;
984
+ margin-bottom: 8px;
985
+ border: none;
986
+ background: transparent;
987
+ outline: none;
988
+ box-shadow: none !important;
989
+ text-align: left !important; }
990
+
991
+ ._MocxV::-moz-placeholder {
992
+ text-transform: capitalize; }
993
+
994
+ ._MocxV:-ms-input-placeholder {
995
+ text-transform: capitalize; }
996
+
997
+ ._MocxV::placeholder {
998
+ text-transform: capitalize; }
999
+
1000
+ ._3SqG- ._39I0- {
1001
+ padding: 10px 75px;
1002
+ border-top: 1px solid #dfe0df;
1003
+ cursor: pointer;
1004
+ font-size: 20px;
1005
+ text-align: center;
1006
+ margin-bottom: 0;
1007
+ transition: background-color .5s ease-out; }
1008
+
1009
+ ._3SqG- ._AMasE {
1010
+ background: #336dda !important;
1011
+ color: #fff !important; }
1012
+
1013
+ ._3SqG- ._39I0-:hover {
1014
+ background: #336dda;
1015
+ color: #fff; }
1016
+
957
1017
  ._297lu {
958
1018
  width: 100%;
959
1019
  height: 100%; }