mario-teacher-student-client 2.1.129-admin → 2.1.131-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.
Files changed (92) hide show
  1. package/dist/components/Button/CustomButton.d.ts +11 -0
  2. package/dist/components/Card/CardNameButton.d.ts +7 -0
  3. package/dist/components/Card/CardTotal.d.ts +7 -0
  4. package/dist/components/Header/CustomHeaderComponent.d.ts +16 -0
  5. package/dist/components/Table/ConvertTime.d.ts +6 -0
  6. package/dist/components/Table/TableCells.d.ts +15 -0
  7. package/dist/components/layouts/LanguageDropdown.d.ts +3 -0
  8. package/dist/components/selector/CustomFilterComponent.d.ts +19 -0
  9. package/dist/components/selector/CustomFilterMobile.d.ts +23 -0
  10. package/dist/containers/ConductSurvey/apiClient/index.d.ts +2 -0
  11. package/dist/containers/ConductSurvey/components/ConductTop/ConductItem.d.ts +7 -0
  12. package/dist/containers/ConductSurvey/components/ConductTop/SurveyTop.d.ts +14 -0
  13. package/dist/containers/ConductSurvey/components/HeaderSurvey.d.ts +21 -0
  14. package/dist/containers/ConductSurvey/components/IBLearnerComponent.d.ts +12 -0
  15. package/dist/containers/ConductSurvey/components/Note/Note.d.ts +6 -0
  16. package/dist/containers/ConductSurvey/components/Note/PrivateNote.d.ts +3 -0
  17. package/dist/containers/ConductSurvey/components/Note/SessionResultNote.d.ts +3 -0
  18. package/dist/containers/ConductSurvey/components/ProfileDialog/ProfileDialog.d.ts +7 -0
  19. package/dist/containers/ConductSurvey/components/QuestionConduct.d.ts +12 -0
  20. package/dist/containers/ConductSurvey/components/RadiaBarChart.d.ts +3 -0
  21. package/dist/containers/ConductSurvey/components/ShareSurveyDialog.d.ts +12 -0
  22. package/dist/containers/ConductSurvey/components/SimpleDialog.d.ts +3 -0
  23. package/dist/containers/ConductSurvey/constant/constant.d.ts +1 -0
  24. package/dist/containers/ConductSurvey/constant/types.d.ts +97 -0
  25. package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +29 -0
  26. package/dist/containers/ConductSurvey/hooks/usePreviewSurvey.d.ts +28 -0
  27. package/dist/containers/ConductSurvey/hooks/useProfileDialog.d.ts +5 -0
  28. package/dist/containers/ConductSurvey/servies/index.d.ts +2 -0
  29. package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +1 -0
  30. package/dist/containers/ConductSurvey/views/PreviewSurvey.d.ts +3 -0
  31. package/dist/containers/ConductSurvey/views/SurveyIndex.d.ts +3 -0
  32. package/dist/containers/ConductSurvey/views/SurveyResult.d.ts +3 -0
  33. package/dist/containers/ExternalSurvey/api/externalService.d.ts +6 -0
  34. package/dist/containers/ExternalSurvey/components/ConductTop/ConductItem.d.ts +7 -0
  35. package/dist/containers/ExternalSurvey/components/ConductTop/SurveyTop.d.ts +14 -0
  36. package/dist/containers/ExternalSurvey/components/QuestionConduct.d.ts +13 -0
  37. package/dist/containers/ExternalSurvey/constant/types.d.ts +69 -0
  38. package/dist/containers/ExternalSurvey/hooks/useExternalSurvey.d.ts +18 -0
  39. package/dist/containers/ExternalSurvey/views/ExternalSurvey.d.ts +3 -0
  40. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useLearningStrategies.d.ts +0 -2
  41. package/dist/containers/MyStudent/hooks/useOverview.d.ts +0 -2
  42. package/dist/containers/PLP/hooks/usePlpPage.d.ts +0 -2
  43. package/dist/containers/Surveys/apiClient/surveyService.d.ts +15 -0
  44. package/dist/containers/Surveys/components/ActionNeededSurvey.d.ts +3 -0
  45. package/dist/containers/Surveys/components/AllStudentSurvey.d.ts +3 -0
  46. package/dist/containers/Surveys/components/CardItemMobile/CardSurveyMobile.d.ts +4 -0
  47. package/dist/containers/Surveys/components/CompletedStudentSurvey.d.ts +3 -0
  48. package/dist/containers/Surveys/components/CreateSurvey.d.ts +3 -0
  49. package/dist/containers/Surveys/components/ExternalSurveyList.d.ts +3 -0
  50. package/dist/containers/Surveys/components/ListSurveyDetail.d.ts +3 -0
  51. package/dist/containers/Surveys/components/ListSurveys.d.ts +3 -0
  52. package/dist/containers/Surveys/components/MissedStudentSurvey.d.ts +3 -0
  53. package/dist/containers/Surveys/components/PendingStudentSurvey.d.ts +3 -0
  54. package/dist/containers/Surveys/components/PendingSurvey.d.ts +3 -0
  55. package/dist/containers/Surveys/components/Questions/AdditionalQuestionModel.d.ts +4 -0
  56. package/dist/containers/Surveys/components/RepliedSurvey.d.ts +3 -0
  57. package/dist/containers/Surveys/components/StepComponents/ConfirmPublishSurvey.d.ts +4 -0
  58. package/dist/containers/Surveys/components/StepComponents/ConfirmShareSurvey.d.ts +4 -0
  59. package/dist/containers/Surveys/components/StepComponents/CreateSurveyComponent.d.ts +4 -0
  60. package/dist/containers/Surveys/components/StepComponents/ListFavoriteSurvey.d.ts +4 -0
  61. package/dist/containers/Surveys/components/StepComponents/ModelSelectQuestion.d.ts +4 -0
  62. package/dist/containers/Surveys/components/StepComponents/ModelSelectSurveyTemplate.d.ts +4 -0
  63. package/dist/containers/Surveys/components/StepComponents/ModelSendSurvey.d.ts +4 -0
  64. package/dist/containers/Surveys/components/StepComponents/ReviewSurveyDetail.d.ts +4 -0
  65. package/dist/containers/Surveys/components/StepComponents/TableSelectStudent.d.ts +4 -0
  66. package/dist/containers/Surveys/constants/constant.d.ts +65 -0
  67. package/dist/containers/Surveys/constants/questionModelType.d.ts +27 -0
  68. package/dist/containers/Surveys/constants/tableColumn.d.ts +110 -0
  69. package/dist/containers/Surveys/constants/typeCardItem.d.ts +16 -0
  70. package/dist/containers/Surveys/constants/types.d.ts +308 -0
  71. package/dist/containers/Surveys/hook/useAdditionalQuestion.d.ts +24 -0
  72. package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +77 -0
  73. package/dist/containers/Surveys/hook/useExternalSurvey.d.ts +21 -0
  74. package/dist/containers/Surveys/hook/useExternalSurveyList.d.ts +11 -0
  75. package/dist/containers/Surveys/hook/useFormCreateSurvey.d.ts +14 -0
  76. package/dist/containers/Surveys/hook/useListFavoriteSurvey.d.ts +10 -0
  77. package/dist/containers/Surveys/hook/useListSurvey.d.ts +28 -0
  78. package/dist/containers/Surveys/hook/useListSurveyDetail.d.ts +20 -0
  79. package/dist/containers/Surveys/hook/useSelectQuestion.d.ts +26 -0
  80. package/dist/containers/Surveys/hook/useSelectStudent.d.ts +15 -0
  81. package/dist/containers/Surveys/hook/useStudentSurvey.d.ts +16 -0
  82. package/dist/containers/Surveys/hook/useSurveyDetail.d.ts +10 -0
  83. package/dist/containers/Surveys/hook/useSurveyViewStudent.d.ts +4 -0
  84. package/dist/containers/Surveys/styles/makeStyles.d.ts +3 -0
  85. package/dist/containers/Surveys/views/SurveyDetail.d.ts +3 -0
  86. package/dist/containers/Surveys/views/SurveyStudentList.d.ts +3 -0
  87. package/dist/index.js +520 -396
  88. package/dist/index.js.map +1 -1
  89. package/dist/index.modern.js +517 -393
  90. package/dist/index.modern.js.map +1 -1
  91. package/dist/services/SurveyService.d.ts +11 -0
  92. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ import { FC, HTMLProps } from "react";
2
+ interface Props {
3
+ color?: string;
4
+ label: string;
5
+ backgroundColor?: string;
6
+ handleClickOpen?: Function;
7
+ fontSize?: string;
8
+ icon?: HTMLProps<HTMLButtonElement>;
9
+ }
10
+ declare const CustomButton: FC<Props>;
11
+ export default CustomButton;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface type_props {
3
+ title: string;
4
+ handleEdit?: Function;
5
+ }
6
+ declare const CardNameButton: ({ title, handleEdit }: type_props) => JSX.Element;
7
+ export default CardNameButton;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface cardProps {
3
+ title: string;
4
+ value: number;
5
+ }
6
+ declare const CardTotal: ({ title, value }: cardProps) => JSX.Element;
7
+ export default CardTotal;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ interface headerProps {
3
+ title: string;
4
+ contentButton?: string;
5
+ status?: string;
6
+ iconButton?: any;
7
+ isGoback?: boolean;
8
+ isGreyBackground?: boolean;
9
+ handleChangePage?: Function;
10
+ handlePreview?: Function;
11
+ isDisableButton?: boolean;
12
+ isPreviewSurvey?: boolean;
13
+ onHandleGoBack?: Function;
14
+ }
15
+ declare const CustomHeaderComponent: ({ title, contentButton, iconButton, isGoback, isGreyBackground, status, handleChangePage, isDisableButton, isPreviewSurvey, handlePreview, onHandleGoBack }: headerProps) => JSX.Element;
16
+ export default CustomHeaderComponent;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ time: string;
4
+ }
5
+ declare const ConvertTime: ({ time }: Props) => JSX.Element;
6
+ export default ConvertTime;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { FILTER_SURVEY } from "../../containers/Surveys/constants/types";
3
+ interface TABLE_CELL {
4
+ name: string;
5
+ tableWidth: number;
6
+ sortName: string | null;
7
+ align: any;
8
+ }
9
+ interface PROPS_TABLE {
10
+ listTableCell: TABLE_CELL[];
11
+ filters: FILTER_SURVEY;
12
+ handleSort?: Function;
13
+ }
14
+ declare const TableCells: ({ listTableCell, filters, handleSort }: PROPS_TABLE) => JSX.Element;
15
+ export default TableCells;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const LanguageDropdown: () => JSX.Element;
3
+ export default LanguageDropdown;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ interface FILTER {
3
+ startDate?: number | null;
4
+ endDate?: number | null;
5
+ isFavorite?: boolean;
6
+ }
7
+ interface PROPS_FILTER {
8
+ filters?: FILTER;
9
+ handleChangeStartDate?: Function;
10
+ handleChangeEndDate?: Function;
11
+ handleChangeInputSearch: Function;
12
+ inputSearch: any;
13
+ isShowSelectRight?: boolean;
14
+ handleChangeStatus?: Function;
15
+ placeholderSearch?: string;
16
+ handleSelectFavorite?: Function;
17
+ }
18
+ declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch, handleSelectFavorite }: PROPS_FILTER) => JSX.Element;
19
+ export default CustomFilterComponent;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ interface FILTER {
3
+ startDate?: number | null;
4
+ endDate?: number | null;
5
+ isFavorite?: boolean;
6
+ }
7
+ interface PROPS_FILTER {
8
+ filters?: FILTER;
9
+ handleChangeStartDate?: Function;
10
+ handleChangeEndDate?: Function;
11
+ handleChangeInputSearch: Function;
12
+ inputSearch: any;
13
+ isShowSelectRight?: boolean;
14
+ handleChangeStatus?: Function;
15
+ placeholderSearch?: string;
16
+ handleSelectFavorite?: Function;
17
+ onShowFilter?: Function;
18
+ isShowFilter?: boolean;
19
+ isShowCalendar?: boolean;
20
+ onShowFilterCalendar?: Function;
21
+ }
22
+ declare const CustomFilterMobile: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, handleChangeStatus, placeholderSearch, handleSelectFavorite, onShowFilter, isShowFilter, isShowCalendar, onShowFilterCalendar }: PROPS_FILTER) => JSX.Element;
23
+ export default CustomFilterMobile;
@@ -0,0 +1,2 @@
1
+ export declare const apiSelectQuestionAll: () => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const postQuestion: (id: number, data: any) => void;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import { ItemConduct } from "../../constant/types";
3
+ interface Props {
4
+ listItem: ItemConduct[];
5
+ }
6
+ declare const ConductItem: FC<Props>;
7
+ export default ConductItem;
@@ -0,0 +1,14 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ name: string;
4
+ imageUrl: string;
5
+ isResultSurvey?: boolean;
6
+ startTime?: string;
7
+ gradeLevel?: string;
8
+ informationUser?: any;
9
+ clickOpenProfileDialog?: any;
10
+ classFontSize?: string;
11
+ dayLeft?: number;
12
+ }
13
+ declare const SurveyTop: FC<Props>;
14
+ export default SurveyTop;
@@ -0,0 +1,21 @@
1
+ import { FC } from "react";
2
+ export declare enum TypeTime {
3
+ Default = 0,
4
+ StartTime = 1,
5
+ StopTime = 2
6
+ }
7
+ interface Props {
8
+ text: string;
9
+ isShowButtonBackGround?: boolean;
10
+ onFinishSession?: Function;
11
+ goBack?: Function;
12
+ isShowButtonPageHeader?: boolean;
13
+ isTeacher?: boolean;
14
+ isUserChangeSession?: boolean;
15
+ isGoback?: boolean;
16
+ isShowButtonScheduleBackGround?: boolean;
17
+ onScheduleButton?: Function;
18
+ isDone?: boolean;
19
+ }
20
+ declare const HeaderSurvey: FC<Props>;
21
+ export default HeaderSurvey;
@@ -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,6 @@
1
+ /// <reference types="react" />
2
+ interface INoteProps {
3
+ isTeacherNote: boolean;
4
+ }
5
+ declare const Note: (props: INoteProps) => JSX.Element;
6
+ export default Note;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PrivateNote: () => JSX.Element;
3
+ export default PrivateNote;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SessionResultNote: () => JSX.Element;
3
+ export default SessionResultNote;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ declare type profileData = {
3
+ informationUser: any;
4
+ partnerData: any;
5
+ };
6
+ declare const _default: React.ForwardRefExoticComponent<profileData & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ questionName?: string;
4
+ questionList: any;
5
+ onChangeQuestionAnswer?: (questionId: number, value: string) => void;
6
+ isPageResult?: boolean;
7
+ isPageSessionResult?: boolean;
8
+ avatar?: string;
9
+ isUserChangeSession?: boolean;
10
+ }
11
+ declare const QuestionConduct: FC<Props>;
12
+ export default QuestionConduct;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const RadiaBarChart: () => JSX.Element;
3
+ export default RadiaBarChart;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { DATA_FORM_EMAIL } from "../constant/types";
3
+ interface Props {
4
+ open: boolean;
5
+ handleClose: Function;
6
+ handleShareSurvey: Function;
7
+ listTeacher: string[];
8
+ dataFormEmail?: DATA_FORM_EMAIL;
9
+ setDataFormEmail: Function;
10
+ }
11
+ declare const ShareSurveyDialog: ({ open, handleClose, handleShareSurvey, listTeacher, dataFormEmail, setDataFormEmail }: Props) => JSX.Element;
12
+ export default ShareSurveyDialog;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const TAB_PANEL: string[];
@@ -0,0 +1,97 @@
1
+ export interface ItemConduct {
2
+ color: string;
3
+ label: string;
4
+ backgroundColor: string;
5
+ }
6
+ export declare enum QuestionType {
7
+ Default = "Default",
8
+ SingleChoice = "SingleChoice",
9
+ MultipleChoice = "MultipleChoice",
10
+ TextInput = "TextInput",
11
+ Slider = "Slider",
12
+ ProgressBar = "ProgressBar",
13
+ StarRating = "StarRating",
14
+ TextInputWithSuggestions = "TextInputWithSuggestions",
15
+ Emotional = "Emotional",
16
+ Summarize = "Summarize",
17
+ Rating = "Rating",
18
+ LearningStrategy = "LearningStrategy"
19
+ }
20
+ export declare enum TypeTime {
21
+ Default = 0,
22
+ StartTime = 1,
23
+ StopTime = 2
24
+ }
25
+ export interface LearningStrategyType {
26
+ id?: number;
27
+ text: string;
28
+ description?: string;
29
+ }
30
+ export interface EmotionType {
31
+ id?: number;
32
+ text: string;
33
+ emotionalText: string;
34
+ }
35
+ export interface LearningStrategyCategory {
36
+ id?: number;
37
+ name: string;
38
+ color: string;
39
+ }
40
+ export declare const IBProfile: {
41
+ id: number;
42
+ text: string;
43
+ }[];
44
+ export interface QuestionSummarizeType {
45
+ answer: string;
46
+ text: string;
47
+ type: string;
48
+ }
49
+ export interface IAdditionalQuestion {
50
+ questionId?: number;
51
+ questionText?: string;
52
+ type?: string;
53
+ answers?: IAnswer[];
54
+ answer?: IAnswer[];
55
+ averageOtherRatings?: number;
56
+ fromLabel?: string;
57
+ questionAnswer?: string[];
58
+ toLabel?: string;
59
+ text: string;
60
+ id?: string;
61
+ }
62
+ export interface IAnswer {
63
+ text: string;
64
+ }
65
+ export interface IQuestionTemplate {
66
+ questionId?: number;
67
+ questionText: string;
68
+ type: string;
69
+ answers: IAnswer[];
70
+ questionAnswer: string[];
71
+ fromLabel: string;
72
+ toLabel: string;
73
+ }
74
+ export interface ITemplate {
75
+ id: number;
76
+ name: string;
77
+ questionTemplates: IQuestionTemplate[];
78
+ }
79
+ export interface SURVEY_DETAIL {
80
+ deadline?: number | null;
81
+ title?: string;
82
+ studentIds?: number[];
83
+ isFavorite?: boolean;
84
+ id?: number;
85
+ totalQuestions?: number;
86
+ }
87
+ export interface TEACHER_DETAIL {
88
+ email: string;
89
+ name: string;
90
+ teacherId: number;
91
+ userId: string;
92
+ }
93
+ export interface DATA_FORM_EMAIL {
94
+ emails: string[];
95
+ emailContent: string;
96
+ surveyId: number;
97
+ }
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ declare const useConductSurvey: () => {
3
+ currentUser: any;
4
+ isTeacher: any;
5
+ isStudent: any;
6
+ listQuestionTeachers: any;
7
+ listQuestionStudents: any;
8
+ updateQuestionAnswer: (questionId: number, text: string, isAdditional?: boolean | undefined) => void;
9
+ fnfinishSurvey: (cb: any) => Promise<void>;
10
+ surveyId: string;
11
+ studentId: string;
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
+ listAdditionalQuestionAnswer: any;
21
+ questionSummarize: any;
22
+ setQuestionSummarize: import("react").Dispatch<any>;
23
+ updateAnswerIBLearner: (answer: string) => Promise<void>;
24
+ questionIBLearner: string;
25
+ setQuestionIBLearner: import("react").Dispatch<import("react").SetStateAction<string>>;
26
+ isSchedule: boolean;
27
+ isDone: boolean;
28
+ };
29
+ export default useConductSurvey;
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import { DATA_FORM_EMAIL, IAdditionalQuestion, ITemplate, QuestionSummarizeType, SURVEY_DETAIL } from "../constant/types";
3
+ import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
4
+ declare const usePreviewSurvey: () => {
5
+ currentUser: any;
6
+ isTeacher: any;
7
+ isStudent: any;
8
+ category: string;
9
+ setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
10
+ classFontSize: string;
11
+ questionSummarize: QuestionSummarizeType | null;
12
+ activeTab: string;
13
+ handleChange: (_event: React.ChangeEvent<{}>, newValue: string) => void;
14
+ surveyId: string;
15
+ surveyDetail: SURVEY_DETAIL;
16
+ handleChangeDeadline: (date: MaterialUiPickersDate | null) => void;
17
+ duplicateSurvey: () => void;
18
+ handleShareSurvey: () => Promise<void>;
19
+ openDialogShareSurvey: boolean;
20
+ handleToggleModelSurvey: () => void;
21
+ listTeacher: string[];
22
+ dataFormEmail: DATA_FORM_EMAIL | undefined;
23
+ setDataFormEmail: import("react").Dispatch<import("react").SetStateAction<DATA_FORM_EMAIL | undefined>>;
24
+ listQuestionTemplate: ITemplate[];
25
+ listAdditionalQuestion: IAdditionalQuestion[];
26
+ handleCreateSurvey: () => Promise<void>;
27
+ };
28
+ export default usePreviewSurvey;
@@ -0,0 +1,5 @@
1
+ declare const useProfileDialog: () => {
2
+ partnerData: any;
3
+ getPartnerProfileSelector: (id: string) => Promise<void>;
4
+ };
5
+ export default useProfileDialog;
@@ -0,0 +1,2 @@
1
+ export declare const getAllSelectQuestion: (dispatch: any) => Promise<any>;
2
+ export declare const postQuestionServies: (dispatch: any, id: number, data: any) => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const useStyles: (props?: any) => Record<"body" | "title" | "tabs" | "tabLabel" | "tabLabelActive" | "tabLabelActiveWhite", string>;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const PreviewSurvey: FC;
3
+ export default PreviewSurvey;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const SurveyIndex: FC;
3
+ export default SurveyIndex;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const SurveyResult: FC;
3
+ export default SurveyResult;
@@ -0,0 +1,6 @@
1
+ import { BODY_TYPE_EXTERNAL } from "../constant/types";
2
+ export declare const shareSurvey: (data: any) => void;
3
+ export declare const getAllEduTeacher: () => Promise<import("axios").AxiosResponse<any>>;
4
+ export declare const startExternalSurvey: (body: BODY_TYPE_EXTERNAL) => Promise<import("axios").AxiosResponse<any>>;
5
+ export declare const updateItemQuestionAnswer: (isAdditional: boolean, body: any) => Promise<import("axios").AxiosResponse<any>>;
6
+ export declare const finishExternalSurvey: (externalSurveyId: number, email: string) => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import { ItemConduct } from "../../constant/types";
3
+ interface Props {
4
+ listItem: ItemConduct[];
5
+ }
6
+ declare const ConductItem: FC<Props>;
7
+ export default ConductItem;
@@ -0,0 +1,14 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ name: string;
4
+ imageUrl: string;
5
+ isResultSurvey?: boolean;
6
+ startTime?: string;
7
+ gradeLevel?: string;
8
+ informationUser?: any;
9
+ clickOpenProfileDialog?: any;
10
+ classFontSize?: string;
11
+ dayLeft?: number;
12
+ }
13
+ declare const SurveyTop: FC<Props>;
14
+ export default SurveyTop;
@@ -0,0 +1,13 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ questionName?: string;
4
+ questionList: any;
5
+ onChangeQuestionAnswer?: (questionId: number, value: string) => void;
6
+ isPageResult?: boolean;
7
+ isPageSessionResult?: boolean;
8
+ avatar?: string;
9
+ isUserChangeSession?: boolean;
10
+ isMultiline?: boolean;
11
+ }
12
+ declare const QuestionConduct: FC<Props>;
13
+ export default QuestionConduct;
@@ -0,0 +1,69 @@
1
+ export interface ItemConduct {
2
+ color: string;
3
+ label: string;
4
+ backgroundColor: string;
5
+ }
6
+ export declare enum QuestionType {
7
+ Default = "Default",
8
+ SingleChoice = "SingleChoice",
9
+ MultipleChoice = "MultipleChoice",
10
+ TextInput = "TextInput",
11
+ Slider = "Slider",
12
+ ProgressBar = "ProgressBar",
13
+ StarRating = "StarRating",
14
+ TextInputWithSuggestions = "TextInputWithSuggestions",
15
+ Emotional = "Emotional",
16
+ Summarize = "Summarize",
17
+ Rating = "Rating",
18
+ LearningStrategy = "LearningStrategy"
19
+ }
20
+ export declare enum TypeTime {
21
+ Default = 0,
22
+ StartTime = 1,
23
+ StopTime = 2
24
+ }
25
+ export interface LearningStrategyType {
26
+ id?: number;
27
+ text: string;
28
+ description?: string;
29
+ }
30
+ export interface EmotionType {
31
+ id?: number;
32
+ text: string;
33
+ emotionalText: string;
34
+ }
35
+ export interface LearningStrategyCategory {
36
+ id?: number;
37
+ name: string;
38
+ color: string;
39
+ }
40
+ export declare const IBProfile: {
41
+ id: number;
42
+ text: string;
43
+ }[];
44
+ export interface QuestionSummarizeType {
45
+ answer: string;
46
+ text: string;
47
+ type: string;
48
+ }
49
+ export interface SURVEY_DETAIL {
50
+ deadline: number | null;
51
+ title?: string;
52
+ studentIds?: number[];
53
+ isFavorite?: boolean;
54
+ }
55
+ export interface TEACHER_DETAIL {
56
+ email: string;
57
+ name: string;
58
+ teacherId: number;
59
+ userId: string;
60
+ }
61
+ export interface DATA_FORM_EMAIL {
62
+ emails: string[];
63
+ emailContent: string;
64
+ surveyId: number;
65
+ }
66
+ export interface BODY_TYPE_EXTERNAL {
67
+ token: string;
68
+ externalSurveyId: number;
69
+ }
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ declare const useExternalSurvey: () => {
3
+ listQuestionStudents: any;
4
+ updateQuestionAnswer: (questionId: number, text: string, isAdditional?: boolean | undefined) => void;
5
+ finishSurvey: () => Promise<void>;
6
+ informationUser: any;
7
+ category: string;
8
+ setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
9
+ classFontSize: string;
10
+ isStudentChangeAfter: boolean;
11
+ listAdditionalQuestionAnswer: any;
12
+ questionSummarize: any;
13
+ setQuestionSummarize: import("react").Dispatch<any>;
14
+ isDone: boolean;
15
+ externalSurveyId: string;
16
+ surveyId: string;
17
+ };
18
+ export default useExternalSurvey;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const ExternalSurvey: FC;
3
+ export default ExternalSurvey;
@@ -5,8 +5,6 @@ declare const useLearningStrategies: (studentId: any, filterDateChart: any) => {
5
5
  pageSize: number;
6
6
  sortBy: string;
7
7
  sortOrder: string;
8
- startDate: any;
9
- endDate: any;
10
8
  };
11
9
  changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
12
10
  learningStrategiesData: any;
@@ -26,8 +26,6 @@ declare const useOverview: (studentId: number) => {
26
26
  pageSize: number;
27
27
  sortBy: string;
28
28
  sortOrder: string;
29
- startDate: any;
30
- endDate: any;
31
29
  };
32
30
  changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
33
31
  handleActiveColumnOneToOne: (index: any) => void;
@@ -25,8 +25,6 @@ declare const usePlpPage: () => {
25
25
  pageSize: number;
26
26
  sortBy: string;
27
27
  sortOrder: string;
28
- startDate: any;
29
- endDate: any;
30
28
  };
31
29
  changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
32
30
  handleActiveColumnOneToOne: (index: any) => void;
@@ -0,0 +1,15 @@
1
+ export declare const getStudentList: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const getTemplateSurvey: () => Promise<import("axios").AxiosResponse<any>>;
3
+ export declare const createSurvey: (model: any) => Promise<import("axios").AxiosResponse<any>>;
4
+ export declare const getAllSurvey: (params: any) => Promise<import("axios").AxiosResponse<any>>;
5
+ export declare const getTotalSurvey: () => Promise<import("axios").AxiosResponse<any>>;
6
+ export declare const getStudentBySurvey: (params: any, id: number) => Promise<import("axios").AxiosResponse<any>>;
7
+ export declare const getSurveysByStudent: (params: any, studentId: number) => Promise<import("axios").AxiosResponse<any>>;
8
+ export declare const getNewSurvey: () => Promise<import("axios").AxiosResponse<any>>;
9
+ export declare const getDetailSurvey: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
10
+ export declare const getSurveyCountStudent: () => Promise<import("axios").AxiosResponse<any>>;
11
+ export declare const getAllEduTeacher: () => Promise<import("axios").AxiosResponse<any>>;
12
+ export declare const shareSurvey: (data: any) => void;
13
+ export declare const updateSurvey: (surveyId: number, model: any) => Promise<import("axios").AxiosResponse<any>>;
14
+ export declare const getListExternal: (surveyId: number, params: any) => Promise<import("axios").AxiosResponse<any>>;
15
+ export declare const getSurveyDetail: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ActionNeededSurvey: () => JSX.Element;
3
+ export default ActionNeededSurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AllStudentSurvey: () => JSX.Element;
3
+ export default AllStudentSurvey;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CARD_ITEM_PROPS } from "../../constants/typeCardItem";
3
+ declare const CardSurveyMobile: ({ surveyName, students, status, open, id, statusDetail, avatar, studentId, customItemName, customItemIcon, colorStatusDetail, customIconStatus }: CARD_ITEM_PROPS) => JSX.Element;
4
+ export default CardSurveyMobile;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CompletedStudentSurvey: () => JSX.Element;
3
+ export default CompletedStudentSurvey;