ketcher-react 2.7.0-rc.3 → 2.7.0-rc.5
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.css +1 -7952
- package/dist/index.css.map +1 -1
- package/dist/index.js +296 -259
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +298 -261
- package/dist/index.modern.js.map +1 -1
- package/dist/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
- package/dist/script/ui/state/functionalGroups/index.d.ts +1 -1
- package/dist/script/ui/state/saltsAndSolvents/index.d.ts +1 -1
- package/dist/script/ui/utils/index.d.ts +2 -1
- package/dist/script/ui/utils/renderStruct.d.ts +9 -0
- package/dist/script/ui/views/Editor.d.ts +1 -1
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +1 -1
- package/dist/script/ui/views/modal/components/meta/About/About.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +1 -1
- package/package.json +2 -1
|
@@ -21,5 +21,5 @@ interface FGState {
|
|
|
21
21
|
}
|
|
22
22
|
declare const functionalGroupsReducer: (state: FGState | undefined, { type, payload }: AnyAction) => any;
|
|
23
23
|
export declare function highlightFG(dispatch: any, group: any): void;
|
|
24
|
-
export declare function initFGTemplates(
|
|
24
|
+
export declare function initFGTemplates(): (dispatch: any) => Promise<void>;
|
|
25
25
|
export default functionalGroupsReducer;
|
|
@@ -19,5 +19,5 @@ interface SaltsAndSolventsState {
|
|
|
19
19
|
mode: string;
|
|
20
20
|
}
|
|
21
21
|
declare const saltsAndSolventsReducer: (state: SaltsAndSolventsState | undefined, { type, payload }: AnyAction) => any;
|
|
22
|
-
export declare function initSaltsAndSolventsTemplates(
|
|
22
|
+
export declare function initSaltsAndSolventsTemplates(): (dispatch: any, getState: any) => Promise<void>;
|
|
23
23
|
export default saltsAndSolventsReducer;
|
|
@@ -2,5 +2,6 @@ import { Option } from '../component/form/Select';
|
|
|
2
2
|
export declare function greekify(str: string): string;
|
|
3
3
|
export declare function filterLib(lib: any, filter: string): {};
|
|
4
4
|
export declare function filterFGLib(lib: any, filter: any): {};
|
|
5
|
-
export { fileOpener } from './fileOpener';
|
|
6
5
|
export declare const getSelectOptionsFromSchema: (schema: any) => Array<Option>;
|
|
6
|
+
export { RenderStruct } from './renderStruct';
|
|
7
|
+
export { fileOpener } from './fileOpener';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Struct } from 'ketcher-core';
|
|
2
|
+
export declare class RenderStruct {
|
|
3
|
+
/**
|
|
4
|
+
* for S-Groups we want to show expanded structure
|
|
5
|
+
* without brackets
|
|
6
|
+
*/
|
|
7
|
+
static prepareStruct(struct: Struct): Struct;
|
|
8
|
+
static render(el: HTMLElement | null, struct: Struct | null, options?: any): void;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default Editor;
|
|
2
|
-
declare const Editor: import("react-redux").ConnectedComponent<typeof StructEditor, import("react-redux").Omit<any, "
|
|
2
|
+
declare const Editor: import("react-redux").ConnectedComponent<typeof StructEditor, import("react-redux").Omit<any, "options" | "type" | "indigoVerification">>;
|
|
3
3
|
import { StructEditor } from "./components";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Save;
|
|
2
|
-
declare const Save: import("react-redux").ConnectedComponent<typeof SaveDialog, import("react-redux").Omit<any, "
|
|
2
|
+
declare const Save: import("react-redux").ConnectedComponent<typeof SaveDialog, import("react-redux").Omit<any, "formState" | "options" | "server" | "struct" | "checkState" | "onCheck" | "moleculeErrors" | "onTmplSave" | "onResetForm">>;
|
|
3
3
|
declare class SaveDialog extends Component<any, any, any> {
|
|
4
4
|
static contextType: import("react").Context<import("../../../../../../../contexts").IErrorsContext>;
|
|
5
5
|
constructor(props: any);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default About;
|
|
2
|
-
declare const About: import("react-redux").ConnectedComponent<typeof AboutDialog, import("react-redux").Omit<any, "
|
|
2
|
+
declare const About: import("react-redux").ConnectedComponent<typeof AboutDialog, import("react-redux").Omit<any, "date" | "onOk" | "indigoVersion" | "indigoMachine" | "feedbackLink" | "overviewLink" | "lifeScienciesLink" | "version">>;
|
|
3
3
|
declare function AboutDialog(props: any): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default Recognize;
|
|
2
|
-
declare const Recognize: import("react-redux").ConnectedComponent<typeof RecognizeDialog, import("react-redux").Omit<any, "
|
|
2
|
+
declare const Recognize: import("react-redux").ConnectedComponent<typeof RecognizeDialog, import("react-redux").Omit<any, "fragment" | "file" | "onOk" | "structStr" | "version" | "onImage" | "imagoVersions" | "onRecognize" | "isFragment" | "onChangeImago">>;
|
|
3
3
|
declare function RecognizeDialog(prop: any): JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ketcher-react",
|
|
3
|
-
"version": "2.7.0-rc.
|
|
3
|
+
"version": "2.7.0-rc.5",
|
|
4
4
|
"description": "Web-based molecule sketcher",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "http://lifescience.opensource.epam.com/ketcher",
|
|
@@ -125,6 +125,7 @@
|
|
|
125
125
|
"rollup-plugin-delete": "^2.0.0",
|
|
126
126
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
127
127
|
"rollup-plugin-postcss": "^4.0.2",
|
|
128
|
+
"rollup-plugin-string": "^3.0.0",
|
|
128
129
|
"rollup-plugin-typescript2": "^0.31.1",
|
|
129
130
|
"rollup-plugin-visualizer": "^5.5.2",
|
|
130
131
|
"stylelint": "13.13.1",
|