mario-education 2.4.255-release → 2.4.256-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/components/Select/Autocomplete.d.ts +2 -0
- 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/MarioFramework.Education/ClientApp/src/containers/QuestionCategory/hooks/useQuestionCateDetail.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/questionCategoryService.d.ts +0 -1
- package/dist/MarioFramework.Education/ClientApp/src/utils/function.d.ts +3 -0
- package/dist/index.css +5338 -5338
- package/dist/index.js +56 -140
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +56 -140
- 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/SurveyDashboard/hooks/useAdditionalQuestionModel.d.ts +0 -5
|
@@ -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;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Filter } from "mario-core";
|
|
2
2
|
export declare const get: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
-
export declare const getParentLevel0: (level?: string | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
3
|
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
4
|
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
5
|
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|