mario-core 2.10.1-release → 2.10.2-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.
@@ -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,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -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,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { StudentAssign, TeacherType } from "../constants/types";
2
+ declare type StaffItem = {
3
+ label: string;
4
+ value: string;
5
+ name: string;
6
+ };
7
+ export declare const extractStaffList: (students: StudentAssign[], type: TeacherType) => StaffItem[];
8
+ export {};
@@ -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,5 @@
1
+ declare const useResendMail: () => {
2
+ handleSendMultiUsers: (listUserIds: any) => void;
3
+ handleSendSingleUser: (userId: string) => void;
4
+ };
5
+ export default useResendMail;
@@ -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;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const UserDeleteList: () => JSX.Element;
3
+ export default UserDeleteList;
package/dist/index.js CHANGED
@@ -224,6 +224,7 @@ var level = "Level";
224
224
  var use_for = "Use for";
225
225
  var admin_training = "Admin training";
226
226
  var teacher_training = "Teacher training";
227
+ var counselor_training = "Counselor training";
227
228
  var created_time = "Create time";
228
229
  var total_reflections = "Total Reflections";
229
230
  var student_training = "Student training";
@@ -2083,6 +2084,9 @@ var not_ready_to_learn = "Not ready to learn";
2083
2084
  var students_who_are_not_ready_to_learn = "Students who are not ready to learn";
2084
2085
  var students_average_score = "Student’s average score";
2085
2086
  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.";
2087
+ var veracross_setting = "Veracross Setting";
2088
+ var time_vera_cross_sync_hh = "Time Veracross Sync (HH)";
2089
+ var import_vera_cross = "Import Veracross";
2086
2090
  var lang_us = {
2087
2091
  dashboard: dashboard,
2088
2092
  user: user,
@@ -2269,6 +2273,7 @@ var lang_us = {
2269
2273
  use_for: use_for,
2270
2274
  admin_training: admin_training,
2271
2275
  teacher_training: teacher_training,
2276
+ counselor_training: counselor_training,
2272
2277
  created_time: created_time,
2273
2278
  total_reflections: total_reflections,
2274
2279
  student_training: student_training,
@@ -4172,7 +4177,10 @@ var lang_us = {
4172
4177
  not_ready_to_learn: not_ready_to_learn,
4173
4178
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn,
4174
4179
  students_average_score: students_average_score,
4175
- 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
4180
+ 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,
4181
+ veracross_setting: veracross_setting,
4182
+ time_vera_cross_sync_hh: time_vera_cross_sync_hh,
4183
+ import_vera_cross: import_vera_cross
4176
4184
  };
4177
4185
 
4178
4186
  var dashboard$1 = "Dashboard";
@@ -4359,6 +4367,7 @@ var level$1 = "Level";
4359
4367
  var use_for$1 = "Use for";
4360
4368
  var admin_training$1 = "Admin training";
4361
4369
  var teacher_training$1 = "Teacher training";
4370
+ var counselor_training$1 = "Counselor training";
4362
4371
  var created_time$1 = "Create time";
4363
4372
  var total_reflections$1 = "Total Reflections";
4364
4373
  var student_training$1 = "Student training";
@@ -6218,6 +6227,9 @@ var not_ready_to_learn$1 = "Not ready to learn";
6218
6227
  var students_who_are_not_ready_to_learn$1 = "Students who are not ready to learn";
6219
6228
  var students_average_score$1 = "Student’s average score";
6220
6229
  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.";
6230
+ var veracross_setting$1 = "Veracross Setting";
6231
+ var time_vera_cross_sync_hh$1 = "Time Veracross Sync (HH)";
6232
+ var import_vera_cross$1 = "Import Veracross";
6221
6233
  var lang_uk = {
6222
6234
  dashboard: dashboard$1,
6223
6235
  user: user$1,
@@ -6404,6 +6416,7 @@ var lang_uk = {
6404
6416
  use_for: use_for$1,
6405
6417
  admin_training: admin_training$1,
6406
6418
  teacher_training: teacher_training$1,
6419
+ counselor_training: counselor_training$1,
6407
6420
  created_time: created_time$1,
6408
6421
  total_reflections: total_reflections$1,
6409
6422
  student_training: student_training$1,
@@ -8307,7 +8320,10 @@ var lang_uk = {
8307
8320
  not_ready_to_learn: not_ready_to_learn$1,
8308
8321
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$1,
8309
8322
  students_average_score: students_average_score$1,
8310
- 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
8323
+ 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,
8324
+ veracross_setting: veracross_setting$1,
8325
+ time_vera_cross_sync_hh: time_vera_cross_sync_hh$1,
8326
+ import_vera_cross: import_vera_cross$1
8311
8327
  };
8312
8328
 
8313
8329
  var dashboard$2 = "لوحة المعلومات";
@@ -8493,6 +8509,7 @@ var level$2 = "المستوى";
8493
8509
  var use_for$2 = "للاستخدام من أجل";
8494
8510
  var admin_training$2 = "تدريب المدراء";
8495
8511
  var teacher_training$2 = "تدريب المعلمين";
8512
+ var counselor_training$2 = "تدريب المستشارين";
8496
8513
  var created_time$2 = "تخصيص الوقت";
8497
8514
  var total_reflections$2 = "إجمالي الأفكار";
8498
8515
  var student_training$2 = "تدريب الطلبة";
@@ -10383,6 +10400,9 @@ var not_ready_to_learn$2 = "Not ready to learn";
10383
10400
  var students_who_are_not_ready_to_learn$2 = "Students who are not ready to learn";
10384
10401
  var students_average_score$2 = "Student’s average score";
10385
10402
  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.";
10403
+ var veracross_setting$2 = "Veracross Setting";
10404
+ var time_vera_cross_sync_hh$2 = "Time Veracross Sync (HH)";
10405
+ var import_vera_cross$2 = "Import Veracross";
10386
10406
  var lang_ar = {
10387
10407
  dashboard: dashboard$2,
10388
10408
  user: user$2,
@@ -10568,6 +10588,7 @@ var lang_ar = {
10568
10588
  use_for: use_for$2,
10569
10589
  admin_training: admin_training$2,
10570
10590
  teacher_training: teacher_training$2,
10591
+ counselor_training: counselor_training$2,
10571
10592
  created_time: created_time$2,
10572
10593
  total_reflections: total_reflections$2,
10573
10594
  student_training: student_training$2,
@@ -12504,7 +12525,10 @@ var lang_ar = {
12504
12525
  not_ready_to_learn: not_ready_to_learn$2,
12505
12526
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$2,
12506
12527
  students_average_score: students_average_score$2,
12507
- 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
12528
+ 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,
12529
+ veracross_setting: veracross_setting$2,
12530
+ time_vera_cross_sync_hh: time_vera_cross_sync_hh$2,
12531
+ import_vera_cross: import_vera_cross$2
12508
12532
  };
12509
12533
 
12510
12534
  var dashboard$3 = "Cuadro de mandos";
@@ -12690,6 +12714,7 @@ var level$3 = "Nivel";
12690
12714
  var use_for$3 = "Utilizar para";
12691
12715
  var admin_training$3 = "Formación de administradores";
12692
12716
  var teacher_training$3 = "Formación de profesores";
12717
+ var counselor_training$3 = "Formación de consejeros";
12693
12718
  var created_time$3 = "Crear tiempo";
12694
12719
  var total_reflections$3 = "Total Reflexiones";
12695
12720
  var student_training$3 = "Formación de alumnos";
@@ -14580,6 +14605,9 @@ var not_ready_to_learn$3 = "Not ready to learn";
14580
14605
  var students_who_are_not_ready_to_learn$3 = "Students who are not ready to learn";
14581
14606
  var students_average_score$3 = "Student’s average score";
14582
14607
  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.";
14608
+ var veracross_setting$3 = "Veracross Setting";
14609
+ var time_vera_cross_sync_hh$3 = "Time Veracross Sync (HH)";
14610
+ var import_vera_cross$3 = "Import Veracross";
14583
14611
  var lang_es = {
14584
14612
  dashboard: dashboard$3,
14585
14613
  user: user$3,
@@ -14765,6 +14793,7 @@ var lang_es = {
14765
14793
  use_for: use_for$3,
14766
14794
  admin_training: admin_training$3,
14767
14795
  teacher_training: teacher_training$3,
14796
+ counselor_training: counselor_training$3,
14768
14797
  created_time: created_time$3,
14769
14798
  total_reflections: total_reflections$3,
14770
14799
  student_training: student_training$3,
@@ -16701,7 +16730,10 @@ var lang_es = {
16701
16730
  not_ready_to_learn: not_ready_to_learn$3,
16702
16731
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$3,
16703
16732
  students_average_score: students_average_score$3,
16704
- 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
16733
+ 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,
16734
+ veracross_setting: veracross_setting$3,
16735
+ time_vera_cross_sync_hh: time_vera_cross_sync_hh$3,
16736
+ import_vera_cross: import_vera_cross$3
16705
16737
  };
16706
16738
 
16707
16739
  var dashboard$4 = "仪表板";
@@ -16887,6 +16919,7 @@ var level$4 = "级别";
16887
16919
  var use_for$4 = "用途";
16888
16920
  var admin_training$4 = "管理员培训";
16889
16921
  var teacher_training$4 = "教师培训";
16922
+ var counselor_training$4 = "辅导员培训";
16890
16923
  var created_time$4 = "创建时间";
16891
16924
  var total_reflections$4 = "总反思";
16892
16925
  var student_training$4 = "学生培训";
@@ -18777,6 +18810,9 @@ var not_ready_to_learn$4 = "Not ready to learn";
18777
18810
  var students_who_are_not_ready_to_learn$4 = "Students who are not ready to learn";
18778
18811
  var students_average_score$4 = "Student’s average score";
18779
18812
  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.";
18813
+ var veracross_setting$4 = "Veracross Setting";
18814
+ var time_vera_cross_sync_hh$4 = "Time Veracross Sync (HH)";
18815
+ var import_vera_cross$4 = "Import Veracross";
18780
18816
  var lang_zh = {
18781
18817
  dashboard: dashboard$4,
18782
18818
  user: user$4,
@@ -18962,6 +18998,7 @@ var lang_zh = {
18962
18998
  use_for: use_for$4,
18963
18999
  admin_training: admin_training$4,
18964
19000
  teacher_training: teacher_training$4,
19001
+ counselor_training: counselor_training$4,
18965
19002
  created_time: created_time$4,
18966
19003
  total_reflections: total_reflections$4,
18967
19004
  student_training: student_training$4,
@@ -20898,7 +20935,10 @@ var lang_zh = {
20898
20935
  not_ready_to_learn: not_ready_to_learn$4,
20899
20936
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$4,
20900
20937
  students_average_score: students_average_score$4,
20901
- 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
20938
+ 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,
20939
+ veracross_setting: veracross_setting$4,
20940
+ time_vera_cross_sync_hh: time_vera_cross_sync_hh$4,
20941
+ import_vera_cross: import_vera_cross$4
20902
20942
  };
20903
20943
 
20904
20944
  var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";