mario-teacher-student-client 2.1.133-admin → 2.1.135-admin
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/SwitchComponent.d.ts +9 -0
- package/dist/components/Header/CustomHeaderComponent.d.ts +2 -1
- package/dist/components/Tabs/CustomTabNote.d.ts +3 -0
- package/dist/components/selector/CheckboxCustom.d.ts +12 -0
- package/dist/components/selector/CustomFilterComponent.d.ts +13 -3
- package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +17 -0
- package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +21 -0
- package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +1 -0
- package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +8 -0
- package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +2 -0
- package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +3 -0
- package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +12 -0
- package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +21 -0
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +8 -0
- package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +5 -0
- package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +3 -0
- package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +3 -0
- package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{conference.d.ts → Conference.d.ts} +0 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +19 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +6 -0
- package/dist/containers/MySurvey/styles/makeStyles.d.ts +2 -0
- package/dist/containers/MySurvey/views/MySurvey.d.ts +3 -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/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +10 -0
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +23 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +7 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +8 -0
- package/dist/containers/SettingPageV1/contants/contants.d.ts +19 -0
- package/dist/containers/SettingPageV1/contants/type.d.ts +17 -0
- package/dist/containers/Surveys/apiClient/survey.d.ts +2 -0
- package/dist/containers/Surveys/apiClient/surveyService.d.ts +5 -1
- package/dist/containers/Surveys/components/ChartOverview/BarChart.d.ts +9 -0
- package/dist/containers/Surveys/components/ChartOverview/components/AreaChart.d.ts +10 -0
- package/dist/containers/Surveys/components/ChartOverview/components/BarAndAreaChart.d.ts +9 -0
- package/dist/containers/Surveys/components/ChartOverview/components/BarChart.d.ts +11 -0
- package/dist/containers/Surveys/components/ChartOverview/components/ChoiceChartType.d.ts +10 -0
- package/dist/containers/Surveys/components/ChartOverview/components/PieChart.d.ts +8 -0
- package/dist/containers/Surveys/components/ChartOverview/view/ChartViewDashboard.d.ts +19 -0
- package/dist/containers/Surveys/components/Overview.d.ts +3 -0
- package/dist/containers/Surveys/components/StepComponents/TableSelectStudent.d.ts +1 -1
- package/dist/containers/Surveys/components/SurveyDetail.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +3 -0
- package/dist/containers/Surveys/constants/chartOptions.d.ts +6 -0
- package/dist/containers/Surveys/constants/constant.d.ts +13 -0
- package/dist/containers/Surveys/constants/overviewFn.d.ts +17 -0
- package/dist/containers/Surveys/constants/types.d.ts +37 -1
- package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +9 -0
- package/dist/containers/Surveys/hook/useAllSurvey.d.ts +10 -0
- package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +1 -0
- package/dist/containers/Surveys/hook/useListFavoriteSurvey.d.ts +1 -1
- package/dist/containers/Surveys/hook/useOverviewSurvey.d.ts +20 -0
- package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +10 -0
- package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +9 -0
- package/dist/containers/Surveys/hook/useSelectStudent.d.ts +2 -1
- package/dist/containers/Surveys/views/SurveyOverview.d.ts +3 -0
- package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +3 -0
- package/dist/hooks/useContainerDimensions.d.ts +4 -0
- package/dist/hooks/useUploadFile.d.ts +4 -0
- package/dist/index.js +27 -29
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +27 -29
- package/dist/index.modern.js.map +1 -1
- package/dist/services/File.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ interface headerProps {
|
|
|
11
11
|
isDisableButton?: boolean;
|
|
12
12
|
isPreviewSurvey?: boolean;
|
|
13
13
|
onHandleGoBack?: Function;
|
|
14
|
+
borderNone?: boolean;
|
|
14
15
|
}
|
|
15
|
-
declare const CustomHeaderComponent: ({ title, contentButton, iconButton, isGoback, isGreyBackground, status, handleChangePage, isDisableButton, isPreviewSurvey, handlePreview, onHandleGoBack }: headerProps) => JSX.Element;
|
|
16
|
+
declare const CustomHeaderComponent: ({ title, contentButton, iconButton, isGoback, isGreyBackground, status, handleChangePage, isDisableButton, isPreviewSurvey, handlePreview, onHandleGoBack, borderNone }: headerProps) => JSX.Element;
|
|
16
17
|
export default CustomHeaderComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
background?: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
props?: any;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const CheckboxCustom: FC<IProps>;
|
|
12
|
+
export default CheckboxCustom;
|
|
@@ -3,17 +3,27 @@ interface FILTER {
|
|
|
3
3
|
startDate?: number | null;
|
|
4
4
|
endDate?: number | null;
|
|
5
5
|
isFavorite?: boolean;
|
|
6
|
+
studentId?: number;
|
|
7
|
+
}
|
|
8
|
+
interface STUDENT {
|
|
9
|
+
email: string;
|
|
10
|
+
gradeLevel: string;
|
|
11
|
+
id: number;
|
|
12
|
+
studentName: string;
|
|
13
|
+
actionScore: number;
|
|
6
14
|
}
|
|
7
15
|
interface PROPS_FILTER {
|
|
8
16
|
filters?: FILTER;
|
|
9
17
|
handleChangeStartDate?: Function;
|
|
10
18
|
handleChangeEndDate?: Function;
|
|
11
|
-
handleChangeInputSearch
|
|
12
|
-
inputSearch
|
|
19
|
+
handleChangeInputSearch?: Function;
|
|
20
|
+
inputSearch?: any;
|
|
13
21
|
isShowSelectRight?: boolean;
|
|
14
22
|
handleChangeStatus?: Function;
|
|
15
23
|
placeholderSearch?: string;
|
|
16
24
|
handleSelectFavorite?: Function;
|
|
25
|
+
studentList?: STUDENT[];
|
|
26
|
+
onSelectStudent?: Function;
|
|
17
27
|
}
|
|
18
|
-
declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch, handleSelectFavorite }: PROPS_FILTER) => JSX.Element;
|
|
28
|
+
declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch, handleSelectFavorite, studentList, onSelectStudent }: PROPS_FILTER) => JSX.Element;
|
|
19
29
|
export default CustomFilterComponent;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
name: string;
|
|
4
|
+
imageUrl: string;
|
|
5
|
+
isResultSession?: boolean;
|
|
6
|
+
lengthSession?: string;
|
|
7
|
+
startTime?: string;
|
|
8
|
+
createdByTeacher?: boolean;
|
|
9
|
+
gradeLevel?: string;
|
|
10
|
+
informationUser?: any;
|
|
11
|
+
clickOpenProfileDialog?: any;
|
|
12
|
+
isConference?: boolean;
|
|
13
|
+
sessionType?: string;
|
|
14
|
+
classFontSize?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const ConductTop: FC<Props>;
|
|
17
|
+
export default ConductTop;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useConductOne: () => {
|
|
3
|
+
currentUser: any;
|
|
4
|
+
isTeacher: any;
|
|
5
|
+
isStudent: any;
|
|
6
|
+
listQuestionTeachers: any;
|
|
7
|
+
listQuestionStudents: any;
|
|
8
|
+
updateQuestionAnswer: (questionId: number, text: string) => void;
|
|
9
|
+
fnfinishSession: (cb: any) => Promise<void>;
|
|
10
|
+
surveyId: string;
|
|
11
|
+
surveyResultId: number;
|
|
12
|
+
startTime: string;
|
|
13
|
+
informationUser: any;
|
|
14
|
+
category: string;
|
|
15
|
+
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
16
|
+
classFontSize: string;
|
|
17
|
+
isStudentChangeAfter: boolean;
|
|
18
|
+
isUserChangeSession: boolean;
|
|
19
|
+
setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
20
|
+
};
|
|
21
|
+
export default useConductOne;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TypeTime } from "../constant/types";
|
|
2
|
+
declare const useCountDown: (typeTime: TypeTime, sessionResultId: number, isUserChangeSession: boolean, isTeacherSessionDone: boolean) => {
|
|
3
|
+
hour: number;
|
|
4
|
+
minute: number;
|
|
5
|
+
second: number;
|
|
6
|
+
clearTimer: () => void;
|
|
7
|
+
};
|
|
8
|
+
export default useCountDown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { LearningStrategyType } from "../constant/types";
|
|
3
|
+
interface Props {
|
|
4
|
+
listLearningStrategory: LearningStrategyType[];
|
|
5
|
+
questionId?: number;
|
|
6
|
+
onChangeQuestionAnswer?: Function;
|
|
7
|
+
valueText?: string;
|
|
8
|
+
isResultPage?: boolean;
|
|
9
|
+
isUserChangeConference?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const IBLearnerComponent: FC<Props>;
|
|
12
|
+
export default IBLearnerComponent;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useConductSurvey: () => {
|
|
3
|
+
listQuestionTeachers: any;
|
|
4
|
+
listQuestionStudents: any;
|
|
5
|
+
updateQuestionAnswer: (questionId: number, text: string, isAdditional?: boolean | undefined) => void;
|
|
6
|
+
fnfinishSurvey: (cb: any) => Promise<void>;
|
|
7
|
+
informationUser: any;
|
|
8
|
+
category: string;
|
|
9
|
+
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
10
|
+
classFontSize: string;
|
|
11
|
+
isStudentChangeAfter: boolean;
|
|
12
|
+
isUserChangeSession: boolean;
|
|
13
|
+
setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
14
|
+
listAdditionalQuestionAnswer: any;
|
|
15
|
+
questionSummarize: any;
|
|
16
|
+
setQuestionSummarize: import("react").Dispatch<any>;
|
|
17
|
+
updateAnswerIBLearner: (_answer: string) => Promise<void>;
|
|
18
|
+
questionIBLearner: string;
|
|
19
|
+
setQuestionIBLearner: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
20
|
+
};
|
|
21
|
+
export default useConductSurvey;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IMutipleSelectBox {
|
|
3
|
+
label: string;
|
|
4
|
+
options: string[];
|
|
5
|
+
SelectedChange: (selected: string[]) => void;
|
|
6
|
+
}
|
|
7
|
+
declare function MutipleSelectBox({ label, options, SelectedChange }: IMutipleSelectBox): JSX.Element;
|
|
8
|
+
export default MutipleSelectBox;
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
|
+
declare const useChartConference: () => {
|
|
4
|
+
topLearningStrategiesData: any;
|
|
5
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<{
|
|
6
|
+
studentId: number;
|
|
7
|
+
startDate: number;
|
|
8
|
+
endDate: number;
|
|
9
|
+
type: string;
|
|
10
|
+
}>>;
|
|
11
|
+
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
+
handleClose: () => void;
|
|
13
|
+
anchorEl: any;
|
|
14
|
+
handleChangeStartDate: (datepicker: MaterialUiPickersDate | null) => void;
|
|
15
|
+
handleChangeEndDate: (datepicker: MaterialUiPickersDate | null) => void;
|
|
16
|
+
timeEnd: Date;
|
|
17
|
+
timeStart: Date;
|
|
18
|
+
};
|
|
19
|
+
export default useChartConference;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getConferenceChart: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
onChangeSetData: Function;
|
|
4
|
+
valueNoteAdd: string;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenFour: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenFour;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
onChangeSetData: Function;
|
|
4
|
+
valueNoteAdd: string;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenOne: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenOne;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
clickSelect: Function;
|
|
4
|
+
arraySelect: any;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenThree: ({ clickSelect, arraySelect, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenThree;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
onChangeSetData: Function;
|
|
4
|
+
valueNoteAdd: string;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenTwo: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenTwo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
id: number;
|
|
4
|
+
content?: string;
|
|
5
|
+
date?: string;
|
|
6
|
+
onRemoveNote: Function;
|
|
7
|
+
onUpdateNote: Function;
|
|
8
|
+
}
|
|
9
|
+
declare const ScaffoldingQuestionAndAnswer: ({ id, content, date, onRemoveNote, onUpdateNote, }: Props) => JSX.Element;
|
|
10
|
+
export default ScaffoldingQuestionAndAnswer;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare type Filter = {
|
|
2
|
+
category?: string;
|
|
3
|
+
level?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const useTeacherNotes: (sessionId: number, sessionResultId: number) => {
|
|
6
|
+
screenIndex: number;
|
|
7
|
+
changeScreen: (index: number) => void;
|
|
8
|
+
questionList: never[];
|
|
9
|
+
categoryList: never[];
|
|
10
|
+
levelList: never[];
|
|
11
|
+
randomQuestion: never[];
|
|
12
|
+
note: string;
|
|
13
|
+
handleChangeNote: (e?: any) => void;
|
|
14
|
+
handleSelectQuestion: (question: any) => Promise<void>;
|
|
15
|
+
changeFilters: (updateFilters: any) => void;
|
|
16
|
+
filters: Filter;
|
|
17
|
+
teacherNotesData: never[];
|
|
18
|
+
handleSelectSuggester: (question: any) => Promise<void>;
|
|
19
|
+
handleRemoveQuestion: (noteId: number) => Promise<void>;
|
|
20
|
+
handleSubmitNote: (noteId: number, answer: string) => Promise<void>;
|
|
21
|
+
handleRemoveQuestionAnswer: (noteId: number) => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
export default useTeacherNotes;
|
package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare type Filter = {
|
|
2
|
+
category?: string;
|
|
3
|
+
level?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const getAllSelectQuestion: (dispatch: any, filters: Filter) => Promise<any>;
|
|
6
|
+
export declare const getListCategories: (dispatch: any) => Promise<any>;
|
|
7
|
+
export declare const getListLevel: (dispatch: any) => Promise<any>;
|
|
8
|
+
export declare const getAllNote: (dispatch: any, sessionId: number) => Promise<any>;
|
|
9
|
+
export declare const submitNote: (dispatch: any, sessionId: number, text: string) => Promise<any>;
|
|
10
|
+
export declare const updateNote: (dispatch: any, sessionNoteId: number, text: string) => Promise<any>;
|
|
11
|
+
export declare const removeNote: (dispatch: any, noteId: number) => Promise<any>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
changeScreen: Function;
|
|
4
|
+
onPressSuggester: Function;
|
|
5
|
+
onUpdateNote: Function;
|
|
6
|
+
randomQuestion: any[];
|
|
7
|
+
teacherNotesData: any[];
|
|
8
|
+
onRemoveQuestion: Function;
|
|
9
|
+
onRemoveQuestionAnswer: Function;
|
|
10
|
+
};
|
|
11
|
+
declare const ScaffoldingFirstScreen: (props: PropsType) => JSX.Element;
|
|
12
|
+
export default ScaffoldingFirstScreen;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
id: number;
|
|
4
|
+
content?: string;
|
|
5
|
+
answer?: string;
|
|
6
|
+
date?: string;
|
|
7
|
+
onRemoveQuestion: Function;
|
|
8
|
+
onRemoveQuestionAnswer: Function;
|
|
9
|
+
onUpdateNote: Function;
|
|
10
|
+
}
|
|
11
|
+
declare const ScaffoldingQuestionAndAnswer: ({ id, content, answer, date, onRemoveQuestion, onUpdateNote, onRemoveQuestionAnswer }: Props) => JSX.Element;
|
|
12
|
+
export default ScaffoldingQuestionAndAnswer;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const defaultFontSmall = 12;
|
|
2
|
+
export declare const defaultFontLarge = 20;
|
|
3
|
+
export declare const initialSetting: {
|
|
4
|
+
actionPointSchedule: boolean;
|
|
5
|
+
completeClassReflection: boolean;
|
|
6
|
+
completeConference: boolean;
|
|
7
|
+
completeOneToOne: boolean;
|
|
8
|
+
emailActionPointSchedule: boolean;
|
|
9
|
+
emailCompleteClassReflection: boolean;
|
|
10
|
+
emailCompleteConference: boolean;
|
|
11
|
+
emailCompleteOneToOne: boolean;
|
|
12
|
+
emailScheduleConference: boolean;
|
|
13
|
+
emailScheduleOneToOne: boolean;
|
|
14
|
+
isTurnOnAllEmail: boolean;
|
|
15
|
+
isTurnOnAllNotification: boolean;
|
|
16
|
+
scheduleConference: boolean;
|
|
17
|
+
scheduleOneToOne: boolean;
|
|
18
|
+
id: number;
|
|
19
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ISetting {
|
|
2
|
+
actionPointSchedule: boolean;
|
|
3
|
+
completeClassReflection: boolean;
|
|
4
|
+
completeConference: boolean;
|
|
5
|
+
completeOneToOne: boolean;
|
|
6
|
+
emailActionPointSchedule: boolean;
|
|
7
|
+
emailCompleteClassReflection: boolean;
|
|
8
|
+
emailCompleteConference: boolean;
|
|
9
|
+
emailCompleteOneToOne: boolean;
|
|
10
|
+
emailScheduleConference: boolean;
|
|
11
|
+
emailScheduleOneToOne: boolean;
|
|
12
|
+
isTurnOnAllEmail: boolean;
|
|
13
|
+
isTurnOnAllNotification: boolean;
|
|
14
|
+
scheduleConference: boolean;
|
|
15
|
+
scheduleOneToOne: boolean;
|
|
16
|
+
id: number;
|
|
17
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { FILTER_OVERVIEW_SURVEY } from "../constants/types";
|
|
2
|
+
export declare const getStudentList: (filter?: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
3
|
export declare const getTemplateSurvey: () => Promise<import("axios").AxiosResponse<any>>;
|
|
3
4
|
export declare const createSurvey: (model: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
5
|
export declare const getAllSurvey: (params: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -13,3 +14,6 @@ export declare const shareSurvey: (data: any) => void;
|
|
|
13
14
|
export declare const updateSurvey: (surveyId: number, model: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
14
15
|
export declare const getListExternal: (surveyId: number, params: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
15
16
|
export declare const getSurveyDetail: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
17
|
+
export declare const getDashboardTotalSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
18
|
+
export declare const getDashboardFlagSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
19
|
+
export declare const getDashboardTemplateSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { ISeries } from "../../../constants/types";
|
|
3
|
+
interface IProps {
|
|
4
|
+
months: string[];
|
|
5
|
+
activeColumn: boolean[];
|
|
6
|
+
series: ISeries[];
|
|
7
|
+
percentData: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const AreaChart: FC<IProps>;
|
|
10
|
+
export default AreaChart;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { ISeries } from "../../../constants/types";
|
|
3
|
+
interface IProps {
|
|
4
|
+
months: string[];
|
|
5
|
+
activeColumn: boolean[];
|
|
6
|
+
series: ISeries[];
|
|
7
|
+
isShowChartLabel: boolean;
|
|
8
|
+
percentData: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const BarChart: FC<IProps>;
|
|
11
|
+
export default BarChart;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TYPECHART } from "../../../constants/constant";
|
|
3
|
+
import { IChartOptions } from "../../../constants/types";
|
|
4
|
+
interface IChoiceChartType {
|
|
5
|
+
onChangeChart: Function;
|
|
6
|
+
typeChart?: TYPECHART[];
|
|
7
|
+
options: IChartOptions[];
|
|
8
|
+
}
|
|
9
|
+
declare const ChoiceChartType: ({ onChangeChart, typeChart, options }: IChoiceChartType) => JSX.Element;
|
|
10
|
+
export default ChoiceChartType;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { IChartOptions, ISeries } from "../../../constants/types";
|
|
3
|
+
import { TYPECHART } from "../../../constants/constant";
|
|
4
|
+
export interface IProps {
|
|
5
|
+
data: any;
|
|
6
|
+
typeChart: TYPECHART[];
|
|
7
|
+
onActiveColumn?: Function;
|
|
8
|
+
activeColumn: boolean[];
|
|
9
|
+
series: ISeries[];
|
|
10
|
+
avg?: number[];
|
|
11
|
+
months: any;
|
|
12
|
+
onChangeChart?: Function;
|
|
13
|
+
optionType?: IChartOptions[];
|
|
14
|
+
name: string;
|
|
15
|
+
isShowChartLabel?: boolean;
|
|
16
|
+
percentData?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const ChartViewDashboard: FC<IProps>;
|
|
19
|
+
export default ChartViewDashboard;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TABLE_SELECT_STUDENT_PROPS } from "../../constants/types";
|
|
3
|
-
declare const TableSelectStudent: ({ filters, handleChangeGrade, handleChangeInputSearch, inputSearch, dataFormCreateSurvey, students, resizeWidthTable, handleSelectStudent }: TABLE_SELECT_STUDENT_PROPS) => JSX.Element;
|
|
3
|
+
declare const TableSelectStudent: ({ filters, handleChangeGrade, handleChangeInputSearch, inputSearch, dataFormCreateSurvey, students, resizeWidthTable, handleSelectStudent, valueInputSearch }: TABLE_SELECT_STUDENT_PROPS) => JSX.Element;
|
|
4
4
|
export default TableSelectStudent;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ApexOptions } from "apexcharts";
|
|
2
|
+
import { ISeries } from "./types";
|
|
3
|
+
export declare const maxSeries: (series: ISeries[]) => number;
|
|
4
|
+
export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, isShowChartLabel?: boolean | undefined, percentData?: boolean | undefined, series?: ISeries[] | undefined) => ApexOptions;
|
|
5
|
+
export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any) => ApexOptions;
|
|
6
|
+
export declare const pieChartOptions: ApexOptions;
|