mario-education 2.4.245-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/OneRoster/components/ImportOneRoster.d.ts +6 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/RosterConfigForm.d.ts +8 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useImportOneRoster.d.ts +28 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/userRosterConfigForm.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/constants.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/types.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/views/OneRoster.d.ts +3 -0
- package/dist/index.css +5300 -5300
- package/dist/index.js +68 -57
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +68 -57
- package/dist/index.modern.js.map +1 -1
- package/package.json +104 -104
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/dialog/DialogChooseTeacher.d.ts +0 -10
|
@@ -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;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface UploadInfo {
|
|
3
|
+
error?: string;
|
|
4
|
+
success?: boolean;
|
|
5
|
+
isUploading?: boolean;
|
|
6
|
+
importedFiles?: string;
|
|
7
|
+
rejectedFiles?: string;
|
|
8
|
+
comment?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const useImportOneRoster: ({ errorImportRest }: {
|
|
11
|
+
errorImportRest: any;
|
|
12
|
+
}) => {
|
|
13
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
14
|
+
fileProgress: number;
|
|
15
|
+
uploadInfo: UploadInfo | undefined;
|
|
16
|
+
uploadIcon: JSX.Element | undefined;
|
|
17
|
+
uploadMessage: JSX.Element | undefined;
|
|
18
|
+
importIcon: JSX.Element | undefined;
|
|
19
|
+
importMessage: JSX.Element | undefined;
|
|
20
|
+
restApiInfo: object | undefined;
|
|
21
|
+
restApiProgress: JSX.Element[] | undefined;
|
|
22
|
+
setFileProgress: React.Dispatch<React.SetStateAction<number>>;
|
|
23
|
+
handleFileChange: () => Promise<void>;
|
|
24
|
+
importRosterZipFile: (file: File) => Promise<void>;
|
|
25
|
+
handleChooseZipFile: () => void;
|
|
26
|
+
handleImportFromRestfulApi: () => Promise<void>;
|
|
27
|
+
};
|
|
28
|
+
export default useImportOneRoster;
|