mario-teacher-student-client 2.2.16-beta → 2.2.18-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Header/CustomHeaderComponent.d.ts +2 -1
- package/dist/components/layouts/HeaderSideBar.d.ts +1 -5
- package/dist/components/layouts/LanguageDropdown.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/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -3
- package/dist/containers/ConductOneToOne/constant/constant.d.ts +4 -0
- package/dist/containers/Goals/components/GoalProgress.d.ts +1 -0
- package/dist/containers/Home/constants/constants.d.ts +1 -0
- package/dist/containers/MyConferences/constants/types.d.ts +1 -0
- package/dist/containers/MyConferences/hooks/useUpComing.d.ts +6 -0
- package/dist/containers/MyOneToOne/constants/types.d.ts +1 -0
- package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +6 -0
- package/dist/containers/MyStudent/components/ChartOverview.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/classReflection.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/learningProgress.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/oneToOneApi.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/configs/constants.d.ts +2 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartOneToOne.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useConference.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useRedinessToLearn.d.ts +3 -7
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/ClassReflection.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/Conference.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/LearningProgress.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/OneToOneServices.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/services/TopRedinessToLean.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/BubbleChartCustom.d.ts +1 -5
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ColumnChartAndPercent.d.ts +1 -4
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/TopLearningStrategy.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useLearningStrategies.d.ts +1 -3
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +2 -6
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +1 -1
- package/dist/containers/MyStudent/constants/constantsLearning.d.ts +1 -0
- package/dist/containers/MyStudent/constants/types.d.ts +3 -0
- package/dist/containers/MyStudent/hooks/useOverview.d.ts +5 -28
- package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +6 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +6 -0
- package/dist/containers/PLP/hooks/usePlpPage.d.ts +7 -26
- package/dist/containers/Surveys/apiClient/surveyService.d.ts +5 -1
- package/dist/containers/Surveys/components/ChartOverview/components/AreaChart.d.ts +9 -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/constants/chartOptions.d.ts +4 -0
- package/dist/containers/Surveys/constants/constant.d.ts +10 -0
- package/dist/containers/Surveys/constants/overviewFn.d.ts +17 -0
- package/dist/containers/Surveys/constants/types.d.ts +35 -1
- package/dist/containers/Surveys/hook/useOverviewSurvey.d.ts +20 -0
- package/dist/containers/Surveys/views/SurveyOverview.d.ts +3 -0
- package/dist/index.css +540 -311
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4812 -3086
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4862 -3137
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyConferences.d.ts +1 -0
- package/dist/services/MyStudent.d.ts +5 -1
- package/dist/services/OneToOne.d.ts +1 -0
- package/package.json +2 -2
- package/dist/components/Tabs/CustomTabNote.d.ts +0 -3
- package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +0 -17
- package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +0 -21
- package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +0 -8
- package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +0 -2
- package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +0 -3
- package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +0 -12
- package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +0 -21
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +0 -8
- package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +0 -5
- package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +0 -3
- package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +0 -3
- package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +0 -3
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/Conference.d.ts +0 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +0 -19
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +0 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +0 -6
- package/dist/containers/MySurvey/styles/makeStyles.d.ts +0 -2
- package/dist/containers/MySurvey/views/MySurvey.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +0 -2
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +0 -10
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +0 -2
- package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +0 -23
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +0 -7
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +0 -8
- package/dist/containers/Surveys/apiClient/survey.d.ts +0 -2
- package/dist/containers/Surveys/components/SurveyDetail.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +0 -3
- package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +0 -9
- package/dist/containers/Surveys/hook/useAllSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +0 -9
- package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +0 -3
- package/dist/hooks/useUploadFile.d.ts +0 -4
- package/dist/services/File.d.ts +0 -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;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
name: string;
|
|
4
|
-
icon: JSX.Element;
|
|
5
|
-
}[];
|
|
6
|
-
declare const HeaderSideBar: ({ children, navigations }: any) => JSX.Element;
|
|
2
|
+
declare const HeaderSideBar: ({ children, navigations, onToggleModel }: any) => JSX.Element;
|
|
7
3
|
export default HeaderSideBar;
|
|
@@ -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;
|
|
@@ -22,11 +22,11 @@ declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
|
22
22
|
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
23
23
|
value: unknown;
|
|
24
24
|
}>) => void;
|
|
25
|
-
handleCreate: (cb?: Function | undefined) => Promise<void>;
|
|
25
|
+
handleCreate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
26
26
|
handleClickClose: () => void;
|
|
27
27
|
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
28
|
-
submitUpdate: (cb?: Function | undefined) => Promise<void>;
|
|
29
|
-
handleDeleteItem: (cb?: Function | undefined) => Promise<void>;
|
|
28
|
+
submitUpdate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
29
|
+
handleDeleteItem: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
30
30
|
handleCloseNoti: () => void;
|
|
31
31
|
setNotiSetting: React.Dispatch<React.SetStateAction<string>>;
|
|
32
32
|
notiSetting: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const daily_motivation: string[];
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FILTER_SESSION } from "../constants/types";
|
|
3
3
|
declare const useUpComing: () => {
|
|
4
|
+
isConferenceStarted: boolean;
|
|
5
|
+
handleDeleteConference: (conferenceId: number) => Promise<void>;
|
|
6
|
+
handleCloseModalConfirmDelete: () => void;
|
|
7
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
8
|
+
selectedConferenceId: number;
|
|
9
|
+
openModalConfirmDelete: boolean;
|
|
4
10
|
studentData: any;
|
|
5
11
|
sessionData: any;
|
|
6
12
|
teacherNoteData: any;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FILTER_SESSION } from "../constants/types";
|
|
3
3
|
declare const useUpComing: () => {
|
|
4
|
+
isSessionStarted: boolean;
|
|
5
|
+
handleDeleteSession: (sessionId: number) => Promise<void>;
|
|
6
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
7
|
+
handleCloseModalConfirmDelete: () => void;
|
|
8
|
+
selectedSessionId: number;
|
|
9
|
+
openModalConfirmDelete: boolean;
|
|
4
10
|
sessionData: any;
|
|
5
11
|
teacherNoteData: any;
|
|
6
12
|
studentNoteData: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const ChartOverview: ({ isPlp, dataReadinessOfChart, seriesOneToOne,
|
|
2
|
+
declare const ChartOverview: ({ isPlp, dataReadinessOfChart, seriesOneToOne, seriesConference, topLearningStrategiesData, handleActiveColumnOneToOne, activeColumnOneToOne, avgOneToOne, monthsOneToOne, dataConvertedOneToOne, onChangeChart, typeChartList, dataConvertedClassReflection, monthsClassReflection, avgClassReflection, seriesClassRefection, activeColumnClassReflection, handleActiveColumnClassReflection, onChangeTypeChartReflection, typeChartReflection, dataConvertedConference, avgConference, monthsConference, activeColumnConference, handleActiveColumnConference, onChangeTypeConference, typeChartConference, seriesLearningProgress, onChangeTypeLearningProgress, dataConvertedLearningProgress, typeChartLearningProgress, monthsLearningProgress, filtersLearningStrategiesData, learningStrategiesData, changeFiltersLearningStrategiesData, getLearningStrategiesData, handleChangeStartTopLearning, handleChangeEndTopLearning, timeStartTopLearning, timeEndTopLearning }: any) => JSX.Element;
|
|
3
3
|
export default ChartOverview;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/classReflection.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getClassReflectionApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getClassReflectionApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getConferenceApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/learningProgress.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLearningProgressApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getLearningProgressApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getOneToOneApi: (idStudent: any, timeSearch: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getOneToOneApi: (idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/redinessToLearnApi.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataRedinessToLeanApi: (studentId: any, timeStartReadiness: number, timeEndReadiness: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getDataRedinessToLeanApi: (studentId: any, timeStartReadiness: number, timeEndReadiness: number, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
handleChangeEndDateClassReflection: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
timeEndClassReflection: any;
|
|
7
|
-
timeStartClassReflection: any;
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useChartClassReflection: (studentId: any, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
8
4
|
anchorEl: any;
|
|
9
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
6
|
handleClose: () => void;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useChartOneToOne: (studentId: number, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
4
4
|
chartOneToOneData: IColumnChartAndPercent;
|
|
5
|
-
handleChangeStartDate: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
handleChangeEndDate: (datepicker: MaterialUiPickersDate) => void;
|
|
7
|
-
timeEnd: any;
|
|
8
|
-
timeStart: any;
|
|
9
5
|
anchorEl: any;
|
|
10
6
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
7
|
handleClose: () => void;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { IColumnChartAndPercent, ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
handleChangeEndDateConference: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
timeEndConference: any;
|
|
7
|
-
timeStartConference: any;
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useChartConference: (studentId: any, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
8
4
|
anchorEl: any;
|
|
9
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
6
|
handleClose: () => void;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
1
|
import { ISeries, TYPECHART } from "../types/types";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
handleChangeEndLearningProgress: (datepicker: MaterialUiPickersDate) => void;
|
|
6
|
-
timeEndLearningProgress: any;
|
|
7
|
-
timeStartLearningProgress: any;
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useLearningProgress: (studentId: any, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
8
4
|
anchorEl: any;
|
|
9
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
6
|
handleClose: () => void;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { IReadinessToLearning } from "../types/types";
|
|
2
|
-
import {
|
|
3
|
-
declare const useRedinessToLearn: (studentId: number) => {
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
3
|
+
declare const useRedinessToLearn: (studentId: number, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
4
4
|
anchorElReadinessToLearn: any;
|
|
5
5
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
6
|
handleClose: () => void;
|
|
7
|
-
setChartData: (timeStartReadiness: number, timeEndReadiness: number) => Promise<void>;
|
|
7
|
+
setChartData: (timeStartReadiness: number, timeEndReadiness: number, gradeFilter: string[]) => Promise<void>;
|
|
8
8
|
dataReadinessOfChart: IReadinessToLearning[];
|
|
9
|
-
handleChangeStartReadiness: (datepicker: MaterialUiPickersDate) => void;
|
|
10
|
-
handleChangeEndReadiness: (datepicker: MaterialUiPickersDate) => void;
|
|
11
|
-
timeEndReadiness: number;
|
|
12
|
-
timeStartReadiness: number;
|
|
13
9
|
};
|
|
14
10
|
export default useRedinessToLearn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataClassReflectionServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataClassReflectionServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataConferenceServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataConferenceServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/services/LearningProgress.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataLearningProgressServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataLearningProgressServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/services/OneToOneServices.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataOneToOneServices: (dispatch: any, idStudent: any, timeSearch: any) => Promise<any>;
|
|
1
|
+
export declare const getDataOneToOneServices: (dispatch: any, idStudent: any, timeSearch: any, gradeFilter: string[]) => Promise<any>;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/services/TopRedinessToLean.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataRedinessToLean: (dispatch: any, id: any, timeStartReadiness: number, timeEndReadiness: number) => Promise<any>;
|
|
1
|
+
export declare const getDataRedinessToLean: (dispatch: any, id: any, timeStartReadiness: number, timeEndReadiness: number, gradeFilter: string[]) => Promise<any>;
|
|
@@ -2,11 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { IReadinessToLearning } from "../types/types";
|
|
3
3
|
interface IProps {
|
|
4
4
|
data: IReadinessToLearning[];
|
|
5
|
-
timeStart?: number;
|
|
6
|
-
timeEnd?: number;
|
|
7
|
-
handleChangeStartDate?: Function;
|
|
8
|
-
handleChangeEndDate?: Function;
|
|
9
5
|
isPlp?: boolean;
|
|
10
6
|
}
|
|
11
|
-
declare const _default: React.MemoExoticComponent<({ data,
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ data, isPlp }: IProps) => JSX.Element>;
|
|
12
8
|
export default _default;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/view/ColumnChartAndPercent.d.ts
CHANGED
|
@@ -14,10 +14,7 @@ export interface IProps {
|
|
|
14
14
|
optionType: IChartOptions[];
|
|
15
15
|
name: string;
|
|
16
16
|
isHiddenLabel?: boolean;
|
|
17
|
-
|
|
18
|
-
timeEnd?: string;
|
|
19
|
-
handleChangeStartDate?: Function;
|
|
20
|
-
handleChangeEndDate?: Function;
|
|
17
|
+
isClassReflectionChart?: boolean;
|
|
21
18
|
}
|
|
22
19
|
declare const ColumnChartAndPercent: FC<IProps>;
|
|
23
20
|
export default ColumnChartAndPercent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ITopLearningStrategy } from "../types/types";
|
|
3
|
-
declare const TopLearningStrategy: ({ learningStrategies, isPlp, filtersLearningStrategiesData, learningStrategiesData, getLearningStrategiesData, changeFiltersLearningStrategiesData
|
|
3
|
+
declare const TopLearningStrategy: ({ learningStrategies, isPlp, filtersLearningStrategiesData, learningStrategiesData, getLearningStrategiesData, changeFiltersLearningStrategiesData }: ITopLearningStrategy) => JSX.Element;
|
|
4
4
|
export default TopLearningStrategy;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
declare const useLearningStrategies: (studentId: any) => {
|
|
1
|
+
declare const useLearningStrategies: (studentId: any, filterDateChart: any) => {
|
|
2
2
|
filtersLearningStrategiesData: {
|
|
3
3
|
searchString: string;
|
|
4
4
|
currentPage: number;
|
|
5
5
|
pageSize: number;
|
|
6
6
|
sortBy: string;
|
|
7
7
|
sortOrder: string;
|
|
8
|
-
startDate: null;
|
|
9
|
-
endDate: null;
|
|
10
8
|
};
|
|
11
9
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
12
10
|
learningStrategiesData: any;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ILearningStrategies } from "../../Chat/types/types";
|
|
3
|
-
import {
|
|
4
|
-
declare const useTopLearningStrategies: (studentId: number) => {
|
|
3
|
+
import { FILTER_STUDENT_WELLBEING } from "../../../../constants/types";
|
|
4
|
+
declare const useTopLearningStrategies: (studentId: number, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined) => {
|
|
5
5
|
topLearningStrategiesData: ILearningStrategies;
|
|
6
6
|
topLearningStrategy: any;
|
|
7
7
|
labelName: any;
|
|
8
8
|
usageCountList: import("react").MutableRefObject<number[]>;
|
|
9
|
-
handleChangeStartTopLearning: (datepicker: MaterialUiPickersDate) => void;
|
|
10
|
-
handleChangeEndTopLearning: (datepicker: MaterialUiPickersDate) => void;
|
|
11
|
-
timeStartTopLearning: number;
|
|
12
|
-
timeEndTopLearning: number;
|
|
13
9
|
};
|
|
14
10
|
export default useTopLearningStrategies;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const getTopLearningStrategiesApi: (studentId: number, timeStartTopLearning: number, timeEndTopLearning: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
1
|
+
export declare const getTopLearningStrategiesApi: (studentId: number, timeStartTopLearning: number, timeEndTopLearning: number, gradeFilter: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
2
|
export declare const getAllListLearningStrategiesApi: (studentId: number, filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -13,6 +13,7 @@ export interface FILTER_STUDENT_SESSION {
|
|
|
13
13
|
currentId?: number;
|
|
14
14
|
showAssistant?: boolean;
|
|
15
15
|
onlyShowWorkAsAssistant?: boolean;
|
|
16
|
+
grade?: string[];
|
|
16
17
|
}
|
|
17
18
|
export interface FILTER_SESSION {
|
|
18
19
|
currentPage: number;
|
|
@@ -46,6 +47,8 @@ export interface SESSION_TYPE {
|
|
|
46
47
|
sortOrder?: string;
|
|
47
48
|
teacherResultId?: number;
|
|
48
49
|
isWorkAsAssistant?: boolean;
|
|
50
|
+
isEditSession?: boolean;
|
|
51
|
+
isEditConference?: boolean;
|
|
49
52
|
}
|
|
50
53
|
export interface STUDENT_PROFILE {
|
|
51
54
|
id: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FILTER_STUDENT_WELLBEING } from "../constants/types";
|
|
3
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
4
|
declare const useOverview: (studentId: number) => {
|
|
5
|
+
isAdmin: any;
|
|
4
6
|
partnerData: any;
|
|
5
7
|
informationDashboard: any;
|
|
6
|
-
filters: FILTER_STUDENT_WELLBEING;
|
|
7
|
-
changeFilters: (updatedFilters: any) => void;
|
|
8
8
|
informationWellbeing: any;
|
|
9
9
|
getInformationWellbeing: (type: number, startDate?: any, endDate?: any) => Promise<void>;
|
|
10
10
|
classFontSize: string;
|
|
@@ -13,24 +13,8 @@ declare const useOverview: (studentId: number) => {
|
|
|
13
13
|
handleClose: () => void;
|
|
14
14
|
dataReadinessOfChart: import("../components/NewOverview/Chat/types/types").IReadinessToLearning[];
|
|
15
15
|
chartOneToOneData: import("../components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
16
|
-
handleChangeStartDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
17
|
-
handleChangeEndDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
18
|
-
timeEnd: any;
|
|
19
|
-
timeStart: any;
|
|
20
|
-
handleChangeStartDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
21
|
-
handleChangeEndDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
22
|
-
timeEndClassReflection: any;
|
|
23
|
-
timeStartClassReflection: any;
|
|
24
16
|
seriesConference: import("../components/NewOverview/Chat/types/types").ISeries[];
|
|
25
|
-
handleChangeStartDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
26
|
-
handleChangeEndDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
27
|
-
timeEndConference: any;
|
|
28
|
-
timeStartConference: any;
|
|
29
17
|
seriesLearningProgress: import("../components/NewOverview/Chat/types/types").ISeries[];
|
|
30
|
-
handleChangeStartLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
31
|
-
handleChangeEndLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
32
|
-
timeEndLearningProgress: any;
|
|
33
|
-
timeStartLearningProgress: any;
|
|
34
18
|
topLearningStrategiesData: import("../components/NewOverview/Chat/types/types").ILearningStrategies;
|
|
35
19
|
topLearningStrategy: any;
|
|
36
20
|
labelName: any;
|
|
@@ -42,8 +26,6 @@ declare const useOverview: (studentId: number) => {
|
|
|
42
26
|
pageSize: number;
|
|
43
27
|
sortBy: string;
|
|
44
28
|
sortOrder: string;
|
|
45
|
-
startDate: null;
|
|
46
|
-
endDate: null;
|
|
47
29
|
};
|
|
48
30
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
49
31
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
@@ -75,14 +57,9 @@ declare const useOverview: (studentId: number) => {
|
|
|
75
57
|
dataConvertedLearningProgress: string[];
|
|
76
58
|
typeChartLearningProgress: import("../components/NewOverview/Chat/types/types").TYPECHART[];
|
|
77
59
|
monthsLearningProgress: string[];
|
|
78
|
-
handleChangeStartTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
79
|
-
handleChangeEndTopLearning: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
80
|
-
timeStartTopLearning: number;
|
|
81
|
-
timeEndTopLearning: number;
|
|
82
|
-
handleChangeStartReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
83
|
-
handleChangeEndReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
84
|
-
timeEndReadiness: number;
|
|
85
|
-
timeStartReadiness: number;
|
|
86
60
|
chartConference: import("../components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
61
|
+
handleChangeEndDateChart: (date: MaterialUiPickersDate) => void;
|
|
62
|
+
handleChangeStartDateChart: (date: MaterialUiPickersDate) => void;
|
|
63
|
+
filterDateChart: FILTER_STUDENT_WELLBEING;
|
|
87
64
|
};
|
|
88
65
|
export default useOverview;
|
|
@@ -8,6 +8,12 @@ interface FILTER_SESSION {
|
|
|
8
8
|
endDate?: number;
|
|
9
9
|
}
|
|
10
10
|
declare const useStudentConference: () => {
|
|
11
|
+
isConferenceStarted: boolean;
|
|
12
|
+
openModalConfirmDelete: boolean;
|
|
13
|
+
selectedConferenceId: number;
|
|
14
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
15
|
+
handleCloseModalConfirmDelete: () => void;
|
|
16
|
+
handleDeleteConference: (conferenceId: number) => Promise<void>;
|
|
11
17
|
sessionData: any;
|
|
12
18
|
filter: FILTER_SESSION;
|
|
13
19
|
changeFilters: (updatedFilters: any) => void;
|
|
@@ -11,6 +11,12 @@ interface FILTER_SESSION {
|
|
|
11
11
|
isConversation?: boolean | null;
|
|
12
12
|
}
|
|
13
13
|
declare const useStudentOneToOne: (isConversation?: boolean | undefined) => {
|
|
14
|
+
isSessionStarted: boolean;
|
|
15
|
+
openModalConfirmDelete: boolean;
|
|
16
|
+
selectSessionId: number;
|
|
17
|
+
handleCloseModalConfirmDelete: () => void;
|
|
18
|
+
handleOpenModalConfirmDelete: (itemId: number) => Promise<void>;
|
|
19
|
+
handleDeleteSession: (sessionId: number) => Promise<void>;
|
|
14
20
|
sessionData: any;
|
|
15
21
|
filter: FILTER_SESSION;
|
|
16
22
|
changeFilters: (updatedFilters: any) => void;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { FILTER_STUDENT_WELLBEING } from "../../MyStudent/constants/types";
|
|
3
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
4
|
declare const usePlpPage: () => {
|
|
5
|
+
handleChangeFilterGrade: (grade: string) => void;
|
|
6
|
+
gradeList: string[];
|
|
3
7
|
student: any;
|
|
4
8
|
setStudent: import("react").Dispatch<any>;
|
|
5
9
|
goToListChart: () => void;
|
|
@@ -8,24 +12,8 @@ declare const usePlpPage: () => {
|
|
|
8
12
|
handleClose: () => void;
|
|
9
13
|
dataReadinessOfChart: import("../../MyStudent/components/NewOverview/Chat/types/types").IReadinessToLearning[];
|
|
10
14
|
chartOneToOneData: import("../../MyStudent/components/NewOverview/Chat/types/types").IColumnChartAndPercent;
|
|
11
|
-
handleChangeStartDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
12
|
-
handleChangeEndDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
13
|
-
timeEnd: any;
|
|
14
|
-
timeStart: any;
|
|
15
|
-
handleChangeStartDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
16
|
-
handleChangeEndDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
17
|
-
timeEndClassReflection: any;
|
|
18
|
-
timeStartClassReflection: any;
|
|
19
15
|
seriesConference: import("../../MyStudent/components/NewOverview/Chat/types/types").ISeries[];
|
|
20
|
-
handleChangeStartDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
21
|
-
handleChangeEndDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
22
|
-
timeEndConference: any;
|
|
23
|
-
timeStartConference: any;
|
|
24
16
|
seriesLearningProgress: import("../../MyStudent/components/NewOverview/Chat/types/types").ISeries[];
|
|
25
|
-
handleChangeStartLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
26
|
-
handleChangeEndLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
27
|
-
timeEndLearningProgress: any;
|
|
28
|
-
timeStartLearningProgress: any;
|
|
29
17
|
topLearningStrategiesData: import("../../MyStudent/components/NewOverview/Chat/types/types").ILearningStrategies;
|
|
30
18
|
topLearningStrategy: any;
|
|
31
19
|
labelName: any;
|
|
@@ -37,8 +25,6 @@ declare const usePlpPage: () => {
|
|
|
37
25
|
pageSize: number;
|
|
38
26
|
sortBy: string;
|
|
39
27
|
sortOrder: string;
|
|
40
|
-
startDate: null;
|
|
41
|
-
endDate: null;
|
|
42
28
|
};
|
|
43
29
|
changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
|
|
44
30
|
handleActiveColumnOneToOne: (index: any) => void;
|
|
@@ -69,13 +55,8 @@ declare const usePlpPage: () => {
|
|
|
69
55
|
dataConvertedLearningProgress: string[];
|
|
70
56
|
typeChartLearningProgress: import("../../MyStudent/components/NewOverview/Chat/types/types").TYPECHART[];
|
|
71
57
|
monthsLearningProgress: string[];
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
timeEndTopLearning: number;
|
|
76
|
-
handleChangeStartReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
77
|
-
handleChangeEndReadiness: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
|
|
78
|
-
timeEndReadiness: number;
|
|
79
|
-
timeStartReadiness: number;
|
|
58
|
+
handleChangeStartDateChart: (date: MaterialUiPickersDate) => void;
|
|
59
|
+
handleChangeEndDateChart: (date: MaterialUiPickersDate) => void;
|
|
60
|
+
filterDate: FILTER_STUDENT_WELLBEING;
|
|
80
61
|
};
|
|
81
62
|
export default usePlpPage;
|
|
@@ -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,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;
|