mario-teacher-student-client 2.1.89-beta → 2.1.91-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.
Files changed (70) hide show
  1. package/dist/components/Card/CardNameButton.d.ts +7 -0
  2. package/dist/components/Card/CardTotal.d.ts +7 -0
  3. package/dist/components/Header/CustomHeaderComponent.d.ts +16 -0
  4. package/dist/components/Input/InputComponent.d.ts +2 -1
  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/HeaderSideBar.d.ts +0 -4
  8. package/dist/components/selector/CustomFilterComponent.d.ts +16 -0
  9. package/dist/components/selector/StudentSelector.d.ts +1 -1
  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 +20 -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/SimpleDialog.d.ts +3 -0
  22. package/dist/containers/ConductSurvey/constant/constant.d.ts +1 -0
  23. package/dist/containers/ConductSurvey/constant/types.d.ts +52 -0
  24. package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +28 -0
  25. package/dist/containers/ConductSurvey/hooks/usePreviewSurvey.d.ts +21 -0
  26. package/dist/containers/ConductSurvey/hooks/useProfileDialog.d.ts +5 -0
  27. package/dist/containers/ConductSurvey/servies/index.d.ts +2 -0
  28. package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +1 -0
  29. package/dist/containers/ConductSurvey/views/PreviewSurvey.d.ts +3 -0
  30. package/dist/containers/ConductSurvey/views/SurveyIndex.d.ts +3 -0
  31. package/dist/containers/ConductSurvey/views/SurveyResult.d.ts +3 -0
  32. package/dist/containers/MyOneToOne/components/dialog/DialogRequestOneToOne.d.ts +3 -1
  33. package/dist/containers/MyOneToOne/constants/types.d.ts +2 -0
  34. package/dist/containers/MyOneToOne/hooks/useChangeRoteQuestion.d.ts +1 -0
  35. package/dist/containers/Surveys/apiClient/surveyService.d.ts +9 -0
  36. package/dist/containers/Surveys/components/ActionNeededSurvey.d.ts +3 -0
  37. package/dist/containers/Surveys/components/AllStudentSurvey.d.ts +3 -0
  38. package/dist/containers/Surveys/components/CompletedStudentSurvey.d.ts +3 -0
  39. package/dist/containers/Surveys/components/CreateSurvey.d.ts +3 -0
  40. package/dist/containers/Surveys/components/ListSurveyDetail.d.ts +3 -0
  41. package/dist/containers/Surveys/components/ListSurveys.d.ts +3 -0
  42. package/dist/containers/Surveys/components/MissedStudentSurvey.d.ts +3 -0
  43. package/dist/containers/Surveys/components/PendingStudentSurvey.d.ts +3 -0
  44. package/dist/containers/Surveys/components/PendingSurvey.d.ts +3 -0
  45. package/dist/containers/Surveys/components/RepliedSurvey.d.ts +3 -0
  46. package/dist/containers/Surveys/components/StepComponents/CreateSurveyComponent.d.ts +4 -0
  47. package/dist/containers/Surveys/components/StepComponents/ModelSelectQuestion.d.ts +4 -0
  48. package/dist/containers/Surveys/components/StepComponents/ModelSelectSurveyTemplate.d.ts +4 -0
  49. package/dist/containers/Surveys/components/StepComponents/ReviewSurveyDetail.d.ts +4 -0
  50. package/dist/containers/Surveys/components/StepComponents/TableSelectStudent.d.ts +4 -0
  51. package/dist/containers/Surveys/constants/constant.d.ts +38 -0
  52. package/dist/containers/Surveys/constants/tableColumn.d.ts +77 -0
  53. package/dist/containers/Surveys/constants/types.d.ts +251 -0
  54. package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +46 -0
  55. package/dist/containers/Surveys/hook/useListSurvey.d.ts +11 -0
  56. package/dist/containers/Surveys/hook/useListSurveyDetail.d.ts +17 -0
  57. package/dist/containers/Surveys/hook/useStudentSurvey.d.ts +15 -0
  58. package/dist/containers/Surveys/hook/useSurveyDetail.d.ts +10 -0
  59. package/dist/containers/Surveys/styles/makeStyles.d.ts +3 -0
  60. package/dist/containers/Surveys/views/SurveyDetail.d.ts +3 -0
  61. package/dist/containers/Surveys/views/SurveyStudentList.d.ts +3 -0
  62. package/dist/index.css +6579 -5488
  63. package/dist/index.d.ts +8 -1
  64. package/dist/index.js +38970 -34029
  65. package/dist/index.js.map +1 -1
  66. package/dist/index.modern.js +31860 -26926
  67. package/dist/index.modern.js.map +1 -1
  68. package/dist/services/OneToOne.d.ts +1 -0
  69. package/dist/services/SurveyService.d.ts +8 -0
  70. package/package.json +3 -2
@@ -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;
@@ -3,6 +3,7 @@ interface Props {
3
3
  customId?: string;
4
4
  valueText: string;
5
5
  onChange?: Function;
6
+ onChangeEvent?: Function;
6
7
  name?: string;
7
8
  isAddIcon?: boolean;
8
9
  handleAddItem?: Function;
@@ -13,5 +14,5 @@ interface Props {
13
14
  canSubmit?: boolean;
14
15
  disabled?: boolean;
15
16
  }
16
- declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit, disabled }: Props) => JSX.Element;
17
+ declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit, disabled, onChangeEvent }: Props) => JSX.Element;
17
18
  export default InputComponent;
@@ -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;
@@ -1,7 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare const ICON_NAV: {
3
- name: string;
4
- icon: JSX.Element;
5
- }[];
6
2
  declare const HeaderSideBar: ({ children, navigations }: any) => JSX.Element;
7
3
  export default HeaderSideBar;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ interface FILTER {
3
+ startDate?: number | null;
4
+ endDate?: number | null;
5
+ }
6
+ interface PROPS_FILTER {
7
+ filters?: FILTER;
8
+ handleChangeStartDate?: Function;
9
+ handleChangeEndDate?: Function;
10
+ handleChangeInputSearch: Function;
11
+ inputSearch: any;
12
+ isShowSelectRight?: boolean;
13
+ handleChangeStatus?: Function;
14
+ }
15
+ declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus }: PROPS_FILTER) => JSX.Element;
16
+ export default CustomFilterComponent;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const StudentSelector: ({ setStudentId, setStudentUserId, setStudentName, setStudentProfileImage, studentUserId, setIsCheckStudent, isShowDropDownIcon, classes }: any) => JSX.Element | null;
2
+ declare const StudentSelector: ({ setStudentId, setStudentUserId, setStudentName, setStudentProfileImage, studentUserId, setIsCheckStudent, isShowDropDownIcon, classes, studentId }: any) => JSX.Element | null;
3
3
  export default StudentSelector;
@@ -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,20 @@
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
+ }
19
+ declare const HeaderSurvey: FC<Props>;
20
+ 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,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,52 @@
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
+ }
@@ -0,0 +1,28 @@
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
+ };
28
+ export default useConductSurvey;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { 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
+ listQuestionTeachers: any;
9
+ category: string;
10
+ setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
11
+ classFontSize: string;
12
+ listAdditionalQuestion: any;
13
+ infoSurvey: any;
14
+ questionSummarize: QuestionSummarizeType | null;
15
+ activeTab: string;
16
+ handleChange: (_event: React.ChangeEvent<{}>, newValue: string) => void;
17
+ surveyId: string;
18
+ surveyDetail: SURVEY_DETAIL | undefined;
19
+ handleChangeDeadline: (date: MaterialUiPickersDate | null) => void;
20
+ };
21
+ 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;
@@ -4,6 +4,8 @@ interface Props {
4
4
  setStudentId?: Function;
5
5
  onClickStartQuestion?: Function;
6
6
  handleClose?: any;
7
+ updateSchedule?: Function;
8
+ surveyId?: number;
7
9
  }
8
- declare const DialogRequestOneToOne: ({ setStudentId, onClickStartQuestion, handleClose, studentId }: Props) => JSX.Element;
10
+ declare const DialogRequestOneToOne: ({ setStudentId, onClickStartQuestion, handleClose, studentId, updateSchedule, surveyId }: Props) => JSX.Element;
9
11
  export default DialogRequestOneToOne;
@@ -30,6 +30,8 @@ export interface SIMPLE_DIALOG {
30
30
  setStudentId?: Function;
31
31
  onClickStartQuestion?: Function;
32
32
  studentId?: number;
33
+ updateSchedule?: Function;
34
+ surveyId?: number;
33
35
  }
34
36
  export interface STUDENT_SELECTOR {
35
37
  id: number;
@@ -1,4 +1,5 @@
1
1
  declare const useChangeRoteQuestion: () => {
2
2
  changeRouteQuestion: (studentId: number) => Promise<void>;
3
+ updateSchedule: (surveyId: number, studentId: number) => Promise<void>;
3
4
  };
4
5
  export default useChangeRoteQuestion;
@@ -0,0 +1,9 @@
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>>;
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ declare const CompletedStudentSurvey: () => JSX.Element;
3
+ export default CompletedStudentSurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CreateSurvey: () => JSX.Element;
3
+ export default CreateSurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ListSurveyDetail: (props: any) => JSX.Element;
3
+ export default ListSurveyDetail;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ListSurveys: () => JSX.Element;
3
+ export default ListSurveys;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const MissedStudentSurvey: () => JSX.Element;
3
+ export default MissedStudentSurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PendingStudentSurvey: () => JSX.Element;
3
+ export default PendingStudentSurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PendingSurvey: () => JSX.Element;
3
+ export default PendingSurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const RepliedSurvey: () => JSX.Element;
3
+ export default RepliedSurvey;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CREATE_SURVEY_PROPS } from "../../constants/types";
3
+ declare const CreateSurveyComponent: ({ dataFormCreateSurvey, onChangeValueForm, handleChangeDate, handleChangeFavorite, templateSurvey, handleToggleModel, openModelSelectTemplate, handleSelectTemplate, openCollapseId, setOpenCollapseId, handleInsertQuestion, additionalText, handleChangeAdditionalText, handleCreateAddional, handleRemoveQuestion, contentModelQuestion, handleCloseModelEdit, handleChangeModelQuestion, handleSelectQuestion, handleCheckSelectQuestion, handleSelectQuestionCollapse, handleCheckTypeQuestion, handleCheckCountQuestionByType, handleCheckInsertQuestion, handleCheckSelectTemplate }: CREATE_SURVEY_PROPS) => JSX.Element;
4
+ export default CreateSurveyComponent;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { MODEL_SELECT_QUESTION } from "../../constants/types";
3
+ declare const ModelSelectQuestion: ({ open, handleClose, template, selectQuestion, handleSelectTemplate, handleSelectQuestion, handleCheckSelectQuestion, handleCheckInsertQuestion }: MODEL_SELECT_QUESTION) => JSX.Element;
4
+ export default ModelSelectQuestion;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SELECT_SURVEY_MODEL } from "../../constants/types";
3
+ declare const ModelSelectSurveyTemplate: ({ open, handleClose, listTemplate, handleInsertQuestion, handleSelectTemplate, contentModelQuestion, handleCloseModelEdit, handleChangeModelQuestion, handleSelectQuestion, handleCheckSelectQuestion, handleCheckCountQuestionByType, handleCheckTypeQuestion, dataFormCreateSurvey, handleCheckInsertQuestion, handleCheckSelectTemplate }: SELECT_SURVEY_MODEL) => JSX.Element;
4
+ export default ModelSelectSurveyTemplate;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { REVIEW_SURVEY_PROPS } from "../../constants/types";
3
+ declare const ReviewSurveyDetail: ({ dataFormCreateSurvey, handleNextStep, handleCheckTypeQuestion, handleCheckCountQuestionByType }: REVIEW_SURVEY_PROPS) => JSX.Element;
4
+ export default ReviewSurveyDetail;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
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;
4
+ export default TableSelectStudent;
@@ -0,0 +1,38 @@
1
+ export declare const STEP_MODEL: string[];
2
+ export declare const lableStep: (activeStep: number) => "" | "NEXT" | "REVIEW" | "Publish survey";
3
+ export declare const initialValues: {
4
+ title: string;
5
+ additionalQuestions: never[];
6
+ deadline: null;
7
+ studentIds: never[];
8
+ templateQuestions: never[];
9
+ activeStep: number;
10
+ listSelectTemplate: never[];
11
+ };
12
+ export declare const initialFilters: {
13
+ search: string;
14
+ gradeLevel: string;
15
+ sortBy: string;
16
+ sortOrder: string;
17
+ };
18
+ export declare const initialTotal: {
19
+ title: string;
20
+ value: number;
21
+ }[];
22
+ export declare const initialModelQuestion: {
23
+ open: boolean;
24
+ };
25
+ export declare const initialFilterSurvey: {
26
+ currentPage: number;
27
+ pageSize: number;
28
+ searchString: string;
29
+ sortBy: string;
30
+ sortOrder: string;
31
+ };
32
+ export declare const DEFAULT_USER_AVATAR = "/images/image-default.png";
33
+ export declare enum TYPE_SURVEY {
34
+ Default = 0,
35
+ Pending = 1,
36
+ Completed = 2,
37
+ ActionNeed = 3
38
+ }
@@ -0,0 +1,77 @@
1
+ export declare const tablePendingStudentSurvey: ({
2
+ name: string;
3
+ tableWidth: number;
4
+ sortName: string;
5
+ align: string;
6
+ } | {
7
+ name: string;
8
+ tableWidth: number;
9
+ sortName: null;
10
+ align: string;
11
+ })[];
12
+ export declare const tableCompletedStudentSurvey: ({
13
+ name: string;
14
+ tableWidth: number;
15
+ sortName: string;
16
+ align: string;
17
+ } | {
18
+ name: string;
19
+ tableWidth: number;
20
+ sortName: null;
21
+ align: string;
22
+ })[];
23
+ export declare const tableMissedStudentSurvey: ({
24
+ name: string;
25
+ tableWidth: number;
26
+ sortName: string;
27
+ align: string;
28
+ } | {
29
+ name: string;
30
+ tableWidth: number;
31
+ sortName: null;
32
+ align: string;
33
+ })[];
34
+ export declare const tableAllSurvey: ({
35
+ name: string;
36
+ tableWidth: number;
37
+ sortName: string;
38
+ align: string;
39
+ } | {
40
+ name: string;
41
+ tableWidth: number;
42
+ sortName: null;
43
+ align: string;
44
+ })[];
45
+ export declare const tablePendingSurvey: ({
46
+ name: string;
47
+ tableWidth: number;
48
+ sortName: string;
49
+ align: string;
50
+ } | {
51
+ name: string;
52
+ tableWidth: number;
53
+ sortName: null;
54
+ align: string;
55
+ })[];
56
+ export declare const tableCompleteSurvey: ({
57
+ name: string;
58
+ tableWidth: number;
59
+ sortName: string;
60
+ align: string;
61
+ } | {
62
+ name: string;
63
+ tableWidth: number;
64
+ sortName: null;
65
+ align: string;
66
+ })[];
67
+ export declare const tableActionNeedSurvey: ({
68
+ name: string;
69
+ tableWidth: number;
70
+ sortName: string;
71
+ align: string;
72
+ } | {
73
+ name: string;
74
+ tableWidth: number;
75
+ sortName: null;
76
+ align: string;
77
+ })[];