ketcher-react 2.15.0-rc.5 → 2.16.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/Editor.d.ts +2 -1
- package/dist/components/Accordion/Accordion.d.ts +2 -1
- package/dist/components/Buttons/Button/Button.d.ts +2 -1
- package/dist/components/Buttons/IconButton/IconButton.d.ts +2 -1
- package/dist/components/Buttons/IconButton/types.d.ts +2 -0
- package/dist/components/Icon/Icon.d.ts +2 -1
- package/dist/components/Icon/types.d.ts +2 -2
- package/dist/components/Icon/utils/iconNameToIcon.d.ts +2 -0
- package/dist/components/Input/Input.d.ts +2 -1
- package/dist/components/StructRender/StructRender.d.ts +2 -1
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +4105 -3033
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4143 -3070
- package/dist/index.modern.js.map +1 -1
- package/dist/script/editor/tool/paste.d.ts +2 -0
- package/dist/script/editor/tool/select.d.ts +3 -1
- package/dist/script/editor/tool/sgroup.d.ts +2 -1
- package/dist/script/editor/tool/template.d.ts +7 -12
- package/dist/script/editor/tool/templatePreview.d.ts +42 -0
- package/dist/script/ui/App/App.container.d.ts +2 -1
- package/dist/script/ui/App/App.d.ts +2 -1
- package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +2 -1
- package/dist/script/ui/App/AppHidden/AppHidden.d.ts +2 -1
- package/dist/script/ui/action/atoms.d.ts +1 -1
- package/dist/script/ui/action/index.d.ts +6 -6
- package/dist/script/ui/action/templates.d.ts +1 -1
- package/dist/script/ui/action/tools.d.ts +7 -7
- package/dist/script/ui/action/zoom.d.ts +1 -1
- package/dist/script/ui/component/actionmenu.d.ts +1 -1
- package/dist/script/ui/component/cliparea/cliparea.d.ts +4 -3
- package/dist/script/ui/component/form/Input/Input.d.ts +1 -1
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +3 -2
- package/dist/script/ui/component/form/Select/Select.d.ts +4 -2
- package/dist/script/ui/component/form/buttonlist.d.ts +1 -1
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +2 -1
- package/dist/script/ui/component/form/combobox/combobox.d.ts +1 -1
- package/dist/script/ui/component/form/form/errorPopover.d.ts +1 -1
- package/dist/script/ui/component/form/form/form.d.ts +7 -5
- package/dist/script/ui/component/form/select-checkbox.d.ts +1 -1
- package/dist/script/ui/component/form/select-list.d.ts +1 -1
- package/dist/script/ui/component/form/systemfonts.d.ts +1 -1
- package/dist/script/ui/component/view/Atom/Atom.d.ts +1 -1
- package/dist/script/ui/component/view/Tabs/Tabs.d.ts +1 -1
- package/dist/script/ui/component/view/openbutton.d.ts +1 -1
- package/dist/script/ui/component/view/savebutton.d.ts +1 -1
- package/dist/script/ui/data/convert/keynorm.d.ts +1 -0
- package/dist/script/ui/data/convert/structconv.d.ts +12 -0
- package/dist/script/ui/data/schema/struct-schema.d.ts +298 -180
- package/dist/script/ui/data/templates.d.ts +1 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +2 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +2 -1
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +4 -3
- package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +3 -2
- package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +2 -1
- package/dist/script/ui/dialog/template/template-attach.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/SDataFieldset.d.ts +1 -1
- package/dist/script/ui/dialog/toolbox/SGroupFieldset.d.ts +1 -1
- package/dist/script/ui/dialog/toolbox/labeledit.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +2 -2
- package/dist/script/ui/dialog/toolbox/sgroup.d.ts +2 -2
- package/dist/script/ui/state/constants.d.ts +1 -0
- package/dist/script/ui/state/hotkeys.d.ts +3 -3
- package/dist/script/ui/state/hotkeys.test.d.ts +1 -0
- package/dist/script/ui/state/modal/atoms.d.ts +2 -2
- package/dist/script/ui/state/modal/form.d.ts +14 -5
- package/dist/script/ui/views/components/Cursor.d.ts +1 -1
- package/dist/script/ui/views/components/Dialog/Dialog.d.ts +1 -0
- package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +2 -1
- package/dist/script/ui/views/components/StructEditor/InfoTooltip.d.ts +23 -0
- package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +1 -1
- package/dist/script/ui/views/modal/Modal.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +2 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +1 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +3 -2
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +2 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +2 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +2 -1
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +2 -1
- package/dist/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +2 -1
- package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +2 -2
- package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +1 -1
- package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +1 -1
- package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Text/Text.d.ts +2 -1
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +2 -1
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +5 -5
- package/dist/script/ui/views/modal/components/meta/About/About.d.ts +1 -1
- package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +2 -1
- package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +1 -1
- package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +2 -1
- package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +1 -1
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +2 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +2 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +4 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Atom/helper.d.ts +6 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +8 -4
- package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +2 -1
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +2 -1
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +2 -1
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +2 -1
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +3 -2
- package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +1 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +2 -1
- package/package.json +3 -3
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
declare const EmptySearchResult: ({ textInfo }: {
|
|
17
18
|
textInfo: any;
|
|
18
|
-
}) =>
|
|
19
|
+
}) => JSX.Element;
|
|
19
20
|
export default EmptySearchResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare var _default: import("react-redux").ConnectedComponent<typeof Attach, import("react-redux").Omit<import("react").ClassAttributes<Attach> & {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
onInit: any;
|
|
4
4
|
}, string | number>>;
|
|
@@ -28,6 +28,6 @@ declare class Attach extends Component<any, any, any> {
|
|
|
28
28
|
};
|
|
29
29
|
} | null;
|
|
30
30
|
checkIsValidName(name: any): boolean;
|
|
31
|
-
render():
|
|
31
|
+
render(): JSX.Element;
|
|
32
32
|
}
|
|
33
33
|
import { Component } from "react";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare var _default: import("react-redux").ConnectedComponent<typeof LabelEdit, import("react-redux").Omit<any, "formState" | "dispatch">>;
|
|
2
2
|
export default _default;
|
|
3
|
-
declare function LabelEdit(props: any):
|
|
3
|
+
declare function LabelEdit(props: any): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare var _default: import("react-redux").ConnectedComponent<typeof RGroup, import("react-redux").Omit<{
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
disabledIds: any;
|
|
4
4
|
values: any;
|
|
@@ -12,4 +12,4 @@ declare function RGroup({ disabledIds, values, formState, type, ...props }: {
|
|
|
12
12
|
values: any;
|
|
13
13
|
formState: any;
|
|
14
14
|
type: any;
|
|
15
|
-
}):
|
|
15
|
+
}): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare var _default: import("react-redux").ConnectedComponent<typeof Sgroup, import("react-redux").Omit<{
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
formState: any;
|
|
4
4
|
}, "formState" | "dispatch">>;
|
|
@@ -6,4 +6,4 @@ export default _default;
|
|
|
6
6
|
declare function Sgroup({ formState, ...props }: {
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
formState: any;
|
|
9
|
-
}):
|
|
9
|
+
}): JSX.Element;
|
|
@@ -17,7 +17,7 @@ export declare function initKeydownListener(element: any): (dispatch: any, getSt
|
|
|
17
17
|
export declare function initClipboard(dispatch: any): {
|
|
18
18
|
formats: any[];
|
|
19
19
|
focused(): boolean;
|
|
20
|
-
onCut():
|
|
21
|
-
onCopy():
|
|
22
|
-
onPaste(data: any): void;
|
|
20
|
+
onCut(): {} | null;
|
|
21
|
+
onCopy(): {} | null;
|
|
22
|
+
onPaste(data: any, isSmarts: boolean): void;
|
|
23
23
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Atom, AtomPropertiesInContextMenu } from 'ketcher-core';
|
|
1
|
+
import { Atom, AtomPropertiesInContextMenu, AtomQueryProperties } from 'ketcher-core';
|
|
2
2
|
export declare function isAtomsArray(selectedElements: Atom | Atom[]): boolean;
|
|
3
3
|
export declare function updateSelectedAtoms({ atoms, changeAtomPromise, editor, }: {
|
|
4
4
|
atoms: number[];
|
|
5
5
|
editor: any;
|
|
6
|
-
changeAtomPromise: Promise<Atom> | PromiseLike<AtomPropertiesInContextMenu>;
|
|
6
|
+
changeAtomPromise: Promise<Atom> | PromiseLike<AtomPropertiesInContextMenu | AtomQueryProperties>;
|
|
7
7
|
}): void;
|
|
@@ -23,14 +23,21 @@ export namespace formsState {
|
|
|
23
23
|
const valid: boolean;
|
|
24
24
|
namespace result {
|
|
25
25
|
const label: string;
|
|
26
|
-
const charge:
|
|
26
|
+
const charge: null;
|
|
27
27
|
const explicitValence: number;
|
|
28
28
|
const hCount: number;
|
|
29
29
|
const invRet: number;
|
|
30
|
-
const isotope:
|
|
30
|
+
const isotope: null;
|
|
31
31
|
const radical: number;
|
|
32
32
|
const ringBondCount: number;
|
|
33
33
|
const substitutionCount: number;
|
|
34
|
+
const aromaticity: null;
|
|
35
|
+
const implicitHCount: null;
|
|
36
|
+
const ringMembership: null;
|
|
37
|
+
const ringSize: null;
|
|
38
|
+
const connectivity: null;
|
|
39
|
+
const chirality: null;
|
|
40
|
+
const customQuery: null;
|
|
34
41
|
}
|
|
35
42
|
}
|
|
36
43
|
namespace attachmentPoints {
|
|
@@ -60,9 +67,11 @@ export namespace formsState {
|
|
|
60
67
|
const valid_3: boolean;
|
|
61
68
|
export { valid_3 as valid };
|
|
62
69
|
export namespace result_3 {
|
|
63
|
-
const type: string;
|
|
64
|
-
const topology: number;
|
|
65
|
-
const center: number;
|
|
70
|
+
export const type: string;
|
|
71
|
+
export const topology: number;
|
|
72
|
+
export const center: number;
|
|
73
|
+
const customQuery_1: null;
|
|
74
|
+
export { customQuery_1 as customQuery };
|
|
66
75
|
}
|
|
67
76
|
export { result_3 as result };
|
|
68
77
|
}
|
|
@@ -13,4 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const LoadingCircles: () => JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/****************************************************************************
|
|
2
|
+
* Copyright 2021 EPAM Systems
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
import { FC } from 'react';
|
|
17
|
+
import { Render } from 'ketcher-core';
|
|
18
|
+
interface InfoPanelProps {
|
|
19
|
+
render: Render;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import("react-redux").ConnectedComponent<FC<InfoPanelProps>, import("react-redux").Omit<InfoPanelProps, "render">>;
|
|
23
|
+
export default _default;
|
|
@@ -15,7 +15,7 @@ declare class StructEditor extends Component<any, any, any> {
|
|
|
15
15
|
componentDidMount(): void;
|
|
16
16
|
editor: Editor | undefined;
|
|
17
17
|
componentWillUnmount(): void;
|
|
18
|
-
render():
|
|
18
|
+
render(): JSX.Element;
|
|
19
19
|
}
|
|
20
20
|
import { Component } from "react";
|
|
21
21
|
import Editor from "../../../../editor";
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { BaseCallProps } from './modal.types';
|
|
17
18
|
interface ModalProps extends BaseCallProps {
|
|
18
19
|
modal: {
|
|
@@ -22,6 +23,6 @@ interface ModalProps extends BaseCallProps {
|
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
declare type Props = ModalProps & BaseCallProps;
|
|
25
|
-
declare function Modal(props: Props):
|
|
26
|
+
declare function Modal(props: Props): JSX.Element | null;
|
|
26
27
|
export type { ModalProps };
|
|
27
28
|
export { Modal };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare type ConfirmProps = {
|
|
2
3
|
onOk: () => void;
|
|
3
4
|
onCancel: () => void;
|
|
4
5
|
};
|
|
5
|
-
export declare const Confirm: ({ onOk, onCancel }: ConfirmProps) =>
|
|
6
|
+
export declare const Confirm: ({ onOk, onCancel }: ConfirmProps) => JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export default ExtendedTable;
|
|
2
|
-
declare const ExtendedTable: import("react-redux").ConnectedComponent<(props: any) =>
|
|
2
|
+
declare const ExtendedTable: import("react-redux").ConnectedComponent<(props: any) => JSX.Element, any>;
|
|
@@ -13,5 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
17
|
-
export declare const
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const HorizontalBoxWithLines: () => JSX.Element;
|
|
18
|
+
export declare const VerticalBoxWithLines: () => JSX.Element;
|
package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import type { GenGroup as GenGroupType } from 'ketcher-core';
|
|
17
18
|
declare type GenProps = {
|
|
18
19
|
selected: (label: string) => boolean;
|
|
@@ -20,5 +21,5 @@ declare type GenProps = {
|
|
|
20
21
|
group: GenGroupType;
|
|
21
22
|
disabledQueryElements: Array<string> | null;
|
|
22
23
|
};
|
|
23
|
-
declare const GenGroup: ({ group, onAtomSelect, selected, disabledQueryElements, }: GenProps) =>
|
|
24
|
+
declare const GenGroup: ({ group, onAtomSelect, selected, disabledQueryElements, }: GenProps) => JSX.Element;
|
|
24
25
|
export { GenGroup };
|
package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import type { GenItemSet } from 'ketcher-core';
|
|
17
18
|
declare type GenSetProps = {
|
|
18
19
|
labels: GenItemSet[];
|
|
@@ -22,5 +23,5 @@ declare type GenSetProps = {
|
|
|
22
23
|
group: string;
|
|
23
24
|
disabledQueryElements: Array<string> | null;
|
|
24
25
|
};
|
|
25
|
-
declare function GenSet({ labels, selected, onAtomSelect, className, group, disabledQueryElements, }: GenSetProps):
|
|
26
|
+
declare function GenSet({ labels, selected, onAtomSelect, className, group, disabledQueryElements, }: GenSetProps): JSX.Element;
|
|
26
27
|
export { GenSet };
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
declare type GenericGroupsProps = {
|
|
17
18
|
selected: (label: string) => boolean;
|
|
18
19
|
onAtomSelect: (label: string, activateImmediately: boolean) => void;
|
|
19
20
|
disabledQueryElements: Array<string> | null;
|
|
20
21
|
};
|
|
21
|
-
declare function GenericGroups({ selected, onAtomSelect, disabledQueryElements, }: GenericGroupsProps):
|
|
22
|
+
declare function GenericGroups({ selected, onAtomSelect, disabledQueryElements, }: GenericGroupsProps): JSX.Element;
|
|
22
23
|
export default GenericGroups;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { GenItem } from 'ketcher-core';
|
|
17
18
|
declare type ButtonGenSetProps = {
|
|
18
19
|
button: GenItem;
|
|
@@ -20,5 +21,5 @@ declare type ButtonGenSetProps = {
|
|
|
20
21
|
selected: (label: string) => boolean;
|
|
21
22
|
disabled: boolean;
|
|
22
23
|
};
|
|
23
|
-
declare const ButtonGenSet: ({ button, onAtomSelect, selected, disabled, }: ButtonGenSetProps) =>
|
|
24
|
+
declare const ButtonGenSet: ({ button, onAtomSelect, selected, disabled, }: ButtonGenSetProps) => JSX.Element;
|
|
24
25
|
export default ButtonGenSet;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
|
|
16
|
+
/// <reference types="react" />
|
|
17
|
+
declare function ErrorInfoModal(props: any): JSX.Element;
|
|
17
18
|
declare const InfoModal: import("react-redux").ConnectedComponent<typeof ErrorInfoModal, import("react-redux").Omit<any, "errorMessage" | "onOk">>;
|
|
18
19
|
export default InfoModal;
|
|
@@ -9,7 +9,7 @@ declare class Table extends Component<any, any, any> {
|
|
|
9
9
|
isInfo: boolean;
|
|
10
10
|
};
|
|
11
11
|
changeType: (type: any) => void;
|
|
12
|
-
headerContent: () =>
|
|
12
|
+
headerContent: () => JSX.Element;
|
|
13
13
|
selected: (label: any) => any;
|
|
14
14
|
onAtomSelect: (label: any, activateImmediately?: boolean) => void;
|
|
15
15
|
result: () => {
|
|
@@ -32,6 +32,6 @@ declare class Table extends Component<any, any, any> {
|
|
|
32
32
|
onMouseEnter: () => void;
|
|
33
33
|
onMouseLeave: () => void;
|
|
34
34
|
};
|
|
35
|
-
render():
|
|
35
|
+
render(): JSX.Element;
|
|
36
36
|
}
|
|
37
37
|
import { Component } from "react";
|
|
@@ -4,6 +4,6 @@ declare class ElementsTable extends Component<any, any, any> {
|
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
5
|
shouldComponentUpdate(nextProps: any): boolean;
|
|
6
6
|
getAtomClassNames: (item: any) => string[];
|
|
7
|
-
render():
|
|
7
|
+
render(): JSX.Element;
|
|
8
8
|
}
|
|
9
9
|
import { Component } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export default Header;
|
|
2
|
-
declare function Header():
|
|
2
|
+
declare function Header(): JSX.Element;
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
export declare const FontControl: ({ editorState, setEditorState, styles }: {
|
|
17
18
|
editorState: any;
|
|
18
19
|
setEditorState: any;
|
|
19
20
|
styles: any;
|
|
20
|
-
}) =>
|
|
21
|
+
}) => JSX.Element;
|
|
21
22
|
export default FontControl;
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
declare const SpecialSymbolsButton: ({ editorState, setEditorState, styles }: {
|
|
17
18
|
editorState: any;
|
|
18
19
|
setEditorState: any;
|
|
19
20
|
styles: any;
|
|
20
|
-
}) =>
|
|
21
|
+
}) => JSX.Element;
|
|
21
22
|
export { SpecialSymbolsButton };
|
package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
declare const SpecialSymbolsList: ({ select }: {
|
|
17
18
|
select: any;
|
|
18
|
-
}) =>
|
|
19
|
+
}) => JSX.Element;
|
|
19
20
|
export { SpecialSymbolsList };
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import 'draft-js/dist/Draft.css';
|
|
17
18
|
import { DialogParams } from '../../../components/Dialog/Dialog';
|
|
18
19
|
interface TextProps extends DialogParams {
|
|
@@ -21,5 +22,5 @@ interface TextProps extends DialogParams {
|
|
|
21
22
|
content: string;
|
|
22
23
|
position?: string;
|
|
23
24
|
}
|
|
24
|
-
declare const _default: import("react-redux").ConnectedComponent<(props: TextProps) =>
|
|
25
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: TextProps) => JSX.Element, import("react-redux").Omit<TextProps, "formState">>;
|
|
25
26
|
export default _default;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { TextCommand } from 'ketcher-core';
|
|
17
18
|
import { IconName } from 'components';
|
|
18
19
|
interface TextButtonProps {
|
|
@@ -26,5 +27,5 @@ interface TextButtonPropsCallProps {
|
|
|
26
27
|
toggleStyle: (command: TextCommand) => void;
|
|
27
28
|
}
|
|
28
29
|
declare type Props = TextButtonProps & TextButtonPropsCallProps;
|
|
29
|
-
export declare const TextButton: (props: Props) =>
|
|
30
|
+
export declare const TextButton: (props: Props) => JSX.Element;
|
|
30
31
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
export declare type AnalyzingFileProps = {
|
|
17
18
|
fileName?: string;
|
|
18
19
|
};
|
|
19
|
-
export declare const AnalyzingFile: ({ fileName }: AnalyzingFileProps) =>
|
|
20
|
+
export declare const AnalyzingFile: ({ fileName }: AnalyzingFileProps) => JSX.Element;
|
package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
declare type Props = {
|
|
17
18
|
clickHandler: () => void;
|
|
18
19
|
disabled: boolean;
|
|
@@ -20,5 +21,5 @@ declare type Props = {
|
|
|
20
21
|
styles: string;
|
|
21
22
|
title?: string;
|
|
22
23
|
};
|
|
23
|
-
export declare const DialogActionButton: ({ clickHandler, label, title, styles, disabled, }: Props) =>
|
|
24
|
+
export declare const DialogActionButton: ({ clickHandler, label, title, styles, disabled, }: Props) => JSX.Element;
|
|
24
25
|
export {};
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { DropzoneOptions } from 'react-dropzone';
|
|
17
18
|
import { IconName } from 'components';
|
|
18
19
|
declare type FileDropProps = {
|
|
@@ -22,5 +23,5 @@ declare type FileDropProps = {
|
|
|
22
23
|
disabled?: boolean;
|
|
23
24
|
disabledText?: string;
|
|
24
25
|
} & DropzoneOptions;
|
|
25
|
-
declare const FileDrop: ({ buttonLabel, textLabel, iconName, disabled, disabledText, ...rest }: FileDropProps) =>
|
|
26
|
+
declare const FileDrop: ({ buttonLabel, textLabel, iconName, disabled, disabledText, ...rest }: FileDropProps) => JSX.Element;
|
|
26
27
|
export { FileDrop };
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
export declare type TextEditorProps = {
|
|
17
18
|
structStr: string;
|
|
18
19
|
inputHandler: (str: string) => void;
|
|
19
20
|
autoFocus?: boolean;
|
|
20
21
|
};
|
|
21
|
-
export declare const TextEditor: ({ structStr, inputHandler, autoFocus, }: TextEditorProps) =>
|
|
22
|
+
export declare const TextEditor: ({ structStr, inputHandler, autoFocus, }: TextEditorProps) => JSX.Element;
|
|
@@ -36,10 +36,10 @@ declare class SaveDialog extends Component<any, any, any> {
|
|
|
36
36
|
changeType: (type: any) => any;
|
|
37
37
|
changeTab: (index: any) => void;
|
|
38
38
|
getWarnings: (format: any) => any[];
|
|
39
|
-
renderForm: () =>
|
|
40
|
-
renderSaveFile: () =>
|
|
41
|
-
renderWarnings: () =>
|
|
42
|
-
getButtons: () =>
|
|
43
|
-
render():
|
|
39
|
+
renderForm: () => JSX.Element;
|
|
40
|
+
renderSaveFile: () => JSX.Element;
|
|
41
|
+
renderWarnings: () => JSX.Element | null;
|
|
42
|
+
getButtons: () => JSX.Element[];
|
|
43
|
+
render(): JSX.Element;
|
|
44
44
|
}
|
|
45
45
|
import { Component } from "react";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default About;
|
|
2
2
|
declare const About: import("react-redux").ConnectedComponent<typeof AboutDialog, import("react-redux").Omit<any, "date" | "onOk" | "indigoVersion" | "indigoMachine" | "feedbackLink" | "overviewLink" | "lifeScienciesLink" | "version">>;
|
|
3
|
-
declare function AboutDialog(props: any):
|
|
3
|
+
declare function AboutDialog(props: any): JSX.Element;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { BaseCallProps, BaseProps } from '../../../modal.types';
|
|
17
18
|
import { StructService } from 'ketcher-core';
|
|
18
19
|
interface SettingsProps extends BaseProps {
|
|
@@ -33,5 +34,5 @@ interface SettingsCallProps extends BaseCallProps {
|
|
|
33
34
|
onReset: () => void;
|
|
34
35
|
}
|
|
35
36
|
declare type Props = SettingsProps & SettingsCallProps;
|
|
36
|
-
declare const Settings: import("react-redux").ConnectedComponent<(props: Props) =>
|
|
37
|
+
declare const Settings: import("react-redux").ConnectedComponent<(props: Props) => JSX.Element, any>;
|
|
37
38
|
export default Settings;
|
|
@@ -5,6 +5,6 @@ declare class AnalyseDialog extends Component<any, any, any> {
|
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
constructor(props: any, context: any);
|
|
7
7
|
componentDidMount(): void;
|
|
8
|
-
render():
|
|
8
|
+
render(): JSX.Element;
|
|
9
9
|
}
|
|
10
10
|
import { Component } from "react";
|
|
@@ -14,4 +14,4 @@ export default ErrorsCheck;
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
***************************************************************************/
|
|
17
|
-
declare function ErrorsCheck(props: any):
|
|
17
|
+
declare function ErrorsCheck(props: any): JSX.Element;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { Struct, StructService } from 'ketcher-core';
|
|
17
18
|
declare type MiewDialogProps = {
|
|
18
19
|
miewOpts: any;
|
|
@@ -26,5 +27,5 @@ declare type MiewDialogCallProps = {
|
|
|
26
27
|
onExportCML: (cmlStruct: string) => void;
|
|
27
28
|
};
|
|
28
29
|
declare type Props = MiewDialogProps & MiewDialogCallProps;
|
|
29
|
-
declare const Miew: import("react-redux").ConnectedComponent<({ miewOpts, server, struct, onExportCML, miewTheme, ...prop }: Props) =>
|
|
30
|
+
declare const Miew: import("react-redux").ConnectedComponent<({ miewOpts, server, struct, onExportCML, miewTheme, ...prop }: Props) => JSX.Element, import("react-redux").Omit<MiewDialogProps & MiewDialogCallProps, "miewOpts" | "server" | "struct" | "onExportCML" | "miewTheme">>;
|
|
30
31
|
export default Miew;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default Recognize;
|
|
2
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
|
-
declare function RecognizeDialog(prop: any):
|
|
3
|
+
declare function RecognizeDialog(prop: any): JSX.Element;
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
/// <reference types="react" />
|
|
17
17
|
declare const AtomContainer: import("react-redux").ConnectedComponent<import("react").FC<import("./Atom").AtomProps & {
|
|
18
18
|
isMultipleAtoms?: boolean | undefined;
|
|
19
|
+
isRestoredModal: boolean;
|
|
19
20
|
}>, import("react-redux").Omit<import("./Atom").AtomProps & {
|
|
20
21
|
isMultipleAtoms?: boolean | undefined;
|
|
22
|
+
isRestoredModal: boolean;
|
|
21
23
|
}, "formState">>;
|
|
22
24
|
export default AtomContainer;
|