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
@@ -13,7 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  declare const EmptySearchResult: ({ textInfo }: {
17
18
  textInfo: any;
18
- }) => import("react/jsx-runtime").JSX.Element;
19
+ }) => JSX.Element;
19
20
  export default EmptySearchResult;
@@ -1,4 +1,4 @@
1
- declare const _default: import("react-redux").ConnectedComponent<typeof Attach, import("react-redux").Omit<import("react").ClassAttributes<Attach> & {
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof Attach, import("react-redux").Omit<import("react").ClassAttributes<Attach> & {
2
2
  [x: string]: any;
3
3
  onInit: any;
4
4
  }, string | number>>;
@@ -28,6 +28,6 @@ declare class Attach extends Component<any, any, any> {
28
28
  };
29
29
  } | null;
30
30
  checkIsValidName(name: any): boolean;
31
- render(): import("react/jsx-runtime").JSX.Element;
31
+ render(): JSX.Element;
32
32
  }
33
33
  import { Component } from "react";
@@ -1,4 +1,4 @@
1
1
  export default SDataFieldset;
2
2
  declare function SDataFieldset({ formState }: {
3
3
  formState: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export default SGroupFieldset;
2
2
  declare function SGroupFieldset({ formState }: {
3
3
  formState: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): JSX.Element;
@@ -1,3 +1,3 @@
1
- declare const _default: import("react-redux").ConnectedComponent<typeof LabelEdit, import("react-redux").Omit<any, "formState" | "dispatch">>;
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof LabelEdit, import("react-redux").Omit<any, "formState" | "dispatch">>;
2
2
  export default _default;
3
- declare function LabelEdit(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare function LabelEdit(props: any): JSX.Element;
@@ -1,4 +1,4 @@
1
- declare const _default: import("react-redux").ConnectedComponent<typeof RGroup, import("react-redux").Omit<{
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof RGroup, import("react-redux").Omit<{
2
2
  [x: string]: any;
3
3
  disabledIds: any;
4
4
  values: any;
@@ -12,4 +12,4 @@ declare function RGroup({ disabledIds, values, formState, type, ...props }: {
12
12
  values: any;
13
13
  formState: any;
14
14
  type: any;
15
- }): import("react/jsx-runtime").JSX.Element;
15
+ }): JSX.Element;
@@ -1,4 +1,4 @@
1
- declare const _default: import("react-redux").ConnectedComponent<typeof Sgroup, import("react-redux").Omit<{
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof Sgroup, import("react-redux").Omit<{
2
2
  [x: string]: any;
3
3
  formState: any;
4
4
  }, "formState" | "dispatch">>;
@@ -6,4 +6,4 @@ export default _default;
6
6
  declare function Sgroup({ formState, ...props }: {
7
7
  [x: string]: any;
8
8
  formState: any;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): JSX.Element;
@@ -19,4 +19,5 @@ export declare const supportedSGroupTypes: {
19
19
  readonly SUP: "SUP";
20
20
  readonly DAT: "DAT";
21
21
  readonly GEN: "GEN";
22
+ readonly queryComponent: "queryComponent";
22
23
  };
@@ -17,7 +17,7 @@ export declare function initKeydownListener(element: any): (dispatch: any, getSt
17
17
  export declare function initClipboard(dispatch: any): {
18
18
  formats: any[];
19
19
  focused(): boolean;
20
- onCut(): Promise<{} | null>;
21
- onCopy(): Promise<{} | null>;
22
- onPaste(data: any): void;
20
+ onCut(): {} | null;
21
+ onCopy(): {} | null;
22
+ onPaste(data: any, isSmarts: boolean): void;
23
23
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
- import { Atom, AtomPropertiesInContextMenu } from 'ketcher-core';
1
+ import { Atom, AtomPropertiesInContextMenu, AtomQueryProperties } from 'ketcher-core';
2
2
  export declare function isAtomsArray(selectedElements: Atom | Atom[]): boolean;
3
3
  export declare function updateSelectedAtoms({ atoms, changeAtomPromise, editor, }: {
4
4
  atoms: number[];
5
5
  editor: any;
6
- changeAtomPromise: Promise<Atom> | PromiseLike<AtomPropertiesInContextMenu>;
6
+ changeAtomPromise: Promise<Atom> | PromiseLike<AtomPropertiesInContextMenu | AtomQueryProperties>;
7
7
  }): void;
@@ -23,14 +23,21 @@ export namespace formsState {
23
23
  const valid: boolean;
24
24
  namespace result {
25
25
  const label: string;
26
- const charge: number;
26
+ const charge: null;
27
27
  const explicitValence: number;
28
28
  const hCount: number;
29
29
  const invRet: number;
30
- const isotope: number;
30
+ const isotope: null;
31
31
  const radical: number;
32
32
  const ringBondCount: number;
33
33
  const substitutionCount: number;
34
+ const aromaticity: null;
35
+ const implicitHCount: null;
36
+ const ringMembership: null;
37
+ const ringSize: null;
38
+ const connectivity: null;
39
+ const chirality: null;
40
+ const customQuery: null;
34
41
  }
35
42
  }
36
43
  namespace attachmentPoints {
@@ -60,9 +67,11 @@ export namespace formsState {
60
67
  const valid_3: boolean;
61
68
  export { valid_3 as valid };
62
69
  export namespace result_3 {
63
- const type: string;
64
- const topology: number;
65
- const center: number;
70
+ export const type: string;
71
+ export const topology: number;
72
+ export const center: number;
73
+ const customQuery_1: null;
74
+ export { customQuery_1 as customQuery };
66
75
  }
67
76
  export { result_3 as result };
68
77
  }
@@ -3,4 +3,4 @@ declare function Cursor({ Icon, PressedIcon, enableHandTool }: {
3
3
  Icon: any;
4
4
  PressedIcon: any;
5
5
  enableHandTool: any;
6
- }): import("react/jsx-runtime").JSX.Element | null;
6
+ }): JSX.Element | null;
@@ -20,6 +20,7 @@ interface DialogParamsCallProps {
20
20
  }
21
21
  export interface DialogParams extends DialogParamsCallProps {
22
22
  className?: string;
23
+ isNestedModal?: boolean;
23
24
  }
24
25
  interface DialogProps {
25
26
  title?: string;
@@ -13,4 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- export declare const LoadingCircles: () => import("react/jsx-runtime").JSX.Element;
16
+ /// <reference types="react" />
17
+ export declare const LoadingCircles: () => JSX.Element;
@@ -0,0 +1,23 @@
1
+ /****************************************************************************
2
+ * Copyright 2021 EPAM Systems
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ ***************************************************************************/
16
+ import { FC } from 'react';
17
+ import { Render } from 'ketcher-core';
18
+ interface InfoPanelProps {
19
+ render: Render;
20
+ className?: string;
21
+ }
22
+ declare const _default: import("react-redux").ConnectedComponent<FC<InfoPanelProps>, import("react-redux").Omit<InfoPanelProps, "render">>;
23
+ export default _default;
@@ -15,7 +15,7 @@ declare class StructEditor extends Component<any, any, any> {
15
15
  componentDidMount(): void;
16
16
  editor: Editor | undefined;
17
17
  componentWillUnmount(): void;
18
- render(): import("react/jsx-runtime").JSX.Element;
18
+ render(): JSX.Element;
19
19
  }
20
20
  import { Component } from "react";
21
21
  import Editor from "../../../../editor";
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import { BaseCallProps } from './modal.types';
17
18
  interface ModalProps extends BaseCallProps {
18
19
  modal: {
@@ -22,6 +23,6 @@ interface ModalProps extends BaseCallProps {
22
23
  };
23
24
  }
24
25
  declare type Props = ModalProps & BaseCallProps;
25
- declare function Modal(props: Props): import("react/jsx-runtime").JSX.Element | null;
26
+ declare function Modal(props: Props): JSX.Element | null;
26
27
  export type { ModalProps };
27
28
  export { Modal };
@@ -1,6 +1,7 @@
1
+ /// <reference types="react" />
1
2
  declare type ConfirmProps = {
2
3
  onOk: () => void;
3
4
  onCancel: () => void;
4
5
  };
5
- export declare const Confirm: ({ onOk, onCancel }: ConfirmProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const Confirm: ({ onOk, onCancel }: ConfirmProps) => JSX.Element;
6
7
  export {};
@@ -1,2 +1,2 @@
1
1
  export default ExtendedTable;
2
- declare const ExtendedTable: import("react-redux").ConnectedComponent<(props: any) => import("react/jsx-runtime").JSX.Element, any>;
2
+ declare const ExtendedTable: import("react-redux").ConnectedComponent<(props: any) => JSX.Element, any>;
@@ -13,5 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- export declare const HorizontalBoxWithLines: () => import("react/jsx-runtime").JSX.Element;
17
- export declare const VerticalBoxWithLines: () => import("react/jsx-runtime").JSX.Element;
16
+ /// <reference types="react" />
17
+ export declare const HorizontalBoxWithLines: () => JSX.Element;
18
+ export declare const VerticalBoxWithLines: () => JSX.Element;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import type { GenGroup as GenGroupType } from 'ketcher-core';
17
18
  declare type GenProps = {
18
19
  selected: (label: string) => boolean;
@@ -20,5 +21,5 @@ declare type GenProps = {
20
21
  group: GenGroupType;
21
22
  disabledQueryElements: Array<string> | null;
22
23
  };
23
- declare const GenGroup: ({ group, onAtomSelect, selected, disabledQueryElements, }: GenProps) => import("react/jsx-runtime").JSX.Element;
24
+ declare const GenGroup: ({ group, onAtomSelect, selected, disabledQueryElements, }: GenProps) => JSX.Element;
24
25
  export { GenGroup };
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import type { GenItemSet } from 'ketcher-core';
17
18
  declare type GenSetProps = {
18
19
  labels: GenItemSet[];
@@ -22,5 +23,5 @@ declare type GenSetProps = {
22
23
  group: string;
23
24
  disabledQueryElements: Array<string> | null;
24
25
  };
25
- declare function GenSet({ labels, selected, onAtomSelect, className, group, disabledQueryElements, }: GenSetProps): import("react/jsx-runtime").JSX.Element;
26
+ declare function GenSet({ labels, selected, onAtomSelect, className, group, disabledQueryElements, }: GenSetProps): JSX.Element;
26
27
  export { GenSet };
@@ -13,10 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  declare type GenericGroupsProps = {
17
18
  selected: (label: string) => boolean;
18
19
  onAtomSelect: (label: string, activateImmediately: boolean) => void;
19
20
  disabledQueryElements: Array<string> | null;
20
21
  };
21
- declare function GenericGroups({ selected, onAtomSelect, disabledQueryElements, }: GenericGroupsProps): import("react/jsx-runtime").JSX.Element;
22
+ declare function GenericGroups({ selected, onAtomSelect, disabledQueryElements, }: GenericGroupsProps): JSX.Element;
22
23
  export default GenericGroups;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import { GenItem } from 'ketcher-core';
17
18
  declare type ButtonGenSetProps = {
18
19
  button: GenItem;
@@ -20,5 +21,5 @@ declare type ButtonGenSetProps = {
20
21
  selected: (label: string) => boolean;
21
22
  disabled: boolean;
22
23
  };
23
- declare const ButtonGenSet: ({ button, onAtomSelect, selected, disabled, }: ButtonGenSetProps) => import("react/jsx-runtime").JSX.Element;
24
+ declare const ButtonGenSet: ({ button, onAtomSelect, selected, disabled, }: ButtonGenSetProps) => JSX.Element;
24
25
  export default ButtonGenSet;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- declare function ErrorInfoModal(props: any): import("react/jsx-runtime").JSX.Element;
16
+ /// <reference types="react" />
17
+ declare function ErrorInfoModal(props: any): JSX.Element;
17
18
  declare const InfoModal: import("react-redux").ConnectedComponent<typeof ErrorInfoModal, import("react-redux").Omit<any, "errorMessage" | "onOk">>;
18
19
  export default InfoModal;
@@ -9,7 +9,7 @@ declare class Table extends Component<any, any, any> {
9
9
  isInfo: boolean;
10
10
  };
11
11
  changeType: (type: any) => void;
12
- headerContent: () => import("react/jsx-runtime").JSX.Element;
12
+ headerContent: () => JSX.Element;
13
13
  selected: (label: any) => any;
14
14
  onAtomSelect: (label: any, activateImmediately?: boolean) => void;
15
15
  result: () => {
@@ -32,6 +32,6 @@ declare class Table extends Component<any, any, any> {
32
32
  onMouseEnter: () => void;
33
33
  onMouseLeave: () => void;
34
34
  };
35
- render(): import("react/jsx-runtime").JSX.Element;
35
+ render(): JSX.Element;
36
36
  }
37
37
  import { Component } from "react";
@@ -2,4 +2,4 @@ export default AtomInfo;
2
2
  declare function AtomInfo({ el, isInfo }: {
3
3
  el: any;
4
4
  isInfo: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): JSX.Element;
@@ -4,6 +4,6 @@ declare class ElementsTable extends Component<any, any, any> {
4
4
  constructor(props: any, context: any);
5
5
  shouldComponentUpdate(nextProps: any): boolean;
6
6
  getAtomClassNames: (item: any) => string[];
7
- render(): import("react/jsx-runtime").JSX.Element;
7
+ render(): JSX.Element;
8
8
  }
9
9
  import { Component } from "react";
@@ -1,2 +1,2 @@
1
1
  export default Header;
2
- declare function Header(): import("react/jsx-runtime").JSX.Element;
2
+ declare function Header(): JSX.Element;
@@ -8,4 +8,4 @@ declare function MainRow({ row, caption, refer, onAtomSelect, onDoubleClick, cur
8
8
  currentEvents: any;
9
9
  atomClassNames: any;
10
10
  className: any;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): JSX.Element;
@@ -7,4 +7,4 @@ declare function OutinerRow({ row, caption, onAtomSelect, onDoubleClick, current
7
7
  currentEvents: any;
8
8
  atomClassNames: any;
9
9
  className: any;
10
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): JSX.Element;
@@ -3,4 +3,4 @@ declare function TypeChoice({ value, onChange, ...props }: {
3
3
  [x: string]: any;
4
4
  value: any;
5
5
  onChange: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): JSX.Element;
@@ -13,9 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  export declare const FontControl: ({ editorState, setEditorState, styles }: {
17
18
  editorState: any;
18
19
  setEditorState: any;
19
20
  styles: any;
20
- }) => import("react/jsx-runtime").JSX.Element;
21
+ }) => JSX.Element;
21
22
  export default FontControl;
@@ -13,9 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  declare const SpecialSymbolsButton: ({ editorState, setEditorState, styles }: {
17
18
  editorState: any;
18
19
  setEditorState: any;
19
20
  styles: any;
20
- }) => import("react/jsx-runtime").JSX.Element;
21
+ }) => JSX.Element;
21
22
  export { SpecialSymbolsButton };
@@ -13,7 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  declare const SpecialSymbolsList: ({ select }: {
17
18
  select: any;
18
- }) => import("react/jsx-runtime").JSX.Element;
19
+ }) => JSX.Element;
19
20
  export { SpecialSymbolsList };
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import 'draft-js/dist/Draft.css';
17
18
  import { DialogParams } from '../../../components/Dialog/Dialog';
18
19
  interface TextProps extends DialogParams {
@@ -21,5 +22,5 @@ interface TextProps extends DialogParams {
21
22
  content: string;
22
23
  position?: string;
23
24
  }
24
- declare const _default: import("react-redux").ConnectedComponent<(props: TextProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<TextProps, "formState">>;
25
+ declare const _default: import("react-redux").ConnectedComponent<(props: TextProps) => JSX.Element, import("react-redux").Omit<TextProps, "formState">>;
25
26
  export default _default;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import { TextCommand } from 'ketcher-core';
17
18
  import { IconName } from 'components';
18
19
  interface TextButtonProps {
@@ -26,5 +27,5 @@ interface TextButtonPropsCallProps {
26
27
  toggleStyle: (command: TextCommand) => void;
27
28
  }
28
29
  declare type Props = TextButtonProps & TextButtonPropsCallProps;
29
- export declare const TextButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const TextButton: (props: Props) => JSX.Element;
30
31
  export {};
@@ -13,7 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  export declare type AnalyzingFileProps = {
17
18
  fileName?: string;
18
19
  };
19
- export declare const AnalyzingFile: ({ fileName }: AnalyzingFileProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const AnalyzingFile: ({ fileName }: AnalyzingFileProps) => 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
  declare type Props = {
17
18
  clickHandler: () => void;
18
19
  disabled: boolean;
@@ -20,5 +21,5 @@ declare type Props = {
20
21
  styles: string;
21
22
  title?: string;
22
23
  };
23
- export declare const DialogActionButton: ({ clickHandler, label, title, styles, disabled, }: Props) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const DialogActionButton: ({ clickHandler, label, title, styles, disabled, }: Props) => JSX.Element;
24
25
  export {};
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import { DropzoneOptions } from 'react-dropzone';
17
18
  import { IconName } from 'components';
18
19
  declare type FileDropProps = {
@@ -22,5 +23,5 @@ declare type FileDropProps = {
22
23
  disabled?: boolean;
23
24
  disabledText?: string;
24
25
  } & DropzoneOptions;
25
- declare const FileDrop: ({ buttonLabel, textLabel, iconName, disabled, disabledText, ...rest }: FileDropProps) => import("react/jsx-runtime").JSX.Element;
26
+ declare const FileDrop: ({ buttonLabel, textLabel, iconName, disabled, disabledText, ...rest }: FileDropProps) => JSX.Element;
26
27
  export { FileDrop };
@@ -13,9 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  export declare type TextEditorProps = {
17
18
  structStr: string;
18
19
  inputHandler: (str: string) => void;
19
20
  autoFocus?: boolean;
20
21
  };
21
- export declare const TextEditor: ({ structStr, inputHandler, autoFocus, }: TextEditorProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const TextEditor: ({ structStr, inputHandler, autoFocus, }: TextEditorProps) => JSX.Element;
@@ -36,10 +36,10 @@ declare class SaveDialog extends Component<any, any, any> {
36
36
  changeType: (type: any) => any;
37
37
  changeTab: (index: any) => void;
38
38
  getWarnings: (format: any) => any[];
39
- renderForm: () => import("react/jsx-runtime").JSX.Element;
40
- renderSaveFile: () => import("react/jsx-runtime").JSX.Element;
41
- renderWarnings: () => import("react/jsx-runtime").JSX.Element | null;
42
- getButtons: () => import("react/jsx-runtime").JSX.Element[];
43
- render(): import("react/jsx-runtime").JSX.Element;
39
+ renderForm: () => JSX.Element;
40
+ renderSaveFile: () => JSX.Element;
41
+ renderWarnings: () => JSX.Element | null;
42
+ getButtons: () => JSX.Element[];
43
+ render(): JSX.Element;
44
44
  }
45
45
  import { Component } from "react";
@@ -1,3 +1,3 @@
1
1
  export default About;
2
2
  declare const About: import("react-redux").ConnectedComponent<typeof AboutDialog, import("react-redux").Omit<any, "date" | "onOk" | "indigoVersion" | "indigoMachine" | "feedbackLink" | "overviewLink" | "lifeScienciesLink" | "version">>;
3
- declare function AboutDialog(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare function AboutDialog(props: any): JSX.Element;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import { BaseCallProps, BaseProps } from '../../../modal.types';
17
18
  import { StructService } from 'ketcher-core';
18
19
  interface SettingsProps extends BaseProps {
@@ -33,5 +34,5 @@ interface SettingsCallProps extends BaseCallProps {
33
34
  onReset: () => void;
34
35
  }
35
36
  declare type Props = SettingsProps & SettingsCallProps;
36
- declare const Settings: import("react-redux").ConnectedComponent<(props: Props) => import("react/jsx-runtime").JSX.Element, any>;
37
+ declare const Settings: import("react-redux").ConnectedComponent<(props: Props) => JSX.Element, any>;
37
38
  export default Settings;
@@ -5,6 +5,6 @@ declare class AnalyseDialog extends Component<any, any, any> {
5
5
  constructor(props: any);
6
6
  constructor(props: any, context: any);
7
7
  componentDidMount(): void;
8
- render(): import("react/jsx-runtime").JSX.Element;
8
+ render(): JSX.Element;
9
9
  }
10
10
  import { Component } from "react";
@@ -2,4 +2,4 @@ export default FormulaInput;
2
2
  declare function FormulaInput({ value, contentEditable }: {
3
3
  value: any;
4
4
  contentEditable: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): JSX.Element;
@@ -16,4 +16,4 @@ export default FrozenInput;
16
16
  ***************************************************************************/
17
17
  declare function FrozenInput({ value }: {
18
18
  value: any;
19
- }): import("react/jsx-runtime").JSX.Element;
19
+ }): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export default Check;
2
2
  declare const Check: import("react-redux").ConnectedComponent<typeof CheckDialog, any>;
3
- declare function CheckDialog(props: any): import("react/jsx-runtime").JSX.Element;
3
+ declare function CheckDialog(props: any): JSX.Element;
@@ -14,4 +14,4 @@ export default ErrorsCheck;
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  ***************************************************************************/
17
- declare function ErrorsCheck(props: any): import("react/jsx-runtime").JSX.Element;
17
+ declare function ErrorsCheck(props: any): JSX.Element;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
+ /// <reference types="react" />
16
17
  import { Struct, StructService } from 'ketcher-core';
17
18
  declare type MiewDialogProps = {
18
19
  miewOpts: any;
@@ -26,5 +27,5 @@ declare type MiewDialogCallProps = {
26
27
  onExportCML: (cmlStruct: string) => void;
27
28
  };
28
29
  declare type Props = MiewDialogProps & MiewDialogCallProps;
29
- declare const Miew: import("react-redux").ConnectedComponent<({ miewOpts, server, struct, onExportCML, miewTheme, ...prop }: Props) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<MiewDialogProps & MiewDialogCallProps, "miewOpts" | "server" | "struct" | "onExportCML" | "miewTheme">>;
30
+ declare const Miew: import("react-redux").ConnectedComponent<({ miewOpts, server, struct, onExportCML, miewTheme, ...prop }: Props) => JSX.Element, import("react-redux").Omit<MiewDialogProps & MiewDialogCallProps, "miewOpts" | "server" | "struct" | "onExportCML" | "miewTheme">>;
30
31
  export default Miew;
@@ -1,3 +1,3 @@
1
1
  export default Recognize;
2
2
  declare const Recognize: import("react-redux").ConnectedComponent<typeof RecognizeDialog, import("react-redux").Omit<any, "fragment" | "file" | "onOk" | "structStr" | "version" | "onImage" | "imagoVersions" | "onRecognize" | "isFragment" | "onChangeImago">>;
3
- declare function RecognizeDialog(prop: any): import("react/jsx-runtime").JSX.Element;
3
+ declare function RecognizeDialog(prop: any): JSX.Element;
@@ -16,7 +16,9 @@
16
16
  /// <reference types="react" />
17
17
  declare const AtomContainer: import("react-redux").ConnectedComponent<import("react").FC<import("./Atom").AtomProps & {
18
18
  isMultipleAtoms?: boolean | undefined;
19
+ isRestoredModal: boolean;
19
20
  }>, import("react-redux").Omit<import("./Atom").AtomProps & {
20
21
  isMultipleAtoms?: boolean | undefined;
22
+ isRestoredModal: boolean;
21
23
  }, "formState">>;
22
24
  export default AtomContainer;