ketcher-react 2.2.0 → 2.3.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/LICENSE +1 -1
- package/dist/Editor.d.ts +3 -0
- package/dist/contexts/appContext.d.ts +6 -0
- package/dist/contexts/index.d.ts +3 -2
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useAppContext.d.ts +1 -0
- package/dist/hooks/useResizeObserver.d.ts +1 -1
- package/dist/hooks/useSettingsContext.d.ts +1 -1
- package/dist/index.css +3 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16256 -21706
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +16169 -21618
- package/dist/index.modern.js.map +1 -1
- package/dist/script/api.d.ts +2 -2
- package/dist/script/builders/ketcher/KetcherBuilder.d.ts +1 -1
- package/dist/script/editor/Editor.d.ts +11 -4
- package/dist/script/editor/actions/bond.d.ts +24 -24
- package/dist/script/editor/actions/reaction.d.ts +1 -1
- package/dist/script/editor/actions/text.d.ts +6 -0
- package/dist/script/editor/actions/utils.d.ts +1 -2
- package/dist/script/editor/operations/CanvasLoad.d.ts +1 -1
- package/dist/script/editor/operations/EnhancedFlagMove.d.ts +1 -1
- package/dist/script/editor/operations/FragmentStereoFlag.d.ts +3 -5
- package/dist/script/editor/operations/LoopMove.d.ts +1 -1
- package/dist/script/editor/operations/OperationType.d.ts +5 -0
- package/dist/script/editor/operations/Text/TextCreateDelete.d.ts +41 -0
- package/dist/script/{chem/struct/simpleObject.d.ts → editor/operations/Text/TextMove.d.ts} +12 -15
- package/dist/script/{util/pool.d.ts → editor/operations/Text/TextUpdate.d.ts} +14 -10
- package/dist/script/editor/operations/Text/index.d.ts +3 -0
- package/dist/script/editor/operations/atom/AtomAttr.d.ts +1 -1
- package/dist/script/editor/operations/atom/AtomMove.d.ts +1 -1
- package/dist/script/editor/operations/base.d.ts +2 -2
- package/dist/script/editor/operations/bond/BondAttr.d.ts +1 -1
- package/dist/script/editor/operations/bond/BondMove.d.ts +1 -1
- package/dist/script/editor/operations/bond/index.d.ts +15 -0
- package/dist/script/{util/pile.d.ts → editor/operations/calcimplicitH.d.ts} +8 -10
- package/dist/script/editor/operations/fragment.d.ts +1 -1
- package/dist/script/editor/operations/fragmentStereoAtom.d.ts +1 -1
- package/dist/script/editor/operations/index.d.ts +2 -0
- package/dist/script/editor/operations/rxn/index.d.ts +18 -1
- package/dist/script/editor/operations/rxn/plus/RxnPlusMove.d.ts +1 -1
- package/dist/script/editor/operations/sgroup/index.d.ts +1 -1
- package/dist/script/editor/operations/sgroup/sgroupHierarchy.d.ts +0 -2
- package/dist/script/editor/operations/simpleObject.d.ts +9 -11
- package/dist/script/editor/shared/action.d.ts +2 -2
- package/dist/script/editor/shared/utils.d.ts +2 -2
- package/dist/script/editor/tool/attach.d.ts +4 -1
- package/dist/script/editor/tool/enhanced-stereo.d.ts +2 -1
- package/dist/script/editor/tool/helper/lasso.d.ts +3 -0
- package/dist/script/editor/tool/helper/locate.d.ts +2 -0
- package/dist/script/editor/tool/index.d.ts +2 -0
- package/dist/script/editor/tool/reactionarrow.d.ts +4 -4
- package/dist/script/editor/tool/rotate.d.ts +1 -1
- package/dist/script/editor/tool/text.d.ts +27 -0
- package/dist/script/editor/utils/elementOffset.d.ts +1 -1
- package/dist/script/index.d.ts +1 -1
- package/dist/script/ketcher.d.ts +1 -2
- package/dist/script/render/draw.d.ts +13 -7
- package/dist/script/render/index.d.ts +5 -5
- package/dist/script/render/restruct/GeneralEnumTypes.d.ts +35 -0
- package/dist/script/render/restruct/ReEnhancedFlag.d.ts +28 -0
- package/dist/script/render/restruct/ReObject.d.ts +32 -0
- package/dist/script/render/restruct/ReSimpleObject.d.ts +40 -0
- package/dist/script/render/restruct/ReStruct.d.ts +110 -0
- package/dist/script/render/restruct/ReText.d.ts +38 -0
- package/dist/script/render/restruct/index.d.ts +5 -84
- package/dist/script/render/restruct/reatom.d.ts +41 -17
- package/dist/script/render/restruct/rebond.d.ts +36 -26
- package/dist/script/render/restruct/redatasgroupdata.d.ts +3 -7
- package/dist/script/render/restruct/refrag.d.ts +3 -7
- package/dist/script/render/restruct/reloop.d.ts +4 -8
- package/dist/script/render/restruct/rergroup.d.ts +4 -7
- package/dist/script/render/restruct/rerxnarrow.d.ts +3 -7
- package/dist/script/render/restruct/rerxnplus.d.ts +3 -7
- package/dist/script/render/restruct/resgroup.d.ts +3 -6
- package/dist/script/render/restruct/visel.d.ts +1 -2
- package/dist/script/render/util.d.ts +1 -1
- package/dist/script/ui/action/action.types.d.ts +1 -1
- package/dist/script/ui/action/atoms.d.ts +1 -1
- package/dist/script/ui/action/debug.d.ts +2 -2
- package/dist/script/ui/action/index.d.ts +392 -2
- package/dist/script/ui/action/templates.d.ts +10 -1
- package/dist/script/ui/action/tools.d.ts +16 -1
- package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +12 -0
- package/dist/script/{chem/molfile/molfile.test.d.ts → ui/component/form/colorPicker/ColorPicker.test.d.ts} +0 -0
- package/dist/script/ui/component/view/savebutton.d.ts +1 -5
- package/dist/script/ui/data/convert/structConverter.d.ts +3 -3
- package/dist/script/ui/data/convert/structconv.d.ts +6 -4
- package/dist/script/ui/data/schema/options-schema.d.ts +25 -167
- package/dist/script/ui/data/schema/struct-schema.d.ts +20 -2
- package/dist/script/ui/data/templates.d.ts +1 -1
- package/dist/script/ui/dialog/index.d.ts +43 -7
- package/dist/script/ui/dialog/template/TemplateLib.d.ts +1 -1
- package/dist/script/ui/dialog/template/TemplateTable.d.ts +1 -1
- package/dist/script/ui/dialog/toolbox/enhancedStereo.d.ts +2 -0
- package/dist/script/ui/state/constants.d.ts +7 -0
- package/dist/script/ui/state/editor/index.d.ts +1 -2
- package/dist/script/ui/state/modal/form.d.ts +10 -2
- package/dist/script/ui/state/options/index.d.ts +4 -3
- package/dist/script/ui/state/shared.d.ts +1 -1
- package/dist/script/ui/views/components/Dialog/Dialog.d.ts +6 -8
- package/dist/script/ui/views/components/Dialog/index.d.ts +1 -1
- package/dist/script/ui/views/components/index.d.ts +1 -2
- package/dist/script/ui/views/modal/Modal.d.ts +4 -7
- package/dist/script/{format/chemGraph/toGraph/simpleObjectToGraph.d.ts → ui/views/modal/components/Text/Text.d.ts} +4 -5
- package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +14 -0
- package/dist/script/ui/views/modal/components/Text/TextButton/index.d.ts +1 -0
- package/dist/script/{util/scale.d.ts → ui/views/modal/components/Text/index.d.ts} +2 -8
- package/dist/script/ui/views/modal/components/document/Open/Open.container.d.ts +18 -0
- package/dist/script/ui/views/modal/components/document/Open/Open.d.ts +24 -2
- package/dist/script/ui/views/modal/components/document/Open/index.d.ts +1 -1
- package/dist/script/ui/views/modal/components/document/Save/SaveImageTab.d.ts +4 -0
- package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +16 -1
- package/dist/script/ui/views/modal/components/meta/Settings/components/Accordion/Accordion.d.ts +35 -13
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +20 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +36 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +6 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +20 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +24 -0
- package/dist/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +20 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +32 -0
- package/dist/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +20 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +10 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +20 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +28 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +19 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
- package/dist/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
- package/dist/script/ui/views/modal/modal.types.d.ts +28 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +2 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +1 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +15 -1
- package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +15 -0
- package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +15 -0
- package/dist/script/ui/views/toolbars/mediaSizes.d.ts +0 -1
- package/dist/script/ui/views/toolbars/toolbar.types.d.ts +3 -3
- package/package.json +7 -3
- package/dist/script/chem/element-color.d.ts +0 -2
- package/dist/script/chem/element.d.ts +0 -57
- package/dist/script/chem/generics.d.ts +0 -5
- package/dist/script/chem/molfile/common.d.ts +0 -34
- package/dist/script/chem/molfile/index.d.ts +0 -10
- package/dist/script/chem/molfile/molfile.d.ts +0 -47
- package/dist/script/chem/molfile/molfileFormat.d.ts +0 -1
- package/dist/script/chem/molfile/parseSGroup.d.ts +0 -42
- package/dist/script/chem/molfile/utils.d.ts +0 -66
- package/dist/script/chem/molfile/v2000.d.ts +0 -10
- package/dist/script/chem/molfile/v3000.d.ts +0 -10
- package/dist/script/chem/sdf.d.ts +0 -10
- package/dist/script/chem/smiles/cis_trans.d.ts +0 -25
- package/dist/script/chem/smiles/dfs.d.ts +0 -53
- package/dist/script/chem/smiles/index.d.ts +0 -5
- package/dist/script/chem/smiles/stereocenters.d.ts +0 -26
- package/dist/script/chem/struct/atom.d.ts +0 -66
- package/dist/script/chem/struct/atomlist.d.ts +0 -10
- package/dist/script/chem/struct/bond.d.ts +0 -72
- package/dist/script/chem/struct/fragment.d.ts +0 -50
- package/dist/script/chem/struct/index.d.ts +0 -137
- package/dist/script/chem/struct/rgroup.d.ts +0 -19
- package/dist/script/chem/struct/sgforest.d.ts +0 -42
- package/dist/script/chem/struct/sgroup.d.ts +0 -68
- package/dist/script/format/chemGraph/convertStruct.d.ts +0 -2
- package/dist/script/format/chemGraph/fromGraph/moleculeToStruct.d.ts +0 -10
- package/dist/script/format/chemGraph/fromGraph/rgroupToStruct.d.ts +0 -3
- package/dist/script/format/chemGraph/fromGraph/rxnToStruct.d.ts +0 -1
- package/dist/script/format/chemGraph/fromGraph/simpleObjectToStruct.d.ts +0 -1
- package/dist/script/format/chemGraph/index.d.ts +0 -13
- package/dist/script/format/chemGraph/toGraph/headerToGraph.d.ts +0 -1
- package/dist/script/format/chemGraph/toGraph/moleculeToGraph.d.ts +0 -4
- package/dist/script/format/chemGraph/toGraph/prepare.d.ts +0 -14
- package/dist/script/format/chemGraph/toGraph/rgroupToGraph.d.ts +0 -5
- package/dist/script/format/chemGraph/toGraph/rxnToGraph.d.ts +0 -10
- package/dist/script/format/graphValidator.d.ts +0 -1
- package/dist/script/format/schemes/moleculeSchema.d.ts +0 -596
- package/dist/script/format/schemes/rgroupSchema.d.ts +0 -60
- package/dist/script/format/schemes/rootSchema.d.ts +0 -102
- package/dist/script/format/schemes/rxnSchemas.d.ts +0 -58
- package/dist/script/format/schemes/simpleObjectSchema.d.ts +0 -45
- package/dist/script/format/utils.d.ts +0 -1
- package/dist/script/render/restruct/reenhancedflag.d.ts +0 -15
- package/dist/script/render/restruct/reobject.d.ts +0 -15
- package/dist/script/render/restruct/resimpleobject.d.ts +0 -23
- package/dist/script/ui/dialog/toolbox/atom.d.ts +0 -2
- package/dist/script/ui/dialog/toolbox/attach.d.ts +0 -2
- package/dist/script/ui/dialog/toolbox/automap.d.ts +0 -18
- package/dist/script/ui/dialog/toolbox/bond.d.ts +0 -2
- package/dist/script/ui/dialog/toolbox/enhanced-stereo.d.ts +0 -2
- package/dist/script/ui/dialog/toolbox/rgroup-logic.d.ts +0 -2
- package/dist/script/util/banner.d.ts +0 -0
- package/dist/script/util/box2abs.d.ts +0 -23
- package/dist/script/util/vec2.d.ts +0 -75
|
@@ -2,7 +2,10 @@ export default AttachTool;
|
|
|
2
2
|
declare function AttachTool(editor: any, attachPoints: any): AttachTool;
|
|
3
3
|
declare class AttachTool {
|
|
4
4
|
constructor(editor: any, attachPoints: any);
|
|
5
|
-
attach:
|
|
5
|
+
attach: {
|
|
6
|
+
atomid: any;
|
|
7
|
+
bondid: any;
|
|
8
|
+
} | undefined;
|
|
6
9
|
editor: any;
|
|
7
10
|
mousemove(event: any): boolean;
|
|
8
11
|
click(event: any): boolean;
|
|
@@ -13,6 +13,7 @@ declare class LassoHelper {
|
|
|
13
13
|
enhancedFlags: any[];
|
|
14
14
|
sgroupData: any[];
|
|
15
15
|
simpleObjects: any[];
|
|
16
|
+
texts: any[];
|
|
16
17
|
};
|
|
17
18
|
begin(event: any): void;
|
|
18
19
|
points: any;
|
|
@@ -25,6 +26,7 @@ declare class LassoHelper {
|
|
|
25
26
|
enhancedFlags: any[];
|
|
26
27
|
sgroupData: any[];
|
|
27
28
|
simpleObjects: any[];
|
|
29
|
+
texts: any[];
|
|
28
30
|
} | null;
|
|
29
31
|
update(): void;
|
|
30
32
|
selection: any;
|
|
@@ -36,5 +38,6 @@ declare class LassoHelper {
|
|
|
36
38
|
enhancedFlags: any[];
|
|
37
39
|
sgroupData: any[];
|
|
38
40
|
simpleObjects: any[];
|
|
41
|
+
texts: any[];
|
|
39
42
|
};
|
|
40
43
|
}
|
|
@@ -11,6 +11,7 @@ declare function getElementsInRectangle(restruct: any, p0: any, p1: any): {
|
|
|
11
11
|
enhancedFlags: any[];
|
|
12
12
|
sgroupData: any[];
|
|
13
13
|
simpleObjects: any[];
|
|
14
|
+
texts: any[];
|
|
14
15
|
};
|
|
15
16
|
declare function getElementsInPolygon(restruct: any, rr: any): {
|
|
16
17
|
atoms: any[];
|
|
@@ -20,4 +21,5 @@ declare function getElementsInPolygon(restruct: any, rr: any): {
|
|
|
20
21
|
enhancedFlags: any[];
|
|
21
22
|
sgroupData: any[];
|
|
22
23
|
simpleObjects: any[];
|
|
24
|
+
texts: any[];
|
|
23
25
|
};
|
|
@@ -20,6 +20,7 @@ declare namespace tools {
|
|
|
20
20
|
export { RotateTool as rotate };
|
|
21
21
|
export { EnhancedStereoTool as enhancedStereo };
|
|
22
22
|
export { SimpleObjectTool as simpleobject };
|
|
23
|
+
export { TextToolWrapper as text };
|
|
23
24
|
}
|
|
24
25
|
import RGroupAtomTool from "./rgroupatom";
|
|
25
26
|
import SelectTool from "./select";
|
|
@@ -41,3 +42,4 @@ import PasteTool from "./paste";
|
|
|
41
42
|
import RotateTool from "./rotate";
|
|
42
43
|
import EnhancedStereoTool from "./enhanced-stereo";
|
|
43
44
|
import SimpleObjectTool from "./simpleobject";
|
|
45
|
+
import TextToolWrapper from "./text";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export default ReactionArrowTool;
|
|
2
|
-
declare function ReactionArrowTool(editor: any): ReactionArrowTool;
|
|
2
|
+
declare function ReactionArrowTool(editor: any, mode: any): ReactionArrowTool;
|
|
3
3
|
declare class ReactionArrowTool {
|
|
4
|
-
constructor(editor: any);
|
|
4
|
+
constructor(editor: any, mode: any);
|
|
5
|
+
mode: any;
|
|
5
6
|
editor: any;
|
|
6
7
|
mousedown(event: any): void;
|
|
7
8
|
dragCtx: {
|
|
@@ -9,7 +10,6 @@ declare class ReactionArrowTool {
|
|
|
9
10
|
action: Action;
|
|
10
11
|
} | undefined;
|
|
11
12
|
mousemove(event: any): void;
|
|
12
|
-
mouseup(): void;
|
|
13
|
-
click(event: any): void;
|
|
13
|
+
mouseup(event: any): void;
|
|
14
14
|
}
|
|
15
15
|
import Action from "../shared/action";
|
|
@@ -0,0 +1,27 @@
|
|
|
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 class TextTool {
|
|
17
|
+
editor: any;
|
|
18
|
+
dragCtx: any;
|
|
19
|
+
constructor(editor: any);
|
|
20
|
+
mousedown(event: any): void;
|
|
21
|
+
mousemove(event: any): void;
|
|
22
|
+
mouseup(): boolean;
|
|
23
|
+
click(event: any): boolean;
|
|
24
|
+
dblclick(event: any): boolean;
|
|
25
|
+
}
|
|
26
|
+
export default function TextToolWrapper(editor: any): TextTool;
|
|
27
|
+
export {};
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import Vec2 from '
|
|
16
|
+
import { Vec2 } from 'ketcher-core';
|
|
17
17
|
export declare function elementOffset(element: any): Vec2;
|
package/dist/script/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ButtonsConfig } from './builders';
|
|
1
2
|
/****************************************************************************
|
|
2
3
|
* Copyright 2021 EPAM Systems
|
|
3
4
|
*
|
|
@@ -14,7 +15,6 @@
|
|
|
14
15
|
* limitations under the License.
|
|
15
16
|
***************************************************************************/
|
|
16
17
|
import { StructServiceProvider } from 'ketcher-core';
|
|
17
|
-
import { ButtonsConfig } from './builders';
|
|
18
18
|
interface Config {
|
|
19
19
|
element: HTMLDivElement | null;
|
|
20
20
|
staticResourcesUrl: string;
|
package/dist/script/ketcher.d.ts
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import { FormatterFactory,
|
|
17
|
-
import { MolfileFormat } from './chem/molfile';
|
|
16
|
+
import { FormatterFactory, GenerateImageOptions, MolfileFormat, Struct, StructService } from 'ketcher-core';
|
|
18
17
|
import Editor from './editor';
|
|
19
18
|
import Render from './render';
|
|
20
19
|
interface UI {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export { recenterText };
|
|
3
3
|
export { arrow };
|
|
4
|
+
export { equilibriumArrow };
|
|
4
5
|
export { plus };
|
|
5
6
|
export { aromaticBondPaths };
|
|
6
7
|
export { bondSingle };
|
|
@@ -14,6 +15,8 @@ declare namespace _default {
|
|
|
14
15
|
export { bondTriple };
|
|
15
16
|
export { bondAromatic };
|
|
16
17
|
export { bondAny };
|
|
18
|
+
export { bondHydrogen };
|
|
19
|
+
export { bondDative };
|
|
17
20
|
export { reactingCenter };
|
|
18
21
|
export { topologyMark };
|
|
19
22
|
export { radicalCap };
|
|
@@ -30,19 +33,22 @@ declare namespace _default {
|
|
|
30
33
|
export default _default;
|
|
31
34
|
declare function recenterText(path: any, rbb: any): void;
|
|
32
35
|
declare function arrow(paper: any, a: any, b: any, options: any): any;
|
|
36
|
+
declare function equilibriumArrow(paper: any, a: any, b: any, options: any): any;
|
|
33
37
|
declare function plus(paper: any, c: any, options: any): any;
|
|
34
38
|
declare function aromaticBondPaths(a2: any, a3: any, b2: any, b3: any, mask: any, dash: any): string[];
|
|
35
|
-
declare function bondSingle(paper: any, hb1: any, hb2: any, options: any): any;
|
|
36
|
-
declare function bondSingleUp(paper: any, a: any, b2: any, b3: any, options: any): any;
|
|
37
|
-
declare function bondSingleStereoBold(paper: any, a1: any, a2: any, a3: any, a4: any, options: any): any;
|
|
38
|
-
declare function bondDoubleStereoBold(paper: any, sgBondPath: any, b1: any, b2: any, options: any): any;
|
|
39
|
-
declare function bondSingleDown(paper: any, hb1: any, d: any, nlines: any, step: any, options: any): any;
|
|
40
|
-
declare function bondSingleEither(paper: any, hb1: any, d: any, nlines: any, step: any, options: any): any;
|
|
39
|
+
declare function bondSingle(paper: any, hb1: any, hb2: any, options: any, color?: string): any;
|
|
40
|
+
declare function bondSingleUp(paper: any, a: any, b2: any, b3: any, options: any, color?: string): any;
|
|
41
|
+
declare function bondSingleStereoBold(paper: any, a1: any, a2: any, a3: any, a4: any, options: any, color?: string): any;
|
|
42
|
+
declare function bondDoubleStereoBold(paper: any, sgBondPath: any, b1: any, b2: any, options: any, color?: string): any;
|
|
43
|
+
declare function bondSingleDown(paper: any, hb1: any, d: any, nlines: any, step: any, options: any, color?: string): any;
|
|
44
|
+
declare function bondSingleEither(paper: any, hb1: any, d: any, nlines: any, step: any, options: any, color?: string): any;
|
|
41
45
|
declare function bondDouble(paper: any, a1: any, a2: any, b1: any, b2: any, cisTrans: any, options: any): any;
|
|
42
46
|
declare function bondSingleOrDouble(paper: any, hb1: any, hb2: any, nSect: any, options: any): any;
|
|
43
|
-
declare function bondTriple(paper: any, hb1: any, hb2: any, options: any): any;
|
|
47
|
+
declare function bondTriple(paper: any, hb1: any, hb2: any, options: any, color?: string): any;
|
|
44
48
|
declare function bondAromatic(paper: any, paths: any, bondShift: any, options: any): any;
|
|
45
49
|
declare function bondAny(paper: any, hb1: any, hb2: any, options: any): any;
|
|
50
|
+
declare function bondHydrogen(paper: any, hb1: any, hb2: any, options: any): any;
|
|
51
|
+
declare function bondDative(paper: any, hb1: any, hb2: any, options: any): any;
|
|
46
52
|
declare function reactingCenter(paper: any, p: any, options: any): any;
|
|
47
53
|
declare function topologyMark(paper: any, p: any, mark: any, options: any): any;
|
|
48
54
|
declare function radicalCap(paper: any, p: any, options: any): any;
|
|
@@ -8,10 +8,10 @@ declare class Render {
|
|
|
8
8
|
sz: Vec2;
|
|
9
9
|
ctab: ReStruct;
|
|
10
10
|
options: any;
|
|
11
|
-
view2obj(p: any, isRelative: any):
|
|
12
|
-
obj2view(v: any, isRelative: any):
|
|
11
|
+
view2obj(p: any, isRelative: any): Vec2;
|
|
12
|
+
obj2view(v: any, isRelative: any): Vec2;
|
|
13
13
|
scrollPos(): Vec2;
|
|
14
|
-
page2obj(pagePos: any):
|
|
14
|
+
page2obj(pagePos: any): Vec2;
|
|
15
15
|
setPaperSize(sz: any): void;
|
|
16
16
|
setOffset(newoffset: any): void;
|
|
17
17
|
setZoom(zoom: any): void;
|
|
@@ -23,6 +23,6 @@ declare class Render {
|
|
|
23
23
|
oldCb: Box2Abs | undefined;
|
|
24
24
|
oldBb: Box2Abs | undefined;
|
|
25
25
|
}
|
|
26
|
-
import Vec2 from "
|
|
26
|
+
import { Vec2 } from "ketcher-core/dist/domain/entities/Vec2";
|
|
27
27
|
import ReStruct from "./restruct";
|
|
28
|
-
import Box2Abs from "
|
|
28
|
+
import { Box2Abs } from "ketcher-core/dist/domain/entities/Box2Abs";
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
export declare enum LayerMap {
|
|
17
|
+
background = "background",
|
|
18
|
+
selectionPlate = "selectionPlate",
|
|
19
|
+
highlighting = "highlighting",
|
|
20
|
+
warnings = "warnings",
|
|
21
|
+
data = "data",
|
|
22
|
+
indices = "indices"
|
|
23
|
+
}
|
|
24
|
+
export declare enum StereoColoringType {
|
|
25
|
+
LabelsOnly = "LabelsOnly",
|
|
26
|
+
BondsOnly = "BondsOnly",
|
|
27
|
+
LabelsAndBonds = "LabelsAndBonds",
|
|
28
|
+
Off = "Off"
|
|
29
|
+
}
|
|
30
|
+
export declare enum StereLabelStyleType {
|
|
31
|
+
IUPAC = "Iupac",
|
|
32
|
+
Classic = "Classic",
|
|
33
|
+
On = "On",
|
|
34
|
+
Off = "Off"
|
|
35
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ReObject from './ReObject';
|
|
17
|
+
import ReStruct from './index';
|
|
18
|
+
import Render from '..';
|
|
19
|
+
declare class ReEnhancedFlag extends ReObject {
|
|
20
|
+
#private;
|
|
21
|
+
constructor();
|
|
22
|
+
static isSelectable(): boolean;
|
|
23
|
+
highlightPath(render: Render): any;
|
|
24
|
+
drawHighlight(render: Render): any;
|
|
25
|
+
makeSelectionPlate(restruct: ReStruct, paper: any, options: any): any;
|
|
26
|
+
show(restruct: ReStruct, fragmentId: number, options: any): void;
|
|
27
|
+
}
|
|
28
|
+
export default ReEnhancedFlag;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { Box2Abs } from 'ketcher-core';
|
|
17
|
+
import ReStruct from './index';
|
|
18
|
+
import Render from '..';
|
|
19
|
+
import Visel from './visel';
|
|
20
|
+
declare class ReObject {
|
|
21
|
+
visel: Visel;
|
|
22
|
+
highlight: boolean;
|
|
23
|
+
highlighting: any;
|
|
24
|
+
selected: boolean;
|
|
25
|
+
selectionPlate: any;
|
|
26
|
+
constructor(viselType: string);
|
|
27
|
+
getVBoxObj(render: Render): Box2Abs | null;
|
|
28
|
+
setHighlight(highLight: boolean, render: Render): void;
|
|
29
|
+
drawHighlight(render: Render): any;
|
|
30
|
+
makeSelectionPlate(restruct: ReStruct, paper: any, styles: any): any;
|
|
31
|
+
}
|
|
32
|
+
export default ReObject;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { Vec2 } from 'ketcher-core';
|
|
17
|
+
import ReObject from './ReObject';
|
|
18
|
+
import ReStruct from './index';
|
|
19
|
+
import Render from '..';
|
|
20
|
+
interface MinDistanceWithReferencePoint {
|
|
21
|
+
minDist: number;
|
|
22
|
+
refPoint: Vec2 | null;
|
|
23
|
+
}
|
|
24
|
+
interface StyledPath {
|
|
25
|
+
path: any;
|
|
26
|
+
stylesApplied: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare class ReSimpleObject extends ReObject {
|
|
29
|
+
private item;
|
|
30
|
+
constructor(simpleObject: any);
|
|
31
|
+
static isSelectable(): boolean;
|
|
32
|
+
calcDistance(p: Vec2, s: any): MinDistanceWithReferencePoint;
|
|
33
|
+
getReferencePointDistance(p: Vec2): MinDistanceWithReferencePoint;
|
|
34
|
+
getReferencePoints(onlyOnObject?: boolean): Array<Vec2>;
|
|
35
|
+
highlightPath(render: Render): Array<StyledPath>;
|
|
36
|
+
drawHighlight(render: Render): Array<any>;
|
|
37
|
+
makeSelectionPlate(restruct: ReStruct, paper: any, styles: any): any;
|
|
38
|
+
show(restruct: ReStruct, options: any): void;
|
|
39
|
+
}
|
|
40
|
+
export default ReSimpleObject;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Box2Abs, Pile, Pool, Struct, Vec2 } from 'ketcher-core';
|
|
2
|
+
import { LayerMap } from './GeneralEnumTypes';
|
|
3
|
+
/****************************************************************************
|
|
4
|
+
* Copyright 2021 EPAM Systems
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
***************************************************************************/
|
|
18
|
+
import ReAtom from './reatom';
|
|
19
|
+
import ReBond from './rebond';
|
|
20
|
+
import ReDataSGroupData from './redatasgroupdata';
|
|
21
|
+
import ReEnhancedFlag from './ReEnhancedFlag';
|
|
22
|
+
import ReFrag from './refrag';
|
|
23
|
+
import ReLoop from './reloop';
|
|
24
|
+
import ReRGroup from './rergroup';
|
|
25
|
+
import ReRxnArrow from './rerxnarrow';
|
|
26
|
+
import ReRxnPlus from './rerxnplus';
|
|
27
|
+
import ReSGroup from './resgroup';
|
|
28
|
+
import ReSimpleObject from './ReSimpleObject';
|
|
29
|
+
import ReText from './ReText';
|
|
30
|
+
import Render from '..';
|
|
31
|
+
import Visel from './visel';
|
|
32
|
+
declare class ReStruct {
|
|
33
|
+
static maps: {
|
|
34
|
+
atoms: typeof ReAtom;
|
|
35
|
+
bonds: typeof ReBond;
|
|
36
|
+
rxnPluses: typeof ReRxnPlus;
|
|
37
|
+
rxnArrows: typeof ReRxnArrow;
|
|
38
|
+
frags: typeof ReFrag;
|
|
39
|
+
rgroups: typeof ReRGroup;
|
|
40
|
+
sgroupData: typeof ReDataSGroupData;
|
|
41
|
+
enhancedFlags: typeof ReEnhancedFlag;
|
|
42
|
+
sgroups: typeof ReSGroup;
|
|
43
|
+
reloops: typeof ReLoop;
|
|
44
|
+
simpleObjects: typeof ReSimpleObject;
|
|
45
|
+
texts: typeof ReText;
|
|
46
|
+
};
|
|
47
|
+
render: Render;
|
|
48
|
+
molecule: Struct;
|
|
49
|
+
atoms: Map<number, ReAtom>;
|
|
50
|
+
bonds: Map<number, ReBond>;
|
|
51
|
+
reloops: Map<number, ReLoop>;
|
|
52
|
+
rxnPluses: Map<number, ReRxnPlus>;
|
|
53
|
+
rxnArrows: Map<number, ReRxnArrow>;
|
|
54
|
+
frags: Pool;
|
|
55
|
+
rgroups: Pool;
|
|
56
|
+
sgroups: Map<number, ReSGroup>;
|
|
57
|
+
sgroupData: Map<number, ReDataSGroupData>;
|
|
58
|
+
enhancedFlags: Map<number, ReEnhancedFlag>;
|
|
59
|
+
private simpleObjects;
|
|
60
|
+
texts: Map<number, ReText>;
|
|
61
|
+
private initialized;
|
|
62
|
+
private layers;
|
|
63
|
+
connectedComponents: Pool;
|
|
64
|
+
private ccFragmentType;
|
|
65
|
+
private structChanged;
|
|
66
|
+
private atomsChanged;
|
|
67
|
+
private simpleObjectsChanged;
|
|
68
|
+
private rxnArrowsChanged;
|
|
69
|
+
private rxnPlusesChanged;
|
|
70
|
+
private enhancedFlagsChanged;
|
|
71
|
+
private bondsChanged;
|
|
72
|
+
private textsChanged;
|
|
73
|
+
constructor(molecule: any, render: Render);
|
|
74
|
+
connectedComponentRemoveAtom(aid: number, reAtom?: ReAtom): void;
|
|
75
|
+
clearConnectedComponents(): void;
|
|
76
|
+
getConnectedComponent(aid: Array<number> | number, adjacentComponents: Pile): Pile;
|
|
77
|
+
addConnectedComponent(idSet: Pile<number>): number;
|
|
78
|
+
removeConnectedComponent(ccid: number): boolean;
|
|
79
|
+
assignConnectedComponents(): void;
|
|
80
|
+
initLayers(): void;
|
|
81
|
+
addReObjectPath(group: LayerMap, visel: Visel, path: any, pos?: Vec2 | null, visible?: boolean): void;
|
|
82
|
+
clearMarks(): void;
|
|
83
|
+
markItemRemoved(): void;
|
|
84
|
+
markBond(bid: number, mark: number): void;
|
|
85
|
+
markAtom(aid: number, mark: number): void;
|
|
86
|
+
markItem(map: string, id: number, mark: number): void;
|
|
87
|
+
clearVisel(visel: Visel): void;
|
|
88
|
+
eachItem(func: any): void;
|
|
89
|
+
getVBoxObj(selection: any): Box2Abs | null;
|
|
90
|
+
translate(d: any): void;
|
|
91
|
+
scale(s: number): void;
|
|
92
|
+
clearVisels(): void;
|
|
93
|
+
update(force: boolean): boolean;
|
|
94
|
+
updateLoops(): void;
|
|
95
|
+
showLoops(): void;
|
|
96
|
+
showSimpleObjects(): void;
|
|
97
|
+
showTexts(): void;
|
|
98
|
+
showReactionSymbols(): void;
|
|
99
|
+
showSGroups(): void;
|
|
100
|
+
showFragments(): void;
|
|
101
|
+
showRGroups(): void;
|
|
102
|
+
loopRemove(loopId: number): void;
|
|
103
|
+
verifyLoops(): void;
|
|
104
|
+
showLabels(): void;
|
|
105
|
+
showEnhancedFlags(): void;
|
|
106
|
+
showBonds(): void;
|
|
107
|
+
setSelection(selection: any): void;
|
|
108
|
+
showItemSelection(item: any, selected: any): void;
|
|
109
|
+
}
|
|
110
|
+
export default ReStruct;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { RawDraftContentBlock } from 'draft-js';
|
|
17
|
+
import { Text, Vec2 } from 'ketcher-core';
|
|
18
|
+
import ReObject from './ReObject';
|
|
19
|
+
import ReStruct from './ReStruct';
|
|
20
|
+
declare class ReText extends ReObject {
|
|
21
|
+
private item;
|
|
22
|
+
paths: Array<Array<any>>;
|
|
23
|
+
constructor(text: Text);
|
|
24
|
+
static isSelectable(): boolean;
|
|
25
|
+
getReferencePoints(): Array<Vec2>;
|
|
26
|
+
highlightPath(render: any): any;
|
|
27
|
+
getRelBox(paths: Array<Array<any>>): {
|
|
28
|
+
p0: Vec2;
|
|
29
|
+
p1: Vec2;
|
|
30
|
+
};
|
|
31
|
+
getRowWidth(row: Array<any>): number;
|
|
32
|
+
drawHighlight(render: any): any;
|
|
33
|
+
makeSelectionPlate(restruct: ReStruct, paper: any, options: any): any;
|
|
34
|
+
show(restruct: ReStruct, _id: number, options: any): void;
|
|
35
|
+
getRanges(block: RawDraftContentBlock, options: any): Array<[number, number, Record<string, any>]>;
|
|
36
|
+
getStyles(block: RawDraftContentBlock, index: number, options: any): Record<string, string>;
|
|
37
|
+
}
|
|
38
|
+
export default ReText;
|
|
@@ -1,92 +1,13 @@
|
|
|
1
1
|
export default ReStruct;
|
|
2
|
-
|
|
3
|
-
declare class ReStruct {
|
|
4
|
-
constructor(molecule: any, render: any);
|
|
5
|
-
render: any;
|
|
6
|
-
/** @type {Map<number, ReAtom>} */
|
|
7
|
-
atoms: Map<number, ReAtom>;
|
|
8
|
-
/** @type {Map<number, any>} */
|
|
9
|
-
bonds: Map<number, any>;
|
|
10
|
-
reloops: Map<any, any>;
|
|
11
|
-
rxnPluses: Map<any, any>;
|
|
12
|
-
rxnArrows: Map<any, any>;
|
|
13
|
-
frags: Pool<any>;
|
|
14
|
-
rgroups: Pool<any>;
|
|
15
|
-
sgroups: Map<any, any>;
|
|
16
|
-
sgroupData: Map<any, any>;
|
|
17
|
-
enhancedFlags: Map<any, any>;
|
|
18
|
-
simpleObjects: Map<any, any>;
|
|
19
|
-
/** @type {Struct} */
|
|
20
|
-
molecule: Struct;
|
|
21
|
-
initialized: boolean;
|
|
22
|
-
layers: any[];
|
|
23
|
-
connectedComponents: Pool<any>;
|
|
24
|
-
ccFragmentType: Pool<any>;
|
|
25
|
-
structChanged: boolean;
|
|
26
|
-
connectedComponentRemoveAtom(aid: number, atom?: any): void;
|
|
27
|
-
clearConnectedComponents(): void;
|
|
28
|
-
getConnectedComponent(aid: Array<number> | number, adjacentComponents: Pile): Pile;
|
|
29
|
-
addConnectedComponent(idSet: any): number;
|
|
30
|
-
removeConnectedComponent(ccid: number): number;
|
|
31
|
-
assignConnectedComponents(): void;
|
|
32
|
-
initLayers(): void;
|
|
33
|
-
addReObjectPath(group: any, visel: any, path: any, pos: any, visible: any): void;
|
|
34
|
-
clearMarks(): void;
|
|
35
|
-
markItemRemoved(): void;
|
|
36
|
-
markBond(bid: any, mark: any): void;
|
|
37
|
-
markAtom(aid: any, mark: any): void;
|
|
38
|
-
markItem(map: any, id: any, mark: any): void;
|
|
39
|
-
clearVisel(visel: any): void;
|
|
40
|
-
eachItem(func: any): void;
|
|
41
|
-
getVBoxObj(selection: any): Box2Abs;
|
|
42
|
-
translate(d: any): void;
|
|
43
|
-
scale(s: any): void;
|
|
44
|
-
clearVisels(): void;
|
|
45
|
-
update(force: any): boolean;
|
|
46
|
-
updateLoops(): void;
|
|
47
|
-
showLoops(): void;
|
|
48
|
-
showSimpleObjects(): void;
|
|
49
|
-
showReactionSymbols(): void;
|
|
50
|
-
showSGroups(): void;
|
|
51
|
-
showFragments(): void;
|
|
52
|
-
showRGroups(): void;
|
|
53
|
-
setImplicitHydrogen(): void;
|
|
54
|
-
loopRemove(loopId: any): void;
|
|
55
|
-
verifyLoops(): void;
|
|
56
|
-
showLabels(): void;
|
|
57
|
-
showEnhancedFlags(): void;
|
|
58
|
-
showBonds(): void;
|
|
59
|
-
setSelection(selection: any, ...args: any[]): void;
|
|
60
|
-
showItemSelection(item: any, selected: any): void;
|
|
61
|
-
}
|
|
62
|
-
declare namespace ReStruct {
|
|
63
|
-
namespace maps {
|
|
64
|
-
export { ReAtom as atoms };
|
|
65
|
-
export { ReBond as bonds };
|
|
66
|
-
export { ReRxnPlus as rxnPluses };
|
|
67
|
-
export { ReRxnArrow as rxnArrows };
|
|
68
|
-
export { ReFrag as frags };
|
|
69
|
-
export { ReRGroup as rgroups };
|
|
70
|
-
export { ReDataSGroupData as sgroupData };
|
|
71
|
-
export { ReEnhancedFlag as enhancedFlags };
|
|
72
|
-
export { ReSGroup as sgroups };
|
|
73
|
-
export { ReLoop as reloops };
|
|
74
|
-
export { ReSimpleObject as simpleObjects };
|
|
75
|
-
}
|
|
76
|
-
}
|
|
2
|
+
import ReStruct from "./ReStruct";
|
|
77
3
|
import ReAtom from "./reatom";
|
|
78
4
|
import ReBond from "./rebond";
|
|
79
5
|
import ReRxnPlus from "./rerxnplus";
|
|
80
6
|
import ReRxnArrow from "./rerxnarrow";
|
|
81
7
|
import ReFrag from "./refrag";
|
|
82
8
|
import ReRGroup from "./rergroup";
|
|
83
|
-
import ReEnhancedFlag from "./
|
|
9
|
+
import ReEnhancedFlag from "./ReEnhancedFlag";
|
|
84
10
|
import ReSGroup from "./resgroup";
|
|
85
|
-
import ReSimpleObject from "./
|
|
86
|
-
import
|
|
87
|
-
|
|
88
|
-
import Pile from "../../util/pile";
|
|
89
|
-
import Box2Abs from "../../util/box2abs";
|
|
90
|
-
import ReDataSGroupData from "./redatasgroupdata";
|
|
91
|
-
import ReLoop from "./reloop";
|
|
92
|
-
export { ReAtom, ReBond, ReRxnPlus, ReRxnArrow, ReFrag, ReRGroup, ReEnhancedFlag, ReSGroup, ReSimpleObject };
|
|
11
|
+
import ReSimpleObject from "./ReSimpleObject";
|
|
12
|
+
import ReText from "./ReText";
|
|
13
|
+
export { ReAtom, ReBond, ReRxnPlus, ReRxnArrow, ReFrag, ReRGroup, ReEnhancedFlag, ReSGroup, ReSimpleObject, ReText };
|