mario-core 2.9.391-release → 2.9.393-feedback
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.
- package/dist/containers/User/components/AssignStudentModal.d.ts +20 -0
- package/dist/containers/User/components/SwitchTeacherModal.d.ts +3 -0
- package/dist/containers/User/components/UploadCSVButton.d.ts +11 -0
- package/dist/containers/User/components/UserDeletedModal.d.ts +3 -0
- package/dist/containers/User/configs/utils.d.ts +8 -0
- package/dist/containers/User/hooks/useCSVImport.d.ts +38 -0
- package/dist/containers/User/hooks/useResendMail.d.ts +5 -0
- package/dist/containers/User/hooks/useUserDeletedList.d.ts +37 -0
- package/dist/containers/User/hooks/useUserDeletedModal.d.ts +14 -0
- package/dist/containers/User/views/UserDeletedList.d.ts +3 -0
- package/dist/index.js +45 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +45 -5
- package/dist/index.modern.js.map +1 -1
- package/dist/services/csvImportService.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IStaffAssign, StudentAssign } from '../constants/types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
openDetailModal: boolean;
|
|
5
|
+
onClose: Function;
|
|
6
|
+
selectedUser: StudentAssign;
|
|
7
|
+
staffBulkAssign: IStaffAssign;
|
|
8
|
+
teacherOptions: any[];
|
|
9
|
+
assistantOptions: any[];
|
|
10
|
+
counselorOptions: any[];
|
|
11
|
+
secondaryTeacherOptions: any[];
|
|
12
|
+
handleChangeTeacherBulk: Function;
|
|
13
|
+
handleChangeCounselorBulk: Function;
|
|
14
|
+
handleChangeStaffBulk: Function;
|
|
15
|
+
handleEditAssignForStudents: Function;
|
|
16
|
+
toggleCollapse: (index: number) => void;
|
|
17
|
+
activeIndex: number;
|
|
18
|
+
}
|
|
19
|
+
declare const AssignStudentModal: FC<IProps>;
|
|
20
|
+
export default AssignStudentModal;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
htmlFor: string;
|
|
4
|
+
isDisabled: boolean;
|
|
5
|
+
text: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
onClick: Function;
|
|
8
|
+
isClassReflection?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const UploadCSVButton: FC<Props>;
|
|
11
|
+
export default UploadCSVButton;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
export interface Option {
|
|
12
|
+
label: string;
|
|
13
|
+
value: number;
|
|
14
|
+
}
|
|
15
|
+
declare const useCSVImport: () => {
|
|
16
|
+
isLoading: any;
|
|
17
|
+
id: string;
|
|
18
|
+
setType: import("react").Dispatch<import("react").SetStateAction<CSVType | null>>;
|
|
19
|
+
upload: (file: any) => Promise<void>;
|
|
20
|
+
initImportReflection: any;
|
|
21
|
+
setInitImportReflection: import("react").Dispatch<any>;
|
|
22
|
+
onConfirm: (values: any) => Promise<void>;
|
|
23
|
+
CSVType: typeof CSVType;
|
|
24
|
+
dataFile: any;
|
|
25
|
+
setDataFile: import("react").Dispatch<any>;
|
|
26
|
+
setArrStudent: import("react").Dispatch<any>;
|
|
27
|
+
arrStudent: any;
|
|
28
|
+
isCheckDomainIBS: boolean;
|
|
29
|
+
onChangeTeacher: (teacher: Option) => void;
|
|
30
|
+
uploadByTeacherId: (file: any) => Promise<void>;
|
|
31
|
+
setDataFileImportStudent: (dataFile: any) => void;
|
|
32
|
+
onUpLoadStudentFile: () => void;
|
|
33
|
+
defaultTeacher: number;
|
|
34
|
+
fileName: string;
|
|
35
|
+
onStudentSubmit: () => void;
|
|
36
|
+
downloadTemplateUser: () => Promise<void>;
|
|
37
|
+
};
|
|
38
|
+
export default useCSVImport;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type USER_CHOICE = {
|
|
3
|
+
id: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
email: string;
|
|
7
|
+
fullName: string;
|
|
8
|
+
roles: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const initialUserChoice: {
|
|
11
|
+
id: string;
|
|
12
|
+
firstName: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
email: string;
|
|
15
|
+
fullName: string;
|
|
16
|
+
roles: never[];
|
|
17
|
+
};
|
|
18
|
+
declare const useUserDeletedList: () => {
|
|
19
|
+
userList: USER_CHOICE[];
|
|
20
|
+
totalItems: number;
|
|
21
|
+
filters: import("../../..").Filter;
|
|
22
|
+
getData: () => Promise<void>;
|
|
23
|
+
removeData: (id: string) => void;
|
|
24
|
+
changeFilters: (updatedFilters: any) => void;
|
|
25
|
+
modal: import("react").MutableRefObject<any>;
|
|
26
|
+
openModal: () => void;
|
|
27
|
+
userChoiced: USER_CHOICE;
|
|
28
|
+
setUserChoiced: import("react").Dispatch<import("react").SetStateAction<USER_CHOICE>>;
|
|
29
|
+
options: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: any;
|
|
32
|
+
}[];
|
|
33
|
+
teacherChangeId: string;
|
|
34
|
+
setTeacherChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
35
|
+
resetData: () => void;
|
|
36
|
+
};
|
|
37
|
+
export default useUserDeletedList;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { USER_CHOICE } from "./useUserDeletedList";
|
|
3
|
+
declare const useUserDeletedModal: () => {
|
|
4
|
+
userChoiced: USER_CHOICE;
|
|
5
|
+
setUserChoiced: import("react").Dispatch<import("react").SetStateAction<USER_CHOICE>>;
|
|
6
|
+
teacherList: never[];
|
|
7
|
+
options: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: any;
|
|
10
|
+
}[];
|
|
11
|
+
setTeacherChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
12
|
+
teacherChangeId: string;
|
|
13
|
+
};
|
|
14
|
+
export default useUserDeletedModal;
|
package/dist/index.js
CHANGED
|
@@ -2079,9 +2079,13 @@ var what_s_on_your_mind = "What's on your mind?";
|
|
|
2079
2079
|
var these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above = "These are the last 5 comments from recent check-ins, filtered by the selected criteria above.";
|
|
2080
2080
|
var view_all_responses = "View All Responses";
|
|
2081
2081
|
var are_not_ready_to_learn = "are not ready to learn";
|
|
2082
|
+
var not_ready_to_learn = "Not ready to learn";
|
|
2082
2083
|
var students_who_are_not_ready_to_learn = "Students who are not ready to learn";
|
|
2083
2084
|
var students_average_score = "Student’s average score";
|
|
2084
2085
|
var the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins = "The data presented in this chart reflects the average from the student’s check-ins.";
|
|
2086
|
+
var veracross_setting = "Veracross Setting";
|
|
2087
|
+
var time_vera_cross_sync_hh = "Time Veracross Sync (HH)";
|
|
2088
|
+
var import_vera_cross = "Import Veracross";
|
|
2085
2089
|
var lang_us = {
|
|
2086
2090
|
dashboard: dashboard,
|
|
2087
2091
|
user: user,
|
|
@@ -4168,9 +4172,13 @@ var lang_us = {
|
|
|
4168
4172
|
these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above: these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above,
|
|
4169
4173
|
view_all_responses: view_all_responses,
|
|
4170
4174
|
are_not_ready_to_learn: are_not_ready_to_learn,
|
|
4175
|
+
not_ready_to_learn: not_ready_to_learn,
|
|
4171
4176
|
students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn,
|
|
4172
4177
|
students_average_score: students_average_score,
|
|
4173
|
-
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins
|
|
4178
|
+
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins,
|
|
4179
|
+
veracross_setting: veracross_setting,
|
|
4180
|
+
time_vera_cross_sync_hh: time_vera_cross_sync_hh,
|
|
4181
|
+
import_vera_cross: import_vera_cross
|
|
4174
4182
|
};
|
|
4175
4183
|
|
|
4176
4184
|
var dashboard$1 = "Dashboard";
|
|
@@ -6212,9 +6220,13 @@ var what_s_on_your_mind$1 = "What's on your mind?";
|
|
|
6212
6220
|
var these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$1 = "These are the last 5 comments from recent check-ins, filtered by the selected criteria above.";
|
|
6213
6221
|
var view_all_responses$1 = "View All Responses";
|
|
6214
6222
|
var are_not_ready_to_learn$1 = "are not ready to learn";
|
|
6223
|
+
var not_ready_to_learn$1 = "Not ready to learn";
|
|
6215
6224
|
var students_who_are_not_ready_to_learn$1 = "Students who are not ready to learn";
|
|
6216
6225
|
var students_average_score$1 = "Student’s average score";
|
|
6217
6226
|
var the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$1 = "The data presented in this chart reflects the average from the student’s check-ins.";
|
|
6227
|
+
var veracross_setting$1 = "Veracross Setting";
|
|
6228
|
+
var time_vera_cross_sync_hh$1 = "Time Veracross Sync (HH)";
|
|
6229
|
+
var import_vera_cross$1 = "Import Veracross";
|
|
6218
6230
|
var lang_uk = {
|
|
6219
6231
|
dashboard: dashboard$1,
|
|
6220
6232
|
user: user$1,
|
|
@@ -8301,9 +8313,13 @@ var lang_uk = {
|
|
|
8301
8313
|
these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above: these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$1,
|
|
8302
8314
|
view_all_responses: view_all_responses$1,
|
|
8303
8315
|
are_not_ready_to_learn: are_not_ready_to_learn$1,
|
|
8316
|
+
not_ready_to_learn: not_ready_to_learn$1,
|
|
8304
8317
|
students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$1,
|
|
8305
8318
|
students_average_score: students_average_score$1,
|
|
8306
|
-
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$1
|
|
8319
|
+
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$1,
|
|
8320
|
+
veracross_setting: veracross_setting$1,
|
|
8321
|
+
time_vera_cross_sync_hh: time_vera_cross_sync_hh$1,
|
|
8322
|
+
import_vera_cross: import_vera_cross$1
|
|
8307
8323
|
};
|
|
8308
8324
|
|
|
8309
8325
|
var dashboard$2 = "لوحة المعلومات";
|
|
@@ -10375,9 +10391,13 @@ var what_s_on_your_mind$2 = "What's on your mind?";
|
|
|
10375
10391
|
var these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$2 = "These are the last 5 comments from recent check-ins, filtered by the selected criteria above.";
|
|
10376
10392
|
var view_all_responses$2 = "View All Responses";
|
|
10377
10393
|
var are_not_ready_to_learn$2 = "are not ready to learn";
|
|
10394
|
+
var not_ready_to_learn$2 = "Not ready to learn";
|
|
10378
10395
|
var students_who_are_not_ready_to_learn$2 = "Students who are not ready to learn";
|
|
10379
10396
|
var students_average_score$2 = "Student’s average score";
|
|
10380
10397
|
var the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$2 = "The data presented in this chart reflects the average from the student’s check-ins.";
|
|
10398
|
+
var veracross_setting$2 = "Veracross Setting";
|
|
10399
|
+
var time_vera_cross_sync_hh$2 = "Time Veracross Sync (HH)";
|
|
10400
|
+
var import_vera_cross$2 = "Import Veracross";
|
|
10381
10401
|
var lang_ar = {
|
|
10382
10402
|
dashboard: dashboard$2,
|
|
10383
10403
|
user: user$2,
|
|
@@ -12496,9 +12516,13 @@ var lang_ar = {
|
|
|
12496
12516
|
these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above: these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$2,
|
|
12497
12517
|
view_all_responses: view_all_responses$2,
|
|
12498
12518
|
are_not_ready_to_learn: are_not_ready_to_learn$2,
|
|
12519
|
+
not_ready_to_learn: not_ready_to_learn$2,
|
|
12499
12520
|
students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$2,
|
|
12500
12521
|
students_average_score: students_average_score$2,
|
|
12501
|
-
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$2
|
|
12522
|
+
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$2,
|
|
12523
|
+
veracross_setting: veracross_setting$2,
|
|
12524
|
+
time_vera_cross_sync_hh: time_vera_cross_sync_hh$2,
|
|
12525
|
+
import_vera_cross: import_vera_cross$2
|
|
12502
12526
|
};
|
|
12503
12527
|
|
|
12504
12528
|
var dashboard$3 = "Cuadro de mandos";
|
|
@@ -14570,9 +14594,13 @@ var what_s_on_your_mind$3 = "What's on your mind?";
|
|
|
14570
14594
|
var these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$3 = "These are the last 5 comments from recent check-ins, filtered by the selected criteria above.";
|
|
14571
14595
|
var view_all_responses$3 = "View All Responses";
|
|
14572
14596
|
var are_not_ready_to_learn$3 = "are not ready to learn";
|
|
14597
|
+
var not_ready_to_learn$3 = "Not ready to learn";
|
|
14573
14598
|
var students_who_are_not_ready_to_learn$3 = "Students who are not ready to learn";
|
|
14574
14599
|
var students_average_score$3 = "Student’s average score";
|
|
14575
14600
|
var the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$3 = "The data presented in this chart reflects the average from the student’s check-ins.";
|
|
14601
|
+
var veracross_setting$3 = "Veracross Setting";
|
|
14602
|
+
var time_vera_cross_sync_hh$3 = "Time Veracross Sync (HH)";
|
|
14603
|
+
var import_vera_cross$3 = "Import Veracross";
|
|
14576
14604
|
var lang_es = {
|
|
14577
14605
|
dashboard: dashboard$3,
|
|
14578
14606
|
user: user$3,
|
|
@@ -16691,9 +16719,13 @@ var lang_es = {
|
|
|
16691
16719
|
these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above: these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$3,
|
|
16692
16720
|
view_all_responses: view_all_responses$3,
|
|
16693
16721
|
are_not_ready_to_learn: are_not_ready_to_learn$3,
|
|
16722
|
+
not_ready_to_learn: not_ready_to_learn$3,
|
|
16694
16723
|
students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$3,
|
|
16695
16724
|
students_average_score: students_average_score$3,
|
|
16696
|
-
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$3
|
|
16725
|
+
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$3,
|
|
16726
|
+
veracross_setting: veracross_setting$3,
|
|
16727
|
+
time_vera_cross_sync_hh: time_vera_cross_sync_hh$3,
|
|
16728
|
+
import_vera_cross: import_vera_cross$3
|
|
16697
16729
|
};
|
|
16698
16730
|
|
|
16699
16731
|
var dashboard$4 = "仪表板";
|
|
@@ -18765,9 +18797,13 @@ var what_s_on_your_mind$4 = "What's on your mind?";
|
|
|
18765
18797
|
var these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$4 = "These are the last 5 comments from recent check-ins, filtered by the selected criteria above.";
|
|
18766
18798
|
var view_all_responses$4 = "View All Responses";
|
|
18767
18799
|
var are_not_ready_to_learn$4 = "are not ready to learn";
|
|
18800
|
+
var not_ready_to_learn$4 = "Not ready to learn";
|
|
18768
18801
|
var students_who_are_not_ready_to_learn$4 = "Students who are not ready to learn";
|
|
18769
18802
|
var students_average_score$4 = "Student’s average score";
|
|
18770
18803
|
var the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$4 = "The data presented in this chart reflects the average from the student’s check-ins.";
|
|
18804
|
+
var veracross_setting$4 = "Veracross Setting";
|
|
18805
|
+
var time_vera_cross_sync_hh$4 = "Time Veracross Sync (HH)";
|
|
18806
|
+
var import_vera_cross$4 = "Import Veracross";
|
|
18771
18807
|
var lang_zh = {
|
|
18772
18808
|
dashboard: dashboard$4,
|
|
18773
18809
|
user: user$4,
|
|
@@ -20886,9 +20922,13 @@ var lang_zh = {
|
|
|
20886
20922
|
these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above: these_are_the_last_5_comments_from_recent_check_ins_filtered_by_the_selected_criteria_above$4,
|
|
20887
20923
|
view_all_responses: view_all_responses$4,
|
|
20888
20924
|
are_not_ready_to_learn: are_not_ready_to_learn$4,
|
|
20925
|
+
not_ready_to_learn: not_ready_to_learn$4,
|
|
20889
20926
|
students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$4,
|
|
20890
20927
|
students_average_score: students_average_score$4,
|
|
20891
|
-
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$4
|
|
20928
|
+
the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins: the_data_presented_in_this_chart_reflects_the_average_from_the_student_check_ins$4,
|
|
20929
|
+
veracross_setting: veracross_setting$4,
|
|
20930
|
+
time_vera_cross_sync_hh: time_vera_cross_sync_hh$4,
|
|
20931
|
+
import_vera_cross: import_vera_cross$4
|
|
20892
20932
|
};
|
|
20893
20933
|
|
|
20894
20934
|
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|