mario-teacher-student-client 2.0.11 → 2.1.0
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/AddButton.d.ts +1 -0
- package/dist/components/Card/CardConfirm.d.ts +10 -0
- package/dist/components/Card/CardItem.d.ts +7 -2
- package/dist/components/Card/CardSwitch.d.ts +5 -2
- package/dist/components/Circle/Circle.d.ts +12 -0
- package/dist/components/Circle/ItemCircle.d.ts +8 -0
- package/dist/components/Dialog/ConfirmDelete.d.ts +3 -0
- package/dist/components/Header/HeaderComponent.d.ts +15 -0
- package/dist/components/Header/HeaderLearningPlan.d.ts +12 -0
- package/dist/components/Input/CustumInput.d.ts +9 -0
- package/dist/components/Input/InputComponent.d.ts +9 -1
- package/dist/components/Input/TextFieldComponent.d.ts +2 -1
- package/dist/components/Input/UploadFileImage.d.ts +4 -1
- package/dist/components/QuestionTypes/CheckPoint.d.ts +9 -0
- package/dist/components/QuestionTypes/QuestionComponent.d.ts +1 -0
- package/dist/components/QuestionTypes/SingleChoiceComponent.d.ts +10 -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/components/AboutMyLearningDialog.d.ts +4 -0
- package/dist/containers/AboutMyLearning/constants/listTitleAboutMyLearning.d.ts +1 -0
- package/dist/containers/AboutMyLearning/constants/type.d.ts +13 -0
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +17 -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/titleList.d.ts +1 -0
- package/dist/containers/Accommodation/constants/type.d.ts +15 -0
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +25 -0
- package/dist/containers/ActionPoint/api/apiClient.d.ts +7 -0
- package/dist/containers/ActionPoint/components/CardItem/hooks/useCardItem.d.ts +8 -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 +9 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useCard.d.ts +9 -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 +33 -0
- package/dist/containers/ActionPoint/components/Dialogs/services/dialogServices.d.ts +6 -0
- package/dist/containers/ActionPoint/components/Dialogs/views/DialogRequestActionPoint.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +15 -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 +18 -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 +25 -0
- package/dist/containers/ActivityCircle/hooks/useTotalActivity.d.ts +5 -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/apiClient/index.d.ts +2 -0
- package/dist/containers/ConductOneToOne/components/ConductTop/ConductTop.d.ts +1 -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 +10 -1
- package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +8 -0
- package/dist/containers/ConductOneToOne/servies/index.d.ts +2 -0
- package/dist/containers/ConferenceRubric/components/RubricTable.d.ts +1 -0
- package/dist/containers/ConferenceRubric/components/StartRubric.d.ts +1 -0
- package/dist/containers/ConferenceRubric/configs/types.d.ts +5 -0
- package/dist/containers/ConferenceRubric/hooks/useConferenceRubric.d.ts +11 -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 +22 -0
- package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +8 -0
- package/dist/containers/FriendCircle/hooks/useTotalFriends.d.ts +5 -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 +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 +7 -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 +20 -0
- package/dist/containers/Goals/hook/useGoalDetail.d.ts +17 -0
- package/dist/containers/Goals/hook/useGoalProgress.d.ts +6 -0
- package/dist/containers/Goals/hook/useGoals.d.ts +12 -0
- package/dist/containers/Home/components/CurrentFullCalendar.d.ts +1 -0
- package/dist/containers/Home/hooks/getEventCalendar.d.ts +1 -0
- package/dist/containers/Home/hooks/getListEvent.d.ts +1 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesApi.d.ts +7 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +17 -0
- package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +25 -0
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +20 -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/AddClassReflection.d.ts +3 -0
- package/dist/containers/MyClassReflection/components/MyClassReflection.d.ts +3 -0
- package/dist/containers/MyClassReflection/constants/types.d.ts +42 -0
- package/dist/containers/MyClassReflection/hooks/useAddClassReflection.d.ts +15 -0
- package/dist/containers/MyClassReflection/hooks/useClassReflectionList.d.ts +10 -0
- package/dist/containers/MyOneToOne/components/GoogleCalendar.d.ts +2 -0
- 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/DialogRecurrence.d.ts +14 -0
- package/dist/containers/MyOneToOne/hooks/useDetailSession.d.ts +10 -0
- package/dist/containers/MyOneToOne/hooks/useSessionCompleted.d.ts +2 -0
- package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +1 -0
- package/dist/containers/MyStudent/components/InformationUser.d.ts +1 -1
- 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 +19 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatClassReflection.d.ts +16 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatConference.d.ts +16 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatLearningProgress.d.ts +16 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ReadinessToLearn.d.ts +13 -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 +7 -0
- package/dist/containers/MyStudent/components/OverviewTop.d.ts +1 -0
- package/dist/containers/MyStudent/constants/types.d.ts +15 -2
- package/dist/containers/MyStudent/hooks/useClassReflectionList.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useLearningPlanList.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useOverview.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useResultReflection.d.ts +2 -0
- package/dist/containers/MyStudent/hooks/useStartReflection.d.ts +4 -0
- package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentHistory.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +3 -0
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentToDo.d.ts +1 -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/enum/categories.d.ts +7 -0
- package/dist/containers/Note/hook/useNote.d.ts +21 -0
- package/dist/containers/Note/hook/useNoteAdd.d.ts +23 -0
- package/dist/containers/Note/services/index.d.ts +7 -0
- package/dist/containers/Note/type/note.d.ts +12 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts +2 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +8 -2
- package/dist/containers/PersonalLearningPlan/PersonalInterests/services/personalInterestsService.d.ts +2 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/usePersonalInterest.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/apiClient/index.d.ts +18 -0
- 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/ScaffoldingButton/views/ScaffoldingBtn.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/hooks/useNotes.d.ts +31 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/services/index.d.ts +18 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/MineNotesScreen.d.ts +9 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/OtherNoteScreen.d.ts +9 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/PrivateNotesScreen.d.ts +9 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingAnswerTextarea.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingNotes.d.ts +16 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingQuestions.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +10 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingQuestionAndAnswer.d.ts +14 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/ScaffoldingFloatTab.d.ts +11 -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/ScaffoldingExample/hooks/useScaffolding.d.ts +9 -0
- package/dist/containers/ScaffoldingExample/views/MainViewScaffolding.d.ts +3 -0
- package/dist/containers/SettingPageV1/apiClient/index.d.ts +2 -0
- package/dist/containers/SettingPageV1/hook/useSettingPage.d.ts +9 -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/StrengthsAndChallenges/hook/useStrengthsChallenges.d.ts +8 -1
- package/dist/containers/StrengthsAndChallenges/views/SummaryStrengthsAndChallenges.d.ts +4 -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 +15 -0
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +5 -0
- package/dist/index.css +7820 -2629
- package/dist/index.d.ts +28 -3
- package/dist/index.js +36149 -18412
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +35973 -18261
- package/dist/index.modern.js.map +1 -1
- package/dist/services/ConductOneToOne.d.ts +3 -0
- package/dist/services/ConferenceService.d.ts +4 -0
- package/dist/services/Goals.d.ts +13 -0
- package/dist/services/MyClassReflection.d.ts +4 -0
- package/dist/services/MyStudent.d.ts +11 -0
- package/dist/services/OneToOne.d.ts +5 -1
- package/dist/services/StrengthsChallenges.d.ts +2 -0
- package/dist/services/myFriendGoalService.d.ts +6 -0
- package/package.json +6 -2
|
@@ -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,15 @@ 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;
|
|
12
|
+
isTeacher?: boolean;
|
|
13
|
+
isAllowedEdit?: boolean;
|
|
14
|
+
isAccommodationIEP?: boolean;
|
|
15
|
+
classFontSize?: any;
|
|
11
16
|
}
|
|
12
|
-
declare const CardItem: ({ title, description, status, id,
|
|
17
|
+
declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, handleDelete, isTeacher, isAllowedEdit, isAccommodationIEP, classFontSize }: Props) => JSX.Element;
|
|
13
18
|
export default CardItem;
|
|
@@ -1,9 +1,12 @@
|
|
|
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;
|
|
9
|
+
classFontSize?: any;
|
|
7
10
|
}
|
|
8
|
-
declare const CardSwitch: ({ title,
|
|
11
|
+
declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow, isTeacher, classFontSize }: Props) => JSX.Element;
|
|
9
12
|
export default CardSwitch;
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
classFontSize?: any;
|
|
10
|
+
}
|
|
11
|
+
declare const Circle: ({ title, numberFriend, width, height, background, key, classFontSize }: Props) => JSX.Element;
|
|
12
|
+
export default Circle;
|
|
@@ -1,10 +1,25 @@
|
|
|
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;
|
|
19
|
+
isClassReflection?: boolean;
|
|
20
|
+
isShowButtonEdit?: boolean;
|
|
21
|
+
onEditConference?: Function;
|
|
22
|
+
numberOfEdit?: boolean;
|
|
8
23
|
}
|
|
9
24
|
declare const HeaderComponent: FC<Props>;
|
|
10
25
|
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;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
|
+
customId?: string;
|
|
3
4
|
valueText: string;
|
|
4
5
|
onChange: Function;
|
|
5
6
|
name?: string;
|
|
7
|
+
isAddIcon?: boolean;
|
|
8
|
+
handleAddItem?: Function;
|
|
9
|
+
onBlur?: any;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
isSending?: boolean;
|
|
12
|
+
handleSending?: Function;
|
|
13
|
+
canSubmit?: boolean;
|
|
6
14
|
}
|
|
7
|
-
declare const InputComponent: ({ valueText, onChange, name }: Props) => JSX.Element;
|
|
15
|
+
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit }: Props) => JSX.Element;
|
|
8
16
|
export default InputComponent;
|
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
valueText: string;
|
|
5
5
|
onChangeQuestionAnswer?: (questionId: number, value: string) => void;
|
|
6
6
|
isPageResult?: boolean;
|
|
7
|
+
isPageSessionResult?: boolean;
|
|
7
8
|
}
|
|
8
|
-
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult }: Props) => JSX.Element;
|
|
9
|
+
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult, isPageSessionResult }: Props) => JSX.Element;
|
|
9
10
|
export default TextFieldComponent;
|
|
@@ -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;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
onChangeQuestionAnswer?: Function;
|
|
4
|
+
questionId: number;
|
|
5
|
+
valueText: string;
|
|
6
|
+
minText?: string;
|
|
7
|
+
maxText?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const SingleChoiceComponent: FC<Props>;
|
|
10
|
+
export default SingleChoiceComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleListAboutMyLearning: string[];
|
|
@@ -5,3 +5,16 @@ 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
|
+
onDelete: Function;
|
|
20
|
+
}
|
|
@@ -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,22 @@ 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
|
+
}>>;
|
|
25
|
+
classFontSize: string;
|
|
10
26
|
};
|
|
11
27
|
export default useAboutMyLearning;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleList: string[];
|
|
@@ -4,3 +4,18 @@ 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
|
+
onDelete: Function;
|
|
21
|
+
}
|
|
@@ -1,10 +1,35 @@
|
|
|
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
|
+
}>>;
|
|
25
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<{
|
|
26
|
+
studentId: any;
|
|
27
|
+
type: string;
|
|
28
|
+
}>>;
|
|
29
|
+
filters: {
|
|
30
|
+
studentId: any;
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
classFontSize: string;
|
|
9
34
|
};
|
|
10
35
|
export default useAccommodation;
|
|
@@ -0,0 +1,7 @@
|
|
|
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) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const deleteActionPointApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const useCardItem: (actionPoints: any) => {
|
|
2
|
+
clickOpenEdit: (actionPointId: any, refConduct: any) => Promise<void>;
|
|
3
|
+
actionId: number;
|
|
4
|
+
handleChangeIsDone: (id: any) => Promise<void>;
|
|
5
|
+
data: any;
|
|
6
|
+
classFontSize: string;
|
|
7
|
+
};
|
|
8
|
+
export default useCardItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const updateIsDone: (dispatch: any, id: any) => Promise<void>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useActionPointsDB: () => {
|
|
3
|
+
listData: any;
|
|
4
|
+
openDialog: import("react").MutableRefObject<any>;
|
|
5
|
+
clickOpenModal: () => void;
|
|
6
|
+
onReloading: () => void;
|
|
7
|
+
classFontSize: string;
|
|
8
|
+
};
|
|
9
|
+
export default useActionPointsDB;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useCard: () => {
|
|
3
|
+
actionId: number;
|
|
4
|
+
clickOpenEdit: (actionPointId: any) => Promise<void>;
|
|
5
|
+
handleChangeIsDone: (_id: any, onReloading: Function) => Promise<void>;
|
|
6
|
+
refConduct: import("react").MutableRefObject<any>;
|
|
7
|
+
classFontSize: string;
|
|
8
|
+
};
|
|
9
|
+
export default useCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDataActionPoint: (dispatch: any, filter: any) => Promise<any>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
actionId: number;
|
|
4
|
+
reloadRef: React.MutableRefObject<any>;
|
|
5
|
+
};
|
|
6
|
+
declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
7
|
+
open: any;
|
|
8
|
+
isTeacher: any;
|
|
9
|
+
classList: never[];
|
|
10
|
+
formData: any;
|
|
11
|
+
changeFormData: (updatedForm: any) => void;
|
|
12
|
+
changeTitle: (e: any) => void;
|
|
13
|
+
handleDateChange: (date: any) => void;
|
|
14
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
15
|
+
value: unknown;
|
|
16
|
+
}>) => void;
|
|
17
|
+
handleChangeNotiDuration: (e: React.ChangeEvent<{
|
|
18
|
+
value: unknown;
|
|
19
|
+
}>) => void;
|
|
20
|
+
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
21
|
+
value: unknown;
|
|
22
|
+
}>) => void;
|
|
23
|
+
handleCreate: (cb?: Function | undefined) => Promise<void>;
|
|
24
|
+
handleClickClose: () => void;
|
|
25
|
+
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
26
|
+
submitUpdate: (cb?: Function | undefined) => Promise<void>;
|
|
27
|
+
handleDeleteItem: (cb?: Function | undefined) => Promise<void>;
|
|
28
|
+
handleCloseNoti: () => void;
|
|
29
|
+
setNotiSetting: React.Dispatch<React.SetStateAction<string>>;
|
|
30
|
+
notiSetting: string;
|
|
31
|
+
onSettingNotification: (e: any) => void;
|
|
32
|
+
};
|
|
33
|
+
export default useDialogRequest;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
6
|
+
export declare const deleteActionPoint: (dispatch: any, id: any) => Promise<void>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
isTeacher: any;
|
|
14
|
+
};
|
|
15
|
+
export default useDoneList;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
getActionPointList: () => Promise<void>;
|
|
15
|
+
isTeacher: any;
|
|
16
|
+
classFontSize: string;
|
|
17
|
+
};
|
|
18
|
+
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 | null;
|
|
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,25 @@
|
|
|
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: (cb?: any) => Promise<void>;
|
|
23
|
+
classFontSize: string;
|
|
24
|
+
};
|
|
25
|
+
export default useListDetailActivity;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const getTotalActivityCount: (studentId: number) => 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>>;
|