mario-core 2.9.392-feedback → 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.
@@ -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
@@ -2083,6 +2083,9 @@ var not_ready_to_learn = "Not ready to learn";
2083
2083
  var students_who_are_not_ready_to_learn = "Students who are not ready to learn";
2084
2084
  var students_average_score = "Student’s average score";
2085
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";
2086
2089
  var lang_us = {
2087
2090
  dashboard: dashboard,
2088
2091
  user: user,
@@ -4172,7 +4175,10 @@ var lang_us = {
4172
4175
  not_ready_to_learn: not_ready_to_learn,
4173
4176
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn,
4174
4177
  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
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
4176
4182
  };
4177
4183
 
4178
4184
  var dashboard$1 = "Dashboard";
@@ -6218,6 +6224,9 @@ var not_ready_to_learn$1 = "Not ready to learn";
6218
6224
  var students_who_are_not_ready_to_learn$1 = "Students who are not ready to learn";
6219
6225
  var students_average_score$1 = "Student’s average score";
6220
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";
6221
6230
  var lang_uk = {
6222
6231
  dashboard: dashboard$1,
6223
6232
  user: user$1,
@@ -8307,7 +8316,10 @@ var lang_uk = {
8307
8316
  not_ready_to_learn: not_ready_to_learn$1,
8308
8317
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$1,
8309
8318
  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
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
8311
8323
  };
8312
8324
 
8313
8325
  var dashboard$2 = "لوحة المعلومات";
@@ -10383,6 +10395,9 @@ var not_ready_to_learn$2 = "Not ready to learn";
10383
10395
  var students_who_are_not_ready_to_learn$2 = "Students who are not ready to learn";
10384
10396
  var students_average_score$2 = "Student’s average score";
10385
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";
10386
10401
  var lang_ar = {
10387
10402
  dashboard: dashboard$2,
10388
10403
  user: user$2,
@@ -12504,7 +12519,10 @@ var lang_ar = {
12504
12519
  not_ready_to_learn: not_ready_to_learn$2,
12505
12520
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$2,
12506
12521
  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
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
12508
12526
  };
12509
12527
 
12510
12528
  var dashboard$3 = "Cuadro de mandos";
@@ -14580,6 +14598,9 @@ var not_ready_to_learn$3 = "Not ready to learn";
14580
14598
  var students_who_are_not_ready_to_learn$3 = "Students who are not ready to learn";
14581
14599
  var students_average_score$3 = "Student’s average score";
14582
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";
14583
14604
  var lang_es = {
14584
14605
  dashboard: dashboard$3,
14585
14606
  user: user$3,
@@ -16701,7 +16722,10 @@ var lang_es = {
16701
16722
  not_ready_to_learn: not_ready_to_learn$3,
16702
16723
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$3,
16703
16724
  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
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
16705
16729
  };
16706
16730
 
16707
16731
  var dashboard$4 = "仪表板";
@@ -18777,6 +18801,9 @@ var not_ready_to_learn$4 = "Not ready to learn";
18777
18801
  var students_who_are_not_ready_to_learn$4 = "Students who are not ready to learn";
18778
18802
  var students_average_score$4 = "Student’s average score";
18779
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";
18780
18807
  var lang_zh = {
18781
18808
  dashboard: dashboard$4,
18782
18809
  user: user$4,
@@ -20898,7 +20925,10 @@ var lang_zh = {
20898
20925
  not_ready_to_learn: not_ready_to_learn$4,
20899
20926
  students_who_are_not_ready_to_learn: students_who_are_not_ready_to_learn$4,
20900
20927
  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
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
20902
20932
  };
20903
20933
 
20904
20934
  var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";