mario-teacher-student-client 2.0.11 → 9000.0.2
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/CardSwitch.d.ts +3 -2
- package/dist/components/Circle/Circle.d.ts +11 -0
- package/dist/components/Circle/ItemCircle.d.ts +7 -0
- package/dist/components/Header/HeaderComponent.d.ts +11 -0
- package/dist/components/Header/HeaderLearningPlan.d.ts +12 -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 +2 -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/components/layouts/HeaderSideBar.d.ts +4 -0
- package/dist/containers/AboutMyLearning/components/AboutMyLearning.d.ts +1 -1
- package/dist/containers/AboutMyLearning/constants/listTitleAboutMyLearning.d.ts +1 -0
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +2 -0
- 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/titleList.d.ts +1 -0
- package/dist/containers/Accommodation/constants/type.d.ts +11 -0
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +3 -0
- package/dist/containers/ActionPoint/api/apiClient.d.ts +6 -0
- package/dist/containers/ActionPoint/components/CardItem/hooks/useCardItem.d.ts +7 -0
- package/dist/containers/ActionPoint/components/CardItem/services/services.d.ts +1 -0
- package/dist/containers/ActionPoint/components/CardItem/view/CardItem.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useActionPointsDB.d.ts +7 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useCard.d.ts +8 -0
- package/dist/containers/ActionPoint/components/DashBoardView/services/actionPointDashboardService.d.ts +1 -0
- package/dist/containers/ActionPoint/components/DashBoardView/views/ActionPointsDashboard.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DashBoardView/views/Card.d.ts +3 -0
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +24 -0
- package/dist/containers/ActionPoint/components/Dialogs/services/dialogServices.d.ts +5 -0
- package/dist/containers/ActionPoint/components/Dialogs/views/DialogRequestActionPoint.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +14 -0
- package/dist/containers/ActionPoint/components/DoneList/services/doneListService.d.ts +2 -0
- package/dist/containers/ActionPoint/components/DoneList/view/DoneList.d.ts +3 -0
- package/dist/containers/ActionPoint/components/MainView/ActionPoint.d.ts +3 -0
- package/dist/containers/ActionPoint/components/Tabs/CustomTab.d.ts +3 -0
- package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +15 -0
- package/dist/containers/ActionPoint/components/TodoList/services/todoListServices.d.ts +2 -0
- package/dist/containers/ActionPoint/components/TodoList/view/TodoList.d.ts +3 -0
- package/dist/containers/ActionPoint/constants/types.d.ts +25 -0
- package/dist/containers/ActivityCircle/components/ModalGoalActivity.d.ts +3 -0
- package/dist/containers/ActivityCircle/constant/type.d.ts +7 -0
- package/dist/containers/ActivityCircle/hooks/useListActivity.d.ts +8 -0
- package/dist/containers/ActivityCircle/hooks/useListDetailActivity.d.ts +24 -0
- package/dist/containers/ActivityCircle/hooks/useTotalActivity.d.ts +4 -0
- package/dist/containers/ActivityCircle/services/ActivityCircleService.d.ts +7 -0
- package/dist/containers/ActivityCircle/views/ActivityCircleLearning.d.ts +3 -0
- package/dist/containers/ActivityCircle/views/ListActivityLearning.d.ts +3 -0
- package/dist/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
- package/dist/containers/ConductOneToOne/constant/types.d.ts +5 -0
- package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +9 -1
- package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +8 -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/components/ModalGoalFriend.d.ts +3 -0
- package/dist/containers/FriendCircle/constants/types.d.ts +103 -0
- package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +20 -0
- package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +8 -0
- package/dist/containers/FriendCircle/hooks/useTotalFriends.d.ts +4 -0
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +3 -0
- package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +3 -0
- package/dist/containers/FriendCircle/views/ListFriendCircle.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 +3 -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 +12 -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 +9 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesApi.d.ts +7 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +16 -0
- package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +15 -0
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +14 -0
- package/dist/containers/LearningStrategies/view/LearningStrategies.d.ts +2 -0
- package/dist/containers/LearningStrategies/view/LearningStrategiesDialog.d.ts +3 -0
- package/dist/containers/LearningStrategies/view/LearningStrategiesSave.d.ts +2 -0
- 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/MyConferences/hooks/useUpComing.d.ts +0 -1
- package/dist/containers/MyOneToOne/components/SessionDetail.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/SliderRange.d.ts +2 -0
- package/dist/containers/MyOneToOne/components/UiCompletedOneToOne.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +3 -3
- 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/useUpComing.d.ts +0 -1
- 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/hooks/useTopLearningStrategies.d.ts +4 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +2 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/LearningStrategyDialog.d.ts +2 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +3 -0
- package/dist/containers/MyStudent/configs/createStudentSchema.d.ts +0 -5
- package/dist/containers/MyStudent/constants/types.d.ts +11 -0
- package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
- package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +1 -1
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +1 -1
- 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/Note/apiClient/index.d.ts +7 -0
- package/dist/containers/Note/components/AddNew.d.ts +3 -0
- package/dist/containers/Note/components/EditNote.d.ts +3 -0
- package/dist/containers/Note/components/Note.d.ts +3 -0
- package/dist/containers/Note/components/ViewItemNote.d.ts +3 -0
- package/dist/containers/Note/hook/useNote.d.ts +18 -0
- package/dist/containers/Note/hook/useNoteAdd.d.ts +20 -0
- package/dist/containers/Note/services/index.d.ts +7 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +2 -2
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/usePersonalInterest.d.ts +5 -0
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +2 -33
- 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/SliderRange.d.ts +2 -0
- package/dist/containers/SettingPageV1/apiClient/index.d.ts +2 -0
- package/dist/containers/SettingPageV1/hook/useSettingPage.d.ts +7 -0
- package/dist/containers/SettingPageV1/servies/index.d.ts +2 -0
- package/dist/containers/SettingPageV1/view/SettingPage.d.ts +2 -0
- package/dist/containers/StrengthsAndChallenges/constants/listStrengthsChallengesBestFits.d.ts +1 -0
- package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelp.d.ts +2 -1
- package/dist/containers/ThingTeachersCanHelp/constants/type.d.ts +3 -0
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +2 -0
- package/dist/index.css +4837 -1542
- package/dist/index.d.ts +27 -2
- package/dist/index.js +31884 -18216
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +29331 -15687
- package/dist/index.modern.js.map +1 -1
- package/dist/services/ConductOneToOne.d.ts +3 -0
- 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 +8 -0
- package/dist/services/OneToOne.d.ts +4 -0
- package/dist/services/myFriendGoalService.d.ts +6 -0
- package/package.json +6 -2
- package/dist/containers/PersonalLearningPlan/hook/personalInterestApi.d.ts +0 -6
- package/dist/containers/PersonalLearningPlan/hook/personalInterestsService.d.ts +0 -6
|
@@ -1,9 +1,10 @@
|
|
|
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;
|
|
7
8
|
}
|
|
8
|
-
declare const CardSwitch: ({ title,
|
|
9
|
+
declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow }: Props) => JSX.Element;
|
|
9
10
|
export default CardSwitch;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
numberFriend: number;
|
|
5
|
+
background: string;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
key?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const Circle: ({ title, numberFriend, width, height, background, key }: Props) => JSX.Element;
|
|
11
|
+
export default Circle;
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
export declare enum TypeTime {
|
|
3
|
+
Default = 0,
|
|
4
|
+
StartTime = 1,
|
|
5
|
+
StopTime = 2
|
|
6
|
+
}
|
|
2
7
|
interface Props {
|
|
3
8
|
text: string;
|
|
4
9
|
isShowButtonBackGround?: boolean;
|
|
5
10
|
onFinishSession?: Function;
|
|
6
11
|
goBack?: Function;
|
|
7
12
|
isShowButtonPageHeader?: boolean;
|
|
13
|
+
typeTime?: TypeTime;
|
|
14
|
+
onStartOrStopTime?: Function;
|
|
15
|
+
second?: number;
|
|
16
|
+
minute?: number;
|
|
17
|
+
hour?: number;
|
|
18
|
+
isTeacher?: boolean;
|
|
8
19
|
}
|
|
9
20
|
declare const HeaderComponent: FC<Props>;
|
|
10
21
|
export default HeaderComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
text: string;
|
|
4
|
+
isShowButtonBackGround?: boolean;
|
|
5
|
+
onRedirect?: Function;
|
|
6
|
+
goBack?: Function;
|
|
7
|
+
isShowButtonPageHeader?: boolean;
|
|
8
|
+
textButton: string;
|
|
9
|
+
setIsCreate?: any;
|
|
10
|
+
}
|
|
11
|
+
declare const HeaderLearningPlan: FC<Props>;
|
|
12
|
+
export default HeaderLearningPlan;
|
|
@@ -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,7 @@ interface Props {
|
|
|
11
11
|
handleSetNameFile?: any;
|
|
12
12
|
data?: any;
|
|
13
13
|
imageFileName?: any;
|
|
14
|
+
imageFile?: any;
|
|
14
15
|
}
|
|
15
|
-
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, handleSetNameFile, indexValue }: Props) => JSX.Element;
|
|
16
|
+
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, handleSetNameFile, indexValue, imageFile }: Props) => JSX.Element;
|
|
16
17
|
export default UploadFileImage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleListAboutMyLearning: string[];
|
|
@@ -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>;
|
|
@@ -7,5 +8,6 @@ declare const useAboutMyLearning: () => {
|
|
|
7
8
|
listData: any;
|
|
8
9
|
getOneData: any;
|
|
9
10
|
isAllowedEdit: boolean;
|
|
11
|
+
setIsAllowedEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
12
|
};
|
|
11
13
|
export default useAboutMyLearning;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleList: string[];
|
|
@@ -4,3 +4,14 @@ 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
|
+
}
|
|
@@ -1,10 +1,13 @@
|
|
|
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;
|
|
9
12
|
};
|
|
10
13
|
export default useAccommodation;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const getDataActionPointApi: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const postDataActionPointApi: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getDataClassNameApi: () => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const getDataActionPointByIdApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const putActionPointApi: (id: any, formData: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const putIsDoneApi: (id: any, isDone: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const updateIsDone: (dispatch: any, id: any, isDone: any) => Promise<void>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useCard: (actionPoints: any) => {
|
|
3
|
+
actionId: number;
|
|
4
|
+
clickOpenEdit: (actionPointId: any) => Promise<void>;
|
|
5
|
+
handleChangeIsDone: (_id: any, index: any) => Promise<void>;
|
|
6
|
+
refConduct: import("react").MutableRefObject<any>;
|
|
7
|
+
};
|
|
8
|
+
export default useCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDataActionPoint: (dispatch: any, filter: any) => Promise<any>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const useDialogRequest: (_props: any, ref: any) => {
|
|
3
|
+
open: any;
|
|
4
|
+
isTeacher: any;
|
|
5
|
+
classList: never[];
|
|
6
|
+
formData: any;
|
|
7
|
+
changeFormData: (updatedForm: any) => void;
|
|
8
|
+
changeTitle: (e: any) => void;
|
|
9
|
+
handleDateChange: (date: any) => void;
|
|
10
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
11
|
+
value: unknown;
|
|
12
|
+
}>) => void;
|
|
13
|
+
handleChangeNotiDuration: (e: React.ChangeEvent<{
|
|
14
|
+
value: unknown;
|
|
15
|
+
}>) => void;
|
|
16
|
+
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
17
|
+
value: unknown;
|
|
18
|
+
}>) => void;
|
|
19
|
+
handleCreate: () => Promise<void>;
|
|
20
|
+
handleClickClose: () => void;
|
|
21
|
+
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
22
|
+
submitUpdate: () => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export default useDialogRequest;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FORM_REQUEST } from "../../../constants/types";
|
|
2
|
+
export declare const getDataClassName: (dispatch: any) => Promise<any>;
|
|
3
|
+
export declare const createActionPoint: (dispatch: any, formData: FORM_REQUEST) => Promise<void>;
|
|
4
|
+
export declare const getActionPointById: (dispatch: any, id: any) => Promise<any>;
|
|
5
|
+
export declare const updateActionPoint: (dispatch: any, id: any, formData: any) => Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const useDoneList: () => {
|
|
2
|
+
dataDoneList: any;
|
|
3
|
+
deadline: string;
|
|
4
|
+
classList: never[];
|
|
5
|
+
handleChangeDeadline: (e: React.ChangeEvent<{
|
|
6
|
+
value: unknown;
|
|
7
|
+
}>) => void;
|
|
8
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
9
|
+
value: unknown;
|
|
10
|
+
}>) => void;
|
|
11
|
+
changeFilters: (updateFilters: any) => void;
|
|
12
|
+
filters: any;
|
|
13
|
+
};
|
|
14
|
+
export default useDoneList;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const useTodoList: () => {
|
|
2
|
+
filters: any;
|
|
3
|
+
classList: never[];
|
|
4
|
+
changeFilters: (updateFilters: any) => void;
|
|
5
|
+
dataActionPoint: any;
|
|
6
|
+
deadline: string;
|
|
7
|
+
handleChangeDeadline: (e: React.ChangeEvent<{
|
|
8
|
+
value: unknown;
|
|
9
|
+
}>) => void;
|
|
10
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
11
|
+
value: unknown;
|
|
12
|
+
}>) => void;
|
|
13
|
+
handleChangeSearchString: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
};
|
|
15
|
+
export default useTodoList;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface SIMPLE_DIALOG {
|
|
2
|
+
open: boolean;
|
|
3
|
+
selectedValue: string;
|
|
4
|
+
onClose: (value: string) => void;
|
|
5
|
+
setStudentId?: Function;
|
|
6
|
+
onClickStartQuestion?: Function;
|
|
7
|
+
studentId?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface FILTER_SESSION {
|
|
10
|
+
searchString?: string;
|
|
11
|
+
startTime?: any;
|
|
12
|
+
endTime?: any;
|
|
13
|
+
isDone?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface FORM_REQUEST {
|
|
17
|
+
studentId?: number;
|
|
18
|
+
teacherId?: number;
|
|
19
|
+
title?: string;
|
|
20
|
+
class?: string;
|
|
21
|
+
deadline?: number;
|
|
22
|
+
notiCount?: number;
|
|
23
|
+
notiDuration?: string;
|
|
24
|
+
isDone?: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FILTER_STUDENT_SESSION } from "../constant/type";
|
|
2
|
+
declare const useListActivity: () => {
|
|
3
|
+
getActivityListData: () => Promise<void>;
|
|
4
|
+
goalActivityList: never[];
|
|
5
|
+
filters: FILTER_STUDENT_SESSION;
|
|
6
|
+
changeFilters: (updateFilters: any) => void;
|
|
7
|
+
};
|
|
8
|
+
export default useListActivity;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type CircleType = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
imageUrl: string;
|
|
7
|
+
};
|
|
8
|
+
declare const useListDetailActivity: () => {
|
|
9
|
+
myGoalCircle: CircleType;
|
|
10
|
+
setGoalCircle: import("react").Dispatch<import("react").SetStateAction<CircleType>>;
|
|
11
|
+
acticityId: number;
|
|
12
|
+
setActivityId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
13
|
+
OPTIONS_TYPE: {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
color: string;
|
|
17
|
+
}[];
|
|
18
|
+
file: any;
|
|
19
|
+
setFile: import("react").Dispatch<any>;
|
|
20
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
21
|
+
getData: () => Promise<void>;
|
|
22
|
+
deleteActivity: (studentId: number, activityId: number) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export default useListDetailActivity;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const getTotalActivityCount: () => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const get: (studentId: number, filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getById: (studentId: number, activityId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const create: (studentId: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const update: (studentId: number, activityId: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const remove: (studentId: number, activityId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const systemProfileUpload: (formData: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -17,6 +17,11 @@ export declare enum QuestionType {
|
|
|
17
17
|
Rating = "Rating",
|
|
18
18
|
LearningStrategy = "LearningStrategy"
|
|
19
19
|
}
|
|
20
|
+
export declare enum TypeTime {
|
|
21
|
+
Default = 0,
|
|
22
|
+
StartTime = 1,
|
|
23
|
+
StopTime = 2
|
|
24
|
+
}
|
|
20
25
|
export interface LearningStrategyType {
|
|
21
26
|
id?: number;
|
|
22
27
|
text: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LearningStrategyType, LearningStrategyCategory } from "../constant/types";
|
|
2
|
+
import { LearningStrategyType, LearningStrategyCategory, TypeTime } from "../constant/types";
|
|
3
3
|
declare const useConductOne: () => {
|
|
4
4
|
currentUser: any;
|
|
5
5
|
isTeacher: any;
|
|
@@ -19,5 +19,13 @@ declare const useConductOne: () => {
|
|
|
19
19
|
setLength: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
20
20
|
startTime: string;
|
|
21
21
|
informationUser: any;
|
|
22
|
+
onStartOrStopTime: (typeTime: TypeTime) => Promise<void>;
|
|
23
|
+
typeTime: TypeTime;
|
|
24
|
+
timeSession: number;
|
|
25
|
+
hour: number;
|
|
26
|
+
minute: number;
|
|
27
|
+
second: number;
|
|
28
|
+
category: string;
|
|
29
|
+
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
22
30
|
};
|
|
23
31
|
export default useConductOne;
|
|
@@ -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;
|