mario-education 2.4.242-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.
@@ -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;
@@ -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;