mario-teacher-student-client 2.1.23 → 2.1.26-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/Button/NormalButton.d.ts +13 -0
- package/dist/components/Dialog/ModalAssistant.d.ts +10 -0
- package/dist/components/Header/HeaderComponent.d.ts +1 -0
- package/dist/components/Input/InputComponent.d.ts +3 -2
- package/dist/components/Input/TextFieldComponent.d.ts +2 -1
- package/dist/components/QuestionTypes/LearningStrategyComponent.d.ts +2 -0
- package/dist/components/QuestionTypes/LearningStrategyConference.d.ts +12 -0
- package/dist/components/QuestionTypes/QuestionComponent.d.ts +2 -0
- package/dist/components/QuestionTypes/SingleChoiceComponent.d.ts +2 -0
- package/dist/components/selector/AssistantSelector.d.ts +3 -0
- package/dist/components/selector/StudentMultiSelector.d.ts +3 -0
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -1
- package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +1 -0
- package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +1 -0
- package/dist/containers/ActionPoint/constants/types.d.ts +0 -2
- package/dist/containers/ActivityCircle/hooks/useListDetailActivity.d.ts +5 -0
- package/dist/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
- package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +3 -0
- package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +1 -1
- package/dist/containers/ConferenceRubric/components/RubricTable.d.ts +1 -0
- package/dist/containers/ConferenceRubric/components/StartRubric.d.ts +4 -3
- package/dist/containers/ConferenceRubric/hooks/useAutoSaveConferenceRubric.d.ts +1 -2
- package/dist/containers/ConferenceRubric/hooks/useConferenceRubric.d.ts +3 -0
- package/dist/containers/ConferenceRubric/hooks/useCoutdownConference.d.ts +1 -1
- package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +2 -1
- package/dist/containers/MyClassSchedule/components/AddClassSchedule.d.ts +3 -0
- package/dist/containers/MyClassSchedule/components/MyClassSchedule.d.ts +3 -0
- package/dist/containers/MyClassSchedule/constants/types.d.ts +145 -0
- package/dist/containers/MyClassSchedule/hooks/useAddClassSchedule.d.ts +13 -0
- package/dist/containers/MyClassSchedule/hooks/useClassScheduleList.d.ts +9 -0
- package/dist/containers/MyOneToOne/components/GoogleCalendar.d.ts +2 -0
- package/dist/containers/MyStudent/components/ChartOverview.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChartOneToOne.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatConference.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatLearningProgress.d.ts +3 -3
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +6 -0
- package/dist/containers/Note/enum/categories.d.ts +2 -1
- package/dist/containers/Note/type/note.d.ts +1 -0
- package/dist/containers/PLP/components/PlpPage.d.ts +3 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +5 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/services/personalInterestsService.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/usePersonalInterest.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/components/PieChart/PieChart.d.ts +6 -0
- package/dist/containers/PersonalLearningPlan/components/PieChart/ultis.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/MineNotesScreen.d.ts +1 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/PrivateNotesScreen.d.ts +1 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingAnswerTextarea.d.ts +5 -3
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingNotes.d.ts +1 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/ScaffoldingFloatTab.d.ts +1 -0
- package/dist/containers/ScaffoldingExample/hooks/useScaffolding.d.ts +1 -1
- package/dist/index.css +585 -34
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4313 -2312
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4275 -2277
- package/dist/index.modern.js.map +1 -1
- package/dist/services/Goals.d.ts +6 -6
- package/dist/services/MyClassReflection.d.ts +1 -1
- package/dist/services/MyStudent.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
color?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
width?: string;
|
|
8
|
+
fontSize?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
height?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const NormalButton: FC<IProps>;
|
|
13
|
+
export default NormalButton;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface IConfirmCancel {
|
|
3
|
+
title: string;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
confirmAndClose: () => void;
|
|
6
|
+
onChangeAssistant: Function;
|
|
7
|
+
handleConfirm: Function;
|
|
8
|
+
}
|
|
9
|
+
declare const ModalAssistant: FC<IConfirmCancel>;
|
|
10
|
+
export default ModalAssistant;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
interface Props {
|
|
3
3
|
customId?: string;
|
|
4
4
|
valueText: string;
|
|
5
|
-
onChange
|
|
5
|
+
onChange?: Function;
|
|
6
6
|
name?: string;
|
|
7
7
|
isAddIcon?: boolean;
|
|
8
8
|
handleAddItem?: Function;
|
|
@@ -11,6 +11,7 @@ interface Props {
|
|
|
11
11
|
isSending?: boolean;
|
|
12
12
|
handleSending?: Function;
|
|
13
13
|
canSubmit?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
14
15
|
}
|
|
15
|
-
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit }: Props) => JSX.Element;
|
|
16
|
+
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit, disabled }: Props) => JSX.Element;
|
|
16
17
|
export default InputComponent;
|
|
@@ -5,6 +5,7 @@ interface Props {
|
|
|
5
5
|
onChangeQuestionAnswer?: (questionId: number, value: string) => void;
|
|
6
6
|
isPageResult?: boolean;
|
|
7
7
|
isPageSessionResult?: boolean;
|
|
8
|
+
isUserChangeSession?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult, isPageSessionResult }: Props) => JSX.Element;
|
|
10
|
+
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult, isPageSessionResult, isUserChangeSession }: Props) => JSX.Element;
|
|
10
11
|
export default TextFieldComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { LearningStrategyType } from "../../containers/ConductOneToOne/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 LearningStrategyConference: FC<Props>;
|
|
12
|
+
export default LearningStrategyConference;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { FORM_REQUEST } from "../../../constants/types";
|
|
2
3
|
declare type PropsType = {
|
|
3
4
|
actionId: number;
|
|
4
5
|
reloadRef: React.MutableRefObject<any>;
|
|
@@ -6,8 +7,9 @@ declare type PropsType = {
|
|
|
6
7
|
declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
7
8
|
open: boolean;
|
|
8
9
|
isTeacher: any;
|
|
10
|
+
isAssistant: any;
|
|
9
11
|
classList: never[];
|
|
10
|
-
formData:
|
|
12
|
+
formData: FORM_REQUEST;
|
|
11
13
|
changeFormData: (updatedForm: any) => void;
|
|
12
14
|
changeTitle: (e: any) => void;
|
|
13
15
|
handleDateChange: (date: any) => void;
|
|
@@ -21,5 +21,10 @@ declare const useListDetailActivity: () => {
|
|
|
21
21
|
getData: () => Promise<void>;
|
|
22
22
|
deleteActivity: (cb?: any) => Promise<void>;
|
|
23
23
|
classFontSize: string;
|
|
24
|
+
ACTIVITY_LIST: {
|
|
25
|
+
id: number;
|
|
26
|
+
images: string;
|
|
27
|
+
text: string;
|
|
28
|
+
}[];
|
|
24
29
|
};
|
|
25
30
|
export default useListDetailActivity;
|
|
@@ -29,5 +29,8 @@ declare const useConductOne: () => {
|
|
|
29
29
|
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
30
30
|
classFontSize: string;
|
|
31
31
|
isStudentChangeAfter: boolean;
|
|
32
|
+
startTimerSession: any;
|
|
33
|
+
isUserChangeSession: boolean;
|
|
34
|
+
setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
32
35
|
};
|
|
33
36
|
export default useConductOne;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeTime } from "../constant/types";
|
|
2
|
-
declare const useCountDown: (typeTime: TypeTime, sessionResultId: number) => {
|
|
2
|
+
declare const useCountDown: (typeTime: TypeTime, sessionResultId: number, isUserChangeSession: boolean) => {
|
|
3
3
|
hour: number;
|
|
4
4
|
minute: number;
|
|
5
5
|
second: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { CONFERENCE_RUBRIC_ANSWER_TYPES, CONFERENCE_RUBRIC_TYPES } from "../configs/constants";
|
|
3
3
|
interface Props {
|
|
4
4
|
rubric: CONFERENCE_RUBRIC_TYPES;
|
|
@@ -13,6 +13,7 @@ interface Props {
|
|
|
13
13
|
imageStudent: string;
|
|
14
14
|
isPageResultConference?: boolean;
|
|
15
15
|
classFontSize: string;
|
|
16
|
+
isUserChangeConference: boolean;
|
|
16
17
|
}
|
|
17
|
-
declare const
|
|
18
|
-
export default
|
|
18
|
+
declare const _default: React.NamedExoticComponent<Props>;
|
|
19
|
+
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CONFERENCE_RUBRIC_ANSWER_TYPES, CONFERENCE_RUBRIC_ITEM_ANSWER,
|
|
2
|
+
import { CONFERENCE_RUBRIC_ANSWER_TYPES, CONFERENCE_RUBRIC_ITEM_ANSWER, ROW_ANSWER } from "../configs/constants";
|
|
3
3
|
declare const useAutoSaveConferenceRubric: () => {
|
|
4
4
|
startRubric: (sessionResultId: number) => Promise<void>;
|
|
5
5
|
answerConferenceRubric: CONFERENCE_RUBRIC_ANSWER_TYPES;
|
|
6
6
|
setAnswerConferenceRubric: import("react").Dispatch<import("react").SetStateAction<CONFERENCE_RUBRIC_ANSWER_TYPES>>;
|
|
7
7
|
autoUpdateItemAnswer: (itemAnswerId: number, itemAnswer: CONFERENCE_RUBRIC_ITEM_ANSWER) => Promise<void>;
|
|
8
8
|
autoUpdateRowAnswer: (rowAnswerId: number, rowAnswer: ROW_ANSWER) => Promise<void>;
|
|
9
|
-
timeOutSaveQuestion: (questionAnswerId: number, questionAnswer: QUESTIONS_RESPONSE) => void;
|
|
10
9
|
};
|
|
11
10
|
export default useAutoSaveConferenceRubric;
|
|
@@ -24,6 +24,7 @@ declare const useConferenceRubric: () => {
|
|
|
24
24
|
dateStartSession: string;
|
|
25
25
|
isTeacher: any;
|
|
26
26
|
isStudent: any;
|
|
27
|
+
isAssistant: boolean;
|
|
27
28
|
isUnlocked: boolean;
|
|
28
29
|
setIsUnclocked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
29
30
|
onChangeToogleAfterSession: () => Promise<void>;
|
|
@@ -50,5 +51,7 @@ declare const useConferenceRubric: () => {
|
|
|
50
51
|
numberOfEdit: number;
|
|
51
52
|
classFontSize: string;
|
|
52
53
|
isStudentChangeAfter: boolean;
|
|
54
|
+
startTimerConference: any;
|
|
55
|
+
isUserChangeConference: boolean;
|
|
53
56
|
};
|
|
54
57
|
export default useConferenceRubric;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeTime } from "../configs/types";
|
|
2
|
-
declare const useCountdownConference: (typeTime: TypeTime, conferenceAnswerId: number, numberOfEdit: number) => {
|
|
2
|
+
declare const useCountdownConference: (typeTime: TypeTime, conferenceAnswerId: number, numberOfEdit: number, isUserChangeConference: boolean) => {
|
|
3
3
|
hour: number;
|
|
4
4
|
minute: number;
|
|
5
5
|
second: number;
|
|
@@ -13,6 +13,7 @@ declare const useAddLearningStrategies: () => {
|
|
|
13
13
|
studentId: any;
|
|
14
14
|
isShowChoose: boolean;
|
|
15
15
|
searchString: string;
|
|
16
|
+
selected: string;
|
|
16
17
|
};
|
|
17
18
|
selectData: any;
|
|
18
19
|
handleAddLearningStrategy: () => Promise<void>;
|
|
@@ -22,6 +23,6 @@ declare const useAddLearningStrategies: () => {
|
|
|
22
23
|
handleShowSelectItemCount: () => number;
|
|
23
24
|
classFontSize: string;
|
|
24
25
|
bestFits: string[];
|
|
25
|
-
selectedChange: (e: string[]) =>
|
|
26
|
+
selectedChange: (e: string[]) => void;
|
|
26
27
|
};
|
|
27
28
|
export default useAddLearningStrategies;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
export interface CLASS_REFLECTION {
|
|
2
|
+
id: number;
|
|
3
|
+
classDate: string;
|
|
4
|
+
classType: string;
|
|
5
|
+
status: string;
|
|
6
|
+
teacherName: string;
|
|
7
|
+
isDone: string;
|
|
8
|
+
classImpactScore?: string;
|
|
9
|
+
studentAvatar?: string;
|
|
10
|
+
teacherAvatar?: string;
|
|
11
|
+
IsDescending?: boolean;
|
|
12
|
+
studentName?: string;
|
|
13
|
+
sendDate?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface FILTER_SESSION {
|
|
16
|
+
currentPage: number;
|
|
17
|
+
pageSize: number;
|
|
18
|
+
searchString: string;
|
|
19
|
+
sortBy: string;
|
|
20
|
+
sortOrder?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
startDate?: number | null;
|
|
23
|
+
endDate?: number | null;
|
|
24
|
+
isDone?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface QuestionAnswer {
|
|
27
|
+
id: number;
|
|
28
|
+
answer: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ActionPointType {
|
|
31
|
+
id?: string;
|
|
32
|
+
text: string;
|
|
33
|
+
}
|
|
34
|
+
export declare enum COLUMN_ClASS {
|
|
35
|
+
ClassType = 0,
|
|
36
|
+
ClassDate = 1,
|
|
37
|
+
TeacherEmail = 2,
|
|
38
|
+
TeacherName = 3,
|
|
39
|
+
TeacherImage = 4,
|
|
40
|
+
StudentEmail = 5,
|
|
41
|
+
SendNow = 6
|
|
42
|
+
}
|
|
43
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
44
|
+
export interface FILTER_STUDENT_SESSION {
|
|
45
|
+
currentPage: number;
|
|
46
|
+
pageSize: number;
|
|
47
|
+
searchString: string;
|
|
48
|
+
sortBy: string;
|
|
49
|
+
sortOrder?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
startDate?: number;
|
|
52
|
+
endDate?: number;
|
|
53
|
+
isDone?: boolean;
|
|
54
|
+
isDescending?: boolean;
|
|
55
|
+
currentId?: number;
|
|
56
|
+
showAssistant?: boolean;
|
|
57
|
+
onlyShowWorkAsAssistant?: boolean;
|
|
58
|
+
}
|
|
59
|
+
export interface SESSION_TYPE {
|
|
60
|
+
id: string;
|
|
61
|
+
studentId: string;
|
|
62
|
+
teacherId: number;
|
|
63
|
+
startTime: string;
|
|
64
|
+
minutes?: number;
|
|
65
|
+
isDoing?: boolean;
|
|
66
|
+
isDone?: boolean;
|
|
67
|
+
isCreatedByTeacher?: boolean;
|
|
68
|
+
isFavourite: boolean;
|
|
69
|
+
isTeacherFavourite: boolean;
|
|
70
|
+
isTeacherDone?: boolean;
|
|
71
|
+
teacherName?: string;
|
|
72
|
+
studentAvatar?: string;
|
|
73
|
+
studentName?: string;
|
|
74
|
+
gradeLevel?: any;
|
|
75
|
+
finalScore?: any;
|
|
76
|
+
studentProfile?: any;
|
|
77
|
+
sortOrder?: string;
|
|
78
|
+
teacherResultId?: number;
|
|
79
|
+
isWorkAsAssistant?: boolean;
|
|
80
|
+
}
|
|
81
|
+
export interface STUDENT_PROFILE {
|
|
82
|
+
id: number;
|
|
83
|
+
userId: string;
|
|
84
|
+
name: string;
|
|
85
|
+
avatar: string;
|
|
86
|
+
classes: string[];
|
|
87
|
+
}
|
|
88
|
+
export interface CLASS_REFLECTION {
|
|
89
|
+
id: number;
|
|
90
|
+
classDate: string;
|
|
91
|
+
classType: string;
|
|
92
|
+
status: string;
|
|
93
|
+
teacherName: string;
|
|
94
|
+
isDone: string;
|
|
95
|
+
classImpactScore?: string;
|
|
96
|
+
studentAvatar?: string;
|
|
97
|
+
teacherAvatar?: string;
|
|
98
|
+
IsDescending?: boolean;
|
|
99
|
+
studentName?: string;
|
|
100
|
+
receiviedDate?: any;
|
|
101
|
+
}
|
|
102
|
+
export interface QuestionAnswer {
|
|
103
|
+
id: number;
|
|
104
|
+
answer: string;
|
|
105
|
+
}
|
|
106
|
+
export declare enum OrderByStudent {
|
|
107
|
+
id = 0,
|
|
108
|
+
name = 1,
|
|
109
|
+
grade = 2,
|
|
110
|
+
lastOneToOne = 3,
|
|
111
|
+
lastConference = 4,
|
|
112
|
+
totalTime = 5
|
|
113
|
+
}
|
|
114
|
+
export interface ActionPointType {
|
|
115
|
+
id?: string;
|
|
116
|
+
text: string;
|
|
117
|
+
deadline: string;
|
|
118
|
+
}
|
|
119
|
+
export interface FILTER_STUDENT_WELLBEING {
|
|
120
|
+
startDate?: number;
|
|
121
|
+
endDate?: number;
|
|
122
|
+
}
|
|
123
|
+
export interface FILTER_LEARNING {
|
|
124
|
+
currentPage: number;
|
|
125
|
+
pageSize: number;
|
|
126
|
+
searchString: string;
|
|
127
|
+
sortBy: string;
|
|
128
|
+
sortOrder?: string;
|
|
129
|
+
startDate?: MaterialUiPickersDate | null;
|
|
130
|
+
endDate?: MaterialUiPickersDate | null;
|
|
131
|
+
studentId?: number;
|
|
132
|
+
}
|
|
133
|
+
export interface LEARNING_PLAN {
|
|
134
|
+
id: number;
|
|
135
|
+
modifyTime: string;
|
|
136
|
+
createTime: string;
|
|
137
|
+
profileImageTeacher: string;
|
|
138
|
+
teacherName: string;
|
|
139
|
+
}
|
|
140
|
+
export interface ACCOMMODATION_TYPE {
|
|
141
|
+
id: number;
|
|
142
|
+
title: string;
|
|
143
|
+
description: string;
|
|
144
|
+
type: string;
|
|
145
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { COLUMN_ClASS } from "../constants/types";
|
|
3
|
+
declare const useAddClassReflection: () => {
|
|
4
|
+
isTeacher: any;
|
|
5
|
+
classFontSize: string;
|
|
6
|
+
rowClassReflection: any;
|
|
7
|
+
setRowClassReflection: import("react").Dispatch<any>;
|
|
8
|
+
addRowClassReflection: () => void;
|
|
9
|
+
removeRowClassReflection: (id: string) => void;
|
|
10
|
+
handleInputChange: (rowId: string, value: any, type: COLUMN_ClASS) => void;
|
|
11
|
+
onSaveClassReflection: (cb: any) => Promise<void>;
|
|
12
|
+
};
|
|
13
|
+
export default useAddClassReflection;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FILTER_STUDENT_SESSION } from "../constants/types";
|
|
2
|
+
declare const useStudentToDo: () => {
|
|
3
|
+
changeFilters: (updatedFilters: any) => void;
|
|
4
|
+
filters: FILTER_STUDENT_SESSION;
|
|
5
|
+
studentReflectionToDo: any;
|
|
6
|
+
classFontSize: string;
|
|
7
|
+
defaultFont: any;
|
|
8
|
+
};
|
|
9
|
+
export default useStudentToDo;
|
|
@@ -15,5 +15,5 @@ interface Props {
|
|
|
15
15
|
options: any;
|
|
16
16
|
classFontSize: string;
|
|
17
17
|
}
|
|
18
|
-
declare const ChartOneToOne: ({ title, series, widthChartOne,
|
|
18
|
+
declare const ChartOneToOne: ({ title, series, widthChartOne, handleChangeStartDate, handleChangeEndDate, timeEnd, timeStart, options, classFontSize }: Props) => JSX.Element;
|
|
19
19
|
export default ChartOneToOne;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
optionConference: any;
|
|
13
13
|
classFontSize: string;
|
|
14
14
|
}
|
|
15
|
-
declare const ChatConference: ({ title, seriesConference, widthChartConference,
|
|
15
|
+
declare const ChatConference: ({ title, seriesConference, widthChartConference, handleChangeStartDateConference, handleChangeEndDateConference, timeEndConference, optionConference, timeStartConference, classFontSize }: Props) => JSX.Element;
|
|
16
16
|
export default ChatConference;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatLearningProgress.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ interface Props {
|
|
|
3
3
|
title: string;
|
|
4
4
|
studentId: any;
|
|
5
5
|
seriesLearningProgress: any;
|
|
6
|
-
widthChartLearningProgress
|
|
7
|
-
heightChartLearningProgress
|
|
6
|
+
widthChartLearningProgress?: any;
|
|
7
|
+
heightChartLearningProgress?: any;
|
|
8
8
|
handleChangeStartLearningProgress: any;
|
|
9
9
|
handleChangeEndLearningProgress: any;
|
|
10
10
|
timeEndLearningProgress: any;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
optionLearningProgress: any;
|
|
13
13
|
classFontSize: string;
|
|
14
14
|
}
|
|
15
|
-
declare const ChatLearningProgress: ({ title, seriesLearningProgress, widthChartLearningProgress,
|
|
15
|
+
declare const ChatLearningProgress: ({ title, seriesLearningProgress, widthChartLearningProgress, handleChangeStartLearningProgress, handleChangeEndLearningProgress, timeEndLearningProgress, timeStartLearningProgress, optionLearningProgress, classFontSize }: Props) => JSX.Element;
|
|
16
16
|
export default ChatLearningProgress;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FILTER_STUDENT_SESSION } from "../constants/types";
|
|
2
3
|
declare const useStudentList: () => {
|
|
3
4
|
students: any;
|
|
@@ -10,5 +11,10 @@ declare const useStudentList: () => {
|
|
|
10
11
|
classFontSize: string;
|
|
11
12
|
useStyles: (props?: any) => Record<"select" | "fontCustom", string>;
|
|
12
13
|
defaultFont: any;
|
|
14
|
+
onSubmitAssistant: (cb: Function) => Promise<void>;
|
|
15
|
+
setAssistantId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
16
|
+
setStudentAssistant: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
17
|
+
isRoleTeacherAndAssistant: boolean;
|
|
18
|
+
nameTeacherAssistant: any;
|
|
13
19
|
};
|
|
14
20
|
export default useStudentList;
|
package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts
CHANGED
|
@@ -6,3 +6,4 @@ export declare const updateDataPersonalInterestApi: (id: number, body: any) => P
|
|
|
6
6
|
export declare const deleteDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
7
|
export declare const allowEdit: (id: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
8
|
export declare const getAllowEdit: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const getPolarQuestion: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -38,5 +38,10 @@ declare const usePersonalInterest: (studentId: number) => {
|
|
|
38
38
|
isCheckChange: boolean;
|
|
39
39
|
setIsCheckChange: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
40
40
|
classFontSize: string;
|
|
41
|
+
ACTIVITY_LIST: {
|
|
42
|
+
id: number;
|
|
43
|
+
images: string;
|
|
44
|
+
text: string;
|
|
45
|
+
}[];
|
|
41
46
|
};
|
|
42
47
|
export default usePersonalInterest;
|
|
@@ -6,3 +6,4 @@ export declare const uploadFilePersonalInterest: (dispatch: any, file: string) =
|
|
|
6
6
|
export declare const editDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
7
7
|
export declare const updateAllow: (dispatch: any, studentId: any, data: any) => Promise<void>;
|
|
8
8
|
export declare const getAllow: (dispatch: any, studentId: any) => Promise<any>;
|
|
9
|
+
export declare const getAveragePolarQuestion: (dispatch: any, studentId: any) => Promise<any>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
3
|
value: string;
|
|
4
|
-
onChange
|
|
5
|
-
onSubmit
|
|
4
|
+
onChange?: Function;
|
|
5
|
+
onSubmit?: Function;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
isUserChangeSession?: boolean;
|
|
6
8
|
}
|
|
7
|
-
declare const ScaffoldingAnswerTextarea: ({ value, onChange, onSubmit }: Props) => JSX.Element;
|
|
9
|
+
declare const ScaffoldingAnswerTextarea: ({ value, onChange, onSubmit, disabled, isUserChangeSession }: Props) => JSX.Element;
|
|
8
10
|
export default ScaffoldingAnswerTextarea;
|