mario-education 2.4.264-release → 2.4.264-sso
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/MarioFramework.Education/ClientApp/src/components/Select/Autocomplete.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/ImportOneRoster.d.ts +6 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/RosterConfigForm.d.ts +8 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useImportOneRoster.d.ts +28 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/userRosterConfigForm.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/constants.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/types.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/views/OneRoster.d.ts +3 -0
- package/dist/components/Input/TextFieldComponent.d.ts +1 -1
- package/dist/components/QuestionTypes/QuestionSurveyComponent.d.ts +1 -0
- package/dist/components/layouts/Footer.d.ts +6 -0
- package/dist/components/layouts/HeaderSideBarV2.d.ts +2 -0
- package/dist/components/layouts/LanguageDropdown.d.ts +2 -0
- package/dist/components/layouts/NotificationAlert.d.ts +10 -0
- package/dist/components/layouts/constants/constants.d.ts +79 -0
- package/dist/components/layouts/constants/constantsFn.d.ts +9 -0
- package/dist/components/layouts/hooks/useAnimation.d.ts +9 -0
- package/dist/components/layouts/hooks/useHeaderSideBar.d.ts +32 -0
- package/dist/components/layouts/hooks/useLanguages.d.ts +10 -0
- package/dist/components/layouts/hooks/useNotificationAlert.d.ts +7 -0
- package/dist/components/layouts/icons/ConferenceRubricIcon.d.ts +3 -0
- package/dist/components/layouts/icons/CustomAlertIcon.d.ts +3 -0
- package/dist/components/layouts/icons/CustomizeIcon.d.ts +3 -0
- package/dist/components/layouts/icons/DashboardIcon.d.ts +3 -0
- package/dist/components/layouts/icons/DataImportExportIcon.d.ts +3 -0
- package/dist/components/layouts/icons/EIPTemplateIcon.d.ts +3 -0
- package/dist/components/layouts/icons/EmailTemplateIcon.d.ts +3 -0
- package/dist/components/layouts/icons/HelpIcon.d.ts +3 -0
- package/dist/components/layouts/icons/MEDIAGalleryIcon.d.ts +3 -0
- package/dist/components/layouts/icons/QuestionIcon.d.ts +3 -0
- package/dist/components/layouts/icons/SandboxIcon.d.ts +3 -0
- package/dist/components/layouts/icons/SurveyDashboardIcon.d.ts +3 -0
- package/dist/components/layouts/icons/TechnicalSettingsIcon.d.ts +3 -0
- package/dist/components/layouts/icons/TimesIcon.d.ts +3 -0
- package/dist/components/layouts/icons/ToolIcon.d.ts +3 -0
- package/dist/components/layouts/icons/UserIcon.d.ts +3 -0
- package/dist/containers/ConductSurvey/components/QuestionConduct.d.ts +1 -0
- package/dist/containers/ConductSurvey/configs/types.d.ts +2 -0
- package/dist/containers/ConductSurvey/configs/utils.d.ts +1 -0
- package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +1 -0
- package/dist/containers/ConferenceRubric/configs/types.d.ts +1 -0
- package/dist/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +3 -0
- package/dist/containers/Dashboard/components/ColumnChartAndPercent.d.ts +1 -2
- package/dist/containers/Dashboard/components/ModelSkillStudent.d.ts +3 -0
- package/dist/containers/Dashboard/components/ModelStudentSession.d.ts +3 -0
- package/dist/containers/Dashboard/components/StudentPressureChart.d.ts +1 -1
- package/dist/containers/Dashboard/configs/types.d.ts +18 -0
- package/dist/containers/Dashboard/configs/utils.d.ts +8 -3
- package/dist/containers/Dashboard/hooks/useChartDatas.d.ts +7 -6
- package/dist/containers/Dashboard/hooks/useDashboard.d.ts +4 -4
- package/dist/containers/ExternalApi/components/DetailTokenModel.d.ts +3 -0
- package/dist/containers/ExternalApi/components/PermissionSelected.d.ts +3 -0
- package/dist/containers/ExternalApi/configs/contants.d.ts +3 -0
- package/dist/containers/ExternalApi/configs/types.d.ts +24 -0
- package/dist/containers/ExternalApi/hooks/useExternalApi.d.ts +12 -0
- package/dist/containers/ExternalApi/hooks/useSandbox.d.ts +6 -0
- package/dist/containers/ExternalApi/views/ExternalApi.d.ts +2 -0
- package/dist/containers/Homepage/api/homepageApi.d.ts +2 -0
- package/dist/containers/Homepage/api/oneToOneApi.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/ArrowIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/ArrowUpIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/CheckinIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/ClassReflectionIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/ConferenceIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/ConversationIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/ConversationTimeIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/DownRedIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/PenAndPaperIcon.d.ts +3 -0
- package/dist/containers/Homepage/assets/icons/PlusIcon.d.ts +2 -0
- package/dist/containers/Homepage/assets/icons/UpGreenIcon.d.ts +3 -0
- package/dist/containers/Homepage/common/constant.d.ts +31 -0
- package/dist/containers/Homepage/common/dialog/SimpleDialog.d.ts +12 -0
- package/dist/containers/Homepage/common/interface.d.ts +146 -0
- package/dist/containers/Homepage/common/utils.d.ts +12 -0
- package/dist/containers/Homepage/components/AdminGeneralTip.d.ts +8 -0
- package/dist/containers/Homepage/components/GradeUsage.d.ts +8 -0
- package/dist/containers/Homepage/components/SchoolUsage.d.ts +9 -0
- package/dist/containers/Homepage/components/StudentWellness.d.ts +13 -0
- package/dist/containers/Homepage/components/StudentWellnessItem.d.ts +17 -0
- package/dist/containers/Homepage/components/StudentWellnessNote.d.ts +15 -0
- package/dist/containers/Homepage/components/TotalCard.d.ts +7 -0
- package/dist/containers/Homepage/components/ViewStudent.d.ts +13 -0
- package/dist/containers/Homepage/components/dialog/StudentWellnessCheckInItem.d.ts +15 -0
- package/dist/containers/Homepage/components/dialog/StudentWellnessCheckInList.d.ts +11 -0
- package/dist/containers/Homepage/components/dialog/StudentWellnessDialog.d.ts +10 -0
- package/dist/containers/Homepage/hooks/useGeneralTip.d.ts +6 -0
- package/dist/containers/Homepage/hooks/useGradeUsage.d.ts +6 -0
- package/dist/containers/Homepage/hooks/useHome.d.ts +38 -0
- package/dist/containers/Homepage/hooks/useSchoolUsage.d.ts +19 -0
- package/dist/containers/Homepage/hooks/useStudentWellness.d.ts +19 -0
- package/dist/containers/Homepage/hooks/useViewStudent.d.ts +15 -0
- package/dist/containers/Homepage/services/HomepageSevices.d.ts +2 -0
- package/dist/containers/Homepage/services/OneToOneServices.d.ts +2 -0
- package/dist/containers/Homepage/views/HomePage.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +4 -2
- package/dist/containers/MyStudent/components/NewOverview/Chat/types/types.d.ts +1 -0
- package/dist/containers/QuestionBank/components/AdditionalComponent.d.ts +1 -0
- package/dist/containers/QuestionBank/components/AgGridComponents.d.ts +6 -0
- package/dist/containers/QuestionBank/components/AnswerList.d.ts +3 -0
- package/dist/containers/QuestionBank/configs/constants.d.ts +71 -0
- package/dist/containers/QuestionBank/hooks/useQuestionAnswerList.d.ts +2 -0
- package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +6 -0
- package/dist/containers/QuestionBank/hooks/useWeeklyQuest.d.ts +25 -0
- package/dist/containers/QuestionBank/hooks/useWeeklyQuestDetail.d.ts +20 -0
- package/dist/containers/QuestionBank/views/SettingWeeklyQuest.d.ts +3 -0
- package/dist/containers/QuestionBank/views/WeeklyQuest.d.ts +3 -0
- package/dist/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
- package/dist/containers/SurveyDashboard/components/BarChartQuestionAnswers.d.ts +3 -0
- package/dist/containers/SurveyDashboard/components/ModelLinkSurvey.d.ts +3 -0
- package/dist/containers/SurveyDashboard/components/TableAnswerDropDown.d.ts +5 -0
- package/dist/containers/SurveyDashboard/configs/chartOptions.d.ts +1 -1
- package/dist/containers/SurveyDashboard/configs/constants.d.ts +4 -2
- package/dist/containers/SurveyDashboard/configs/overviewFn.d.ts +3 -1
- package/dist/containers/SurveyDashboard/configs/types.d.ts +30 -4
- package/dist/containers/SurveyDashboard/configs/utils.d.ts +5 -1
- package/dist/containers/SurveyDashboard/hooks/useChartDatas.d.ts +3 -3
- package/dist/containers/SurveyDashboard/hooks/useDashboard.d.ts +2 -1
- package/dist/containers/SurveyDashboard/hooks/useListSurvey.d.ts +4 -0
- package/dist/containers/SurveyDashboard/hooks/useSurveyDetail.d.ts +4 -3
- package/dist/containers/SurveyDashboard/styles/makeStyles.d.ts +1 -1
- package/dist/containers/TemplateSurvey/components/AgGridComponents.d.ts +8 -0
- package/dist/containers/TemplateSurvey/hooks/useTemplateCateList.d.ts +3 -1
- package/dist/containers/UserRevert/hooks/useRevertUser.d.ts +2 -0
- package/dist/index.css +5407 -306
- package/dist/index.d.ts +5 -2
- package/dist/index.js +13496 -26652
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +13480 -26639
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/MainLayoutAdmin.d.ts +2 -0
- package/dist/layouts/ModelSelectRole.d.ts +3 -0
- package/dist/layouts/constants/constants.d.ts +2 -0
- package/dist/layouts/constants/type.d.ts +4 -0
- package/dist/services/HomepageService.d.ts +2 -0
- package/dist/services/commonService.d.ts +3 -0
- package/dist/services/conferenceRubricService.d.ts +1 -1
- package/dist/services/dashboardService.d.ts +1 -0
- package/dist/services/externalApi.d.ts +4 -0
- package/dist/services/language.d.ts +1 -0
- package/dist/services/notificationAlertService.d.ts +1 -0
- package/dist/services/questionCategoryService.d.ts +1 -0
- package/dist/services/questionService.d.ts +2 -1
- package/dist/services/revertUserService.d.ts +1 -0
- package/dist/services/schoolService.d.ts +1 -0
- package/dist/services/simpleProfileService.d.ts +1 -0
- package/dist/services/weeklyQuestService.d.ts +7 -0
- package/dist/utils/constantsFn.d.ts +2 -0
- package/dist/utils/function.d.ts +3 -0
- package/dist/utils/type.d.ts +0 -4
- package/package.json +11 -11
|
@@ -6,7 +6,7 @@ declare const useConferenceRubricDetail: (id?: number | null | undefined) => {
|
|
|
6
6
|
setTemporarySkill: import("react").Dispatch<import("react").SetStateAction<ConferenceRubricSkill | null>>;
|
|
7
7
|
newRowTexts: any;
|
|
8
8
|
changeNewRowText: (skillId: any, text: any) => void;
|
|
9
|
-
confirmData: (
|
|
9
|
+
confirmData: () => Promise<void>;
|
|
10
10
|
backToList: () => void;
|
|
11
11
|
addItem: () => void;
|
|
12
12
|
removeItem: (skillId: number) => void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface UploadInfo {
|
|
3
|
+
error?: string;
|
|
4
|
+
success?: boolean;
|
|
5
|
+
isUploading?: boolean;
|
|
6
|
+
importedFiles?: string;
|
|
7
|
+
rejectedFiles?: string;
|
|
8
|
+
comment?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const useImportOneRoster: ({ errorImportRest }: {
|
|
11
|
+
errorImportRest: any;
|
|
12
|
+
}) => {
|
|
13
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
14
|
+
fileProgress: number;
|
|
15
|
+
uploadInfo: UploadInfo | undefined;
|
|
16
|
+
uploadIcon: JSX.Element | undefined;
|
|
17
|
+
uploadMessage: JSX.Element | undefined;
|
|
18
|
+
importIcon: JSX.Element | undefined;
|
|
19
|
+
importMessage: JSX.Element | undefined;
|
|
20
|
+
restApiInfo: object | undefined;
|
|
21
|
+
restApiProgress: JSX.Element[] | undefined;
|
|
22
|
+
setFileProgress: React.Dispatch<React.SetStateAction<number>>;
|
|
23
|
+
handleFileChange: () => Promise<void>;
|
|
24
|
+
importRosterZipFile: (file: File) => Promise<void>;
|
|
25
|
+
handleChooseZipFile: () => void;
|
|
26
|
+
handleImportFromRestfulApi: () => Promise<void>;
|
|
27
|
+
};
|
|
28
|
+
export default useImportOneRoster;
|
|
@@ -9,5 +9,5 @@ interface Props {
|
|
|
9
9
|
minRows?: number;
|
|
10
10
|
isStartRecord?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const TextFieldComponent: ({ valueText, isPageResult, isPageSessionResult, isUserChangeSession, }: Props) => JSX.Element;
|
|
12
|
+
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult, isPageSessionResult, isUserChangeSession, isMultiline, minRows }: Props) => JSX.Element;
|
|
13
13
|
export default TextFieldComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { NOTIFICATION_ALERT } from "./constants/types";
|
|
3
|
+
interface Props {
|
|
4
|
+
data?: NOTIFICATION_ALERT;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose?: Function;
|
|
7
|
+
fontSize: string;
|
|
8
|
+
}
|
|
9
|
+
declare const NotificationAlert: React.FC<Props>;
|
|
10
|
+
export default NotificationAlert;
|
|
@@ -12,3 +12,82 @@ export declare const defaultFontSize = 16;
|
|
|
12
12
|
export declare const defaultFontSmall = 12;
|
|
13
13
|
export declare const defaultFontLarge = 20;
|
|
14
14
|
export declare const LOGO: string;
|
|
15
|
+
export declare const DATE_FORMAT = "yyyy-MM-dd";
|
|
16
|
+
export declare const charactersRandom = "0123456789";
|
|
17
|
+
export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
|
|
18
|
+
export declare const DEFAULT_USER_AVATAR = "/images/image-default.png";
|
|
19
|
+
export declare const SMALL_FONT_DEFAULT = 12;
|
|
20
|
+
export declare const LARGE_FONT_DEFAULT = 20;
|
|
21
|
+
export declare const CONFERENCE_RUBRIC_TYPES: {
|
|
22
|
+
Default: string;
|
|
23
|
+
Balanced: string;
|
|
24
|
+
GoalProgress: string;
|
|
25
|
+
HabitsAttitudesTowardsLearning: string;
|
|
26
|
+
Custom: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const SESSION_START_TIME = "sessionStartTime";
|
|
29
|
+
export declare const SESSION_END_TIME = "sessionEndTime";
|
|
30
|
+
export declare const SESSION_HISTORY_START_TIME = "sessionHistoryStartTime";
|
|
31
|
+
export declare const SESSION_HISTORY_END_TIME = "sessionHistoryEndTime";
|
|
32
|
+
export declare const NOTE_START_TIME = "noteStartTime";
|
|
33
|
+
export declare const NOTE_END_TIME = "noteEndTime";
|
|
34
|
+
export declare const SURVEY_OVERVIEW_FILTERS = "surveyOverviewFilters";
|
|
35
|
+
export declare const SURVEY_SUMMARY_FILTERS = "surveySummaryFilters";
|
|
36
|
+
export declare const REFLECTION_DASHBOARD_FILTERS = "reflectionDashboardFilters";
|
|
37
|
+
export declare const STUDENT_REFECTION_FILTERS = "studentRefectionFilters";
|
|
38
|
+
export declare const TEACHER_REFLECTION_FILTERS = "teacherReflectionFilters";
|
|
39
|
+
export declare const CONFERENCE_FILTERS = "conferenceFilters";
|
|
40
|
+
export declare const CONFERENCE_HISTORY_FILTERS = "conferenceHistoryFilters";
|
|
41
|
+
export declare const CHECKIN_STUDENT_FILTERS = "checkInStudentFilters";
|
|
42
|
+
export declare const CONFERENCE_STUDENT_FILTERS = "conferenceStudentFilters";
|
|
43
|
+
export declare const LEARNING_PLAN_FILTERS = "learningPlanFilters";
|
|
44
|
+
export declare const CONVERSATION_STUDENT_FILTERS = "conversationStudentFilters";
|
|
45
|
+
export declare const OVERVIEW_STUDENT_FILTERS = "overviewStudentFilters";
|
|
46
|
+
export declare const screenWidth: number;
|
|
47
|
+
export declare const iconQuestion: {
|
|
48
|
+
question: string;
|
|
49
|
+
firstIcon: string;
|
|
50
|
+
lastIcon: string;
|
|
51
|
+
}[];
|
|
52
|
+
export declare const linearGradientColorRedToRed: {
|
|
53
|
+
offset: number;
|
|
54
|
+
stopColor: string;
|
|
55
|
+
}[];
|
|
56
|
+
export declare const linearGradientColor: {
|
|
57
|
+
offset: number;
|
|
58
|
+
stopColor: string;
|
|
59
|
+
}[];
|
|
60
|
+
export declare type STUDENT_DETAIL = {
|
|
61
|
+
email: string;
|
|
62
|
+
firstInitial: string;
|
|
63
|
+
fullName: string;
|
|
64
|
+
gender: string;
|
|
65
|
+
gradeLevel: string;
|
|
66
|
+
id: string;
|
|
67
|
+
mtss: string;
|
|
68
|
+
profileImageFileName: string;
|
|
69
|
+
studentId: number;
|
|
70
|
+
totalTime: number;
|
|
71
|
+
};
|
|
72
|
+
export declare enum guideType {
|
|
73
|
+
CheckIn = 0,
|
|
74
|
+
Dashboard = 1,
|
|
75
|
+
Plp = 2,
|
|
76
|
+
Conference = 3,
|
|
77
|
+
Survey = 4,
|
|
78
|
+
ClassReflection = 5
|
|
79
|
+
}
|
|
80
|
+
export declare type filterSelect = {
|
|
81
|
+
clear?: boolean;
|
|
82
|
+
value: string;
|
|
83
|
+
options: string[];
|
|
84
|
+
placeholder: string;
|
|
85
|
+
onChange: (item: string) => void;
|
|
86
|
+
};
|
|
87
|
+
export declare const GRADE_DEFAULT: string[];
|
|
88
|
+
export declare const questionStressTooltipLabel: string[];
|
|
89
|
+
export declare enum TYPE_SURVEY_OPTION {
|
|
90
|
+
VIEW_PREVIEW = 0,
|
|
91
|
+
VIEW_RESPONSE = 1,
|
|
92
|
+
DELETE = 2
|
|
93
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const caculateHeaderFont: (defaultFont: number) => number;
|
|
2
|
+
export declare const buttonFontSize: (defaultFont: number) => string;
|
|
3
|
+
export declare const tabFontSize: (defaultFont: number) => number;
|
|
4
|
+
export declare const tabLargeFontSize: (defaultFont: number) => number;
|
|
5
|
+
export declare const inputFontSize: (defaultFont: number) => number;
|
|
6
|
+
export declare const camelCaseToNomal: (text: string) => string;
|
|
7
|
+
export declare const validateEmail: (email: string) => RegExpMatchArray | null;
|
|
8
|
+
export declare const removeHTMLTags: (input: string) => string;
|
|
9
|
+
export declare const handleClearFilterStorage: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { NOTIFICATION_ALERT } from "../constants/types";
|
|
3
|
+
declare const useAnimation: (data?: NOTIFICATION_ALERT | undefined, fontSize?: string | undefined) => {
|
|
4
|
+
parentRef: import("react").RefObject<HTMLParagraphElement>;
|
|
5
|
+
childRef: import("react").RefObject<HTMLSpanElement>;
|
|
6
|
+
pWidth: number | undefined;
|
|
7
|
+
cWidth: number | undefined;
|
|
8
|
+
};
|
|
9
|
+
export default useAnimation;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const useHeaderSideBar: (_navigations: any) => {
|
|
3
|
+
anchorFontEl: HTMLElement | null;
|
|
4
|
+
anchorEl: HTMLElement | null;
|
|
5
|
+
classes: Record<"header" | "title" | "content" | "overlay" | "arrow" | "grow" | "menuItem" | "menuButton" | "listItem" | "dropdown" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
|
|
6
|
+
screenWidth: number;
|
|
7
|
+
isReadOnly: string | null;
|
|
8
|
+
notificationAlert: import("../constants/types").NOTIFICATION_ALERT | undefined;
|
|
9
|
+
open: boolean;
|
|
10
|
+
openFont: boolean;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
isOpenSideBar: any;
|
|
13
|
+
defaultFont: any;
|
|
14
|
+
user: any;
|
|
15
|
+
drawerRef: React.MutableRefObject<any>;
|
|
16
|
+
openNavigationItem: object;
|
|
17
|
+
handleOpenNavigationItem: (name: string) => void;
|
|
18
|
+
handleCloseNotification: () => void;
|
|
19
|
+
toggleSideBar: () => void;
|
|
20
|
+
handleMenu: (event: React.MouseEvent<HTMLElement>) => void;
|
|
21
|
+
handleFontMenu: (event: React.MouseEvent<HTMLElement>) => void;
|
|
22
|
+
handleFontClose: () => void;
|
|
23
|
+
signOut: () => void;
|
|
24
|
+
renderNotificationBadge: () => JSX.Element;
|
|
25
|
+
openProfile: () => void;
|
|
26
|
+
onChangeFont: (fontSize: number) => void;
|
|
27
|
+
handleClose: () => void;
|
|
28
|
+
renderNavigationItem: (navigation: any, isSubItem?: boolean | undefined) => JSX.Element;
|
|
29
|
+
goToSettings: () => void;
|
|
30
|
+
t: import("i18next").TFunction;
|
|
31
|
+
};
|
|
32
|
+
export default useHeaderSideBar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useLanguages: () => {
|
|
3
|
+
languageList: any;
|
|
4
|
+
toggle: () => void;
|
|
5
|
+
dropdownOpen: boolean;
|
|
6
|
+
currentLang: any;
|
|
7
|
+
changeLanguageApp: (lang: string) => Promise<void>;
|
|
8
|
+
setCurrentLang: import("react").Dispatch<any>;
|
|
9
|
+
};
|
|
10
|
+
export default useLanguages;
|
|
@@ -70,11 +70,13 @@ export interface IQuestionTemplate {
|
|
|
70
70
|
questionAnswer: string[];
|
|
71
71
|
fromLabel: string;
|
|
72
72
|
toLabel: string;
|
|
73
|
+
orderDefaultQuestionTemplate: string;
|
|
73
74
|
}
|
|
74
75
|
export interface ITemplate {
|
|
75
76
|
id: number;
|
|
76
77
|
name: string;
|
|
77
78
|
questionTemplates: IQuestionTemplate[];
|
|
79
|
+
orderDefaultSurvey: number;
|
|
78
80
|
}
|
|
79
81
|
export interface SURVEY_DETAIL {
|
|
80
82
|
deadline?: number | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const customRemove: <T>(array: T[], predicate: (value: T, index: number, array: T[]) => boolean) => T[];
|
|
@@ -27,5 +27,6 @@ declare const useConductSurvey: () => {
|
|
|
27
27
|
isDone: boolean;
|
|
28
28
|
currentPage: import("react").ReactText;
|
|
29
29
|
updateAnswerInterventionLog: (answer: any, callback?: Function | undefined) => Promise<void>;
|
|
30
|
+
checkIsQuestionFlag: (arrData?: any) => boolean;
|
|
30
31
|
};
|
|
31
32
|
export default useConductSurvey;
|
|
@@ -32,5 +32,8 @@ declare const useConferenceRubricDetail: (id?: number | null | undefined) => {
|
|
|
32
32
|
edited: boolean;
|
|
33
33
|
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
34
34
|
setEditedTrue: () => Promise<void>;
|
|
35
|
+
listLanguage: any;
|
|
36
|
+
activeLanguage: string;
|
|
37
|
+
onChangeLanguage: (code: string) => void;
|
|
35
38
|
};
|
|
36
39
|
export default useConferenceRubricDetail;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IStudentPressureChart } from "../configs/types";
|
|
2
|
-
declare const StudentPressureChart: ({ studentPressure, width, print }: IStudentPressureChart) => JSX.Element;
|
|
2
|
+
declare const StudentPressureChart: ({ studentPressure, changeLanguage, width, print }: IStudentPressureChart) => JSX.Element;
|
|
3
3
|
export default StudentPressureChart;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IResponseStudentQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
|
|
1
2
|
import { QuestionType } from "../../ReflectionForm/configs/types";
|
|
2
3
|
export declare type LoginCountingReport = {
|
|
3
4
|
date: string;
|
|
@@ -12,6 +13,10 @@ export declare type QuantityReport = {
|
|
|
12
13
|
numberOfStudents: number;
|
|
13
14
|
numberOfAssistants: number;
|
|
14
15
|
};
|
|
16
|
+
export interface IQuestionTranslate {
|
|
17
|
+
questionName: string;
|
|
18
|
+
questionTranslationName: string;
|
|
19
|
+
}
|
|
15
20
|
export declare type SkillReportItem = {
|
|
16
21
|
skillName: string;
|
|
17
22
|
ratings: SkillRating[];
|
|
@@ -29,6 +34,7 @@ export interface IStudentPressure {
|
|
|
29
34
|
}
|
|
30
35
|
export interface IStudentPressureChart {
|
|
31
36
|
studentPressure: IStudentPressure;
|
|
37
|
+
changeLanguage?: string;
|
|
32
38
|
width?: number;
|
|
33
39
|
print?: boolean;
|
|
34
40
|
}
|
|
@@ -139,6 +145,7 @@ export interface IStudentByGrade {
|
|
|
139
145
|
export interface ISeries {
|
|
140
146
|
name: string;
|
|
141
147
|
data: number[];
|
|
148
|
+
questionTranslation?: string;
|
|
142
149
|
}
|
|
143
150
|
export interface ILearningItem {
|
|
144
151
|
learningStrategyName: string;
|
|
@@ -174,6 +181,7 @@ export interface IResultQuestion {
|
|
|
174
181
|
avgOfStudentChoice: number;
|
|
175
182
|
questionId: number;
|
|
176
183
|
questionText: string;
|
|
184
|
+
questionTranslation: string;
|
|
177
185
|
}
|
|
178
186
|
export interface IOverviewQuestionChoice {
|
|
179
187
|
month: string;
|
|
@@ -298,6 +306,10 @@ export interface IGenerateChart {
|
|
|
298
306
|
avgContent?: string;
|
|
299
307
|
textColors?: string[];
|
|
300
308
|
min?: number;
|
|
309
|
+
studentCount?: number;
|
|
310
|
+
studentPercentage?: number;
|
|
311
|
+
responseStudent?: IResponseStudentQuestion[];
|
|
312
|
+
classFontSize?: string;
|
|
301
313
|
}
|
|
302
314
|
export interface IDashboardToPDF {
|
|
303
315
|
startTime: number | undefined;
|
|
@@ -365,4 +377,10 @@ export interface SessionStrategyQuestionCsv {
|
|
|
365
377
|
text: string;
|
|
366
378
|
questionText: string;
|
|
367
379
|
}
|
|
380
|
+
export interface IModelSkillStudent {
|
|
381
|
+
studentCount?: number;
|
|
382
|
+
studentPercentage?: number;
|
|
383
|
+
name?: string;
|
|
384
|
+
responseStudent?: IResponseStudentQuestion[];
|
|
385
|
+
}
|
|
368
386
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ApexOptions } from "apexcharts";
|
|
3
3
|
import { IOptionSelector } from "../../../components/Select/InputSelector";
|
|
4
|
-
import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IReadinessToLearning, ISeries, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
|
|
4
|
+
import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IQuestionTranslate, IReadinessToLearning, ISeries, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
|
|
5
5
|
export declare const getColors: (length: number) => string[];
|
|
6
6
|
export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends, supportive }: IsyntheticFriendCircle) => {
|
|
7
7
|
id: number;
|
|
@@ -106,9 +106,10 @@ export declare const optionColumnChartAndPercents: (min: number, months: string[
|
|
|
106
106
|
export declare const optionLineChart: (months: string[], activeData: boolean[], colors: string[], dayOfWeek: string[]) => ApexOptions;
|
|
107
107
|
export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], dayOfWeek: string[], newseries?: any) => ApexOptions;
|
|
108
108
|
export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
|
|
109
|
-
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) =>
|
|
110
|
-
export declare const convertToSeriesColumnChartAndPercent: (dataCharts:
|
|
109
|
+
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => IQuestionTranslate[];
|
|
110
|
+
export declare const convertToSeriesColumnChartAndPercent: (dataCharts: IQuestionTranslate[], data: IOverviewQuestionChoice[], isHardQuestion?: boolean | undefined) => {
|
|
111
111
|
name: string;
|
|
112
|
+
questionTranslation: string;
|
|
112
113
|
data: number[];
|
|
113
114
|
}[];
|
|
114
115
|
export declare const convertToSeriesColumnChartAndPercentProgress: (data: IOverviewQuestionChoice[]) => {
|
|
@@ -121,6 +122,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
|
|
|
121
122
|
type: string;
|
|
122
123
|
name: string;
|
|
123
124
|
data: number[];
|
|
125
|
+
questionTranslation?: string | undefined;
|
|
124
126
|
}[];
|
|
125
127
|
export declare const getLastQuarterRange: () => {
|
|
126
128
|
start: number;
|
|
@@ -134,3 +136,6 @@ export declare const filterYearData: {
|
|
|
134
136
|
}[];
|
|
135
137
|
export declare const handleAveraged: (points: number[], isStress?: boolean | undefined) => number;
|
|
136
138
|
export declare const handleGenerateAvgQuestion: (data: number[], isStress: boolean, avgContent?: string | undefined) => string;
|
|
139
|
+
declare type PropertySelector<T> = (item: T) => any;
|
|
140
|
+
export declare const customSortBy: <T>(array: T[], selector: PropertySelector<T>) => T[];
|
|
141
|
+
export {};
|
|
@@ -27,16 +27,15 @@ declare const useChartDatas: () => {
|
|
|
27
27
|
topLearningStrategies: import("../configs/types").IlearningStrategies;
|
|
28
28
|
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
29
29
|
activeColumnSuccessIndicators: boolean[];
|
|
30
|
-
successIndicatorsData: import("
|
|
30
|
+
successIndicatorsData: import("../configs/types").ISeries[];
|
|
31
31
|
monthsOneToOne: string[];
|
|
32
32
|
dayOfWeekOneToOne: string[];
|
|
33
33
|
activeColumnPreparedness: boolean[];
|
|
34
|
-
preparednessData: import("
|
|
35
|
-
safetyData: import("
|
|
36
|
-
stressData: import("
|
|
37
|
-
seriesConference: import("
|
|
34
|
+
preparednessData: import("../configs/types").ISeries[];
|
|
35
|
+
safetyData: import("../configs/types").ISeries[];
|
|
36
|
+
stressData: import("../configs/types").ISeries[];
|
|
37
|
+
seriesConference: import("../configs/types").ISeries[];
|
|
38
38
|
avgConferenceLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
|
|
39
|
-
dataConvertedConference: string[];
|
|
40
39
|
monthsConference: string[];
|
|
41
40
|
dayOfWeekConference: string[];
|
|
42
41
|
handleActiveColumnConference: (index: number) => void;
|
|
@@ -46,5 +45,7 @@ declare const useChartDatas: () => {
|
|
|
46
45
|
dataOverallReadyToLearn: import("../configs/types").IOverallReadinessToLearn;
|
|
47
46
|
readinessToLearning: import("../configs/types").IReadinessToLearning[];
|
|
48
47
|
schoolName: any;
|
|
48
|
+
studentSkillQuestion: import("../../MyStudent/components/NewOverview/Chat/types/types").IStudentSkillQuestion;
|
|
49
|
+
classFontSize: string;
|
|
49
50
|
};
|
|
50
51
|
export default useChartDatas;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox } from "../configs/types";
|
|
3
|
-
import { IFilter, Student
|
|
2
|
+
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox, ISeries } from "../configs/types";
|
|
3
|
+
import { IFilter, Student } from "../../../utils/type";
|
|
4
|
+
import { IStudentSkillQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
|
|
4
5
|
declare const useDashboard: () => {
|
|
5
6
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
6
7
|
filter: DashboardFilter;
|
|
@@ -26,7 +27,6 @@ declare const useDashboard: () => {
|
|
|
26
27
|
handleFilterTeacher: (option: any) => void;
|
|
27
28
|
onChangeFilters: (filterSelect: IFilter) => void;
|
|
28
29
|
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
29
|
-
dataConvertedOneToOne: string[];
|
|
30
30
|
monthsOneToOne: string[];
|
|
31
31
|
dayOfWeekOneToOne: string[];
|
|
32
32
|
stressData: ISeries[];
|
|
@@ -41,12 +41,12 @@ declare const useDashboard: () => {
|
|
|
41
41
|
dataOverallReadyToLearn: IOverallReadinessToLearn;
|
|
42
42
|
seriesConference: ISeries[];
|
|
43
43
|
avgConferenceLastMonth: IQuestionResponseLastMonth[];
|
|
44
|
-
dataConvertedConference: string[];
|
|
45
44
|
monthsConference: string[];
|
|
46
45
|
dayOfWeekConference: string[];
|
|
47
46
|
handleActiveColumnConference: (index: number) => void;
|
|
48
47
|
activeColumnConference: boolean[];
|
|
49
48
|
labelBox: ILabelBox;
|
|
50
49
|
setLabelBox: import("react").Dispatch<import("react").SetStateAction<ILabelBox>>;
|
|
50
|
+
studentSkillQuestion: IStudentSkillQuestion;
|
|
51
51
|
};
|
|
52
52
|
export default useDashboard;
|