ketcher-react 2.4.2 → 2.5.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/README.md +14 -8
- package/dist/Editor.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +11467 -6649
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11464 -6656
- package/dist/index.modern.js.map +1 -1
- package/dist/script/builders/ketcher/ButtonName.d.ts +1 -1
- package/dist/script/editor/Editor.d.ts +3 -1
- package/dist/script/editor/shared/closest.d.ts +1 -1
- package/dist/script/editor/tool/apoint.d.ts +18 -7
- package/dist/script/editor/tool/atom.d.ts +23 -18
- package/dist/script/editor/tool/attach.d.ts +19 -11
- package/dist/script/editor/tool/bond.d.ts +22 -15
- package/dist/script/editor/tool/chain.d.ts +21 -13
- package/dist/script/editor/tool/charge.d.ts +19 -8
- package/dist/script/editor/tool/enhanced-stereo.d.ts +7 -1
- package/dist/script/editor/tool/eraser.d.ts +24 -12
- package/dist/script/editor/tool/hand.d.ts +30 -0
- package/dist/script/editor/tool/helper/lasso.d.ts +45 -30
- package/dist/script/editor/tool/helper/locate.d.ts +36 -21
- package/dist/script/editor/tool/index.d.ts +4 -2
- package/dist/script/editor/tool/paste.d.ts +23 -13
- package/dist/script/editor/tool/reactionarrow.d.ts +21 -8
- package/dist/script/editor/tool/reactionmap.d.ts +21 -9
- package/dist/script/editor/tool/reactionplus.d.ts +19 -6
- package/dist/script/editor/tool/reactionunmap.d.ts +18 -3
- package/dist/script/editor/tool/rgroupatom.d.ts +18 -6
- package/dist/script/editor/tool/rgroupfragment.d.ts +18 -7
- package/dist/script/editor/tool/rotate.d.ts +22 -10
- package/dist/script/editor/tool/sgroup.d.ts +23 -11
- package/dist/script/editor/tool/simpleobject.d.ts +20 -7
- package/dist/script/editor/tool/template.d.ts +24 -19
- package/dist/script/editor/tool/text.d.ts +1 -2
- package/dist/script/ui/App/App.container.d.ts +1 -0
- package/dist/script/ui/App/App.d.ts +1 -0
- package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +1 -0
- package/dist/script/ui/App/AppHidden/AppHidden.d.ts +1 -0
- package/dist/script/ui/Portal/Portal.d.ts +1 -1
- package/dist/script/ui/action/action.types.d.ts +1 -1
- package/dist/script/ui/action/fullscreen.d.ts +23 -0
- package/dist/script/ui/action/functionalGroups.d.ts +3 -0
- package/dist/script/ui/action/help.d.ts +8 -0
- package/dist/script/ui/action/index.d.ts +74 -5
- package/dist/script/ui/action/isHidden.d.ts +1 -3
- package/dist/script/ui/action/server.d.ts +1 -3
- package/dist/script/ui/action/tools.d.ts +41 -0
- package/dist/script/ui/component/ContextMenu/ContextMenu.d.ts +1 -0
- package/dist/script/ui/component/cliparea/cliparea.d.ts +4 -0
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +8 -0
- package/dist/script/ui/component/form/Select/Select.d.ts +30 -0
- package/dist/script/ui/component/form/Select/Select.test.d.ts +1 -0
- package/dist/script/ui/{views/modal/components/PeriodTable/components/GenericGroups/components/components → component/form/Select}/index.d.ts +2 -1
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +1 -0
- package/dist/script/ui/component/form/combobox/combobox.d.ts +4 -0
- package/dist/script/ui/component/form/form/errorPopover.d.ts +5 -0
- package/dist/script/ui/component/form/form/form.d.ts +9 -4
- package/dist/script/ui/component/form/input.d.ts +19 -1
- package/dist/script/ui/component/form/{select.d.ts → select-list.d.ts} +0 -0
- package/dist/script/ui/component/structrender.d.ts +28 -4
- package/dist/script/ui/component/view/Atom/Atom.d.ts +2 -2
- package/dist/script/ui/component/view/Tabs/Tabs.d.ts +3 -0
- package/dist/script/ui/component/view/openbutton.d.ts +2 -0
- package/dist/script/ui/data/schema/options-schema.d.ts +2 -2
- package/dist/script/ui/data/schema/sdata-schema.d.ts +11 -9
- package/dist/script/ui/data/schema/struct-schema.d.ts +30 -28
- package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +1 -0
- package/dist/script/ui/dialog/template/TemplateDialog.d.ts +7 -1
- package/dist/script/ui/dialog/template/TemplateTable.d.ts +10 -7
- package/dist/script/ui/dialog/template/template-attach.d.ts +27 -1
- package/dist/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +3 -1
- package/dist/script/ui/state/editor/index.d.ts +1 -0
- package/dist/script/ui/state/request/index.d.ts +2 -0
- package/dist/script/ui/state/request/request.types.d.ts +3 -1
- package/dist/script/ui/{views/modal/components/PeriodTable/components/GenericGroups/components/index.d.ts → utils/fileOpener.d.ts} +1 -1
- package/dist/script/ui/utils/index.d.ts +3 -0
- package/dist/script/ui/views/components/Cursor.d.ts +6 -0
- package/dist/script/ui/views/components/Dialog/Dialog.d.ts +17 -9
- package/dist/script/ui/views/{modal/components/PeriodTable/components/GenericGroups/index.d.ts → components/Spinner/LoadingCircles.d.ts} +2 -1
- package/dist/script/ui/views/components/Spinner/index.d.ts +1 -1
- package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +8 -0
- package/dist/script/ui/views/components/index.d.ts +2 -2
- package/dist/script/ui/views/modal/Modal.d.ts +1 -0
- package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +7 -0
- package/dist/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +18 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
- package/dist/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
- package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +9 -4
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +2 -0
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +3 -2
- package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +3 -2
- package/dist/script/ui/views/modal/components/PeriodTable/components/index.d.ts +1 -1
- package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +1 -0
- package/dist/script/ui/views/{components/FunctionalGroups/FunctionalGroups.d.ts → modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts} +7 -8
- package/dist/script/ui/views/{components/Spinner/Spinner.d.ts → modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts} +5 -3
- package/dist/script/ui/views/modal/components/Text/Text.d.ts +1 -0
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +1 -0
- package/dist/script/ui/views/modal/components/document/Open/Open.container.d.ts +7 -1
- package/dist/script/ui/views/modal/components/document/Open/Open.d.ts +6 -1
- package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +20 -0
- package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +25 -0
- package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
- package/dist/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
- package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +21 -0
- package/dist/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +31 -0
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +16 -6
- package/dist/script/ui/views/modal/components/meta/About/About.d.ts +1 -1
- package/dist/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
- package/dist/script/ui/views/modal/components/meta/Settings/{components/Accordion → Accordion}/index.d.ts +0 -0
- package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +1 -0
- package/dist/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +41 -0
- package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +3 -0
- package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +2 -1
- package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +30 -9
- 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 +3 -1
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +1 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +1 -0
- package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +1 -0
- package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +2 -2
- package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +1 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +2 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +3 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +2 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +2 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +2 -2
- package/dist/script/ui/views/toolbars/LeftToolbar/Transform/Transform.d.ts +2 -2
- package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +2 -2
- package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +2 -2
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +1 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +1 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +1 -0
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +3 -4
- package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +3 -4
- package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +31 -0
- package/dist/script/ui/views/{components/FunctionalGroups/index.d.ts → toolbars/TopToolbar/Divider.d.ts} +2 -1
- package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +36 -0
- package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +26 -0
- package/dist/script/ui/views/toolbars/TopToolbar/IconButton.d.ts +26 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
- package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +28 -0
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +2 -2
- package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +40 -9
- package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +27 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +29 -0
- package/dist/script/ui/views/toolbars/TopToolbar/{ZoomList/ZoomList.d.ts → ZoomInput.d.ts} +9 -13
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +23 -0
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +22 -0
- package/dist/script/ui/views/toolbars/mediaSizes.d.ts +0 -2
- package/dist/script/ui/views/toolbars/toolbar.types.d.ts +4 -4
- package/package.json +47 -58
- package/LICENSE +0 -201
- package/dist/script/ui/component/form/measure-input.d.ts +0 -8
- package/dist/script/ui/component/view/spin.d.ts +0 -4
- package/dist/script/ui/views/modal/components/PeriodTable/components/GenericGroups/GenericGroups.d.ts +0 -7
- package/dist/script/ui/views/modal/components/PeriodTable/components/GenericGroups/components/GenGroup.d.ts +0 -8
- package/dist/script/ui/views/modal/components/PeriodTable/components/GenericGroups/components/components/GenSet.d.ts +0 -8
- package/dist/script/ui/views/modal/components/document/Save/SaveImageTab.d.ts +0 -4
- package/dist/script/ui/views/modal/components/meta/Settings/components/Accordion/Accordion.d.ts +0 -36
- package/dist/script/ui/views/toolbars/TopToolbar/HelpLink/HelpLink.d.ts +0 -19
- package/dist/script/ui/views/toolbars/TopToolbar/ZoomList/index.d.ts +0 -16
|
@@ -1,13 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Editor from '../Editor';
|
|
3
17
|
declare class ReactionPlusTool {
|
|
18
|
+
editor: Editor;
|
|
19
|
+
dragCtx: any;
|
|
4
20
|
constructor(editor: any);
|
|
5
|
-
editor: any;
|
|
6
21
|
mousedown(event: any): void;
|
|
7
|
-
dragCtx: {
|
|
8
|
-
xy0: any;
|
|
9
|
-
} | undefined;
|
|
10
22
|
mousemove(event: any): void;
|
|
11
23
|
mouseup(): boolean;
|
|
12
24
|
click(event: any): void;
|
|
13
25
|
}
|
|
26
|
+
export default ReactionPlusTool;
|
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Editor from '../Editor';
|
|
3
17
|
declare class ReactionUnmapTool {
|
|
18
|
+
editor: Editor;
|
|
4
19
|
constructor(editor: any);
|
|
5
|
-
editor: any;
|
|
6
20
|
mousemove(event: any): void;
|
|
7
21
|
mouseup(event: any): void;
|
|
8
22
|
}
|
|
23
|
+
export default ReactionUnmapTool;
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Editor from '../Editor';
|
|
3
17
|
declare class RGroupAtomTool {
|
|
18
|
+
editor: Editor;
|
|
4
19
|
constructor(editor: any);
|
|
5
|
-
editor: any;
|
|
6
|
-
struct: any;
|
|
7
|
-
sgroups: any;
|
|
8
|
-
functionalGroups: any;
|
|
9
20
|
mousemove(event: any): void;
|
|
10
21
|
click(event: any): true | undefined;
|
|
11
22
|
}
|
|
23
|
+
export default RGroupAtomTool;
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Editor from '../Editor';
|
|
3
17
|
declare class RGroupFragmentTool {
|
|
18
|
+
editor: Editor;
|
|
4
19
|
constructor(editor: any);
|
|
5
|
-
editor: any;
|
|
6
|
-
struct: any;
|
|
7
|
-
sgroups: any;
|
|
8
|
-
molecule: any;
|
|
9
|
-
functionalGroups: any;
|
|
10
20
|
mousemove(event: any): void;
|
|
11
21
|
click(event: any): true | undefined;
|
|
12
22
|
cancel(): void;
|
|
13
23
|
}
|
|
24
|
+
export default RGroupFragmentTool;
|
|
@@ -1,16 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Editor from '../Editor';
|
|
3
17
|
declare class RotateTool {
|
|
18
|
+
editor: Editor;
|
|
19
|
+
dragCtx: any;
|
|
20
|
+
isNotActiveTool: boolean | undefined;
|
|
4
21
|
constructor(editor: any, dir: any);
|
|
5
|
-
editor: any;
|
|
6
22
|
mousedown(event: any): boolean;
|
|
7
|
-
dragCtx: {
|
|
8
|
-
xy0: Vec2;
|
|
9
|
-
angle1: number;
|
|
10
|
-
} | undefined;
|
|
11
23
|
mousemove(event: any): boolean;
|
|
12
24
|
mouseup(): boolean;
|
|
13
|
-
cancel:
|
|
14
|
-
mouseleave:
|
|
25
|
+
cancel(): void;
|
|
26
|
+
mouseleave(): void;
|
|
15
27
|
}
|
|
16
|
-
|
|
28
|
+
export default RotateTool;
|
|
@@ -1,19 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 Editor from '../Editor';
|
|
4
17
|
declare class SGroupTool {
|
|
5
|
-
|
|
6
|
-
editor: any;
|
|
7
|
-
struct: any;
|
|
8
|
-
sgroups: any;
|
|
9
|
-
molecule: any;
|
|
10
|
-
functionalGroups: any;
|
|
18
|
+
editor: Editor;
|
|
11
19
|
type: any;
|
|
12
|
-
lassoHelper:
|
|
20
|
+
lassoHelper: any;
|
|
21
|
+
isNotActiveTool: boolean | undefined;
|
|
22
|
+
constructor(editor: any, type: any);
|
|
23
|
+
checkSelection(): void;
|
|
13
24
|
mousedown(event: any): void;
|
|
14
25
|
mousemove(event: any): void;
|
|
15
26
|
mouseleave(event: any): void;
|
|
16
27
|
mouseup(event: any): void;
|
|
17
28
|
cancel(): void;
|
|
18
29
|
}
|
|
19
|
-
|
|
30
|
+
export declare function sgroupDialog(editor: any, id: any, defaultType: any): void;
|
|
31
|
+
export default SGroupTool;
|
|
@@ -1,13 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Editor from '../Editor';
|
|
3
17
|
declare class SimpleObjectTool {
|
|
4
|
-
constructor(editor: any, mode: any);
|
|
5
18
|
mode: any;
|
|
6
|
-
editor:
|
|
19
|
+
editor: Editor;
|
|
20
|
+
dragCtx: any;
|
|
21
|
+
constructor(editor: any, mode: any);
|
|
7
22
|
mousedown(event: any): void;
|
|
8
|
-
dragCtx: {
|
|
9
|
-
p0: any;
|
|
10
|
-
} | undefined;
|
|
11
23
|
mousemove(event: any): void;
|
|
12
24
|
mouseup(event: any): boolean;
|
|
13
25
|
}
|
|
26
|
+
export default SimpleObjectTool;
|
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Editor from '../Editor';
|
|
3
17
|
declare class TemplateTool {
|
|
4
|
-
|
|
5
|
-
editor: any;
|
|
18
|
+
editor: Editor;
|
|
6
19
|
mode: any;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
template: {
|
|
12
|
-
aid: number;
|
|
13
|
-
bid: number;
|
|
14
|
-
} | undefined;
|
|
15
|
-
findItems: string[] | undefined;
|
|
20
|
+
template: any;
|
|
21
|
+
findItems: Array<string>;
|
|
22
|
+
dragCtx: any;
|
|
23
|
+
constructor(editor: any, tmpl: any);
|
|
16
24
|
mousedown(event: any): true | undefined;
|
|
17
|
-
dragCtx: {
|
|
18
|
-
xy0: any;
|
|
19
|
-
item: any;
|
|
20
|
-
} | undefined;
|
|
21
25
|
mousemove(event: any): boolean;
|
|
22
26
|
mouseup(event: any): boolean;
|
|
23
|
-
cancel: any;
|
|
24
|
-
mouseleave: any;
|
|
27
|
+
cancel(e: any): void;
|
|
28
|
+
mouseleave(e: any): void;
|
|
25
29
|
}
|
|
30
|
+
export default TemplateTool;
|
|
@@ -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 { AppCallProps } from './App';
|
|
17
18
|
declare const AppContainer: import("react-redux").ConnectedComponent<(props: AppCallProps) => JSX.Element, import("react-redux").Omit<AppCallProps, "checkServer">>;
|
|
18
19
|
export { AppContainer };
|
|
@@ -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
|
interface AppCallProps {
|
|
17
18
|
checkServer: () => void;
|
|
18
19
|
}
|
|
@@ -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 { AppHiddenCallProps } from './AppHidden';
|
|
17
18
|
declare const AppHiddenContainer: import("react-redux").ConnectedComponent<(props: AppHiddenCallProps) => JSX.Element, import("react-redux").Omit<AppHiddenCallProps, "onInitTmpls">>;
|
|
18
19
|
export { AppHiddenContainer };
|
|
@@ -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
|
interface AppHiddenCallProps {
|
|
17
18
|
onInitTmpls: (cacheEl: any, url: any) => void;
|
|
18
19
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
import { Dispatch } from 'redux';
|
|
17
|
-
declare type ToolVariant = 'about' | 'analyse' | 'arom' | 'bond-any' | 'bond-hydrogen' | 'bond-aromatic' | 'bond-crossed' | 'bond-dative' | 'bond-double' | 'bond-doublearomatic' | 'bond-down' | 'bond-single' | 'bond-singlearomatic' | 'bond-singledouble' | 'bond-triple' | 'bond-up' | 'bond-updown' | 'chain' | 'charge-minus' | 'charge-plus' | 'check' | 'chiral-flag' | 'cip' | 'clean' | 'copy' | 'copy-image' | 'cut' | 'dearom' | 'dropdown' | 'enhanced-stereo' | 'erase' | 'functional-groups' | 'generic-groups' | 'help' | 'layout' | 'logo' | 'miew' | 'clear' | 'open' | 'paste' | 'period-table' | 'reaction-arrow' | 'reaction-automap' | 'reaction-map' | 'reaction-plus' | 'reaction-unmap' | 'recognize' | 'redo' | 'rgroup-attpoints' | 'rgroup-fragment' | 'rgroup-label' | 'save' | 'select-fragment' | 'select-lasso' | 'select-rectangle' | 'settings' | 'sgroup' | 'sgroup-data' | 'template-0' | 'template-1' | 'template-2' | 'template-3' | 'template-4' | 'template-5' | 'template-6' | 'template-7' | 'template-lib' | 'text' | 'transform-flip-h' | 'transform-flip-v' | 'transform-rotate' | 'zoom-in' | 'zoom-out' | 'shape-circle' | 'shape-rectangle' | 'shape-polyline' | 'shape-line' | 'undo';
|
|
17
|
+
declare type ToolVariant = 'about' | 'analyse' | 'arom' | 'bond-any' | 'bond-hydrogen' | 'bond-aromatic' | 'bond-crossed' | 'bond-dative' | 'bond-double' | 'bond-doublearomatic' | 'bond-down' | 'bond-single' | 'bond-singlearomatic' | 'bond-singledouble' | 'bond-triple' | 'bond-up' | 'bond-updown' | 'chain' | 'charge-minus' | 'charge-plus' | 'check' | 'chiral-flag' | 'cip' | 'clean' | 'copy' | 'copy-image' | 'cut' | 'dearom' | 'dropdown' | 'enhanced-stereo' | 'erase' | 'fullscreen' | 'functional-groups' | 'generic-groups' | 'help' | 'layout' | 'logo' | 'miew' | 'clear' | 'open' | 'paste' | 'period-table' | 'reaction-arrow' | 'reaction-automap' | 'reaction-map' | 'reaction-plus' | 'reaction-unmap' | 'recognize' | 'redo' | 'rgroup-attpoints' | 'rgroup-fragment' | 'rgroup-label' | 'save' | 'select-fragment' | 'select-lasso' | 'select-rectangle' | 'settings' | 'sgroup' | 'sgroup-data' | 'template-0' | 'template-1' | 'template-2' | 'template-3' | 'template-4' | 'template-5' | 'template-6' | 'template-7' | 'template-lib' | 'text' | 'transform-flip-h' | 'transform-flip-v' | 'transform-rotate' | 'zoom-in' | 'zoom-out' | 'shape-circle' | 'shape-rectangle' | 'shape-polyline' | 'shape-line' | 'undo';
|
|
18
18
|
declare type Editor = any;
|
|
19
19
|
declare type Server = any;
|
|
20
20
|
declare type Options = any;
|
|
@@ -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
|
+
declare const _default: {
|
|
17
|
+
fullscreen: {
|
|
18
|
+
title: string;
|
|
19
|
+
action: () => void;
|
|
20
|
+
hidden: (options: any) => boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
export * from "./action.types";
|
|
2
2
|
export default config;
|
|
3
3
|
declare const config: {
|
|
4
|
+
help: {
|
|
5
|
+
shortcut: string[];
|
|
6
|
+
action: () => void | undefined;
|
|
7
|
+
hidden: (options: any) => boolean;
|
|
8
|
+
};
|
|
9
|
+
fullscreen: {
|
|
10
|
+
title: string;
|
|
11
|
+
action: () => void;
|
|
12
|
+
hidden: (options: any) => boolean;
|
|
13
|
+
};
|
|
4
14
|
'functional-groups': {
|
|
5
15
|
shortcut: string;
|
|
6
16
|
title: string;
|
|
7
17
|
action: {
|
|
8
18
|
dialog: string;
|
|
19
|
+
prop: {
|
|
20
|
+
tab: number;
|
|
21
|
+
};
|
|
9
22
|
};
|
|
10
23
|
selected: (editor: any) => boolean;
|
|
11
24
|
disabled: (_: any, __: any, options: any) => boolean;
|
|
@@ -42,6 +55,14 @@ declare const config: {
|
|
|
42
55
|
'zoom-list': {
|
|
43
56
|
hidden: (options: any) => boolean;
|
|
44
57
|
};
|
|
58
|
+
hand: {
|
|
59
|
+
title: string;
|
|
60
|
+
shortcut: string;
|
|
61
|
+
action: {
|
|
62
|
+
tool: string;
|
|
63
|
+
};
|
|
64
|
+
hidden: (options: any) => boolean;
|
|
65
|
+
};
|
|
45
66
|
'select-lasso': {
|
|
46
67
|
title: string;
|
|
47
68
|
shortcut: string;
|
|
@@ -90,6 +111,7 @@ declare const config: {
|
|
|
90
111
|
action: {
|
|
91
112
|
tool: string;
|
|
92
113
|
};
|
|
114
|
+
disabled: (editor: any) => boolean;
|
|
93
115
|
hidden: (options: any) => boolean;
|
|
94
116
|
};
|
|
95
117
|
'charge-plus': {
|
|
@@ -263,6 +285,38 @@ declare const config: {
|
|
|
263
285
|
};
|
|
264
286
|
hidden: (options: any) => boolean;
|
|
265
287
|
};
|
|
288
|
+
'reaction-arrow-elliptical-arc-arrow-filled-bow': {
|
|
289
|
+
title: string;
|
|
290
|
+
action: {
|
|
291
|
+
tool: string;
|
|
292
|
+
opts: import("ketcher-core").RxnArrowMode;
|
|
293
|
+
};
|
|
294
|
+
hidden: (options: any) => boolean;
|
|
295
|
+
};
|
|
296
|
+
'reaction-arrow-elliptical-arc-arrow-filled-triangle': {
|
|
297
|
+
title: string;
|
|
298
|
+
action: {
|
|
299
|
+
tool: string;
|
|
300
|
+
opts: import("ketcher-core").RxnArrowMode;
|
|
301
|
+
};
|
|
302
|
+
hidden: (options: any) => boolean;
|
|
303
|
+
};
|
|
304
|
+
'reaction-arrow-elliptical-arc-arrow-open-angle': {
|
|
305
|
+
title: string;
|
|
306
|
+
action: {
|
|
307
|
+
tool: string;
|
|
308
|
+
opts: import("ketcher-core").RxnArrowMode;
|
|
309
|
+
};
|
|
310
|
+
hidden: (options: any) => boolean;
|
|
311
|
+
};
|
|
312
|
+
'reaction-arrow-elliptical-arc-arrow-open-half-angle': {
|
|
313
|
+
title: string;
|
|
314
|
+
action: {
|
|
315
|
+
tool: string;
|
|
316
|
+
opts: import("ketcher-core").RxnArrowMode;
|
|
317
|
+
};
|
|
318
|
+
hidden: (options: any) => boolean;
|
|
319
|
+
};
|
|
266
320
|
'reaction-plus': {
|
|
267
321
|
title: string;
|
|
268
322
|
action: {
|
|
@@ -425,7 +479,7 @@ declare const config: {
|
|
|
425
479
|
action: {
|
|
426
480
|
dialog: string;
|
|
427
481
|
};
|
|
428
|
-
disabled: (editor: any, server: any, options: any) =>
|
|
482
|
+
disabled: (editor: any, server: any, options: any) => boolean;
|
|
429
483
|
hidden: (options: any) => boolean;
|
|
430
484
|
};
|
|
431
485
|
miew: {
|
|
@@ -433,7 +487,6 @@ declare const config: {
|
|
|
433
487
|
action: {
|
|
434
488
|
dialog: string;
|
|
435
489
|
};
|
|
436
|
-
disabled: () => boolean;
|
|
437
490
|
hidden: (options: any) => boolean;
|
|
438
491
|
};
|
|
439
492
|
clear: {
|
|
@@ -529,9 +582,6 @@ declare const config: {
|
|
|
529
582
|
};
|
|
530
583
|
hidden: (options: any) => boolean;
|
|
531
584
|
};
|
|
532
|
-
help: {
|
|
533
|
-
hidden: (options: any) => boolean;
|
|
534
|
-
};
|
|
535
585
|
about: {
|
|
536
586
|
title: string;
|
|
537
587
|
action: {
|
|
@@ -554,6 +604,13 @@ declare const config: {
|
|
|
554
604
|
};
|
|
555
605
|
hidden: (options: any) => boolean;
|
|
556
606
|
};
|
|
607
|
+
'extended-table': {
|
|
608
|
+
title: string;
|
|
609
|
+
action: {
|
|
610
|
+
dialog: string;
|
|
611
|
+
};
|
|
612
|
+
hidden: (options: any) => boolean;
|
|
613
|
+
};
|
|
557
614
|
'select-all': {
|
|
558
615
|
title: string;
|
|
559
616
|
shortcut: string;
|
|
@@ -576,4 +633,16 @@ declare const config: {
|
|
|
576
633
|
};
|
|
577
634
|
hidden: (options: any) => boolean;
|
|
578
635
|
};
|
|
636
|
+
'any-atom': {
|
|
637
|
+
title: string;
|
|
638
|
+
action: {
|
|
639
|
+
tool: string;
|
|
640
|
+
opts: {
|
|
641
|
+
label: string;
|
|
642
|
+
pseudo: string;
|
|
643
|
+
type: string;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
hidden: (options: any) => boolean;
|
|
647
|
+
};
|
|
579
648
|
};
|
|
@@ -13,6 +13,4 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
export default function isHidden(options:
|
|
17
|
-
buttons?: {};
|
|
18
|
-
}, buttonName: string): boolean;
|
|
16
|
+
export default function isHidden(options: any, buttonName: string): boolean;
|
|
@@ -98,7 +98,7 @@ declare namespace config {
|
|
|
98
98
|
export { dialog_2 as dialog };
|
|
99
99
|
}
|
|
100
100
|
export { action_7 as action };
|
|
101
|
-
export function disabled_7(editor: any, server: any, options: any):
|
|
101
|
+
export function disabled_7(editor: any, server: any, options: any): boolean;
|
|
102
102
|
export { disabled_7 as disabled };
|
|
103
103
|
export function hidden_7(options: any): boolean;
|
|
104
104
|
export { hidden_7 as hidden };
|
|
@@ -111,8 +111,6 @@ declare namespace config {
|
|
|
111
111
|
export { dialog_3 as dialog };
|
|
112
112
|
}
|
|
113
113
|
export { action_8 as action };
|
|
114
|
-
export function disabled_8(): boolean;
|
|
115
|
-
export { disabled_8 as disabled };
|
|
116
114
|
export function hidden_8(options: any): boolean;
|
|
117
115
|
export { hidden_8 as hidden };
|
|
118
116
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare var _default: {
|
|
2
|
+
hand: {
|
|
3
|
+
title: string;
|
|
4
|
+
shortcut: string;
|
|
5
|
+
action: {
|
|
6
|
+
tool: string;
|
|
7
|
+
};
|
|
8
|
+
hidden: (options: any) => boolean;
|
|
9
|
+
};
|
|
2
10
|
'select-lasso': {
|
|
3
11
|
title: string;
|
|
4
12
|
shortcut: string;
|
|
@@ -47,6 +55,7 @@ declare var _default: {
|
|
|
47
55
|
action: {
|
|
48
56
|
tool: string;
|
|
49
57
|
};
|
|
58
|
+
disabled: (editor: any) => boolean;
|
|
50
59
|
hidden: (options: any) => boolean;
|
|
51
60
|
};
|
|
52
61
|
'charge-plus': {
|
|
@@ -220,6 +229,38 @@ declare var _default: {
|
|
|
220
229
|
};
|
|
221
230
|
hidden: (options: any) => boolean;
|
|
222
231
|
};
|
|
232
|
+
'reaction-arrow-elliptical-arc-arrow-filled-bow': {
|
|
233
|
+
title: string;
|
|
234
|
+
action: {
|
|
235
|
+
tool: string;
|
|
236
|
+
opts: RxnArrowMode;
|
|
237
|
+
};
|
|
238
|
+
hidden: (options: any) => boolean;
|
|
239
|
+
};
|
|
240
|
+
'reaction-arrow-elliptical-arc-arrow-filled-triangle': {
|
|
241
|
+
title: string;
|
|
242
|
+
action: {
|
|
243
|
+
tool: string;
|
|
244
|
+
opts: RxnArrowMode;
|
|
245
|
+
};
|
|
246
|
+
hidden: (options: any) => boolean;
|
|
247
|
+
};
|
|
248
|
+
'reaction-arrow-elliptical-arc-arrow-open-angle': {
|
|
249
|
+
title: string;
|
|
250
|
+
action: {
|
|
251
|
+
tool: string;
|
|
252
|
+
opts: RxnArrowMode;
|
|
253
|
+
};
|
|
254
|
+
hidden: (options: any) => boolean;
|
|
255
|
+
};
|
|
256
|
+
'reaction-arrow-elliptical-arc-arrow-open-half-angle': {
|
|
257
|
+
title: string;
|
|
258
|
+
action: {
|
|
259
|
+
tool: string;
|
|
260
|
+
opts: RxnArrowMode;
|
|
261
|
+
};
|
|
262
|
+
hidden: (options: any) => boolean;
|
|
263
|
+
};
|
|
223
264
|
'reaction-plus': {
|
|
224
265
|
title: string;
|
|
225
266
|
action: {
|
|
@@ -4,6 +4,7 @@ export default ClipArea;
|
|
|
4
4
|
declare class ClipArea extends Component<any, any, any> {
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
textAreaRef: import("react").RefObject<any>;
|
|
7
|
+
componentDidMount(): void;
|
|
7
8
|
target: any;
|
|
8
9
|
listeners: {
|
|
9
10
|
mouseup: (event: any) => void;
|
|
@@ -12,5 +13,8 @@ declare class ClipArea extends Component<any, any, any> {
|
|
|
12
13
|
cut: (event: any) => void;
|
|
13
14
|
paste: (event: any) => void;
|
|
14
15
|
} | undefined;
|
|
16
|
+
shouldComponentUpdate(): boolean;
|
|
17
|
+
componentWillUnmount(): void;
|
|
18
|
+
render(): JSX.Element;
|
|
15
19
|
}
|
|
16
20
|
import { Component } from "react";
|