ados-rcm 1.1.548 → 1.1.550
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/AModule/AComponents/AEditor/modules/Copy.d.ts +6 -1
- package/dist/AModule/AComponents/AEditor/modules/Divider.d.ts +2 -2
- package/dist/AModule/AComponents/AEditor/modules/ImageCompressor.d.ts +4 -4
- package/dist/AModule/AComponents/AWrap/AWrap.d.ts +13 -1
- package/dist/AModule/AUtils/objF.d.ts +2 -0
- package/dist/index.cjs.js +99 -99
- package/dist/index.es.js +3169 -3124
- package/package.json +3 -2
@@ -7,7 +7,7 @@ export interface ICopyModuleOptions {
|
|
7
7
|
isTitleMode?: boolean;
|
8
8
|
}
|
9
9
|
declare class CopyModule {
|
10
|
-
private quill;
|
10
|
+
private readonly quill;
|
11
11
|
private cleanupFunctions;
|
12
12
|
constructor(quill: Quill, options?: ICopyModuleOptions);
|
13
13
|
private setupTitleModePaste;
|
@@ -15,5 +15,10 @@ declare class CopyModule {
|
|
15
15
|
destroy(): void;
|
16
16
|
copyContent(options?: IClipboardOptions): Promise<boolean>;
|
17
17
|
copyToClipboard(text: string, html?: string, options?: IClipboardOptions): Promise<boolean>;
|
18
|
+
private tryModernClipboardWithHtml;
|
19
|
+
private tryModernClipboardText;
|
20
|
+
private tryLegacyClipboardWithHtml;
|
21
|
+
private tryLegacyClipboardText;
|
22
|
+
private tryClipboardEventCopy;
|
18
23
|
}
|
19
24
|
export default CopyModule;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
declare const BlockEmbed: any;
|
2
2
|
declare class Divider extends BlockEmbed {
|
3
3
|
static [x: string]: any;
|
4
|
-
static blotName
|
5
|
-
static tagName
|
4
|
+
static readonly blotName = "divider";
|
5
|
+
static readonly tagName = "hr";
|
6
6
|
static create(value: any): any;
|
7
7
|
}
|
8
8
|
export default Divider;
|
@@ -13,12 +13,12 @@ export type OptionsObject = {
|
|
13
13
|
validation?: boolean;
|
14
14
|
};
|
15
15
|
declare class ImageCompressor {
|
16
|
-
private quill;
|
16
|
+
private readonly quill;
|
17
17
|
private range?;
|
18
|
-
private options;
|
19
|
-
private imageDrop;
|
18
|
+
private readonly options;
|
19
|
+
private readonly imageDrop;
|
20
20
|
private fileHolder;
|
21
|
-
private Logger;
|
21
|
+
private readonly Logger;
|
22
22
|
static b64toBlob(dataURI: string): Blob;
|
23
23
|
constructor(quill: Quill, options: OptionsObject);
|
24
24
|
destroy(): void;
|
@@ -16,12 +16,24 @@ export interface IAWrapLabelProps {
|
|
16
16
|
* Description : Additional className for the label
|
17
17
|
*/
|
18
18
|
className?: string;
|
19
|
+
/**
|
20
|
+
* leftAddon?: React.ReactNode
|
21
|
+
*
|
22
|
+
* Description : Content to display before the label
|
23
|
+
*/
|
24
|
+
leftAddon?: React.ReactNode;
|
19
25
|
/**
|
20
26
|
* prefix? : React.ReactNode
|
21
27
|
*
|
22
28
|
* Description : Content to display before the label (icon, bullet point, etc.)
|
23
29
|
*/
|
24
|
-
prefix?:
|
30
|
+
prefix?: TIcons | boolean | JSX.Element;
|
31
|
+
/**
|
32
|
+
* rightAddon?: React.ReactNode
|
33
|
+
*
|
34
|
+
* Description : Content to display after the label
|
35
|
+
*/
|
36
|
+
rightAddon?: React.ReactNode;
|
25
37
|
/**
|
26
38
|
* style? : React.CSSProperties
|
27
39
|
*
|
@@ -5,6 +5,7 @@ export interface IObject {
|
|
5
5
|
}
|
6
6
|
export interface IItem extends IObject {
|
7
7
|
}
|
8
|
+
export declare const key: (index: number) => string;
|
8
9
|
/**
|
9
10
|
* objF : object functions
|
10
11
|
*/
|
@@ -12,6 +13,7 @@ export declare const objF: {
|
|
12
13
|
equal: <T extends IObject>(a: T, b: T) => boolean;
|
13
14
|
parse: <T>(value: string) => T | undefined;
|
14
15
|
stringify: (value: any, indent?: number | string) => string;
|
16
|
+
key: (index: number) => string;
|
15
17
|
keys: <T extends IObject>(obj: T) => (keyof T)[];
|
16
18
|
values: <T extends IObject>(obj: T) => T[keyof T][];
|
17
19
|
entries: <T extends IObject>(obj: T) => [keyof T, T[keyof T]][];
|