mario-teacher-student-client 9000.0.1 → 9000.0.4
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/Card/CardConfirm.d.ts +10 -0
- package/dist/components/Card/CardItem.d.ts +3 -2
- package/dist/components/Card/CardSwitch.d.ts +4 -2
- package/dist/components/Dialog/ConfirmDelete.d.ts +3 -0
- package/dist/components/Header/HeaderSurvey.d.ts +11 -0
- package/dist/components/Input/InputComponent.d.ts +3 -1
- package/dist/components/Input/TextAreaComponent.d.ts +8 -0
- package/dist/components/Input/UploadFileImage.d.ts +4 -1
- package/dist/components/QuestionTypes/CheckPoint.d.ts +8 -0
- package/dist/components/QuestionTypes/QuestionComponent.d.ts +1 -0
- package/dist/components/QuestionTypes/SingleChoiceComponent.d.ts +8 -0
- package/dist/components/QuestionTypes/SliderComponent.d.ts +1 -0
- package/dist/containers/AboutMyLearning/components/AboutMyLearning.d.ts +1 -1
- package/dist/containers/AboutMyLearning/components/AboutMyLearningDialog.d.ts +4 -0
- package/dist/containers/AboutMyLearning/constants/type.d.ts +12 -0
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +16 -1
- package/dist/containers/Accommodation/components/Accomondation.d.ts +1 -1
- package/dist/containers/Accommodation/components/SimpleDialogAccomondation.d.ts +4 -0
- package/dist/containers/Accommodation/constants/type.d.ts +14 -0
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +16 -0
- package/dist/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
- package/dist/containers/ConductOneToOne/components/SimpleDialog.d.ts +3 -0
- package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +2 -0
- package/dist/containers/ConferenceRubric/components/SimpleDialog.d.ts +3 -0
- package/dist/containers/ConferenceRubric/configs/types.d.ts +5 -0
- package/dist/containers/ConferenceRubric/hooks/useConferenceRubric.d.ts +7 -0
- package/dist/containers/ConferenceRubric/hooks/useCoutdownConference.d.ts +8 -0
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +3 -0
- package/dist/containers/Goals/components/EditBaseLine.d.ts +3 -0
- package/dist/containers/Goals/components/EditCheckPoint.d.ts +3 -0
- package/dist/containers/Goals/components/EditDetail.d.ts +4 -0
- package/dist/containers/Goals/components/GoalDetail.d.ts +3 -0
- package/dist/containers/Goals/components/GoalList.d.ts +3 -0
- package/dist/containers/Goals/components/GoalProgress.d.ts +3 -0
- package/dist/containers/Goals/components/Goals.d.ts +3 -0
- package/dist/containers/Goals/components/NewGoal.d.ts +3 -0
- package/dist/containers/Goals/constants/type.d.ts +19 -0
- package/dist/containers/Goals/hook/useGoalDetail.d.ts +12 -0
- package/dist/containers/Goals/hook/useGoalProgress.d.ts +6 -0
- package/dist/containers/Goals/hook/useGoals.d.ts +10 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +2 -1
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +6 -2
- package/dist/containers/LearningStrategies/view/LearningStrategiesDialog.d.ts +1 -1
- package/dist/containers/MyClassReflection/components/MyClassReflection.d.ts +3 -0
- package/dist/containers/MyClassReflection/constants/types.d.ts +33 -0
- package/dist/containers/MyClassReflection/hooks/useClassReflectionList.d.ts +9 -0
- package/dist/containers/MyOneToOne/components/SessionDetail.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogRecurrence.d.ts +13 -0
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +3 -0
- package/dist/containers/MyOneToOne/hooks/useDetailSession.d.ts +10 -0
- package/dist/containers/MyOneToOne/hooks/useNoteSession.d.ts +15 -0
- package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +3 -0
- package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/Conference.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/classReflection.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/learningProgress.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/oneToOneApi.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts +16 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartOneToOne.d.ts +16 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useConference.d.ts +16 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts +16 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useRedinessToLearn.d.ts +12 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/ClassReflection.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/Conference.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/LearningProgress.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/OneToOneServices.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/TopRedinessToLean.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChartOneToOne.d.ts +18 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatClassReflection.d.ts +15 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatConference.d.ts +15 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatLearningProgress.d.ts +15 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ReadinessToLearn.d.ts +12 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useLearningStrategies.d.ts +13 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/LearningStrategyDialog.d.ts +2 -0
- package/dist/containers/MyStudent/constants/types.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
- package/dist/containers/MySurvey/constants/types.d.ts +41 -0
- package/dist/containers/MySurvey/hooks/useStudentList.d.ts +9 -0
- package/dist/containers/MySurvey/views/CreateSurvey.d.ts +3 -0
- package/dist/containers/MySurvey/views/Mysurvey.d.ts +3 -0
- package/dist/containers/MySurvey/views/StudentSurvey.d.ts +3 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts +2 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +3 -1
- package/dist/containers/PersonalLearningPlan/PersonalInterests/services/personalInterestsService.d.ts +2 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/ListPersonalinterrest.d.ts +3 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/usePersonalInterest.d.ts +11 -0
- package/dist/containers/PersonalLearningPlan/contants/types.d.ts +5 -0
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +5 -0
- package/dist/containers/StrengthsAndChallenges/hook/useStrengthsChallenges.d.ts +7 -1
- package/dist/containers/ThingTeachersCanHelp/components/CreateThinkTeacherCanHelp.d.ts +4 -0
- package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelp.d.ts +2 -1
- package/dist/containers/ThingTeachersCanHelp/constants/type.d.ts +14 -0
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +4 -0
- package/dist/index.css +1616 -347
- package/dist/index.d.ts +6 -1
- package/dist/index.js +21131 -14892
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +21118 -14884
- package/dist/index.modern.js.map +1 -1
- package/dist/services/ConferenceService.d.ts +3 -0
- package/dist/services/Goals.d.ts +13 -0
- package/dist/services/MyClassReflection.d.ts +3 -0
- package/dist/services/MyStudent.d.ts +1 -1
- package/dist/services/OneToOne.d.ts +4 -0
- package/dist/services/StrengthsChallenges.d.ts +2 -0
- package/package.json +106 -104
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface CONFIRM_PROPS {
|
|
3
|
+
handleClose: Function;
|
|
4
|
+
handleDelete: Function;
|
|
5
|
+
open: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
id?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const CardConfirm: ({ handleClose, handleDelete, open, title, id }: CONFIRM_PROPS) => JSX.Element;
|
|
10
|
+
export default CardConfirm;
|
|
@@ -4,10 +4,11 @@ interface Props {
|
|
|
4
4
|
description?: string;
|
|
5
5
|
status?: string;
|
|
6
6
|
id?: number;
|
|
7
|
-
handleDelete: Function;
|
|
8
7
|
handleEdit: Function;
|
|
9
8
|
note?: boolean;
|
|
10
9
|
contentWidth?: number;
|
|
10
|
+
titleDelete?: string;
|
|
11
|
+
handleDelete: Function;
|
|
11
12
|
}
|
|
12
|
-
declare const CardItem: ({ title, description, status, id,
|
|
13
|
+
declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, titleDelete, handleDelete }: Props) => JSX.Element;
|
|
13
14
|
export default CardItem;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
3
|
title?: string;
|
|
4
|
-
status?: string;
|
|
5
4
|
id?: number;
|
|
6
5
|
handleClickOpen: Function;
|
|
6
|
+
isAllowedEdit?: boolean;
|
|
7
|
+
updateAllow: Function;
|
|
8
|
+
isTeacher?: boolean;
|
|
7
9
|
}
|
|
8
|
-
declare const CardSwitch: ({ title,
|
|
10
|
+
declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow, isTeacher }: Props) => JSX.Element;
|
|
9
11
|
export default CardSwitch;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
text: string;
|
|
4
|
+
isShowButtonBackGround?: boolean;
|
|
5
|
+
onFinishSession?: Function;
|
|
6
|
+
goBack?: Function;
|
|
7
|
+
isShowButtonPageHeader?: boolean;
|
|
8
|
+
textButton?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const HeaderSurvey: FC<Props>;
|
|
11
|
+
export default HeaderSurvey;
|
|
@@ -3,6 +3,8 @@ interface Props {
|
|
|
3
3
|
valueText: string;
|
|
4
4
|
onChange: Function;
|
|
5
5
|
name?: string;
|
|
6
|
+
isAddIcon?: boolean;
|
|
7
|
+
handleAddItem?: Function;
|
|
6
8
|
}
|
|
7
|
-
declare const InputComponent: ({ valueText, onChange, name }: Props) => JSX.Element;
|
|
9
|
+
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem }: Props) => JSX.Element;
|
|
8
10
|
export default InputComponent;
|
|
@@ -11,6 +11,9 @@ interface Props {
|
|
|
11
11
|
handleSetNameFile?: any;
|
|
12
12
|
data?: any;
|
|
13
13
|
imageFileName?: any;
|
|
14
|
+
imageFile?: any;
|
|
15
|
+
isCheckPoint?: boolean;
|
|
16
|
+
index?: number;
|
|
14
17
|
}
|
|
15
|
-
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, handleSetNameFile, indexValue }: Props) => JSX.Element;
|
|
18
|
+
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, handleSetNameFile, indexValue, imageFile, isCheckPoint, index }: Props) => JSX.Element;
|
|
16
19
|
export default UploadFileImage;
|
|
@@ -5,3 +5,15 @@ export interface ABOUT_MY_LEARNING {
|
|
|
5
5
|
type: string;
|
|
6
6
|
sectionFields: any;
|
|
7
7
|
}
|
|
8
|
+
export interface ABOUT_MY_LEARNING_DIALOG {
|
|
9
|
+
onClose: Function;
|
|
10
|
+
setOpen: Function;
|
|
11
|
+
selectedValue?: string;
|
|
12
|
+
open: boolean;
|
|
13
|
+
idItem?: number;
|
|
14
|
+
create: Function;
|
|
15
|
+
update: Function;
|
|
16
|
+
getById: Function;
|
|
17
|
+
dataItem: any;
|
|
18
|
+
setDataItem: any;
|
|
19
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const useAboutMyLearning: () => {
|
|
2
3
|
create: (data: any) => Promise<void>;
|
|
3
4
|
update: (id: number, data: any) => Promise<void>;
|
|
@@ -5,7 +6,21 @@ declare const useAboutMyLearning: () => {
|
|
|
5
6
|
deleteById: (id: number) => Promise<void>;
|
|
6
7
|
updateAllow: (data: any) => Promise<void>;
|
|
7
8
|
listData: any;
|
|
8
|
-
|
|
9
|
+
dataItem: {
|
|
10
|
+
title: string;
|
|
11
|
+
sectionFields: {
|
|
12
|
+
title: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
9
15
|
isAllowedEdit: boolean;
|
|
16
|
+
setIsAllowedEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
17
|
+
studentId: any;
|
|
18
|
+
isTeacher: any;
|
|
19
|
+
setDataItem: import("react").Dispatch<import("react").SetStateAction<{
|
|
20
|
+
title: string;
|
|
21
|
+
sectionFields: {
|
|
22
|
+
title: string;
|
|
23
|
+
}[];
|
|
24
|
+
}>>;
|
|
10
25
|
};
|
|
11
26
|
export default useAboutMyLearning;
|
|
@@ -4,3 +4,17 @@ export interface ACCOMMODATION_TYPE {
|
|
|
4
4
|
description: string;
|
|
5
5
|
type: string;
|
|
6
6
|
}
|
|
7
|
+
export interface SIMPLE_DIALOG_TYPE {
|
|
8
|
+
onClose: Function;
|
|
9
|
+
setOpen: Function;
|
|
10
|
+
selectedValue?: string;
|
|
11
|
+
open: boolean;
|
|
12
|
+
idItem: number;
|
|
13
|
+
create: Function;
|
|
14
|
+
update: Function;
|
|
15
|
+
getById: Function;
|
|
16
|
+
studentId: string;
|
|
17
|
+
dataItem: any;
|
|
18
|
+
typeItem: string;
|
|
19
|
+
setDataItem: any;
|
|
20
|
+
}
|
|
@@ -1,10 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const useAccommodation: () => {
|
|
2
3
|
create: (data: any) => Promise<void>;
|
|
3
4
|
update: (id: number, data: any) => Promise<void>;
|
|
4
5
|
getById: (id: number, data: any) => Promise<void>;
|
|
5
6
|
deleteById: (id: number) => Promise<void>;
|
|
6
7
|
updateAllow: (data: any) => Promise<void>;
|
|
8
|
+
setIsAllowedEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
7
9
|
accommodationData: any;
|
|
8
10
|
isAllowedEdit: boolean;
|
|
11
|
+
studentId: any;
|
|
12
|
+
isTeacher: any;
|
|
13
|
+
dataItem: {
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
studentId: number;
|
|
17
|
+
type: number;
|
|
18
|
+
};
|
|
19
|
+
setDataItem: import("react").Dispatch<import("react").SetStateAction<{
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
studentId: number;
|
|
23
|
+
type: number;
|
|
24
|
+
}>>;
|
|
9
25
|
};
|
|
10
26
|
export default useAccommodation;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CONFERENCE_RUBRIC_ANSWER_TYPES, CONFERENCE_RUBRIC_ITEM_ANSWER, CONFERENCE_RUBRIC_TYPES, RubricItemColumnOrder, STATUS_ANSWER } from "../configs/constants";
|
|
3
|
+
import { TypeTime } from "../configs/types";
|
|
3
4
|
declare const useConferenceRubric: () => {
|
|
4
5
|
initialAnswerConferenceRubric: {
|
|
5
6
|
conferenceRubricId: number;
|
|
@@ -38,5 +39,11 @@ declare const useConferenceRubric: () => {
|
|
|
38
39
|
finishConferenceRubric: (conferenceAnswerId: number, cb: any) => Promise<void>;
|
|
39
40
|
studentId: string;
|
|
40
41
|
listQuestionConference: any;
|
|
42
|
+
onStartOrStopTime: (typeTime: TypeTime) => Promise<void>;
|
|
43
|
+
typeTime: TypeTime;
|
|
44
|
+
hour: number;
|
|
45
|
+
minute: number;
|
|
46
|
+
second: number;
|
|
47
|
+
startTime: string;
|
|
41
48
|
};
|
|
42
49
|
export default useConferenceRubric;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface GOAL_TYPE {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
status: string;
|
|
6
|
+
category: string;
|
|
7
|
+
point: number;
|
|
8
|
+
completedTargets: number;
|
|
9
|
+
detail: string;
|
|
10
|
+
name: string;
|
|
11
|
+
source: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GOAL_DETAIL {
|
|
14
|
+
open: boolean;
|
|
15
|
+
handleClose: Function;
|
|
16
|
+
getOneData: any;
|
|
17
|
+
update: Function;
|
|
18
|
+
handleDelete: Function;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const useGoalDetail: () => {
|
|
2
|
+
create: (data: any, baseLines: any, checkpoint: any) => Promise<void>;
|
|
3
|
+
update: (id: number, data: any) => Promise<void>;
|
|
4
|
+
getById: (id: number) => Promise<void>;
|
|
5
|
+
deleteById: (id: number) => Promise<void>;
|
|
6
|
+
updateBaseLine: (id: number, data: any) => Promise<void>;
|
|
7
|
+
getOneData: any;
|
|
8
|
+
createCheckPoint: (id: number, data: any, isDelete: any) => Promise<void>;
|
|
9
|
+
updateCheckPoint: (goalId: number, checkPointId: number, data: any) => Promise<void>;
|
|
10
|
+
deleteCheckPoint: (goalId: number, checkPointId: number) => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
export default useGoalDetail;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useGoals: () => {
|
|
3
|
+
create: (data: any) => Promise<void>;
|
|
4
|
+
updateAllow: (data: any) => Promise<void>;
|
|
5
|
+
listData: any;
|
|
6
|
+
isAllowedEdit: boolean;
|
|
7
|
+
setIsAllowedEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
8
|
+
isTeacher: any;
|
|
9
|
+
};
|
|
10
|
+
export default useGoals;
|
|
@@ -5,7 +5,8 @@ declare const useLearningStrategy: () => {
|
|
|
5
5
|
setGetOneData: import("react").Dispatch<any>;
|
|
6
6
|
getAllow: (studentId: number) => Promise<void>;
|
|
7
7
|
getOneData: any;
|
|
8
|
-
toggleAllow:
|
|
8
|
+
toggleAllow: boolean;
|
|
9
|
+
setToggleAllow: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
9
10
|
getById: (id: number, studentId: number) => Promise<void>;
|
|
10
11
|
getAll: (filters: any) => Promise<void>;
|
|
11
12
|
create: (data: any, studentId: string) => Promise<void>;
|
|
@@ -6,9 +6,13 @@ declare const useEditLearningStrategies: () => {
|
|
|
6
6
|
learningStrategyData: any;
|
|
7
7
|
handleDelete: (id: number) => Promise<void>;
|
|
8
8
|
handleUpdateAllow: (e: boolean) => void;
|
|
9
|
-
toggleAllow:
|
|
9
|
+
toggleAllow: boolean;
|
|
10
10
|
studentId: any;
|
|
11
11
|
getOneData: any;
|
|
12
|
-
updateItem: () => void
|
|
12
|
+
updateItem: () => Promise<void>;
|
|
13
|
+
handleOpenConfirmDeleteDialog: (id: number) => void;
|
|
14
|
+
handleCloseConfirmDeleteDialog: () => void;
|
|
15
|
+
openConfirmDelete: boolean;
|
|
16
|
+
idItem: any;
|
|
13
17
|
};
|
|
14
18
|
export default useEditLearningStrategies;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const DialogEditLearningStrategy: ({ id, handleClose, open, getOneData, handleChangeNote,
|
|
2
|
+
declare const DialogEditLearningStrategy: ({ id, handleClose, open, getOneData, handleChangeNote, updateItem, handleBestFit, handleOpenConfirmDeleteDialog }: any) => JSX.Element;
|
|
3
3
|
export default DialogEditLearningStrategy;
|
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
23
|
+
endDate?: number;
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FILTER_SESSION } from "../constants/types";
|
|
2
|
+
declare const useClassReflectionList: () => {
|
|
3
|
+
changeFilters: (updatedFilters: any) => void;
|
|
4
|
+
filters: FILTER_SESSION;
|
|
5
|
+
sendDate: (id: number) => Promise<void>;
|
|
6
|
+
getDataClassReflections: () => Promise<void>;
|
|
7
|
+
classReflectionData: any;
|
|
8
|
+
};
|
|
9
|
+
export default useClassReflectionList;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
handleClose?: any;
|
|
4
|
+
open: boolean;
|
|
5
|
+
applyValue: any;
|
|
6
|
+
}
|
|
7
|
+
export declare enum EndType {
|
|
8
|
+
Never = "Never",
|
|
9
|
+
On = "On",
|
|
10
|
+
After = "After"
|
|
11
|
+
}
|
|
12
|
+
declare const Recurrence: ({ open, handleClose, applyValue }: Props) => JSX.Element;
|
|
13
|
+
export default Recurrence;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const useDetailSession: () => {
|
|
2
|
+
getDataLearningCategories: () => Promise<void>;
|
|
3
|
+
dataLearningCategories: any;
|
|
4
|
+
deleteSession: () => Promise<void>;
|
|
5
|
+
getOneSession: () => Promise<void>;
|
|
6
|
+
dataSession: any;
|
|
7
|
+
sessionId: string;
|
|
8
|
+
update: (data: any) => Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
export default useDetailSession;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const useNoteSession: () => {
|
|
2
|
+
teacherNoteData: any;
|
|
3
|
+
studentNoteData: any;
|
|
4
|
+
privateNoteData: any;
|
|
5
|
+
changRouteQuestion: (studentId: number) => Promise<void>;
|
|
6
|
+
getAllNoteSession: (sessionId: any) => Promise<void>;
|
|
7
|
+
createSessionSingleNote: (note: any, sessionResultId: any, sessionId: any) => Promise<void>;
|
|
8
|
+
deleteNote: (noteId: any, sessionId: any) => Promise<void>;
|
|
9
|
+
updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
|
|
10
|
+
createConferenceSingleNote: (note: any, conferenceAnswerId: any, conferenceId: any) => Promise<void>;
|
|
11
|
+
getAllNoteConference: (sessionId: any) => Promise<void>;
|
|
12
|
+
updateConferenceRubricPrivateNote: (privateNote: any, conferenceId: any) => Promise<void>;
|
|
13
|
+
deleteNoteConference: (noteId: any, sessionId: any) => Promise<void>;
|
|
14
|
+
};
|
|
15
|
+
export default useNoteSession;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getConferenceApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getClassReflectionApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLearningProgressApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getOneToOneApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDataRedinessToLeanApi: (idStudent: any) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
+
import { ApexOptions } from "apexcharts";
|
|
3
|
+
declare const useChartClassReflection: (studentId: any) => {
|
|
4
|
+
seriesChartClassReflection: any;
|
|
5
|
+
optionClassReflection: ApexOptions;
|
|
6
|
+
widthChartClassReflection: number;
|
|
7
|
+
heightChartClassReflection: number;
|
|
8
|
+
handleChangeStartDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
|
|
9
|
+
handleChangeEndDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
|
|
10
|
+
timeEndClassReflection: any;
|
|
11
|
+
timeStartClassReflection: any;
|
|
12
|
+
anchorEl: any;
|
|
13
|
+
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
14
|
+
handleClose: () => void;
|
|
15
|
+
};
|
|
16
|
+
export default useChartClassReflection;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
+
import { ApexOptions } from "apexcharts";
|
|
3
|
+
declare const useChartOneToOne: (studentId: any) => {
|
|
4
|
+
series: any;
|
|
5
|
+
widthChartOne: number;
|
|
6
|
+
heightChartOne: number;
|
|
7
|
+
handleChangeStartDate: (datepicker: MaterialUiPickersDate) => void;
|
|
8
|
+
handleChangeEndDate: (datepicker: MaterialUiPickersDate) => void;
|
|
9
|
+
timeEnd: any;
|
|
10
|
+
timeStart: any;
|
|
11
|
+
anchorEl: any;
|
|
12
|
+
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
13
|
+
handleClose: () => void;
|
|
14
|
+
optionOneToOne: ApexOptions;
|
|
15
|
+
};
|
|
16
|
+
export default useChartOneToOne;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
+
import { ApexOptions } from "apexcharts";
|
|
3
|
+
declare const useChartConference: (studentId: any) => {
|
|
4
|
+
seriesConference: any;
|
|
5
|
+
widthChartConference: number;
|
|
6
|
+
heightChartConference: number;
|
|
7
|
+
handleChangeStartDateConference: (datepicker: MaterialUiPickersDate) => void;
|
|
8
|
+
handleChangeEndDateConference: (datepicker: MaterialUiPickersDate) => void;
|
|
9
|
+
timeEndConference: any;
|
|
10
|
+
timeStartConference: any;
|
|
11
|
+
anchorEl: any;
|
|
12
|
+
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
13
|
+
handleClose: () => void;
|
|
14
|
+
optionConference: ApexOptions;
|
|
15
|
+
};
|
|
16
|
+
export default useChartConference;
|