ados-rcm 1.1.741 → 1.1.742
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.
|
@@ -17,7 +17,7 @@ export interface IAEditorProps extends IABaseProps, IAWrapProps {
|
|
|
17
17
|
contentMaxHeight?: number;
|
|
18
18
|
editorClassName?: string;
|
|
19
19
|
editorProps?: ReactQuill.ReactQuillProps;
|
|
20
|
-
editorRef?: React.
|
|
20
|
+
editorRef?: React.RefObject<IAEditorRef | null> | ((instance: IAEditorRef | null) => void);
|
|
21
21
|
editorStyle?: React.CSSProperties;
|
|
22
22
|
limitPosition?: TAEditorLimitPosition;
|
|
23
23
|
maxHeight?: number;
|
|
@@ -79,7 +79,7 @@ declare class Resize extends BaseModule {
|
|
|
79
79
|
}
|
|
80
80
|
declare class Keyboard extends BaseModule {
|
|
81
81
|
keyboardProxy: ((evt: KeyboardEvent) => void) | null;
|
|
82
|
-
static keys: {
|
|
82
|
+
static readonly keys: {
|
|
83
83
|
BACKSPACE: number;
|
|
84
84
|
DELETE: number;
|
|
85
85
|
LEFT: number;
|
|
@@ -121,7 +121,7 @@ declare class Toolbar extends BaseModule {
|
|
|
121
121
|
apply: (activeEle: HTMLElement) => void;
|
|
122
122
|
isApplied: (activeEle: HTMLElement) => boolean;
|
|
123
123
|
};
|
|
124
|
-
static Tools: Record<TImageResizerTool, {
|
|
124
|
+
static readonly Tools: Record<TImageResizerTool, {
|
|
125
125
|
apply?: (activeEle: HTMLElement) => void;
|
|
126
126
|
handler?: (this: Toolbar, evt: MouseEvent, button: HTMLElement, activeEle: HTMLElement) => boolean | void;
|
|
127
127
|
icon: TIcons;
|
|
@@ -132,7 +132,7 @@ declare class Toolbar extends BaseModule {
|
|
|
132
132
|
addButtonClickHandler(button: HTMLElement, tool: (typeof Toolbar.Tools)[TImageResizerTool]): void;
|
|
133
133
|
}
|
|
134
134
|
export default class QuillResize {
|
|
135
|
-
static Modules: {
|
|
135
|
+
static readonly Modules: {
|
|
136
136
|
Base: typeof BaseModule;
|
|
137
137
|
DisplaySize: typeof DisplaySize;
|
|
138
138
|
Toolbar: typeof Toolbar;
|