ketcher-react 2.26.0-rc.1 → 2.26.0-rc.2
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/components/MonomerPreview/AmbiguousMonomerPreview/AmbiguousMonomerPreview.d.ts +2 -4
- package/dist/index.js +62 -52
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +62 -52
- package/dist/index.modern.js.map +1 -1
- package/dist/script/editor/Editor.d.ts +3 -1
- package/dist/script/ui/component/view/savebutton.d.ts +2 -3
- package/package.json +1 -1
|
@@ -69,9 +69,10 @@ declare class Editor implements KetcherEditor {
|
|
|
69
69
|
cursor: Subscription;
|
|
70
70
|
updateFloatingTools: Subscription<FloatingToolsParams>;
|
|
71
71
|
};
|
|
72
|
+
serverSettings: {};
|
|
72
73
|
lastEvent: any;
|
|
73
74
|
macromoleculeConvertionError: string | null | undefined;
|
|
74
|
-
constructor(clientArea: any, options: any);
|
|
75
|
+
constructor(clientArea: any, options: any, serverSettings: any);
|
|
75
76
|
isDitrty(): boolean;
|
|
76
77
|
setOrigin(): void;
|
|
77
78
|
tool(name?: any, opts?: any): Tool | null;
|
|
@@ -81,6 +82,7 @@ declare class Editor implements KetcherEditor {
|
|
|
81
82
|
structToAddFragment(value: Struct): Struct;
|
|
82
83
|
setOptions(opts: string): false | import("ketcher-core").RenderOptions;
|
|
83
84
|
options(value?: any): import("ketcher-core").RenderOptions;
|
|
85
|
+
setServerSettings(serverSettings: any): void;
|
|
84
86
|
private updateToolAfterOptionsChange;
|
|
85
87
|
zoom(value?: any, event?: WheelEvent): number;
|
|
86
88
|
centerStruct(): void;
|
|
@@ -13,16 +13,15 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import {
|
|
16
|
+
import { GenerateImageOptions } from 'ketcher-core';
|
|
17
17
|
import { PropsWithChildren } from 'react';
|
|
18
18
|
declare type Props = {
|
|
19
19
|
server?: any;
|
|
20
20
|
filename: string;
|
|
21
|
-
outputFormat?: OutputFormatType;
|
|
22
|
-
bondThickness?: number;
|
|
23
21
|
data: any;
|
|
24
22
|
type?: string;
|
|
25
23
|
mode?: string;
|
|
24
|
+
options?: GenerateImageOptions;
|
|
26
25
|
onSave?: () => void;
|
|
27
26
|
onError?: (err: any) => void;
|
|
28
27
|
className?: string;
|