ados-rcm 1.1.506 → 1.1.507
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,32 @@
|
|
1
|
+
import { default as Quill } from 'quill';
|
2
|
+
export type OptionsObject = {
|
3
|
+
debug?: boolean;
|
4
|
+
handleOnPaste?: boolean | ((event: ClipboardEvent) => boolean);
|
5
|
+
ignoreImageTypes?: string[];
|
6
|
+
imageType?: string;
|
7
|
+
insertIntoEditor?: (base64URL: string, imageBlob: Blob, editor: Quill) => void;
|
8
|
+
keepImageTypes?: string[];
|
9
|
+
maxHeight?: number;
|
10
|
+
maxWidth?: number;
|
11
|
+
quality?: number;
|
12
|
+
suppressErrorLogging?: boolean;
|
13
|
+
validation?: boolean;
|
14
|
+
};
|
15
|
+
declare class ImageCompressor {
|
16
|
+
private quill;
|
17
|
+
private range?;
|
18
|
+
private options;
|
19
|
+
private imageDrop;
|
20
|
+
private fileHolder;
|
21
|
+
private Logger;
|
22
|
+
static b64toBlob(dataURI: string): Blob;
|
23
|
+
constructor(quill: Quill, options: OptionsObject);
|
24
|
+
destroy(): void;
|
25
|
+
selectLocalImage(onFileChanged?: () => void): void;
|
26
|
+
fileChanged(externallyProvidedFiles?: File[]): Promise<void>;
|
27
|
+
downscaleImageFromUrl(dataUrl: string): Promise<string>;
|
28
|
+
insertToEditor(url: string, blob: Blob): void;
|
29
|
+
logFileSize(dataUrl: string): void;
|
30
|
+
}
|
31
|
+
export type { OptionsObject as ImageCompressorOptions };
|
32
|
+
export default ImageCompressor;
|
@@ -29,6 +29,12 @@ export interface IAInputProps extends IABaseProps, IAWrapProps {
|
|
29
29
|
* Description : decides whether the input is focused or not
|
30
30
|
*/
|
31
31
|
autoFocus?: boolean;
|
32
|
+
/**
|
33
|
+
* dataList? : string[] | readonly string[]
|
34
|
+
*
|
35
|
+
* Description : dataList of AInput
|
36
|
+
*/
|
37
|
+
dataList?: string[] | readonly string[];
|
32
38
|
/**
|
33
39
|
* inputProps? : React.InputHTMLAttributes<HTMLInputElement>
|
34
40
|
*
|
@@ -95,12 +101,6 @@ export interface IAInputProps extends IABaseProps, IAWrapProps {
|
|
95
101
|
* Description : useValue of AInput
|
96
102
|
*/
|
97
103
|
useValue?: TUseValues<string | number | readonly string[], string>;
|
98
|
-
/**
|
99
|
-
* dataList? : string[] | readonly string[]
|
100
|
-
*
|
101
|
-
* Description : dataList of AInput
|
102
|
-
*/
|
103
|
-
dataList?: string[] | readonly string[];
|
104
104
|
}
|
105
105
|
/**
|
106
106
|
* AComponent : AInput
|
@@ -329,6 +329,12 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
329
329
|
* Description : decides whether the input is focused or not
|
330
330
|
*/
|
331
331
|
autoFocus?: boolean;
|
332
|
+
/**
|
333
|
+
* dataList? : string[] | readonly string[]
|
334
|
+
*
|
335
|
+
* Description : dataList of the String filter
|
336
|
+
*/
|
337
|
+
dataList?: string[] | readonly string[];
|
332
338
|
/**
|
333
339
|
* filterKey? : keyof K = [key of this filter]
|
334
340
|
*
|
@@ -384,12 +390,6 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
384
390
|
* Description : value of the String filter
|
385
391
|
*/
|
386
392
|
value?: string;
|
387
|
-
/**
|
388
|
-
* dataList? : string[] | readonly string[]
|
389
|
-
*
|
390
|
-
* Description : dataList of the String filter
|
391
|
-
*/
|
392
|
-
dataList?: string[] | readonly string[];
|
393
393
|
};
|
394
394
|
}
|
395
395
|
export type TATableSomeFilter<T extends IItem, K extends IItem = any> = IATableFilter<T, K>[TATableFilterType];
|