mario-teacher-student-client 2.2.10-beta → 2.2.15-beta
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/Dialog/ConfirmDeleteSessionConference.d.ts +11 -0
- package/dist/components/Header/HeaderComponent.d.ts +1 -0
- package/dist/components/Tabs/CustomTabNote.d.ts +3 -0
- package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +17 -0
- package/dist/containers/ConductSurvey/constant/types.d.ts +33 -1
- package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +21 -0
- package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +8 -0
- package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +2 -0
- package/dist/containers/ConductSurvey/hooks/usePreviewSurvey.d.ts +5 -5
- package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +3 -0
- package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +12 -0
- package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +21 -0
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +8 -0
- package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +5 -0
- package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +3 -0
- package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +3 -0
- package/dist/containers/MyStudent/components/ChartOverview.d.ts +1 -1
- package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{conference.d.ts → Conference.d.ts} +0 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +2 -2
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts +2 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useConference.d.ts +2 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useRedinessToLearn.d.ts +6 -5
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/TopRedinessToLean.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/types/types.d.ts +10 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/BubbleChartCustom.d.ts +6 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/TopLearningStrategy.d.ts +3 -3
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +19 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +5 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +6 -0
- package/dist/containers/MyStudent/hooks/useOverview.d.ts +10 -3
- package/dist/containers/MyStudent/hooks/useOverviewToPDF.d.ts +1 -60
- package/dist/containers/MySurvey/styles/makeStyles.d.ts +2 -0
- package/dist/containers/MySurvey/views/MySurvey.d.ts +3 -0
- package/dist/containers/PLP/hooks/usePlpPage.d.ts +8 -3
- package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +10 -0
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +23 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +7 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +8 -0
- package/dist/containers/Surveys/apiClient/survey.d.ts +2 -0
- package/dist/containers/Surveys/apiClient/surveyService.d.ts +1 -0
- package/dist/containers/Surveys/components/CardItemMobile/CardSurveyMobile.d.ts +1 -1
- package/dist/containers/Surveys/components/Questions/AdditionalQuestionModel.d.ts +4 -0
- package/dist/containers/Surveys/components/StepComponents/CreateSurveyComponent.d.ts +1 -1
- package/dist/containers/Surveys/components/StepComponents/ListFavoriteSurvey.d.ts +4 -0
- package/dist/containers/Surveys/components/SurveyDetail.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +3 -0
- package/dist/containers/Surveys/constants/constant.d.ts +26 -0
- package/dist/containers/Surveys/constants/questionModelType.d.ts +27 -0
- package/dist/containers/Surveys/constants/tableColumn.d.ts +11 -0
- package/dist/containers/Surveys/constants/typeCardItem.d.ts +2 -1
- package/dist/containers/Surveys/constants/types.d.ts +35 -26
- package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +9 -0
- package/dist/containers/Surveys/hook/useAdditionalQuestion.d.ts +24 -0
- package/dist/containers/Surveys/hook/useAllSurvey.d.ts +10 -0
- package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +20 -5
- package/dist/containers/Surveys/hook/useFormCreateSurvey.d.ts +1 -6
- package/dist/containers/Surveys/hook/useListFavoriteSurvey.d.ts +10 -0
- package/dist/containers/Surveys/hook/useListSurveyDetail.d.ts +1 -0
- package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +10 -0
- package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +9 -0
- package/dist/containers/Surveys/hook/useSelectQuestion.d.ts +1 -1
- package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +3 -0
- package/dist/hooks/useUploadFile.d.ts +4 -0
- package/dist/index.css +296 -15
- package/dist/index.js +11475 -9801
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11427 -9753
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/ModelSelectRole.d.ts +4 -0
- package/dist/layouts/constants/constants.d.ts +2 -0
- package/dist/layouts/constants/type.d.ts +4 -0
- package/dist/services/File.d.ts +1 -0
- package/dist/services/SurveyService.d.ts +1 -0
- package/dist/utils/formatDate.d.ts +1 -0
- package/package.json +107 -107
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface PropsType {
|
|
3
|
+
open: boolean;
|
|
4
|
+
isConference?: boolean;
|
|
5
|
+
isStudentStarted?: boolean;
|
|
6
|
+
selectedId: number;
|
|
7
|
+
handleCloseModalConfirmDelete: () => void;
|
|
8
|
+
handleDelete: (selectedId: number) => Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
declare const ConfirmDeleteSessionConference: ({ open, isConference, isStudentStarted, handleCloseModalConfirmDelete, handleDelete, selectedId }: PropsType) => JSX.Element;
|
|
11
|
+
export default ConfirmDeleteSessionConference;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
name: string;
|
|
4
|
+
imageUrl: string;
|
|
5
|
+
isResultSession?: boolean;
|
|
6
|
+
lengthSession?: string;
|
|
7
|
+
startTime?: string;
|
|
8
|
+
createdByTeacher?: boolean;
|
|
9
|
+
gradeLevel?: string;
|
|
10
|
+
informationUser?: any;
|
|
11
|
+
clickOpenProfileDialog?: any;
|
|
12
|
+
isConference?: boolean;
|
|
13
|
+
sessionType?: string;
|
|
14
|
+
classFontSize?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const ConductTop: FC<Props>;
|
|
17
|
+
export default ConductTop;
|
|
@@ -46,11 +46,43 @@ export interface QuestionSummarizeType {
|
|
|
46
46
|
text: string;
|
|
47
47
|
type: string;
|
|
48
48
|
}
|
|
49
|
+
export interface IAdditionalQuestion {
|
|
50
|
+
questionId?: number;
|
|
51
|
+
questionText?: string;
|
|
52
|
+
type?: string;
|
|
53
|
+
answers?: IAnswer[];
|
|
54
|
+
answer?: IAnswer[];
|
|
55
|
+
averageOtherRatings?: number;
|
|
56
|
+
fromLabel?: string;
|
|
57
|
+
questionAnswer?: string[];
|
|
58
|
+
toLabel?: string;
|
|
59
|
+
text: string;
|
|
60
|
+
id?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface IAnswer {
|
|
63
|
+
text: string;
|
|
64
|
+
}
|
|
65
|
+
export interface IQuestionTemplate {
|
|
66
|
+
questionId?: number;
|
|
67
|
+
questionText: string;
|
|
68
|
+
type: string;
|
|
69
|
+
answers: IAnswer[];
|
|
70
|
+
questionAnswer: string[];
|
|
71
|
+
fromLabel: string;
|
|
72
|
+
toLabel: string;
|
|
73
|
+
}
|
|
74
|
+
export interface ITemplate {
|
|
75
|
+
id: number;
|
|
76
|
+
name: string;
|
|
77
|
+
questionTemplates: IQuestionTemplate[];
|
|
78
|
+
}
|
|
49
79
|
export interface SURVEY_DETAIL {
|
|
50
|
-
deadline
|
|
80
|
+
deadline?: number | null;
|
|
51
81
|
title?: string;
|
|
52
82
|
studentIds?: number[];
|
|
53
83
|
isFavorite?: boolean;
|
|
84
|
+
id?: number;
|
|
85
|
+
totalQuestions?: number;
|
|
54
86
|
}
|
|
55
87
|
export interface TEACHER_DETAIL {
|
|
56
88
|
email: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useConductOne: () => {
|
|
3
|
+
currentUser: any;
|
|
4
|
+
isTeacher: any;
|
|
5
|
+
isStudent: any;
|
|
6
|
+
listQuestionTeachers: any;
|
|
7
|
+
listQuestionStudents: any;
|
|
8
|
+
updateQuestionAnswer: (questionId: number, text: string) => void;
|
|
9
|
+
fnfinishSession: (cb: any) => Promise<void>;
|
|
10
|
+
surveyId: string;
|
|
11
|
+
surveyResultId: number;
|
|
12
|
+
startTime: string;
|
|
13
|
+
informationUser: any;
|
|
14
|
+
category: string;
|
|
15
|
+
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
16
|
+
classFontSize: string;
|
|
17
|
+
isStudentChangeAfter: boolean;
|
|
18
|
+
isUserChangeSession: boolean;
|
|
19
|
+
setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
20
|
+
};
|
|
21
|
+
export default useConductOne;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TypeTime } from "../constant/types";
|
|
2
|
+
declare const useCountDown: (typeTime: TypeTime, sessionResultId: number, isUserChangeSession: boolean, isTeacherSessionDone: boolean) => {
|
|
3
|
+
hour: number;
|
|
4
|
+
minute: number;
|
|
5
|
+
second: number;
|
|
6
|
+
clearTimer: () => void;
|
|
7
|
+
};
|
|
8
|
+
export default useCountDown;
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DATA_FORM_EMAIL, QuestionSummarizeType, SURVEY_DETAIL } from "../constant/types";
|
|
2
|
+
import { DATA_FORM_EMAIL, IAdditionalQuestion, ITemplate, QuestionSummarizeType, SURVEY_DETAIL } from "../constant/types";
|
|
3
3
|
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
4
4
|
declare const usePreviewSurvey: () => {
|
|
5
5
|
currentUser: any;
|
|
6
6
|
isTeacher: any;
|
|
7
7
|
isStudent: any;
|
|
8
|
-
listQuestionTeachers: any;
|
|
9
8
|
category: string;
|
|
10
9
|
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
11
10
|
classFontSize: string;
|
|
12
|
-
listAdditionalQuestion: any;
|
|
13
|
-
infoSurvey: any;
|
|
14
11
|
questionSummarize: QuestionSummarizeType | null;
|
|
15
12
|
activeTab: string;
|
|
16
13
|
handleChange: (_event: React.ChangeEvent<{}>, newValue: string) => void;
|
|
17
14
|
surveyId: string;
|
|
18
|
-
surveyDetail: SURVEY_DETAIL
|
|
15
|
+
surveyDetail: SURVEY_DETAIL;
|
|
19
16
|
handleChangeDeadline: (date: MaterialUiPickersDate | null) => void;
|
|
20
17
|
duplicateSurvey: () => void;
|
|
21
18
|
handleShareSurvey: () => Promise<void>;
|
|
@@ -24,5 +21,8 @@ declare const usePreviewSurvey: () => {
|
|
|
24
21
|
listTeacher: string[];
|
|
25
22
|
dataFormEmail: DATA_FORM_EMAIL | undefined;
|
|
26
23
|
setDataFormEmail: import("react").Dispatch<import("react").SetStateAction<DATA_FORM_EMAIL | undefined>>;
|
|
24
|
+
listQuestionTemplate: ITemplate[];
|
|
25
|
+
listAdditionalQuestion: IAdditionalQuestion[];
|
|
26
|
+
handleCreateSurvey: () => Promise<void>;
|
|
27
27
|
};
|
|
28
28
|
export default usePreviewSurvey;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { LearningStrategyType } from "../constant/types";
|
|
3
|
+
interface Props {
|
|
4
|
+
listLearningStrategory: LearningStrategyType[];
|
|
5
|
+
questionId?: number;
|
|
6
|
+
onChangeQuestionAnswer?: Function;
|
|
7
|
+
valueText?: string;
|
|
8
|
+
isResultPage?: boolean;
|
|
9
|
+
isUserChangeConference?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const IBLearnerComponent: FC<Props>;
|
|
12
|
+
export default IBLearnerComponent;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useConductSurvey: () => {
|
|
3
|
+
listQuestionTeachers: any;
|
|
4
|
+
listQuestionStudents: any;
|
|
5
|
+
updateQuestionAnswer: (questionId: number, text: string, isAdditional?: boolean | undefined) => void;
|
|
6
|
+
fnfinishSurvey: (cb: any) => Promise<void>;
|
|
7
|
+
informationUser: any;
|
|
8
|
+
category: string;
|
|
9
|
+
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
10
|
+
classFontSize: string;
|
|
11
|
+
isStudentChangeAfter: boolean;
|
|
12
|
+
isUserChangeSession: boolean;
|
|
13
|
+
setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
14
|
+
listAdditionalQuestionAnswer: any;
|
|
15
|
+
questionSummarize: any;
|
|
16
|
+
setQuestionSummarize: import("react").Dispatch<any>;
|
|
17
|
+
updateAnswerIBLearner: (_answer: string) => Promise<void>;
|
|
18
|
+
questionIBLearner: string;
|
|
19
|
+
setQuestionIBLearner: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
20
|
+
};
|
|
21
|
+
export default useConductSurvey;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IMutipleSelectBox {
|
|
3
|
+
label: string;
|
|
4
|
+
options: string[];
|
|
5
|
+
SelectedChange: (selected: string[]) => void;
|
|
6
|
+
}
|
|
7
|
+
declare function MutipleSelectBox({ label, options, SelectedChange }: IMutipleSelectBox): JSX.Element;
|
|
8
|
+
export default MutipleSelectBox;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const ChartOverview: ({ isPlp, dataReadinessOfChart, seriesOneToOne, handleChangeStartDate, handleChangeEndDate, timeEnd, timeStart, handleChangeStartDateClassReflection, handleChangeEndDateClassReflection, timeEndClassReflection, timeStartClassReflection, seriesConference, handleChangeStartDateConference, handleChangeEndDateConference, timeEndConference, timeStartConference, handleChangeStartLearningProgress, handleChangeEndLearningProgress, timeEndLearningProgress, timeStartLearningProgress, topLearningStrategiesData, handleActiveColumnOneToOne, activeColumnOneToOne, avgOneToOne, monthsOneToOne, dataConvertedOneToOne, onChangeChart, typeChartList, dataConvertedClassReflection, monthsClassReflection, avgClassReflection, seriesClassRefection, activeColumnClassReflection, handleActiveColumnClassReflection, onChangeTypeChartReflection, typeChartReflection, dataConvertedConference, avgConference, monthsConference, activeColumnConference, handleActiveColumnConference, onChangeTypeConference, typeChartConference, seriesLearningProgress, onChangeTypeLearningProgress, dataConvertedLearningProgress, typeChartLearningProgress, monthsLearningProgress }: any) => JSX.Element;
|
|
2
|
+
declare const ChartOverview: ({ isPlp, dataReadinessOfChart, seriesOneToOne, handleChangeStartDate, handleChangeEndDate, timeEnd, timeStart, handleChangeStartDateClassReflection, handleChangeEndDateClassReflection, timeEndClassReflection, timeStartClassReflection, seriesConference, handleChangeStartDateConference, handleChangeEndDateConference, timeEndConference, timeStartConference, handleChangeStartLearningProgress, handleChangeEndLearningProgress, timeEndLearningProgress, timeStartLearningProgress, topLearningStrategiesData, handleActiveColumnOneToOne, activeColumnOneToOne, avgOneToOne, monthsOneToOne, dataConvertedOneToOne, onChangeChart, typeChartList, dataConvertedClassReflection, monthsClassReflection, avgClassReflection, seriesClassRefection, activeColumnClassReflection, handleActiveColumnClassReflection, onChangeTypeChartReflection, typeChartReflection, dataConvertedConference, avgConference, monthsConference, activeColumnConference, handleActiveColumnConference, onChangeTypeConference, typeChartConference, seriesLearningProgress, onChangeTypeLearningProgress, dataConvertedLearningProgress, typeChartLearningProgress, monthsLearningProgress, filtersLearningStrategiesData, learningStrategiesData, changeFiltersLearningStrategiesData, getLearningStrategiesData, handleChangeStartTopLearning, handleChangeEndTopLearning, timeStartTopLearning, timeEndTopLearning, handleChangeStartReadiness, handleChangeEndReadiness, timeEndReadiness, timeStartReadiness }: any) => JSX.Element;
|
|
3
3
|
export default ChartOverview;
|
|
File without changes
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataRedinessToLeanApi: (studentId: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getDataRedinessToLeanApi: (studentId: any, timeStartReadiness: number, timeEndReadiness: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -4,8 +4,8 @@ import { IOverviewQuestionChoice, IReadinessToLearning, ISeries } from "../types
|
|
|
4
4
|
export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
|
|
5
5
|
export declare const average: (arr: number[]) => number;
|
|
6
6
|
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
|
|
7
|
-
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[], screenWidth: number) => ApexOptions;
|
|
8
|
-
export declare const readinesToLearnoptions: (seriesName: string[]) => ApexOptions;
|
|
7
|
+
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[], screenWidth: number, showLegends?: boolean) => ApexOptions;
|
|
8
|
+
export declare const readinesToLearnoptions: (seriesName: string[], redirectStudentOverview?: Function | undefined) => ApexOptions;
|
|
9
9
|
export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[]) => {
|
|
10
10
|
name: string;
|
|
11
11
|
data: import("react").ReactText[][];
|
package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
-
import { ISeries, TYPECHART } from "../types/types";
|
|
2
|
+
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
3
|
declare const useChartClassReflection: (studentId: any) => {
|
|
4
4
|
handleChangeStartDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
|
|
5
5
|
handleChangeEndDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
|
|
@@ -16,5 +16,6 @@ declare const useChartClassReflection: (studentId: any) => {
|
|
|
16
16
|
handleActiveColumnClassReflection: (index: any) => void;
|
|
17
17
|
onChangeTypeChartReflection: (type: TYPECHART) => void;
|
|
18
18
|
typeChartReflection: TYPECHART[];
|
|
19
|
+
chartClassReflection: IColumnChartAndPercent;
|
|
19
20
|
};
|
|
20
21
|
export default useChartClassReflection;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
-
import { ISeries, TYPECHART } from "../types/types";
|
|
2
|
+
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
3
|
declare const useChartConference: (studentId: any) => {
|
|
4
4
|
handleChangeStartDateConference: (datepicker: MaterialUiPickersDate) => void;
|
|
5
5
|
handleChangeEndDateConference: (datepicker: MaterialUiPickersDate) => void;
|
|
@@ -16,5 +16,6 @@ declare const useChartConference: (studentId: any) => {
|
|
|
16
16
|
handleActiveColumnConference: (index: number) => void;
|
|
17
17
|
onChangeTypeConference: (type: TYPECHART) => void;
|
|
18
18
|
typeChartConference: TYPECHART[];
|
|
19
|
+
chartConference: IColumnChartAndPercent;
|
|
19
20
|
};
|
|
20
21
|
export default useChartConference;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { ApexOptions } from "apexcharts";
|
|
2
1
|
import { IReadinessToLearning } from "../types/types";
|
|
2
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
3
|
declare const useRedinessToLearn: (studentId: number) => {
|
|
4
|
-
widthChartReadinessToLearn: number;
|
|
5
|
-
heightChartReadinessToLearn: number;
|
|
6
|
-
optionsReadinessToLearn: ApexOptions;
|
|
7
4
|
anchorElReadinessToLearn: any;
|
|
8
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
9
6
|
handleClose: () => void;
|
|
10
|
-
setChartData: () => Promise<void>;
|
|
7
|
+
setChartData: (timeStartReadiness: number, timeEndReadiness: number) => Promise<void>;
|
|
11
8
|
dataReadinessOfChart: IReadinessToLearning[];
|
|
9
|
+
handleChangeStartReadiness: (datepicker: MaterialUiPickersDate) => void;
|
|
10
|
+
handleChangeEndReadiness: (datepicker: MaterialUiPickersDate) => void;
|
|
11
|
+
timeEndReadiness: number;
|
|
12
|
+
timeStartReadiness: number;
|
|
12
13
|
};
|
|
13
14
|
export default useRedinessToLearn;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/services/TopRedinessToLean.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataRedinessToLean: (dispatch: any, id: any) => Promise<any>;
|
|
1
|
+
export declare const getDataRedinessToLean: (dispatch: any, id: any, timeStartReadiness: number, timeEndReadiness: number) => Promise<any>;
|
|
@@ -16,7 +16,16 @@ export interface ILearningStrategies {
|
|
|
16
16
|
learningStrategies: ILearningItem[];
|
|
17
17
|
}
|
|
18
18
|
export interface ITopLearningStrategy {
|
|
19
|
-
|
|
19
|
+
learningStrategies: ILearningItem[];
|
|
20
|
+
isPlp: boolean;
|
|
21
|
+
filtersLearningStrategiesData?: any;
|
|
22
|
+
learningStrategiesData?: any;
|
|
23
|
+
changeFiltersLearningStrategiesData?: Function;
|
|
24
|
+
getLearningStrategiesData?: Function;
|
|
25
|
+
timeStart?: number;
|
|
26
|
+
timeEnd?: number;
|
|
27
|
+
handleChangeStartDate?: Function;
|
|
28
|
+
handleChangeEndDate?: Function;
|
|
20
29
|
}
|
|
21
30
|
export interface IReadinessToLearning {
|
|
22
31
|
questionText: string;
|
|
@@ -2,6 +2,11 @@ import React from "react";
|
|
|
2
2
|
import { IReadinessToLearning } from "../types/types";
|
|
3
3
|
interface IProps {
|
|
4
4
|
data: IReadinessToLearning[];
|
|
5
|
+
timeStart?: number;
|
|
6
|
+
timeEnd?: number;
|
|
7
|
+
handleChangeStartDate?: Function;
|
|
8
|
+
handleChangeEndDate?: Function;
|
|
9
|
+
isPlp?: boolean;
|
|
5
10
|
}
|
|
6
|
-
declare const _default: React.
|
|
11
|
+
declare const _default: React.MemoExoticComponent<({ data, timeStart, timeEnd, handleChangeStartDate, handleChangeEndDate, isPlp }: IProps) => JSX.Element>;
|
|
7
12
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ITopLearningStrategy } from "../types/types";
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const TopLearningStrategy: ({ learningStrategies, isPlp, filtersLearningStrategiesData, learningStrategiesData, getLearningStrategiesData, changeFiltersLearningStrategiesData, timeStart, timeEnd, handleChangeStartDate, handleChangeEndDate }: ITopLearningStrategy) => JSX.Element;
|
|
4
|
+
export default TopLearningStrategy;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
|
+
declare const useChartConference: () => {
|
|
4
|
+
topLearningStrategiesData: any;
|
|
5
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<{
|
|
6
|
+
studentId: number;
|
|
7
|
+
startDate: number;
|
|
8
|
+
endDate: number;
|
|
9
|
+
type: string;
|
|
10
|
+
}>>;
|
|
11
|
+
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
+
handleClose: () => void;
|
|
13
|
+
anchorEl: any;
|
|
14
|
+
handleChangeStartDate: (datepicker: MaterialUiPickersDate | null) => void;
|
|
15
|
+
handleChangeEndDate: (datepicker: MaterialUiPickersDate | null) => void;
|
|
16
|
+
timeEnd: Date;
|
|
17
|
+
timeStart: Date;
|
|
18
|
+
};
|
|
19
|
+
export default useChartConference;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILearningStrategies } from "../../Chat/types/types";
|
|
3
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
4
|
declare const useTopLearningStrategies: (studentId: number) => {
|
|
4
5
|
topLearningStrategiesData: ILearningStrategies;
|
|
5
6
|
topLearningStrategy: any;
|
|
6
7
|
labelName: any;
|
|
7
8
|
usageCountList: import("react").MutableRefObject<number[]>;
|
|
9
|
+
handleChangeStartTopLearning: (datepicker: MaterialUiPickersDate) => void;
|
|
10
|
+
handleChangeEndTopLearning: (datepicker: MaterialUiPickersDate) => void;
|
|
11
|
+
timeStartTopLearning: number;
|
|
12
|
+
timeEndTopLearning: number;
|
|
8
13
|
};
|
|
9
14
|
export default useTopLearningStrategies;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getConferenceChart: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const getTopLearningStrategiesApi: (studentId:
|
|
1
|
+
export declare const getTopLearningStrategiesApi: (studentId: number, timeStartTopLearning: number, timeEndTopLearning: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
2
|
export declare const getAllListLearningStrategiesApi: (studentId: number, filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -8,9 +8,6 @@ declare const useOverview: (studentId: number) => {
|
|
|
8
8
|
informationWellbeing: any;
|
|
9
9
|
getInformationWellbeing: (type: number, startDate?: any, endDate?: any) => Promise<void>;
|
|
10
10
|
classFontSize: string;
|
|
11
|
-
widthChartReadinessToLearn: number;
|
|
12
|
-
heightChartReadinessToLearn: number;
|
|
13
|
-
optionsReadinessToLearn: ApexCharts.ApexOptions;
|
|
14
11
|
anchorElReadinessToLearn: any;
|
|
15
12
|
handleClick: (event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
16
13
|
handleClose: () => void;
|
|
@@ -66,6 +63,7 @@ declare const useOverview: (studentId: number) => {
|
|
|
66
63
|
handleActiveColumnClassReflection: (index: any) => void;
|
|
67
64
|
onChangeTypeChartReflection: (type: import("../components/NewOverview/Chat/types/types").TYPECHART) => void;
|
|
68
65
|
typeChartReflection: import("../components/NewOverview/Chat/types/types").TYPECHART[];
|
|
66
|
+
chartClassReflection: import("../components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
69
67
|
dataConvertedConference: string[];
|
|
70
68
|
avgConference: number[];
|
|
71
69
|
monthsConference: string[];
|
|
@@ -77,5 +75,14 @@ declare const useOverview: (studentId: number) => {
|
|
|
77
75
|
dataConvertedLearningProgress: string[];
|
|
78
76
|
typeChartLearningProgress: import("../components/NewOverview/Chat/types/types").TYPECHART[];
|
|
79
77
|
monthsLearningProgress: string[];
|
|
78
|
+
handleChangeStartTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
79
|
+
handleChangeEndTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
80
|
+
timeStartTopLearning: number;
|
|
81
|
+
timeEndTopLearning: number;
|
|
82
|
+
handleChangeStartReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
83
|
+
handleChangeEndReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
84
|
+
timeEndReadiness: number;
|
|
85
|
+
timeStartReadiness: number;
|
|
86
|
+
chartConference: import("../components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
80
87
|
};
|
|
81
88
|
export default useOverview;
|
|
@@ -1,64 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const useOverviewToPDF: (labelName: any, usageCountList: any, chatMonthOneToOne: any, chatMonthClassReflection: any, chatMonthConference: any, chatMonthLearningProgress: any) => {
|
|
3
|
-
stateLearningStrategies: {
|
|
4
|
-
options: {
|
|
5
|
-
legend: {
|
|
6
|
-
markers: {
|
|
7
|
-
radius: number;
|
|
8
|
-
};
|
|
9
|
-
offsetY: number;
|
|
10
|
-
height: number;
|
|
11
|
-
show: boolean;
|
|
12
|
-
};
|
|
13
|
-
dataLabels: {
|
|
14
|
-
enabled: boolean;
|
|
15
|
-
};
|
|
16
|
-
xaxis: {
|
|
17
|
-
categories: any;
|
|
18
|
-
labels: {
|
|
19
|
-
maxHeight: number;
|
|
20
|
-
formatter: (val: string) => string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
colors: string[];
|
|
24
|
-
tooltip: {
|
|
25
|
-
x: {
|
|
26
|
-
formatter: (value: any) => any;
|
|
27
|
-
};
|
|
28
|
-
y: {
|
|
29
|
-
formatter: (value: number, { seriesIndex, dataPointIndex }: any) => any;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
chart: {
|
|
33
|
-
stacked: boolean;
|
|
34
|
-
toolbar: {
|
|
35
|
-
show: boolean;
|
|
36
|
-
};
|
|
37
|
-
zoom: {
|
|
38
|
-
enabled: boolean;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
yaxis: {
|
|
42
|
-
labels: {
|
|
43
|
-
show: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
responsive: {
|
|
47
|
-
breakpoint: number;
|
|
48
|
-
options: {
|
|
49
|
-
chart: {
|
|
50
|
-
width: string;
|
|
51
|
-
height: number;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
}[];
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
stateOneToOne: ApexOptions;
|
|
1
|
+
declare const useOverviewToPDF: () => {
|
|
58
2
|
COLOR_CHART: string[];
|
|
59
|
-
stateClassReflection: ApexOptions;
|
|
60
|
-
stateConference: ApexOptions;
|
|
61
|
-
stateLearningProgress: ApexOptions;
|
|
62
3
|
dispatch: import("redux").Dispatch<any>;
|
|
63
4
|
setLoading: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
64
5
|
setAlert: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -3,9 +3,6 @@ declare const usePlpPage: () => {
|
|
|
3
3
|
student: any;
|
|
4
4
|
setStudent: import("react").Dispatch<any>;
|
|
5
5
|
goToListChart: () => void;
|
|
6
|
-
widthChartReadinessToLearn: number;
|
|
7
|
-
heightChartReadinessToLearn: number;
|
|
8
|
-
optionsReadinessToLearn: ApexCharts.ApexOptions;
|
|
9
6
|
anchorElReadinessToLearn: any;
|
|
10
7
|
handleClick: (event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
11
8
|
handleClose: () => void;
|
|
@@ -72,5 +69,13 @@ declare const usePlpPage: () => {
|
|
|
72
69
|
dataConvertedLearningProgress: string[];
|
|
73
70
|
typeChartLearningProgress: import("../../MyStudent/components/NewOverview/Chat/types/types").TYPECHART[];
|
|
74
71
|
monthsLearningProgress: string[];
|
|
72
|
+
handleChangeStartTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
73
|
+
handleChangeEndTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
74
|
+
timeStartTopLearning: number;
|
|
75
|
+
timeEndTopLearning: number;
|
|
76
|
+
handleChangeStartReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
77
|
+
handleChangeEndReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
78
|
+
timeEndReadiness: number;
|
|
79
|
+
timeStartReadiness: number;
|
|
75
80
|
};
|
|
76
81
|
export default usePlpPage;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
onChangeSetData: Function;
|
|
4
|
+
valueNoteAdd: string;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenFour: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenFour;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
onChangeSetData: Function;
|
|
4
|
+
valueNoteAdd: string;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenOne: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenOne;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
clickSelect: Function;
|
|
4
|
+
arraySelect: any;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenThree: ({ clickSelect, arraySelect, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenThree;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
onChangeSetData: Function;
|
|
4
|
+
valueNoteAdd: string;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenTwo: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenTwo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
id: number;
|
|
4
|
+
content?: string;
|
|
5
|
+
date?: string;
|
|
6
|
+
onRemoveNote: Function;
|
|
7
|
+
onUpdateNote: Function;
|
|
8
|
+
}
|
|
9
|
+
declare const ScaffoldingQuestionAndAnswer: ({ id, content, date, onRemoveNote, onUpdateNote, }: Props) => JSX.Element;
|
|
10
|
+
export default ScaffoldingQuestionAndAnswer;
|