mario-education 2.4.5644-feedback → 2.5.0-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/components/DatePicker/FilterDateRange.d.ts +2 -1
- package/dist/components/Dialog/SimpleDialog.d.ts +1 -0
- package/dist/components/Skin/Loading.d.ts +5 -0
- package/dist/components/Table/TableCells.d.ts +5 -1
- package/dist/components/icons/DoneCheckInIcon.d.ts +4 -0
- package/dist/components/icons/EmailIcon.d.ts +5 -0
- package/dist/components/layouts/constants/constants.d.ts +1 -1
- package/dist/components/layouts/hooks/useHeaderSideBar.d.ts +1 -2
- package/dist/components/layouts/icons/DeleteIcon.d.ts +5 -0
- package/dist/components/layouts/icons/FrequencyAndSetupIcon.d.ts +2 -0
- package/dist/components/layouts/icons/TeacherWellBeingIcon.d.ts +2 -0
- package/dist/components/layouts/icons/WellBeingDashboardIcon.d.ts +2 -0
- package/dist/components/selector/CalendarSelect.d.ts +3 -1
- package/dist/components/selector/CustomFilterComponent.d.ts +3 -1
- package/dist/components/selector/RosterUserSelector.d.ts +8 -0
- package/dist/components/selector/StudentMultiSelector.d.ts +1 -1
- package/dist/components/selector/TeacherSelector.d.ts +1 -1
- package/dist/containers/Dashboard/components/BubbleChartCustom.d.ts +2 -1
- package/dist/containers/Dashboard/components/ConcernMetricTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/ConversationTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/DesktopFilterComponent.d.ts +1 -1
- package/dist/containers/Dashboard/components/EducatorConversationModal.d.ts +8 -0
- package/dist/containers/Dashboard/components/GeneratePlpChart.d.ts +1 -1
- package/dist/containers/Dashboard/components/GenerateTrendQuestion.d.ts +1 -1
- package/dist/containers/Dashboard/components/GraphTrend.d.ts +1 -1
- package/dist/containers/Dashboard/components/LearningProgressTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/MobileFilterComponent.d.ts +1 -1
- package/dist/containers/Dashboard/components/OpenFieldTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/ReadinessToLearnTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/StudentPressureChart.d.ts +3 -2
- package/dist/containers/Dashboard/components/SuccessIndicatorTab.d.ts +1 -1
- package/dist/containers/Dashboard/components/TotalCard.d.ts +1 -1
- package/dist/containers/Dashboard/configs/constants.d.ts +1 -1
- package/dist/containers/Dashboard/configs/types.d.ts +46 -0
- package/dist/containers/Dashboard/configs/utils.d.ts +1 -0
- package/dist/containers/Dashboard/hooks/useDashboard.d.ts +8 -9
- package/dist/containers/FrequencyAndSetup/components/ContactFlowInformation.d.ts +12 -0
- package/dist/containers/FrequencyAndSetup/components/FrequencyModeDetail.d.ts +3 -0
- package/dist/containers/FrequencyAndSetup/components/SortableItem.d.ts +8 -0
- package/dist/containers/FrequencyAndSetup/components/ViewQuestionsModal.d.ts +9 -0
- package/dist/containers/FrequencyAndSetup/components/WrapperWellBeing.d.ts +8 -0
- package/dist/containers/FrequencyAndSetup/configs/constants.d.ts +13 -0
- package/dist/containers/FrequencyAndSetup/configs/type.d.ts +43 -0
- package/dist/containers/FrequencyAndSetup/hooks/useFrequencyAndSetup.d.ts +20 -0
- package/dist/containers/FrequencyAndSetup/views/FrequencyAndSetup.d.ts +5 -0
- package/dist/containers/Homepage/common/constant.d.ts +1 -1
- package/dist/containers/Homepage/common/interface.d.ts +9 -0
- package/dist/containers/Homepage/hooks/useGeneralTip.d.ts +1 -1
- package/dist/containers/Homepage/hooks/useGradeUsage.d.ts +1 -1
- package/dist/containers/Homepage/hooks/useSchoolUsage.d.ts +1 -1
- package/dist/containers/Homepage/hooks/useStudentWellness.d.ts +1 -1
- package/dist/containers/Homepage/hooks/useViewStudent.d.ts +1 -1
- package/dist/containers/MarioAi/cofigs/type.d.ts +13 -0
- package/dist/containers/MarioAi/components/ChatContent.d.ts +1 -0
- package/dist/containers/MarioAi/hooks/useAIChat.d.ts +1 -0
- package/dist/containers/MyProfile/configs/constants.d.ts +26 -0
- package/dist/containers/MyProfile/configs/teacherProfileSchema.d.ts +10 -0
- package/dist/containers/MyProfile/hooks/useChangePassword.d.ts +6 -0
- package/dist/containers/MyProfile/hooks/useProfile.d.ts +16 -0
- package/dist/containers/MyProfile/views/ChangePassword.d.ts +2 -0
- package/dist/containers/MyProfile/views/MyProfile.d.ts +3 -0
- package/dist/containers/MyProfile/views/Profile.d.ts +8 -0
- package/dist/containers/QuestionBank/configs/constants.d.ts +2 -1
- package/dist/containers/QuestionBank/configs/type.d.ts +4 -0
- package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +8 -1
- package/dist/containers/QuestionBank/hooks/useQuestionList.d.ts +1 -1
- package/dist/containers/QuestionBank/views/QuestionBankList.d.ts +1 -0
- package/dist/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
- package/dist/containers/SurveyDashboard/components/ConfirmDeleteSelectedModal.d.ts +9 -0
- package/dist/containers/SurveyDashboard/configs/typeCardItem.d.ts +1 -1
- package/dist/containers/SurveyDashboard/configs/types.d.ts +1 -1
- package/dist/containers/SurveyDashboard/hooks/useListSurvey.d.ts +7 -0
- package/dist/containers/UserManagement/configs/constants.d.ts +52 -0
- package/dist/containers/UserManagement/configs/profileSchema.d.ts +13 -0
- package/dist/containers/UserManagement/hooks/useChangePassword.d.ts +6 -0
- package/dist/containers/UserManagement/hooks/useUserDetail.d.ts +45 -0
- package/dist/containers/UserManagement/views/ChangePassword.d.ts +2 -0
- package/dist/containers/UserManagement/views/Profile.d.ts +16 -0
- package/dist/containers/UserManagement/views/UserProfileManagement.d.ts +3 -0
- package/dist/containers/WellBeingDashboard/components/DashboardToPDF.d.ts +3 -0
- package/dist/containers/WellBeingDashboard/components/EducatorWithoutCheckInsModal.d.ts +10 -0
- package/dist/containers/WellBeingDashboard/components/EmptyChart.d.ts +5 -0
- package/dist/containers/WellBeingDashboard/components/ExportChartPdfModal.d.ts +4 -0
- package/dist/containers/WellBeingDashboard/components/Filter.d.ts +12 -0
- package/dist/containers/WellBeingDashboard/components/OpenFieldQuestionTable.d.ts +3 -0
- package/dist/containers/WellBeingDashboard/components/OpenFieldTab.d.ts +3 -0
- package/dist/containers/WellBeingDashboard/components/RatingQuestionChart.d.ts +19 -0
- package/dist/containers/WellBeingDashboard/configs/constants.d.ts +11 -0
- package/dist/containers/WellBeingDashboard/configs/type.d.ts +143 -0
- package/dist/containers/WellBeingDashboard/configs/utils.d.ts +10 -0
- package/dist/containers/WellBeingDashboard/hooks/useOpenFieldWellbeingQuestion.d.ts +14 -0
- package/dist/containers/WellBeingDashboard/hooks/useWellbeingDashboard.d.ts +71 -0
- package/dist/containers/WellBeingDashboard/views/OpenFieldWellbeingQuestion.d.ts +2 -0
- package/dist/containers/WellBeingDashboard/views/WellBeingDashboard.d.ts +3 -0
- package/dist/hooks/useRosterUserSelector.d.ts +8 -0
- package/dist/index.css +1796 -35
- package/dist/index.d.ts +6 -1
- package/dist/index.js +9164 -2110
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9155 -2106
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyProfile.d.ts +6 -0
- package/dist/services/geminiAiService.d.ts +2 -1
- package/dist/services/questionService.d.ts +1 -0
- package/dist/services/userManagementService.d.ts +9 -0
- package/dist/services/userService.d.ts +3 -0
- package/dist/services/wellbeingService.d.ts +10 -0
- package/dist/types/types.d.ts +16 -0
- package/dist/utils/constants.d.ts +2 -1
- package/dist/utils/constantsFn.d.ts +1 -0
- package/package.json +6 -5
|
@@ -5,6 +5,7 @@ interface PropsType {
|
|
|
5
5
|
onChangeStartDate: (date: MaterialUiPickersDate | null, value?: string | null) => void;
|
|
6
6
|
onChangeEndDate: (date: MaterialUiPickersDate | null, value?: string | null) => void;
|
|
7
7
|
fontSizeInputSelect?: string | null;
|
|
8
|
+
disabled?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const FilterDateRange: ({ endDate, startDate, onChangeEndDate, onChangeStartDate, fontSizeInputSelect }: PropsType) => JSX.Element;
|
|
10
|
+
declare const FilterDateRange: ({ endDate, startDate, onChangeEndDate, onChangeStartDate, fontSizeInputSelect, disabled }: PropsType) => JSX.Element;
|
|
10
11
|
export default FilterDateRange;
|
|
@@ -10,6 +10,10 @@ interface PROPS_TABLE {
|
|
|
10
10
|
listTableCell: TABLE_CELL[];
|
|
11
11
|
filters: FILTER_SURVEY;
|
|
12
12
|
handleSort?: Function;
|
|
13
|
+
hasCheckbox?: boolean;
|
|
14
|
+
dataSelect?: any[];
|
|
15
|
+
selectedIds?: number[];
|
|
16
|
+
handleSelectAll?: any;
|
|
13
17
|
}
|
|
14
|
-
declare const TableCells: ({ listTableCell, filters, handleSort }: PROPS_TABLE) => JSX.Element;
|
|
18
|
+
declare const TableCells: ({ listTableCell, filters, handleSort, hasCheckbox, dataSelect, selectedIds, handleSelectAll }: PROPS_TABLE) => JSX.Element;
|
|
15
19
|
export default TableCells;
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
declare const useHeaderSideBar: (_navigations: any) => {
|
|
3
3
|
anchorFontEl: HTMLElement | null;
|
|
4
4
|
anchorEl: HTMLElement | null;
|
|
5
|
-
classes: Record<"title" | "header" | "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>;
|
|
5
|
+
classes: Record<"title" | "header" | "content" | "overlay" | "avatar" | "arrow" | "grow" | "menuItem" | "menuText" | "menuButton" | "listItem" | "dropdown" | "menuIcon" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
|
|
6
6
|
screenWidth: number;
|
|
7
7
|
isReadOnly: string | null;
|
|
8
8
|
notificationAlert: import("../constants/types").NOTIFICATION_ALERT | undefined;
|
|
@@ -26,7 +26,6 @@ declare const useHeaderSideBar: (_navigations: any) => {
|
|
|
26
26
|
onChangeFont: (fontSize: number) => void;
|
|
27
27
|
handleClose: () => void;
|
|
28
28
|
renderNavigationItem: (navigation: any, isSubItem?: boolean | undefined) => JSX.Element;
|
|
29
|
-
goToSettings: () => void;
|
|
30
29
|
t: import("i18next").TFunction;
|
|
31
30
|
isEnableMarioAi: any;
|
|
32
31
|
};
|
|
@@ -8,6 +8,8 @@ interface ICalendarSelect {
|
|
|
8
8
|
options: IOptionCalendar[];
|
|
9
9
|
value?: string;
|
|
10
10
|
onChange?: Function;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
customClassName?: string;
|
|
11
13
|
}
|
|
12
|
-
declare const CalendarSelect: ({ options, value, onChange }: ICalendarSelect) => JSX.Element;
|
|
14
|
+
declare const CalendarSelect: ({ options, value, onChange, disabled, customClassName }: ICalendarSelect) => JSX.Element;
|
|
13
15
|
export default CalendarSelect;
|
|
@@ -33,6 +33,8 @@ interface PROPS_FILTER {
|
|
|
33
33
|
onChangeOptionDate?: Function;
|
|
34
34
|
renderOption?: string;
|
|
35
35
|
isSelectMulti?: boolean;
|
|
36
|
+
handleOpenModalDelete?: any;
|
|
37
|
+
selectedIds?: number[];
|
|
36
38
|
}
|
|
37
|
-
declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch, handleSelectFavorite, studentList, onSelectStudent, toggleKeyCustom, handleToggleCustom, toggleContentCustom, optionCustomSelect, handleChangeCustomSelect, surveyOptions, handleChangeSurveyOption, academicOption, handleChangeAcademicYear, valueAcademicYear, handleDownloadCsv, onChangeGrade, onChangeOptionDate, renderOption, isSelectMulti, }: PROPS_FILTER) => JSX.Element;
|
|
39
|
+
declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch, handleSelectFavorite, studentList, onSelectStudent, toggleKeyCustom, handleToggleCustom, toggleContentCustom, optionCustomSelect, handleChangeCustomSelect, surveyOptions, handleChangeSurveyOption, academicOption, handleChangeAcademicYear, valueAcademicYear, handleDownloadCsv, onChangeGrade, onChangeOptionDate, renderOption, isSelectMulti, handleOpenModalDelete, selectedIds }: PROPS_FILTER) => JSX.Element;
|
|
38
40
|
export default CustomFilterComponent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IStudentMultiSelector } from "../../types/types";
|
|
2
|
-
declare const StudentMultiSelector: ({ student, setStudent, studentData, grades, fontSizeInputSelect, inputStyleProps }: IStudentMultiSelector) => JSX.Element;
|
|
2
|
+
declare const StudentMultiSelector: ({ student, setStudent, studentData, grades, fontSizeInputSelect, inputStyleProps, disabled }: IStudentMultiSelector) => JSX.Element;
|
|
3
3
|
export default StudentMultiSelector;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TeacherSelector: ({ isShowDropDownIcon, classes, setSelectTeacherUserId }: any) => JSX.Element;
|
|
1
|
+
declare const TeacherSelector: ({ isShowDropDownIcon, classes, setSelectTeacherUserId, setSelected, disabled }: any) => JSX.Element;
|
|
2
2
|
export default TeacherSelector;
|
|
@@ -9,6 +9,7 @@ interface IProps {
|
|
|
9
9
|
hiddenDescription?: boolean;
|
|
10
10
|
handleHoverTooltip?: Function;
|
|
11
11
|
name?: string;
|
|
12
|
+
loadingComplete?: boolean;
|
|
12
13
|
}
|
|
13
|
-
declare const _default: React.MemoExoticComponent<({ data, print, disableSeriesName, hiddenRightLegend, hiddenDescription, handleHoverTooltip, name }: IProps) => JSX.Element>;
|
|
14
|
+
declare const _default: React.MemoExoticComponent<({ data, print, disableSeriesName, hiddenRightLegend, hiddenDescription, handleHoverTooltip, name, loadingComplete }: IProps) => JSX.Element>;
|
|
14
15
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IConcernMetricTab } from "../configs/types";
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ studentSkillQuestion, classFontSize, safetyData, stressData, monthsOneToOne, dayOfWeekOneToOne, handleHoverTooltip, avgQuestionLastMonth, studentPressure, timeOfDay, metricWeeks, lowMetricStudents, metricDataMonths, metricDataWeeks, metricMonths, studentMetricPercent, stressValue }: IConcernMetricTab) => JSX.Element>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ studentSkillQuestion, classFontSize, safetyData, stressData, monthsOneToOne, dayOfWeekOneToOne, handleHoverTooltip, avgQuestionLastMonth, studentPressure, timeOfDay, metricWeeks, lowMetricStudents, metricDataMonths, metricDataWeeks, metricMonths, studentMetricPercent, stressValue, safetyValue, loadingComplete }: IConcernMetricTab) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IConversationTab } from "../configs/types";
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ conversationKpi }: IConversationTab) => JSX.Element>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ conversationKpi, loadingComplete }: IConversationTab) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IFilterComponent } from "../configs/types";
|
|
2
|
-
declare const DesktopFilterComponent: ({ gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, optionDate, onChangeFilterCalendar, onClearFilter, onSaveFilter }: IFilterComponent) => JSX.Element;
|
|
2
|
+
declare const DesktopFilterComponent: ({ gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, optionDate, onChangeFilterCalendar, onClearFilter, onSaveFilter, setSelectTeacherUserId, loadingComplete }: IFilterComponent) => JSX.Element;
|
|
3
3
|
export default DesktopFilterComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IEducatorConversationKpi } from '../configs/types';
|
|
2
|
+
interface IProps {
|
|
3
|
+
educators: IEducatorConversationKpi[];
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: Function;
|
|
6
|
+
}
|
|
7
|
+
declare const EducatorConversationModal: ({ educators, open, onClose }: IProps) => JSX.Element;
|
|
8
|
+
export default EducatorConversationModal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IGenerateDashboardChart } from "../configs/types";
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ typeChart, activeColumn, series, months, name, dayOfWeek, colors, textColors, avgQuestionLastMonth, studentCount, studentPercentage, responseStudent, classFontSize, avgContent, print, width, height, titleClassFontSize, min, hiddenKpi, timeOfDay, weeklySeries, weeks, description, skillClass, kpiClassName, lowMetricStudents, studentMetricPercent, noGradient, setOptionDate, stressValue, noAvgTotal }: IGenerateDashboardChart) => JSX.Element>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ typeChart, activeColumn, series, months, name, dayOfWeek, colors, textColors, avgQuestionLastMonth, studentCount, studentPercentage, responseStudent, classFontSize, avgContent, print, width, height, titleClassFontSize, min, hiddenKpi, timeOfDay, weeklySeries, weeks, description, skillClass, kpiClassName, lowMetricStudents, studentMetricPercent, noGradient, setOptionDate, stressValue, noAvgTotal, onActiveColumn, loadingComplete, optionDate }: IGenerateDashboardChart) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IGenerateTrendQuestion } from "../configs/types";
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ series, avgQuestionLastMonth, icons, className, noAvgText }: IGenerateTrendQuestion) => JSX.Element>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ series, avgQuestionLastMonth, icons, className, noAvgText, timeOfDay, loadingComplete }: IGenerateTrendQuestion) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IGraphTrend } from "../configs/types";
|
|
2
|
-
declare const GraphTrend: ({ value, label, isStress, timeOfDay, valueData }: IGraphTrend) => JSX.Element;
|
|
2
|
+
declare const GraphTrend: ({ value, label, isStress, timeOfDay, valueData, loadingComplete }: IGraphTrend) => JSX.Element;
|
|
3
3
|
export default GraphTrend;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ILearningProgressTab } from "../configs/types";
|
|
2
|
-
declare const LearningProgressTab: ({ learningStrategies, classFontSize, print }: ILearningProgressTab) => JSX.Element;
|
|
2
|
+
declare const LearningProgressTab: ({ learningStrategies, classFontSize, print, loadingComplete }: ILearningProgressTab) => JSX.Element;
|
|
3
3
|
export default LearningProgressTab;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IFilterComponent } from "../configs/types";
|
|
2
|
-
declare const MobileFilterComponent: ({ gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, onChangeFilterCalendar, optionDate, expandedFilter, onToggleChart }: IFilterComponent) => JSX.Element;
|
|
2
|
+
declare const MobileFilterComponent: ({ gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, onChangeFilterCalendar, optionDate, expandedFilter, onToggleChart, setSelectTeacherUserId, loadingComplete }: IFilterComponent) => JSX.Element;
|
|
3
3
|
export default MobileFilterComponent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IOpenFieldTab } from "../configs/types";
|
|
2
|
-
declare const OpenFieldTab: ({ handleRedirectAllAnswer, summarizeQuestions, goToSession, handleChangeQuestionFilter, questionFilters }: IOpenFieldTab) => JSX.Element;
|
|
2
|
+
declare const OpenFieldTab: ({ handleRedirectAllAnswer, summarizeQuestions, goToSession, handleChangeQuestionFilter, questionFilters, loadingComplete }: IOpenFieldTab) => JSX.Element;
|
|
3
3
|
export default OpenFieldTab;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IReadinessToLearnTab } from "../configs/types";
|
|
2
|
-
declare const ReadinessToLearnTab: ({ dataReadinessOfChart, handleHoverTooltip, classFontSize, dataOverallReadyToLearn, dayOfWeekOneToOne, monthsOneToOne, avgQuestionLastMonth, preparednessData, preparednessWeeklyData, weeksOneToOne, setOptionDate }: IReadinessToLearnTab) => JSX.Element;
|
|
2
|
+
declare const ReadinessToLearnTab: ({ dataReadinessOfChart, handleHoverTooltip, classFontSize, dataOverallReadyToLearn, dayOfWeekOneToOne, monthsOneToOne, avgQuestionLastMonth, preparednessData, preparednessWeeklyData, weeksOneToOne, setOptionDate, activeColumn, onActiveColumn, timeOfDay, loadingComplete }: IReadinessToLearnTab) => JSX.Element;
|
|
3
3
|
export default ReadinessToLearnTab;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { IStudentPressureChart } from "../configs/types";
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ studentPressure, changeLanguage, width, print, handleHoverTooltip, loadingComplete }: IStudentPressureChart) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ISuccessIndicatorTab } from "../configs/types";
|
|
2
|
-
declare const SuccessIndicatorTab: ({ successIndicatorsData, avgQuestionLastMonth, dayOfWeekOneToOne, monthsOneToOne, timeOfDay, classFontSize, handleHoverTooltip, successIndicatorWeeklyData, weeksOneToOne }: ISuccessIndicatorTab) => JSX.Element;
|
|
2
|
+
declare const SuccessIndicatorTab: ({ successIndicatorsData, avgQuestionLastMonth, dayOfWeekOneToOne, monthsOneToOne, timeOfDay, classFontSize, handleHoverTooltip, successIndicatorWeeklyData, weeksOneToOne, activeColumn, onActiveColumn, loadingComplete }: ISuccessIndicatorTab) => JSX.Element;
|
|
3
3
|
export default SuccessIndicatorTab;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITotalCard } from "../configs/types";
|
|
2
|
-
declare const TotalCard: ({ iconSrc, label, value }: ITotalCard) => JSX.Element;
|
|
2
|
+
declare const TotalCard: ({ iconSrc, label, value, loadingComplete, customClassName, handleOpenModal }: ITotalCard) => JSX.Element;
|
|
3
3
|
export default TotalCard;
|
|
@@ -69,7 +69,7 @@ export declare const INITIAL_OVERALL_READY_TO_LEARN: {
|
|
|
69
69
|
export declare const heightChartDefault = 250;
|
|
70
70
|
export declare const PREPAREDNESS_QUESTION: string[];
|
|
71
71
|
export declare const SUCCESS_INDICATORS_QUESTION: string[];
|
|
72
|
-
export declare const SAFETY_QUESTION
|
|
72
|
+
export declare const SAFETY_QUESTION: string[];
|
|
73
73
|
export declare const STRESS_QUESTION = "stress";
|
|
74
74
|
export declare const readinessToLearnName = "readiness_to_learn";
|
|
75
75
|
export declare const preparednessChartName = "readiness_to_learn";
|
|
@@ -40,6 +40,7 @@ export interface IStudentPressureChart {
|
|
|
40
40
|
width?: number;
|
|
41
41
|
print?: boolean;
|
|
42
42
|
handleHoverTooltip?: Function;
|
|
43
|
+
loadingComplete?: boolean;
|
|
43
44
|
}
|
|
44
45
|
export interface IStudentPressure {
|
|
45
46
|
boreOutStudent: string[];
|
|
@@ -467,11 +468,16 @@ export interface IFilterComponent {
|
|
|
467
468
|
onClearFilter: Function;
|
|
468
469
|
onSaveFilter: Function;
|
|
469
470
|
optionDate?: string;
|
|
471
|
+
setSelectTeacherUserId: Function;
|
|
472
|
+
loadingComplete: ILoadingComplete;
|
|
470
473
|
}
|
|
471
474
|
export interface ITotalCard {
|
|
472
475
|
label: string;
|
|
473
476
|
value: number | string;
|
|
474
477
|
iconSrc: string;
|
|
478
|
+
loadingComplete?: boolean;
|
|
479
|
+
customClassName?: string;
|
|
480
|
+
handleOpenModal?: any;
|
|
475
481
|
}
|
|
476
482
|
export interface IQuestionResponseLastMonth {
|
|
477
483
|
avgQuestionResponse: number;
|
|
@@ -536,6 +542,9 @@ export interface IGenerateDashboardChart {
|
|
|
536
542
|
setOptionDate?: Function;
|
|
537
543
|
stressValue?: number[];
|
|
538
544
|
noAvgTotal?: boolean;
|
|
545
|
+
onActiveColumn?: any;
|
|
546
|
+
loadingComplete?: boolean;
|
|
547
|
+
optionDate?: string;
|
|
539
548
|
}
|
|
540
549
|
export interface IResponseStudentQuestion {
|
|
541
550
|
sessionId: number;
|
|
@@ -581,9 +590,12 @@ export interface IConcernMetricTab {
|
|
|
581
590
|
lowMetricStudents: ILowMetricStudent[];
|
|
582
591
|
studentMetricPercent: number;
|
|
583
592
|
stressValue: number[];
|
|
593
|
+
safetyValue: number[];
|
|
594
|
+
loadingComplete: ILoadingComplete;
|
|
584
595
|
}
|
|
585
596
|
export interface IConversationTab {
|
|
586
597
|
conversationKpi: IConversationKpi;
|
|
598
|
+
loadingComplete: boolean;
|
|
587
599
|
}
|
|
588
600
|
export interface IGraphTrend {
|
|
589
601
|
value: number;
|
|
@@ -591,6 +603,7 @@ export interface IGraphTrend {
|
|
|
591
603
|
label?: string;
|
|
592
604
|
timeOfDay?: string;
|
|
593
605
|
valueData?: number;
|
|
606
|
+
loadingComplete: boolean;
|
|
594
607
|
}
|
|
595
608
|
export interface IOpenFieldTab {
|
|
596
609
|
summarizeQuestions: ISummarizeQuestion | undefined;
|
|
@@ -598,6 +611,7 @@ export interface IOpenFieldTab {
|
|
|
598
611
|
questionFilters: any;
|
|
599
612
|
handleChangeQuestionFilter: (filter: any) => void;
|
|
600
613
|
goToSession: Function;
|
|
614
|
+
loadingComplete: boolean;
|
|
601
615
|
}
|
|
602
616
|
export interface ISuccessIndicatorTab {
|
|
603
617
|
successIndicatorsData: ISeries[];
|
|
@@ -609,6 +623,9 @@ export interface ISuccessIndicatorTab {
|
|
|
609
623
|
classFontSize?: string;
|
|
610
624
|
handleHoverTooltip?: Function;
|
|
611
625
|
weeksOneToOne: string[];
|
|
626
|
+
activeColumn: boolean[];
|
|
627
|
+
onActiveColumn: any;
|
|
628
|
+
loadingComplete: ILoadingComplete;
|
|
612
629
|
}
|
|
613
630
|
export interface ILearningItem {
|
|
614
631
|
learningStrategyName: string;
|
|
@@ -620,6 +637,7 @@ export interface ILearningProgressTab {
|
|
|
620
637
|
classFontSize?: string;
|
|
621
638
|
handleHoverTooltip?: Function;
|
|
622
639
|
print?: boolean;
|
|
640
|
+
loadingComplete: boolean;
|
|
623
641
|
}
|
|
624
642
|
export interface IReadinessToLearnTab {
|
|
625
643
|
handleHoverTooltip?: Function;
|
|
@@ -633,6 +651,10 @@ export interface IReadinessToLearnTab {
|
|
|
633
651
|
preparednessWeeklyData: ISeries[];
|
|
634
652
|
weeksOneToOne: string[];
|
|
635
653
|
setOptionDate?: Function;
|
|
654
|
+
onActiveColumn?: any;
|
|
655
|
+
activeColumn?: boolean[];
|
|
656
|
+
timeOfDay?: string;
|
|
657
|
+
loadingComplete: ILoadingComplete;
|
|
636
658
|
}
|
|
637
659
|
export interface IGenerateTrendQuestion {
|
|
638
660
|
series: ISeries[];
|
|
@@ -641,6 +663,8 @@ export interface IGenerateTrendQuestion {
|
|
|
641
663
|
icons: string[];
|
|
642
664
|
className?: string;
|
|
643
665
|
noAvgText?: boolean;
|
|
666
|
+
timeOfDay?: string;
|
|
667
|
+
loadingComplete: boolean;
|
|
644
668
|
}
|
|
645
669
|
export interface FILTER_STUDENT_WELLBEING {
|
|
646
670
|
startDate?: number;
|
|
@@ -670,11 +694,33 @@ export interface IMissedReviewStudents {
|
|
|
670
694
|
grade?: string;
|
|
671
695
|
conversationDate?: string;
|
|
672
696
|
}
|
|
697
|
+
export interface IEducatorConversationKpi {
|
|
698
|
+
educatorUserId: string;
|
|
699
|
+
educatorName: string;
|
|
700
|
+
educatorProfileImage?: string;
|
|
701
|
+
numberOfConversation: number;
|
|
702
|
+
numberOfExpectedConversation: number;
|
|
703
|
+
roles: string[];
|
|
704
|
+
}
|
|
673
705
|
export interface IConversationKpi {
|
|
674
706
|
conversationTarget: number;
|
|
675
707
|
conversationTeacherAvg: number;
|
|
676
708
|
avgStudentReview: number;
|
|
677
709
|
sessionReviewSkipped: number;
|
|
678
710
|
missedReviewStudents: IMissedReviewStudents[];
|
|
711
|
+
educatorConversationsTarget: IEducatorConversationKpi[];
|
|
712
|
+
}
|
|
713
|
+
export interface ILoadingComplete {
|
|
714
|
+
allStudent: boolean;
|
|
715
|
+
dataChart: boolean;
|
|
716
|
+
dataConversationGoal: boolean;
|
|
717
|
+
dataDistribution: boolean;
|
|
718
|
+
dataMetric: boolean;
|
|
719
|
+
dataOverview: boolean;
|
|
720
|
+
dataStatics: boolean;
|
|
721
|
+
dataStudentPressure: boolean;
|
|
722
|
+
gradeList: boolean;
|
|
723
|
+
skillQuestion: boolean;
|
|
724
|
+
summarizeReport: boolean;
|
|
679
725
|
}
|
|
680
726
|
export {};
|
|
@@ -141,4 +141,5 @@ declare type PropertySelector<T> = (item: T) => any;
|
|
|
141
141
|
export declare const customSortBy: <T>(array: T[], selector: PropertySelector<T>) => T[];
|
|
142
142
|
export declare const formatLowMetricLabels: (labels: string[]) => string;
|
|
143
143
|
export declare const getDescriptionFromPercent: (percent: number, descriptions: any[], isStress?: boolean) => any;
|
|
144
|
+
export declare const getUniqueSortedGrades: (students: any) => unknown[];
|
|
144
145
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter,
|
|
2
|
+
import { DashboardFilter, IlearningStrategies, IReadinessToLearning, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ISeries, ISummarizeQuestion, IFilterCalendar, ILowMetricStudent, IConversationKpi, ILoadingComplete } from "../configs/types";
|
|
3
3
|
import { IFilter, Student } from "../../../utils/type";
|
|
4
4
|
import { IStudentSkillQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
|
|
5
5
|
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
@@ -10,15 +10,8 @@ declare const useDashboard: () => {
|
|
|
10
10
|
listTotalTime: IDashboardToTalStudent;
|
|
11
11
|
readinessToLearning: IReadinessToLearning[];
|
|
12
12
|
topLearningStrategies: IlearningStrategies;
|
|
13
|
-
studentByGrade: IStudentByGrade[];
|
|
14
|
-
friendCircles: IsyntheticFriendCircle | undefined;
|
|
15
|
-
activityCircles: IActivityCircle | undefined;
|
|
16
|
-
studentBySpecialNeed: IStudentBySpecialNeed[];
|
|
17
|
-
studentByAge: IStudentByAge;
|
|
18
|
-
studentByGender: IStudentByGender;
|
|
19
13
|
handleChangeFilters: (event: any) => void;
|
|
20
14
|
handleChangeAcademicYearFilters: (option: any) => void;
|
|
21
|
-
bandScore: BAND_SCORE[];
|
|
22
15
|
academicYear: any;
|
|
23
16
|
user: any;
|
|
24
17
|
studentDefault: Student | undefined;
|
|
@@ -52,7 +45,7 @@ declare const useDashboard: () => {
|
|
|
52
45
|
isExistQuestion: boolean;
|
|
53
46
|
setIsExistQuestion: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
54
47
|
handleChangeFilterCalendar: (value: IFilterCalendar) => void;
|
|
55
|
-
handleChangeFilterGrade: (
|
|
48
|
+
handleChangeFilterGrade: (grades: string[]) => void;
|
|
56
49
|
activeTab: string;
|
|
57
50
|
setActiveTab: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
58
51
|
handleHoverTooltip: (name: string) => void;
|
|
@@ -88,5 +81,11 @@ declare const useDashboard: () => {
|
|
|
88
81
|
setOptionDate: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
89
82
|
stressValue: number[];
|
|
90
83
|
conversationKpi: IConversationKpi;
|
|
84
|
+
setSelectTeacherUserId: (value: any) => Promise<void>;
|
|
85
|
+
safetyValue: number[];
|
|
86
|
+
activeColumnReadiness: boolean[];
|
|
87
|
+
activeColumnIndicators: boolean[];
|
|
88
|
+
handleActiveColumn: (index: number, name: string) => void;
|
|
89
|
+
loadingComplete: ILoadingComplete;
|
|
91
90
|
};
|
|
92
91
|
export default useDashboard;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IWellBeingFlowContact } from '../configs/type';
|
|
2
|
+
interface IProps {
|
|
3
|
+
contacts: IWellBeingFlowContact[];
|
|
4
|
+
handleAddContactFlow: Function;
|
|
5
|
+
handleDeleteContactFlow: any;
|
|
6
|
+
handleChangeValueContact: Function;
|
|
7
|
+
contactIdToDeleteRef: any;
|
|
8
|
+
openModalDelete: boolean;
|
|
9
|
+
setOpenModalDelete: Function;
|
|
10
|
+
}
|
|
11
|
+
declare const ContactFlowInformation: ({ contacts, handleAddContactFlow, handleDeleteContactFlow, handleChangeValueContact, contactIdToDeleteRef, openModalDelete, setOpenModalDelete }: IProps) => JSX.Element;
|
|
12
|
+
export default ContactFlowInformation;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IWellBeingSection } from '../configs/type';
|
|
3
|
+
interface IProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
sectionSelected: IWellBeingSection;
|
|
7
|
+
}
|
|
8
|
+
declare const ViewQuestionsModal: FC<IProps>;
|
|
9
|
+
export default ViewQuestionsModal;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IWellBeingFlowContact, Frequency_Mode, Frequency_Setting, IWellBeingSetup, IWellBeingSection } from "./type";
|
|
2
|
+
export declare const FrequencyMode: {
|
|
3
|
+
value: Frequency_Mode;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const FrequencySetting: {
|
|
8
|
+
value: Frequency_Setting;
|
|
9
|
+
title: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const InitialContactFlow: IWellBeingFlowContact;
|
|
12
|
+
export declare const initSetup: IWellBeingSetup;
|
|
13
|
+
export declare const DefaultSection: IWellBeingSection;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare enum Frequency_Mode {
|
|
2
|
+
Bulk = "Bulk",
|
|
3
|
+
Detailed = "Detailed"
|
|
4
|
+
}
|
|
5
|
+
export declare enum Frequency_Setting {
|
|
6
|
+
Weekly = "Weekly",
|
|
7
|
+
Monthly = "Monthly",
|
|
8
|
+
Custom = "Custom"
|
|
9
|
+
}
|
|
10
|
+
export interface IWellBeingSetup {
|
|
11
|
+
id: number;
|
|
12
|
+
frequencyMode: Frequency_Mode;
|
|
13
|
+
frequencyType: Frequency_Setting;
|
|
14
|
+
customFrequencyDays: number | null;
|
|
15
|
+
isContactFlowEnabled: boolean;
|
|
16
|
+
sections: IWellBeingSection[];
|
|
17
|
+
contacts: IWellBeingFlowContact[];
|
|
18
|
+
}
|
|
19
|
+
export interface IWellBeingSection {
|
|
20
|
+
id: number;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
iconUrl: string;
|
|
24
|
+
order: number;
|
|
25
|
+
defaultOrder: number;
|
|
26
|
+
questions: string[];
|
|
27
|
+
}
|
|
28
|
+
export interface IWellBeingFlowContact {
|
|
29
|
+
id: number;
|
|
30
|
+
name: string;
|
|
31
|
+
role: string;
|
|
32
|
+
email: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IFrequencyModeDetail {
|
|
35
|
+
sections: IWellBeingSection[];
|
|
36
|
+
onChange: Function;
|
|
37
|
+
onViewQuestions: (data: any) => void;
|
|
38
|
+
}
|
|
39
|
+
export interface IQuestionBySection {
|
|
40
|
+
sections: IWellBeingSection[];
|
|
41
|
+
onChange: Function;
|
|
42
|
+
onViewQuestions: (data: any) => void;
|
|
43
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IWellBeingFlowContact, IWellBeingSection, IWellBeingSetup } from "../configs/type";
|
|
3
|
+
declare const useFrequencyAndSetup: () => {
|
|
4
|
+
handleAddContactFlow: () => void;
|
|
5
|
+
handleDeleteContactFlow: (id: number) => void;
|
|
6
|
+
handleChangeValueContact: (id: number, key: string, value: string) => void;
|
|
7
|
+
contactIdToDeleteRef: import("react").MutableRefObject<number>;
|
|
8
|
+
openModalDelete: boolean;
|
|
9
|
+
setOpenModalDelete: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
|
+
setup: IWellBeingSetup;
|
|
11
|
+
onChangeSetup: <K extends "id" | "contacts" | "sections" | "frequencyMode" | "frequencyType" | "customFrequencyDays" | "isContactFlowEnabled">(key: K, value: IWellBeingSetup[K]) => void;
|
|
12
|
+
contacts: IWellBeingFlowContact[];
|
|
13
|
+
sections: IWellBeingSection[];
|
|
14
|
+
onChangeSections: (orderSections: IWellBeingSection[]) => void;
|
|
15
|
+
onViewQuestions: (data: IWellBeingSection) => void;
|
|
16
|
+
sectionSelected: IWellBeingSection;
|
|
17
|
+
openViewQuestionModal: boolean;
|
|
18
|
+
onCloseViewQuestions: () => void;
|
|
19
|
+
};
|
|
20
|
+
export default useFrequencyAndSetup;
|
|
@@ -23,7 +23,7 @@ export declare const INITIAl_SCHOOL_INFO: {
|
|
|
23
23
|
logo: string;
|
|
24
24
|
name: string;
|
|
25
25
|
};
|
|
26
|
-
export declare const SAFETY_QUESTION
|
|
26
|
+
export declare const SAFETY_QUESTION: string[];
|
|
27
27
|
export declare const STRESS_QUESTION = "stress";
|
|
28
28
|
export declare const PREPAREDNESS_QUESTION: string[];
|
|
29
29
|
export declare const SUCCESS_INDICATORS_QUESTION: string[];
|
|
@@ -135,6 +135,7 @@ export interface IOneToOneParams {
|
|
|
135
135
|
gradeFilter?: string[];
|
|
136
136
|
roles?: string[];
|
|
137
137
|
academicYearId?: number;
|
|
138
|
+
includeMonthAndWeekView?: boolean;
|
|
138
139
|
}
|
|
139
140
|
export interface IStudentQuestionSkillParams {
|
|
140
141
|
studentId: any;
|
|
@@ -145,3 +146,11 @@ export interface IStudentQuestionSkillParams {
|
|
|
145
146
|
academicYearId?: number;
|
|
146
147
|
optionDate?: string;
|
|
147
148
|
}
|
|
149
|
+
export interface ILoadingComplete {
|
|
150
|
+
gradeUsage: boolean;
|
|
151
|
+
schoolUsage: boolean;
|
|
152
|
+
generalTips: boolean;
|
|
153
|
+
dataCheckIns: boolean;
|
|
154
|
+
skillQuestion: boolean;
|
|
155
|
+
viewStudent: boolean;
|
|
156
|
+
}
|