mario-education 2.4.243-release → 2.4.246-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.
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/MyStudent/components/NewOverview/Chat/view/BubbleChartCustom.d.ts +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/AllQuestionSurvey.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/configs/tableColumn.d.ts +6 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/configs/types.d.ts +14 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/hooks/useListQuestionSurvey.d.ts +8 -0
- package/dist/index.css +1738 -0
- package/dist/index.js +795 -168
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +887 -260
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -132,5 +132,5 @@ export declare const filterYearData: {
|
|
|
132
132
|
startDate: number;
|
|
133
133
|
endDate: number;
|
|
134
134
|
}[];
|
|
135
|
-
export declare const handleAveraged: (points: number[]) => number;
|
|
136
|
-
export declare const handleGenerateAvgQuestion: (data: number[], avgContent?: string | undefined) => string;
|
|
135
|
+
export declare const handleAveraged: (points: number[], isStress?: boolean | undefined) => number;
|
|
136
|
+
export declare const handleGenerateAvgQuestion: (data: number[], isStress: boolean, avgContent?: string | undefined) => string;
|
|
@@ -6,8 +6,8 @@ export declare const average: (arr: number[]) => number;
|
|
|
6
6
|
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
|
|
7
7
|
export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
|
|
8
8
|
export declare const learningStrategyChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean) => ApexOptions;
|
|
9
|
-
export declare const readinesToLearnoptions: (seriesName: string[], redirectStudentOverview?: Function | undefined, isStudent?: boolean | undefined, colors?: string[] | undefined) => ApexOptions;
|
|
10
|
-
export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[], chartWidth: number) => {
|
|
9
|
+
export declare const readinesToLearnoptions: (seriesName: string[], redirectStudentOverview?: Function | undefined, isStudent?: boolean | undefined, colors?: string[] | undefined, isStudentResponses?: boolean | undefined) => ApexOptions;
|
|
10
|
+
export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[], chartWidth: number, isStudentResponses?: boolean | undefined) => {
|
|
11
11
|
name: string;
|
|
12
12
|
data: import("react").ReactText[][];
|
|
13
13
|
}[];
|
|
@@ -7,6 +7,7 @@ interface IProps {
|
|
|
7
7
|
disableSeriesName?: boolean;
|
|
8
8
|
colors?: string[];
|
|
9
9
|
indexActive?: number[];
|
|
10
|
+
isStudentResponses?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const _default: React.MemoExoticComponent<({ data, isPlp, print, disableSeriesName, colors, indexActive }: IProps) => JSX.Element>;
|
|
12
|
+
declare const _default: React.MemoExoticComponent<({ data, isPlp, print, disableSeriesName, colors, indexActive, isStudentResponses }: IProps) => JSX.Element>;
|
|
12
13
|
export default _default;
|
|
@@ -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>>;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/configs/types.d.ts
CHANGED
|
@@ -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;
|