mario-education 2.4.247-release → 2.4.249-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/hooks/useDashboard.d.ts +3 -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 +161 -133
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +161 -133
- 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
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn } from "../configs/types";
|
|
2
|
+
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox } from "../configs/types";
|
|
3
3
|
import { IFilter, Student, ISeries } from "../../../utils/type";
|
|
4
4
|
declare const useDashboard: () => {
|
|
5
5
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
@@ -46,5 +46,7 @@ declare const useDashboard: () => {
|
|
|
46
46
|
dayOfWeekConference: string[];
|
|
47
47
|
handleActiveColumnConference: (index: number) => void;
|
|
48
48
|
activeColumnConference: boolean[];
|
|
49
|
+
labelBox: ILabelBox;
|
|
50
|
+
setLabelBox: import("react").Dispatch<import("react").SetStateAction<ILabelBox>>;
|
|
49
51
|
};
|
|
50
52
|
export default useDashboard;
|
|
@@ -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;
|