mario-education 2.4.216-external → 2.4.216-plp

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.
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ disabledImportRest: boolean;
4
+ }
5
+ declare const Rostering: FC<Props>;
6
+ export default Rostering;
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ interface UploadInfo {
3
+ error?: string;
4
+ success?: string;
5
+ isUploading?: boolean;
6
+ }
7
+ declare const useRostering: () => {
8
+ inputRef: React.RefObject<HTMLInputElement>;
9
+ fileProgress: number;
10
+ uploadInfo: UploadInfo | undefined;
11
+ uploadIcon: JSX.Element | undefined;
12
+ uploadMessage: JSX.Element | undefined;
13
+ importIcon: JSX.Element | undefined;
14
+ importMessage: JSX.Element | undefined;
15
+ restApiInfo: object | undefined;
16
+ restApiProgress: JSX.Element[] | undefined;
17
+ setFileProgress: React.Dispatch<React.SetStateAction<number>>;
18
+ handleFileChange: () => Promise<void>;
19
+ importRosterZipFile: (file: File) => Promise<void>;
20
+ handleChooseZipFile: () => void;
21
+ handleImportFromRestfulApi: () => Promise<void>;
22
+ };
23
+ export default useRostering;
@@ -0,0 +1,13 @@
1
+ import { FilterTypes } from "../configs/constants";
2
+ declare const useGetUserList: () => {
3
+ handleSyncRosterUsers: () => Promise<void>;
4
+ totalItem: number;
5
+ userList: never[];
6
+ filters: FilterTypes;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ handleSelectAll: () => void;
9
+ handleClickCheck: (e: any) => void;
10
+ isCheckAll: boolean;
11
+ isCheck: any;
12
+ };
13
+ export default useGetUserList;
@@ -0,0 +1,5 @@
1
+ declare const useResendMail: () => {
2
+ handleSendMultiUsers: (listUserIds: any) => void;
3
+ handleSendSingleUser: (userId: string) => void;
4
+ };
5
+ export default useResendMail;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const WelcomeEmailResend: () => JSX.Element;
3
+ export default WelcomeEmailResend;
@@ -0,0 +1,4 @@
1
+ export declare const getRosterConfig: () => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const updateRosterConfig: (data: any) => Promise<import("axios").AxiosResponse<any>>;
3
+ export declare const importRosterFromFile: (body: FormData, cb?: ((progressEvent: ProgressEvent) => void) | undefined) => Promise<import("axios").AxiosResponse<any>>;
4
+ export declare const importRosterFromRestfulApi: (fileName: string) => Promise<import("axios").AxiosResponse<any>>;