mario-education 2.4.243-release → 2.4.245-release

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 (19) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/AllQuestionSurvey.d.ts +3 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/dialog/DialogChooseTeacher.d.ts +10 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/configs/tableColumn.d.ts +6 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/configs/types.d.ts +14 -0
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/hooks/useListQuestionSurvey.d.ts +8 -0
  7. package/dist/index.css +7039 -5301
  8. package/dist/index.js +781 -165
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.modern.js +873 -257
  11. package/dist/index.modern.js.map +1 -1
  12. package/package.json +104 -104
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/ImportOneRoster.d.ts +0 -6
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/RosterConfigForm.d.ts +0 -8
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useImportOneRoster.d.ts +0 -28
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/userRosterConfigForm.d.ts +0 -7
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/constants.d.ts +0 -2
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/types.d.ts +0 -5
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/views/OneRoster.d.ts +0 -3
@@ -17,6 +17,7 @@ export declare const importCsv: (formData: FormData) => Promise<import("axios").
17
17
  export declare const downloadTemplateFile: () => Promise<import("axios").AxiosResponse<any>>;
18
18
  export declare const updateSurvey: (surveyId: number, model: any) => Promise<import("axios").AxiosResponse<any>>;
19
19
  export declare const getListExternal: (surveyId: number, params: any) => Promise<import("axios").AxiosResponse<any>>;
20
+ export declare const getListQuestionSurvey: (params: any, surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
20
21
  export declare const getSurveyDetail: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
21
22
  export declare const getDashboardTotalSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
22
23
  export declare const getDashboardFlagSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,3 @@
1
+ export default function AllQuestionSurvey({ tabIndex }: {
2
+ tabIndex: number;
3
+ }): JSX.Element;
@@ -0,0 +1,10 @@
1
+ interface Props {
2
+ studentId?: number;
3
+ isTeacherStart?: string;
4
+ setIsTeacherStart?: Function;
5
+ setStudentId?: Function;
6
+ onClickStart?: Function;
7
+ handleClose?: any;
8
+ }
9
+ declare const DialogChooseTeacher: ({ handleClose, }: Props) => JSX.Element;
10
+ export default DialogChooseTeacher;
@@ -138,3 +138,9 @@ export declare const tableResponseSurvey: {
138
138
  sortName: null;
139
139
  align: string;
140
140
  }[];
141
+ export declare const tableAllQuestionSurvey: {
142
+ name: string;
143
+ tableWidth: number;
144
+ sortName: null;
145
+ align: string;
146
+ }[];
@@ -13,6 +13,20 @@ export declare type QuantityReport = {
13
13
  numberOfStudents: number;
14
14
  numberOfAssistants: number;
15
15
  };
16
+ export interface QUESTION_SURVEY {
17
+ id: number;
18
+ type: string;
19
+ text: string;
20
+ templateId: string;
21
+ templateName: string;
22
+ }
23
+ export interface QUESTION_SURVEY_LIST {
24
+ items: QUESTION_SURVEY[];
25
+ currentPage: number;
26
+ pageSize: number;
27
+ totalItems: number;
28
+ totalPages: number;
29
+ }
16
30
  export declare type SkillReportItem = {
17
31
  skillName: string;
18
32
  ratings: SkillRating[];
@@ -0,0 +1,8 @@
1
+ import { FILTER_SURVEY, QUESTION_SURVEY_LIST } from "../configs/types";
2
+ declare const useListQuestionSurvey: (tabIndex: number) => {
3
+ questionSurvey: QUESTION_SURVEY_LIST | undefined;
4
+ filterQuestion: FILTER_SURVEY;
5
+ handleChangePage: (_event: unknown, newPage: number) => void;
6
+ handleChangeRowsPerPage: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
+ };
8
+ export default useListQuestionSurvey;