ketcher-react 2.9.0-rc.3 → 2.9.0-rc.4
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/index.js +33 -22
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +33 -22
- package/dist/index.modern.js.map +1 -1
- package/dist/script/editor/Editor.d.ts +3 -1
- package/dist/script/editor/tool/atom.d.ts +1 -1
- package/dist/script/ui/state/modal/atoms.d.ts +3 -3
- package/package.json +1 -1
|
@@ -75,7 +75,9 @@ declare class Editor implements KetcherEditor {
|
|
|
75
75
|
zoom(value?: any): any;
|
|
76
76
|
selection(ci?: any): Selection | null;
|
|
77
77
|
hover(ci: any, newTool?: any, event?: PointerEvent): void;
|
|
78
|
-
update(action: Action | true, ignoreHistory?: boolean
|
|
78
|
+
update(action: Action | true, ignoreHistory?: boolean, options?: {
|
|
79
|
+
extendCanvas: boolean;
|
|
80
|
+
}): void;
|
|
79
81
|
historySize(): {
|
|
80
82
|
undo: any;
|
|
81
83
|
redo: number;
|
|
@@ -22,7 +22,7 @@ declare class AtomTool {
|
|
|
22
22
|
isNotActiveTool: boolean | undefined;
|
|
23
23
|
constructor(editor: any, atomProps: any);
|
|
24
24
|
mousedown(event: any): void;
|
|
25
|
-
|
|
25
|
+
mouseLeaveClientArea(): void;
|
|
26
26
|
mouseover(): void;
|
|
27
27
|
mousemove(event: any): void;
|
|
28
28
|
mouseup(event: any): void;
|
|
@@ -5,9 +5,9 @@ declare type somePropertiesOfAtom = Partial<{
|
|
|
5
5
|
}>;
|
|
6
6
|
export declare function generateCommonProperties(selectedElements: Atom[]): somePropertiesOfAtom;
|
|
7
7
|
export declare function updateOnlyChangedProperties(atomId: any, userChangedAtom: any, molecule: any): {};
|
|
8
|
-
export declare function updateSelectedAtoms({
|
|
9
|
-
|
|
10
|
-
changeAtomPromise: any;
|
|
8
|
+
export declare function updateSelectedAtoms({ atoms, changeAtomPromise, editor }: {
|
|
9
|
+
atoms: number[];
|
|
11
10
|
editor: any;
|
|
11
|
+
changeAtomPromise: Promise<Atom>;
|
|
12
12
|
}): void;
|
|
13
13
|
export {};
|