mario-education 2.4.588-feedback → 2.4.588-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.
- package/dist/components/DatePicker/FilterDateRange.d.ts +2 -1
- package/dist/components/Skin/Loading.d.ts +5 -0
- package/dist/components/icons/EmailIcon.d.ts +5 -0
- package/dist/components/selector/CalendarSelect.d.ts +2 -1
- 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/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/types.d.ts +27 -0
- package/dist/containers/Dashboard/hooks/useDashboard.d.ts +2 -8
- package/dist/containers/FrequencyAndSetup/components/FrequencyModeDetail.d.ts +1 -1
- package/dist/containers/FrequencyAndSetup/components/SortableItem.d.ts +2 -1
- package/dist/containers/FrequencyAndSetup/components/ViewQuestionsModal.d.ts +9 -0
- package/dist/containers/FrequencyAndSetup/configs/constants.d.ts +2 -1
- package/dist/containers/FrequencyAndSetup/configs/type.d.ts +7 -0
- package/dist/containers/FrequencyAndSetup/hooks/useFrequencyAndSetup.d.ts +4 -0
- package/dist/containers/Homepage/common/interface.d.ts +8 -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/SurveyDashboard/configs/typeCardItem.d.ts +1 -1
- package/dist/containers/SurveyDashboard/configs/types.d.ts +1 -1
- 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 +1 -3
- package/dist/index.css +34 -0
- package/dist/index.js +2270 -1732
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2256 -1718
- package/dist/index.modern.js.map +1 -1
- package/dist/services/geminiAiService.d.ts +2 -1
- package/dist/services/wellbeingService.d.ts +6 -0
- package/dist/types/types.d.ts +1 -0
- package/dist/utils/constants.d.ts +2 -1
- package/package.json +4 -4
|
@@ -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;
|
|
@@ -8,6 +8,7 @@ interface ICalendarSelect {
|
|
|
8
8
|
options: IOptionCalendar[];
|
|
9
9
|
value?: string;
|
|
10
10
|
onChange?: Function;
|
|
11
|
+
disabled?: boolean;
|
|
11
12
|
}
|
|
12
|
-
declare const CalendarSelect: ({ options, value, onChange }: ICalendarSelect) => JSX.Element;
|
|
13
|
+
declare const CalendarSelect: ({ options, value, onChange, disabled }: ICalendarSelect) => JSX.Element;
|
|
13
14
|
export default CalendarSelect;
|
|
@@ -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, setSelected }: 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, safetyValue }: 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, setSelectTeacherUserId }: 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;
|
|
@@ -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, onActiveColumn, }: 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 }: 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, setSelectTeacherUserId }: 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, activeColumn, onActiveColumn }: 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, activeColumn, onActiveColumn }: 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;
|
|
@@ -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[];
|
|
@@ -468,11 +469,13 @@ export interface IFilterComponent {
|
|
|
468
469
|
onSaveFilter: Function;
|
|
469
470
|
optionDate?: string;
|
|
470
471
|
setSelectTeacherUserId: Function;
|
|
472
|
+
loadingComplete: ILoadingComplete;
|
|
471
473
|
}
|
|
472
474
|
export interface ITotalCard {
|
|
473
475
|
label: string;
|
|
474
476
|
value: number | string;
|
|
475
477
|
iconSrc: string;
|
|
478
|
+
loadingComplete?: boolean;
|
|
476
479
|
}
|
|
477
480
|
export interface IQuestionResponseLastMonth {
|
|
478
481
|
avgQuestionResponse: number;
|
|
@@ -538,6 +541,7 @@ export interface IGenerateDashboardChart {
|
|
|
538
541
|
stressValue?: number[];
|
|
539
542
|
noAvgTotal?: boolean;
|
|
540
543
|
onActiveColumn?: any;
|
|
544
|
+
loadingComplete?: boolean;
|
|
541
545
|
}
|
|
542
546
|
export interface IResponseStudentQuestion {
|
|
543
547
|
sessionId: number;
|
|
@@ -584,9 +588,11 @@ export interface IConcernMetricTab {
|
|
|
584
588
|
studentMetricPercent: number;
|
|
585
589
|
stressValue: number[];
|
|
586
590
|
safetyValue: number[];
|
|
591
|
+
loadingComplete: ILoadingComplete;
|
|
587
592
|
}
|
|
588
593
|
export interface IConversationTab {
|
|
589
594
|
conversationKpi: IConversationKpi;
|
|
595
|
+
loadingComplete: boolean;
|
|
590
596
|
}
|
|
591
597
|
export interface IGraphTrend {
|
|
592
598
|
value: number;
|
|
@@ -594,6 +600,7 @@ export interface IGraphTrend {
|
|
|
594
600
|
label?: string;
|
|
595
601
|
timeOfDay?: string;
|
|
596
602
|
valueData?: number;
|
|
603
|
+
loadingComplete: boolean;
|
|
597
604
|
}
|
|
598
605
|
export interface IOpenFieldTab {
|
|
599
606
|
summarizeQuestions: ISummarizeQuestion | undefined;
|
|
@@ -601,6 +608,7 @@ export interface IOpenFieldTab {
|
|
|
601
608
|
questionFilters: any;
|
|
602
609
|
handleChangeQuestionFilter: (filter: any) => void;
|
|
603
610
|
goToSession: Function;
|
|
611
|
+
loadingComplete: boolean;
|
|
604
612
|
}
|
|
605
613
|
export interface ISuccessIndicatorTab {
|
|
606
614
|
successIndicatorsData: ISeries[];
|
|
@@ -614,6 +622,7 @@ export interface ISuccessIndicatorTab {
|
|
|
614
622
|
weeksOneToOne: string[];
|
|
615
623
|
activeColumn: boolean[];
|
|
616
624
|
onActiveColumn: any;
|
|
625
|
+
loadingComplete: ILoadingComplete;
|
|
617
626
|
}
|
|
618
627
|
export interface ILearningItem {
|
|
619
628
|
learningStrategyName: string;
|
|
@@ -625,6 +634,7 @@ export interface ILearningProgressTab {
|
|
|
625
634
|
classFontSize?: string;
|
|
626
635
|
handleHoverTooltip?: Function;
|
|
627
636
|
print?: boolean;
|
|
637
|
+
loadingComplete: boolean;
|
|
628
638
|
}
|
|
629
639
|
export interface IReadinessToLearnTab {
|
|
630
640
|
handleHoverTooltip?: Function;
|
|
@@ -640,6 +650,8 @@ export interface IReadinessToLearnTab {
|
|
|
640
650
|
setOptionDate?: Function;
|
|
641
651
|
onActiveColumn?: any;
|
|
642
652
|
activeColumn?: boolean[];
|
|
653
|
+
timeOfDay?: string;
|
|
654
|
+
loadingComplete: ILoadingComplete;
|
|
643
655
|
}
|
|
644
656
|
export interface IGenerateTrendQuestion {
|
|
645
657
|
series: ISeries[];
|
|
@@ -648,6 +660,8 @@ export interface IGenerateTrendQuestion {
|
|
|
648
660
|
icons: string[];
|
|
649
661
|
className?: string;
|
|
650
662
|
noAvgText?: boolean;
|
|
663
|
+
timeOfDay?: string;
|
|
664
|
+
loadingComplete: boolean;
|
|
651
665
|
}
|
|
652
666
|
export interface FILTER_STUDENT_WELLBEING {
|
|
653
667
|
startDate?: number;
|
|
@@ -693,4 +707,17 @@ export interface IConversationKpi {
|
|
|
693
707
|
missedReviewStudents: IMissedReviewStudents[];
|
|
694
708
|
educatorConversationsTarget: IEducatorConversationKpi[];
|
|
695
709
|
}
|
|
710
|
+
export interface ILoadingComplete {
|
|
711
|
+
allStudent: boolean;
|
|
712
|
+
dataChart: boolean;
|
|
713
|
+
dataConversationGoal: boolean;
|
|
714
|
+
dataDistribution: boolean;
|
|
715
|
+
dataMetric: boolean;
|
|
716
|
+
dataOverview: boolean;
|
|
717
|
+
dataStatics: boolean;
|
|
718
|
+
dataStudentPressure: boolean;
|
|
719
|
+
gradeList: boolean;
|
|
720
|
+
skillQuestion: boolean;
|
|
721
|
+
summarizeReport: boolean;
|
|
722
|
+
}
|
|
696
723
|
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;
|
|
@@ -93,5 +86,6 @@ declare const useDashboard: () => {
|
|
|
93
86
|
activeColumnReadiness: boolean[];
|
|
94
87
|
activeColumnIndicators: boolean[];
|
|
95
88
|
handleActiveColumn: (index: number, name: string) => void;
|
|
89
|
+
loadingComplete: ILoadingComplete;
|
|
96
90
|
};
|
|
97
91
|
export default useDashboard;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IFrequencyModeDetail } from '../configs/type';
|
|
2
|
-
declare const FrequencyModeDetail: ({ sections, onChange }: IFrequencyModeDetail) => JSX.Element;
|
|
2
|
+
declare const FrequencyModeDetail: ({ sections, onChange, onViewQuestions }: IFrequencyModeDetail) => JSX.Element;
|
|
3
3
|
export default FrequencyModeDetail;
|
|
@@ -2,6 +2,7 @@ interface IProps {
|
|
|
2
2
|
id: number;
|
|
3
3
|
data: any;
|
|
4
4
|
index?: number;
|
|
5
|
+
onViewQuestions?: (data: any) => void;
|
|
5
6
|
}
|
|
6
|
-
declare const SortableItem: ({ id, data, index }: IProps) => JSX.Element;
|
|
7
|
+
declare const SortableItem: ({ id, data, index, onViewQuestions }: IProps) => JSX.Element;
|
|
7
8
|
export default SortableItem;
|
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IWellBeingFlowContact, Frequency_Mode, Frequency_Setting, IWellBeingSetup } from "./type";
|
|
1
|
+
import { IWellBeingFlowContact, Frequency_Mode, Frequency_Setting, IWellBeingSetup, IWellBeingSection } from "./type";
|
|
2
2
|
export declare const FrequencyMode: {
|
|
3
3
|
value: Frequency_Mode;
|
|
4
4
|
title: string;
|
|
@@ -10,3 +10,4 @@ export declare const FrequencySetting: {
|
|
|
10
10
|
}[];
|
|
11
11
|
export declare const InitialContactFlow: IWellBeingFlowContact;
|
|
12
12
|
export declare const initSetup: IWellBeingSetup;
|
|
13
|
+
export declare const DefaultSection: IWellBeingSection;
|
|
@@ -23,6 +23,7 @@ export interface IWellBeingSection {
|
|
|
23
23
|
iconUrl: string;
|
|
24
24
|
order: number;
|
|
25
25
|
defaultOrder: number;
|
|
26
|
+
questions: string[];
|
|
26
27
|
}
|
|
27
28
|
export interface IWellBeingFlowContact {
|
|
28
29
|
id: number;
|
|
@@ -33,4 +34,10 @@ export interface IWellBeingFlowContact {
|
|
|
33
34
|
export interface IFrequencyModeDetail {
|
|
34
35
|
sections: IWellBeingSection[];
|
|
35
36
|
onChange: Function;
|
|
37
|
+
onViewQuestions: (data: any) => void;
|
|
38
|
+
}
|
|
39
|
+
export interface IQuestionBySection {
|
|
40
|
+
sections: IWellBeingSection[];
|
|
41
|
+
onChange: Function;
|
|
42
|
+
onViewQuestions: (data: any) => void;
|
|
36
43
|
}
|
|
@@ -12,5 +12,9 @@ declare const useFrequencyAndSetup: () => {
|
|
|
12
12
|
contacts: IWellBeingFlowContact[];
|
|
13
13
|
sections: IWellBeingSection[];
|
|
14
14
|
onChangeSections: (orderSections: IWellBeingSection[]) => void;
|
|
15
|
+
onViewQuestions: (data: IWellBeingSection) => void;
|
|
16
|
+
sectionSelected: IWellBeingSection;
|
|
17
|
+
openViewQuestionModal: boolean;
|
|
18
|
+
onCloseViewQuestions: () => void;
|
|
15
19
|
};
|
|
16
20
|
export default useFrequencyAndSetup;
|
|
@@ -146,3 +146,11 @@ export interface IStudentQuestionSkillParams {
|
|
|
146
146
|
academicYearId?: number;
|
|
147
147
|
optionDate?: string;
|
|
148
148
|
}
|
|
149
|
+
export interface ILoadingComplete {
|
|
150
|
+
gradeUsage: boolean;
|
|
151
|
+
schoolUsage: boolean;
|
|
152
|
+
generalTips: boolean;
|
|
153
|
+
dataCheckIns: boolean;
|
|
154
|
+
skillQuestion: boolean;
|
|
155
|
+
viewStudent: boolean;
|
|
156
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IQuestionResponseLastMonth, ISeries, IStudentSkillQuestion } from "../common/interface";
|
|
2
2
|
import { FILTER_STUDENT_WELLBEING } from "../common/interface";
|
|
3
|
-
declare const useStudentWellness: (studentId: number | undefined, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined, academicYearId?: number | undefined) => {
|
|
3
|
+
declare const useStudentWellness: (studentId: number | undefined, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined, academicYearId?: number | undefined, setLoadingComplete?: Function | undefined) => {
|
|
4
4
|
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
5
5
|
activeColumnSuccessIndicators: boolean[];
|
|
6
6
|
monthsOneToOne: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { STUDENT_SELECTOR } from "../common/interface";
|
|
3
|
-
declare const useViewStudent: () => {
|
|
3
|
+
declare const useViewStudent: (setLoadingComplete?: Function | undefined) => {
|
|
4
4
|
handleAddNewStudent: () => void;
|
|
5
5
|
dataStudents: any;
|
|
6
6
|
searchStringStudent: string;
|
|
@@ -119,3 +119,16 @@ export interface IAnswer {
|
|
|
119
119
|
startTime: string;
|
|
120
120
|
teacherName: string;
|
|
121
121
|
}
|
|
122
|
+
export interface AiRequest {
|
|
123
|
+
historyId?: number;
|
|
124
|
+
promptId: number;
|
|
125
|
+
labelTime: string;
|
|
126
|
+
startDate?: number;
|
|
127
|
+
endDate?: number;
|
|
128
|
+
studentName: string;
|
|
129
|
+
chatHistory: IChat[];
|
|
130
|
+
}
|
|
131
|
+
export interface FilterRequest {
|
|
132
|
+
startDate?: number;
|
|
133
|
+
endDate?: number;
|
|
134
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
data: any[];
|
|
6
|
+
onSendRequest?: (e: any) => void;
|
|
7
|
+
onSendBulkRequest?: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const EducatorWithoutCheckInsModal: FC<IProps>;
|
|
10
|
+
export default EducatorWithoutCheckInsModal;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const Filter: ({ optionDate, onChangeFilterCalendar, endDate, startDate, onChangeEndDateChart, onChangeStartDateChart, fontSizeInputSelect, onSaveFilter, onClearFilter }: {
|
|
2
|
+
optionDate: any;
|
|
3
|
+
onChangeFilterCalendar: any;
|
|
4
|
+
endDate: any;
|
|
5
|
+
startDate: any;
|
|
6
|
+
onChangeEndDateChart: any;
|
|
7
|
+
onChangeStartDateChart: any;
|
|
8
|
+
fontSizeInputSelect: any;
|
|
9
|
+
onSaveFilter: any;
|
|
10
|
+
onClearFilter: any;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export default Filter;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IQuestionResponseLastMonth } from '../../Dashboard/configs/types';
|
|
2
|
+
interface IProps {
|
|
3
|
+
data: any[];
|
|
4
|
+
weeklyData: any[];
|
|
5
|
+
months: string[];
|
|
6
|
+
dayOfWeek: string[];
|
|
7
|
+
avgQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
8
|
+
timeOfDay?: string;
|
|
9
|
+
classFontSize?: string;
|
|
10
|
+
handleHoverTooltip?: Function;
|
|
11
|
+
weeks: string[];
|
|
12
|
+
activeColumn: boolean[];
|
|
13
|
+
onActiveColumn: any;
|
|
14
|
+
titleChart: string;
|
|
15
|
+
percent: number;
|
|
16
|
+
setTimeChart: Function;
|
|
17
|
+
}
|
|
18
|
+
declare const RatingQuestionChart: ({ data, weeklyData, months, dayOfWeek, avgQuestionLastMonth, timeOfDay, classFontSize, handleHoverTooltip, weeks, activeColumn, onActiveColumn, titleChart, percent, setTimeChart }: IProps) => JSX.Element;
|
|
19
|
+
export default RatingQuestionChart;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const chartNames: string[];
|
|
2
|
+
export declare const startOfCurrentMonth: number;
|
|
3
|
+
export declare const endOfCurrentMonth: number;
|
|
4
|
+
export declare const initialFilter: {
|
|
5
|
+
startDate: number;
|
|
6
|
+
endDate: number;
|
|
7
|
+
optionDate: string;
|
|
8
|
+
includeMonthAndWeekView: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const filterStorage = "FILTER_WELLBEING_DASHBOARD_SAVE";
|
|
11
|
+
export declare const color: string[];
|