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.
Files changed (151) hide show
  1. package/dist/Editor.d.ts +2 -1
  2. package/dist/components/Accordion/Accordion.d.ts +2 -1
  3. package/dist/components/Buttons/Button/Button.d.ts +2 -1
  4. package/dist/components/Buttons/IconButton/IconButton.d.ts +2 -1
  5. package/dist/components/Buttons/IconButton/types.d.ts +2 -0
  6. package/dist/components/Icon/Icon.d.ts +2 -1
  7. package/dist/components/Icon/types.d.ts +2 -2
  8. package/dist/components/Icon/utils/iconNameToIcon.d.ts +2 -0
  9. package/dist/components/Input/Input.d.ts +2 -1
  10. package/dist/components/StructRender/StructRender.d.ts +2 -1
  11. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -1
  12. package/dist/index.css +1 -1
  13. package/dist/index.css.map +1 -1
  14. package/dist/index.js +4105 -3033
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.modern.js +4143 -3070
  17. package/dist/index.modern.js.map +1 -1
  18. package/dist/script/editor/tool/paste.d.ts +2 -0
  19. package/dist/script/editor/tool/select.d.ts +3 -1
  20. package/dist/script/editor/tool/sgroup.d.ts +2 -1
  21. package/dist/script/editor/tool/template.d.ts +7 -12
  22. package/dist/script/editor/tool/templatePreview.d.ts +42 -0
  23. package/dist/script/ui/App/App.container.d.ts +2 -1
  24. package/dist/script/ui/App/App.d.ts +2 -1
  25. package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +2 -1
  26. package/dist/script/ui/App/AppHidden/AppHidden.d.ts +2 -1
  27. package/dist/script/ui/action/atoms.d.ts +1 -1
  28. package/dist/script/ui/action/index.d.ts +6 -6
  29. package/dist/script/ui/action/templates.d.ts +1 -1
  30. package/dist/script/ui/action/tools.d.ts +7 -7
  31. package/dist/script/ui/action/zoom.d.ts +1 -1
  32. package/dist/script/ui/component/actionmenu.d.ts +1 -1
  33. package/dist/script/ui/component/cliparea/cliparea.d.ts +4 -3
  34. package/dist/script/ui/component/form/Input/Input.d.ts +1 -1
  35. package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +3 -2
  36. package/dist/script/ui/component/form/Select/Select.d.ts +4 -2
  37. package/dist/script/ui/component/form/buttonlist.d.ts +1 -1
  38. package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +2 -1
  39. package/dist/script/ui/component/form/combobox/combobox.d.ts +1 -1
  40. package/dist/script/ui/component/form/form/errorPopover.d.ts +1 -1
  41. package/dist/script/ui/component/form/form/form.d.ts +7 -5
  42. package/dist/script/ui/component/form/select-checkbox.d.ts +1 -1
  43. package/dist/script/ui/component/form/select-list.d.ts +1 -1
  44. package/dist/script/ui/component/form/systemfonts.d.ts +1 -1
  45. package/dist/script/ui/component/view/Atom/Atom.d.ts +1 -1
  46. package/dist/script/ui/component/view/Tabs/Tabs.d.ts +1 -1
  47. package/dist/script/ui/component/view/openbutton.d.ts +1 -1
  48. package/dist/script/ui/component/view/savebutton.d.ts +1 -1
  49. package/dist/script/ui/data/convert/keynorm.d.ts +1 -0
  50. package/dist/script/ui/data/convert/structconv.d.ts +12 -0
  51. package/dist/script/ui/data/schema/struct-schema.d.ts +298 -180
  52. package/dist/script/ui/data/templates.d.ts +1 -1
  53. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +2 -1
  54. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +2 -1
  55. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +4 -3
  56. package/dist/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +3 -2
  57. package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +2 -1
  58. package/dist/script/ui/dialog/template/template-attach.d.ts +2 -2
  59. package/dist/script/ui/dialog/toolbox/SDataFieldset.d.ts +1 -1
  60. package/dist/script/ui/dialog/toolbox/SGroupFieldset.d.ts +1 -1
  61. package/dist/script/ui/dialog/toolbox/labeledit.d.ts +2 -2
  62. package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +2 -2
  63. package/dist/script/ui/dialog/toolbox/sgroup.d.ts +2 -2
  64. package/dist/script/ui/state/constants.d.ts +1 -0
  65. package/dist/script/ui/state/hotkeys.d.ts +3 -3
  66. package/dist/script/ui/state/hotkeys.test.d.ts +1 -0
  67. package/dist/script/ui/state/modal/atoms.d.ts +2 -2
  68. package/dist/script/ui/state/modal/form.d.ts +14 -5
  69. package/dist/script/ui/views/components/Cursor.d.ts +1 -1
  70. package/dist/script/ui/views/components/Dialog/Dialog.d.ts +1 -0
  71. package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +2 -1
  72. package/dist/script/ui/views/components/StructEditor/InfoTooltip.d.ts +23 -0
  73. package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +1 -1
  74. package/dist/script/ui/views/modal/Modal.d.ts +2 -1
  75. package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +2 -1
  76. package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +1 -1
  77. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +3 -2
  78. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +2 -1
  79. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +2 -1
  80. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +2 -1
  81. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +2 -1
  82. package/dist/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +2 -1
  83. package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +2 -2
  84. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +1 -1
  85. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +1 -1
  86. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +1 -1
  87. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +1 -1
  88. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +1 -1
  89. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +1 -1
  90. package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +2 -1
  91. package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +2 -1
  92. package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +2 -1
  93. package/dist/script/ui/views/modal/components/Text/Text.d.ts +2 -1
  94. package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +2 -1
  95. package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +2 -1
  96. package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +2 -1
  97. package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +2 -1
  98. package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +2 -1
  99. package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +5 -5
  100. package/dist/script/ui/views/modal/components/meta/About/About.d.ts +1 -1
  101. package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +2 -1
  102. package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +1 -1
  103. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +1 -1
  104. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +1 -1
  105. package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +1 -1
  106. package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +1 -1
  107. package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +2 -1
  108. package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +1 -1
  109. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +2 -0
  110. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +2 -0
  111. package/dist/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +4 -0
  112. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +2 -1
  113. package/dist/script/ui/views/modal/components/toolbox/Atom/helper.d.ts +6 -0
  114. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +2 -1
  115. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +2 -1
  116. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +2 -1
  117. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +2 -1
  118. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +2 -1
  119. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +8 -4
  120. package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +2 -1
  121. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +2 -1
  122. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +2 -1
  123. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +2 -1
  124. package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +2 -1
  125. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +2 -1
  126. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +2 -1
  127. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +2 -1
  128. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +2 -1
  129. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +2 -1
  130. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +2 -1
  131. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +2 -1
  132. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +2 -1
  133. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +2 -1
  134. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +2 -1
  135. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +2 -1
  136. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +2 -1
  137. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +2 -1
  138. package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +2 -1
  139. package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +3 -2
  140. package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +1 -1
  141. package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +2 -1
  142. package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +2 -1
  143. package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +2 -1
  144. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +2 -1
  145. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +2 -1
  146. package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +2 -1
  147. package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +2 -1
  148. package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +1 -1
  149. package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +2 -1
  150. package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +2 -1
  151. package/package.json +3 -3
@@ -22,10 +22,12 @@ declare class PasteTool implements Tool {
22
22
  private mergeItems;
23
23
  private readonly isSingleContractedGroup;
24
24
  constructor(editor: any, struct: any);
25
+ private get restruct();
25
26
  mousedown(event: any): void;
26
27
  mousemove(event: any): void;
27
28
  mouseup(): void;
28
29
  cancel(): void;
29
30
  mouseleave(): void;
31
+ mouseLeaveClientArea(): void;
30
32
  }
31
33
  export default PasteTool;
@@ -21,7 +21,8 @@ declare class SelectTool implements Tool {
21
21
  #private;
22
22
  private readonly editor;
23
23
  private dragCtx;
24
- isMousedDown: boolean;
24
+ private previousMouseMoveEvent?;
25
+ isMouseDown: boolean;
25
26
  readonly isMoving = false;
26
27
  constructor(editor: Editor, mode: SelectMode);
27
28
  isSelectionRunning(): boolean;
@@ -33,6 +34,7 @@ declare class SelectTool implements Tool {
33
34
  private selectElementsOnCanvas;
34
35
  private isDraggingStructureOnSaltOrSolvent;
35
36
  private updateArrowResizingState;
37
+ private moveCanvas;
36
38
  }
37
39
  export declare function selMerge(selection: any, add: any, reversible: boolean): any;
38
40
  export declare function getSelectedAtoms(selection: any, molecule: any): Atom[];
@@ -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
+ import Editor from '../Editor';
16
17
  import { Tool } from './Tool';
17
18
  declare class SGroupTool implements Tool {
18
19
  private readonly editor;
@@ -25,6 +26,6 @@ declare class SGroupTool implements Tool {
25
26
  mouseleave(event: any): void;
26
27
  mouseup(event: any): void;
27
28
  cancel(): void;
28
- static sgroupDialog(editor: any, id: any): void;
29
+ static sgroupDialog(editor: Editor, id: number | null): void;
29
30
  }
30
31
  export default SGroupTool;
@@ -13,20 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- import { ReStruct } from 'ketcher-core';
16
+ import { Struct, Bond } from 'ketcher-core';
17
17
  import Editor from '../Editor';
18
18
  import { Tool } from './Tool';
19
- export declare const PREVIEW_DELAY = 300;
19
+ export declare function getBondFlipSign(struct: Struct, bond: Bond): number;
20
+ export declare function getAngleFromEvent(event: any, ci: any, restruct: any): any;
20
21
  declare class TemplateTool implements Tool {
21
22
  private readonly editor;
22
23
  private readonly mode;
23
24
  private readonly template;
24
25
  private readonly findItems;
26
+ private templatePreview;
25
27
  private dragCtx;
26
- private isPreviewVisible;
27
- private previewRemoveAction;
28
- private previewTimeout;
29
- private lastPreviewId;
30
28
  private targetGroupsIds;
31
29
  private readonly isSaltOrSolvent;
32
30
  private event;
@@ -42,11 +40,8 @@ declare class TemplateTool implements Tool {
42
40
  mousemove(event: any): boolean;
43
41
  mouseup(event?: any): boolean;
44
42
  cancel(): void;
45
- mouseleave(e: any): void;
46
- hidePreview(): void;
47
- showPreview(event: MouseEvent | {
48
- clientX: number;
49
- clientY: number;
50
- }, ci: any, restruct: ReStruct): void;
43
+ mouseleave(): void;
44
+ mouseLeaveClientArea(): void;
51
45
  }
46
+ export declare function getSign(molecule: any, bond: any, v: any): 0 | 1 | -1;
52
47
  export default TemplateTool;
@@ -0,0 +1,42 @@
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';
17
+ declare class TemplatePreview {
18
+ private readonly editor;
19
+ private readonly template;
20
+ private readonly mode;
21
+ private floatingPreviewAction;
22
+ private connectedPreviewAction;
23
+ private connectedPreviewTimeout;
24
+ private lastPreviewId;
25
+ private floatingPreview;
26
+ private position;
27
+ private previousPosition;
28
+ constructor(editor: Editor, template: any, mode: any);
29
+ private get struct();
30
+ private get restruct();
31
+ private get isModeFunctionalGroup();
32
+ hidePreview(): void;
33
+ private getPreviewTarget;
34
+ movePreview(event: PointerEvent): void;
35
+ private moveFloatingPreview;
36
+ private hoverFusedItems;
37
+ private showFloatingPreview;
38
+ private hideFloatingPreview;
39
+ private hideConnectedPreview;
40
+ private showConnectedPreview;
41
+ }
42
+ export default TemplatePreview;
@@ -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
  import { AppCallProps } from './App';
17
- declare const AppContainer: import("react-redux").ConnectedComponent<(props: AppCallProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<AppCallProps, "checkServer">>;
18
+ declare const AppContainer: import("react-redux").ConnectedComponent<(props: AppCallProps) => JSX.Element, import("react-redux").Omit<AppCallProps, "checkServer">>;
18
19
  export { AppContainer };
19
20
  export default AppContainer;
@@ -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
  interface AppCallProps {
17
18
  checkServer: () => void;
18
19
  }
19
20
  declare type Props = AppCallProps;
20
- declare const App: (props: Props) => import("react/jsx-runtime").JSX.Element;
21
+ declare const App: (props: Props) => JSX.Element;
21
22
  export type { AppCallProps };
22
23
  export { App };
@@ -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
- declare const AppHiddenContainer: import("react-redux").ConnectedComponent<(props: AppHiddenCallProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<AppHiddenCallProps, "onInitTmpls">>;
18
+ declare const AppHiddenContainer: import("react-redux").ConnectedComponent<(props: AppHiddenCallProps) => JSX.Element, import("react-redux").Omit<AppHiddenCallProps, "onInitTmpls">>;
18
19
  export { AppHiddenContainer };
@@ -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
  interface AppHiddenCallProps {
17
18
  onInitTmpls: (cacheEl: any, url: any) => void;
18
19
  }
19
20
  declare type Props = AppHiddenCallProps;
20
- declare const AppHidden: (props: Props) => import("react/jsx-runtime").JSX.Element;
21
+ declare const AppHidden: (props: Props) => JSX.Element;
21
22
  export type { AppHiddenCallProps };
22
23
  export { AppHidden };
@@ -36,5 +36,5 @@ export namespace atomCuts {
36
36
  const D: string;
37
37
  const B: string;
38
38
  }
39
- declare const _default: {};
39
+ declare var _default: {};
40
40
  export default _default;
@@ -68,26 +68,26 @@ declare const config: {
68
68
  };
69
69
  hidden: (options: any) => boolean;
70
70
  };
71
- 'select-lasso': {
71
+ 'select-rectangle': {
72
72
  title: string;
73
- shortcut: string;
73
+ shortcut: string[];
74
74
  action: {
75
75
  tool: string;
76
76
  opts: string;
77
77
  };
78
+ hidden: (options: any) => boolean;
78
79
  };
79
- 'select-rectangle': {
80
+ 'select-lasso': {
80
81
  title: string;
81
- shortcut: string;
82
+ shortcut: string[];
82
83
  action: {
83
84
  tool: string;
84
85
  opts: string;
85
86
  };
86
- hidden: (options: any) => boolean;
87
87
  };
88
88
  'select-fragment': {
89
89
  title: string;
90
- shortcut: string;
90
+ shortcut: string[];
91
91
  action: {
92
92
  tool: string;
93
93
  opts: string;
@@ -1,4 +1,4 @@
1
- declare const _default: {
1
+ declare var _default: {
2
2
  'template-lib': {
3
3
  shortcut: string;
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- declare const _default: {
1
+ declare var _default: {
2
2
  hand: {
3
3
  title: string;
4
4
  shortcut: string;
@@ -7,26 +7,26 @@ declare const _default: {
7
7
  };
8
8
  hidden: (options: any) => boolean;
9
9
  };
10
- 'select-lasso': {
10
+ 'select-rectangle': {
11
11
  title: string;
12
- shortcut: string;
12
+ shortcut: string[];
13
13
  action: {
14
14
  tool: string;
15
15
  opts: string;
16
16
  };
17
+ hidden: (options: any) => boolean;
17
18
  };
18
- 'select-rectangle': {
19
+ 'select-lasso': {
19
20
  title: string;
20
- shortcut: string;
21
+ shortcut: string[];
21
22
  action: {
22
23
  tool: string;
23
24
  opts: string;
24
25
  };
25
- hidden: (options: any) => boolean;
26
26
  };
27
27
  'select-fragment': {
28
28
  title: string;
29
- shortcut: string;
29
+ shortcut: string[];
30
30
  action: {
31
31
  tool: string;
32
32
  opts: string;
@@ -1,5 +1,5 @@
1
1
  export const zoomList: number[];
2
- declare const _default: {
2
+ declare var _default: {
3
3
  zoom: {
4
4
  shortcut: string[];
5
5
  selected: (editor: any) => any;
@@ -6,4 +6,4 @@ declare function ActionMenu({ name, menu, className, role, ...props }: {
6
6
  menu: any;
7
7
  className: any;
8
8
  role: any;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): JSX.Element;
@@ -10,12 +10,13 @@ declare class ClipArea extends Component<any, any, any> {
10
10
  listeners: {
11
11
  mouseup: (event: any) => void;
12
12
  mousedown: (event: any) => void;
13
- copy: (event: any) => Promise<void>;
14
- cut: (event: any) => Promise<void>;
13
+ copy: (event: any) => void;
14
+ cut: (event: any) => void;
15
15
  paste: (event: any) => void;
16
+ keydown: (event: any) => Promise<void>;
16
17
  } | undefined;
17
18
  shouldComponentUpdate(): boolean;
18
19
  componentWillUnmount(): void;
19
- render(): import("react/jsx-runtime").JSX.Element;
20
+ render(): JSX.Element;
20
21
  }
21
22
  import { Component } from "react";
@@ -35,7 +35,7 @@ export declare function GenericInput({ schema, value, onChange, innerRef, type,
35
35
  innerRef: any;
36
36
  type?: string | undefined;
37
37
  isFocused?: boolean | undefined;
38
- }): import("react/jsx-runtime").JSX.Element;
38
+ }): JSX.Element;
39
39
  export declare namespace GenericInput {
40
40
  var val: (ev: any, schema: any) => any;
41
41
  }
@@ -1,8 +1,9 @@
1
1
  export default MeasureInput;
2
- declare function MeasureInput({ schema, value, onChange, name, ...rest }: {
2
+ declare function MeasureInput({ schema, value, onChange, name, className, ...rest }: {
3
3
  [x: string]: any;
4
4
  schema: any;
5
5
  value: any;
6
6
  onChange: any;
7
7
  name: any;
8
- }): import("react/jsx-runtime").JSX.Element;
8
+ className: any;
9
+ }): 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
  export interface Option {
17
18
  value: string;
18
19
  label: string;
@@ -24,7 +25,8 @@ interface Props {
24
25
  value?: string;
25
26
  multiple?: boolean;
26
27
  disabled?: boolean;
27
- testId?: string;
28
+ formName?: string;
29
+ name?: string;
28
30
  }
29
- declare const Select: ({ className, value, onChange, multiple, disabled, options, testId, }: Props) => import("react/jsx-runtime").JSX.Element;
31
+ declare const Select: ({ className, value, onChange, multiple, disabled, options, formName, name, }: Props) => JSX.Element;
30
32
  export default Select;
@@ -6,4 +6,4 @@ declare function ButtonList({ value, onChange, schema, disabledIds, multiple, cl
6
6
  disabledIds: any;
7
7
  multiple: any;
8
8
  classes: any;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): 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
  interface ColorPickerProps {
17
18
  value: string;
18
19
  name: string;
@@ -23,5 +24,5 @@ interface ColorPickerCallProps {
23
24
  onChange: (value: string) => void;
24
25
  }
25
26
  declare type Props = ColorPickerProps & ColorPickerCallProps;
26
- declare const ColorPicker: (props: Props) => import("react/jsx-runtime").JSX.Element;
27
+ declare const ColorPicker: (props: Props) => JSX.Element;
27
28
  export default ColorPicker;
@@ -7,6 +7,6 @@ declare class ComboBox extends Component<any, any, any> {
7
7
  click(): void;
8
8
  blur(): void;
9
9
  updateInput(event: any): void;
10
- render(): import("react/jsx-runtime").JSX.Element;
10
+ render(): JSX.Element;
11
11
  }
12
12
  import { Component } from "react";
@@ -2,4 +2,4 @@ export function ErrorPopover({ error, anchorEl, handleClose }: {
2
2
  error: any;
3
3
  anchorEl: any;
4
4
  handleClose: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): JSX.Element;
@@ -1,4 +1,4 @@
1
- declare const _default: import("react-redux").ConnectedComponent<typeof Form, import("react-redux").Omit<any, "onUpdate">>;
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof Form, import("react-redux").Omit<any, "onUpdate">>;
2
2
  export default _default;
3
3
  declare class Form extends Component<any, any, any> {
4
4
  constructor(props: any);
@@ -11,15 +11,17 @@ declare class Form extends Component<any, any, any> {
11
11
  };
12
12
  deserialize: (inst: any) => any;
13
13
  };
14
- componentDidUpdate(prevProps: any): void;
15
14
  updateState(newState: any): void;
15
+ componentDidUpdate(prevProps: any): void;
16
16
  field(name: any, onChange: any): {
17
17
  dataError: any;
18
18
  value: any;
19
19
  onChange: (val: any) => void;
20
20
  };
21
- render(): import("react/jsx-runtime").JSX.Element;
21
+ render(): JSX.Element;
22
22
  }
23
- export function Field(props: any): import("react/jsx-runtime").JSX.Element;
24
- export function SelectOneOf(props: any): import("react/jsx-runtime").JSX.Element;
23
+ export function Field(props: any): JSX.Element;
24
+ export function CustomQueryField(props: any): JSX.Element;
25
+ export function FieldWithModal(props: any): JSX.Element;
26
+ export function SelectOneOf(props: any): JSX.Element;
25
27
  import { Component } from "react";
@@ -2,4 +2,4 @@ export default SelectCheckbox;
2
2
  declare function SelectCheckbox({ schema, ...props }: {
3
3
  [x: string]: any;
4
4
  schema: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): JSX.Element;
@@ -23,4 +23,4 @@ declare function SelectList({ schema, value, onSelect, splitIndexes, selected, c
23
23
  selected: any;
24
24
  component: any;
25
25
  classes: any;
26
- }): import("react/jsx-runtime").JSX.Element;
26
+ }): JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export default SystemFonts;
2
- declare function SystemFonts(props: any): import("react/jsx-runtime").JSX.Element;
2
+ declare function SystemFonts(props: any): JSX.Element;
@@ -4,4 +4,4 @@ declare function Atom({ el, shortcut, selected, ...props }: {
4
4
  el: any;
5
5
  shortcut: any;
6
6
  selected: any;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }): JSX.Element;
@@ -4,6 +4,6 @@ declare class Tabs extends Component<any, any, any> {
4
4
  state: {};
5
5
  changeTab(ev: any, index: any): void;
6
6
  componentDidUpdate(prevProps: any): void;
7
- render(): import("react/jsx-runtime").JSX.Element;
7
+ render(): JSX.Element;
8
8
  }
9
9
  import { Component } from "react";
@@ -3,7 +3,7 @@ declare class OpenButton extends Component<any, any, any> {
3
3
  constructor(props: any);
4
4
  state: {};
5
5
  open(ev: any): void;
6
- render(): import("react/jsx-runtime").JSX.Element;
6
+ render(): JSX.Element;
7
7
  btn: HTMLInputElement | null | undefined;
8
8
  }
9
9
  import { Component } from "react";
@@ -30,5 +30,5 @@ declare type Props = {
30
30
  disabled?: boolean;
31
31
  };
32
32
  declare type SaveButtonProps = PropsWithChildren<Props>;
33
- declare const SaveButton: (props: SaveButtonProps) => import("react/jsx-runtime").JSX.Element;
33
+ declare const SaveButton: (props: SaveButtonProps) => JSX.Element;
34
34
  export { SaveButton };
@@ -1,3 +1,4 @@
1
+ export function isControlKey(event: any): any;
1
2
  export default keyNorm;
2
3
  declare function keyNorm(obj: any, ...args: any[]): any;
3
4
  declare namespace keyNorm {
@@ -2,6 +2,10 @@ export function fromElement(selem: any): any;
2
2
  export function toElement(elem: any): any;
3
3
  export function fromAtom(satom: any): {
4
4
  alias: any;
5
+ atomType: "list" | "single" | "pseudo";
6
+ atomList: any;
7
+ notList: any;
8
+ pseudo: any;
5
9
  label: any;
6
10
  charge: any;
7
11
  isotope: any;
@@ -14,6 +18,13 @@ export function fromAtom(satom: any): {
14
18
  unsaturatedAtom: boolean;
15
19
  hCount: any;
16
20
  stereoParity: any;
21
+ implicitHCount: any;
22
+ aromaticity: any;
23
+ ringMembership: any;
24
+ ringSize: any;
25
+ connectivity: any;
26
+ chirality: any;
27
+ customQuery: any;
17
28
  };
18
29
  export function toAtom(atom: any): any;
19
30
  export function fromStereoLabel(stereoLabel: any): {
@@ -30,6 +41,7 @@ export function fromBond(sbond: any): {
30
41
  type: string;
31
42
  topology: any;
32
43
  center: any;
44
+ customQuery: any;
33
45
  };
34
46
  export function toBond(bond: any): any;
35
47
  export function toBondType(caption: any): any;