mario-education 2.4.190-survey → 2.4.192-level

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.
@@ -102,7 +102,7 @@ export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearnin
102
102
  name: string;
103
103
  data: import("react").ReactText[][];
104
104
  }[];
105
- export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek: string[], isCountSeries?: boolean | undefined) => ApexOptions;
105
+ export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], dayOfWeek: string[], isCountSeries?: boolean | undefined) => ApexOptions;
106
106
  export declare const optionLineChart: (months: string[], activeData: boolean[], colors: string[], dayOfWeek: string[]) => ApexOptions;
107
107
  export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], dayOfWeek: string[], newseries?: any) => ApexOptions;
108
108
  export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
@@ -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,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>>;